/* =========================================
   1. CONFIGURAÇÕES GERAIS E RESET
   ========================================= */
:root {
    --verde-gsa: #10b981;
    --preto-fundo: #09090b;
    --branco-fundo: #ffffff;
    --cinza-texto: #a1a1aa;
    --padrao-diagonal: repeating-linear-gradient(
        45deg, 
        #09090b, 
        #09090b 40px, 
        #0c0c0e 40px, 
        #0c0c0e 80px
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--preto-fundo);
}

/* =========================================
   2. CABEÇALHO (NAVBAR)
   ========================================= */
.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 8%;
    background-color: #0a0a0a;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--verde-gsa);
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
}

.logo-mark {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.logo-text {
    display: inline-block;
    line-height: 1;
}

.menu-desktop {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu-desktop a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease; /* Isso cria o efeito suave */
}
.menu-desktop a.ativo {
    color: #22c55e; 
}
/* Efeito de passar o mouse nos links do menu */
.menu-desktop a:hover {
    color: #22c55e; /* Verde GSA */
    transform: translateY(-2px); /* Pequeno pulo para cima */
}

/* Garante que o botão da calculadora não mude o texto pra verde, 
   já que ele tem fundo amarelo */
.menu-desktop a.btn-calculadora:hover {
    color: #000000;
    opacity: 0.8; /* Dá um efeito sutil de brilho no botão */
}

.menu-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #22c55e;
    transition: width 0.3s ease;
}
.menu-desktop a:hover::after {
    width: 100%;
}

.btn-calculadora {
    background: #22c55e;
    color: #000 !important;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
}

.menu-mobile-btn {
    background: none;
    border: none;
    color: var(--verde-gsa);
    font-size: 30px;
    cursor: pointer;
}

/* =========================================
   3. SEÇÃO HERO (TOPO ESCURO)
   ========================================= */
.hero {
    width: 100%;
    min-height: 85vh;
    padding: 100px 5%;
    background: var(--padrao-diagonal);
    display: flex;
    align-items: center;
    position: relative;
    clear: both;
}

.hero-texto {
    width: 45%;
    z-index: 10;
    position: relative;
    
}

.hero-texto h2 {
    font-size: 60px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-texto p {
    font-size: 20px;
    color: var(--cinza-texto);
    margin-bottom: 35px;
}

.destaque-verde {
    color: var(--verde-gsa);
}

.btn-primario {
    background: var(--verde-gsa);
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-secundario {
    border: 2px solid #27272a;
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.hero-imagem {
    position: absolute;
    right: 0;
    top: 15%; 
    transform: translateY(-50%);
    width: 55%;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
    pointer-events: none;
}

.imagem-cofrinho {
    width: 100%;
    max-width: 800px;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
}

/* =========================================
   4. DIVISOR LED (LINHA VERDE)
   ========================================= */
.divisor-led {
    width: 100%;
    height: 3px;
    background-color: #10b981;
    box-shadow: 0 0 15px #10b981, 
                0 0 30px #10b981, 
                0 0 45px rgba(16, 185, 129, 0.5);
    position: relative;
    z-index: 50;
    border: none;
}

/* =========================================
   5. CARTEIRA GSA (CARDS E GRÁFICO CENTRAL)
   ========================================= */
.gsa-secao {
    width: 100%;
    /* Se tiver mudado para background-color: white, mude de volta para transparente ou var(--branco-fundo) se for uma variável */
    background-color: var(--branco-fundo); 
    padding: 140px 5%;
    position: relative; /* ESSENCIAL para os feixes ficarem dentro */
    overflow: hidden; /* ESSENCIAL para os feixes não vazarem */
    text-align: center;
    clear: both;
}

.gsa-titulo { 
    font-size: 45px; 
    color: #121214; 
    margin-bottom: 60px; 
    font-weight: 800; 
}

/* --- EFEITO NEON --- */
.background-neon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Valor baixo para ficar no fundo */
    pointer-events: none; /* Garante que não atrapalhe cliques nos cards */
}

.particula {
    position: absolute;
    width: 4px;
    height: 150px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0) 0%, rgba(16, 185, 129, 1) 50%, rgba(16, 185, 129, 0) 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 40px rgba(16, 185, 129, 0.4);
    border-radius: 4px;
    opacity: 0;
    animation: feixeNeon linear infinite;
}

@keyframes feixeNeon {
    0% { transform: translateY(100vh) scaleY(0.1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-150px) scaleY(1); opacity: 0; }
}

/* --- GRID E COLUNAS --- */
.gsa-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 10;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.gsa-coluna {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.gsa-ligacoes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.gsa-ligacoes svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ligacao-card {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: opacity 0.25s ease, stroke-dashoffset 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.18));
}

