/* ======================= ESTILOS GERAIS E VARIÁVEIS ======================= */
:root {
    --black: #000000;
    --green: #A3E044;
    /* Tom aproximado do logo, ajuste se necessário */
    --white: #FFFFFF;

    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-main);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

/* ======================= HEADER (LOGO) ======================= */
.header {
    padding: 20px 0;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.header .logo img {
    width: 150px;
    /* Ajuste o tamanho do logo conforme necessário */
}

/* ======================= SEÇÃO 1: ESTILOS DO HERÓI ======================= */

/* --- Estilos Mobile (Mobile First) --- */
.hero {
    /* NOVA REGRA DE FUNDO COM IMAGEM + SOBREPOSIÇÃO ESCURA */
    /* A primeira camada é o gradiente (overlay), a segunda é a imagem. */
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
        url('./assets/imagem-academia-banner.png');
    /* <-- TROQUE O CAMINHO DA IMAGEM AQUI */

    /* Propriedades para controlar a imagem de fundo */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* O resto do layout continua o mesmo */
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 40px;
}

.hero-text h1 {
    font-size: 2.2rem;
    /* 35px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-cta {
    background-color: var(--green);
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Efeito visual moderno no botão para o gatilho mental */
.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(163, 224, 68, 0.3);
}

/* ======================= SEÇÃO EXTRA: BARRA DE ESCASSEZ ======================= */

/* CÓDIGO CORRIGIDO PARA MOBILE */
.scarcity-bar {
    padding: 20px 0 40px 0;
    /* Adicionado padding em cima para mais respiro */
    margin-top: 0;
    /* Removida a margem negativa */
    position: relative;
    z-index: 5;
}

.scarcity-card {
    background: linear-gradient(145deg, #1f1f1f, #111111);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

.scarcity-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scarcity-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -10px;
}

.slots-indicator {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}

.slot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.slot.filled {
    background-color: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 10px rgba(163, 224, 68, 0.7);
}

.slots-remaining {
    font-size: 0.95rem;
    font-weight: 600;
}

.slots-remaining span {
    color: var(--green);
}

.visitors-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.visitors-count span:first-child {
    color: var(--green);
    font-size: 1rem;
    line-height: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* ======================= SEÇÃO 2: ESTILOS DA CONEXÃO ======================= */

/* --- Estilos Mobile (Mobile First) --- */
.connection {
    padding: 80px 0;
    background-color: #050505;
    /* Um preto um pouco diferente para criar contraste */
    position: relative;
    overflow: hidden;
    /* Garante que a transição diagonal não crie scrollbar */
}

/* Efeito futurista de transição diagonal */
.connection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: var(--black);
    /* Cor da seção anterior (Herói) */
    transform: skewY(-3deg);
    /* A mágica da inclinação */
    transform-origin: top left;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--white);
}

.section-title::after {
    /* Detalhe verde abaixo do título */
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto 0;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    /* Uma coluna no mobile */
}

.card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    /* Gradiente sutil para o card */
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Animação de entrada */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease forwards;
}

/* Atraso na animação de cada card para um efeito cascata */
.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card:nth-child(4) {
    animation-delay: 0.8s;
}

.card-icon {
    margin-bottom: 20px;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Efeito de brilho futurista no hover */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(163, 224, 68, 0.2);
    /* A mágica do 'glow' */
    border-color: rgba(163, 224, 68, 0.5);
}

/* Keyframes para a animação de entrada */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================= ESTILO PARA FRASE DE TRANSIÇÃO (SEÇÃO CONEXÃO) ======================= */
.connection-outro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 50px;
    /* Cria um espaço entre os cards e a frase */
    margin-bottom: 10px;
    max-width: 600px;
    /* Limita a largura da linha para melhor leitura */
    margin-left: auto;
    margin-right: auto;
}



/* ======================= SEÇÃO 3: ESTILOS DA APRESENTAÇÃO ======================= */

/* --- Estilos Mobile (Mobile First) --- */
.about {
    padding: 80px 0;
    overflow: hidden;
    /* Importante para as animações não criarem scroll lateral */
}

.about-image {
    width: 100%;
    /* Ocupa toda a largura disponível no container */
    margin: 0 auto 30px auto;
    /* Centraliza e adiciona espaço abaixo */
    display: flex;
    /* Ativa o flexbox para centralização */
    justify-content: center;
    /* Centraliza a imagem horizontalmente */
    align-items: center;
    /* Centraliza a imagem verticalmente */
}

