/* ==========================================================================
   ARQUIVO CSS PRINCIPAL (style.css) - VERSÃO COMPLETA, RESPONSIVA E CORRIGIDA
   ========================================================================== */

/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
    --color-bg-primary: #1a1f36;
    --color-bg-footer: #1f273e;
    --color-accent: #00ffcc;
    --color-accent-dark: #00e6b8;
    --color-text-light: #ffffff;
    --color-text-medium: #d1d9e6;
    --color-text-dark: #a9b3c1;
    --color-card: #2a324d;
    --color-card-hover: #3a435a;
    --font-primary: 'Poppins', 'Roboto', sans-serif;
    --font-headings: 'Montserrat', sans-serif;
    --border-radius: 12px;
}

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove todos os outlines de foco em todo o site */
*:focus {
    outline: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--color-text-medium);
    background-color: var(--color-bg-primary);
    font-size: 16px;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }

.text-center { text-align: center; }



.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
    display: inline-flex;   /* garante que ícone + texto fiquem juntos */
    align-items: center;    /* centraliza verticalmente */
    gap: 8px;               /* espaço entre logo e texto */
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-light);
    text-decoration: none;
    white-space: nowrap;    /* impede quebra de linha */
}

.logo img {
    height: 40px; /* pode ajustar */
    display: block;
}

.logo span {
    display: inline-block;
}
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--color-accent-dark); }

section {
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -1.5rem auto 3.5rem auto;
    color: var(--color-text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight { color: var(--color-accent); }

.divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0), var(--color-accent), rgba(0, 255, 204, 0));
    border: none;
    margin: 0;
}

:focus {
    outline: none;
}

