/* ═══════════════════════════════════════════════════════════════
   IPTV Notícias RPG — Professional Clean Blue/White Theme
   ═══════════════════════════════════════════════════════════════ */
:root {
  --blue:      #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-mid:  #2563eb;
  --blue-light:#dbeafe;
  --blue-xlt:  #eff6ff;
  --cyan:      #0ea5e9;
  --green:     #16a34a;
  --green-lt:  #dcfce7;
  --orange:    #ea580c;
  --orange-lt: #fff7ed;
  --red:       #dc2626;
  --bg:        #ffffff;
  --bg2:       #f8fafc;
  --bg3:       #f1f5f9;
  --card:      #ffffff;
  --border:    #e2e8f0;
  --border2:   #cbd5e1;
  --text:      #0f172a;
  --text-body: #334155;
  --muted:     #64748b;
  --max:       1200px;
  --radius:    10px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
  --font:      'Inter', 'Segoe UI', Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Announce bar ───────────────────────────────────────────────── */
.announce {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  padding: 9px 16px;
  letter-spacing: .01em;
}
.announce a { color: #93c5fd; text-decoration: underline; }

/* ── Header ─────────────────────────────────────────────────────── */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue-dark) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-badge {
  background: var(--blue-mid);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .04em;
}
header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
header nav a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-body) !important;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  text-decoration: none !important;
  white-space: nowrap;
}
header nav a:hover { background: var(--bg3); color: var(--blue-mid) !important; }
header nav a.active { color: var(--blue-mid) !important; }
.btn-cta {
  background: var(--blue-mid) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  transition: background .15s !important;
  text-decoration: none !important;
}
.btn-cta:hover { background: var(--blue-dark) !important; text-decoration: none !important; }

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-size: .77rem;
  color: var(--muted);
  padding: 8px 0;
}
.breadcrumb nav { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb span { margin: 0 5px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 span { color: #93c5fd; }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue-mid) !important;
  font-weight: 800;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,0,0,.2); text-decoration: none !important; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); text-decoration: none !important; }

/* ── Stats bar ──────────────────────────────────────────────────── */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-mid);
  line-height: 1;
}
.stat-label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--bg2); }
.section-blue { background: var(--blue-dark); color: #fff; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
}
.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-heading p { color: var(--muted); font-size: .95rem; max-width: 560px; margin: 0 auto; }

/* ── Cards ──────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue-light); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-xlt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.card p { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* ── Pricing ────────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card.featured {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1), var(--shadow-lg);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-mid);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.plan-name { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-mid); margin-bottom: 8px; }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 4px; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-period { font-size: .78rem; color: var(--muted); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--bg3);
}
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.plan-btn {
  display: block;
  text-align: center;
  background: var(--blue-mid);
  color: #fff !important;
  font-weight: 800;
  font-size: .9rem;
  padding: 13px;
  border-radius: 9px;
  text-decoration: none !important;
  transition: background .15s;
}
.plan-btn:hover { background: var(--blue-dark); text-decoration: none !important; }

/* ── Compare table ──────────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.compare-table th {
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
  padding: 14px 16px;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.compare-table tr:nth-child(even) { background: var(--bg2); }
.compare-table .check { color: var(--green); font-weight: 900; }
.compare-table .cross { color: var(--red); font-weight: 700; }
.compare-table .highlight td { background: var(--blue-xlt); font-weight: 700; }

/* ── Steps ──────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--blue-mid);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-group { margin-bottom: 32px; }
.faq-group-title { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-mid); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
details:hover { border-color: var(--blue-light); }
details[open] { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blue-mid);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] summary::after { content: '−'; }
details p, details ul, details ol {
  padding: 0 20px 16px;
  font-size: .87rem;
  color: var(--text-body);
  line-height: 1.7;
}
details ul, details ol { padding-left: 36px; }
details li { margin-bottom: 4px; }

/* ── CTA Panel ──────────────────────────────────────────────────── */
.cta-panel {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 12px; }
.cta-panel p { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: .95rem; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-wa:hover { background: #128c7e; transform: translateY(-1px); text-decoration: none !important; }

/* ── Blog ───────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 20px; }
.blog-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-mid);
  background: var(--blue-xlt);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.blog-card h3 { font-size: .95rem; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.blog-card h3 a { color: var(--text) !important; text-decoration: none !important; }
.blog-card h3 a:hover { color: var(--blue-mid) !important; }
.blog-card p { font-size: .82rem; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.blog-read { font-size: .78rem; font-weight: 700; color: var(--blue-mid); }

/* ── Devices grid ───────────────────────────────────────────────── */
.devices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.device-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none !important;
}
.device-item:hover { box-shadow: var(--shadow); border-color: var(--blue-light); }
.device-icon { font-size: 2rem; margin-bottom: 8px; }
.device-name { font-size: .78rem; font-weight: 700; color: var(--text); }

/* ── Trust badges ───────────────────────────────────────────────── */
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.85); font-weight: 600; }
.trust-item svg { width: 18px; height: 18px; fill: #93c5fd; flex-shrink: 0; }

/* ── Page hero (non-homepage) ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff;
  padding: 48px 0 40px;
}
.page-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 560px; }

/* ── Prose ──────────────────────────────────────────────────────── */
.prose h2 { font-size: 1.2rem; font-weight: 900; color: var(--text); margin: 2.5rem 0 .8rem; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.prose h3 { font-size: 1rem; font-weight: 800; color: var(--blue-mid); margin: 1.8rem 0 .6rem; }
.prose p { color: var(--text-body); margin-bottom: 1rem; font-size: .93rem; line-height: 1.8; }
.prose ul, .prose ol { color: var(--text-body); font-size: .93rem; line-height: 1.8; padding-left: 22px; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue-mid); font-weight: 600; }
.prose strong { color: var(--text); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: .87rem; margin: 1.5rem 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.prose th { background: var(--blue-dark); color: #fff; font-weight: 800; padding: 11px 14px; text-align: left; font-size: .8rem; }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.prose tr:nth-child(even) td { background: var(--bg2); }
.prose .box { background: var(--blue-xlt); border-left: 4px solid var(--blue-mid); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 1.5rem 0; }
.prose .box-green { background: var(--green-lt); border-left-color: var(--green); }
.prose .box-orange { background: var(--orange-lt); border-left-color: var(--orange); }

/* ── WhatsApp float ─────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: #94a3b8;
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h5 { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.footer-col p { font-size: .82rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; font-size: .82rem; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: .78rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: .78rem; color: #94a3b8; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  header nav { gap: 4px; }
  header nav a:not(.btn-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-item { padding: 16px 20px; }
  .cta-panel { padding: 36px 24px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
}