/* Regra específica para a imagem da logo dentro do container */
.about-image img {
    /* CONTROLE O TAMANHO DA LOGO NO MOBILE AQUI */
    max-width: 250px;

    width: 100%;
    /* Garante que a imagem não ultrapasse o max-width */
    height: auto;
    /* Mantém a proporção da imagem */
}

.about-content {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* Animação */
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 0.8s ease forwards;
    animation-delay: 0.2s;
    /* Um pequeno atraso */
}

.about-content .section-title {
    text-align: left;
    /* Título alinhado à esquerda nesta seção */
    margin-bottom: 25px;
}

.about-content .section-title::after {
    margin: 10px 0 0 0;
    /* Alinha o detalhe verde à esquerda */
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.credentials h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 15px;
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

/* Keyframes para as animações de slide */
@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======================= NOVA SEÇÃO: DIFERENCIAIS ======================= */

.differentiators {
    padding: 80px 0;
    background-color: var(--black);
    /* Continua o fundo escuro */
}

.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Uma coluna no mobile */
    gap: 30px;
    margin-top: 50px;
}

.diff-card {
    background: linear-gradient(145deg, #1f1f1f, #111111);
    border: 2px solid var(--green);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 0 25px rgba(163, 224, 68, 0.15);
    /* Efeito de brilho da borda */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(163, 224, 68, 0.25);
}

.diff-icon {
    color: var(--green);
    margin-bottom: 20px;
}

.diff-icon svg {
    /* Define o tamanho do ícone SVG */
    width: 48px;
    height: 48px;
}

.diff-title {
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.diff-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ======================= NOVA SEÇÃO: QUIZ FITNESS ======================= */

.quiz-section {
    padding: 80px 0;
    background-color: #050505;
}

/* ======================= NOVA SEÇÃO E-BOOK (VERSÃO COMPLETA) ======================= */

.ebook-section {
    padding: 80px 0;
    background-color: #050505;
}

/* --- Bloco Principal: Capa + Descrição --- */
.ebook-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.ebook-cover img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.ebook-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.ebook-description {
    color: rgba(255, 255, 256, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* NOVO BLOCO: Para Quem é */
.ebook-whofor h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.ebook-whofor ul {
    list-style: none;
}

.ebook-whofor li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.ebook-whofor svg {
    width: 16px;
    height: 16px;
    color: var(--green);
}


/* --- Bloco de Conteúdo: Benefícios + Amostra --- */
.ebook-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list svg {
    width: 22px;
    height: 22px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* NOVO BLOCO: Amostra */
.ebook-sample-box {
    background: #111;
    border: 1px solid rgba(163, 224, 68, 0.3);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.ebook-sample-box h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 15px;
}

.ebook-sample-box p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}


/* --- Bloco Final: Caixa de Compra --- */
.ebook-cta-box {
    background-color: #111111;
    border: 2px solid var(--green);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(163, 224, 68, 0.2);
}

.ebook-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.ebook-price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
    margin: 5px 0 0 0;
}

.ebook-price-installment {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.secure-purchase {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
}


.benefits-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list svg {
    width: 22px;
    height: 22px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

.ebook-cta-box {
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.ebook-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.ebook-price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    margin: 5px 0 20px 0;
}

.secure-purchase {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
}

/* --- O Card Principal do Quiz --- */
.quiz-container {
    background: linear-gradient(145deg, #1f1f1f, #111111);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Barra de Progresso --- */
.quiz-progress {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background-color: #333;
    width: 100%;
    z-index: 1;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Será controlado pelo JavaScript */
    background-color: var(--green);
    transition: width 0.4s ease;
}

.step {
    width: 30px;
    height: 30px;
    background-color: #111;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: 600;
    transition: all 0.4s ease;
}

/* Estilos dos estados da barra de progresso */
.step.active {
    border-color: var(--green);
    color: var(--white);
}

.step.completed {
    background-color: var(--green);
    border-color: var(--green);
    color: var(--black);
}

/* --- Perguntas e Respostas --- */
.quiz-step {
    display: none;
    /* Esconde todas as etapas por padrão */
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
    /* Mostra apenas a etapa ativa */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.quiz-answers {
    display: grid;
    grid-template-columns: 1fr;
    /* Uma coluna no mobile */
    gap: 15px;
}

.quiz-answer {
    width: 100%;
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-answer:hover {
    background-color: var(--green);
    color: var(--black);
    border-color: var(--green);
    transform: translateY(-5px);
}

/* --- Tela de Resultado --- */
#quiz-result-screen {
    text-align: center;
}

.result-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.result-title span {
    color: var(--green);
    display: block;
    font-size: 2.2rem;
}

#result-profile-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

#result-cta-button {
    width: auto;
    max-width: 100%;
}


/* ======================= SEÇÃO 4: ESTILOS DA METODOLOGIA (VERSÃO FINAL E RESPONSIVA) ======================= */

.methodology {
    padding: 80px 0;
    background-color: #050505;
    position: relative;
    overflow-x: hidden;
    /* Prevenir scroll horizontal acidental */
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* A linha central vertical */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--black);
    box-shadow: 0 0 15px rgba(163, 224, 68, 0.5);
    top: 0;
    bottom: 0;
    left: 25px;
    z-index: 1;
}

/* O container de cada item da timeline */
.timeline-item {
    padding: 10px 0 30px 60px;
    /* Espaçamento padrão para mobile */
    position: relative;
    z-index: 2;
    /* Garante que o item inteiro fique na frente da linha */

    /* Animação de entrada padrão para mobile */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Animação em cascata */
.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* A bolha com o número */
.timeline-number {
    position: absolute;
    left: 0;
    top: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #111;
    border: 2px solid var(--green);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 3;
}

/* O painel com o texto */
.timeline-content {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ======================= SEÇÃO 5: ESTILOS DA PROVA SOCIAL (APENAS IMAGENS) ======================= */
.testimonials {
    padding: 80px 0;
    background-color: var(--black);
}

.testimonials-slider {
    padding: 20px 0 50px 0;
    /* Espaço extra para a paginação */
}

/* --- Estilos base para todos os cards de imagem --- */
.testimonial-image-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Altura mínima para consistência */
    display: flex;
    flex-direction: column;
    /* Padrão para mobile */
    align-items: center;
    justify-content: center;
}

/* --- Cards com Imagem Única --- */
.single-image-card {
    padding: 0;
    /* A imagem vai preencher tudo */
}

.single-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha sem distorcer */
    transition: transform 0.4s ease;
}

.single-image-card:hover img {
    transform: scale(1.03);
}


/* --- Cards com Imagens Divididas (Antes e Depois) --- */
.split-image-card {
    flex-direction: row;
    /* Para alinhar as imagens lado a lado */
    padding: 0;
}

.half-image {
    width: 50%;
    position: relative;
    /* Para o rótulo "Antes/Depois" */
}

.half-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.half-image:hover img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
}

/* --- Legenda da Imagem (Nome do Aluno) --- */
.image-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    border-radius: 6px;
    width: fit-content;
    white-space: nowrap;
    z-index: 2;
    color: var(--green);
    font-weight: 600;
}

/* --- Estilos para a Paginação do Swiper --- */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--green);
    opacity: 1;
}

/* ======================= CARDS DE DEPOIMENTOS COM VÍDEO ======================= */

/* Estilos para o card que contém os dois vídeos */
.testimonial-video-card {
    background-color: #1a1a1a;
    /* Cor de fundo do card */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Para empurrar a legenda para baixo */
    height: 100%;
    /* Garante que o card ocupe o espaço total do swiper-slide */
}

/* Contêiner para os dois vídeos lado a lado */
.video-pair {
    display: flex;
    gap: 10px;
    /* Espaço entre os vídeos */
    width: 100%;
    margin-bottom: 10px;
    /* Espaço entre os vídeos e a legenda principal */
}

/* Wrapper individual para cada vídeo (antes/depois) */
.video-wrapper {
    flex: 1;
    /* Faz com que cada vídeo ocupe metade do espaço disponível */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    /* Fundo preto para o player */
    border-radius: 8px;
    overflow: hidden;
    /* Garante que o vídeo não saia das bordas */
    position: relative;
    /* Para posicionar o label */
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    /* Remove espaços extras abaixo do vídeo */
    border-radius: 8px;
    /* Arredonda as bordas do vídeo */
}

/* Estilo para a legenda "Antes" / "Depois" */
.video-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 5px;
    z-index: 10;
}

/* A legenda principal do aluno (já deve existir, mas reforçamos) */
.testimonial-video-card .image-caption {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green);
    margin-top: auto;
    /* Empurra a legenda para o final do card */
    padding-top: 5px;
}



