/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-light: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-primary: #7c3aed;
    --accent-secondary: #0891b2;
    --accent-green: #16a34a;
    --accent-yellow: #ca8a04;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    --gradient-cta: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
    --shadow-glow: 0 10px 40px rgba(124, 58, 237, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* --- UTILITIES --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }

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

/* Visível apenas para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.highlight {
    color: var(--accent-secondary);
}

.highlight-green {
    color: var(--accent-green);
}

.highlight-yellow {
    color: var(--accent-yellow);
    background: linear-gradient(180deg, transparent 60%, rgba(250, 204, 21, 0.3) 60%);
    padding: 0 4px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.6); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA BUTTON --- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.2rem 3rem;
    background: var(--gradient-cta);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    font-family: inherit; /* <button> não herda a fonte por padrão */
    cursor: pointer;
    transition: var(--transition);
    animation: glow 2s infinite;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

.cta-btn i {
    font-size: 1.3rem;
}

.cta-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: none;
}

.cta-btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0 1rem;
    background: linear-gradient(180deg, #050508 0%, #0f0f1a 50%, #1a1a2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-title span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video {
    margin: 3rem auto;
    max-width: 700px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-video img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-bottom: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- MODULES SECTION --- */
.modules {
    background: #ffffff;
    position: relative;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.module-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.module-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.module-icon i {
    display: block;
}

.module-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.module-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- BONUS SECTION --- */
.bonus {
    background: #f1f5f9;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bonus-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px dashed rgba(124, 58, 237, 0.3);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.02);
}

.bonus-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    display: block;
}

.bonus-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bonus-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-secondary);
}

.bonus-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- MID CTA SECTION --- */
.mid-cta {
    background: linear-gradient(180deg, #050508 0%, #0f0f1a 100%);
    padding: 2.5rem 0;
}

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

.mid-cta-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
}

.mid-cta-text .price-old {
    text-decoration: line-through;
    opacity: 0.7;
}

.mid-cta-text .price-new {
    font-weight: 800;
    font-size: 1.8rem;
    color: #facc15;
}

.mid-cta .cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- INSTRUCTOR SECTION --- */
.instructor {
    background: #f1f5f9;
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
}

.instructor-image {
    width: 100%;
    border-radius: 16px;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    order: 2;
}

