/* ============================================================
   TVMatch — Landing Page styles
   Builds on assets/ds.css (tokens + components).
   ============================================================ */

/* full-bleed alternating sections */
.lp-section { padding: clamp(72px, 10vw, 132px) 0; }
.lp-section.dark  { background: var(--ink-800); color: var(--t-on-dark); }
.lp-section.ink   { background: var(--ink-900); color: var(--t-on-dark); }
.lp-section.light { background: var(--paper); color: var(--t-on-light); }
.lp-section.purple { background: var(--purple); color: #fff; }

.lp-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 22px; color: var(--t-on-dark-dim);
}
.light .lp-kicker, .lp-section.light .lp-kicker { color: var(--t-on-light-mut); }
.lp-section.purple .lp-kicker { color: rgba(255,255,255,.75); }
.lp-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.lp-kicker.owner { color: var(--lime); }
.lp-kicker.adv { color: #b9a8ff; }
.lp-section.light .lp-kicker.adv { color: var(--purple); }

/* nav fixed-ish */
.lp-nav-wrap { position: sticky; top: 0; z-index: 50; padding: 16px 0; background: linear-gradient(var(--ink-800) 60%, transparent); }

/* Símbolo da marca = SVG oficial (substitui o quadro+play desenhado em ds.css) */
.logo__mark {
  background: url('../img/tvmatch-mark.svg') center / contain no-repeat;
  border: none !important;
  border-radius: 0;
}
.logo__mark::after { content: none !important; display: none !important; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 78% 8%, rgba(104,64,255,.20), transparent 60%),
              radial-gradient(60% 60% at 8% 95%, rgba(161,255,98,.07), transparent 60%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 940px){ .hero__grid { grid-template-columns: 1fr; gap: 44px; } }
.hero h1 { font-size: clamp(48px, 7.2vw, 92px); line-height: .94; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.hero h1 .dim { color: var(--t-on-dark-dim); }
.hero h1 .lime { color: var(--lime); }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--t-on-dark-mut); max-width: 480px; margin: 26px 0 0; }
.hero__staccato { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* device / Modo TV mock in hero */
.tv-mock {
  position: relative; background: var(--ink-900); border: 1px solid var(--ink-600);
  border-radius: var(--r-2xl); padding: 14px; box-shadow: var(--shadow-deep);
}
.tv-mock__bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.tv-mock__screen {
  position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #2a2350, #201d1d 70%);
  display: grid; place-items: center; text-align: center;
}
.tv-mock__screen .ad-stripes { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px); }
.tv-mock__foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 6px 4px; }
.tv-mock__stand { width: 120px; height: 10px; background: var(--ink-600); border-radius: 0 0 8px 8px; margin: 0 auto; }
.tv-mock__neck { width: 28px; height: 22px; background: var(--ink-600); margin: 0 auto; }
.progress-dots { display: inline-flex; gap: 6px; align-items: center; }
.progress-dots span { width: 9px; height: 4px; border-radius: 2px; background: var(--ink-500); }
.progress-dots span.on { width: 22px; background: var(--lime); }