.ligacao-reserva {
    stroke: url(#ligacaoReserva);
}

.ligacao-renda {
    stroke: url(#ligacaoRenda);
}

.ligacao-fundos {
    stroke: url(#ligacaoFundos);
}

.ligacao-acoes {
    stroke: url(#ligacaoAcoes);
}

.gsa-grid:has(.gsa-card-renda:hover) .ligacao-renda,
.gsa-grid:has(.gsa-card-fundos:hover) .ligacao-fundos {
    opacity: 1;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.28));
}

.gsa-grid:has(.gsa-card-reserva:hover) .ligacao-reserva {
    opacity: 1;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.34));
}

.gsa-grid:has(.gsa-card-acoes:hover) .ligacao-acoes {
    opacity: 1;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.28));
}

.gsa-grid:has(.gsa-card-reserva:hover) .gsa-percentual-reserva,
.gsa-grid:has(.gsa-card-renda:hover) .gsa-percentual-renda,
.gsa-grid:has(.gsa-card-fundos:hover) .gsa-percentual-fundos,
.gsa-grid:has(.gsa-card-acoes:hover) .gsa-percentual-acoes {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- O GRÁFICO CENTRAL (QUE TINHA SUMIDO) --- */
.grafico-circular {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient(
        #19e6a2 0deg 128deg,
        #ffd21f 128deg 220deg,
        #3b82ff 220deg 304deg,
        #ff4db8 304deg 360deg
    );
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow:
        0 0 34px rgba(25, 230, 162, 0.22),
        0 0 48px rgba(59, 130, 255, 0.12),
        0 20px 42px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.grafico-circular::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 62%),
        conic-gradient(
            from 0deg,
            rgba(25, 230, 162, 0.34),
            rgba(255, 210, 31, 0.28),
            rgba(59, 130, 255, 0.24),
            rgba(255, 77, 184, 0.3),
            rgba(25, 230, 162, 0.34)
        );
    filter: blur(20px);
    opacity: 0.95;
    z-index: -1;
}

.grafico-circular::after {
    content: '';
    width: 240px;
    height: 240px;
    background: var(--branco-fundo);
    border-radius: 50%;
    position: absolute;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    z-index: 1; /* Fica atrás do texto */
}

.gsa-percentual {
    position: absolute;
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: 4;
}

.gsa-percentual-valor {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    color: #111827;
}

.gsa-percentual-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.gsa-percentual-reserva {
    top: 18px;
    left: -16px;
    border: 1px solid rgba(236, 72, 153, 0.24);
}

.gsa-percentual-reserva .gsa-percentual-valor {
    color: #db2777;
}

.gsa-percentual-renda {
    left: -54px;
    bottom: 78px;
    border: 1px solid rgba(63, 131, 248, 0.24);
}

.gsa-percentual-renda .gsa-percentual-valor {
    color: #2563eb;
}

.gsa-percentual-fundos {
    top: 86px;
    right: -64px;
    border: 1px solid rgba(30, 199, 141, 0.24);
}

.gsa-percentual-fundos .gsa-percentual-valor {
    color: #059669;
}

.gsa-percentual-acoes {
    right: 18px;
    bottom: -26px;
    border: 1px solid rgba(244, 195, 20, 0.28);
}

.gsa-percentual-acoes .gsa-percentual-valor {
    color: #d97706;
}

.centro-grafico {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Fica na frente do buraco branco */
    position: relative;
}

.destaque-gsa {
    font-size: 40px;
    color: #121214;
    font-weight: 900;
}

