/* =========================================================================
   Rebraps — stylesheet (near-black indigo-violet night / vivid magenta /
   electric violet duotone, "faceted gem" shape language: an EPG program-
   guide hero card, hex-badge why-choose cards, and "torn-edge" jagged
   buttons — dark theme throughout, header and footer both dark)
   ========================================================================= */

:root {
  --bg: #120C18;
  --bg-deep: #0B0710;
  --surface: #1D1428;
  --surface-alt: #241A32;
  --magenta: #E31E7A;
  --magenta-dark: #B8135F;
  --violet: #7A3AF0;
  --violet-dark: #5A22C4;
  --ink: #F5EEF7;
  --ink-soft: #C9BBD6;
  --muted: #8B7A9C;
  --line: rgba(255,255,255,0.12);
  --radius-md: 12px;
  --radius-sm: 8px;
  --torn-edge: polygon(0 0, 94% 0, 100% 12%, 93% 24%, 100% 36%, 93% 48%, 100% 60%, 93% 72%, 100% 84%, 94% 100%, 0 100%);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 26px 64px rgba(0, 0, 0, 0.5);
  --maxw: 1180px;
  --font-body: 'Inter', 'Liberation Sans', Arial, sans-serif;
  --font-head: 'Chivo', 'Liberation Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--magenta);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- buttons (torn-edge jagged clip-path) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 28px 14px 24px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  clip-path: var(--torn-edge);
  transition: transform .15s ease, background .15s ease, filter .15s ease;
}
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-dark); }
.btn-secondary { background: var(--violet); color: #fff; }
.btn-secondary:hover { background: var(--violet-dark); }
.btn-outline { background: var(--surface-alt); color: var(--ink); }
.btn-outline:hover { background: var(--surface); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px 16px 28px; font-size: 15.5px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }

/* ---------- header (dark, translucent) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 12, 24, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 18px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 44px; width: auto; }
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.nav-link {
  display: block;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--surface-alt); }
.nav-link.active { color: #fff; background: var(--magenta); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--violet);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}
.icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 24px; font-size: 13px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #453456; }
.breadcrumb a:hover { color: var(--violet); text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- sections & utility ---------- */
section { padding: 92px 0; }
.section-tight { padding: 58px 0; }
.section-dark { background: var(--bg-deep); color: #fff; }
.section-dark p { color: var(--ink-soft); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--magenta);
  margin-bottom: 20px;
}
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.section-head p { font-size: 17px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ---------- hero: split layout with EPG program-guide visual ---------- */
.hero { background: var(--bg); padding: 64px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,30,122,0.12); border: 1px solid rgba(227,30,122,0.35);
  color: #FF74B0; font-size: 13px; font-weight: 700;
  padding: 8px 18px 8px 16px; clip-path: var(--torn-edge);
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.hero h1 { font-size: clamp(32px, 4vw, 50px); color: var(--ink); }
.hero-lead { font-size: 17.5px; max-width: 540px; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 8px; }

/* EPG program-guide hero visual */
.hero-visual { display: flex; justify-content: center; }
.hero-epg {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(165deg, var(--surface), var(--bg-deep) 85%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.epg-top {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.epg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(227,30,122,0.22); }
.epg-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border-radius: var(--radius-sm); margin-bottom: 8px;
  background: rgba(255,255,255,0.03);
}
.epg-row-now {
  background: linear-gradient(90deg, var(--magenta), var(--violet));
  padding: 15px 14px;
}
.epg-tag {
  background: rgba(255,255,255,0.22); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 20px; flex: none;
}
.epg-label { color: #fff; font-weight: 700; font-size: 14.5px; flex: 1; }
.epg-row:not(.epg-row-now) .epg-label { color: var(--ink-soft); font-weight: 600; }
.epg-time { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 15px; flex: none; }
.epg-row:not(.epg-row-now) .epg-time { color: var(--muted); font-size: 13px; }
.epg-timeline {
  height: 1px; margin: 18px 0 16px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 6px, transparent 6px 12px);
}
.epg-tag-brand {
  text-align: center; font-weight: 700; letter-spacing: .12em; font-size: 11.5px;
  color: var(--muted);
}

/* trust strip */
.trust-strip { background: var(--bg-deep); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: center; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px; }
.trust-item .icon { color: var(--magenta); width: 19px; height: 19px; }

/* ---------- why-choose: hex badge grid ---------- */
.hex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.hex-cell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.hex-badge {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(122,58,240,0.35);
}
.hex-cell h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; }
.hex-cell p { font-size: 14.5px; margin-bottom: 0; }

/* compatibility */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.app-pill {
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
  padding: 10px 20px 10px 16px; font-weight: 600; font-size: 14px;
  clip-path: var(--torn-edge);
}
.device-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 26px 10px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
}
.device-card .icon { width: 26px; height: 26px; color: var(--violet); }
.device-card span { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }

/* ---------- plans ---------- */
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.featured { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: var(--magenta); }
.plan-card.featured:hover { transform: translateY(-11px); }
.plan-media { position: relative; aspect-ratio: 16/8.2; overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; }
.plan-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--magenta); color: #fff; font-weight: 800; font-size: 11.5px;
  padding: 6px 14px 6px 12px; clip-path: var(--torn-edge);
}
.plan-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan-name { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .currency { font-size: 17px; font-weight: 700; color: var(--ink); }
.plan-price .value { font-size: 44px; font-weight: 800; font-family: var(--font-head); color: var(--ink); }
.plan-period { color: var(--violet); font-weight: 700; font-size: 14px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 6px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.plan-list .icon { width: 17px; height: 17px; color: var(--violet); margin-top: 2px; flex: none; }

/* ---------- teste gratis ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.step { position: relative; padding: 30px 22px 22px; background: var(--bg-deep); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: var(--magenta); color: #fff;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  margin-bottom: 14px;
}
.step h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-top: 0; }
.step p { color: var(--ink-soft); font-size: 14px; margin-bottom: 0; }

.advantage-list { display: flex; flex-direction: column; gap: 16px; }
.advantage-list li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.advantage-list li:last-child { border-bottom: none; }
.advantage-list .icon-wrap {
  width: 42px; height: 42px; flex: none;
  background: var(--surface-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.advantage-list .icon-wrap .icon { color: var(--violet); width: 20px; height: 20px; }
.advantage-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.advantage-list span { color: var(--ink-soft); font-size: 14px; }

/* ---------- blog ---------- */
.article-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--bg-deep), var(--surface)); position: relative; display: flex; align-items: center; justify-content: center; }
.article-media .icon { width: 30px; height: 30px; color: var(--violet); opacity: .95; }
.article-tag {
  position: absolute; top: 12px; left: 12px; background: var(--bg-deep); color: var(--violet);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px 5px 10px; clip-path: var(--torn-edge);
}
.article-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-date { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.article-body h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; }
.article-body p { font-size: 14.5px; margin-bottom: 8px; }
.article-link { font-weight: 700; font-size: 13px; color: var(--violet); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.article-link .icon { width: 16px; height: 16px; }

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-family: var(--font-body); font-weight: 700; font-size: 22px; margin-top: 1.4em; }
.article-content p { font-size: 16.5px; color: var(--ink-soft); }
.article-content ul { margin: 0 0 1.2em; padding-left: 0; }
.article-content ul li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-soft); margin-bottom: 8px; }
.article-content ul li .icon { width: 16px; height: 16px; color: var(--violet); margin-top: 5px; flex: none; }
.article-hero { padding: 46px 0 8px; }
.article-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.article-cta {
  margin-top: 46px; padding: 32px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-cta p { color: var(--ink-soft); margin: 0; }
.related-grid { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item {
  background: transparent; border-top: 1px solid var(--line);
  padding: 4px 4px;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 700;
  font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--violet); transition: transform .2s ease; flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding-bottom: 20px; margin: 0; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--surface), var(--bg-deep));
  border-radius: var(--radius-md);
  padding: 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  border-top: 5px solid var(--magenta);
}
.cta-band h2 { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 28px; margin-bottom: 6px; }
.cta-band p { color: var(--ink-soft); margin: 0; }

