/*
 * Blueprint: O BLUEPRINT DA DOMINÂNCIA V6.4
 * Artefato: style.css (v6.4)
 * Arquiteta: Dra. Anya Petrova
 * Execução: Modificação de layout para dominância visual em desktop.
 * Filosofia: A erradicação de falhas é o passo final para a dominação.
*/

/* SEÇÃO 0: FUNDAÇÕES E A NOVA LEI DAS CORES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Paleta de Cores: Dark Tecnológico Premium (V6.0) */
    --color-background: #0A192F;         /* Azul marinho profundo, o vácuo digital */
    --color-surface: #112240;            /* Azul para contraste sutil */
    --color-action: #64FFDA;             /* Ciano/Verde elétrico para CTAs */
    --color-text-primary: #CCD6F6;       /* Branco-azulado suave para leitura */
    --color-text-secondary: #8892B0;     /* Cinza-azulado para apoio */
    --shadow-glow-action: 0 0 15px rgba(100, 255, 218, 0.4);
    --shadow-soft: 0 10px 30px -15px rgba(2, 12, 27, 0.7);

    /* Tipografia (Mantida, para clareza máxima) */
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Layout */
    --spacing-unit: 8px;
    --container-width: 1425px;
    --border-radius: 8px;
    --transition-speed: 0.4s; /* Ajustado para a nova animação do carrossel */
}

/* SEÇÃO 1: RESET E ESTILOS DE BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--font-size-base); }
body {
    font-family: var(--font-family-sans);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--color-text-primary); }
p { color: var(--color-text-secondary); margin-bottom: calc(var(--spacing-unit) * 2); }
a { color: var(--color-action); text-decoration: none; font-weight: 500; transition: color var(--transition-speed) ease; }
a:hover { color: var(--color-text-primary); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* SEÇÃO 2: COMPONENTES GLOBAIS E ANIMAÇÕES DE BASE */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-top: calc(var(--spacing-unit) * 10);
    padding-bottom: calc(var(--spacing-unit) * 10);
}
.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
}
.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 6);
    color: var(--color-text-secondary);
}
.cta-button, .cta-button-plan {
    display: inline-block;
    background-color: var(--color-action);
    color: #0A192F; /* Texto escuro para contraste máximo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-action);
    transition: all var(--transition-speed) ease-in-out;
    cursor: pointer;
}
.cta-button:hover, .cta-button-plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-action);
    background-color: transparent;
    color: var(--color-action);
}
.cta-button {
    font-size: 1.1rem;
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius);
}
/* Classes para animações de scroll */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
}
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* SEÇÃO 3: A ARQUITETURA DA CONVERSÃO (SEÇÃO POR SEÇÃO) */

/* HERO: O PORTAL */
.section-hero {
    position: relative;
    height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.5));
}
.hero-content { position: relative; z-index: 3; padding: calc(var(--spacing-unit) * 2); }
.hero-headline {
    color: var(--color-text-primary);
    font-size: 2.8rem;
    letter-spacing: -1px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}
.hero-subheadline {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto calc(var(--spacing-unit) * 4) auto;
}

/* DOR: O ECO DA FRUSTRAÇÃO */
.section-dor { background-color: var(--color-surface); }
.pain-checklist { max-width: 650px; margin: 0 auto; display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 2); }
.pain-item {
    font-size: 1.1rem;
    text-align: left;
    color: var(--color-text-secondary);
    padding-left: calc(var(--spacing-unit) * 5);
    position: relative;
}
.pain-item::before {
    content: '×';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-action);
    border: 1px solid var(--color-action);
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}

/* SOLUÇÃO: A REVELAÇÃO DA CHAVE */
.section-solucao { background-color: var(--color-background); }
.steps-list { display: grid; gap: calc(var(--spacing-unit) * 5); }
.step { text-align: center; }
.step-icon {
    width: 60px; height: 60px;
    margin: 0 auto calc(var(--spacing-unit) * 2) auto;
    border: 2px solid var(--color-action);
    border-radius: 50%;
    animation: pulse-icon 2s infinite ease-in-out;
}
@keyframes pulse-icon {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(100, 255, 218, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}
.step strong { display: block; font-size: 1.1rem; color: var(--color-text-primary); margin-top: var(--spacing-unit); }

/* OFERTA: A ARQUITETURA DA ESCOLHA */
.section-oferta { background-color: var(--color-surface); }
.pricing-table { display: grid; grid-template-columns: 1fr; gap: calc(var(--spacing-unit) * 4); align-items: stretch; }
.plan {
    background-color: var(--color-background);
    border: 1px solid var(--color-surface);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 4);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}
.plan:hover { transform: translateY(-8px); border-color: var(--color-action); }
.plan-title { font-size: 1rem; font-weight: 600; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: var(--spacing-unit); }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--spacing-unit); }
.plan-value { font-size: 0.9rem; color: var(--color-text-secondary); margin-top: 0; margin-bottom: calc(var(--spacing-unit) * 3); min-height: 20px; }
.plan > *:last-child { margin-top: auto; }
.plan--recommended {
    position: relative;
    border: 2px solid var(--color-action);
}
.plan__badge {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-action);
    color: #0A192F;
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.cta-button-plan {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.75);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* PROVA REAL: O ARSENAL DA VERDADE (DIRETIVA v6.3) */
.section-prova { 
    background-color: var(--color-background); 
    overflow: hidden;
}