.label-carteira {
    color: var(--cinza-texto);
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* --- CARDS GSA --- */
.gsa-card {
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 20px;
    width: 320px;
    text-align: left;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    z-index: 3;
}

.gsa-card:hover {
    border-color: var(--verde-gsa);
    transform: translateY(-10px);
    box-shadow: 0 18px 36px rgba(16, 185, 129, 0.12);
}

.gsa-card h3 { color: #121214; margin-bottom: 10px; }
.gsa-card p { color: #4b5563; font-size: 14px; line-height: 1.4; }

/* =========================================
   6. SEÇÃO FAQ (ESTÁTICO - SEMPRE ABERTO)
   ========================================= */
.faq-secao {
    width: 100%;
    background: var(--padrao-diagonal);
    padding: 100px 5%;
    color: #ffffff;
    clear: both;
}

.faq-titulo { 
    font-size: 45px; 
    text-align: center; 
    margin-bottom: 50px; 
    font-weight: 800; 
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #18181b;
    border: 1px solid #27272a;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: default; /* Remove o cursor de clique */
}

.faq-item:hover {
    border-color: var(--verde-gsa);
}

.faq-item h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Forçamos a resposta a estar sempre visível */
.faq-resposta {
    display: block !important;
}

.faq-resposta p {
    color: #a1a1aa;
    line-height: 1.6;
    font-size: 16px;
}

/* Removemos o ícone de + ou X por segurança */
.faq-icone {
    display: none !important;
}

/* =========================================
   7. ANIMAÇÕES DE ENTRADA (REVEAL)
   ========================================= */
.revelar {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.revelar.ativo {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   SIDEBAR (MENU LATERAL + FEEDBACK)
   ========================================= */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* Escondido na direita */
    width: 300px;
    height: 100vh;
    background: #09090b;
    border-left: 2px solid #27272a;
    z-index: 2000;
    transition: 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.sidebar.ativo {
    right: 0; /* Desliza para dentro */
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.fechar-sidebar {
    background: none;
    border: none;
    color: var(--verde-gsa);
    font-size: 40px;
    cursor: pointer;
}

/* --- ÁREA DE FEEDBACK --- */
.sidebar-feedback {
    margin-top: 10px;
    margin-bottom: 30px;
}

.sidebar-feedback h4 {
    color: #ffffff;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.sidebar-feedback p {
    color: var(--cinza-texto);
    font-size: 13px;
    margin-bottom: 10px;
}

.sidebar-feedback textarea {
    width: 100%;
    height: 100px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 10px;
    color: #ffffff;
    resize: none;
    font-size: 14px;
    outline: none;
}

.sidebar-feedback textarea:focus {
    border-color: var(--verde-gsa);
}

.btn-enviar-feedback {
    width: 100%;
    margin-top: 10px;
    background: var(--verde-gsa);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar-feedback:hover {
    background-color: #059669; /* Um verde um pouco mais escuro para o hover */
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); /* Brilho neon sutil */
    transform: scale(1.02); /* Aumenta levemente de tamanho */
}

/* --- LINKS DA SIDEBAR --- */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid #27272a;
    padding-top: 25px;
}

.sidebar-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar-links a:hover { 
    color: var(--verde-gsa);
    padding-left: 5px; /* Efeito sutil ao passar o mouse */
}

/* --- ELEMENTOS DE APOIO --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 1500;
}

.overlay.ativo { 
    display: block; 
}


/* =========================================
   9. PÁGINA DE CURSOS (ESPECÍFICO)
   ========================================= */
.cursos-pagina {
    padding: 120px 5% 80px;
    background: var(--padrao-diagonal);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.cursos-titulo { 
    font-size: 45px; 
    color: #ffffff; /* Cor branca para destacar no fundo escuro */
    margin-bottom: 20px; 
    font-weight: 800; 
    text-align: center;
}

.cursos-subtitulo {
    color: var(--cinza-texto);
    margin-bottom: 50px;
    font-size: 18px;
}

.cursos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.curso-card {
    background: #18181b; /* Fundo escuro para combinar com a página */
    border: 1px solid #27272a;
    padding: 40px;
    border-radius: 24px;
    width: 350px;
    text-align: left;
    position: relative;
    transition: 0.3s;
}
.curso-card p {
    color: var(--cinza-texto); /* Usa o cinza claro que já temos no :root */
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.curso-tag {
    background: #232325;
    color: var(--verde-gsa);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.curso-card h3 { 
    color: #ffffff; 
    font-size: 24px; 
    margin-bottom: 15px; 
}

.curso-lista {
    list-style: none;
    margin: 25px 0;
}

.curso-lista li {
    color: var(--cinza-texto);
    margin-bottom: 10px;
    font-size: 15px;
}

.btn-curso {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05); /* Fundo quase transparente */
    border: 2px solid rgba(255, 255, 255, 0.2); /* Borda sutil */
    border-radius: 12px;
    color: #ffffff !important; /* FORÇA a cor branca no texto */
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.btn-curso:hover {
 background: rgba(255, 255, 255, 0.1);
    border-color: #22c55e; /* Fica verde ao passar o mouse */
    transform: translateY(-2px);
}

/* DESTAQUE PARA O CURSO PRINCIPAL */
.destaque-card {
    border: 2px solid var(--verde-gsa);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.btn-destaque {
    background: var(--verde-gsa);
    color: #ffffff;
    border-color: var(--verde-gsa);
}

.btn-destaque:hover {
    background: #059669;
    color: #ffffff;
}

/* MODAL STYLE */
.modal-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    cursor: pointer;
    transition: 0.3s;
    align-items: center;

}
.modulo-item.aula-ativa {
    background: #3f3f46;
    border-left: 6px solid #facc15; /* Muda para amarelo para destacar a seleção */
    transform: translateX(10px);
}

.modulo-item span {
    pointer-events: none; /* Garante que o clique pegue na div toda */
}

.modal-content {
    background: #18181b;
    border: 2px solid var(--verde-gsa);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: white;
}

.fechar-modal {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: var(--verde-gsa);
    font-size: 30px; cursor: pointer;
}

.modulo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #27272a;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--verde-gsa);
}
.modulo-item::after {
    content: '▶'; /* Ícone de play */
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.modulo-item:hover::after {
    opacity: 1;
    transform: translateX(-10px);
}

/* BOTÃO DENTRO DO MODAL */
.btn-modal-acao {
    width: 100%; /* Largura total */
    background: var(--verde-gsa);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-modal-acao:hover {
    background: #059669;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* AJUSTE NA LISTA PARA DAR ESPAÇO AO BOTÃO */
.modal-lista {
    margin-bottom: 25px;
}


.calc-container {
    padding: 100px 5% 50px;
    display: flex;
    justify-content: center;
    align-items: center; /* centraliza vertical */
    background: transparent;
    min-height: calc(100vh - 80px); /* desconta header */
}

.calc-card {
    background: #252527;
    border: 2px solid #18181a;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
}

.calc-inputs {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.input-group label {
    display: block;
    color: var(--cinza-texto);
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    background: #08080a;
    border: 1px solid #27272a;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    outline: none;
}

.input-group input:focus { border-color: var(--verde-gsa); }

.btn-full { width: 100%; cursor: pointer; border: none; }

.resultado-box {
    margin-top: 30px;
    background: #09090b;
    padding: 25px;
    border-radius: 16px;
    display: none; /* Só aparece após o cálculo */
}

.res-item { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--cinza-texto); }
.res-total { text-align: center; margin-top: 15px; color: white; }


.calc-secao {
    padding: 100px 5% 80px;
    min-height: calc(100vh - 100px);

    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent; /* ESSENCIAL */
}

.calc-card {
    position: relative;

    background: rgba(120, 120, 120, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;

    padding: 40px;
    width: 100%;
    max-width: 500px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.calc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.05),
        transparent
    );

    opacity: 0.25;
    pointer-events: none;
}

.calc-titulo { color: #fff; font-size: 32px; margin-bottom: 10px; }
.calc-desc { color: var(--cinza-texto); margin-bottom: 30px; }

.calc-form { display: grid; gap: 20px; }

.input-box label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);

    padding: 15px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.input-box input:focus {
    border-color: var(--verde-gsa);
    background: rgba(255, 255, 255, 0.08);
}

.btn-calc { width: 100%; cursor: pointer; border: none; font-size: 18px; margin-top: 10px; }

.calc-resultados {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #27272a;
    display: none; /* JS vai mostrar */
}

.res-grid { display: flex; justify-content: space-between; margin-bottom: 25px; }
.res-item span { color: var(--cinza-texto); font-size: 13px; }
.res-item p { color: #fff; font-size: 20px; font-weight: 700; }

.res-final { text-align: center; background: #09090b; padding: 20px; border-radius: 16px; }
.res-final span { color: var(--cinza-texto); }
.res-final h2 { color: var(--verde-gsa); font-size: 36px; margin-top: 5px; }

.tabela-gsa {
    width: 100%;
    border-collapse: collapse;
    color: white;
    background: #09090b;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}

.tabela-gsa th {
    background: #18181b;
    padding: 15px;
    text-align: left;
    color: var(--verde-gsa);
    border-bottom: 2px solid #27272a;
}

.tabela-gsa td {
    padding: 12px 15px;
    border-bottom: 1px solid #27272a;
}

.tabela-gsa tr:hover {
    background: #18181b;
}

/* Scroll customizado para a tabela no mobile */
.tabela-container::-webkit-scrollbar { height: 6px; }
.tabela-container::-webkit-scrollbar-thumb { background: var(--verde-gsa); border-radius: 10px; }



/* --- CHATBOT IA --- */
#ai-chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5000;
}

#btn-ia-toggle {
    background: var(--verde-gsa);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: 0.3s;
}

#chat-box-ia {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 450px;
    background: #19191d;
    border: 1px solid #27272a;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(14, 124, 51, 0.6);
}

/* --- CONTAINER PRINCIPAL DO CHAT --- */
#chat-box-ia {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 450px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 9999;
}

.chat-escondido { display: none !important; }

/* --- CABEÇALHO (Onde mudamos para fundo escuro e título verde) --- */
.chat-header { 
    background: #18181b; 
    padding: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #27272a;
}

.chat-header strong { 
    color: #10b981 !important; /* VERDE GSA OFICIAL */
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chat-header button {
    background: transparent;
    border: none;
    color: #057534;
    font-size: 20px;
    cursor: pointer;
}

/* --- ÁREA DE MENSAGENS --- */
#chat-messages { 
    flex: 1; 
    padding: 15px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    background: #09090b; /* Fundo levemente mais escuro que o card */
}

.msg-ia { 
    background: #27272a; 
    padding: 12px; 
    border-radius: 15px 15px 15px 0; 
    font-size: 14px; 
    color: #fff; 
    max-width: 85%; 
    line-height: 1.4;
}

.chat-conteudo-html {
    margin-top: 8px;
    display: block;
}

.chat-conteudo-html-sem-remetente {
    margin-top: 0;
}

.ia-resposta-card {
    display: grid;
    gap: 12px;
    width: 100%;
}

.ia-resposta-card-interno {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ia-resposta-titulo {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.ia-resposta-resumo {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.ia-resposta-explicacao {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.68;
}

.ia-resposta-paragrafo {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.ia-resposta-bloco {
    display: grid;
    gap: 8px;
}

.ia-resposta-subcard {
    display: block;
}

.ia-resposta-secao {
    display: grid;
    gap: 10px;
}

.ia-resposta-secao-titulo {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #67e8f9;
}

.ia-resposta-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86efac;
}

.ia-resposta-texto {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    word-break: break-word;
}

.ia-resposta-texto-destaque {
    color: #f8fafc;
}

.ia-resposta-passos {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    counter-reset: ia-step;
}

.ia-resposta-passos li {
    position: relative;
    padding: 10px 12px 10px 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #f4f4f5;
    line-height: 1.55;
    word-break: break-word;
}

.ia-resposta-passos li::before {
    counter-increment: ia-step;
    content: counter(ia-step);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.38);
}

.ia-resposta-lista {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ia-resposta-lista li {
    position: relative;
    padding: 10px 12px 10px 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    word-break: break-word;
}

.ia-resposta-lista li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.ia-resposta-exercicios {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    counter-reset: ia-exercicio;
}

.ia-resposta-exercicios li {
    position: relative;
    padding: 10px 12px 10px 42px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    word-break: break-word;
}

.ia-resposta-exercicios li::before {
    counter-increment: ia-exercicio;
    content: counter(ia-exercicio);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.24);
    border: 1px solid rgba(147, 197, 253, 0.28);
}

.ia-resposta-alerta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.18);
    border-left: 3px solid #facc15;
}

.ia-resposta-alerta-icon {
    flex-shrink: 0;
    font-size: 0;
    line-height: 1.2;
}

.ia-resposta-alerta-icon::before {
    content: "\26A0\FE0F";
    font-size: 16px;
}

.ia-resposta-alerta-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
}

.ia-resposta-alerta p {
    margin: 0;
    line-height: 1.55;
    color: #fef3c7;
    word-break: break-word;
}

.ia-resposta-extra {
    margin: 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    word-break: break-word;
}

.msg-user { 
    background: #10b981; 
    padding: 12px; 
    border-radius: 15px 15px 0 15px; 
    font-size: 14px; 
    align-self: flex-end; 
    color: #141111; 
    max-width: 85%; 
    line-height: 1.4;
}

/* --- ÁREA DE INPUT E BOTÃO ENVIAR --- */
.chat-input { 
    padding: 15px; 
    display: flex; 
    gap: 10px; 
    align-items: center;

    /* REMOVENDO A LINHA BRANCA */
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Uma linha de luz quase invisível */

    /* CONFIGURAÇÃO DO VIDRO */
    background: rgba(24, 24, 27, 0.6); /* Fundo escuro semi-transparente */
    backdrop-filter: blur(12px);      /* O desfoque do vidro */
    -webkit-backdrop-filter: blur(12px); /* Suporte para Safari */
    
    /* Arredondamento acompanhando o chat-box */
    border-radius: 0 0 20px 20px; 
}

/* --- O CAMPO DE TEXTO DENTRO DO VIDRO --- */
.chat-input input { 
    flex: 1; 
    background: transparent; /* Transparente para mostrar o efeito de vidro */
    border: none;            /* Remove qualquer borda */
    outline: none;           /* Remove a linha de clique azul/branca */
    
    color: #252222; 
    padding: 10px; 
    font-size: 14px;
    font-family: inherit;
    appearance: none; /* Remove estilos padrão de sistemas mobile/iOS */
}

.chat-input input:focus {
    /* Impede que o fundo fique branco ao clicar */
    background: transparent !important; 
    
    /* Remove a borda azul ou branca que o Chrome coloca */
    outline: none !important;
    box-shadow: none !important;
    
    /* Garante que o texto continue branco */
    color: #ffffff !important;
}

/* Ajustando a cor do texto de sugestão */
.chat-input input::placeholder {
    color: rgba(161, 161, 170, 0.5); 
}


#btn-enviar-ia {
    background: #10b981; /* Verde GSA */
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    min-width: 40px; /* Impede que ele esmague */
    border-radius: 50%; /* Deixa ele circular */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    padding: 0;
    margin-left: 5px;
}

#btn-enviar-ia svg {
    margin-left: 3px; /* Pequeno ajuste para centralizar visualmente o ícone de envio */
    transition: transform 0.3s ease;
}

/* EFEITOS DE HOVER E CLICK */
#btn-enviar-ia:hover {
    background: #059669;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.5);
}

#btn-enviar-ia:hover svg {
    transform: translateX(2px) translateY(-1px); /* O ícone parece que vai decolar */
}

#btn-enviar-ia:active {
    transform: scale(0.9);
}

#btn-ia-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #10b981; /* Verde GSA */
    color: white;
    border: none;
    padding: 12px 20px; /* Dá o formato de pílula */
    border-radius: 50px; /* Bordas bem arredondadas */
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre o robô e o texto */
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    z-index: 10001;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* VISUAL DA CALCULADORA (Botão Circular) */
/* Aqui usamos uma classe extra só para a calculadora no HTML da calculadora */
.btn-circular {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 28px !important;
}

#btn-ia-toggle:hover {
    background: #059669;
    transform: translateY(-3px); /* Leve subida ao passar o mouse */
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
}

/* Ajuste para o chat abrir acima do botão */
#chat-box-ia {
    position: fixed; /* Mude para fixed para não sumir no scroll */
    bottom: 85px; /* Sobe um pouco para ficar em cima do botão */
    right: 25px;
    width: 320px;
    height: 450px;
    /* ... o resto do seu CSS de vidro que já fizemos ... */
}

