:root {
    --red: #C50F12;
    --red-dark: #B00710;
    --red-accent: #FF1F1F;
    --black: #0A0A0A;
    --gray-1: #1A1A1A;
    --gray-2: #2A2A2A;
    --white: #FFFFFF;
    --muted: rgba(255, 255, 255, 0.72);
    --green: #1DB954;
    --green-dark: #169943;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --ease: 250ms ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    line-height: 1.5;
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(10,10,10,.95) 0%, rgba(26,0,0,.9) 100%),
        url('assets/fundo.webp') center top / cover no-repeat;
    background-color: var(--black);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); /* espaço da barra fixa */
}
body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(229,9,20,.03) 2px, rgba(229,9,20,.03) 4px);
}
body.modal-open { overflow: hidden; }
main, .site-header, .site-footer { position: relative; z-index: 1; }

:focus-visible { outline: 3px solid var(--red-accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- HEADER ---------- */
.site-header {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem;
}
.logo { width: min(200px, 45vw); height: auto; filter: brightness(0) invert(1) contrast(1.2); display: block; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    background: transparent; color: var(--white); cursor: pointer;
    border: 2px solid rgba(197,15,18,.8); border-radius: var(--r-md);
    padding: .55rem .9rem; font: 600 .85rem 'Montserrat', sans-serif; white-space: nowrap;
    transition: background var(--ease);
}
.btn-ghost svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost:hover { background: rgba(197,15,18,.25); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
    min-height: 60px; padding: 1rem 1.5rem; border: none; border-radius: var(--r-lg);
    font: 700 clamp(1rem, 3.5vw, 1.1rem) 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .5px;
    color: var(--white); text-decoration: none; cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    transition: transform var(--ease), filter var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border: 2px solid rgba(255,255,255,.2); }
.btn-red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); border: 2px solid rgba(255,255,255,.15); }
.btn-dark { background: var(--gray-2); border: 2px solid rgba(255,255,255,.12); font-size: .9rem; min-height: 52px; }
.btn-wide { width: 100%; }
.btn-icon { width: 44px; height: 44px; fill: currentColor; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-line2 { font-size: .8em; font-weight: 600; }
.btn-link {
    display: block; margin: 1rem auto 0; background: none; border: none; cursor: pointer;
    color: var(--muted); font: 600 1rem 'Rajdhani', sans-serif; text-decoration: underline;
}

/* ---------- HERO ---------- */
.hero {
    max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem;
    display: grid; gap: 2rem; align-items: center;
}
.hero-title {
    font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 700; line-height: 1.05;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5); max-width: 18ch;
}
.hero-sub { font-size: clamp(1.15rem, 3.5vw, 1.4rem); font-weight: 600; color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; align-items: stretch; }
.hero-actions .btn { width: 100%; min-height: 80px; }
.link-plans { white-space: nowrap; color: var(--white); font-weight: 700; font-size: 1.1rem; text-align: center; text-underline-offset: 4px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-proof li {
    background: rgba(40,40,40,.9); border-left: 4px solid var(--red); border-radius: var(--r-sm);
    padding: .45rem .8rem; font-weight: 700; font-size: .95rem;
}
.hero > * { min-width: 0; }
.hero-media { position: relative; display: flex; justify-content: center; }
.tv-image { width: min(560px, 100%); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.hero-char { position: absolute; right: 0; bottom: -10px; width: 34%; max-width: 200px; height: auto; }

@media (min-width: 900px) {
    .hero { grid-template-columns: 1.1fr 1fr; padding-top: 3rem; min-height: calc(100dvh - 90px); }
    .hero-actions { flex-direction: row; align-items: center; }
    .hero-actions .btn { width: auto; min-width: 320px; }
}

/* ---------- SECTIONS ---------- */
.section { max-width: 880px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.section-title { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; line-height: 1.1; }
.section-sub { color: var(--muted); font-size: 1.15rem; font-weight: 600; margin-top: .5rem; max-width: 60ch; }
.fine { color: var(--muted); font-size: .95rem; margin-top: .75rem; text-align: center; }

/* Passos (é uma sequência real, por isso numerado) */
.steps-list { list-style: none; counter-reset: s; display: grid; gap: 1rem; margin-top: 1.75rem; }
.steps-list li {
    counter-increment: s; position: relative; padding: 1.1rem 1.1rem 1.1rem 4.2rem;
    background: rgba(26,26,26,.85); border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.06);
}
.steps-list li::before {
    content: counter(s); position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--red); font-weight: 700; font-size: 1.2rem;
}
.steps-list strong { display: block; font-size: 1.2rem; }
.steps-list span { color: var(--muted); font-weight: 600; }
@media (min-width: 760px) {
    .steps-list { grid-template-columns: repeat(3, 1fr); }
    .steps-list li { padding: 3.6rem 1.1rem 1.2rem; }
    .steps-list li::before { top: 1.1rem; transform: none; }
}

/* Aparelhos */
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .device-grid { grid-template-columns: repeat(3, 1fr); } }
.device-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
    min-height: 64px; padding: .7rem; cursor: pointer;
    background: var(--gray-1); color: var(--white); border: 2px solid var(--gray-2); border-radius: var(--r-md);
    font: 700 1.15rem 'Rajdhani', sans-serif; transition: border-color var(--ease), background var(--ease);
}
.device-btn small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.device-btn:hover { border-color: rgba(197,15,18,.6); }
.device-btn[aria-selected="true"] { border-color: var(--red-accent); background: rgba(197,15,18,.18); }

