/* ============================================================
   Ventura Player — Homepage
   Arquitetura por seções, cada uma com um movimento próprio:
   hero (TV endireita) · apps (leque + código rolando) ·
   frase (palavras acendem) · sincronia
   (aparelho se transforma) · recursos (trilho horizontal) ·
   interface (moldura cresce) ·
   passos (linha se desenha) · teste (7 conta) · FAQ · final.
   O JS (home.js) só escreve --p (0→1) e classes; o resto é CSS.
   ============================================================ */
:root {
  --bg: #04060c;
  --bg-2: #070d1d;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(150, 175, 230, .10);
  --line-2: rgba(150, 175, 230, .18);
  --white: #f4f7ff;
  --text: #a8b4d3;
  --muted: #6b7897;
  --azul: #3d7dff;
  --azul-2: #6ea6ff;
  --verde: #35b44a;
  --vermelho: #ee2b20;
  --amarelo: #f6b200;
  --glow: rgba(61, 125, 255, .40);
  --radius: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--azul-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; color: var(--azul-2); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.grad-text { background: linear-gradient(100deg, #fff 8%, var(--azul-2) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { color: var(--white); font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(34px, 5vw, 60px); }

.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { top: 12px; }

/* ---------------- botões ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--azul); color: #fff; box-shadow: 0 10px 30px -10px var(--glow); }
.btn-primary:hover { background: #5590ff; box-shadow: 0 16px 40px -10px var(--glow); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--white); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(150,175,230,.4); background: rgba(255,255,255,.05); }
.btn-soft { background: rgba(61,125,255,.14); color: var(--azul-2); }
.btn-soft:hover { background: rgba(61,125,255,.22); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16.5px; }

/* ---------------- header ---------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.hdr .wrap { height: 76px; display: flex; align-items: center; gap: 28px; transition: height .35s var(--ease); }
.hdr.scrolled { background: rgba(4,6,12,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.hdr.scrolled .wrap { height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--white); letter-spacing: -.01em; }
.marca .tv { width: 38px; height: 34px; flex: none; background: url('/img/ventura-tv.svg') center/contain no-repeat; filter: drop-shadow(0 6px 14px rgba(61,125,255,.28)); }
.marca .light { color: var(--muted); font-weight: 500; }
#nav { display: flex; gap: 26px; margin-left: 12px; }
#nav a { font-size: 14.5px; color: var(--text); transition: color .2s; }
#nav a:hover { color: var(--white); }
#nav .so-mobile { display: none; }
.acoes { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.entrar { font-size: 14.5px; color: var(--text); padding: 0 6px; }
.entrar:hover { color: var(--white); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------- entrada inicial (hero) ---------------- */
.js .entra { opacity: 0; transform: translateY(24px); animation: entra .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes entra { to { opacity: 1; transform: none; } }

/* ---------------- reveal genérico ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   1. HERO — TV inclinada que se endireita com o scroll
   ============================================================ */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; --p: 0; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 35%, rgba(61,125,255,.28), transparent 70%), radial-gradient(30% 25% at 80% 20%, rgba(246,178,0,.08), transparent 70%); }
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 18px; letter-spacing: -.035em; }
.hero-copy > p { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 30px 0 18px; }
.hero-trust { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.hero-trust b { color: var(--white); font-weight: 600; }
.pulso { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(53,180,74,.6); animation: pulso 2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(53,180,74,0); } 100% { box-shadow: 0 0 0 0 rgba(53,180,74,0); } }

.hero-stage { position: relative; max-width: 1060px; margin: 56px auto 0; padding: 0 24px; perspective: 1400px; }
.hero-tv {
  aspect-ratio: 16 / 9; border-radius: 18px; background: #070c1c; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.9), 0 0 0 10px rgba(255,255,255,.02), 0 -20px 80px -20px var(--glow);
  transform-origin: 50% 100%;
  transform: rotateX(calc(28deg - 28deg * min(var(--p) * 2.2, 1))) scale(calc(.88 + .12 * min(var(--p) * 2.2, 1)));
  will-change: transform;
}
.hero-phone {
  position: absolute; right: 2%; bottom: -6%; width: 17%; aspect-ratio: 9 / 19; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: #070c1c; padding: 6% 6% 0;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.9);
  transform: translateY(calc(160px - 160px * min(var(--p) * 2, 1))) rotate(calc(8deg - 8deg * min(var(--p) * 2, 1)));
  will-change: transform;
}
.hero-tv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pnotch { width: 36%; height: 3%; margin: 0 auto 10%; border-radius: 99px; background: rgba(255,255,255,.12); }
.phero { display: block; width: 100%; aspect-ratio: 1.3; border-radius: 10px; object-fit: cover; object-position: 50% 30%; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; margin-top: 10%; }
.pgrid img { display: block; width: 100%; aspect-ratio: .7; border-radius: 8px; object-fit: cover; }

/* ---------------- aviso ---------------- */
.aviso { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.aviso .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.aviso svg { flex: none; color: var(--azul-2); }

/* ============================================================
   Cenas presas (sticky): a seção é alta, o "pin" fica na tela
   ============================================================ */
.frase, .sync, .iface { position: relative; }
.frase { height: 220vh; }
.sync { height: 340vh; background: var(--bg-2); }
.iface { height: 240vh; }
.frase-pin, .sync-pin, .iface-pin, .recursos-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ============================================================
   2. FRASE — palavras acendem uma a uma
   ============================================================ */
.frase-pin { display: flex; align-items: center; }
.frase-txt { font-family: var(--display); font-weight: 700; color: var(--white); font-size: clamp(34px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -.035em; max-width: 1050px; }
.frase-txt em { font-style: normal; color: var(--azul-2); }
.js .frase-txt .w { opacity: .14; transition: opacity .35s linear; }
.js .frase-txt .w.on { opacity: 1; }

/* ============================================================
   3. SINCRONIA — um aparelho que vira outro
   ============================================================ */
.sync-pin { display: flex; align-items: center; }
.sync-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.sync-passos { margin: 28px 0 36px; display: grid; gap: 22px; }
.sync-passos li { display: grid; gap: 4px; padding-left: 22px; border-left: 2px solid var(--line-2); opacity: .32; transition: opacity .5s, border-color .5s; }
.sync-passos li b { font-family: var(--display); font-size: clamp(24px, 3vw, 38px); color: var(--white); letter-spacing: -.02em; line-height: 1.1; }
.sync-passos li span { font-size: 15.5px; }
.sync-passos li.on { opacity: 1; border-color: var(--azul); }
.sync-selo { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--white); font-size: 14.5px; font-weight: 500; }
.sync-selo .rot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--verde); border-right-color: transparent; animation: gira 1.2s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

.morph { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.morph-dev {
  position: relative; z-index: 2; width: 520px; height: 300px; border-radius: 14px; padding: 10px; background: #0d1326;
  border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -30px var(--glow);
  transition: width .8s var(--ease-out), height .8s var(--ease-out), border-radius .8s var(--ease-out), padding .8s var(--ease-out);
}
.morph-scr { position: relative; height: 100%; border-radius: 8px; overflow: hidden; transition: border-radius .8s var(--ease-out); }
.morph-art { position: absolute; inset: 0; overflow: hidden; background: #070c1c; }
/* capa desfocada ao fundo + capa inteira por cima; no celular a capa ocupa a tela toda */
.morph-art::before { content: ""; position: absolute; inset: -30px; background: url('/img/app/capa-o-farol.jpg') center/cover; filter: blur(22px) brightness(.55); }
.morph-art img { position: relative; display: block; height: 100%; margin: 0 auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.morph-play { position: absolute; left: 50%; top: 42%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.morph-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid #fff; border-block: 11px solid transparent; }
.morph-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.morph-ep { grid-column: 1 / -1; color: #fff; font-size: 13px; font-weight: 600; }
.morph-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; }
.morph-bar i { display: block; height: 100%; width: var(--bar, 35%); background: var(--azul-2); border-radius: 4px; transition: width .9s var(--ease-out), background .4s; }
.morph-tempo { font-size: 12px; color: #fff; font-variant-numeric: tabular-nums; }
.morph-pe { width: 120px; height: 10px; margin-top: 12px; border-radius: 0 0 8px 8px; background: #141b33; transition: opacity .4s, transform .6s var(--ease-out); }
.morph-base { position: absolute; z-index: 1; top: calc(50% + 143px); width: 600px; height: 16px; border-radius: 0 0 18px 18px; background: linear-gradient(#1a2240, #0d1326); border: 1px solid var(--line-2); opacity: 0; transform: scaleX(.6); transition: opacity .5s, transform .7s var(--ease-out); }
.morph-dots { position: absolute; bottom: 0; display: flex; gap: 8px; }
.morph-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .4s var(--ease-out), background .4s; }
/* passo 1: celular */
.morph[data-step="1"] .morph-dev { width: 210px; height: 420px; border-radius: 34px; padding: 9px; }
.morph[data-step="1"] .morph-scr { border-radius: 26px; }
.morph[data-step="1"] .morph-art img { width: 100%; transform: scale(1.04); }
.morph[data-step="1"] .morph-pe { opacity: 0; transform: translateY(-20px); }
/* passo 2: notebook */
.morph[data-step="2"] .morph-dev { width: 500px; height: 312px; border-radius: 14px 14px 4px 4px; }
.morph[data-step="2"] .morph-pe { opacity: 0; }
.morph[data-step="2"] .morph-base { opacity: 1; transform: none; }
.morph[data-step="2"] .morph-bar i { background: var(--verde); }
.morph[data-step="0"] .morph-dots i:nth-child(1), .morph[data-step="1"] .morph-dots i:nth-child(2), .morph[data-step="2"] .morph-dots i:nth-child(3) { width: 26px; background: var(--azul); }

/* ============================================================
   4. RECURSOS — trilho horizontal
   ============================================================ */
.recursos { position: relative; height: 300vh; /* ajustado pelo JS ao tamanho real do trilho */ }
.recursos-pin { display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.recursos-head h2 { margin-top: 14px; }
.trilho-janela { overflow: visible; }
.trilho { display: flex; gap: 24px; padding-inline: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); width: max-content; will-change: transform; }
.card-r { width: min(420px, 78vw); padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-r .num { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--muted); margin-top: 26px; }
.card-r h3 { font-size: 30px; margin: 6px 0 8px; }
.card-r p { font-size: 16px; }
.ilu { position: relative; height: 220px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 120%, rgba(61,125,255,.22), transparent 70%), #060a17; border: 1px solid var(--line); }

/* rápido: faixas de pôsteres correndo */
.ilu-rapido { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ilu-rapido .faixa { display: flex; gap: 10px; width: max-content; animation: corre 6s linear infinite; }
.ilu-rapido .f2 { animation-duration: 4s; animation-direction: reverse; }
.ilu-rapido .f3 { animation-duration: 8s; }
.ilu-rapido .faixa i { width: 70px; height: 48px; border-radius: 8px; background: linear-gradient(160deg, #2a5bd7, #0f1d48); }
.ilu-rapido .faixa i:nth-child(3n+2) { background: linear-gradient(160deg, #c6402d, #3a1020); }
.ilu-rapido .faixa i:nth-child(3n) { background: linear-gradient(160deg, #e0a21a, #4a2808); }
@keyframes corre { to { transform: translateX(-50%); } }
.ilu-rapido .raio { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; fill: var(--amarelo); filter: drop-shadow(0 0 24px rgba(246,178,0,.7)); transform: scale(0) rotate(-20deg); transition: transform .7s var(--ease-out) .3s; }
.card-r.in .ilu-rapido .raio, html:not(.js) .ilu-rapido .raio { transform: none; }

/* dispositivos: luz passando de um aparelho para outro */
.ilu-devs { display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding-bottom: 54px; }
.ilu-devs .d { position: relative; z-index: 1; border: 2px solid var(--line-2); background: #0b1226; animation: acende 3s infinite; }
.ilu-devs .d-cel { width: 38px; height: 70px; border-radius: 9px; }
.ilu-devs .d-pc { width: 100px; height: 64px; border-radius: 6px; animation-delay: 1s; }
.ilu-devs .d-tv { width: 120px; height: 76px; border-radius: 8px; animation-delay: 2s; }
@keyframes acende { 0%, 100% { border-color: var(--line-2); box-shadow: none; } 15%, 30% { border-color: var(--azul-2); box-shadow: 0 0 30px -4px var(--glow), inset 0 0 20px rgba(61,125,255,.3); } }
.ilu-devs .fio { position: absolute; left: 15%; right: 15%; bottom: 38px; height: 2px; background: linear-gradient(90deg, transparent, var(--azul-2), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: fio 3s linear infinite; }
@keyframes fio { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* organizado: blocos espalhados que se encaixam */
.ilu-org { display: grid; grid-template-columns: repeat(3, 64px); grid-auto-rows: 52px; gap: 10px; place-content: center; }
.ilu-org i { border-radius: 10px; background: linear-gradient(160deg, #24407e, #0d1a3a); display: grid; place-items: center; font-style: normal; color: #fff; font-size: 20px;
  transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: .5; transition: transform 1s var(--ease-out), opacity .6s; }
.ilu-org i:nth-child(2n) { transition-delay: .1s; } .ilu-org i:nth-child(3n) { transition-delay: .2s; }
.ilu-org .fav { background: linear-gradient(160deg, #e0a21a, #4a2808); }
.ilu-org .hist { background: linear-gradient(160deg, #1f9a55, #0b2a22); }
.card-r.in .ilu-org i, html:not(.js) .ilu-org i { transform: none; opacity: 1; }

/* parental: PIN digitado e cadeado fecha (em loop) */
.ilu-pin { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.cadeado { width: 54px; fill: none; stroke: var(--white); stroke-width: 4; }
.cadeado rect { fill: rgba(61,125,255,.18); stroke: var(--azul-2); }
.cadeado .argola { animation: tranca 4s infinite var(--ease-out); }
@keyframes tranca { 0%, 55% { transform: translateY(-8px); } 70%, 100% { transform: none; } }
.pontos { display: flex; gap: 14px; }
.pontos i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); animation: digita 4s infinite; }
.pontos i:nth-child(2) { animation-delay: .35s; } .pontos i:nth-child(3) { animation-delay: .7s; } .pontos i:nth-child(4) { animation-delay: 1.05s; }
@keyframes digita { 0%, 8% { background: transparent; border-color: var(--line-2); } 14%, 88% { background: var(--azul-2); border-color: var(--azul-2); } 100% { background: transparent; } }

/* ============================================================
   5. INTERFACE — moldura cresce até ocupar a tela
   ============================================================ */
.iface { --p: 0; }
.iface-pin { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.iface-head { position: absolute; top: 14vh; text-align: center; max-width: 760px; left: 50%; transform: translate(-50%, calc(-60px * var(--p))); opacity: calc(1 - var(--p) * 2.2); }
.iface-head h2 { margin: 14px 0 14px; }
.iface-frame {
  position: relative; width: min(1100px, 92vw, (82vh - 30px) * 16 / 9); border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #070c1c;
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.9), 0 0 120px -50px var(--glow);
  transform: translateY(calc(30vh - 30vh * min(var(--p) * 1.6, 1))) scale(calc(.62 + .38 * min(var(--p) * 1.6, 1)));
  will-change: transform;
}
.iface-frame .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); }
.iface-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.iface-frame img { display: block; width: 100%; height: auto; }
.ph-note { position: absolute; bottom: 3vh; font-size: 12.5px; color: var(--muted); opacity: calc(var(--p) * 2 - .6); }

/* ============================================================
   Seções comuns
   ============================================================ */
.secao { padding: 140px 0; position: relative; }
.secao-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.secao-head h2 { margin: 14px 0 14px; }
.secao-head p { font-size: 18px; }

/* ============================================================
   6. APLICATIVOS — leque
   ============================================================ */
.apps { background: var(--bg-2); }
.apps-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; align-items: stretch; }
.app-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s, opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.app-card:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.js .apps-grid .app-card[data-reveal] { transform: translateY(80px) rotate(calc((var(--d) - 1) * 5deg)); transform-origin: 50% 100%; }
.js .apps-grid .app-card[data-reveal].in { transform: none; }
.app-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(61,125,255,.14); color: var(--azul-2); }
.app-card h3 { font-size: 26px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--verde); font-weight: 500; }
.status .d { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); animation: pulso 2s infinite; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: auto; padding-bottom: 10px; }
.tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); }
.app-card > .btn { width: 100%; }
.dld { background: linear-gradient(160deg, rgba(61,125,255,.12), rgba(255,255,255,.02)); border-color: rgba(61,125,255,.25); }
.dld-selo { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amarelo); }
.dld h3 { font-size: 24px; }
.dld-num { display: flex; gap: 4px; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--white); height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.dld-num .dg { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.4s var(--ease-out); }
.dld-num .dg span { height: 1em; }
.dld-passos { counter-reset: p; display: grid; gap: 6px; font-size: 14.5px; }
.dld-passos li { counter-increment: p; display: flex; gap: 10px; }
.dld-passos li::before { content: counter(p); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.08); color: var(--white); margin-top: 1px; }
.dld-passos b { color: var(--white); font-weight: 600; }
.dld-acoes { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.dld-url { font-size: 14px; color: var(--azul-2); }
.em-breve { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 14px; }
.em-breve b { color: var(--white); font-weight: 600; margin-right: 6px; }
.em-breve span { padding: 5px 12px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--muted); }

.dl-dialog { margin: auto; max-width: 460px; width: calc(100% - 32px); border: 1px solid var(--line-2); border-radius: var(--radius); background: #0b1226; color: var(--text); padding: 28px; }
.dl-dialog::backdrop { background: rgba(2,4,10,.7); backdrop-filter: blur(4px); }
.dl-dialog h3 { font-size: 22px; margin-bottom: 12px; }
.dl-dialog p { font-size: 15px; }
.dl-dialog b { color: var(--white); }
.dl-dialog-acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ============================================================
   7. PASSOS — linha que se desenha
   ============================================================ */
.passos { --p: 0; }
.passos-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.passos-head { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.passos-head h2 { margin-top: -8px; }
.passos-lista { position: relative; display: grid; gap: 64px; padding: 12px 0; }
.trilha { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.trilha i { display: block; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(var(--azul), var(--azul-2)); box-shadow: 0 0 12px var(--glow); }
.passos-lista li { position: relative; display: flex; gap: 28px; align-items: flex-start; }
.passos-lista .n { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--muted); background: var(--bg); border: 2px solid var(--line-2); transition: color .4s, border-color .4s, box-shadow .4s, background .4s; }
.passos-lista h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 6px; transition: color .4s; }
.passos-lista p { font-size: 16px; max-width: 380px; }
.js .passos-lista li:not(.on) h3 { color: var(--muted); }
.js .passos-lista li:not(.on) p { opacity: .5; }
.passos-lista li p { transition: opacity .4s; }
.passos-lista li.on .n, html:not(.js) .passos-lista .n { color: #fff; border-color: var(--azul); background: var(--azul); box-shadow: 0 0 30px -4px var(--glow); }

/* ============================================================
   8. TESTE — o 7 gigante
   ============================================================ */
.teste { background: radial-gradient(60% 70% at 25% 50%, rgba(61,125,255,.16), transparent 70%), var(--bg-2); overflow: hidden; }
.teste-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.sete { font-family: var(--display); font-weight: 800; font-size: clamp(220px, 34vw, 440px); line-height: .8; letter-spacing: -.06em; text-align: center;
  background: linear-gradient(170deg, #fff 20%, var(--azul) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.js .sete[data-reveal] { transform: scale(.7); }
.js .sete[data-reveal].in { transform: none; transition-duration: 1.4s; }
.teste-copy h2 { margin: 14px 0 18px; }
.teste-copy > p { font-size: 18px; max-width: 480px; }
.preco { margin-top: 14px; font-size: 16px !important; }
.preco b { color: var(--white); }
.teste-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.link-sec { font-size: 15px; color: var(--azul-2); }
.link-sec:hover { color: var(--white); }
.garantias { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; }
.garantias li { display: flex; gap: 8px; align-items: center; }
.garantias li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }

/* ============================================================
   9. FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 140px; }
.faq-head h2 { margin-top: 14px; }
.faq-lista { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-size: 18.5px; font-weight: 600; color: var(--white); }
.faq-q:hover { color: var(--azul-2); }
.mais { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease-out), background .3s; }
.mais::before, .mais::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; }
.mais::after { transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.faq-q[aria-expanded="true"] .mais { transform: rotate(180deg); background: var(--azul); border-color: var(--azul); color: #fff; }
.faq-q[aria-expanded="true"] .mais::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; font-size: 16px; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
html:not(.js) .faq-a { grid-template-rows: 1fr; }

/* ============================================================
   10. PARCEIROS
   ============================================================ */
.parceiros { padding: 0 0 120px; }
.parc-box { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.parc-box > div { flex: 1; }
.parc-box h3 { font-size: 24px; margin-bottom: 4px; }
.parc-cores { display: flex; gap: 6px; align-self: stretch; }
.parc-cores i { width: 6px; border-radius: 6px; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease-out); }
.parc-cores i:nth-child(1) { background: var(--verde); transition-delay: .3s; }
.parc-cores i:nth-child(2) { background: var(--vermelho); transition-delay: .42s; }
.parc-cores i:nth-child(3) { background: var(--amarelo); transition-delay: .54s; }
.parc-box.in .parc-cores i, html:not(.js) .parc-cores i { transform: none; }

/* ============================================================
   11. FINAL — a TV liga
   ============================================================ */
.final { padding: 140px 0 160px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(50% 60% at 50% 40%, rgba(61,125,255,.18), transparent 70%); }
.js .final[data-reveal] { opacity: 1; transform: none; }
.final-tv { width: 120px; margin: 0 auto 36px; }
.final-tv .b { transform: scaleY(0); transform-origin: 50% 100%; transform-box: fill-box; transition: transform .7s var(--ease-out); }
.final-tv .b2 { transition-delay: .12s; } .final-tv .b3 { transition-delay: .24s; }
.final-tv .ant { transform-box: view-box; transform-origin: 62px 54px; }
.final.in .final-tv .b, html:not(.js) .final-tv .b { transform: none; }
.final.in .final-tv .ant { animation: antena 1.2s var(--ease-out) .5s; }
@keyframes antena { 30% { transform: rotate(-8deg); } 60% { transform: rotate(5deg); } }
.final h2 { font-size: clamp(42px, 7vw, 88px); letter-spacing: -.035em; }
.js .final h2, .js .final-cta, .js .final small { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out) .4s, transform .9s var(--ease-out) .4s; }
.js .final.in h2, .js .final.in .final-cta, .js .final.in small { opacity: 1; transform: none; }
.js .final.in .final-cta { transition-delay: .55s; } .js .final.in small { transition-delay: .7s; }
.final-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 40px 0 18px; }
.final small { font-size: 14px; color: var(--muted); }

/* ---------------- footer ---------------- */
.ft { border-top: 1px solid var(--line); padding: 72px 0 36px; background: #03050a; }
.ft-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ft-brand p { font-size: 14.5px; max-width: 320px; margin-top: 16px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ft-col a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.ft-col a:hover { color: var(--white); }
.ft-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted); }
.ft-bottom .mini { max-width: 620px; text-align: right; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1020px) {
  #nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px; background: rgba(4,6,12,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out); }
  #nav.aberto { opacity: 1; transform: none; pointer-events: auto; }
  #nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  #nav .so-mobile { display: block; }
  .menu-btn { display: block; }
  .entrar, .esconde-sm { display: none; }
  .hdr .wrap { height: 64px; }
  .sync-grid { grid-template-columns: 1fr; gap: 12px; }
  .morph { order: -1; height: 360px; transform: scale(.72); margin: -40px 0; }
  .sync-passos { margin: 16px 0 20px; gap: 0; position: relative; height: 92px; }
  .sync-passos li { position: absolute; inset: 0; border: 0; padding: 0; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease-out); }
  .sync-passos li.on { opacity: 1; transform: none; }
  .sync-copy { text-align: center; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .dld { grid-column: 1 / -1; }
  .passos-grid, .faq-grid, .teste-grid { grid-template-columns: 1fr; gap: 40px; }
  .passos-head, .faq-head { position: static; }
  .sete { font-size: 220px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero-stage { margin-top: 48px; }
  .hero-phone { width: 26%; right: 4%; border-radius: 14px; }

  .secao { padding: 96px 0; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 15.5px; }
  .hero-cta, .teste-cta, .final-cta { width: 100%; }
  .hero-cta .btn, .teste-cta .btn, .final-cta .btn { width: 100%; }
  .hero-trust { font-size: 13.5px; }
  .pulso { flex: none; }
  .acoes .btn-primary { display: none; }
  .frase { height: 180vh; }
  /* recursos: no celular vira lista vertical comum */
  .recursos { height: auto !important; padding: 96px 0; }
  .recursos-pin { position: static; height: auto; gap: 32px; }
  .trilho { flex-direction: column; width: auto; transform: none !important; padding-inline: 24px; }
  .card-r { width: 100%; }
  .iface { height: 200vh; }
  .iface-head { top: 12vh; padding: 0 24px; width: 100%; }
  .iface-frame { width: 94vw; border-radius: 12px; }
  .iface-frame .bar { height: 20px; }
  .apps-grid { grid-template-columns: 1fr; }
  .js .apps-grid .app-card[data-reveal] { transform: translateY(50px); }
  .dld-num { font-size: 38px; }
  .passos-lista { gap: 44px; }
  .passos-lista li { gap: 20px; }
  .parc-box { flex-direction: column; align-items: flex-start; padding: 28px; }
  .parc-cores { flex-direction: row; align-self: auto; height: 6px; }
  .parc-cores i { width: 32px; height: 6px; transform: scaleX(0); transform-origin: left; }
  .ft-bottom { flex-direction: column; }
  .ft-bottom .mini { text-align: left; }
}

/* ============================================================
   Sem JS ou "reduzir movimento": cenas viram blocos estáticos
   ============================================================ */
html:not(.js) .frase, html:not(.js) .sync, html:not(.js) .iface, html:not(.js) .recursos,
.rm .frase, .rm .sync, .rm .iface, .rm .recursos { height: auto !important; padding: 100px 0; }
html:not(.js) .frase-pin, html:not(.js) .sync-pin, html:not(.js) .iface-pin, html:not(.js) .recursos-pin,
.rm .frase-pin, .rm .sync-pin, .rm .iface-pin, .rm .recursos-pin { position: static; height: auto; overflow: visible; }
html:not(.js) .trilho, .rm .trilho { flex-wrap: wrap; width: auto; transform: none !important; }
html:not(.js) .iface-head, .rm .iface-head { position: static; transform: none; opacity: 1; margin: 0 auto 48px; }
html:not(.js) .iface-frame, .rm .iface-frame { transform: none; }
html:not(.js) .ph-note, .rm .ph-note { position: static; opacity: 1; margin-top: 16px; }
.rm .hero-tv, .rm .hero-phone { transform: none; }
.rm .hero-phone { bottom: -4%; }
.rm .sync-passos li { opacity: 1; position: static; transform: none; }
@media (max-width: 1020px) { .rm .sync-passos { height: auto; gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