/* =========================================
   9. CRIADORES
   ========================================= */
/* --- CONFIGURAÇÃO DA PÁGINA (FUNDO GSA) --- */
.container-criadores {
    width: 100%;
    min-height: 100vh;
    padding: 1px 5% 50px 5% !important;
    background: var(--padrao-diagonal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* --- TEXTOS PRINCIPAIS --- */
.titulo-gsa {
    font-size: 60px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 900;
    text-align: center;
}

.titulo-gsa span {
    color: var(--verde-gsa);
}

.subtitulo {
    font-size: 20px;
    color: var(--cinza-texto);
    text-align: center;
    max-width: 800px;
    margin-bottom: 50px;
}

/* --- ESTRUTURA DO SLIDER --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Largura ideal para os 3 cards respirarem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 20;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.grid-criadores {
    display: flex;
    gap: 25px;
    padding: 20px 5px;
}

/* --- O CARD VERTICAL (ESTILO CANVA) --- */
.card-gsa {
    /* Efeito de Vidro (Glassmorphism) */
    background: rgba(255, 255, 255, 0.03); /* Fundo branco QUASE invisível */
    backdrop-filter: blur(12px);           /* O segredo: embaça o fundo de listras */
    -webkit-backdrop-filter: blur(12px);    /* Compatibilidade para Safari */
    
    /* Borda sutil para dar o brilho do vidro */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 530px; /* Garante alinhamento dos ícones */
}

/* Efeito de Hover "Teclado Mecânico" (Sobe e Brilha) */
.card-gsa:hover {
    background: rgba(255, 255, 255, 0.07); /* Escurece o vidro levemente */
    border-color: var(--verde-gsa);        /* A borda brilha em verde */
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(34, 197, 94, 0.1); /* Brilho verde suave no fundo */
}
.card-gsa:hover {
    border-color: var(--verde-gsa);
    transform: translateY(-10px);
}

/* FOTO VERTICAL --- */
.foto-container {
    width: 100%;
    height: 350px; /* Foto ocupando bastante espaço vertical */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--verde-gsa);
    margin-bottom: 15px;
    background: #111;
}

.foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CORES DOS TEXTOS DENTRO DO CARD --- */
.card-content h3 {
    color: #ffffff !important; /* Nome em branco puro */
    font-size: 1.4rem;
    margin-top: 15px;
    margin-bottom: 8px;
}

.card-content p {
    color: #cccccc !important; /* Descrição em cinza claro */
    font-size: 0.9rem;
    line-height: 1.5;
}

.badge-gsa {
    background-color: var(--verde-gsa);
    color: #000000; /* Texto preto no fundo verde para leitura */
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* --- SETAS DE NAVEGAÇÃO (POSIÇÃO CORRIGIDA) --- */
.seta {
    background: var(--verde-gsa);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    transition: 0.3s;
}

.seta:hover {
    transform: scale(1.1);
    background: #1eb050;
}

/* Afastando as setas para não cobrirem os cards */
.seta-esquerda { left: -70px; }
.seta-direta { right: -70px; }

.seta-esquerda, .seta-direta {
    background: rgba(34, 197, 94, 0.1); /* Fundo verde bem transparente */
    border: 2px solid #22c55e;        /* Borda verde sólida GSA */
    color: #22c55e;                   /* Cor do ícone interna */
    border-radius: 50%;               /* Deixa redonda */
    width: 50px;                      /* Tamanho maior */
    height: 50px;                     /* Tamanho maior */
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;        /* Suaviza o efeito de hover */
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2); /* Brilho neon sutil */
}
.seta-esquerda:hover, .seta-direta:hover {
    background: #22c55e;              /* Preenche de verde */
    color: #000;                      /* Ícone fica preto */
    transform: scale(1.1);            /* Dá um leve zoom */
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6); /* Aumenta o brilho */
}
/* --- DEFINIÇÃO DAS ANIMAÇÕES --- */