.device-panel { margin-top: 1.25rem; background: rgba(26,26,26,.9); border-radius: var(--r-lg); padding: 1.25rem; border: 1px solid rgba(255,255,255,.06); }
.device-title { font-size: 1.4rem; margin-bottom: .75rem; }
.device-panel video, .device-panel img { width: 100%; border-radius: var(--r-md); display: block; background: #000; }
.device-panel p { color: var(--muted); font-weight: 600; margin-bottom: .75rem; }
.store-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 1rem; }
.store-links a {
    flex: 1 1 180px; text-align: center; padding: .8rem 1rem; border-radius: var(--r-md);
    background: var(--gray-2); color: var(--white); text-decoration: none; font-weight: 700;
    border: 1px solid rgba(255,255,255,.12);
}
.trial-cta { margin-top: 1.5rem; }
.trial-cta .btn { min-height: 72px; font-size: 1.15rem; }

/* Credenciais / fatura */
.credentials { display: grid; gap: .6rem; margin: 1.25rem 0; }
.credentials > div {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(26,26,26,.9); border-radius: var(--r-md); padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.06);
}
.credentials dt { color: var(--muted); font-weight: 600; }
.credentials dd { font-weight: 700; font-size: 1.2rem; text-align: right; word-break: break-all; }
.copy {
    background: none; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--r-sm);
    color: var(--white); font: 700 1.2rem 'Rajdhani', sans-serif; padding: .2rem .6rem; cursor: pointer;
}
.copy::after { content: ' ⧉'; font-size: .8em; color: var(--muted); }
.copy.copied::after { content: ' ✓'; color: var(--green); }
.access { border-top: 3px solid var(--green); }

/* Planos */
.plan-grid { display: grid; gap: .8rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .plan-grid { grid-template-columns: repeat(5, 1fr); } }
.plan {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem;
    background: var(--gray-1); border: 2px solid var(--gray-2); border-radius: var(--r-lg);
    padding: 1.4rem .8rem 1rem; cursor: pointer; color: var(--white); font-family: 'Rajdhani', sans-serif;
    transition: border-color var(--ease), transform var(--ease);
}
.plan:hover { border-color: var(--red); transform: translateY(-2px); }
.plan-name { font-size: 1.15rem; font-weight: 700; }
.plan-month { font-size: 1.9rem; font-weight: 700; line-height: 1; margin-top: .3rem; }
.plan-month small { font-size: .9rem; color: var(--muted); }
.plan-total { color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan-save { color: var(--green); font-weight: 700; font-size: .95rem; min-height: 1.4em; }
.plan-go {
    margin-top: .6rem; width: 100%; padding: .6rem; border-radius: var(--r-md);
    background: var(--red); font: 700 .8rem 'Montserrat', sans-serif; text-transform: uppercase;
}
.plan.best { border-color: var(--green); }
.plan.best .plan-go { background: var(--green-dark); }
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: var(--green); color: var(--black); font: 700 .7rem 'Montserrat', sans-serif;
    padding: .25rem .6rem; border-radius: 999px;
}
@media (max-width: 699px) {
    .plan { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 1rem; }
    .plan-name { width: 100%; }
    .plan-go { width: auto; margin-top: 0; padding: .6rem 1rem; }
    .plan-badge { left: auto; right: 1rem; transform: none; }
}

/* Conta */
.account-actions { display: grid; gap: .6rem; }
@media (min-width: 700px) { .account-actions { grid-template-columns: repeat(3, 1fr); } }
.adult-pin { margin-top: 1rem; font-size: 1.3rem; text-align: center; }

/* FAQ */
.faq details { background: rgba(26,26,26,.85); border-radius: var(--r-md); margin-top: .6rem; border: 1px solid rgba(255,255,255,.06); }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; font-size: 1.15rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--red-accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 1.1rem 1rem; color: var(--muted); font-weight: 600; }

.final-cta { text-align: center; padding: 3rem 1.25rem 4rem; max-width: 700px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.1; margin-bottom: 1.5rem; }
.final-cta .btn { min-width: min(100%, 360px); }

.site-footer { text-align: center; color: var(--muted); padding: 1.5rem; font-size: .9rem; }

/* Barra fixa (só celular) */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(10,10,10,.98), rgba(10,10,10,.85));
    border-top: 1px solid rgba(197,15,18,.4);
    transform: translateY(110%); transition: transform var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; min-height: 54px; }
body.has-access .sticky-cta { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* ---------- MODAIS ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
    padding: 1rem; background: rgba(0,0,0,.8); backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }
