/* ======================= 1. VARIÁVEIS E RESET ======================= */
:root {
    /* Cores atualizadas com paleta mais moderna */
    --primary-blue: #2563eb;      /* Azul mais vibrante */
    --primary-hover: #3b82f6;     /* Tom mais claro para hover */
    --darker-blue: #1d4ed8;       /* Azul mais escuro */
    --dark-bg: #0f172a;           /* Fundo escuro mais suave */
    --light-bg: #f8fafc;          /* Fundo claro */
    --text-dark: #1e293b;         /* Texto escuro */
    --text-light: #64748b;        /* Texto claro */
    --white: #ffffff;             /* Branco puro */
    --off-white: #f8fafc;         /* Branco acinzentado */
    --border-color: #e2e8f0;      /* Cor da borda */
    --success: #10b981;           /* Verde de sucesso */
    --warning: #f59e0b;           /* Amarelo de aviso */
    --error: #ef4444;             /* Vermelho de erro */
    --accent: #8b5cf6;            /* Cor de destaque (roxo) */
    
    /* Sombras mais modernas */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transições suaves */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-sm: 0.5rem;   /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;   /* 24px */
    --spacing-xl: 2rem;     /* 32px */
    --spacing-2xl: 3rem;    /* 48px */
    --spacing-3xl: 4rem;    /* 64px */
    
    /* Bordas */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;  /* Para bordas totalmente arredondadas */
    
    /* Efeito de Vidro Fosco */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: 15px;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--dark-bg), #1e293b);
}

 

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }     /* 40px */
h2 { font-size: 2rem; }       /* 32px */
h3 { font-size: 1.75rem; }    /* 28px */
h4 { font-size: 1.5rem; }     /* 24px */
h5 { font-size: 1.25rem; }    /* 20px */
h6 { font-size: 1rem; }       /* 16px */

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

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

/* ======================= 1.1 EFEITOS DE VIDRO FOSCO ======================= */
.glass-effect {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    border-radius: var(--radius-xl) !important;
}

.glass-effect-light {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.1) !important;
}

.glass-effect-strong {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2) !important;
}

/* Transição suave para hover */
.glass-effect,
.glass-effect-light,
.glass-effect-strong {
    transition: all 0.3s ease-in-out;
}

/* Efeito de elevação no hover */
.glass-effect:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25) !important;
}

/* Estilos específicos para a seção de parceiros */
.partners-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--white);
}

/* Remover sobreposição e elementos flutuantes somente nesta seção para melhor contraste */
.partners-section .pattern-overlay { display: none !important; }
.partners-section .floating-shapes { display: none !important; }

/* Padrão de fundo sutil */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjUwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIi8+PC9wYXR0ZXNuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    pointer-events: none;
}

