/* Estilos Gerais */
:root {
    --azul-escuro: #002B5B;
    --verde: #198754;
    --verde-hover: #146c43;
    --amarelo: #FFC300;
    --fundo-claro: #F5F5F5;
    --texto: #111;
    --cinza-borda: #ddd;
    --vermelho-erro: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--texto);
    line-height: 1.6;
    background-color: var(--fundo-claro);
    overflow-x: hidden; /* Evita rolagem horizontal */
}

/* Adicionado para controlar o overflow quando o menu está aberto */
body.no-scroll {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600; /* Um pouco mais de peso para títulos */
}

h2 { /* Estilo para todos os h2, incluindo os de seção */
    font-size: 2.5rem;
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 3rem; /* Aumentar margem inferior para espaçamento */
    position: relative;
    padding-top: 20px; /* Adicionado para evitar "colar" no topo da seção ao rolar */
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--amarelo);
    margin: 1rem auto 0; /* Ajuste na margem */
}

p {
    margin-bottom: 1rem;
    font-size: 1rem; /* Base para parágrafos */
}

section {
    padding: 4rem 0; /* Ajuste no padding vertical das seções */
}

/* Hero Section (TOPO DA PÁGINA - Com Formulário Integrado) */
.hero {
    background: linear-gradient(rgba(0, 43, 91, 0.85), rgba(0, 43, 91, 0.8)), url('../images/hero-bg.avif') center/cover no-repeat; /* Caminho da imagem ajustado */
    color: white;
    padding: 3rem 0 5rem 0; /* Padding superior reduzido, inferior um pouco maior */
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 75vh; /* Aumentado para acomodar o formulário */
    position: relative;
}

.hero .hero-container-flex { /* Novo container para flexbox em desktop */
    display: flex;
    align-items: flex-start; /* Alinha o conteúdo ao topo */
    justify-content: center;
    gap: 40px; /* Espaço entre os blocos de conteúdo e formulário */
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    width: 100%;
}

.hero-left-content { /* Conteúdo textual e logo à esquerda */
    flex: 1 1 50%; /* Ocupa metade da largura disponível */
    max-width: 600px; /* Largura máxima para o conteúdo de texto */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza itens na coluna */
    text-align: center; /* Centraliza o texto */
    padding-top: 20px; /* Para alinhamento visual com o formulário */
}

.logo-container {
    margin-bottom: 1.5rem; /* Menos espaço abaixo do logo */
}

.logo {
    max-width: 200px; /* Logo um pouco menor para compactar */
    height: auto;
    margin-bottom: 0.5rem; /* Menos espaço */
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-main-content { /* Bloco do título, subtítulo, botão */
    max-width: 100%; /* Ocupa a largura total do hero-left-content */
    margin: 2rem auto;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--verde);
    color: white !important;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.9rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(25, 135, 84, 0.35);
}

.cta-button:hover, .cta-button:focus {
    background-color: var(--verde-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.45);
    color: white !important;
}

.proof-social {
    margin-top: 2.5rem;
    font-size: 1.1rem;
}

.proof-social strong {
    color: var(--amarelo);
    font-size: 1.4rem;
}

/* Estilos do Formulário DENTRO do Hero */
.hero-registration-form-wrapper {
    flex: 1 1 400px; /* Ocupa espaço flexível, com largura mínima */
    max-width: 500px; /* Largura máxima do formulário */
    background-color: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    text-align: left; /* Conteúdo do formulário alinhado à esquerda */
    color: var(--texto); /* Cor do texto dentro do formulário */
}

.hero-registration-form-wrapper h2 {
    font-size: 2rem; /* Título do formulário dentro do hero */
    color: var(--azul-escuro);
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-registration-form-wrapper .form-intro {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--texto);
}

/* ANIMAÇÃO DO SPINNER (Para o botão de enviar) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-button .fa-spinner {
    margin-left: 10px; /* Espaçamento entre o texto e o spinner */
    animation: spin 1s linear infinite; /* Aplica a animação */
}


/* Nova Barra de Navegação (main-nav) */
.main-nav {
    background-color: var(--azul-escuro); /* Cor de fundo */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100; /* Garante que fique acima de outros elementos */
    display: flex; /* Para controlar o toggle do menu */
    justify-content: center; /* Centraliza o menu em desktop */
}

.main-nav .container {
    display: flex;
    justify-content: center; /* Centraliza a lista em desktop */
    align-items: center;
    position: relative; /* Para posicionar o toggle */
}

.main-nav .nav-list {
    list-style: none;
    display: flex; /* Exibe os itens lado a lado em desktop */
    justify-content: center;
    gap: 30px; /* Espaçamento entre itens */
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Para responsividade */
}

.main-nav .nav-list li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav .nav-list li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--amarelo); /* Destaque ao passar o mouse */
}

