/* ============================================================
   FlowMax IPTV — Editorial Broadcast System
   Aesthetic: deep ink + signal orange + acid lime
   Type: Fraunces (display serif) + Instrument Sans (body) + JetBrains Mono (mono)
   ============================================================ */

@font-face { font-display: swap; }

:root {
  --ink: #0B0B0E;
  --surface: #13131A;
  --surface-2: #1B1B23;
  --border: #2A2A33;
  --bone: #F2EDE3;
  --bone-dim: #D9D2C4;
  --muted: #86808A;
  --signal: #FF4A1C;
  --signal-deep: #C9320E;
  --acid: #D7FF35;
  --plasma: #FF8DA8;

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 74, 28, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(215, 255, 53, 0.05), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--signal); color: var(--ink); }

/* -------- Noise texture overlay -------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--signal);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.85); } }

/* ============================================================
   HEADER + LIVE TICKER
   ============================================================ */
.ticker {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.ticker__track { display: inline-block; animation: ticker 38s linear infinite; }
.ticker__track span { padding: 0 28px; }
.ticker__track span b { color: var(--acid); font-weight: 600; margin-right: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(11, 11, 14, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-style: italic;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.logo b {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 8px;
  background: var(--signal);
  color: var(--ink);
  border-radius: var(--radius);
  text-transform: uppercase;
  font-weight: 700;
  transform: translateY(-3px);
}
.nav__menu {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav__menu a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__menu a:hover { color: var(--signal); }
.nav__menu a::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav__menu a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--signal);
}
.btn--primary:hover {
  background: var(--acid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px var(--signal);
}
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--bone); transform: translateY(-2px); }
.btn--lg { padding: 18px 28px; font-size: 14px; }
.btn__arrow { display: inline-block; transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(60px, 10vw, 140px) 0 clamp(80px, 10vw, 160px);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.5fr 1fr; }
}
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero h1 em {
  font-style: italic;
  color: var(--signal);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero h1 i { font-style: italic; }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--bone-dim);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero__sub strong { color: var(--bone); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__side {
  display: flex; flex-direction: column; gap: 28px;
}
.hero__card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,74,28,.04), rgba(0,0,0,0));
  padding: 28px;
  position: relative;
}
.hero__card::before {
  content: ""; position: absolute; top: -1px; left: 24px; right: 24px;
  height: 2px; background: var(--signal);
}
.hero__card-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.hero__stat {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 6vw, 80px); line-height: 1; color: var(--bone);
  margin-bottom: 10px;
  font-variation-settings: "opsz" 144;
}
.hero__stat-cap { font-size: 14px; color: var(--bone-dim); line-height: 1.4; }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
section + section { border-top: 1px solid var(--border); }
.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 1100px;
}
@media (min-width: 800px) {
  .section__head { grid-template-columns: auto 1fr; align-items: end; gap: 56px; }
}
.section__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  min-width: 80px;
}
.section__num b { color: var(--signal); font-weight: 600; }
h2.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96;
}
h2.section__title em { font-style: italic; color: var(--signal); }

/* Featured-snippet target paragraph */
.snippet-target {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--bone);
  max-width: 70ch;
  padding-left: 24px;
  border-left: 2px solid var(--signal);
  margin-bottom: 32px;
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--bone-dim);
}
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .25s, color .25s;
}
.prose a:hover { color: var(--signal); text-decoration-color: var(--bone); }
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 2em 0 0.6em;
  color: var(--bone);
}
.prose ul, .prose ol { padding-left: 1.2em; margin: 1em 0; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--signal); }