/* ===== CABEÇALHO ===== */
.site-header {
    background: rgba(26, 31, 54, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    height: 80px;
}

.site-header.scrolled {
    background: rgba(26, 31, 54, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.main-nav a:not(.btn-auth):not(.btn-panel) {
    color: #d1d9e6;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
}

.main-nav a:not(.btn-auth):not(.btn-panel):hover,
.main-nav a.active:not(.btn-auth):not(.btn-panel) {
    color: var(--color-accent);
    background-color: rgba(0, 255, 204, 0.1);
}

.btn-auth, .btn-panel {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.btn-auth {
    background: var(--color-accent);
    color: var(--color-bg-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.2);
}

.btn-panel {
    background: #6366f1;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-auth:hover, .btn-panel:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 204, 0.3);
}

.btn-panel:hover {
     box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { bottom: 0; }

.main-nav.active .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.main-nav.active .hamburger span:nth-child(2) { opacity: 0; }
.main-nav.active .hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 31, 54, 0.6) 0%, rgba(26, 31, 54, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-hero-cta {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
    display: inline-block;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
}
.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 204, 0.4);
}
.btn-hero-cta i { margin-left: 0.5rem; }

/* ===== SEÇÃO BENEFÍCIOS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.benefit {
    background-color: var(--color-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid transparent;
    border-top: 4px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 255, 204, 0.3);
}
.benefit-icon { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 1.5rem; }

/* ===== FERRAMENTAS E MOTIVAÇÃO ===== */
#tools-and-motivation { background-color: var(--color-bg-footer); }
.grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.card-column {
    background-color: var(--color-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-card-hover);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.card-column h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.feature-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}
.feature-list li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}
.feature-list li strong { color: var(--color-text-medium); }
.cta-row { margin-top: auto; padding-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    flex-grow: 1;
    border: 2px solid transparent;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
}
.cta-button.cta-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.cta-button:hover { transform: translateY(-3px); background-color: var(--color-accent-dark); }
.cta-button.cta-secondary:hover { background-color: var(--color-accent); color: var(--color-bg-primary); }

/* ===== SEÇÃO SOBRE ===== */
#about-us .lead {
    font-size: 1.2rem;
    font-weight: 500;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-top: 2rem;
    text-align: left;
    display: inline-block;
}

/* ===== SEÇÃO EQUIPE (REDESENHADA) ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}
.team-link { text-decoration: none; color: inherit; display: block; }
.team-member {
    background-color: var(--color-card);
    padding: 1.1rem 0.7rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-card-hover);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s cubic-bezier(0.4,0,0.2,1), border-color 0.18s cubic-bezier(0.4,0,0.2,1);
}
.team-link:hover .team-member {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 255, 204, 0.4);
}
.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 5px solid var(--color-card-hover);
    filter: grayscale(60%);
    transition: all 0.16s cubic-bezier(0.4,0,0.2,1);
}
.team-link:hover .team-member img {
    filter: grayscale(0%);
    transform: scale(1.05);
    border-color: var(--color-accent);
}
.team-member h3 { margin-bottom: 0.25rem; font-size: 1.3rem; color: var(--color-text-light); }
.team-role { color: var(--color-accent); font-weight: 500; font-size: 1rem; }
.linkedin-icon {
    position: absolute;
    top: 1.5rem;
    width: 90px;
    height: 90px;
    margin: 0 auto 0.7rem auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.team-link:hover .linkedin-icon { opacity: 0.9; transform: translateY(0); }

/* ===== SEÇÃO FAQ ===== */
.faq-item {
    background-color: var(--color-card);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid transparent;
    overflow: hidden;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.active { border-left-color: var(--color-accent); background-color: var(--color-card-hover); }
.faq-item h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item h3::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}
.faq-item.active h3::after { transform: rotate(45deg); }
.faq-item p {
    color: var(--color-text-dark);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 2rem;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
}
.faq-item.active p { max-height: 300px; opacity: 1; padding: 0 2rem 1.5rem 2rem; }

/* ===== CALCULADORA DE JUROS COMPOSTOS (RESTAURADO) ===== */
.calculator-container {
    background-color: #1f273e;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.calculator-form .form-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.calculator-form .form-group { flex: 1; min-width: 250px; }
.calculator-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.calculator-form input, .calculator-form select {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #2a324d;
    background-color: #2a324d;
    color: #d1d9e6;
    font-size: 1rem;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
}
.calculator-form input:focus, .calculator-form select:focus {
    border-color: #00ffcc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.2);
}
.calculator-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.results-container {
    background-color: #1f273e;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
}
.results-summary { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.result-item { flex: 1; min-width: 200px; text-align: center; }
.result-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #a9b3c1; }
.result-item .value { font-size: 1.8rem; font-weight: 700; color: #00ffcc; }
.chart-container { height: 400px; margin-top: 2rem; }
.share-buttons { display: flex; gap: 1rem; margin-top: 2rem; justify-content: center; }
.share-button, .pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #2a324d;
    color: #d1d9e6;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.13s cubic-bezier(0.4,0,0.2,1);
    font-weight: 500;
}
.share-button:hover, .pdf-button:hover { background-color: #3a4366; transform: translateY(-2px); }
.pdf-button { color: #00ffcc; }

/* ===== RODAPÉ ===== */
.site-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-text-dark);
    padding: 5rem 0 2rem 0;
    margin-top: 4rem;
    font-size: 0.95rem;
    border-top: 1px solid var(--color-card);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-column h4 { color: var(--color-text-light); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 0.8rem; }
.footer-column a { color: var(--color-text-dark); }
.footer-column a:hover { color: var(--color-accent); }
.footer-column.contact p { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.social-links a {
    color: var(--color-text-dark);
    font-size: 1.4rem;
    margin-right: 1.5rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover { color: var(--color-accent); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--color-card); }

/* ===== ANIMAÇÕES E UTILITÁRIOS (RESTAURADO) ===== */
@keyframes slideInFromTop {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toast para notificações (RESTAURADO) */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00ffcc;
    color: #1a1f36;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    font-weight: 500;
}

/* ==========================================================================
   SEÇÃO DA EQUIPE (TEAM)
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.team-link:hover {
    transform: translateY(-8px);
}

.team-member {
    position: relative;
    background: var(--color-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
}

.team-member:hover {
    background: var(--color-card-hover);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--color-accent);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-role {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.linkedin-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.linkedin-icon i {
    font-size: 16px;
    color: var(--color-bg-primary);
    transition: transform 0.3s ease;
}

.linkedin-icon:hover {
    background: var(--color-accent-dark);
    transform: scale(1.1);
}

.linkedin-icon:hover i {
    transform: scale(1.1);
}

/* ==========================================================================
   ESTILOS RESPONSIVOS
   ========================================================================== */

/* Breakpoint para tablets e telas médias */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .main-nav ul {
        gap: 0.3rem;
    }
    
    .main-nav a:not(.btn-auth):not(.btn-panel) {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .btn-auth, .btn-panel {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        gap: 0.3rem;
    }
}

/* Breakpoint para telas menores - ativar menu mobile */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block !important;
        order: 2;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 31, 54, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        z-index: 2000;
        padding-top: 2rem;
        overflow-y: auto;
    }
    
    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul { 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center;
        width: 100%;
        padding: 0 2rem;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a { 
        font-size: 1.1rem;
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .btn-auth, .btn-panel {
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
    
    .footer-column.about { 
        grid-column: 1 / -1; 
        text-align: center; 
    }
    
    .footer-column.about .logo, 
    .footer-column.about p { 
        justify-content: center; 
        margin: 0 auto; 
    }
}

/* Breakpoint especial para telas que não comportam o menu horizontal */
@media (max-width: 1100px) and (min-width: 993px) {
    .main-nav ul {
        gap: 0.2rem;
    }
    
    .main-nav a:not(.btn-auth):not(.btn-panel) {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn-auth, .btn-panel {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        gap: 0.2rem;
    }
    
    /* Se ainda não couber, forçar menu mobile */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 31, 54, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        z-index: 2000;
        padding-top: 2rem;
        overflow-y: auto;
    }
    
    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul { 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center;
        width: 100%;
        padding: 0 2rem;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a { 
        font-size: 1.1rem;
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .btn-auth, .btn-panel {
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    body { 
        font-size: 15px; 
        padding-top: 70px; 
    }
    
    .site-header, .header-container { 
        height: 70px; 
    }
    
    .header-container {
        padding: 0 0.8rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    #hero { 
        min-height: calc(100vh - 70px); 
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }
    
    section { padding: 4rem 0; }
    
    .container { 
        padding: 0 1rem; 
    }
    
    .grid-2-columns { 
        grid-template-columns: 1fr; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .social-links, 
    .footer-column.contact p { 
        justify-content: center; 
    }
    
    .main-nav { 
        top: 70px; 
        height: calc(100vh - 70px); 
    }
    
    .chart-container { 
        height: 300px; 
    }
    
    /* Ajustes específicos para mobile */
    .mobile-menu-toggle {
        width: 25px;
        height: 20px;
    }
    
    .hamburger span {
        height: 2px;
    }
    
    .hamburger span:nth-child(2) { 
        top: 8px; 
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    h1 { 
        font-size: 1.9rem; 
    }
    
    #hero .subtitle { 
        font-size: 1.1rem; 
    }
    
    .btn-hero-cta { 
        padding: 0.8rem 1.8rem; 
        font-size: 1rem; 
    }
    
    .team-grid { 
        grid-template-columns: 1fr; 
    }
    
    .results-summary { 
        flex-direction: column; 
        gap: 1rem; 
    }
    
    /* Menu mobile ainda menor */
    .mobile-menu-toggle {
        width: 22px;
        height: 18px;
    }
    
    .main-nav ul {
        padding: 0 1rem;
    }
    
    .main-nav a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .btn-auth, .btn-panel {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

/* ==========================================================================
   INDICADOR DE SCROLL (MOUSE ANIMADO) - VERSÃO CORRIGIDA E MELHORADA
   ========================================================================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 50px;
    /* CORRIGIDO: Usando a cor de destaque do site para melhor visibilidade */
    border: 2px solid var(--color-accent);
    border-radius: 25px;
    z-index: 5;
    pointer-events: none;
    /* NOVO: Efeito de brilho para destacar contra qualquer fundo */
    filter: drop-shadow(0 0 8px var(--color-accent));
}

/* A "rodinha" do mouse */
.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    /* CORRIGIDO: Usando a cor de destaque também na rodinha */
    background-color: var(--color-accent);
    border-radius: 3px;
    animation: scroll-animation 2s ease-in-out infinite;
}

/* A animação que move a rodinha (sem alterações) */
@keyframes scroll-animation {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 20px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 30px);
        opacity: 0;
    }
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }
}

/* 🖥️ MELHORIAS PARA DESKTOP - Botões maiores no cabeçalho */
@media (min-width: 1200px) {
    /* Adicionar espaçamento entre logo e navegação */
    .main-nav {
        margin-left: 2rem;
    }
    
    /* Botões de navegação principais maiores */
    .main-nav a:not(.btn-auth):not(.btn-panel) {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }
    
    /* Botões de autenticação e painel maiores */
    .btn-auth, .btn-panel {
        font-size: 0.9rem;
        padding: 0.8rem 1.4rem;
    }
}