.main-nav .nav-list li a.nav-cta-btn { /* Estilo específico para o botão no menu */
    background-color: var(--verde);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.main-nav .nav-list li a.nav-cta-btn:hover {
    background-color: var(--verde-hover);
    transform: translateY(-2px);
    color: white; /* Garante que a cor do texto não mude no hover */
}

/* Ícone do Menu Hambúrguer (nav-toggle) */
.nav-toggle {
    display: none; /* Esconde o ícone em desktop */
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    position: absolute; /* Posiciona o ícone */
    right: 20px; /* À direita do container */
    top: 50%;
    transform: translateY(-50%);
    z-index: 101; /* Acima da lista de navegação */
}

/* Overlay para quando o menu estiver aberto */
.nav-overlay {
    display: none; /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro transparente */
    z-index: 98; /* Abaixo do menu, mas acima do conteúdo */
}

/* Classe adicionada ao .main-nav quando o menu está aberto */
.main-nav.nav-open .nav-overlay {
    display: block; /* Mostra o overlay quando o menu está aberto */
}


/* Counter Section */
.counter-section {
    background-color: white;
    padding: 2.5rem 0; /* Ajuste no padding */
}

.counter-box {
    background-color: var(--azul-escuro);
    color: white;
    text-align: center;
    padding: 2.5rem; /* Ajuste no padding */
    border-radius: 12px; /* Bordas mais suaves */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    max-width: 550px; /* Um pouco maior */
    margin: 0 auto;
}

.counter-box p {
    font-size: 1.1rem;
}

.counter {
    font-size: 4.5rem; /* Maior destaque */
    font-weight: 700;
    color: var(--amarelo);
    margin: 0.8rem 0; /* Ajuste na margem */
}

/* About Section */
.about-section {
    background-color: var(--fundo-claro);
}

.about-content {
    max-width: 850px; /* Um pouco maior */
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem; /* Melhor legibilidade */
}

.about-content p {
    margin-bottom: 1.5rem; /* Mais espaçamento entre parágrafos */
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Ajuste no minmax */
    gap: 2.5rem; /* Mais espaçamento */
}

.benefit-card {
    background-color: var(--fundo-claro);
    padding: 2.5rem; /* Mais padding interno */
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.benefit-card:hover {
    transform: translateY(-12px); /* Efeito de elevação maior */
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3.5rem; /* Ícones maiores */
    margin-bottom: 1.5rem;
    color: var(--verde); /* Cor temática para ícones */
}

.benefit-card h3 {
    color: var(--azul-escuro);
    margin-bottom: 1rem;
    font-size: 1.4rem; /* Ajuste no tamanho da fonte */
}

/* Courses Section (Manter seu estilo de card) */
.courses-section {
    background-color: var(--fundo-claro);
}

.courses-intro {
    text-align: center;
    font-size: 1.25rem; /* Leve ajuste */
    margin-bottom: 3.5rem; /* Mais espaçamento */
    color: var(--texto);
}

.courses-grid { /* Seu grid de cursos original */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Cards um pouco maiores */
    gap: 2.5rem;
}

.course-card { /* Seu card de curso original */
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Para alinhar conteúdo interno se necessário */
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px); /* Efeito de elevação */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    cursor: pointer; /* Adicionado: muda o cursor para mãozinha */
}

.course-icon {
    font-size: 2.8rem; /* Ícones maiores */
    color: var(--azul-escuro); /* Cor temática */
	 display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.course-icon-img { /* Imagens dos ícones dos cursos */
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 5px;
}
.course-card h3 {
    color: var(--azul-escuro);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.course-card ul {
    list-style-position: inside;
    padding-left: 0;
    margin-bottom: 1.5rem; /* Espaço antes do botão */
    flex-grow: 1; /* Faz a lista ocupar espaço, empurrando o botão para baixo */
}

.course-card li {
    margin-bottom: 0.6rem; /* Espaçamento entre itens da lista */
    font-size: 0.95rem;
}

/* Novo botão dentro do Course Card */
.btn-course-action {
    display: inline-block; /* Comporta-se como botão */
    background-color: var(--verde);
    color: white !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.2);
    margin-top: auto; /* Empurra o botão para o final do card */
    text-align: center;
    width: 100%; /* Ocupa a largura total do card */
    cursor: pointer;
}

.btn-course-action:hover {
    background-color: var(--verde-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(25, 135, 84, 0.3);
    color: white !important;
}


/* Nova Seção de FAQ */
.faq-section {
    background-color: white; /* Ou outra cor de fundo se preferir */
    padding: 4rem 0; /* Mesma do section */
}

.faq-list {
    max-width: 900px; /* Centraliza a lista de FAQs */
    margin: 3rem auto 0 auto; /* Espaçamento do título */
}

.faq-item {
    background-color: var(--fundo-claro); /* Fundo dos itens */
    border: 1px solid var(--cinza-borda);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Para garantir que o border-radius funcione */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Sombra suave */
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra um pouco maior no hover */
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    display: flex; /* Para alinhar o texto e o ícone de expandir */
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px; /* Padding interno */
    font-weight: 600;
    cursor: pointer;
    outline: none; /* Remove o contorno de foco padrão */
    user-select: none; /* Impede seleção de texto ao clicar */
    color: var(--azul-escuro); /* Cor da pergunta */
    font-size: 1.15rem;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: rgba(0, 0, 0, 0.02); /* Leve alteração no hover */
}

/* Remove o marcador padrão do details/summary */
.faq-item summary::marker, .faq-item summary::-webkit-details-marker {
    display: none;
}

/* Ícone de expandir/colapsar */
.faq-item summary::after {
    content: '\2b'; /* Unicode para o símbolo de mais (+) */
    font-family: "Font Awesome 6 Free"; /* Se estiver usando Font Awesome */
    font-weight: 900; /* Para ícones sólidos do Font Awesome */
    font-size: 1.2em;
    color: var(--verde); /* Cor do ícone */
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    content: '\2212'; /* Unicode para o símbolo de menos (-) */
    transform: rotate(0deg); /* Não rotaciona, apenas muda para menos */
}

.faq-item-content {
    padding: 0 25px 20px 25px; /* Padding da resposta */
    border-top: 1px solid var(--cinza-borda); /* Linha divisória */
    font-size: 1rem;
    color: var(--texto);
    line-height: 1.6;
}

.faq-item-content p {
    margin-top: 15px; /* Espaço do topo da resposta */
    margin-bottom: 0; /* Remover margem extra do p */
}


/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajuste no minmax */
    gap: 2.5rem;
}
.testimonial-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
}

.testimonial-card { /* Seu testimonial-card original, agora utilizado pelo JS */
    background-color: var(--fundo-claro);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    position: relative;
}

.testimonial-card:before {
    content: '“'; /* Aspas mais elegantes */
    font-size: 6rem; /* Maiores */
    position: absolute;
    top: 0px; /* Ajuste na posição */
    left: 15px;
    color: rgba(0, 43, 91, 0.08); /* Mais sutil */
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.8rem; /* Mais espaço */
    font-size: 1.05rem; /* Leve ajuste */
    position: relative; /* Para z-index se necessário sobre aspas */
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--azul-escuro);
    font-size: 1.1rem; /* Leve ajuste */
}