/* Animação para o título e subtítulo (Vem de cima) */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação para os cards (Vem de baixo com fade) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- APLICANDO NOS ELEMENTOS --- */

.hero-texto-criadores {
    animation: fadeInDown 0.8s ease-out forwards;
}

.card-gsa {
    opacity: 0; /* Começa invisível para a animação funcionar */
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Efeito Cascata: Cada card aparece um pouquinho depois do outro */
.card-gsa:nth-child(1) { animation-delay: 0.2s; }
.card-gsa:nth-child(2) { animation-delay: 0.4s; }
.card-gsa:nth-child(3) { animation-delay: 0.6s; }
.card-gsa:nth-child(4) { animation-delay: 0.8s; }
.card-gsa:nth-child(5) { animation-delay: 1.0s; }
.card-gsa:nth-child(6) { animation-delay: 1.2s; }

/* Animação das Setas (Aparecem por último) */
.seta-esquerda, .seta-direta {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
}

/* Container dos ícones */
/* FORÇAR VISIBILIDADE DOS ÍCONES SOCIAIS */
/* No container das redes sociais */
.social-icons {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    width: 100%;             /* Garante que ocupe toda a largura do card */
    margin-top: auto;        /* Empurra para o rodapé */
    padding-top: 15px;
}

/* Garante que o link e a imagem dentro dele herdem a centralização */
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O segredo: Lucide gera um SVG, precisamos dar tamanho a ele */
.social-icons svg, 
.social-icons i {
    width: 24px !important; 
    height: 24px !important;
    color: #22c55e !important; /* Verde GSA */
    stroke: #22c55e !important; /* Cor da linha do ícone */
    stroke-width: 2px !important;
    display: block !important;
    transition: 0.3s ease;
}

.social-icons a:hover svg,
.social-icons a:hover i {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: translateY(-3px);
}

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

/* Estilo das logos */
.social-logo {
    width: 28px; /* Tamanho da logo */
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) brightness(1.5); /* Ficam cinzas para combinar com o site */
}

