/* --- Global Variables and Resets --- */
:root {
    --bg-dark: #000000;
    --bg-dark-accent: #0d1b28;
    --bg-light: #ffffff;
    --bg-off-white: #dedede;
    --bg-testimonials: #f2e8bc;
    
    --text-light: #ffffff;
    --text-dark: #000000;
    --text-gray: #696969;

    --color-primary: #f0ce3c; /* Amarelo/Dourado */
    --color-cta: #00bf63; /* Verde do botão */
    --color-cta-hover: #00a656;
    --color-cta-secondary: #95cc00; /* Verde/Amarelado do segundo botão */
    --color-cta-secondary-hover: #82b300;
    
    /* CORREÇÃO FINAL DE CONTRASTE: Vermelho escurecido para #990000. 
       Garante 4.5:1 sobre o fundo #dedede, corrigindo .price-old, .highlight-red, e .benefits-section. */
    --color-red-accessible: #990000;
    --color-price-old: var(--color-red-accessible); /* Garante que preço antigo use a cor acessível */

    --font-main: 'Exo 2', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
p  { font-size: 1.1rem; line-height: 1.6; }

.highlight {
    color: var(--color-primary);
}
.highlight-red {
    /* CORREÇÃO DE CONTRASTE: Usando a variável que agora tem a cor #990000 */
    color: var(--color-red-accessible);
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: #008C45;
    color: #FFFFFF;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    padding: 15px 30px;
    border-radius: 10px;
    border-bottom: 4px solid #006a37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease; will-change: transform;
    animation: pulse 2s infinite ease-in-out;
}

.cta-button:hover {
    background-color: #00763A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    animation-play-state: paused;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* --- Section Styling --- */

/* Hero Section */
.hero-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* Offer Section */
.offer-section {
    background: var(--bg-dark);
    padding: 40px 0;
}
.offer-card {
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.offer-image img {
    border-radius: 15px;
}
.offer-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
}
.pricing-box {
    text-align: center;
}
.price-old {
    font-size: 1.5rem;
    /* CORREÇÃO DE CONTRASTE: Usando a variável que agora tem a cor #990000 */
    color: var(--color-red-accessible);
}
.price-new {
    font-size: 2.5rem;
    color: #006400; /* Contraste 8.7:1 (OK) */
    font-weight: 800;
}
.payment-methods img {
    max-width: 280px;
    margin-top: 15px;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--bg-off-white);
    padding: 50px 0;
    text-align: center;
}
.benefits-section .container > * {
    margin-bottom: 30px;
}
.benefits-gif { /* Classe mantida para a nova imagem */
    max-width: 640px;
    margin: 0 auto;
    border-radius: 15px;
}
.features-list {
    list-style: none;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 2;
}
.lifetime-access-info {
    text-align: left;
    max-width: 700px;
    margin: 30px auto 0;
}
.lifetime-access-info h4 {
    margin-bottom: 15px;
}
.lifetime-access-info p {
    margin-bottom: 10px;
}


/* Demo Section */
.demo-section {
    padding: 50px 0;
    text-align: center;
}
.demo-section h2, .demo-section p {
    margin-bottom: 20px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Compatibility Section */
.compatibility-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}
.compatibility-section h2 {
    margin-bottom: 40px;
}
.devices {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.device-card {
    background-color: var(--bg-light);
    box-shadow: 0 10px 32px 0 rgba(103,101,101,.25);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 300px;
}
.device-card img {
    width: 80px;
}


/* Vocal Unlock Section */
.vocal-unlock-section {
    padding: 50px 0;
}
.vocal-unlock-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.vocal-unlock-text {
    max-width: 800px;
    text-align: center;
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}
.final-cta-section .cta-button {
    background-color: var(--color-cta-secondary);
    /* CORREÇÃO DE CONTRASTE: Trocado para texto preto (12.9:1) */
    color: var(--text-dark); 
}
.final-cta-section .cta-button:hover {
    background-color: var(--color-cta-secondary-hover);
}
.final-cta-section .price-new {
    /* CORREÇÃO DE CONTRASTE: Trocado para texto branco (18.2:1) */
    color: var(--text-light); 
}
.promo-badge {
    display: inline-block;
    background-color: #CC0000;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}
.final-cta-section > .container > * {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--bg-testimonials);
    text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.testimonials-section h2 {
    margin-bottom: 40px;
}
.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.testimonials-grid img {
    width: 290px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Guarantee Section */
.guarantee-section {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
    padding: 50px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.guarantee-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.guarantee-image {
    flex-basis: 340px;
    flex-shrink: 0;
}
.guarantee-text {
    flex-basis: 500px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.faq-section .container {
    max-width: 800px;
    text-align: center;
}
.faq-icon {
    width: 100px;
    margin: 0 auto 20px;
}
.faq-subtitle {
    margin-top: 15px;
    margin-bottom: 30px;
    color: var(--text-gray);
}
.faq-accordion details {
    background: #f7f8fa;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-accordion summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-accordion summary::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.faq-accordion details[open] summary {
    color: var(--color-cta-secondary);
}
.faq-accordion details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-accordion details p {
    padding: 0 20px 20px;
    text-align: left;
    color: var(--text-gray);
    font-size: 1rem;
}

/* Footer */
.footer-final-cta {
    background-color: var(--bg-dark-accent);
    padding: 40px 0;
    text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.footer-final-cta .cta-button {
    background-color: var(--color-cta-secondary);
    /* CORREÇÃO DE CONTRASTE: Trocado para texto preto (12.9:1) */
    color: var(--text-dark); 
}
.footer-final-cta .cta-button:hover {
    background-color: var(--color-cta-secondary-hover);
}
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
    font-weight: 500;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* Ajustes Gerais */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
    .container { padding: 0 15px; }

    /* Botão Principal */
    .cta-button {
        font-size: 1.4rem;
        padding: 15px 25px;
    }

    /* Seções Específicas */
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .offer-card { 
        padding: 20px 15px; 
    }
    
    .offer-subtitle {
        font-size: 1.1rem;
    }

    .price-new {
        font-size: 2rem;
    }
    
    /* IMAGEM CORRIGIDA AQUI */
    .benefits-gif {
        width: 100%; /* Garante que a imagem ocupe a largura disponível */
        max-width: 100%; /* Remove qualquer limite fixo */
    }

    .features-list {
        font-size: 1rem;
        padding-left: 10px; /* Reduz o recuo da lista */
    }
    
    .devices {
        flex-direction: column; /* Empilha os cards */
        align-items: center;
        gap: 25px;
    }
    .device-card {
        width: 90%; /* Ocupa a maior parte da largura */
    }
    
    .testimonials-grid img {
        width: 100%; /* Cada depoimento ocupa a largura total */
        max-width: 320px; /* Limita um pouco em telas um pouco maiores */
    }

    .guarantee-section .container {
        flex-direction: column;
        text-align: center;
    }
    .guarantee-image {
        max-width: 280px; /* Reduz o selo da garantia */
    }

    .faq-accordion summary {
        font-size: 1rem;
        padding: 15px;
    }
    .faq-accordion details p {
        font-size: 0.95rem;
    }
}
/* --- Estilos da Notificação de Prova Social --- */
#social-proof-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #2c3e50; /* Cor escura e neutra */
    color: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
    
    /* Animação */
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: transform .5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity .5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#social-proof-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    width: 24px;
    height: 24px;
}

#toast-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    #social-proof-toast {
        left: 50%;
        bottom: 15px;
        width: 90%;
        max-width: 350px;
        /* Centraliza o elemento com base na nova posição */
        transform: translate(-50%, 150%); 
    }
    #social-proof-toast.show {
        transform: translate(-50%, 0);
    }
}

.cta-button:focus {
    background-color: #00763A;
}

/* Performance: respeita usuários que preferem menos movimento (não altera design de default) */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