.testimonial-location {
    font-size: 0.9rem;
    opacity: 0.7; /* Mais sutil */
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 43, 91, 0.85), rgba(0, 43, 91, 0.8)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white; /* Garante cor do título */
}

.cta-section h2:after {
    background-color: var(--amarelo); /* Destaque da linha */
}

.cta-section p {
    font-size: 1.2rem; /* Leve ajuste */
    margin-bottom: 2.5rem; /* Mais espaço antes do botão */
}

/* Registration Section (Formulário do Rodapé) */
.registration-section {
    background-color: var(--fundo-claro);
    padding: 4rem 0; /* Mantenha o padding da seção */
}

.form-intro { /* Introdução do formulário, usada tanto no topo quanto no rodapé */
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.registration-form { /* Estilo geral do formulário */
    max-width: 650px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* CORREÇÃO AQUI: Alinhamento da mensagem de "dados seguros" no formulário do rodapé */
.registration-section .form-note { /* Alvo a nota no formulário do rodapé */
    text-align: center; /* Centraliza a mensagem */
    margin-top: 20px; /* Adiciona um espaço acima dela */
    font-size: 0.9rem;
    color: var(--texto); /* Cor do texto */
}


.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--cinza-borda);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--azul-escuro);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.15);
}

.website-field {
    position: absolute;
    left: -5000px; 
    visibility: hidden;
}


.submit-button {
    background-color: var(--verde);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.submit-button:hover:not(:disabled) {
    background-color: var(--verde-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white !important;
}

.submit-button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}


/* Footer */
.footer {
    background-color: var(--azul-escuro);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Estilo para campos com erro */
.error {
    border-color: var(--vermelho-erro) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.error-message {
    color: var(--vermelho-erro);
    font-size: 0.875rem;
    margin-top: 0.4rem;
    display: block;
}


/* Modal de confirmação */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.65);
}

.modal-content {
    background-color: white;
    margin: 12% auto;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 550px;
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-40px) scale(0.95);}
    to {opacity: 1; transform: translateY(0) scale(1);}
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--azul-escuro);
}

.confirmation-message {
    text-align: center;
}