/* ======================= ESTILOS ADICIONAIS PARA AS SETAS DO CARROSSEL ======================= */

/* A Swiper usa variáveis CSS para facilitar a customização. Vamos usá-las. */
:root {
    --swiper-navigation-size: 30px;
    /* Tamanho do ícone da seta */
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: rgba(26, 26, 26, 0.8);
    /* Fundo semi-transparente */
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--green);
    /* Cor da seta */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ======================= SEÇÃO 6: ESTILOS DOS PLANOS ======================= */
.plans {
    padding: 80px 0;
    background-color: #050505;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--green);
}

/* Estilo do card em destaque */
.plan-card.featured {
    border-color: var(--green);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: -1px;
    background-color: var(--green);
    color: var(--black);
    padding: 8px 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg) translate(30%, -25%);
    transform-origin: center;
    width: 150px;
}


.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
}

.plan-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    min-height: 50px;
    /* Garante alinhamento */
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1;
    /* Faz a lista crescer para alinhar os botões */
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.plan-features svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
    /* Impede o ícone de encolher */
}

.plan-button {
    width: 100%;
}

.plans-footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.plans-footer a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

/* ======================= SEÇÃO 7: ESTILOS DO FAQ ======================= */
.faq {
    padding: 80px 0;
    background-color: var(--black);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-main);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header .icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-header .icon::before,
