/* =========================================================
   Senha Antecipada — IPTV
   Folha de estilo única (mobile-first, sem dependências)
   ========================================================= */

:root {
  --bg: #070b16;
  --bg-2: #0d1324;
  --surface: #111a30;
  --surface-2: #17223d;
  --line: #22304f;
  --text: #e9eefb;
  --muted: #9aa8c7;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --accent: #ffb020;
  --ok: #2dd4a0;
  --danger: #ff5470;
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  overflow-wrap: break-word;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 92, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, .10), transparent 60%);
  background-repeat: no-repeat;
}

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

a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: #7ee8f7; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
strong { color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 22, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 48, 79, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.1rem; }
.logo img { width: 36px; height: 36px; }
.logo span em { font-style: normal; color: var(--brand-2); }
.logo:hover { color: #fff; }

.nav-toggle { display: none; }
.nav-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line);
}
.nav-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

.main-nav {
  position: absolute; top: 68px; left: 0; right: 0;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: none;
}
.nav-toggle:checked ~ .main-nav { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 12px 20px 18px; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.main-nav a[aria-current="page"] { color: var(--brand-2); }
.main-nav .btn { margin-top: 14px; border: 0; text-align: center; }

@media (min-width: 1140px) {
  .nav-btn { display: none; }
  .main-nav { position: static; display: block; background: none; border: 0; }
  .main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .main-nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
  .main-nav a:hover { background: var(--surface); }
  .main-nav .btn { margin: 0 0 0 8px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--grad); color: #fff !important; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(34, 211, 238, .6); }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--surface); box-shadow: none; }
.btn-wa { background: #1faa59; box-shadow: 0 10px 30px -10px rgba(31, 170, 89, .7); }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .9rem; color: var(--muted); padding-top: 22px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 40px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 940px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand-2); background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .25); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 1.16rem; color: #c9d3ea; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.trust li { margin: 0; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

/* ---------- TL;DR ---------- */
.tldr {
  background: linear-gradient(180deg, rgba(124, 92, 255, .12), rgba(124, 92, 255, .04));
  border: 1px solid rgba(124, 92, 255, .35);
  border-radius: var(--radius); padding: 22px 24px; margin: 0 0 8px;
}
.tldr h2 { font-size: 1.15rem; margin-bottom: .5em; text-transform: uppercase; letter-spacing: .06em; color: #cbbfff; }
.tldr ul { margin: 0; }
.tldr li:last-child { margin-bottom: 0; }

/* ---------- Seções ---------- */
.section { padding: 46px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(17, 26, 48, .55) 12%, rgba(17, 26, 48, .55) 88%, transparent); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

.two-col { display: grid; gap: 34px; }
@media (min-width: 940px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(124, 92, 255, .14); color: #b9a8ff; font-size: 1.4rem; margin-bottom: 14px;
}

/* Passos */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 940px) { .steps.steps-row { grid-template-columns: repeat(3, 1fr); } }
.steps > li {
  counter-increment: step; position: relative; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 22px 76px;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
.steps > li { min-width: 0; }
.steps p, .faq .answer, .contact-list li, .callout { overflow-wrap: anywhere; }
.steps h3 { margin-bottom: .3em; font-size: 1.12rem; }
.steps p { margin: 0; color: #c9d3ea; }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 940px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column;
}
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #1a1200; font-weight: 800; font-size: .78rem;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; margin-bottom: .2em; }
.plan .price { font-size: 2.5rem; font-weight: 800; line-height: 1; margin: 12px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .per { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan .btn { width: 100%; }

/* ---------- Tabela ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .98rem; }
caption { text-align: left; padding: 14px 16px; color: var(--muted); font-size: .92rem; caption-side: bottom; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); font-weight: 700; color: #fff; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(17, 26, 48, .5); }

/* ---------- Destaques / notas ---------- */
.callout {
  border-left: 4px solid var(--accent); background: rgba(255, 176, 32, .08);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 1.4em;
}
.callout p:last-child { margin: 0; }
.author-box {
  display: flex; gap: 16px; align-items: center; margin: 26px 0 0;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: .95rem; color: var(--muted);
}
.author-box img { width: 48px; height: 48px; flex: none; }
.author-box strong { display: block; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand-2); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: inherit; margin: 0; }
.faq .answer { padding: 0 20px 18px; color: #c9d3ea; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.cta-box {
  text-align: center; border-radius: 24px; padding: 44px 24px;
  background: radial-gradient(600px 240px at 50% 0%, rgba(124, 92, 255, .35), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta-box h2 { margin-bottom: .3em; }
.cta-box p { color: #c9d3ea; max-width: 620px; margin: 0 auto 1em; }
.cta-box .btn-row { justify-content: center; }

/* ---------- Links internos ---------- */
.related { display: grid; gap: 14px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: block; padding: 18px 20px; border-radius: var(--radius-sm); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.related a strong { display: block; margin-bottom: 4px; }
.related a span { color: var(--muted); font-size: .94rem; }
.related a:hover { border-color: var(--brand); }

/* ---------- Formulário de contato (mailto) ---------- */
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 42px 0 26px; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.site-footer li { margin-bottom: .35em; }
.site-footer h2 { font-size: 1rem; color: var(--text); margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; }
.footer-social span { color: var(--text); font-weight: 700; margin-right: 4px; }
.footer-social a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.footer-social a:hover { border-color: var(--brand); color: #fff; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1faa59;
  display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Números do catálogo ---------- */
.stats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.stats li { margin: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.stats strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Depoimentos ---------- */
.depo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.depo .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.depo blockquote { margin: 0; color: #c9d3ea; flex: 1; }
.depo figcaption { margin: 0; }

/* ---------- Vídeo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 14px; background: var(--surface); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 40px 0 50px; }
.notfound .lead { max-width: 640px; margin: 0 auto 8px; }
.nf-img { width: 100%; max-width: 560px; margin: 0 auto 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.nf-list { list-style: none; padding: 0; margin: 0; }
.nf-list li { margin: 0; border-bottom: 1px solid var(--line); }
.nf-list li:last-child { border-bottom: 0; }
.nf-list a { display: block; padding: 8px 0; text-decoration: none; }
.notfound .code { font-size: clamp(5rem, 20vw, 9rem); font-weight: 800; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
