/* IPTV.bio — Design System Limpo, Rápido e Focado em Conversão + SEO/AEO */
:root {
  --bg: #070b14;
  --bg-elev: #0e1526;
  --bg-card: #121b30;
  --bg-card-hover: #18233d;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(56, 189, 248, 0.45);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --accent: #38bdf8;
  --accent-2: #6366f1;
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);
  --warn: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1140px;
  --shadow: 0 18px 45px rgba(2, 6, 23, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.12), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(99, 102, 241, 0.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #020617; padding: 10px 16px; font-weight: 700; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; border-radius: 8px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
  text-decoration: none !important;
}
.logo span { color: var(--accent); }
.logo-badge {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 999px; background: rgba(56, 189, 248, 0.15); color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--text-soft); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.main-nav a:hover { color: #fff; }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important; font-weight: 700 !important;
  padding: 9px 16px; border-radius: 999px; font-size: 0.88rem !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none !important; }
.nav-client {
  border: 1px solid var(--border); padding: 8px 13px; border-radius: 999px;
  font-size: 0.86rem !important; color: var(--text-soft) !important;
}
.nav-client:hover { border-color: var(--accent); color: #fff !important; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb ol {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }

/* Hero */
.hero {
  padding: 48px 0 42px;
  display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 36px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 12px; border-radius: 999px; margin: 0 0 16px;
}
.hero h1, .article-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; color: #fff;
}
.hero h1 em, .highlight {
  font-style: normal;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.1rem; color: var(--text-soft); margin: 0 0 22px; max-width: 62ch; }

.trust-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none;
}
.trust-pills li {
  font-size: 0.86rem; color: var(--text-soft); background: var(--bg-card);
  border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px;
}
.trust-pills strong { color: var(--success); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff !important; font-weight: 800; font-size: 1rem;
  padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.28);
  text-decoration: none !important; transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-card); color: #fff !important; font-weight: 700; font-size: 0.96rem;
  padding: 14px 20px; border-radius: 12px; border: 1px solid var(--border-strong);
  text-decoration: none !important;
}
.btn-secondary:hover { background: var(--bg-card-hover); }

.payment-strip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(18, 27, 48, 0.7); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 12px; font-size: 0.86rem; color: var(--text-muted);
  max-width: 520px;
}
.payment-strip strong { color: var(--text); display: block; font-size: 0.9rem; }

/* Hero Summary Card */
.hero-card {
  background: linear-gradient(180deg, #131d36 0%, #0d1527 100%);
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.hero-card-head strong { font-size: 1.05rem; color: #fff; }
.badge-live {
  font-size: 0.75rem; font-weight: 700; color: var(--success);
  background: var(--success-bg); padding: 4px 10px; border-radius: 999px;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px;
}
.stat-box {
  background: rgba(7, 11, 20, 0.6); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.stat-box b { display: block; font-size: 1.35rem; color: #fff; line-height: 1.2; }
.stat-box span { font-size: 0.8rem; color: var(--text-muted); }
.cover-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px;
}
.cover-strip img {
  border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; width: 100%;
  border: 1px solid var(--border);
}
.hero-card-note { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Sections */
.section { padding: 54px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem); line-height: 1.2;
  margin: 0 0 10px; color: #fff; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--text-soft); font-size: 1.02rem; }
.kicker {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin: 0 0 8px;
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; color: #fff; }
.card p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-soft); font-size: 0.93rem; }
.card li { margin-bottom: 6px; }

/* Interactive Plan Picker */
.picker-shell {
  background: linear-gradient(180deg, #111b33 0%, #0b1222 100%);
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow);
}
.picker-fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.picker-fieldset legend {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); margin-bottom: 10px; display: block;
}
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.period-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.opt-card { position: relative; display: block; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card span {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(7, 11, 20, 0.72); border: 2px solid var(--border);
  border-radius: 14px; padding: 16px; transition: border-color 0.15s, background 0.15s;
}
.opt-card input:checked + span {
  border-color: var(--accent); background: rgba(56, 189, 248, 0.1);
}
.opt-card strong { font-size: 1.08rem; color: #fff; }
.opt-card small { font-size: 0.82rem; color: var(--text-muted); }
.opt-card b { font-size: 1.35rem; color: var(--success); margin-top: 4px; }
.opt-card em { font-style: normal; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.opt-badge {
  display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; padding: 2px 8px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.18); color: var(--success); margin-bottom: 4px;
}

.catalog-bar {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  background: rgba(7, 11, 20, 0.65); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px;
}
.catalog-metrics { display: flex; flex-wrap: wrap; gap: 22px; }
.catalog-metrics span { font-size: 0.9rem; color: var(--text-muted); }
.catalog-metrics b { color: #fff; font-size: 1.1rem; margin-right: 5px; }

.purchase-box {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 14px; padding: 18px 20px;
}
.purchase-meta strong { display: block; font-size: 1.15rem; color: #fff; }
.purchase-meta span { font-size: 0.88rem; color: var(--text-soft); }
.fifteen-bar {
  margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  background: rgba(56, 189, 248, 0.08); border: 1px dashed rgba(56, 189, 248, 0.4);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 0.9rem; color: var(--text-soft);
}

/* Tables */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); margin: 18px 0;
}
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
th { background: rgba(7, 11, 20, 0.7); color: #fff; font-weight: 700; font-size: 0.88rem; }
td { color: var(--text-soft); }
tr:last-child td { border-bottom: 0; }
.td-strong { color: #fff; font-weight: 700; }
.td-good { color: var(--success); font-weight: 700; }

/* Steps */
.steps-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.steps-list li {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.step-num {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(56, 189, 248, 0.16); color: var(--accent);
  font-weight: 800; margin-bottom: 12px;
}

/* Testimonials */
.review-card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.review-author { font-size: 0.86rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 10px; }
.review-author strong { color: #fff; display: block; font-size: 0.92rem; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
}
.faq-list summary {
  font-weight: 700; color: #fff; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 0 0; color: var(--text-soft); font-size: 0.95rem; }

/* Blog / Hub cards */
.article-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  transition: border-color 0.15s, transform 0.15s;
}
.article-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.article-tag {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
}
.article-card h3 a { color: #fff; }
.article-meta { font-size: 0.82rem; color: var(--text-muted); }

/* Article pages */
.article-hero { padding: 38px 0 28px; max-width: 840px; }
.prose { max-width: 840px; padding-bottom: 48px; }
.prose h2 { font-size: 1.55rem; color: #fff; margin: 32px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 1.18rem; color: #fff; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--text-soft); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.callout {
  background: rgba(56, 189, 248, 0.08); border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0;
}
.callout strong { color: #fff; }
.cta-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(99, 102, 241, 0.16));
  border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 32px; text-align: center; margin-top: 24px;
}
.cta-banner h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-banner p { margin: 0 auto 20px; max-width: 58ch; color: var(--text-soft); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 44px 0 36px;
  background: rgba(4, 7, 14, 0.85); color: var(--text-muted); font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px;
}
.footer-col h4 { color: #fff; font-size: 0.92rem; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem;
}

.float-help {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important; font-weight: 700; font-size: 0.9rem;
  padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.55); text-decoration: none !important;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .grid-3, .steps-list { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .period-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .steps-list, .footer-grid { grid-template-columns: 1fr; }
  .main-nav { gap: 10px; }
  .nav-hide-sm { display: none; }
  .picker-shell { padding: 18px; }
}
