/* NuvTV — site do cliente. Mobile-first, sem build, sem bibliotecas.
 * Animação: só transform / opacity (e stroke-dashoffset no logo). Movimento reduzido = só fade. */

:root {
  --bg: #04100A;
  --bg-2: #06150D;
  --surface: #0A1D13;
  --surface-2: #0F2619;
  --surface-3: #163222;
  --line: #16301F;
  --line-2: #21412D;
  --text: #EAF3EC;
  --muted: #8DA596;
  --muted-2: #6B8574;
  --accent: #1FAE3A;
  --accent-hi: #2BC24A;
  --accent-lo: #168A2D;
  --accent-tint: rgba(31, 174, 58, .14);
  --green: #36D05A;
  --green-hi: #36D05A;
  --green-tint: rgba(54, 208, 90, .12);
  --amber: #F0A020;
  --amber-tint: rgba(240, 160, 32, .12);
  --orange: #F0A020;
  --danger: #E5484D;
  --danger-tint: rgba(229, 72, 77, .12);
  --radius: 12px;
  --radius-lg: 18px;
  --gutter: 16px;
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
main { flex: 1; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
strong { font-weight: 600; color: var(--text); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

svg[viewBox="0 0 24 24"] {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); letter-spacing: .02em; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

/* ---------- Wordmark ---------- */
.wordmark { font-weight: 800; letter-spacing: -.03em; font-size: 20px; line-height: 1; }
.wordmark-sm { font-size: 17px; }
.w-nuv { color: #fff; }
.w-tv { color: #12D17A; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(4,16,10,.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-top: env(safe-area-inset-top);
}
.topbar-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; display: block; flex: none; }
.topnav { display: none; gap: 4px; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.topnav a:hover { color: var(--text); background: var(--surface); }
@media (min-width: 820px) { .topnav { display: flex; margin-right: 8px; } }
body.is-manage .topnav { display: none; }

/* ---------- Buttons ---------- */
.btn {
  -webkit-appearance: none; appearance: none;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  min-height: 44px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .16s var(--ease-out), box-shadow .15s var(--ease);
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; pointer-events: none; }
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-sm svg[viewBox] { width: 17px; height: 17px; }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -10px rgba(31,174,58,.7); }
.btn-outline { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-soft { background: var(--accent-tint); color: #7FE59A; border-color: rgba(31,174,58,.25); }
.btn-soft svg[viewBox] { fill: currentColor; stroke: none; }
.btn-danger { background: var(--accent); color: #fff; }
.btn-danger-ghost { color: #7FE59A; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading svg, .btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-ghost.is-loading::after, .btn-soft.is-loading::after { border-color: rgba(237,237,242,.25); border-top-color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hover: só em quem tem mouse de verdade (nada fica "preso" no toque) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-danger:hover { background: var(--accent-hi); }
  .btn-outline:hover { border-color: #4a4a58; background: rgba(255,255,255,.06); }
  .btn-ghost:hover { background: var(--surface-2); }
  .btn-soft:hover { background: rgba(31,174,58,.2); color: #B5F2C3; }
  .btn-shine { overflow: hidden; }
  .btn-shine::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
    transform: translateX(-120%) skewX(-12deg); pointer-events: none;
  }
  .btn-shine:hover::before { transform: translateX(380%) skewX(-12deg); transition: transform .7s var(--ease-out); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 56px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, rgba(18,209,122,.24), rgba(18,209,122,0));
}
.blob-1 { width: 620px; height: 620px; right: -220px; top: -160px; animation: drift-1 18s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; left: -240px; top: 30%; background: radial-gradient(closest-side, rgba(138,77,255,.22), rgba(138,77,255,0)); animation: drift-2 22s ease-in-out infinite alternate; }
.blob-3 { width: 380px; height: 380px; right: 10%; bottom: -220px; background: radial-gradient(closest-side, rgba(60,139,240,.16), rgba(60,139,240,0)); animation: drift-3 26s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate3d(-90px, 70px, 0) scale(1.12); } }
@keyframes drift-2 { to { transform: translate3d(120px, -60px, 0) scale(.92); } }
@keyframes drift-3 { to { transform: translate3d(-70px, -90px, 0) scale(1.15); } }
.grain {
  position: absolute; inset: -50%; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero::after { /* desvanece a base do hero no fundo da página */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,16,10,0), var(--bg));
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1.6s steps(6) infinite; }
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-4%, 3%, 0); } 40% { transform: translate3d(3%, -5%, 0); }
  60% { transform: translate3d(-6%, -2%, 0); } 80% { transform: translate3d(5%, 4%, 0); } 100% { transform: translate3d(0, 0, 0); }
}
.hero.is-off .blob, .hero.is-off .grain, .hero.is-off .sync-ring { animation-play-state: paused; }

.hero-in { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-weight: 800; letter-spacing: -.035em; }

/* Logo da marca com abertura (port do brand/logo-animado.html) */
.nv-logo { display: flex; align-items: center; margin-bottom: 18px; }
.nv-mark { position: relative; width: clamp(54px, 14vw, 78px); height: clamp(54px, 14vw, 78px); flex: none; }
.nv-mark > span { position: absolute; inset: 0; }
.nv-mark svg { display: block; width: 100%; height: 100%; }
.nv-word { margin-left: clamp(10px, 3vw, 16px); font-size: clamp(44px, 12vw, 68px); font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; color: #fff; }
.nv-word span { display: inline-block; }
.nv-word .c { color: #12D17A; }

.nv-intro .nv-tile { opacity: 0; transform: scale(.6) rotate(-8deg); animation: nv-in 560ms var(--ease-out) 100ms forwards; }
.nv-intro .nv-cloud { opacity: 0; transform: translateY(12%) scale(.9); animation: nv-in 420ms var(--ease-out) 360ms forwards; }
.nv-intro .nv-play { opacity: 0; transform: translateX(-12%); animation: nv-in 380ms var(--ease-out) 540ms forwards; }
.nv-intro .nv-word span { opacity: 0; transform: translateY(14px); animation: nv-in 360ms var(--ease-out) forwards; }
.nv-intro .nv-word span:nth-child(1) { animation-delay: 620ms; }
.nv-intro .nv-word span:nth-child(2) { animation-delay: 665ms; }
.nv-intro .nv-word span:nth-child(3) { animation-delay: 710ms; }
.nv-intro .nv-word span:nth-child(4) { animation-delay: 755ms; }
.nv-intro .nv-word span:nth-child(5) { animation-delay: 800ms; }
.nv-intro .nv-word span:nth-child(6) { animation-delay: 845ms; }
.nv-intro .nv-word span:nth-child(7) { animation-delay: 890ms; }
@keyframes nv-draw { to { stroke-dashoffset: 0; } }
@keyframes nv-in { to { opacity: 1; transform: none; } }
@keyframes nv-fade { to { opacity: 1; } }

.h1-line { display: block; font-size: clamp(30px, 8.2vw, 54px); line-height: 1.08; text-wrap: balance; }

/* Entrada do texto do hero, em sequência, depois da abertura do logo */
.enter { opacity: 0; transform: translateY(18px); animation: nv-in 560ms var(--ease-out) forwards; animation-delay: var(--ed, 700ms); }
.h1-line.enter { --ed: 760ms; }
.lead.enter { --ed: 840ms; }
.hero-cta.enter { --ed: 920ms; }
.chip.enter:nth-child(1) { --ed: 1000ms; }
.chip.enter:nth-child(2) { --ed: 1045ms; }
.chip.enter:nth-child(3) { --ed: 1090ms; }
.chip.enter:nth-child(4) { --ed: 1135ms; }
.chip.enter:nth-child(5) { --ed: 1180ms; }
.scene.enter { --ed: 520ms; transform: translateY(24px) scale(.97); animation-duration: 900ms; }

.lead { margin-top: 18px; font-size: 17px; color: #B4B4C2; max-width: 34em; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #C9C9D4;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.chip-wait { color: #E9C27A; }
.chip-wait::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(245,165,36,.16); }
@media (min-width: 520px) { .hero-cta { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-in { grid-template-columns: 1.02fr .98fr; gap: 56px; }
  .lead { font-size: 18px; }
}

/* ---------- Cena da TV ---------- */
.scene { position: relative; width: 100%; max-width: 520px; margin: 0 auto; perspective: 1100px; }
.scene-glow {
  position: absolute; left: 10%; right: 10%; top: 8%; height: 80%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,174,58,.38), rgba(31,174,58,0));
  transform: translate3d(0, 0, 0);
}
.tv3d { transform-origin: 50% 60%; }
.tv-frame {
  container-type: inline-size;
  position: relative; border-radius: 18px; padding: 9px;
  background: linear-gradient(160deg, #22222b, #050507 40%, #0c0c10);
  box-shadow: 0 0 0 1px #2a2a35, 0 40px 80px -30px rgba(0,0,0,.95), 0 30px 90px -40px rgba(31,174,58,.55);
}
.tv-screen {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px;
  background: radial-gradient(120% 90% at 85% 0%, rgba(18,209,122,.14), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(138,77,255,.12), transparent 60%), linear-gradient(160deg, #0A2214 0%, #04100A 70%);
  font-size: 9px; font-size: 2.55cqw; line-height: 1.35;
}
.tv-sheen {
  position: absolute; inset: -20%; pointer-events: none; z-index: 3;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.06) 45%, transparent 55%);
  transform: translate3d(var(--sx, 0), 0, 0);
}
.tv-stand { width: 30%; height: 12px; margin: 0 auto; background: linear-gradient(#141419, #08080b); border-radius: 0 0 12px 12px; }

.scr {
  position: absolute; inset: 0; padding: 5.5% 6.5%;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 650ms ease;
}
.scr.is-on { opacity: 1; z-index: 1; }
/* filhos entram em sequência quando a tela aparece */
.scr .st { opacity: 0; transform: translateY(.7em); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.scr.is-on .st { opacity: 1; transform: none; }
.scr.is-on .st:nth-child(2) { transition-delay: 80ms; }
.scr.is-on .st:nth-child(3) { transition-delay: 160ms; }
.scr.is-on .st:nth-child(4) { transition-delay: 240ms; }

.scr-bar { display: flex; align-items: center; justify-content: space-between; }
.mini-logo { display: inline-flex; align-items: center; gap: .45em; }
.mini-logo svg { width: 1.9em; height: 1.9em; display: block; }
.mini-logo .wordmark { font-size: 1.35em; }
.scr-clock { font-size: 1.05em; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.scr-hello { margin-top: 1.1em; font-size: 1.5em; font-weight: 700; letter-spacing: -.02em; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-top: .9em; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 3; padding: .8em; border-radius: .8em;
  background: linear-gradient(160deg, #23232d, #17171e); border: 1px solid rgba(255,255,255,.06);
  transition: transform 380ms var(--ease-out);
}
.tile:nth-child(1) { background: linear-gradient(160deg, #0f3a1c, #0a1d12); }
.tile svg[viewBox] { width: 2.2em; height: 2.2em; color: #fff; stroke-width: 1.6; }
.tile span { font-size: 1.05em; font-weight: 700; }
.tile::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px #fff, 0 .6em 1.6em -.4em rgba(31,174,58,.8);
  opacity: 0; transition: opacity 280ms ease;
}
.tile.is-focus { transform: scale(1.07); z-index: 1; }
.tile.is-focus::after { opacity: 1; }
.rail { display: flex; gap: .7em; margin-top: auto; }
.rail i { flex: 1; aspect-ratio: 2 / 1.1; border-radius: .5em; background: linear-gradient(160deg, #2a2a35, #1a1a22); }
.rail i:nth-child(2n) { background: linear-gradient(160deg, #1c2e22, #141a16); }
.rail i:nth-child(3n) { background: linear-gradient(160deg, #1e2430, #15171d); }

.tv-pill { font-size: .95em; font-weight: 600; color: var(--amber); background: var(--amber-tint); padding: .3em .8em; border-radius: 999px; }
.scr-msg { margin-top: auto; font-size: 1.15em; color: var(--muted); }
.tv-creds { display: grid; grid-template-columns: 1.6fr 1fr; gap: .8em; margin-top: .6em; }
.tv-cred {
  background: rgba(255,255,255,.04); border: 1px solid rgba(31,174,58,.55); border-radius: .9em;
  padding: .8em 1em; box-shadow: 0 0 0 .35em rgba(31,174,58,.10);
  display: flex; flex-direction: column; gap: .2em; min-width: 0;
}
.tv-label { font-size: .9em; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.tv-value { font-family: var(--mono); font-weight: 600; font-size: 1.45em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-tag {
  grid-column: 1 / -1; justify-self: end; margin: 0 .4em -.2em 0;
  font-size: 1em; font-weight: 600; color: #fff; background: var(--accent);
  padding: .35em .9em; border-radius: 999px; transform: rotate(-3deg);
  box-shadow: 0 .5em 1.4em -.5em rgba(31,174,58,.8);
}
.scr-mac.is-on .tv-cred { animation: cred-pulse 1.8s ease-in-out 600ms 2; }
@keyframes cred-pulse { 50% { box-shadow: 0 0 0 .6em rgba(31,174,58,.22); } }

.sync-head { display: flex; align-items: center; gap: 1em; }
.sync-ring { width: 3em; height: 3em; flex: none; animation: spin 1.1s linear infinite; }
.sync-ring svg { display: block; width: 100%; height: 100%; }
.sync-title { font-size: 1.45em; font-weight: 700; letter-spacing: -.01em; }
.sync-sub { font-size: 1em; color: var(--muted); }
.sync-rows { margin-top: auto; display: grid; gap: .1em; }
.sync-row { display: flex; align-items: baseline; justify-content: space-between; padding: .45em 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sync-row span { color: var(--muted); font-size: 1.1em; }
.sync-row b { font-size: 1.5em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sync-bar { margin-top: 1em; height: .45em; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.sync-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #168A2D, #36D05A); transform: scaleX(.04); transform-origin: left; }
.scr-sync.is-on .sync-bar i { transform: scaleX(1); transition: transform 2.2s cubic-bezier(.4, .1, .2, 1) 200ms; }

.scene-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.scene-dots i { position: relative; width: 22px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.scene-dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.scene-dots i.is-on::after { transform: scaleX(1); transition: transform var(--scene-dur, 3800ms) linear; }
.scene-dots i.is-done::after { transform: scaleX(1); }

/* ---------- Números ---------- */
.stats { padding: 0 0 8px; }
.stats-row {
  list-style: none; margin: 0; padding: 18px 8px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 6px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  font-size: clamp(30px, 9vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #7FE59A); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 12px; color: var(--muted); line-height: 1.3; }
@media (min-width: 760px) { .stats-row { padding: 26px 16px; } .stat span { font-size: 14px; } }

/* ---------- Seções ---------- */
.section { padding: 56px 0; scroll-margin-top: 60px; }
.section h2 { font-size: clamp(26px, 6.5vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 10px; }
@media (min-width: 900px) { .section { padding: 80px 0; } }

/* Revelar ao rolar (só com JS ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js-ready [data-reveal] {
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Passos com linha de progresso */
.steps-wrap { position: relative; margin-top: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; }
.step {
  position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px;
}
.step-n {
  position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: #0E2416; color: #7FE59A; font-weight: 800; font-size: 16px; border: 1px solid rgba(31,174,58,.35);
}
.step-n::before { /* estado "aceso" — só opacidade */
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(160deg, #36D05A, #168A2D); box-shadow: 0 6px 18px -6px rgba(31,174,58,.8);
  opacity: 0; transition: opacity 300ms ease;
}
.step-n span { position: relative; transition: color 300ms ease; }
.step.is-lit .step-n::before { opacity: 1; }
.step.is-lit .step-n span { color: #fff; }
.step h3 { font-size: 18px; font-weight: 700; margin-top: 7px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.steps-line {
  position: absolute; z-index: 1; left: 37px; top: 38px; bottom: 38px; width: 2px; border-radius: 2px;
  background: var(--line-2); overflow: hidden;
}
.steps-fill { position: absolute; inset: 0; background: linear-gradient(180deg, #36D05A, #168A2D); transform: scaleY(0); transform-origin: top; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step { display: block; padding: 24px; }
  .step h3 { margin-top: 16px; }
  .steps-line {
    left: 43px; right: calc((100% - 32px) / 3 + 16px - 43px); top: 42px; bottom: auto; width: auto; height: 2px;
  }
  .steps-fill { background: linear-gradient(90deg, #36D05A, #168A2D); transform: scaleX(0); transform-origin: left; }
}

.devices { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.device-tile {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.device-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(240px 140px at 0% 0%, rgba(31,174,58,.16), transparent 70%);
}
.device-tile svg[viewBox] { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; stroke-width: 1.6; transition: transform .35s var(--ease-out); }
.device-tile strong { font-size: 17px; }
.device-tile span { font-size: 14px; color: var(--muted); }
.device-tile.is-soon { background: transparent; border-style: dashed; }
.device-tile.is-soon svg[viewBox] { color: var(--muted-2); }
.soon { align-self: flex-start; font-size: 12px !important; font-weight: 600; color: var(--amber) !important; background: var(--amber-tint); padding: 2px 8px; border-radius: 999px; margin-top: 2px; }
.devices li:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 760px) { .devices { grid-template-columns: repeat(3, 1fr); gap: 16px; } .devices li:last-child:nth-child(odd) { grid-column: auto; } .devices li:last-child:nth-child(3n+1) { grid-column: 1 / -1; } .device-tile { padding: 22px; } }
/* 7 aparelhos: 3 + 3 e o último na linha toda */
@media (hover: hover) and (pointer: fine) {
  .device-tile:not(.is-soon):hover { border-color: var(--line-2); }
  .device-tile:not(.is-soon):hover::before { opacity: 1; }
  .device-tile:not(.is-soon):hover svg[viewBox] { transform: translateY(-3px); }
}

.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.js-ready .faq details[data-reveal] { transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out), border-color .15s; transition-delay: var(--rd, 0ms); }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; min-height: 56px; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-a { padding: 0 18px 18px; color: #B4B4C2; font-size: 15px; }
.faq details[open] .faq-a { animation: faq-in .35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.section-cta { padding-top: 24px; }
.cta-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 28px 22px; border-radius: var(--radius-lg);
  background: radial-gradient(500px 220px at 100% 0%, rgba(31,174,58,.28), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta-mark { width: 44px; height: 44px; flex: none; }
.cta-card h2 { font-size: clamp(22px, 5.5vw, 30px); }
.cta-card p { color: var(--muted); margin-top: 8px; }
@media (min-width: 760px) {
  .cta-card { flex-direction: row; align-items: center; padding: 36px 40px; gap: 24px; }
  .cta-text { flex: 1; }
  .cta-mark { width: 56px; height: 56px; }
}

/* ---------- O app por dentro (TV e celular animados) ---------- */
.sec-lead { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 36em; }
.show { display: grid; gap: 30px; margin-top: 44px; align-items: center; }
.show + .show { margin-top: 64px; }
.show-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C9C9D4;
  padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.show-tag svg { width: 16px; height: 16px; color: var(--accent); stroke-width: 1.8; }
.show-copy h3 { margin-top: 14px; font-size: clamp(22px, 5.4vw, 30px); font-weight: 800; letter-spacing: -.025em; }
.feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.feat button {
  position: relative; display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 0; border-radius: 12px; padding: 12px 14px 12px 18px;
  transition: background-color .2s ease;
}
.feat button::before, .feat button::after { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; }
.feat button::before { background: var(--line-2); }
.feat button::after { background: var(--accent); transform: scaleY(0); transform-origin: top; }
.feat li.is-on button { background: rgba(255,255,255,.035); }
.feat li.is-on button::after { transform: scaleY(1); transition: transform var(--show-dur, 4600ms) linear; }
.feat b { display: block; font-size: 16px; font-weight: 700; color: #B4B4C2; transition: color .2s ease; }
.feat span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.feat li.is-on b { color: #fff; }
.feat button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .feat button:hover b { color: #fff; } }
.show-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.show-note { font-size: 13px; color: var(--muted); }

.show-stage { position: relative; }
.stage-glow {
  position: absolute; left: 12%; right: 12%; top: 10%; bottom: 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,174,58,.30), rgba(31,174,58,0));
}
@media (min-width: 960px) {
  .show { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .show-rev { grid-template-columns: 1.15fr .85fr; }
  .show-rev .show-copy { order: 2; }
}

/* telas em comum (TV .sv e celular .pv) */
.sv, .pv { position: absolute; display: flex; flex-direction: column; opacity: 0; transition: opacity 600ms ease; }
.sv.is-on, .pv.is-on { opacity: 1; z-index: 1; }
.sv .st, .pv .st { opacity: 0; transform: translateY(.7em); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.sv.is-on .st, .pv.is-on .st { opacity: 1; transform: none; }
.sv.is-on .st:nth-child(2), .pv.is-on .st:nth-child(2) { transition-delay: 70ms; }
.sv.is-on .st:nth-child(3), .pv.is-on .st:nth-child(3) { transition-delay: 140ms; }
.sv.is-on .st:nth-child(4), .pv.is-on .st:nth-child(4) { transition-delay: 210ms; }
.sv.is-on .st:nth-child(5), .pv.is-on .st:nth-child(5) { transition-delay: 280ms; }
.mut { color: var(--muted); }

/* capas genéricas (sem filmes reais) */
.pst { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: .45em; overflow: hidden; background: #22222b; }
.pst::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: 27%; top: 18%; border-radius: 50%; background: rgba(255,255,255,.16); }
.pst::after { content: ""; position: absolute; left: 14%; right: 26%; bottom: 10%; height: 7%; border-radius: 2px; background: rgba(255,255,255,.55); }
.c1 { background: linear-gradient(170deg, #ff7a59, #7a1630); }
.c2 { background: linear-gradient(170deg, #4f8cff, #142257); }
.c3 { background: linear-gradient(170deg, #ffcc4d, #8a3b12); }
.c4 { background: linear-gradient(170deg, #36d1a8, #0e3b46); }
.c5 { background: linear-gradient(170deg, #b46bff, #2b1157); }
.c6 { background: linear-gradient(170deg, #ff4d6d, #3a0c1c); }
.c7 { background: linear-gradient(170deg, #7ad0ff, #1b4467); }
.c8 { background: linear-gradient(170deg, #c7d36b, #3c4416); }
.c2::before, .c6::before { left: 14%; top: 40%; width: 72%; border-radius: 40% 40% 8% 8%; }
.c4::before, .c8::before { border-radius: .3em; transform: rotate(45deg); width: 40%; left: 30%; }
.pst.pg::after { left: 0; right: auto; bottom: 0; height: 5%; border-radius: 0; background: var(--accent); }
.pst.pg1::after { width: 62%; } .pst.pg2::after { width: 28%; } .pst.pg3::after { width: 81%; }

/* vídeo de mentira (gradiente que se mexe) */
.vid { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: .5em; background: linear-gradient(135deg, #1d2b4f, #0b1020); }
.vid i { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; left: -10%; top: -30%; background: radial-gradient(closest-side, rgba(79,140,255,.75), rgba(79,140,255,0)); animation: vid-a 6s ease-in-out infinite alternate; }
.vid i + i { left: 45%; top: 20%; width: 60%; background: radial-gradient(closest-side, rgba(255,77,109,.6), rgba(255,77,109,0)); animation: vid-b 7s ease-in-out infinite alternate; }
[data-ch="1"] .vid { background: linear-gradient(135deg, #0f4d2a, #07170d); }
[data-ch="1"] .vid i { background: radial-gradient(closest-side, rgba(54,209,120,.75), rgba(54,209,120,0)); }
[data-ch="2"] .vid { background: linear-gradient(135deg, #4a2a10, #160b05); }
[data-ch="2"] .vid i { background: radial-gradient(closest-side, rgba(255,204,77,.7), rgba(255,204,77,0)); }
[data-ch="3"] .vid { background: linear-gradient(135deg, #12403f, #061615); }
[data-ch="3"] .vid i { background: radial-gradient(closest-side, rgba(54,209,168,.7), rgba(54,209,168,0)); }
@keyframes vid-a { to { transform: translate3d(40%, 30%, 0) scale(1.2); } }
@keyframes vid-b { to { transform: translate3d(-50%, -20%, 0) scale(.85); } }
.live-tag { position: absolute; left: .6em; top: .6em; font-size: .62em; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--accent); padding: .2em .6em; border-radius: .3em; }

/* ---- TV ---- */
.sv-screen { aspect-ratio: 16 / 9; font-size: 8px; font-size: 2.2cqw; }
.sv { inset: 0; padding: 4% 4.5%; }
.is-f { position: relative; z-index: 2; }
.sv-top { display: flex; align-items: center; gap: 1em; }
.sv-list { color: var(--muted); font-size: 1.05em; }
.sv-ok { margin-left: auto; font-size: .85em; font-weight: 700; color: var(--green); background: var(--green-tint); padding: .3em .8em; border-radius: 999px; }
.sv-clock { font-size: 1.25em; font-weight: 700; font-variant-numeric: tabular-nums; }
.sv-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-top: 1.3em; }
.sv-bt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25em;
  aspect-ratio: 1.9 / 1; border-radius: .9em; background: linear-gradient(160deg, #23232d, #18181f);
  border: 1px solid rgba(255,255,255,.06); transition: transform 320ms var(--ease-out), background-color 320ms ease;
}
.sv-bt svg { width: 2.6em; height: 2.6em; stroke-width: 1.7; color: #d8d8e2; }
.sv-bt b { font-size: 1.3em; }
.sv-bt small { font-size: .82em; color: var(--muted); }
.sv-bt.is-f { transform: scale(1.04); background: linear-gradient(160deg, #1FAE3A, #0B5C1E); box-shadow: 0 0 0 2px #fff, 0 .8em 2em -.6em rgba(31,174,58,.9); }
.sv-bt.is-f small { color: rgba(255,255,255,.85); }
.sv-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin: .9em 8% 0; }
.sv-small span { text-align: center; font-size: .8em; padding: .7em 0; border-radius: .6em; background: #1b1b23; color: #C9C9D4; }
.sv-h { margin-top: 1.1em; font-size: .95em; font-weight: 700; }
.sv-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: .6em; margin-top: .5em; }

.sv-vod { flex-direction: row; gap: 1.2em; }
.sv-side { width: 30%; flex: none; display: flex; flex-direction: column; gap: .7em; }
.sv-search { display: flex; align-items: center; gap: .6em; font-size: .85em; color: var(--muted); padding: .7em .9em; border-radius: .6em; background: #1b1b23; }
.sv-search svg { width: 1.3em; height: 1.3em; stroke-width: 2; }
.sv-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .15em; }
.sv-cats li, .sv-lcats li { display: flex; justify-content: space-between; gap: .5em; font-size: .85em; padding: .55em .8em; border-radius: .5em; color: #C9C9D4; white-space: nowrap; overflow: hidden; transition: background-color 220ms ease, color 220ms ease; }
.sv-cats em, .sv-lcats em { font-style: normal; color: var(--muted); }
.sv-cats li.is-sel, .sv-lcats li.is-sel { color: #7FE59A; background: var(--accent-tint); }
.sv-cats li.is-f { color: #fff; background: var(--accent); }
.sv-cats li.is-f em { color: rgba(255,255,255,.8); }
.sv-grid { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: .9em .8em; align-content: start; }
.sv-pc span { display: block; height: .55em; width: 80%; margin-top: .45em; border-radius: 2px; background: #2a2a35; }
.sv-pc .pst { transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.sv-pc.is-f .pst { transform: scale(1.08); box-shadow: 0 0 0 2px #fff, 0 .8em 1.6em -.5em rgba(0,0,0,.9); }
.sv-grid[data-set="b"] .pst { filter: hue-rotate(150deg) saturate(1.15); }
.sv-grid.swap .sv-pc { animation: sv-swap 460ms var(--ease-out) both; }
.sv-grid.swap .sv-pc:nth-child(n+6) { animation-delay: 60ms; }
@keyframes sv-swap { from { opacity: 0; transform: translateY(.5em); } }

.sv-live { flex-direction: row; gap: 1.1em; }
.sv-lcats { list-style: none; margin: 0; padding: 0; width: 19%; flex: none; display: grid; gap: .15em; align-content: start; }
.sv-chs { list-style: none; margin: 0; padding: 0; width: 32%; flex: none; display: grid; gap: .2em; align-content: start; }
.sv-chs li { display: flex; align-items: center; gap: .6em; font-size: .85em; padding: .45em .6em; border-radius: .5em; transition: background-color 220ms ease; }
.sv-chs em, .pv-chs em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.lg { width: 2.2em; height: 1.6em; flex: none; border-radius: .3em; }
.l1 { background: linear-gradient(135deg, #4f8cff, #1d3d8f); } .l2 { background: linear-gradient(135deg, #36d178, #0e5a2e); }
.l3 { background: linear-gradient(135deg, #ffcc4d, #a0581c); } .l4 { background: linear-gradient(135deg, #36d1a8, #116052); }
.l5 { background: linear-gradient(135deg, #ff7ac6, #8a2a6a); }
.sv-chs li.is-sel { background: rgba(255,255,255,.05); }
.sv-chs li.is-f { background: var(--accent); }
.sv-chs li.is-f em { color: rgba(255,255,255,.85); }
.sv-prev { flex: 1; min-width: 0; }
.sv-prev b { display: block; margin-top: .7em; font-size: 1.05em; }
.sv-prev p { font-size: .82em; margin-top: .25em; }
.epg { height: .35em; border-radius: 999px; background: rgba(255,255,255,.1); margin-top: .5em; overflow: hidden; }
.epg i { display: block; height: 100%; width: 45%; background: var(--accent); border-radius: inherit; }

/* detalhe do filme (TV e celular): fundo, ficha, elenco com foto e "Mais em" */
.sv-det { padding: 0; overflow: hidden; background: #04100A; }
.dt-page { position: relative; padding: 4% 4.5%; transition: transform 650ms cubic-bezier(.77, 0, .175, 1); }
.dt-bg, .pd-bg {
  background:
    linear-gradient(90deg, #04100A 8%, rgba(4,16,10,.55) 45%, rgba(4,16,10,0) 75%),
    linear-gradient(0deg, #04100A, rgba(4,16,10,0) 50%),
    repeating-radial-gradient(circle at 72% 38%, rgba(255,255,255,.07) 0 .15em, rgba(255,255,255,0) .15em 1.4em),
    linear-gradient(150deg, #ff7a59, #7a1630 55%, #2a0b16);
}
.dt-bg { position: absolute; top: 0; right: 0; width: 78%; height: 17em; }
.dt-hero { position: relative; display: flex; gap: 1.6em; align-items: flex-start; }
.dt-poster { width: 8.6em; flex: none; box-shadow: 0 1em 2em -.8em rgba(0,0,0,.9); }
.dt-info { min-width: 0; padding-top: .3em; }
.dt-kick { display: block; font-size: .7em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #F0A020; }
.dt-title { display: block; margin-top: .15em; font-size: 1.9em; line-height: 1.1; }
.pd-title { display: block; margin-top: .1em; font-size: 1.35em; line-height: 1.15; }
.dt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .8em; margin-top: .5em; font-size: .8em; color: #C9C9D4; }
.dt-cert { padding: 0 .45em; border-radius: .25em; background: #F08A24; color: #111; font-weight: 800; }
.dt-plot { display: grid; gap: .45em; margin-top: .9em; max-width: 24em; }
.dt-plot i { display: block; height: .5em; border-radius: 2px; background: rgba(255,255,255,.2); }
.dt-plot i:last-child { width: 62%; }
.dt-cred { margin-top: .8em; font-size: .75em; color: #C9C9D4; }
.dt-cred span { color: var(--muted); margin-right: .3em; }
.dt-btns, .pd-btns { display: flex; gap: .7em; margin-top: 1.1em; }
.dt-bt {
  display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.2em; border-radius: .55em;
  background: rgba(255,255,255,.1); font-size: .85em; font-weight: 700; transition: background-color 220ms ease, box-shadow 220ms ease;
}
.dt-bt svg { width: 1.1em; height: 1.1em; fill: currentColor; stroke: none; }
.dt-bt:not(:first-child) svg { fill: none; stroke: currentColor; stroke-width: 2; }
.dt-bt.is-f { background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.dt-cast { display: grid; grid-template-columns: repeat(8, 1fr); gap: .7em; margin-top: .6em; }
.dt-ps { min-width: 0; text-align: center; }
.dt-ps b, .dt-ps small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-ps b { margin-top: .45em; font-size: .68em; }
.dt-ps small { font-size: .6em; color: var(--muted); }
.av { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.av::before { content: ""; position: absolute; width: 40%; aspect-ratio: 1; left: 30%; top: 20%; border-radius: 50%; background: rgba(255,255,255,.32); }
.av::after { content: ""; position: absolute; width: 80%; height: 60%; left: 10%; top: 66%; border-radius: 50%; background: rgba(255,255,255,.32); }
.a1 { background: linear-gradient(160deg, #c9876b, #4a2418); } .a2 { background: linear-gradient(160deg, #7c8fb0, #1f2a40); }
.a3 { background: linear-gradient(160deg, #b98a5e, #3d2612); } .a4 { background: linear-gradient(160deg, #8a9a7a, #263020); }
.a5 { background: linear-gradient(160deg, #b07ca0, #3a1a33); } .a6 { background: linear-gradient(160deg, #9a9aa8, #2a2a33); }
.dt-ps.is-f .av { transform: scale(1.08); box-shadow: 0 0 0 .2em var(--accent); }
.dt-more { margin-top: .6em; }

/* ---- Celular ---- */
.ph-stage { display: grid; place-items: center; }
.phone {
  width: min(250px, 62vw); aspect-ratio: 9 / 19.5; padding: 7px; border-radius: 34px; container-type: size;
  background: linear-gradient(160deg, #2a2a33, #050507 45%, #121218);
  box-shadow: 0 0 0 1px #2a2a35, 0 40px 80px -30px rgba(0,0,0,.95), 0 30px 90px -40px rgba(31,174,58,.55);
  transition: transform 750ms cubic-bezier(.77, 0, .175, 1);
}
.phone.is-land { transform: rotate(-90deg) scale(var(--land-s, .7)); }
.phone-screen {
  position: relative; height: 100%; border-radius: 27px; overflow: hidden;
  background: #04100A; font-size: 9px; font-size: 3.9cqw; line-height: 1.3;
}
.pv-status { position: absolute; left: 0; right: 0; top: 0; height: 6%; padding: 0 8%; display: flex; align-items: center; justify-content: space-between; font-size: .95em; font-weight: 600; z-index: 3; }
.pv-sig { display: flex; align-items: flex-end; gap: .15em; height: .9em; }
.pv-sig i { width: .28em; background: #fff; border-radius: 1px; height: 45%; }
.pv-sig i + i { height: 70%; } .pv-sig i + i + i { height: 100%; }
.pv { left: 0; right: 0; top: 6%; bottom: 10%; padding: 0 5%; overflow: hidden; }
.pv > * { flex: none; }
.pv-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 10%; display: grid; grid-template-columns: repeat(5, 1fr); background: #121218; border-top: 1px solid rgba(255,255,255,.06); z-index: 3; }
.pv-tabs i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2em; font-style: normal; color: var(--muted); transition: color 250ms ease; }
.pv-tabs svg { width: 1.9em; height: 1.9em; stroke-width: 1.8; }
.pv-tabs span { font-size: .78em; }
.pv-tabs i.is-on { color: var(--accent); }

.pv-head { padding: .9em 0 .2em; }
.pv-head .mini-logo { font-size: 1.15em; }
.pv-h { display: flex; justify-content: space-between; align-items: baseline; margin: .9em 0 .5em; font-size: 1.05em; font-weight: 700; }
.pv-h small { font-size: .8em; font-weight: 500; color: var(--muted); }
.pv-row { overflow: hidden; margin: 0 -5.5%; padding: 0 5.5%; }
.pv-track { display: flex; gap: .55em; }
.pv-track .pst { width: 30%; flex: none; }
.pv.is-on .pv-run { animation: pv-run 3.4s cubic-bezier(.45, 0, .2, 1) 900ms both; }
@keyframes pv-run { 0% { transform: none; } 55%, 100% { transform: translate3d(-52%, 0, 0); } }

.pv-title { display: flex; align-items: center; justify-content: space-between; padding: .9em 0 .6em; }
.pv-title b { font-size: 1.6em; }
.pv-title svg { width: 1.7em; height: 1.7em; stroke-width: 2; }
.pv-catbar { display: flex; align-items: center; gap: .6em; padding: .8em 1em; border-radius: .7em; background: #1b1b23; font-size: .95em; }
.pv-catbar span { flex: 1; font-weight: 700; }
.pv-catbar em { font-style: normal; color: var(--muted); }
.pv-catbar i { width: .5em; height: .5em; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-.15em); }
.pv > .pv-gridwin { flex: 1; min-height: 0; overflow: hidden; margin-top: .7em; }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.pv.is-on .pv-grid { animation: pv-fling 3.6s cubic-bezier(.15, .75, .25, 1) 700ms both; }
@keyframes pv-fling { 0% { transform: none; } 70%, 100% { transform: translate3d(0, -48%, 0); } }

.pv-prev { margin: 0 -5.5%; }
.pv-prev .vid { border-radius: 0; }
.pv-now { padding: .7em 0 .6em; }
.pv-now b { display: block; font-size: 1.05em; }
.pv-now p { font-size: .82em; margin-top: .2em; }
.pv-chs { list-style: none; margin: .5em 0 0; padding: 0; }
.pv-chs li { display: flex; align-items: center; gap: .7em; padding: .7em .3em; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .95em; transition: background-color 220ms ease; }
.pv-chs li span { flex: 1; }
.pv-chs .star::before { content: "★"; color: #4a4a58; }
.pv-chs li.is-f { background: rgba(31,174,58,.14); }
.pv-chs li.is-f span::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .5em; border-radius: 50%; background: var(--accent); vertical-align: middle; }

.pv.is-on .pd-page { animation: pd-scroll 3.4s cubic-bezier(.45, 0, .2, 1) 1.1s both; }
@keyframes pd-scroll { 0% { transform: none; } 60%, 100% { transform: translate3d(0, -4em, 0); } }
.pd-bg { margin: 0 -5.5%; aspect-ratio: 16 / 9; }
.pd-head { position: relative; display: flex; gap: .9em; align-items: flex-end; margin-top: -4.2em; }
.pd-poster { width: 30%; flex: none; box-shadow: 0 .8em 1.6em -.6em rgba(0,0,0,.9); }
.pd-btns .dt-bt:first-child { flex: 1; justify-content: center; box-shadow: none; }
.pd-cast .dt-ps { width: 23%; flex: none; }
.pd-cast .dt-ps b { font-size: .78em; }
.pd-cast .dt-ps small { font-size: .7em; }

.pv-player { inset: 0; padding: 0; z-index: 5; background: #000; }
.pv-player.is-on { z-index: 5; }
.pv-land {
  position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw;
  transform: translate(-50%, -50%) rotate(90deg);
}
.vid.big { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: linear-gradient(135deg, #3a1a4f, #0d0616); }
.vid.big i { background: radial-gradient(closest-side, rgba(255,122,89,.7), rgba(255,122,89,0)); }
.pl-ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4% 4.5%; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,.6)); font-size: 1.15em; }
.pl-top { display: flex; align-items: center; gap: .8em; font-weight: 600; }
.pl-top svg { width: 1.4em; height: 1.4em; stroke-width: 2; }
.pl-mid { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2.4em; }
.pl-mid span { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: rgba(0,0,0,.45); font-weight: 700; font-size: .9em; }
.pl-mid b { display: flex; gap: .45em; align-items: center; justify-content: center; width: 4.2em; height: 4.2em; border-radius: 50%; background: rgba(0,0,0,.5); }
.pl-mid b i { width: .5em; height: 1.6em; background: #fff; border-radius: 2px; }
.pl-bar { height: .3em; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 30%; background: var(--accent); transform-origin: left; }
.pv-player.is-on .pl-bar i { animation: pl-bar 4s linear both; }
@keyframes pl-bar { to { transform: scaleX(1.12); } }
.pl-times { display: flex; justify-content: space-between; margin-top: .5em; font-size: .8em; color: #ddd; }

.showcase.is-off .vid i, .showcase.is-off .pv-run, .showcase.is-off .pv-grid, .showcase.is-off .pd-page { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .vid i, .pv.is-on .pv-run, .pv.is-on .pv-grid, .pv.is-on .pd-page, .pv-player.is-on .pl-bar i, .sv-grid.swap .sv-pc { animation: none; }
  .dt-page { transition: none; }
  .phone { transition: none; }
  .sv .st, .pv .st { transform: none; }
}

/* ---------- Instalação pelo Downloader (janela) ---------- */
.code-inline { font-family: var(--mono); font-weight: 700; color: #fff; letter-spacing: .04em; }
.dl-dialog {
  width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  margin: auto; padding: 22px 20px 20px; border-radius: var(--radius-lg);
  background: radial-gradient(420px 200px at 100% 0%, rgba(31,174,58,.16), transparent 70%), var(--surface);
  color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.dl-dialog::backdrop { background: rgba(5,5,8,.72); backdrop-filter: blur(3px); }
.dl-dialog[open] { animation: dl-in 220ms var(--ease-out); }
@keyframes dl-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.dl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dl-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.dl-x { flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin: -6px -6px 0 0; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.dl-x svg[viewBox] { width: 20px; height: 20px; }
.dl-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dl-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.dl-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.dl-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(160deg, #36D05A, #168A2D); }
.dl-steps li > div > b, .dl-qr-row b { display: block; font-size: 16px; }
.dl-steps li > div > span, .dl-qr-row div > span { display: block; margin-top: 3px; font-size: 14.5px; color: #B4B4C2; }
.dl-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 10px 10px 16px; border-radius: 12px; background: #0f0f15; border: 1px solid rgba(31,174,58,.45); box-shadow: 0 0 0 4px rgba(31,174,58,.08); }
.dl-digits { font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: .12em; color: #fff; }
.dl-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.dl-qr-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.dl-qr { flex: none; width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 6px; }
.dl-link { color: #7FE59A; font-weight: 600; }
.dl-alt { margin-top: 18px; font-size: 14px; color: #B4B4C2; }
.dl-dialog .only-phone { display: none; }
.dl-dialog.is-phone .only-phone { display: block; }
.dl-dialog.is-phone .only-desk { display: none; }
.dl-go { margin-top: 16px; }
.dl-go .btn { width: 100%; }
.dl-go span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.btn.is-copied { border-color: var(--green); color: var(--green); }
@media (prefers-reduced-motion: reduce) { .dl-dialog[open] { animation: none; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 24px; }
.footer-in { display: flex; flex-direction: column; gap: 10px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand svg { width: 24px; height: 24px; display: block; }
.disclaimer { color: var(--muted); font-size: 14px; }
.copy { color: var(--muted-2); font-size: 13px; }
@media (min-width: 760px) { .footer-in { flex-direction: row; align-items: center; gap: 24px; } .copy { margin-left: auto; } }

/* ---------- Cards & forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.h-card { font-size: 26px; font-weight: 800; }
.h-block { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.label-xs { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.field { margin-top: 16px; }
.field label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.opt { font-weight: 500; font-size: 12px; color: var(--muted-2); }
input[type="text"], input[type="password"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 16px; /* 16px evita zoom no iOS */
  color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
input::placeholder { color: #55555F; }
input:hover { border-color: #44444f; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,174,58,.22); background: #101017; }
input[aria-invalid="true"] { border-color: #ff5a68; }
input.mono { font-family: var(--mono); letter-spacing: .06em; font-size: 17px; }
.key-input { letter-spacing: .4em !important; }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.form-error {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--radius);
  background: rgba(31,174,58,.1); border: 1px solid rgba(31,174,58,.35); color: #B5F2C3; font-size: 14px;
}
form .btn-block { margin-top: 20px; }

.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 54px; }
.pass-toggle {
  position: absolute; right: 3px; top: 3px; bottom: 3px; width: 48px;
  display: grid; place-items: center; background: transparent; border: 0; border-radius: 10px;
  color: var(--muted); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .pass-toggle:hover { color: var(--text); background: rgba(255,255,255,.04); } }
.pass-toggle .i-eye-off { display: none; }
.pass-toggle[aria-pressed="true"] .i-eye { display: none; }
.pass-toggle[aria-pressed="true"] .i-eye-off { display: block; }

/* ---------- Manage: login ---------- */
.manage-login { padding: 24px 0 48px; }
.wrap-login { max-width: 460px; }
.back {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500; min-height: 44px; margin-bottom: 8px;
}
.back:hover { color: var(--text); }
.login-card { padding: 24px 20px; position: relative; overflow: hidden; }
.login-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); }
.login-card > .muted { margin-top: 8px; font-size: 15px; }
.login-foot { margin-top: 16px; font-size: 13px; text-align: center; padding: 0 12px; }
@media (min-width: 520px) { .manage-login { padding-top: 48px; } .login-card { padding: 32px 28px; } }

/* ---------- Manage: dashboard ---------- */
.dash { padding: 20px 0 48px; }
.dash-grid { display: grid; gap: 20px; }
@media (min-width: 940px) {
  .dash { padding-top: 36px; }
  .dash-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
  .dash-side { position: sticky; top: 80px; }
}

.device-card { padding: 18px; }
.device-head { display: flex; align-items: center; gap: 12px; }
.device-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); flex: none; }
.device-id { min-width: 0; flex: 1; }
.device-mac { display: block; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-meta { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.device-meta > div { display: contents; }
.device-meta dt { color: var(--muted); font-size: 14px; padding: 4px 0; }
.device-meta dd { margin: 0; font-size: 14px; font-weight: 500; padding: 4px 0; text-align: right; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-trial { background: var(--amber-tint); color: var(--amber); border-color: rgba(245,165,36,.25); }
.badge-active { background: var(--green-tint); color: var(--green); border-color: rgba(34,197,94,.25); }
.badge-expired, .badge-blocked { background: var(--accent-tint); color: #F0A020; border-color: rgba(31,174,58,.3); }
.badge-live { background: var(--green-tint); color: var(--green); padding: 4px 8px; font-size: 11px; }

.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: rgba(245, 165, 36, .07); border: 1px solid rgba(245, 165, 36, .22);
  color: #d9cfb8; font-size: 14px;
}
.notice svg[viewBox] { color: var(--amber); margin-top: 1px; }
.notice strong { color: #ffdca0; }
.notice.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(245,165,36,.5); } 100% { box-shadow: 0 0 0 10px rgba(245,165,36,0); } }

.block-head { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 12px; }
.count { color: var(--muted); font-size: 14px; }

.playlists { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pl {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; display: grid; gap: 12px; min-width: 0;
  transition: border-color .15s;
}
.pl.is-new { animation: pl-in 420ms var(--ease-out); }
@keyframes pl-in { from { opacity: 0; transform: translateY(8px); } }
.pl.is-selected { border-color: rgba(34, 197, 94, .35); background: linear-gradient(180deg, rgba(34,197,94,.05), transparent 60%), var(--surface); }
.pl-main { min-width: 0; }
.pl-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pl-name { font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pl-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.type-chip {
  flex: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 7px; border-radius: 6px; background: var(--surface-3); color: #c4c4d0;
}
.type-chip[data-type="partner"] { background: var(--accent-tint); color: #7FE59A; }
.pl-detail { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pl-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pl-actions .btn { padding: 0 8px; }
.pl.is-selected .pl-actions { grid-template-columns: repeat(2, 1fr); }
.pl-confirm {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 10px 12px; border-radius: 10px; background: rgba(31,174,58,.08); border: 1px solid rgba(31,174,58,.3);
}
.pl-confirm span { flex: 1 1 100%; font-size: 14px; font-weight: 600; color: #B5F2C3; }
.pl-confirm .btn { flex: 1; }
@media (min-width: 560px) {
  .pl { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 14px 16px; }
  .pl-actions, .pl.is-selected .pl-actions { display: flex; }
  .pl-confirm { grid-column: 1 / -1; }
  .pl-confirm span { flex: 1 1 auto; }
  .pl-confirm .btn { flex: none; }
}

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 28px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); font-size: 14px;
}
.empty svg[viewBox] { width: 28px; height: 28px; color: var(--muted-2); }

/* Form card */
.form-card { padding: 18px; scroll-margin-top: 76px; }
.form-card.is-editing { border-color: rgba(31,174,58,.45); box-shadow: 0 0 0 3px rgba(31,174,58,.1); }
.form-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.tabs {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px;
  padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
}
.tab {
  -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; font-weight: 600;
  position: relative; z-index: 1;
  min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer;
  transition: color .2s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #fff; }
.tab-ind { /* indicador deslizante da aba ativa */
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 16px) / 3); border-radius: 9px;
  background: var(--surface-3); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 2px 8px rgba(0,0,0,.3);
  transform: translateX(calc(var(--ti, 0) * (100% + 4px)));
  transition: transform 280ms var(--ease-out);
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tab-help { margin-top: 14px; font-size: 14px; color: var(--muted); }

.partner-status { margin-top: 8px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.partner-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.partner-status.ok { color: var(--green); }
.partner-status.err { color: #F0A020; }
.partner-status.wait { color: var(--muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50;
  transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center;
  background: #fff; color: #04100A; font-weight: 600; font-size: 15px;
  padding: 12px 18px; border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  animation: toast-in .25s var(--ease);
}
.toast.is-error { background: var(--accent); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }


/* Botão de salvar: confirmação com check desenhado */
.btn-submit .btn-label, .btn-submit .btn-done { transition: opacity .2s ease, transform .28s var(--ease-out); }
.btn-done {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
}
.btn-done svg[viewBox] { width: 22px; height: 22px; stroke-width: 2.6; }
.check-path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn-submit.is-success { background: #16A34A; box-shadow: 0 8px 24px -10px rgba(22,163,74,.7); pointer-events: none; }
.btn-submit.is-success .btn-label { opacity: 0; transform: translateY(-6px); }
.btn-submit.is-success .btn-done { opacity: 1; transform: none; }
.btn-submit.is-success .check-path { animation: check-draw 420ms var(--ease-out) 80ms forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 419px) {
  .device-icon { display: none; }
  .device-mac { font-size: 16px; }
}

/* ---------- Movimento reduzido: só fade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .grain { animation: none !important; }
  .nv-intro .nv-tile, .nv-intro .nv-cloud { transform: none; animation: nv-fade 300ms ease forwards; }
  .nv-intro .nv-play, .nv-intro .nv-word span { transform: none; animation: nv-fade 300ms ease forwards; }
  .enter, .scene.enter { transform: none; animation-name: nv-fade; animation-duration: 400ms; }
  .js [data-reveal] { transform: none; }
  .js-ready [data-reveal], .js-ready .faq details[data-reveal] { transition: opacity 400ms ease; transition-delay: 0ms; }
  .scr .st { transform: none; transition: opacity 400ms ease; }
  .tile, .tile.is-focus { transform: none; }
  .sync-ring { animation: nv-pulse 1600ms ease-in-out infinite alternate; }
  .scr-mac.is-on .tv-cred { animation: none; }
  .scr-sync.is-on .sync-bar i, .scene-dots i.is-on::after { transition: none; }
  .btn, .btn:active { transform: none; }
  .tab-ind { transition: none; }
  .faq summary::after { transition: none; }
  .faq details[open] .faq-a, .pl.is-new, .toast { animation: nv-fade-from .3s ease; }
  .check-path { stroke-dashoffset: 0; }
  .btn-submit.is-success .check-path { animation: none; }
  .btn-submit .btn-label, .btn-submit .btn-done { transform: none !important; }
  .notice.flash { animation: none; }
}
@keyframes nv-pulse { from { opacity: .55; } to { opacity: 1; } }
@keyframes nv-fade-from { from { opacity: 0; } }

/* anti-robô (Turnstile) no login */
.turnstile-box { min-height: 65px; margin: 4px 0 12px; }

/* =====================================================================
   NuvTV: telas do app (barra de abas no topo, colunas escuras, laranja/verde)
   ===================================================================== */
#futebol { scroll-margin-top: 80px; }
.tv-cred-key .tv-value { color: var(--orange); }
.live-tag { background: var(--danger); }

.scr.scr-home { padding: 0; }
.scr .nvb { font-size: .86em; }
.sv.nv { padding: 0; }
.nvb { position: relative; display: flex; align-items: center; height: 3.4em; flex: none; padding-right: 1.1em; }
.nvb-brand {
  display: flex; align-items: center; gap: .45em; height: 100%; padding: 0 2.6em 0 1em; flex: none;
  background: rgba(40, 40, 40, .8); -webkit-clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.nvb-brand svg { width: 2em; height: 2em; display: block; }
.nvb-brand b { font-size: 1.2em; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.nvb-brand b span { color: #12D17A; }
.nvb-tabs { display: flex; align-items: center; gap: .1em; margin-left: .2em; min-width: 0; overflow: hidden; }
.nvb-tabs i { font-style: normal; font-size: .8em; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .05em; padding: .35em .65em .45em; white-space: nowrap; }
.nvb-tabs i.on { color: var(--green-hi); box-shadow: inset 0 -.18em 0 var(--accent); }
.nvb-tabs .nvb-kids { font-weight: 900; letter-spacing: .1em; }
.nvb-kids span:nth-child(1) { color: #FF4D6D; } .nvb-kids span:nth-child(2) { color: #FFD23F; }
.nvb-kids span:nth-child(3) { color: #3FA7FF; } .nvb-kids span:nth-child(4) { color: #7DDC5A; }
.nvb-clock { margin-left: auto; padding-left: .6em; font-size: 1.05em; font-weight: 600; color: var(--orange); font-variant-numeric: tabular-nums; }

.nvx { flex: 1; min-height: 0; display: flex; gap: .8em; padding: .7em 1em 1em; overflow: hidden; }
.nvc { flex: none; background: rgba(8, 8, 8, .82); border-radius: .45em; padding: 0 .45em .45em; overflow: hidden; }
.nvc-h { margin: 0 -.45em .4em; padding: .5em .9em; background: #1E1E1E; font-weight: 700; font-size: .85em; color: #fff; }
.nvc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1em; }
.nvc-list li { display: flex; align-items: center; gap: .5em; font-size: .8em; padding: .45em .6em; border-radius: .35em; color: #DDD; white-space: nowrap; overflow: hidden; transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.nvc-list em { font-style: normal; margin-left: auto; color: var(--muted); }
.nvc-list li.is-sel { color: #FFE000; font-weight: 700; }
.nvc-list li.is-f { background: #050505; color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.nvc-side { width: 28%; }
.nvc-cats { width: 21%; }
.nvc-chs { width: 31%; }
.nvc-chs li span { color: var(--orange); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.nvc-chs li em { margin-left: 0; font-variant-numeric: tabular-nums; }
.nvc-chs li.is-sel { color: #DDD; font-weight: 400; background: rgba(255, 255, 255, .05); }
.nvc-chs li.is-f span { color: var(--green-hi); }
.nvc-search { display: flex; align-items: center; gap: .5em; font-size: .78em; color: var(--muted); padding: .5em .8em; border-radius: 999px; background: #1E1E1E; margin-bottom: .4em; }
.nvc-search svg[viewBox] { width: 1.2em; height: 1.2em; stroke-width: 2; }
.nvp { flex: 1; min-width: 0; }
.nvp b { display: block; margin-top: .6em; font-size: 1em; }
.nvp p { font-size: .8em; margin-top: .2em; }
.nv .sv-pc span { margin-left: auto; margin-right: auto; }

/* capas da cena do topo: o foco anda pelas capas */
.nvg { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: .7em; align-content: start; }
.nvg-pc .pst { transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.nvg-pc.is-focus .pst { transform: scale(1.08); box-shadow: 0 0 0 2px #fff, 0 .8em 1.6em -.5em rgba(0, 0, 0, .9); }

/* Kids */
.kd-sw { display: flex; gap: .3em; margin: .45em 0 .5em; }
.kd-b { flex: 1; text-align: center; font-size: .75em; font-weight: 700; padding: .4em .2em; border-radius: 999px; background: rgba(255, 255, 255, .08); transition: background-color 220ms ease, color 220ms ease; }
.kd-b.on { background: #0B8A1F; }
.kd-b.is-f { background: #fff; color: #04100A; }

/* Futebol: jogos do dia */
.fbx { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: .7em 1.4em 1em; transition: opacity 400ms ease; }
.fbx-dim { opacity: .45; }
.fb-days { display: flex; align-items: center; gap: .35em; }
.fb-days .kd-b { flex: none; padding: .4em 1.1em; }
.fb-days .fb-rem { margin-left: .6em; }
.fb-ttl { margin-left: auto; font-size: .9em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7em .8em; margin-top: .8em; }
.fb-card {
  min-width: 0; background: rgba(10, 10, 12, .88); border: 1px solid rgba(255, 255, 255, .08); border-radius: .6em; padding: .55em .8em;
  transition: transform 300ms var(--ease-out), border-color 220ms ease, background-color 220ms ease;
}
.fb-card.fb-on { border-color: var(--accent); }
.fb-card.fb-bell { border-color: var(--orange); }
.fb-card.is-f { border-color: #fff; background: #151515; transform: scale(1.02); }
.fb-lg { display: flex; align-items: center; gap: .45em; font-size: .68em; color: rgba(255, 255, 255, .65); margin-bottom: .35em; }
.fb-lg span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-lg em { font-style: normal; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.fb-lg em.on { color: var(--green-hi); font-weight: 700; }
.fb-bell .fb-lg em { color: var(--orange); font-weight: 700; }
.fb-ll { width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; flex: none; }
.fb-tm { display: flex; align-items: center; gap: .55em; height: 1.75em; }
.fb-tm span { flex: 1; min-width: 0; font-size: .9em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-tm b { font-size: 1.05em; width: 1.6em; text-align: right; font-variant-numeric: tabular-nums; }
.fb-tv { margin-top: .25em; font-size: .7em; font-weight: 700; color: var(--green-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm { width: 1.35em; height: 1.35em; flex: none; border-radius: .3em .3em 50% 50%; }
.t1 { background: linear-gradient(135deg, #ff4d6d, #8a1030); } .t2 { background: linear-gradient(135deg, #4f8cff, #142257); }
.t3 { background: linear-gradient(135deg, #ffcc4d, #a0581c); } .t4 { background: linear-gradient(135deg, #36d178, #0e5a2e); }
.t5 { background: linear-gradient(135deg, #b46bff, #2b1157); } .t6 { background: linear-gradient(135deg, #7ad0ff, #1b4467); }

/* Futebol: placar ao vivo e escalação */
.sv.fbd { padding: 1.3em 2.4em 1em; background: #04100A; }
.fbd-hero { background: rgba(255, 255, 255, .05); border-radius: .8em; padding: .8em 1.4em; }
.fbd-lg { font-size: .78em; color: rgba(255, 255, 255, .7); }
.fbd-row { display: flex; align-items: center; margin: .4em 0; }
.fbd-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4em; min-width: 0; }
.fbd-team .tm { width: 3.4em; height: 3.4em; }
.fbd-team b { font-size: 1.05em; white-space: nowrap; }
.fbd-mid { text-align: center; min-width: 9em; }
.fbd-score { display: block; font-size: 2.6em; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fbd-mid em { font-style: normal; font-size: .8em; font-weight: 700; color: var(--green-hi); }
.fbd .fb-tv { text-align: center; font-size: .8em; }
.fbd-btns { display: flex; gap: .6em; margin: .8em 0 .6em; }
.fbd-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: .2em; }
.fbd-ev li { display: flex; align-items: center; gap: .7em; font-size: .8em; padding: .35em .7em; border-radius: .4em; background: rgba(255, 255, 255, .03); }
.fbd-ev em { font-style: normal; width: 2.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-g { width: .8em; height: .8em; border-radius: 50%; background: #fff; flex: none; }
.ev-y { width: .6em; height: .85em; border-radius: .1em; background: #FFD23F; flex: none; }
.fbd-lineh { display: flex; justify-content: space-between; font-size: .85em; font-weight: 700; margin-bottom: .6em; }
.fbd-lineh span { display: flex; align-items: center; gap: .5em; }
.fbd-lineh em { font-style: normal; color: var(--orange); }
.pitch {
  position: relative; flex: 1; min-height: 0; display: flex; border-radius: .6em; overflow: hidden;
  background: repeating-linear-gradient(90deg, #1d7a34 0 10%, #1a6f2f 10% 20%); box-shadow: inset 0 0 0 .15em rgba(255, 255, 255, .55);
}
.pitch-mid { position: absolute; left: 50%; top: 0; bottom: 0; width: .15em; margin-left: -.075em; background: rgba(255, 255, 255, .55); }
.pitch-c { position: absolute; left: 50%; top: 50%; width: 5em; height: 5em; margin: -2.5em 0 0 -2.5em; border-radius: 50%; box-shadow: inset 0 0 0 .15em rgba(255, 255, 255, .55); }
.pitch-a { position: absolute; top: 28%; bottom: 28%; width: 9%; box-shadow: inset 0 0 0 .15em rgba(255, 255, 255, .55); }
.pa-l { left: 0; } .pa-r { right: 0; }
.half { position: relative; flex: 1; display: flex; justify-content: space-around; padding: .5em 0; }
.ln { display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.ln i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; font-style: normal; font-size: .75em; font-weight: 800; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.half-a i { background: #fff; color: #8a1030; box-shadow: 0 .2em .5em rgba(0, 0, 0, .4); }
.half-b i { background: #2a5bd7; color: #fff; box-shadow: 0 .2em .5em rgba(0, 0, 0, .4); }
.ln i.is-f { transform: scale(1.25); box-shadow: 0 0 0 .2em var(--orange); }

/* Futebol: aviso 5 minutos antes */
.rem-toast {
  position: absolute; right: 1.4em; top: 4.4em; z-index: 3; max-width: 62%;
  display: flex; align-items: center; gap: .8em; padding: .8em 1em; border-radius: .7em;
  background: rgba(10, 10, 12, .96); border: 1px solid var(--orange); box-shadow: 0 1em 2.4em -1em rgba(0, 0, 0, .9);
}
.sv.is-on .st.rem-toast { transition-delay: 900ms; }
.rem-ic { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: rgba(240, 160, 32, .16); color: var(--orange); flex: none; }
.rem-ic svg[viewBox] { width: 1.4em; height: 1.4em; stroke-width: 2; }
.rem-toast b { display: block; font-size: .95em; color: var(--orange); }
.rem-toast p { font-size: .78em; }
.rem-toast .dt-bt { margin-left: .4em; flex: none; }

/* Erros e exclusão continuam em vermelho (o verde é a cor da marca) */
.btn-danger { background: var(--danger); }
.btn-danger-ghost { color: #ff8a8e; }
@media (hover: hover) and (pointer: fine) { .btn-danger:hover { background: #F0595E; } }
input[aria-invalid="true"] { border-color: var(--danger); }
.form-error { background: var(--danger-tint); border-color: rgba(229, 72, 77, .35); color: #ffb3b5; }
.badge-expired, .badge-blocked { background: var(--danger-tint); color: #ff8a8e; border-color: rgba(229, 72, 77, .3); }
.pl-confirm { background: rgba(229, 72, 77, .08); border-color: rgba(229, 72, 77, .3); }
.pl-confirm span { color: #ffb3b5; }
.toast.is-error { background: var(--danger); }
.partner-status.err { color: #ff8a8e; }
@media (min-width: 760px) { .copy { white-space: nowrap; } }