/* Mobile-First: Pilha vertical */
.proof-carousel {
    --swiper-navigation-color: var(--color-action);
    --swiper-navigation-size: 30px;
}
.proof-carousel .swiper-wrapper {
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
}
.proof-carousel .proof-item img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* Desktop: Otimização de Impacto Visual (Regras substituídas) */
@media(min-width: 768px) {
    .proof-carousel {
        padding: calc(var(--spacing-unit) * 4) 0;
        overflow: visible;
    }
    .proof-carousel .swiper-wrapper {
        display: flex;
        align-items: center;
    }
    .proof-carousel .swiper-slide {
        transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
        transform: scale(0.7); /* Reduz o tamanho dos slides laterais */
        opacity: 0.4;
        filter: blur(3px);
        cursor: pointer;
    }
    .proof-carousel .swiper-slide-active {
        transform: scale(1.05); /* Garante que o slide ativo seja imponente e ligeiramente maior */
        opacity: 1;
        filter: blur(0px);
        z-index: 10;
    }
    .swiper-button-next, .swiper-button-prev {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-action); /* Garante a cor correta */
    }
    .swiper-button-prev { left: -25px; } /* Afasta um pouco mais */
    .swiper-button-next { right: -25px; } /* Afasta um pouco mais */
}

/* Diretiva para Ocultar Setas no Mobile (Falha Erradicada) */
@media (max-width: 767px) {
  .section-prova .swiper-button-next,
  .section-prova .swiper-button-prev {
    display: none !important;
  }
}

/* GARANTIA DE CONFIANÇA: O SELO DE PODER */
.section-garantia {
    background-color: var(--color-surface);
    text-align: center;
}
.guarantee-icon-container {
    width: 80px; height: 80px; margin: 0 auto calc(var(--spacing-unit) * 3) auto;
    display: flex; align-items: center; justify-content: center;
    animation: pulse-shield 3s infinite;
}
.guarantee-icon-container svg {
    width: 100%; height: 100%;
    color: var(--color-action);
}
@keyframes pulse-shield {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--color-action)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px var(--color-action)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--color-action)); }
}
.section-garantia p { color: var(--color-text-secondary); max-width: 700px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
    font-size: 0.9rem;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-background);
    color: var(--color-text-secondary);
}

/* MODAL: A Janela da Transação */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(10, 25, 47, 0.7); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: var(--spacing-unit); }
.modal-box { background-color: var(--color-surface); padding: calc(var(--spacing-unit) * 3); border-radius: var(--border-radius); width: 100%; max-width: 400px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); position: relative; border: 1px solid var(--color-action); }
.modal-close { position: absolute; top: var(--spacing-unit); right: calc(var(--spacing-unit) * 2); background: none; border: none; font-size: 1.8rem; color: var(--color-text-secondary); cursor: pointer; }
.modal-title { text-align: center; margin-bottom: calc(var(--spacing-unit) * 3); font-size: 1.25rem; color: var(--color-text-primary); }
.email-label { display: block; margin-bottom: var(--spacing-unit); font-size: 0.9rem; font-weight: 500; text-align: center; color: var(--color-text-primary); }
.email-input { width: 100%; background-color: var(--color-background); border: 1px solid var(--color-surface); border-radius: var(--border-radius); padding: calc(var(--spacing-unit) * 1.5); font-size: 1rem; margin-bottom: calc(var(--spacing-unit) * 2); color: var(--color-text-primary); }
.email-input:focus { outline: none; border-color: var(--color-action); box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.25); }
.cta-button-modal { width: 100%; padding: calc(var(--spacing-unit) * 1.5); border-radius: var(--border-radius); font-size: 1rem; }
.pix-qrcode { border-radius: var(--border-radius); margin: calc(var(--spacing-unit) * 2) auto; width: 100%; max-width: 250px; background: white; padding: 10px; }
.pix-copia-cola { display: flex; margin-top: var(--spacing-unit); }
#pix-code-input { flex-grow: 1; background-color: var(--color-background); border: 1px solid var(--color-surface); padding: calc(var(--spacing-unit) * 1.25); color: var(--color-text-secondary); border-radius: var(--border-radius) 0 0 var(--border-radius); font-size: 0.9rem; font-family: monospace; border-right: none; }
#copy-pix-button { background-color: var(--color-action); color: #0A192F; border: 1px solid var(--color-action); padding: 0 calc(var(--spacing-unit) * 2); border-radius: 0 var(--border-radius) var(--border-radius) 0; cursor: pointer; font-weight: 600; }
.modal-footer { font-size: 0.8rem; text-align: center; margin-top: calc(var(--spacing-unit) * 3); color: var(--color-text-secondary); }
.loader { text-align: center; padding: calc(var(--spacing-unit) * 4); color: var(--color-action); }
body.modal-open { overflow: hidden; }

/* SEÇÃO 4: O TRONO MÓVEL (MEDIA QUERIES) */
@media(min-width: 768px) {
    .section-title { font-size: 2.75rem; }
    .hero-headline { font-size: 4rem; }
    .hero-subheadline { font-size: 1.25rem; }
    .steps-list { grid-template-columns: repeat(3, 1fr); }
    .pricing-table { grid-template-columns: repeat(3, 1fr); }
}