/* ---------- step flow ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps.row-flow { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px){ .steps.row-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .steps.row-flow { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 22px; border-radius: var(--r-lg);
  border: 1px solid var(--ink-600); background: var(--ink-700);
}
.light .step, .lp-section.light .step { background: var(--white); border-color: var(--paper-3); box-shadow: var(--shadow-card); }
.step__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 14px; font-weight: 600;
}
.step--owner .step__n { background: var(--lime); color: var(--ink-900); }
.step--adv .step__n { background: var(--purple); color: #fff; }
.step h4 { font-size: 16px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.step p { font-size: 13px; line-height: 1.5; margin: 6px 0 0; color: var(--t-on-dark-mut); }
.light .step p, .lp-section.light .step p { color: var(--t-on-light-mut); }

/* numbered vertical list (how it works) */
.howlist { list-style: none; margin: 0; padding: 0; counter-reset: hl; display: grid; gap: 2px; }
.howlist li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--ink-600); }
.light .howlist li, .lp-section.light .howlist li { border-bottom-color: var(--paper-3); }
.howlist li::before {
  counter-increment: hl; content: counter(hl, decimal-leading-zero);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; min-width: 28px;
}
.howlist.owner li::before { color: var(--lime); }
.light .howlist.owner li::before { color: #5a9a2e; }
.howlist.adv li::before { color: #b9a8ff; }
.light .howlist.adv li::before { color: var(--purple); }
.howlist li span { font-size: 16px; }

/* ---------- benefit grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-600); border: 1px solid var(--ink-600); border-radius: var(--r-xl); overflow: hidden; }
.light .benefits, .lp-section.light .benefits { background: var(--paper-3); border-color: var(--paper-3); }
@media (max-width: 860px){ .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--ink-800); padding: 26px; }
.light .benefit, .lp-section.light .benefit { background: var(--paper); }
.benefit i { font-size: 24px; color: var(--lime); }
.benefit.adv i { color: var(--purple); }
.benefit h4 { font-size: 17px; font-weight: 500; margin: 14px 0 6px; letter-spacing: -.01em; }
.benefit p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--t-on-dark-mut); }
.light .benefit p, .lp-section.light .benefit p { color: var(--t-on-light-mut); }

/* ---------- place tags row ---------- */
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px){ .compare { grid-template-columns: 1fr; } }
.compare__col { border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--ink-600); }
.compare__col.bad { background: var(--ink-800); }
.compare__col.good { background: var(--purple); border-color: transparent; color: #fff; }
.compare__col h3 { font-size: 19px; font-weight: 500; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.compare__col.bad li { color: var(--t-on-dark-mut); }
.compare__col li i { margin-top: 2px; flex: none; }
.compare__col.bad li i { color: var(--coral); }
.compare__col.good li i { color: var(--lime); }

/* ---------- example flow ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flow__node { padding: 12px 18px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--paper-3); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-card); }
.flow__arrow { color: var(--t-on-light-dim); font-size: 18px; }

/* ---------- two-up section head ---------- */
.lp-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.lp-head h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.0; letter-spacing: -.03em; font-weight: 500; margin: 0; text-wrap: balance; }
.lp-head p { font-size: 19px; line-height: 1.55; margin: 22px 0 0; color: var(--t-on-dark-mut); max-width: 640px; }
.light .lp-head p, .lp-section.light .lp-head p { color: var(--t-on-light-mut); }
.lp-section.purple .lp-head p { color: rgba(255,255,255,.85); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; gap: 40px; } }

/* final CTA */
.finale { position: relative; overflow: hidden; text-align: center; }
.finale::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 50% 0%, rgba(104,64,255,.28), transparent 60%); }
.finale__inner { position: relative; max-width: 820px; margin: 0 auto; }
.finale h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: .96; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.finale .dim { color: var(--t-on-dark-dim); }
.finale__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

/* mini callout band */
.band { border-radius: var(--r-2xl); padding: clamp(32px,5vw,56px); background: var(--ink-900); border: 1px solid var(--ink-600); }
.band.lime { background: linear-gradient(120deg, var(--lime), #c9ff9a); color: var(--ink-900); border-color: transparent; }

/* ============================================================
   Responsivo
   ============================================================ */

/* Tablet */
@media (max-width: 720px) {
  /* Nav: esconde links do meio, mantém logo + ações sem estourar */
  .lp-nav-wrap { padding: 12px 0; }
  .lp-nav-wrap .nav { gap: 10px; padding: 8px 10px 8px 14px; }
  .lp-nav-wrap .nav__menu { display: none; }

  /* CTAs de jornada ocupam a largura toda e empilham */
  .hero__ctas, .finale__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .cta-journey, .finale__ctas .cta-journey { min-width: 0; width: 100%; }
}

/* Celular */
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }            /* respira mais no mobile */
  .lp-section { padding: 56px 0; }      /* seções menos altas */
  .hero { padding-top: 24px !important; }

  /* Nav compacta: encolhe logo e botões para caber em telas estreitas */
  .lp-nav-wrap .nav { gap: 8px; padding: 7px 10px 7px 12px; }
  .lp-nav-wrap .logo__word { font-size: 16px; }
  .lp-nav-wrap .nav__actions .btn { padding: 8px 11px; font-size: 12px; }

  /* títulos grandes não “vazam” */
  .hero h1, .lp-head h2, .finale h2 { word-break: break-word; }

  /* fluxo do exemplo: setas horizontais viram coluna enxuta */
  .flow { gap: 8px; }
  .flow__node { width: 100%; justify-content: center; }
  .flow__arrow { transform: rotate(90deg); align-self: center; }

  /* tags de lugares/staccato com menos respiro */
  .places, .hero__staccato { gap: 8px; }
}