.modal-container {
    position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 2rem); overflow-y: auto;
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
    border: 2px solid var(--red); border-radius: var(--r-lg); padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 0 60px rgba(197,15,18,.3);
}
.close-modal {
    position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%;
    background: var(--red); border: 2px solid var(--white); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.modal-title { color: var(--red-accent); font-size: 2rem; font-weight: 700; text-align: center; text-transform: uppercase; }
.modal-subtitle { text-align: center; color: var(--muted); font-weight: 600; font-size: 1.1rem; margin: .25rem 0 1.25rem; }
.trial-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 700; font-size: 1.1rem; }
.opt { color: var(--muted); font-weight: 500; }
.form-group input, .form-group select {
    width: 100%; min-height: 52px; padding: .75rem 1rem; font: 600 1.1rem 'Rajdhani', sans-serif;
    color: var(--white); background: var(--gray-1); border: 2px solid var(--gray-2); border-radius: var(--r-md);
    appearance: none; -webkit-appearance: none;
}
.form-group select {
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
    padding-right: 2.2rem;
}
.form-group input:focus, .form-group select:focus { border-color: var(--red); outline: none; }
.form-group input::placeholder { color: rgba(255,255,255,.4); }
.phone-field { display: flex; gap: .5rem; }
.phone-field .country-select { flex: 0 0 118px; width: 118px; font-size: 1rem; }
.phone-field input { flex: 1; min-width: 0; }
.form-message { display: none; color: #ff6b6b; font-weight: 700; }
.form-message.show { display: block; }
.form-btn {
    min-height: 56px; border-radius: var(--r-md); border: 2px solid rgba(255,255,255,.2); cursor: pointer;
    font: 700 1.05rem 'Montserrat', sans-serif; text-transform: uppercase; color: var(--white);
}
.btn-submit { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }

/* ---------- LOADING / STATUS ---------- */
.loading-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.7); }
.loading-overlay.active { display: flex; }
.spinner { width: 54px; height: 54px; border: 5px solid rgba(255,255,255,.2); border-top-color: var(--red-accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-message {
    display: none; position: fixed; top: calc(1rem + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
    z-index: 300; width: min(92vw, 460px); padding: 1rem 1.25rem; border-radius: var(--r-md);
    font-weight: 700; font-size: 1.1rem; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.status-message.success { background: var(--green-dark); }
.status-message.warning { background: #b8860b; }
.status-message.error { background: var(--red); }

/* ================= MOBILE v2 ================= */
@media (min-width: 900px) and (hover: hover) { body { background-attachment: fixed; } }

/* Header: só ícone no celular */
@media (max-width: 480px) {
    .ghost-label { display: none; }
    .btn-ghost { padding: .6rem; border-radius: 50%; }
    .btn-ghost svg { width: 22px; height: 22px; }
}

/* Chips: desfile automático no celular */
.hero-proof .dup { display: none; }
@media (max-width: 699px) {
    .proof-marquee {
        overflow: hidden; margin: 1.5rem -1.25rem 0;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
                mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    }
    .proof-marquee .hero-proof {
        flex-wrap: nowrap; gap: 0; width: max-content; margin: 0;
        animation: proof-marquee 16s linear infinite;
    }
    .proof-marquee .hero-proof li { flex: 0 0 auto; white-space: nowrap; margin-right: .6rem; font-size: .95rem; }
    .proof-marquee .hero-proof .dup { display: block; }
    /* Tocar e segurar pausa para ler com calma */
    .proof-marquee:active .hero-proof, .proof-marquee:hover .hero-proof { animation-play-state: paused; }
    .hero { padding-top: .5rem; }
}
@keyframes proof-marquee { to { transform: translateX(-50%); } }
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
    .proof-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .proof-marquee .hero-proof { animation: none; padding-inline: 1.25rem; }
    .proof-marquee .hero-proof .dup { display: none; }
}

/* Vídeos verticais não ficam gigantes */
.device-panel video { max-height: 72vh; width: auto; max-width: 100%; margin: 0 auto; }

/* Contagem regressiva */
.countdown {
    margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--r-md); text-align: center;
    background: rgba(197,15,18,.15); border: 1px solid rgba(255,31,31,.5);
    font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums;
}
.countdown.ended { background: rgba(184,134,11,.18); border-color: #b8860b; }
.share-btn { margin-bottom: 1rem; }

/* Planos: no celular mostra 3 + "ver todos" */
.plans-more { display: none; }
@media (max-width: 699px) {
    .plan.extra { display: none; }
    .plan-grid.show-all .plan.extra { display: flex; }
    .plans-more { display: block; }
    .plan-grid { gap: 1rem; }
}

/* Modais como folha de baixo no celular */
@media (max-width: 699px) {
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal-container {
        max-width: none; border-radius: 22px 22px 0 0; border-width: 2px 0 0;
        max-height: 92dvh; padding: 1.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
        animation: sheet-up 280ms cubic-bezier(.2,.8,.2,1);
    }
    .modal-container::before {
        content: ''; position: absolute; top: .6rem; left: 50%; transform: translateX(-50%);
        width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.3);
    }
    .close-modal { top: .8rem; right: .8rem; width: 36px; height: 36px; font-size: 1.3rem; }
    .modal-title { font-size: 1.7rem; margin-top: .5rem; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