/* ---------- misc content pages ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-family: var(--font-body); font-weight: 700; font-size: 24px; margin-top: 1.5em; }
.prose p, .prose li { font-size: 16px; color: var(--ink-soft); }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 1.2em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-card {
  background: linear-gradient(135deg, var(--surface), var(--bg-deep)); color: #fff; border-radius: var(--radius-md); padding: 40px;
  border-top: 5px solid var(--magenta);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.contact-card h2 { font-family: var(--font-head); font-weight: 800; }
.contact-card p { color: var(--ink-soft); }
.value-card { background: var(--surface-alt); padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); }

/* ---------- footer (dark) ---------- */
.site-footer { background: var(--bg-deep); color: var(--ink-soft); padding: 64px 0 0; border-top: 3px solid var(--magenta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 14px 0 18px; }
.footer-col h3 { color: var(--violet); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-muted { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 20px 24px; text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- whatsapp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
}
.icon-float { width: 28px; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hex-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-copy { text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-ctas { justify-content: center; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .main-nav { position: fixed; inset: 82px 0 0 0; background: var(--bg); padding: 18px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; overflow-y: auto; z-index: 99; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 14px 16px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm span { display: none; }
  .hero-ctas .btn { width: 100%; }
  .grid-4, .grid-3, .grid-6 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hex-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-epg { max-width: 360px; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-6, .grid-2 { grid-template-columns: 1fr; }
  .header-inner { height: 68px; }
  .main-nav { top: 68px; }
  .hero { padding: 40px 0 52px; }
  .plan-card.featured { transform: none; }
  .cta-band { padding: 32px 24px; }
  .contact-card, .value-card { padding: 26px; }
}