.instructor-text h3 {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.instructor-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.instructor-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Garantia dentro do Instructor */
.instructor-guarantee {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid var(--accent-green);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.instructor-guarantee .guarantee-intro {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.instructor-guarantee .guarantee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
}

.instructor-guarantee .guarantee-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

.instructor-guarantee .guarantee-text h3 {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-guarantee .guarantee-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}

.instructor-guarantee .guarantee-text p:last-child {
    margin-bottom: 0;
}

/* --- PRICING SECTION --- */
.pricing {
    background: linear-gradient(180deg, #f1f5f9 0%, #e0e7ff 100%);
    text-align: center;
}

.pricing-box {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: 'OFERTA ESPECIAL';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-green);
    color: #fff;
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-original {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.pricing-current {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.pricing-current span {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-installments {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.pricing-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-secure i {
    color: var(--accent-green);
}

/* --- FAQ SECTION --- */
.faq {
    background: #f1f5f9;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.faq-question {
    /* é um <button>: zera o visual padrão do navegador */
    width: 100%;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    text-align: left;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-secondary);
}

.faq-question:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: -3px;
    border-radius: 12px;
}

.faq-question i {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    /* fechado = fora do Tab e do leitor de tela; o atraso deixa a animação terminar */
    visibility: hidden;
    transition: max-height 0.3s ease-out, visibility 0s linear 0.3s;
}

.faq-item.open .faq-answer {
    visibility: visible;
    transition: max-height 0.3s ease-out, visibility 0s linear 0s;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* --- FINAL CTA SECTION --- */
.final-cta {
    background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
    background: #1e293b;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #334155;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin-bottom: 1rem;
}

.footer-links a,
.footer-link-btn {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-link-btn:hover {
    color: var(--accent-primary);
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.footer-links i {
    vertical-align: -2px;
}

.footer-legal {
    font-style: normal;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: underline;
}

.copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* --- SOCIAL PROOF SECTION --- */
.social-proof {
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    padding: 3rem 0;
    text-align: center;
}

.social-proof-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.social-proof-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-proof-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    /* auto-fit: aceita qualquer quantidade de depoimentos sem media query;
       o min() evita estouro em telas menores que 300px */
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Foto da entrega do certificado: quadrada, recortada um pouco acima do centro
   para pegar os rostos e o certificado. */
.testimonial-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 35%;
    background: var(--bg-card-light);
}

.testimonial-body {
    padding: 1.75rem;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.testimonial-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

/* --- LEAD POPUP --- */
.lead-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    /* com 5 campos + consentimento o card fica alto: permite rolar em telas baixas */
    overflow-y: auto;
    padding: 1.5rem 0;
}

.lead-popup-overlay.active {
    display: flex;
}

.lead-popup {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
    margin: auto;
}

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

.lead-popup-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

.lead-popup-close:hover {
    color: var(--text-main);
    transform: scale(1.1);
}

.lead-popup h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-main);
}

.lead-popup > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: #fff;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input.invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-error {
    display: none;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #dc2626;
    line-height: 1.4;
}

.form-error.visible {
    display: block;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.form-consent input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.form-consent a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.form-status {
    display: block;
    margin-top: 0.9rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 1.2em;
}

.form-status.error {
    color: #dc2626;
}

#leadSubmit[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* O navegador só esconde [hidden] se nenhuma regra definir display.
   Como .promo-deadline e .cookie-banner definem, reforça aqui. */
[hidden] {
    display: none !important;
}

/* --- PRAZO DA PROMOÇÃO --- */
.promo-deadline {
    display: inline-block;
    margin: 0.25rem 0 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.08);
    font-variant-numeric: tabular-nums; /* os números não "pulam" a cada segundo */
}

.mid-cta .promo-deadline {
    margin: 0.75rem 0 0;
    color: #facc15;
    background: #27210f; /* amarelo a 12% sobre o fundo escuro da faixa, em cor opaca */
}

/* --- INSTAGRAM NA SEÇÃO DO PROFESSOR --- */
.instructor-social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.instructor-social:hover {
    color: var(--accent-secondary);
}

.instructor-social i {
    font-size: 1.3rem;
}

/* --- BANNER DE COOKIES --- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9000; /* abaixo do popup de lead (9999) */
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #c4b5fd;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Recusar e Aceitar com o mesmo tamanho: recusar tem que ser tão fácil quanto aceitar */
.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn--primary {
    background: var(--accent-green);
    color: #fff;
}

.cookie-btn--primary:hover {
    background: #15803d;
}

.cookie-btn--secondary {
    background: transparent;
    color: #e2e8f0;
    border-color: #475569;
}

.cookie-btn--secondary:hover {
    border-color: #94a3b8;
}

.cookie-btn:focus-visible {
    outline: 3px solid #c4b5fd;
    outline-offset: 2px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .instructor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .instructor-image {
        max-width: 250px;
        margin: 0 auto;
        /* no desktop o order: 2 joga a foto para a direita; empilhado, isso a
           mandava para depois de toda a biografia. Aqui ela vem primeiro. */
        order: -1;
    }

    .pricing-current {
        font-size: 3rem;
    }

    .social-proof-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
    }

    .mid-cta-content {
        flex-direction: column;
        text-align: center;
    }

    /* A imagem do selo tem flex-shrink: 0, então em telas estreitas ela empurrava
       o texto da garantia para fora da tela. Empilhado, cada um usa a largura toda. */
    .instructor-guarantee .guarantee-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .instructor-guarantee .guarantee-img {
        width: 140px;
        height: 140px;
    }

    .instructor-guarantee .guarantee-intro {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-btn {
        width: 100%;
        padding: 1rem 2rem;
    }

    /* "QUERO COMEÇAR AGORA!" não cabe em uma linha num celular de 360px */
    .mid-cta .cta-btn {
        white-space: normal;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions .cookie-btn {
        flex: 1;
    }

    /* Os dois selos lado a lado não cabem: com 4rem de gap, "Compra segura"
       era cortado. Quebra em duas linhas quando não couber. */
    .hero-trust-badges {
        flex-wrap: wrap;
        gap: 1.25rem 2rem;
        margin-top: 2.5rem;
    }

    .trust-item {
        gap: 0.6rem;
    }

    .trust-item img {
        width: 40px;
        height: 40px;
    }

    .trust-item span {
        font-size: 0.95rem;
    }

    .instructor-guarantee {
        padding: 1.5rem;
    }

    .pricing-box {
        padding: 2rem 1.5rem;
    }

    .guarantee-box {
        padding: 2rem 1.5rem;
    }

    .lead-popup {
        padding: 2rem 1.5rem;
    }

    .social-proof-number {
        font-size: 2rem;
    }

    .social-proof-text {
        font-size: 1rem;
    }
}