/* ============================================================
   CARDS / FEATURE GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  transition: background .3s;
}
.card:hover { background: rgba(255, 74, 28, 0.04); }
.card__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--signal); margin-bottom: 24px; display: block;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--bone);
}
.card p { font-size: 15px; line-height: 1.6; color: var(--bone-dim); }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--border);
}
@media (min-width: 820px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan {
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 820px) {
  .plan { border-right: 1px solid var(--border); border-bottom: none; }
  .plan:last-child { border-right: none; }
}
.plan--featured { background: var(--surface); }
.plan--featured::before {
  content: "MAIS ESCOLHIDO";
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  padding: 4px 8px; background: var(--signal); color: var(--ink);
  font-weight: 700;
}
.plan__name {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.plan__price {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 64px; line-height: 1; color: var(--bone);
  font-variation-settings: "opsz" 144;
  display: flex; align-items: baseline; gap: 6px;
}
.plan__price small {
  font-family: var(--sans); font-size: 14px; color: var(--muted);
  font-style: normal; letter-spacing: 0.04em;
}
.plan__feat { list-style: none; padding: 0; }
.plan__feat li {
  font-size: 14px; line-height: 1.55; padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex; gap: 12px; color: var(--bone-dim);
}
.plan__feat li::before {
  content: "+"; color: var(--signal); font-weight: 700;
}

/* ============================================================
   STEPS (HowTo)
   ============================================================ */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .step { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
}
.step__num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(56px, 8vw, 110px); line-height: 1;
  color: var(--signal);
  font-variation-settings: "opsz" 144;
}
.step h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--bone); margin-bottom: 14px;
}
.step__body { font-size: 16px; line-height: 1.65; color: var(--bone-dim); max-width: 60ch; }
.step__body strong { color: var(--bone); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  transition: padding .3s;
}
.faq details[open] { padding: 32px 0 40px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 32px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--bone);
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--signal); }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-weight: 400;
  font-size: 28px; line-height: 1; color: var(--signal);
  flex-shrink: 0; transition: transform .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body {
  font-size: 16px; line-height: 1.65; color: var(--bone-dim);
  max-width: 70ch; margin-top: 16px;
}
.faq__body p + p { margin-top: 0.9em; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td {
  padding: 18px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.compare td strong { color: var(--bone); }
.compare td span.ok { color: var(--acid); }
.compare td span.no { color: var(--signal); }

/* ============================================================
   BIG CTA BLOCK
   ============================================================ */
.cta {
  padding: clamp(80px, 12vw, 180px) 0;
  background: linear-gradient(180deg, var(--ink), #06060A);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "TESTE GRÁTIS";
  position: absolute;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(140px, 28vw, 480px); line-height: 1;
  color: rgba(255, 74, 28, 0.04);
  bottom: -10%; right: -8%;
  pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.cta__inner {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: end;
  position: relative; z-index: 2;
}
@media (min-width: 900px) { .cta__inner { grid-template-columns: 2fr 1fr; gap: 80px; } }
.cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 7vw, 96px); line-height: 0.96;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.cta h2 em { font-style: italic; color: var(--signal); }
.cta__text {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  color: var(--bone-dim); margin-top: 28px; max-width: 55ch;
}
.cta__actions { display: flex; flex-direction: column; gap: 14px; }

/* WhatsApp floating */
.wpp {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 99;
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff;
  padding: 14px 20px; border-radius: 100px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.6);
  transition: transform .25s;
}
.wpp:hover { transform: translateY(-3px); }
.wpp svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #06060A;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  font-size: 14px;
  color: var(--bone-dim);
}
.foot {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .foot { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500;
}
.foot ul { list-style: none; }
.foot li { margin: 8px 0; }
.foot a { transition: color .25s; }
.foot a:hover { color: var(--signal); }
.foot__brand {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 32px; line-height: 1.1; color: var(--bone); margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.foot__legal {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bone-dim);
  padding: 6px 10px; border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tag b { color: var(--signal); font-weight: 600; margin-right: 4px; }

.split-rule {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
  margin: 80px 0 40px;
}
.split-rule::before, .split-rule::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.cross-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.cross-link:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.cross-link span { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 11px; }
.cross-link:hover span { color: var(--ink); }

/* Hide nav menu on small */
@media (max-width: 760px) {
  .nav__menu { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
}