/* Quando passa o mouse, elas ganham cor e crescem */
.social-icons a:hover .social-logo {
    transform: scale(1.2);
    filter: grayscale(0%) brightness(1); /* Ganham a cor original */
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.card-gsa:hover {
    border-color: var(--verde-gsa);
    transform: translateY(-15px) scale(1.02); /* Sobe um pouco mais e cresce levemente */
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2); /* Brilho verde no fundo */
}

/* =========================================
   10. acessibilidade
   ========================================= */

   /* Barra Superior de Acessibilidade */
/* --- ACESSIBILIDADE GSA (Mantenha apenas isso) --- */

/* Estilo dos botões dentro do novo painel flutuante */
.btn-acess-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    transition: 0.3s;
    width: 100%;
    margin-bottom: 5px;
}

.btn-acess-item:hover {
    background: #22c55e;
    color: #000;
}

/* Regras de Alto Contraste (Essencial manter) */
body.alto-contraste {
    filter: contrast(150%) brightness(110%);
    background: #000 !important;
}

body.alto-contraste .vidro-cinza {
    background: #000 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .destaque-verde, 
body.alto-contraste strong {
    color: #ffff00 !important; 
}


/* =========================================
   11. MODAL AULA (UX MELHORADA)
   ========================================= */

/* Container do modal */
/* --- MODAL AMBIENTE DE AULA (SALA) --- */

#modalAula.modal-container {
    backdrop-filter: blur(12px); /* Aumentei um pouco o blur para o fundo ficar mais elegante */
    background: rgba(0, 0, 0, 0.7);
}

