/*
Theme Name: EuDigo
Theme URI: https://eudigo.com.br
Author: EuDigo Team
Author URI: https://eudigo.com.br
Description: Tema oficial do EuDigo - Transparência em Registro/SP. Otimizado para Elementor Pro.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eudigo
Tags: elementor, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   VARIABLES - CORES EUDIGO
   ============================================ */
:root {
    --eudigo-blue: #1e3a5f;
    --eudigo-blue-dark: #152a45;
    --eudigo-orange: #f97316;
    --eudigo-orange-dark: #ea580c;
    --eudigo-white: #ffffff;
    --eudigo-gray: #f5f5f5;
    --eudigo-text: #333333;
    --eudigo-text-light: #666666;
}

/* ============================================
   HEADER
   ============================================ */
.eudigo-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.eudigo-header.scrolled {
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.eudigo-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.eudigo-logo {
    font-size: 24px;
    font-weight: 700;
}

.eudigo-logo-eu {
    color: var(--eudigo-white);
}

.eudigo-logo-digo {
    color: var(--eudigo-orange);
}

/* Menu Principal */
.eudigo-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.eudigo-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

.eudigo-nav a:hover {
    color: var(--eudigo-white);
}

.eudigo-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--eudigo-orange);
    transition: width 0.3s ease;
}

.eudigo-nav a:hover::after {
    width: 100%;
}

/* Menu Mobile */
.eudigo-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--eudigo-white);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .eudigo-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(30, 58, 95, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .eudigo-nav.active {
        display: flex;
    }
    
    .eudigo-menu-toggle {
        display: block;
    }
}

/* ============================================
   HERO SECTION - PATTERN BACKGROUND
   ============================================ */
.eudigo-hero {
    min-height: 100vh;
    background-color: var(--eudigo-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.eudigo-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.eudigo-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.eudigo-hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: var(--eudigo-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.eudigo-hero-title span {
    color: var(--eudigo-orange);
}

.eudigo-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.eudigo-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.eudigo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.eudigo-btn-primary {
    background: var(--eudigo-orange);
    color: var(--eudigo-white);
}

.eudigo-btn-primary:hover {
    background: var(--eudigo-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.eudigo-btn-outline {
    background: transparent;
    color: var(--eudigo-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.eudigo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER
   ============================================ */
.eudigo-footer {
    background: #0f2942;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.eudigo-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.eudigo-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.eudigo-footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.eudigo-footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--eudigo-white);
    margin-bottom: 20px;
}

.eudigo-footer-links {
    list-style: none;
}

.eudigo-footer-links li {
    margin-bottom: 10px;
}

.eudigo-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s ease;
}

.eudigo-footer-links a:hover {
    color: var(--eudigo-orange);
}

.eudigo-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eudigo-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */
.elementor-page .eudigo-header {
    position: relative;
    background: var(--eudigo-blue);
}

.elementor-page .eudigo-hero {
    min-height: auto;
    padding: 80px 0;
}

/* Garantir que Elementor tenha controle total */
.elementor-edit-area-active .eudigo-hero-pattern {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .eudigo-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .eudigo-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .eudigo-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .eudigo-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