.accordion-header .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: var(--green);
    transform: translate(-50%, -50%);
}

.accordion-header .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
    padding: 0 25px 25px 25px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Estilos quando o item está ativo (aberto) */
.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header .icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ======================= SEÇÃO 8: ESTILOS DO CTA FINAL ======================= */
.cta-final {
    background-color: var(--green);
    color: var(--black);
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Estilo invertido para o botão */
.btn-cta.inverted {
    background-color: var(--black);
    color: var(--green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta.inverted:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* ======================= SEÇÃO 9: ESTILOS DO RODAPÉ ======================= */
.footer {
    background-color: #111111;
    padding: 50px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo img {
    width: 180px;
    opacity: 0.8;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--green);
    transform: scale(1.1);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ======================= ANIMAÇÃO DE SCROLL (REVEAL) ======================= */

/*
  ESTADO INICIAL:
  Define como os elementos estarão ANTES de aparecer na tela.
  Eles começarão invisíveis (opacity: 0) e um pouco deslocados para baixo (translateY(30px)).
*/
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* A mágica da suavidade */
}

/*
  ESTADO FINAL:
  Quando o JavaScript adicionar a classe '.visible', o elemento se tornará visível
  e voltará à sua posição original, criando o efeito de "surgimento".
*/
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Refinamento da Responsividade --- */
@media (min-width: 768px) {
    .testimonials {
        padding: 100px 0;
    }

    .testimonial-image-card {
        min-height: 450px;
        /* Um pouco mais alto para desktop */
    }
}

/* --- Ajustes para Telas Maiores (Tablet e Desktop) --- */
@media (min-width: 768px) {
    .header .logo img {
        width: 180px;
    }

    .hero {
        min-height: 100vh;
        /* Ocupa a tela inteira em telas maiores */
        text-align: center;
        /* Centraliza todo o texto */
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Alinha os itens (incluindo o botão) no centro */
    }

    .hero-text h1 {
        font-size: 3.5rem;
        /* 56px */
        max-width: 800px;
    }

    .hero-text p {
        font-size: 1.125rem;
        /* 18px */
        max-width: 600px;
    }
}

/* --- RESPONSIVIDADE SIMPLIFICADA PARA TELAS MAIORES (Layout Mobile Mantido) --- */
@media (min-width: 992px) {
    .scarcity-bar {
        /* Apenas aumenta o espaçamento vertical da seção em telas maiores */
        padding-bottom: 80px;
    }

    .scarcity-card {
        /* Aumenta um pouco a largura máxima do card para não parecer pequeno no desktop */
        max-width: 500px;
        padding: 30px;
        /* Um pouco mais de padding interno para respirar melhor */
    }

    /* Aumenta um pouco as fontes para melhor legibilidade em telas grandes */
    .scarcity-title {
        font-size: 1.2rem;
    }

    .scarcity-subtitle,
    .slots-remaining,
    .visitors-count {
        font-size: 1rem;
    }
}

/* --- Ajustes para Telas Maiores (Tablet e Desktop) --- */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Duas colunas em tablets */
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Quatro colunas em desktops */
    }
}

/* --- Ajustes para Telas Maiores (Desktop) --- */
@media (min-width: 992px) {
    .about-container {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        /* Coluna da imagem menor que a do texto */
        align-items: center;
        gap: 20px;
    }

    .about-image {
        /* No layout de grid do desktop, o container já se posiciona corretamente */
        margin: 0;
        /* Reseta a margem do mobile */
    }

    .about-image img {
        /* CONTROLE O TAMANHO DA LOGO NO DESKTOP AQUI */
        max-width: 300px;
    }

    .about-content {
        padding: 50px;
        transform: translateX(50px);
        /* Animação inicial */

        /* Efeito de sobreposição */
        margin-left: -80px;
        /* Puxa o painel de texto para cima da imagem */
        z-index: 2;
        /* Garante que o texto fique na frente */
        position: relative;
    }
}



/* --- RESPONSIVIDADE DOS DIFERENCIAIS --- */
@media (min-width: 992px) {
    .differentiators-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Três colunas no desktop */
    }
}