/* Estilos para o cabeçalho da seção */
.section-header {
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

.section-subtitle {
    color: #0052cc;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding: 0 15px;
}

.underline {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0052cc 0%, #1e90ff 100%);
    border-radius: 2px;
    display: none !important;
}

.section-title {
    font-size: clamp(1.875rem, 3.2vw, 2.75rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    /* Usa variáveis com fallbacks para evitar discrepâncias entre arquivos */
    background: linear-gradient(
        90deg,
        var(--text-dark, #1e293b) 0%,
        var(--primary-blue, #2563eb) 55%,
        var(--accent-blue, #1a73e8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-description {
    max-width: 700px;
    margin: 25px auto 0;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Evita qualquer sublinhado em textos de descrição nos headers de seção */
.section-header .section-description,
.section-header .section-description * {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

/* Remoção global de linhas decorativas criadas com pseudo-elementos */
.section-header .section-subtitle::before,
.section-header h2::after,
.section-header h3::after,
.about-section .section-subtitle::before,
.about-section .section-header h2 span::after,
.essence-section .section-header h3::after,
.values-grid h3::after,
.timeline::before {
    content: none !important;
    display: none !important;
}

/* Global kill-switch for decorative lines across common components */
.nav-link::after,
.mobile-nav-link::after,
.footer-section h4::after,
.footer-links a::after,
.contact-info a::after,
.clients-logos h3::after,
.about-content h3::after,
.values-card > h3::after,
.modern-pmv-section h2::after,
.values-grid h3::after,
.essence-section .section-header h3::after,
.section-header .section-subtitle::before,
.section-header h2::after,
.section-header h3::after,
.pmv-section::before,
.pmv-card-header::after,
.value-item h4::before,
.services-cta::before,
.contact-section::before,
.contact-info::before,
.contact-info-card::before,
.btn-submit::before,
.social-links a::before,
.footer-links a::after,
.contact-info a::after,
.contact-text a::after,
.dropdown-item::before {
    content: none !important;
    display: none !important;
}

/* Espaçamento vertical padronizado entre seções */
:root {
    --section-gap: clamp(48px, 8vw, 96px);
    --concave-arc: clamp(48px, 10vw, 128px);
}

/* Evita colapso de margem e sobreposição entre seções */
section {
    position: relative;
    z-index: 0;
    isolation: isolate;
    /* Concave (inward) curves at top and bottom using masks */
    -webkit-mask:
        radial-gradient(120% 100% at 50% -10%, transparent 99%, #000 100%) top / 100% var(--concave-arc) no-repeat,
        radial-gradient(120% 100% at 50% 110%, transparent 99%, #000 100%) bottom / 100% var(--concave-arc) no-repeat,
        linear-gradient(#000, #000);
            mask:
        radial-gradient(120% 100% at 50% -10%, transparent 99%, #000 100%) top / 100% var(--concave-arc) no-repeat,
        radial-gradient(120% 100% at 50% 110%, transparent 99%, #000 100%) bottom / 100% var(--concave-arc) no-repeat,
        linear-gradient(#000, #000);
    margin: 0 0 var(--section-gap) 0;
}

section:last-of-type { margin-bottom: 0; }

@media (max-width: 640px) {
    :root { --section-gap: 56px; }
}

/* Centralização do card de contato quando único */
.contact-section .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0;
}

.contact-section .contact-info-card {
    width: min(100%, 860px);
}

/* Estilos para os cards de parceiros */
.partner-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e293b;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* ===== Nossa Essência ===== */
.essence-section .essence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.essence-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 50%, #f0f4ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 18px;
    padding: clamp(18px, 2.4vw, 28px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.essence-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #1e293b;
    margin-bottom: 10px;
}

.essence-card p {
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .essence-section .essence-grid { grid-template-columns: 1fr; }
}

/* Centralização de 'Nossos Valores' */
.values-section {
    text-align: center;
    margin-top: clamp(32px, 4vw, 56px);
    margin-bottom: clamp(32px, 4vw, 56px);
}
.values-section .values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    align-items: start;
}

/* Garantir altura uniforme e alinhamento interno dos cards */
.values-section .value-card {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
}

.values-section .value-card .value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.partner-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease 0.1s;
}

/* Estilos para o CTA */
.cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1e293b;
    position: relative;
    display: inline-block;
}

.cta-description {
    color: #64748b;
    margin: 20px auto 30px;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
}

.cta-button {
    background: linear-gradient(90deg, #0052cc 0%, #1e90ff 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 82, 204, 0.4);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

/* Estilos específicos para a seção de parceiros */
.partners-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partner-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.partner-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Estilos para a grid de parceiros */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    perspective: 1500px;
}

/* Estilos para os ícones dos parceiros */
.partner-icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.partner-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Estilos para a seção CTA de parceiros */
.partners-cta {
    padding: 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(240,249,255,0.3) 100%);
    opacity: 0.8;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Efeitos de hover */
.partner-card:hover .partner-icon-img {
    transform: scale(1.1);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.partner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0052cc 0%, #1e90ff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover::after {
    transform: scaleX(1);
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partner-card {
        padding: 30px 20px !important;
    }
    
    .glass-effect {
        border-radius: 12px !important;
    }
    
    .partners-cta {
        padding: 30px 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Containers e Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Seções */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--darker-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--primary-blue);
}

/* Cabeçalho */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.site-header.scrolled .header-content {
    height: 70px;
}

.logo img {
    height: 100px;
    width: auto;
    max-height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .logo img {
        height: 80px;
        max-height: 100px;
    }
}

.site-header.scrolled .logo img {
    height: 70px;
    max-height: 80px;
}

/* Navegação */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.main-nav > ul > li > a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background-color: rgba(0, 82, 204, 0.05);
    color: var(--primary-blue);
    text-decoration: none;
}

/* ======================= MENU DE NAVEGAÇÃO ======================= */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Animações de rolagem */
.site-header {
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolling-down {
    transform: translateY(-100%);
}

.site-header.scrolling-up {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
    padding: 1.5rem 0;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: calc(100% - 1.5rem);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus {
    color: var(--primary-blue);
    background-color: rgba(0, 82, 204, 0.05);
}

.main-nav .active {
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
}

.main-nav .active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: calc(100% - 1.5rem);
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: '⌄';
    font-size: 1.2em;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-blue);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 82, 204, 0.03);
    color: var(--primary-blue);
    padding-left: 1.75rem;
}

.dropdown-menu a:hover::before {
    transform: translateX(0);
}

/* Botão Portal do Cliente */
.portal-btn {
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.75rem !important;
    font-weight: 600;
    transition: var(--transition);
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.portal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--darker-blue), var(--primary-blue));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.portal-btn:hover::before {
    opacity: 1;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(37, 99, 235, 0.2);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
    margin: 0 auto;
    transition: var(--transition);
    border-radius: 2px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-slow);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .main-nav > ul > li {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .main-nav > ul > li > a {
        padding: 1rem 1.5rem;
        border-radius: var(--radius-lg);
        background: var(--light-bg);
        margin-bottom: 0.5rem;
    }
    
    .main-nav > ul > li > a::before {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1.5rem;
        display: none;
        background: transparent;
        border: none;
        margin: 0.5rem 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1.25rem;
        border-radius: var(--radius-md);
    }
    
    .dropdown-menu a::before {
        width: 2px;
        height: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .portal-btn {
        margin: 1rem 0 0;
        width: 100%;
        justify-content: center;
    }
}

/* Overlay para menu mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--off-white);
    color: var(--primary-blue);
    text-decoration: none;
}

/* Rodapé */
.site-footer {
    background: linear-gradient(135deg, #2d1b69 0%, #1e3a8a 50%, #7e22ce 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Cards */
/* ======================= RODAPÉ ======================= */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #1a73e8);
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-nav a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Estilos para o botão do portal no rodapé */
.btn-portal {
    display: inline-block;
    background: var(--primary-blue);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background: var(--darker-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

/* Responsividade do rodapé */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-nav li {
        margin-bottom: 0;
    }
    
    .footer-nav a {
        padding: 0.5rem 0;
    }
    
    .footer-nav a:hover {
        transform: none;
    }
    
    .footer-nav a::after {
        display: none;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-legal span {
        display: none;
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: var(--spacing-md);
}

/* Formulários */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--off-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
    background-color: var(--white);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* Responsividade */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .header-content {
        padding: 0 var(--spacing-md);
    }
}

/* ======================= 9. ESTILOS ESPECÍFICOS ======================= */

/* Estilos para a seção de herói "Sobre" */
.about-hero-section { background-color: var(--light-bg); padding-bottom: 120px; }
.breadcrumbs { margin-bottom: 40px; font-size: 0.9rem; }
.breadcrumbs a { color: var(--text-light); text-decoration: none; }
.breadcrumbs a.active { color: var(--primary-blue); font-weight: 500; }
.about-hero-content { display: flex; align-items: center; gap: 60px; }
.about-hero-text { flex: 1; }
.tag { color: var(--primary-blue); font-weight: 700; font-size: 0.9rem; }
.about-hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin: 10px 0 20px 0; }
.about-hero-text p { font-size: 1.1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 30px; }
.about-hero-image { flex: 1; position: relative; min-height: 450px; }
.about-hero-image .image-main { position: absolute; z-index: 2; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-hero-image .shape-blue { position: absolute; top: -30px; right: 0; width: 60%; height: 60%; background-color: var(--primary-blue); border-radius: 20px 100px 20px 20px; z-index: 1; }
.about-hero-image .shape-pattern { position: absolute; bottom: -30px; right: 20px; width: 40%; height: 70%; background-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="%23333"/></svg>'); background-size: 10px 10px; border-radius: 10px; z-index: 3; }

/* Estilos para a linha do tempo */
.timeline-section { background-color: var(--white); }
.timeline-wrapper { position: relative; }
.timeline-scroll-container { display: flex; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 20px 0; }
.timeline-scroll-container::-webkit-scrollbar { display: none; }
.timeline { display: inline-flex; position: relative; padding-top: 50px; }
.timeline::before { content: ''; position: absolute; top: 20px; left: 0; width: 100%; height: 4px; background-color: var(--border-color); }
.timeline-event { display: flex; flex-direction: column; min-width: 280px; padding: 0 20px; position: relative; }
.timeline-marker { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 40px; background-color: var(--primary-blue); color: var(--white); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 2; }
.timeline-content { margin-top: 30px; }
.timeline-content h3 { margin-bottom: 10px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-light); }
.timeline-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border-color); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 5; }
.timeline-nav.prev { left: -50px; }
.timeline-nav.next { right: -50px; }

/* Estilos para propósito, missão e valores */
.purpose-section { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%); color: var(--white); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.accordion-header { width: 100%; background: none; border: none; padding: 25px 0; text-align: left; color: var(--white); font-size: 1.8rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-size: 2rem; transition: transform 0.3s; }
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-content p { color: rgba(255,255,255,0.8); }
.values-card { background-color: var(--primary-blue); padding: 40px; border-radius: 10px; }
.values-card h3 { font-size: 1.8rem; margin-bottom: 30px; }
.values-card h4 { font-size: 1.1rem; margin-bottom: 5px; }
.values-card p { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 20px; }

/* Estilos para vídeo e números */
.video-section { background-color: #111; padding: 100px 0; }
.video-thumbnail { position: relative; cursor: pointer; display: inline-block; }
.video-thumbnail img { display: block; max-width: 100%; border-radius: 10px; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary-blue); transition: transform 0.3s; }
.video-thumbnail:hover .play-button { transform: translate(-50%, -50%) scale(1.1); }
.stats-section { background-color: var(--primary-blue); color: var(--white); }
.stats-section h2 { margin-bottom: 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 20px; text-align: center; }
.stat-item { font-size: 1rem; }
.stat-item span { display: block; font-size: 3rem; font-weight: 700; margin-bottom: 5px; }

/* Responsividade adicional */
@media (max-width: 992px) {
    .about-hero-content { flex-direction: column; }
    .about-hero-image { min-height: 350px; width: 100%; margin-top: 40px; }
    .purpose-grid { grid-template-columns: 1fr; }
    .timeline-nav { display: none; } /* Em telas menores, o swipe é mais natural */
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-content {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav > ul > li > a {
        padding: 0.75rem 0;
        display: block;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-left: var(--spacing-md);
    }
    
    .dropdown-menu a {
        padding: 0.5rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* ======================= RODAPÉ ======================= */
.site-footer {
    background: linear-gradient(135deg, #2d1b69 0%, #1e3a8a 50%, #7e22ce 100%);
    color: #ffffff;
    padding: 40px 0 20px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.newsletter-form button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 15px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        max-width: 100%;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out forwards;
}
