/* Cineflix — estilo único da landing (2026-10-14).
   Pouco atributo visual de propósito: fundo neutro escuro, uma cor de destaque (o laranja do logo), a fonte do
   próprio aparelho (nada para baixar), sem brilho, sem degradê e sem animação. Funciona em TV box, Fire Stick e 4G. */
:root {
  --bg: #0e0f13;
  --surface: #16181e;
  --surface-2: #1e2129;
  --line: #2a2e38;
  --text: #f2f3f5;
  --muted: #a3a9b4;
  --accent: #ff7a1a;
  --accent-ink: #1a0b00;
  --ok: #3ccf7a;
  --warn: #f5b301;
  --danger: #ff6464;
  --radius: 12px;
  --max: 1040px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
[hidden] { display: none !important; }

/* foco bem visível: TV e teclado */
:focus { outline: none; }
:focus-visible, .tv :focus { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(14, 15, 19, 0.94); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 20px; margin-left: 12px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.header-actions { display: flex; gap: 10px; margin-left: auto; }
.btn.menu-btn { display: none; margin-left: auto; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px 0 14px; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .btn.menu-btn { display: inline-flex; margin-left: 0; }
  .header-actions { margin-left: auto; }
}
/* celular estreito (até 420 px): o cabeçalho fica só com o logo e o Menu (o "Ver planos" vem logo abaixo) */
@media (max-width: 420px) {
  .site-header .header-actions .btn-primary { display: none; }
  .site-header .wrap { gap: 10px; }
  .brand { font-size: 17px; }
}

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: 600 15px/1.2 var(--font);
  cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8a33; }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

/* seções */
section { padding: 56px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.hero { padding: 64px 0 44px; }
.hero h1 { max-width: 20ch; }
.lead { font-size: 18px; color: var(--muted); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* cartões e grades */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 15px; margin-bottom: 12px; }

/* planos */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 20px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 15px var(--font); padding: 10px 16px; border-radius: 8px; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .note { font-size: 14px; color: var(--muted); }
.plan .save { font-size: 14px; color: var(--ok); font-weight: 600; }
.plan.featured { border-color: var(--accent); }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.plan.featured .tag { border-color: var(--accent); color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 12px 0 18px; }
.checks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* formulários */
.field { display: block; margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; margin-bottom: 6px; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #0a0b0e; color: var(--text); font: 16px var(--font); }
.input:focus { border-color: var(--accent); outline: none; }
.help { font-size: 14px; color: var(--muted); margin-top: 6px; }
.error-text { font-size: 14px; color: var(--danger); margin-top: 6px; }
.row { display: flex; gap: 10px; }
.row .input { flex: 1; }
@media (max-width: 480px) { .row { flex-direction: column; } }

/* avisos */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 10px; padding: 14px 16px; }
.notice.ok { border-left-color: var(--ok); }
.notice.warn { border-left-color: var(--warn); }
.notice.err { border-left-color: var(--danger); }

/* perguntas */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* listas simples */
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.code-big { font: 800 34px/1.1 ui-monospace, Consolas, monospace; letter-spacing: 0.06em; }

/* rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.legal { max-width: 72ch; }

/* páginas simples (termos, ajuda) */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 32px; }
.prose li { margin: 6px 0; color: var(--muted); }
.prose p { color: var(--muted); }

/* utilidades */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 12px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner { animation-duration: 2s; } }

/* checkout */
.checkout { max-width: 720px; }
.checkout .hero { padding: 32px 0 8px; }
.checkout .hero h1 { font-size: clamp(26px, 4vw, 34px); max-width: none; }
.checkout section { padding: 20px 0; }
.step-title { font-size: 18px; margin-bottom: 14px; }
.plan-list { display: grid; gap: 10px; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text);
  font: inherit; cursor: pointer; min-height: 64px; }
.plan-row:hover { background: var(--surface-2); }
.plan-row[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan-row .pr-name { font-weight: 700; }
.plan-row .pr-sub { font-size: 14px; color: var(--muted); }
.plan-row .pr-price { font-weight: 800; font-size: 20px; white-space: nowrap; }
.qr-box { background: #fff; border-radius: 12px; padding: 14px; width: 248px; height: 248px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.qr-box img, .qr-box canvas { width: 220px !important; height: 220px !important; }
.pix-code { width: 100%; min-height: 84px; resize: none; font: 13px/1.4 ui-monospace, Consolas, monospace; word-break: break-all; }
.status-line { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.honey { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* selo flutuante do reCAPTCHA cobria o botão no celular: escondido, com o aviso e os links do Google no formulário (permitido pelo Google) */
.grecaptcha-badge { visibility: hidden !important; }

/* 2026-10-18: passo de pagamento por gateway — link de pagamento (InfinitePay, cartão) e atendimento (gateway Social) */
.pay-box { margin-top: 16px; }
.pay-qr { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.pay-qr .qr-box { margin: 0; flex: none; width: 168px; height: 168px; padding: 10px; }
.pay-qr .qr-box img, .pay-qr .qr-box canvas { width: 148px !important; height: 148px !important; }
.pay-steps { list-style: none; counter-reset: ps; margin: 4px 0 18px; padding: 0; display: grid; gap: 14px; }
.pay-steps li { counter-increment: ps; position: relative; padding-left: 46px; min-height: 32px; }
.pay-steps li::before { content: counter(ps); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 1px solid var(--accent); color: var(--accent); }
.pay-steps b { display: block; }
.pay-steps span { display: block; color: var(--muted); font-size: 14px; }
.btn-wa { background: #25d366; border-color: #25d366; color: #04210f; font-weight: 700; }
.btn-wa:hover { background: #1fbe5b; }
.btn-tg { background: #2aabee; border-color: #2aabee; color: #03253a; font-weight: 700; }
.btn-tg:hover { background: #229bd8; }
.pay-ic { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .pay-qr { flex-direction: column; align-items: flex-start; } }
/* 2026-10-18: texto legal pequeno na TV: continua legível, mas sem link (o controle remoto não para nele) */
.tv .legal-note a { pointer-events: none; color: inherit; text-decoration: none; }