/* --- RESPONSIVIDADE DA SEÇÃO --- */
@media (min-width: 992px) {
    .ebook-grid {
        grid-template-columns: 400px 1fr;
        gap: 60px;
    }

    .ebook-content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ebook-title {
        font-size: 2.8rem;
    }
}

/* --- RESPONSIVIDADE DO QUIZ --- */
@media (min-width: 768px) {
    .quiz-container {
        padding: 40px;
    }

    .quiz-question {
        font-size: 1.8rem;
    }

    .quiz-answers {
        /* Duas colunas se o texto couber */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .quiz-answer {
        font-size: 1.1rem;
    }
}

/* --- AJUSTES DE RESPONSIVIDADE PARA TELAS MAIORES --- */
@media (min-width: 768px) {

    /* Centraliza a linha no meio da tela */
    .timeline::after {
        left: 50%;
        margin-left: -2px;
    }

    /* Ajusta o padding e a largura dos itens */
    .timeline-item {
        padding: 10px 40px;
        width: 50%;
        animation: none;
        /* Reseta a animação mobile */
    }

    /* Regras para os itens da ESQUERDA (ímpares) */
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 70px;
        /* Espaço para a linha e o número */

        /* Animação de entrada da esquerda */
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInFromLeft 0.8s ease forwards;
    }

    /* Regras para os itens da DIREITA (pares) */
    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 70px;
        /* Espaço para a linha e o número */

        /* Animação de entrada da direita */
        opacity: 0;
        transform: translateX(50px);
        animation: slideInFromRight 0.8s ease forwards;
    }

    /* --- LÓGICA FINAL PARA POSICIONAR O NÚMERO NO CENTRO --- */
    .timeline-number {
        top: 15px;
    }

    .timeline-item:nth-child(odd) .timeline-number {
        left: 100%;
        margin-left: -25px;
        /* Puxa o número para o centro */
    }

    .timeline-item:nth-child(even) .timeline-number {
        left: 0;
        margin-left: -25px;
        /* Puxa o número para o centro */
    }

    /* --- Setas indicativas nos painéis de conteúdo --- */
    .timeline-content::after {
        content: '';
        position: absolute;
        top: 22px;
        width: 0;
        height: 0;
        border: 10px solid transparent;
    }

    .timeline-item:nth-child(odd) .timeline-content::after {
        right: -20px;
        border-left-color: #1a1a1a;
    }

    .timeline-item:nth-child(even) .timeline-content::after {
        left: -20px;
        border-right-color: #1a1a1a;
    }
}

/* --- RESPONSIVIDADE: SEÇÃO 5 (PROVA SOCIAL) --- */
@media (min-width: 768px) {
    .testimonials {
        padding: 100px 0;
    }

    .testimonial-image-card {
        min-height: 450px;
    }
}

/* --- Ajustes de Responsividade --- */
@media (max-width: 768px) {
    .video-pair {
        flex-direction: column;
        /* Em telas menores, empilha os vídeos */
    }

    .video-wrapper {
        margin-bottom: 5px;
        /* Pequeno espaço entre vídeos empilhados */
    }

    .video-wrapper:last-child {
        margin-bottom: 0;
    }
}

/* Esconde as setas em telas muito pequenas (mobile) para não poluir a tela */
@media (max-width: 767px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* Efeito Hover para desktop */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--green);
    color: var(--black);
}

/* Ajusta a posição da seta "anterior" */
.swiper-button-prev {
    left: 10px;
}

/* Ajusta a posição da seta "próximo" */
.swiper-button-next {
    right: 10px;
}

/* Responsividade */
@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Ajuste para telas maiores */
@media (min-width: 768px) {
    .connection-outro {
        font-size: 1.4rem;
    }
}