.confirmation-message h3 {
    color: var(--azul-escuro);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.confirmation-message p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

#close-confirmation {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}


/* Social Proof Popup */
.social-proof-popup {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    padding: 0;
    z-index: 999;
    max-width: 320px;
    opacity: 0;
    transform: translateX(-20px) translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 4px solid var(--verde);
}

.social-proof-popup.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.social-proof-content {
    display: flex;
    align-items: center;
    padding: 18px 20px;
}

.social-proof-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--verde);
    flex-shrink: 0;
}

.social-proof-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.social-proof-text strong {
    font-weight: 600;
}

.social-proof-time {
    font-size: 0.8rem !important;
    color: #666;
    margin-top: 6px !important;
}

.social-proof-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #bbb;
    padding: 5px;
}

.social-proof-close:hover {
    color: #777;
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.exit-popup-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

.exit-popup.show .exit-popup-content {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #aaa;
    padding: 5px;
}

.exit-popup-close:hover {
    color: #555;
}

.exit-popup h3 {
    color: var(--azul-escuro);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.exit-popup p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.exit-popup-button {
    display: inline-block;
    background-color: var(--verde);
    color: white !important;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.exit-popup-button:hover, .exit-popup-button:focus {
    background-color: var(--verde-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white !important;
}


/* Responsividade */
@media (max-width: 992px) { /* Ajustes para tablets */
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Hero Section em Tablet (Formulário em coluna) */
    .hero {
        padding: 3rem 0; /* Ajuste o padding geral do hero */
        min-height: auto; /* Deixa a altura se ajustar ao conteúdo */
    }
    .hero .hero-container-flex {
        flex-direction: column; /* Em tablets, os blocos ficam em coluna */
        gap: 40px; /* Espaço entre os blocos */
    }
    .hero-left-content, .hero-registration-form-wrapper {
        flex: 1 1 100%; /* Ocupam a largura total */
        max-width: 100%; /* Remove a largura máxima para se ajustarem */
    }
    .hero-left-content {
        padding-top: 0; /* Remove o padding que estava para alinhamento */
    }
    .main-title {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .logo {
        max-width: 180px;
    }
    .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* MENU HAMBÚRGUER E LISTA */
    .main-nav {
        justify-content: space-between;
        padding: 15px 20px;
        align-items: center;
    }

    .main-nav .container {
        justify-content: space-between;
        align-items: center;
        flex-grow: 1;
    }

    .main-nav .nav-list {
        flex-direction: column;
        background-color: var(--azul-escuro);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 60px 20px 20px 20px;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
        overflow-y: auto;
    }

    .main-nav.nav-open .nav-list {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        z-index: 101;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .main-nav.nav-open .nav-overlay {
        display: block;
    }


    .main-nav .nav-list li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /* Espaçamento entre itens */
    }

    .main-nav .nav-list li:last-child {
        margin-bottom: 0;
    }

    .main-nav .nav-list li a {
        display: block;
        padding: 10px 15px;
        font-size: 1.1rem;
    }

    .main-nav .nav-list li a.nav-cta-btn {
        margin-top: 15px;
        padding: 12px 25px;
        font-size: 1.1rem;
    }


    .main-title {
        font-size: 2.6rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }

    .benefits-grid,
    .courses-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
        margin-top: 0;
    }
    
    .registration-form {
        padding: 2rem 1.5rem;
    }
    
    .logo {
        max-width: 160px;
    }

    .modal-content {
        margin: 15% auto;
        padding: 2rem 1.5rem;
    }

    .confirmation-message h3 {
        font-size: 1.6rem;
    }
    .confirmation-message p {
        font-size: 1rem;
    }

    .exit-popup-content {
        padding: 2rem 1.5rem;
    }
     .exit-popup h3 {
        font-size: 1.5rem;
    }
    .exit-popup p {
        font-size: 1rem;
    }

    /* Hero Section em Mobile */
    .hero {
        padding: 2rem 0 3rem 0;
        min-height: auto;
    }
    .main-title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .proof-social {
        margin-top: 2rem;
        font-size: 1rem;
    }
    .proof-social strong {
        font-size: 1.2rem;
    }
    .cta-button {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 3.5rem 0;
    }

    section {
        padding: 3rem 0;
    }
    
    .cta-button, .submit-button, .exit-popup-button, #close-confirmation {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .counter {
        font-size: 3.5rem;
    }
    
    .logo {
        max-width: 140px;
    }

    .course-card h3 {
        font-size: 1.4rem;
    }
    .course-card ul {
        font-size: 0.9rem;
    }

    .form-group input, .form-group select {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    .social-proof-popup {
        max-width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }

    /* FAQ em mobile */
    .faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .faq-item-content {
        padding: 0 15px 15px 15px;
    }
}