#modalAula .modal-content {
    max-width: 420px;
    text-align: center;
    background: rgba(30, 30, 35, 0.9); /* Vidro escuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Título e Subtítulo */
#tituloAulaAtiva {
    font-size: 24px;
    font-weight: 800;
    color: var(--verde-gsa);
    margin-bottom: 5px;
}

#cursoPertencente {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BOTÕES DA AULA (ESTILO PREMIUM) */
.btn-acess-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center; /* Centralizado fica melhor nesse modal */
    gap: 12px;
    width: 100%;
    text-decoration: none;
}

.btn-acess-item:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--verde-gsa);
    color: var(--verde-gsa);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.2);
}

/* Destaque Amarelo para Exercícios */
.btn-acess-item[onclick*="abrirQuiz"] {
    border-color: rgba(250, 204, 21, 0.3);
}

.btn-acess-item[onclick*="abrirQuiz"]:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: #facc15;
    color: #facc15;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.2);
}

/* BOTÃO VOLTAR (MAIS DISCRETO) */
.btn-voltar-gsa {
    background: none;
    border: none;
    color: #6b7280; /* Um cinza mais suave */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.btn-voltar-gsa:hover {
    color: #22c55e; /* Acende em verde no hover */
    transform: translateX(-5px); /* Dá um pulinho para a esquerda */
}

/* AJUSTE NA LISTA DE MÓDULOS (MODAL 1) */
.modulo-item {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.modulo-item.aula-ativa {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid var(--verde-gsa);
    border-left: 6px solid var(--verde-gsa); /* Mantive sua ideia do destaque lateral */
    color: #fff;
}

/* =========================================
   13. ANIMAÇÃO EXTRA SUAVE
   ========================================= */

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





/* Estilo das opções do Quiz */
.quiz-opcao {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.quiz-opcao:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    transform: translateX(5px);
}

/* Texto da Pergunta */
.quiz-pergunta {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Contador de perguntas */
.quiz-footer {
    color: #666;
    font-size: 12px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

@keyframes girarQuiz {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
