/* =====================================================================
   DGDown — página principal (dgdown.com.br)
   Mesma linguagem do painel: azul-marinho, cartões azulados, azul e verde.
   Sem fontes de fora, sem bibliotecas. O simulador da TV está no fim.
   ===================================================================== */

:root {
  --bg: #0b1220; --bg2: #0e1729; --surface: #141c2e; --surface2: #19243d; --high: #1d2740;
  --line: rgba(120, 150, 230, .16); --line2: rgba(130, 160, 240, .26);
  --text: #eef2fb; --muted: #9aa8c7; --faint: #8391b5;
  --primary: #2f6bff; --primary2: #5b8cff; --accent: #3ddc97; --warn: #ffcf5c; --danger: #ff5c6c;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --topo: 64px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background-color: #0b1220; color-scheme: dark;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topo) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  background-color: #0b1220;
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
img, svg { display: block; }
button { font: inherit; }
code { font-family: var(--mono); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.pular {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s;
}
.pular:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--primary2); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.wrap-largo { max-width: 1440px; }
.wrap-estreito { max-width: 860px; }

/* ------------------------------------------------------------ botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 20px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 650; font-size: .96rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn .ic { font-size: 1.1em; }
.btn-pri {
  background: linear-gradient(180deg, #2d68ec, #2252dc);
  box-shadow: 0 10px 26px -10px rgba(47, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-pri:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .24); }
.btn-verde {
  color: #04281a;
  background: linear-gradient(180deg, #4be6a6, #27c47f);
  box-shadow: 0 10px 26px -10px rgba(61, 220, 151, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-verde:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(61, 220, 151, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-sec { background: rgba(27, 39, 64, .85); border-color: var(--line2); color: var(--text); }
.btn-sec:hover { background: #25345a; transform: translateY(-1px); }
.btn-fantasma { background: transparent; color: var(--muted); }
.btn-fantasma:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-p { min-height: 38px; padding: 7px 14px; font-size: .88rem; border-radius: 11px; }
.btn-m { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn-g { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; border-radius: 16px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { cursor: default; opacity: .6; transform: none; box-shadow: none; filter: saturate(.7); }
.btn:focus-visible { outline-offset: 3px; }

/* brilho que passa no botão principal */
.brilha { position: relative; overflow: hidden; isolation: isolate; }
.brilha::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg);
}
.brilha:hover::after { animation: varre .9s var(--ease); }
@keyframes varre { to { left: 130%; } }

.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.acoes-centro { justify-content: center; }

/* ------------------------------------------------------------ topo */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topo);
  background: rgba(11, 18, 32, .72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topo { background: rgba(11, 18, 32, .55); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
.topo.rolou { border-bottom-color: var(--line); background: rgba(11, 18, 32, .86); }
.topo-in {
  height: 100%; max-width: 1440px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; gap: 20px;
}
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.marca img { border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(47, 107, 255, .7); }
.marca b { color: var(--accent); font-weight: 800; }
.topo-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topo-nav a {
  padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 550;
  transition: color .2s, background .2s;
}
.topo-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.topo-nav-entrar { display: none; }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.topo-menu {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2);
  background: rgba(27, 39, 64, .7); color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}
.topo-menu .ic { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .topo-menu { display: inline-flex; }
  .topo-entrar { display: none; }
  .topo-acoes { margin-left: auto; }
  .topo-nav {
    position: absolute; left: 12px; right: 12px; top: calc(var(--topo) + 6px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    border-radius: 18px; border: 1px solid var(--line2);
    background: rgba(14, 23, 41, .98); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .topo-nav.aberto { opacity: 1; visibility: visible; transform: none; }
  .topo-nav a { padding: 13px 14px; font-size: 1rem; }
  .topo-nav-entrar { display: block; color: var(--accent) !important; }
}

/* ------------------------------------------------------------ revelação ao rolar */
.anima .rv:not(.visto) { opacity: 0; translate: 0 26px; }
.anima .rv { transition: opacity .85s cubic-bezier(.2, .7, .2, 1), translate .85s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
@keyframes surge { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.chega { animation: surge .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-texto .chega:nth-child(2) { animation-delay: .08s; }
.hero-texto .chega:nth-child(3) { animation-delay: .16s; }
.hero-texto .chega:nth-child(4) { animation-delay: .24s; }
.hero-texto .chega:nth-child(5) { animation-delay: .32s; }
.demo.chega { animation-delay: .32s; animation-duration: 1.1s; }

/* ------------------------------------------------------------ títulos e seções */
.secao { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.secao-curta { padding-block: clamp(40px, 6vw, 72px); }
.secao-faixa { background: linear-gradient(180deg, transparent, rgba(14, 23, 41, .85) 16%, rgba(14, 23, 41, .85) 84%, transparent); }
.cabeca { max-width: 780px; }
.cabeca-centro { margin-inline: auto; text-align: center; }
.olho {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.olho::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.titulo { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.sub { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 64ch; text-wrap: pretty; }
.cabeca .sub { margin-top: 18px; }
.cabeca-centro .sub { margin-inline: auto; }
.grad {
  background: linear-gradient(100deg, #9db8ff 0%, var(--primary2) 38%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* vidro fosco com borda de 1px em degradê */
.vidro {
  position: relative; border-radius: 24px;
  background: linear-gradient(180deg, rgba(27, 39, 64, .78), rgba(17, 26, 46, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.vidro::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 35%, rgba(91, 140, 255, .14) 65%, rgba(61, 220, 151, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .vidro { border: 1px solid var(--line2); }
  .vidro::before { display: none; }
}

/* ================================================================ abertura */
.hero { position: relative; isolation: isolate; padding: calc(var(--topo) + clamp(28px, 4vw, 56px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero-fundo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 42% at 50% 64%, rgba(47, 107, 255, .3), transparent 72%),
    radial-gradient(36% 36% at 90% 6%, rgba(61, 220, 151, .12), transparent 70%),
    radial-gradient(40% 40% at 6% 8%, rgba(47, 107, 255, .26), transparent 70%);
}
.hero-estrelas {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent 60%),
    radial-gradient(1px 1px at 27% 8%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 41% 30%, #cfe0ff, transparent 60%),
    radial-gradient(1px 1px at 58% 12%, #fff, transparent 60%),
    radial-gradient(1px 1px at 69% 26%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 83% 18%, #c9ffe9, transparent 60%),
    radial-gradient(1px 1px at 93% 34%, #fff, transparent 60%),
    radial-gradient(1px 1px at 6% 44%, #fff, transparent 60%),
    radial-gradient(1px 1px at 35% 52%, #fff, transparent 60%),
    radial-gradient(1px 1px at 76% 48%, #fff, transparent 60%);
  animation: cintila 6s ease-in-out infinite alternate;
}
@keyframes cintila { from { opacity: .3; } to { opacity: .6; } }
.aurora { position: absolute; border-radius: 50%; will-change: transform; animation: deriva 24s var(--ease) infinite alternate; }
.aurora-1 { width: 52vw; height: 34vw; left: 6%; top: 46%; opacity: .45; background: radial-gradient(closest-side, rgba(47, 107, 255, .8), transparent); }
.aurora-2 { width: 40vw; height: 26vw; right: 2%; top: 52%; opacity: .25; animation-duration: 28s; animation-delay: -8s; background: radial-gradient(closest-side, rgba(61, 220, 151, .8), transparent); }
.aurora-3 { width: 30vw; height: 16vw; left: 36%; top: 80%; opacity: .2; animation-duration: 32s; animation-delay: -14s; background: radial-gradient(closest-side, #8fb0ff, transparent); }
@keyframes deriva {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -2vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 1.5vw, 0) scale(.95); }
}
.hero-chao {
  position: absolute; left: -25%; right: -25%; bottom: 0; height: 40%;
  background-image: linear-gradient(rgba(91, 140, 255, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 140, 255, .32) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%);
  opacity: .5;
}

.hero-texto { text-align: center; }
.selo {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 6px 16px 6px 6px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: .9rem; line-height: 1.3;
  border: 1px solid rgba(61, 220, 151, .32);
  background: rgba(61, 220, 151, .07);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.selo img { width: 26px; height: 26px; border-radius: 8px; }
.selo b { color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.selo i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.selo:hover { color: var(--text); border-color: var(--accent); transform: translateY(-1px); }
.hero h1 {
  margin: 22px auto 0; max-width: 17ch;
  font-size: clamp(2.3rem, 5.4vw, 4.5rem); font-weight: 850; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance;
}
.hero .sub { margin: 20px auto 0; font-size: clamp(1.02rem, 1.6vw, 1.17rem); }
.hero .acoes { margin-top: 28px; }
.fatos { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.fatos li { display: inline-flex; align-items: center; gap: 8px; }
.fatos .ic { color: var(--accent); font-size: 1.1rem; }

/* ------------------------------------------------------------ demonstração */
.demo { margin-top: clamp(40px, 5vw, 64px); }
.demo-abas {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 30px; padding: 5px; gap: 4px;
  border-radius: 999px; border: 1px solid var(--line2); background: rgba(14, 23, 41, .8);
}
.demo-abas button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font-weight: 650; font-size: .93rem; cursor: pointer; white-space: nowrap;
  transition: color .2s, background .25s, box-shadow .25s;
}
.demo-abas button:hover { color: var(--text); }
.demo-abas button[aria-selected="true"] {
  color: #fff; background: linear-gradient(180deg, #2d68ec, #2252dc);
  box-shadow: 0 8px 22px -10px rgba(47, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.demo-abas button:focus-visible { outline-offset: 2px; border-radius: 999px; }

.demo-cena {
  display: grid; grid-template-columns: 300px minmax(0, 1fr) auto;
  align-items: center; gap: clamp(24px, 2.6vw, 40px);
}
.demo-cena:focus { outline: none; }

/* lado esquerdo: mensagem (A) ou mini painel (B) */
.lado { min-width: 0; align-self: center; }
.lado > * { animation: surge .5s var(--ease) both; }
.lado-rot { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.lado-rot .ic { color: var(--accent); }
.bolha {
  position: relative; padding: 16px 18px; border-radius: 18px 18px 18px 6px;
  background: linear-gradient(180deg, #1c2a47, #172239); border: 1px solid var(--line2);
  color: #dfe6f6; font-size: .92rem; line-height: 1.6;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9);
}
.bolha b { color: #fff; }
.bolha-cod { display: inline-block; padding: 0 7px; border-radius: 7px; background: rgba(61, 220, 151, .14); color: var(--accent) !important; font-family: var(--mono); letter-spacing: .06em; }
.lado-nota { margin-top: 12px; color: var(--faint); font-size: .84rem; line-height: 1.5; }

.mp {
  padding: 16px; border-radius: 20px; background: linear-gradient(180deg, #172239, #121b2f);
  border: 1px solid var(--line2); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95);
}
.mp-topo { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mp-topo img { border-radius: 7px; }
.mp-topo b { font-size: .92rem; }
.mp-tag { margin-left: auto; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--faint); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.mp-titulo { margin: 12px 0 8px; font-weight: 700; font-size: 1rem; }
.mp-apps { display: grid; gap: 6px; }
.mp-app {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; text-align: left;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--text);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.mp-app:hover { border-color: var(--line2); background: rgba(255, 255, 255, .04); }
.mp-app[aria-checked="true"] { border-color: rgba(91, 140, 255, .8); background: rgba(47, 107, 255, .12); }
.mp-app .app-logo { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.mp-app span { display: grid; min-width: 0; }
.mp-app b { font-size: .88rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-app small { color: var(--faint); font-size: .74rem; font-family: var(--mono); }
.mp-app i { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); flex: none; transition: .2s; }
.mp-app[aria-checked="true"] i { border-color: var(--primary2); box-shadow: inset 0 0 0 3px #142035, inset 0 0 0 8px var(--primary2); }
.mp-app:disabled { cursor: default; opacity: .55; }
.mp-linha { display: grid; gap: 10px; margin-top: 12px; }
.mp-campo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line2); background: #10192d; }
.mp-rot { color: var(--muted); font-size: .8rem; font-weight: 600; }
.mp-cod { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.mp-enviar { width: 100%; }
.mp-enviar.pulsa { animation: pulsa 1.2s var(--ease) 2; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 8px rgba(91, 140, 255, .25), 0 10px 26px -10px rgba(47, 107, 255, .75); } }
.mp-status:empty { display: none; }
.mp-status { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.mp-status-txt { text-align: center; margin-top: 2px; }
.mp-status-txt b { display: block; font-size: .95rem; }
.mp-status-txt span { color: var(--muted); font-size: .8rem; display: block; }

/* animação de entrega (a mesma do painel), versão compacta */
.entrega { display: flex; align-items: center; padding: 14px 0 6px; --tv-w: 92px; --tv-h: 58px; }
.e-pc {
  flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #9ab8ff;
  background: linear-gradient(180deg, #22304f, #162039); border: 1px solid var(--line2); box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}
.e-pc .ic { width: 24px; height: 24px; stroke-width: 1.6; }
.e-feixe { position: relative; flex: 1; height: 50px; margin: 0 6px; }
.e-feixe::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(130, 160, 240, .4) 0 8px, transparent 8px 16px);
  transition: background .4s, box-shadow .4s;
}
.pkt {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; opacity: 0;
  background: var(--accent); box-shadow: 0 0 14px 3px rgba(61, 220, 151, .7);
  animation: voa var(--dur, 1.2s) linear infinite; animation-delay: calc(var(--d) * 1s);
}
@keyframes voa { 0% { left: 0; opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: scale(1); } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; transform: scale(.5); } }
.e-pend .pkt { --dur: 3s; background: var(--warn); box-shadow: 0 0 12px 2px rgba(255, 207, 92, .55); }
.e-ok .pkt, .e-fail .pkt, .e-idle .pkt { display: none; }
.e-ok .e-feixe::before, .e-ok .envio-feixe::before { background: linear-gradient(90deg, #27c47f, var(--accent)); box-shadow: 0 0 14px rgba(61, 220, 151, .6); }
.e-fail .e-feixe::before { background: repeating-linear-gradient(90deg, rgba(255, 92, 108, .45) 0 8px, transparent 8px 16px); }
.e-tv { position: relative; flex: none; width: var(--tv-w); }
.e-tela {
  position: relative; width: var(--tv-w); height: var(--tv-h); border-radius: 10px; background: #0a1020; border: 3px solid #2a3a60;
  display: grid; place-items: center; overflow: hidden; box-shadow: 0 12px 28px rgba(0, 0, 0, .5); transition: border-color .3s, box-shadow .3s;
}
.e-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .09), transparent 42%); pointer-events: none; z-index: 4; }
.e-tela .app-logo { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 8px; }
.e-pe { width: 32px; height: 6px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #2a3a60; }
.e-anel { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; transform: rotate(-90deg); z-index: 2; display: none; }
.e-anel circle:last-child { transition: stroke-dashoffset .3s linear; }
.e-down .e-anel { display: block; }
.e-down .e-tela { border-color: #3b6bff; box-shadow: 0 0 26px 4px rgba(47, 107, 255, .5); }
.e-pend .e-tela { animation: brilhoamarelo 2s ease-in-out infinite; }
@keyframes brilhoamarelo { 0%, 100% { border-color: #2a3a60; box-shadow: 0 12px 28px rgba(0, 0, 0, .5); } 50% { border-color: rgba(255, 207, 92, .8); box-shadow: 0 0 26px 6px rgba(255, 207, 92, .35); } }
.e-pend .e-tela .app-logo { opacity: .6; }
.e-ok .e-tela { border-color: var(--accent); box-shadow: 0 0 30px 6px rgba(61, 220, 151, .4); }
.e-fail .e-tela { border-color: #7a2f3a; }
.e-fail .e-tela .app-logo { filter: grayscale(1); opacity: .5; }
.e-check { position: absolute; inset: 0; display: none; place-items: center; background: rgba(10, 16, 32, .74); z-index: 3; color: var(--accent); }
.e-check .ic { width: 26px; height: 26px; stroke-width: 2.8; }
.e-ok .e-check { display: grid; animation: aparece .35s ease-out; }
.e-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: risca .5s .15s ease-out forwards; }
@keyframes risca { to { stroke-dashoffset: 0; } }
@keyframes aparece { from { opacity: 0; } }
.e-ok .e-tv::before {
  content: ""; position: absolute; left: 50%; top: calc(var(--tv-h) / 2); width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 2px solid var(--accent); animation: onda .9s ease-out forwards; pointer-events: none;
}
@keyframes onda { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* ---------------------------------------------------------------- TV */
.tv { position: relative; margin: 0; min-width: 0; isolation: isolate; }
.tv::before {
  content: ""; position: absolute; inset: 6% 6% 0; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .55), transparent); filter: blur(34px); opacity: .7;
}
.tv-moldura {
  position: relative; padding: clamp(5px, .8vw, 12px); border-radius: clamp(10px, 1.4vw, 20px);
  background: linear-gradient(155deg, #34405e 0%, #131a2a 20%, #090d16 68%, #222c45 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(0, 0, 0, .7), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 80px -24px rgba(47, 107, 255, .45);
}
.tv-tela { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(3px, .45vw, 8px); background: #070b14; }
.tv-reflexo { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 30%); }
.tv-pe {
  position: relative; width: 22%; height: clamp(12px, 1.8vw, 24px); margin: 0 auto;
  background: linear-gradient(180deg, #1c2438, #0b0f19); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.tv-luz {
  position: absolute; left: 2%; right: 2%; top: calc(100% - 8px); height: clamp(40px, 7vw, 90px); z-index: -1; pointer-events: none; opacity: .85;
  background: radial-gradient(50% 55% at 50% 0%, rgba(47, 107, 255, .6), transparent 75%), radial-gradient(26% 40% at 50% 0%, rgba(61, 220, 151, .3), transparent 80%);
  filter: blur(16px);
}

/* ------------------------------------------------------------ controle remoto */
.controle {
  --cruz: 120px;
  position: relative; width: 140px; justify-self: center;
  display: grid; justify-items: center; gap: 18px; padding: 22px 12px 24px;
  border-radius: 64px 64px 50px 50px;
  background: linear-gradient(165deg, #2a3655 0%, #131b2c 42%, #0b101b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -3px 8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .55), 0 34px 60px -24px rgba(0, 0, 0, .95);
  rotate: -4deg; transition: rotate .4s ease;
}
.controle:hover, .controle:focus-within { rotate: 0deg; }
.ctl-led { width: 7px; height: 7px; border-radius: 50%; background: #2c3a5a; transition: background .1s, box-shadow .1s; }
.ctl-led.aceso { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.ctl-logo { width: 22px; height: 22px; border-radius: 6px; opacity: .8; margin-top: -8px; }
.ctl-cruz {
  position: relative; width: var(--cruz); height: var(--cruz); border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #26314b, #10161f 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -4px 10px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .65);
}
.ctl-anel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ctl-seta, .ctl-ok, .ctl-redondo { appearance: none; border: 0; padding: 0; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ctl-seta { position: absolute; display: grid; place-items: center; background: transparent; color: #c5d2ee; border-radius: 12px; transition: color .15s, scale .1s; }
.ctl-seta .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.ctl-cima, .ctl-baixo { left: 50%; width: 48px; height: 38px; translate: -50% 0; }
.ctl-cima { top: 3px; } .ctl-baixo { bottom: 3px; }
.ctl-esq, .ctl-dir { top: 50%; width: 38px; height: 48px; translate: 0 -50%; }
.ctl-esq { left: 3px; } .ctl-dir { right: 3px; }
.ctl-seta:hover { color: #fff; }
.ctl-ok {
  position: absolute; inset: 37px; border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #34426a, #172034 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 3px 8px rgba(0, 0, 0, .6);
  color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .08em; transition: scale .1s, box-shadow .15s;
}
.ctl-ok:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 2px rgba(91, 140, 255, .7); }
.ctl-linha { display: flex; gap: 20px; }
.ctl-redondo {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #283450, #121927 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 6px rgba(0, 0, 0, .6); color: #c5d2ee; transition: color .15s, scale .1s;
}
.ctl-redondo .ic { width: 19px; height: 19px; stroke-width: 2.1; }
.ctl-redondo:hover { color: #fff; }
.ctl-seta:active, .ctl-ok:active, .ctl-redondo:active, .apertado { scale: .9; color: var(--accent) !important; }
.ctl-seta:focus-visible, .ctl-redondo:focus-visible, .ctl-ok:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ctl-redondo:focus-visible, .ctl-ok:focus-visible { border-radius: 50%; }
.ctl-deco { display: grid; grid-template-columns: repeat(3, 22px); gap: 10px; justify-items: center; }
.ctl-deco span { width: 22px; height: 12px; border-radius: 6px; background: #172034; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ctl-deco b { grid-column: 1 / -1; width: 30px; height: 54px; margin-top: 6px; border-radius: 15px; background: #172034; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ctl-nome { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #7f8db3; margin-top: 4px; }

.demo-legenda {
  min-height: 3.2em; margin: 30px auto 0; max-width: 62ch; text-align: center;
  color: var(--text); font-size: 1.02rem; font-weight: 550; line-height: 1.55;
  display: flex; align-items: center; justify-content: center;
}
.demo-legenda .n {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-right: 10px; padding: 0 6px; border-radius: 999px;
  background: rgba(61, 220, 151, .14); color: var(--accent); font-size: .82rem; font-weight: 800; flex: none;
}
.demo-acoes { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.demo-acoes .ligado { border-color: rgba(61, 220, 151, .6); color: var(--accent); }
.demo-nota { margin: 14px auto 0; text-align: center; color: var(--faint); font-size: .86rem; max-width: 60ch; }

/* tela média: o lado (mensagem / mini painel) sobe para cima da TV */
@media (max-width: 1180px) {
  .demo-cena { grid-template-columns: minmax(0, 1fr) auto; }
  .lado { grid-column: 1 / -1; max-width: 760px; width: 100%; margin: 0 auto; }
  .lado-msg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 4px 20px; align-items: center; }
  .lado-msg .lado-rot { grid-column: 1 / -1; margin-bottom: 4px; }
  .lado-nota { margin-top: 0; }
  .mp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
  .mp-topo, .mp-titulo { grid-column: 1 / -1; }
  .mp-linha { margin-top: 0; align-content: start; }
  .mp-status { grid-column: 1 / -1; }
}

/* celular: tudo empilhado e o controle deitado embaixo da TV */
@media (max-width: 760px) {
  .demo-abas { width: 100%; }
  .demo-abas button { flex: 1; justify-content: center; padding: 8px 10px; font-size: .88rem; }
  .demo-cena { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lado { margin-bottom: 22px; }
  .lado-msg { display: block; }
  .lado-nota { margin-top: 10px; }
  .mp { display: block; padding: 14px; }
  .mp-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-app { flex-direction: column; gap: 5px; padding: 9px 4px; text-align: center; }
  .mp-app b { font-size: .76rem; white-space: normal; line-height: 1.2; }
  .mp-app small, .mp-app i { display: none; }
  .mp-linha { grid-template-columns: minmax(0, 1fr); }
  .controle {
    --cruz: 124px;
    width: 100%; max-width: 360px; rotate: 0deg;
    grid-template-columns: 1fr auto 1fr; grid-template-areas: "voltar cruz inicio";
    align-items: center; gap: 0 14px; padding: 12px 22px; border-radius: 30px; margin-top: 26px;
  }
  .ctl-cruz { grid-area: cruz; }
  .ctl-linha { display: contents; }
  .ctl-voltar { grid-area: voltar; justify-self: start; }
  .ctl-inicio { grid-area: inicio; justify-self: end; }
  .ctl-led, .ctl-logo, .ctl-deco, .ctl-nome { display: none; }
  .ctl-redondo { width: 52px; height: 52px; }
  .ctl-cima, .ctl-baixo { width: 54px; height: 42px; }
  .ctl-esq, .ctl-dir { width: 42px; height: 54px; }
  .ctl-ok { inset: 39px; }
  .demo-legenda { font-size: .96rem; min-height: 4.6em; margin-top: 22px; }
}

/* ================================================================ como funciona */
.passos { list-style: none; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: p; }
.passo { padding: 26px 26px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.passo:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 70px -40px rgba(47, 107, 255, .55); }
.passo-n {
  position: absolute; top: 20px; right: 22px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: var(--accent); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .25);
}
.passo h3 { margin-top: 22px; font-size: 1.28rem; font-weight: 750; letter-spacing: -.015em; }
.passo p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
.passo-arte {
  height: 164px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; margin-right: 48px;
  background: radial-gradient(80% 90% at 30% 0%, rgba(47, 107, 255, .22), transparent 70%), #0f1728; border: 1px solid var(--line);
}
.arte-envio { width: 84%; display: grid; gap: 12px; }
.arte-arquivo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #19243d; border: 1px solid var(--line2); font-size: .84rem; font-family: var(--mono); color: #cdd6ea; }
.arte-arquivo .ic { color: var(--primary2); font-size: 1.2rem; }
.arte-barra { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.arte-barra i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; animation: enche 3.2s var(--ease) infinite; }
@keyframes enche { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.arte-cod { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .3); }
.arte-cod small { color: var(--muted); font-size: .78rem; }
.arte-cod b { font-family: var(--mono); color: var(--accent); font-size: 1.2rem; letter-spacing: .14em; }
.arte-teclado { display: grid; gap: 12px; justify-items: center; }
.arte-campo { display: flex; gap: 6px; }
.arte-campo span { width: 28px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #19243d; border: 1px solid var(--line2); font-weight: 800; font-size: 1rem; }
.arte-campo .vazio { border-color: var(--primary2); box-shadow: 0 0 0 3px rgba(47, 107, 255, .2); }
.arte-campo .vazio::after { content: ""; width: 2px; height: 16px; background: var(--primary2); animation: pisca 1s steps(2) infinite; }
@keyframes pisca { 50% { opacity: 0; } }
.arte-teclas { display: grid; grid-template-columns: repeat(3, 40px); gap: 6px; }
.arte-teclas i { font-style: normal; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #19243d; color: #cdd6ea; font-size: .8rem; font-weight: 700; }
.arte-teclas .ic { width: 15px; height: 15px; }
.arte-teclas .ok { background: #2459e8; color: #fff; }
.arte-teclas .on { background: #2a3a60; color: #fff; box-shadow: 0 0 0 2px #fff; }
.arte-instalar { width: 86%; }
.arte-dlg { padding: 16px; border-radius: 14px; background: #24272e; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); }
.arte-dlg b { display: block; font-size: .92rem; font-weight: 600; color: #e8eaed; }
.arte-dlg div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.arte-dlg span { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #8ab4f8; }
.arte-dlg .on { background: #8ab4f8; color: #1d1f24; }

/* ================================================================ envio direto */
.envio { margin-top: clamp(44px, 6vw, 72px); }
.envio-palco {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 0;
  max-width: 980px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) clamp(12px, 3vw, 40px) clamp(40px, 4vw, 52px);
  border-radius: 28px; background: radial-gradient(60% 80% at 50% 0%, rgba(47, 107, 255, .16), transparent 70%), rgba(14, 23, 41, .6);
  border: 1px solid var(--line);
}
.envio-no { position: relative; flex: none; display: grid; justify-items: center; }
.envio-no-rot { position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; white-space: nowrap; color: var(--muted); font-size: .84rem; font-weight: 600; }
.envio-pc { width: clamp(108px, 22vw, 230px); }
.pc-tela {
  width: 100%; aspect-ratio: 16 / 11; border-radius: 12px 12px 4px 4px; overflow: hidden;
  background: #0f1728; border: clamp(3px, .5vw, 6px) solid #26324f; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
  container-type: inline-size;
}
.pc-barra { display: flex; gap: 3cqw; padding: 3cqw 4cqw; background: #19243d; }
.pc-barra i { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #34426a; }
.pc-ui { display: grid; gap: 2.6cqw; padding: 4cqw 6cqw; line-height: 1.25; }
.pc-rot { font-size: 5.4cqw; color: var(--muted); font-weight: 600; }
.pc-campo { padding: 2.4cqw 4cqw; border-radius: 3cqw; border: 1px solid var(--line2); background: #10192d; font-family: var(--mono); font-weight: 800; font-size: 7cqw; letter-spacing: .12em; color: var(--accent); white-space: nowrap; overflow: hidden; }
.pc-botao { padding: 3.2cqw; border-radius: 3cqw; text-align: center; font-size: 5.6cqw; font-weight: 700; color: #fff; background: linear-gradient(180deg, #2d68ec, #2252dc); transition: transform .2s, box-shadow .2s; }
.e-press .pc-botao { transform: scale(.94); box-shadow: 0 0 0 1.4cqw rgba(91, 140, 255, .35); }
.pc-status { font-size: 5cqw; color: var(--muted); text-align: center; min-height: 1.3em; font-weight: 600; white-space: nowrap; }
.pc-status b { color: var(--accent); }
.pc-base { width: 112%; height: clamp(6px, 1vw, 10px); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #2a3655, #151d30); }

.envio-feixe { position: relative; flex: 1; min-width: 40px; height: 60px; margin: 0 clamp(8px, 2vw, 22px); }
.envio-feixe::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(130, 160, 240, .4) 0 10px, transparent 10px 20px); transition: background .4s, box-shadow .4s;
}
.envio-feixe .pkt { width: 14px; height: 14px; margin: -7px 0 0 -7px; }

.envio-tv { width: clamp(130px, 30vw, 320px); }
.etv-tela {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(8px, 1.2vw, 14px); overflow: hidden;
  background: radial-gradient(80% 90% at 20% 0%, rgba(47, 107, 255, .3), transparent 70%), #0a1020;
  border: clamp(3px, .5vw, 6px) solid #2a3a60; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
  container-type: inline-size; transition: border-color .35s, box-shadow .35s;
}
.etv-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 42%); pointer-events: none; }
.etv-pe { width: 30%; height: clamp(8px, 1.4vw, 16px); background: linear-gradient(180deg, #24304b, #10172a); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.etv-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2.4cqw; opacity: 0; transition: opacity .35s; text-align: center; }
.etv-c small { font-size: 5cqw; color: var(--muted); font-weight: 600; }
.etv-c b { font-size: 9cqw; font-weight: 800; letter-spacing: -.01em; }
.etv-idle b { font-family: var(--mono); letter-spacing: .14em; color: #fff; font-size: 13cqw; }
.etv-idle span { display: inline-flex; align-items: center; gap: 2cqw; font-size: 4.6cqw; color: var(--accent); font-weight: 600; }
.etv-idle span i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--accent); animation: ponto 1.4s ease-in-out infinite; }
@keyframes ponto { 50% { opacity: .3; transform: scale(.7); } }
.etv-bts { display: flex; gap: 3cqw; }
.etv-bts em { font-style: normal; padding: 1.6cqw 4cqw; border-radius: 99px; font-size: 4.6cqw; font-weight: 700; background: rgba(255, 255, 255, .08); }
.etv-bts em:first-child { background: #2f6bff; box-shadow: 0 0 0 .8cqw #fff; }
.etv-down b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10cqw; font-variant-numeric: tabular-nums; }
.etv-anel { width: 42cqw; height: 42cqw; transform: rotate(-90deg); }
.etv-anel-p { transition: stroke-dashoffset .25s linear; }
.etv-ok { color: var(--accent); }
.etv-ok .ic { width: 22cqw; height: 22cqw; stroke-width: 2.6; }
.etv-ok .ic path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.e-ok .etv-ok .ic path { animation: risca .55s .1s ease-out forwards; }
.e-ok .etv-ok b { color: var(--text); font-size: 7cqw; }
.e-idle .etv-idle, .e-pend .etv-pend, .e-down .etv-down, .e-ok .etv-ok { opacity: 1; }
.e-pend .etv-tela { animation: brilhoamarelo 2s ease-in-out infinite; }
.e-down .etv-tela { border-color: #3b6bff; box-shadow: 0 0 40px 6px rgba(47, 107, 255, .45); }
.e-ok .etv-tela { border-color: var(--accent); box-shadow: 0 0 46px 8px rgba(61, 220, 151, .35); }
.e-ok .envio-tv::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 60%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 2px solid var(--accent); animation: onda 1.1s ease-out forwards; pointer-events: none;
}

.envio-passos { list-style: none; padding: 0; margin: clamp(44px, 5vw, 60px) auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.envio-passos li {
  position: relative; display: flex; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(20, 28, 46, .6); transition: border-color .35s, background .35s, transform .35s var(--ease);
}
.envio-passos li::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.envio-passos li.ativo { border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .06); transform: translateY(-3px); }
.envio-passos li.ativo::after { animation: linha var(--t, 3s) linear forwards; }
@keyframes linha { to { transform: scaleX(1); } }
.envio-passos li > span { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--muted); font-weight: 800; font-size: .86rem; transition: .35s; }
.envio-passos li.ativo > span { background: var(--accent); color: #04281a; }
.envio-passos p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.envio-passos p b { display: block; color: var(--text); font-size: .95rem; margin-bottom: 3px; }

/* ================================================================ painel (janela) */
.janela {
  position: relative; margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1080px; border-radius: 22px; overflow: hidden;
  background: #0e1729; border: 1px solid var(--line2);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 100px -40px rgba(47, 107, 255, .5);
}
.janela-barra { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #131d33; border-bottom: 1px solid var(--line); }
.janela-bolas { display: flex; gap: 7px; }
.janela-bolas i { width: 11px; height: 11px; border-radius: 50%; background: #34426a; }
.janela-url { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; background: #0b1220; color: var(--muted); font-size: .82rem; }
.janela-url .ic { color: var(--accent); font-size: .9rem; }
.ilustrativo {
  position: absolute; top: 10px; right: 14px; z-index: 2; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 207, 92, .12); border: 1px solid rgba(255, 207, 92, .4); color: #ffd97a; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.janela-corpo { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; }
.jp-lado { padding: 18px 12px; border-right: 1px solid var(--line); background: #0d1526; display: grid; align-content: start; gap: 4px; }
.jp-marca { display: flex; align-items: center; gap: 9px; padding: 4px 10px 16px; font-weight: 800; }
.jp-marca img { border-radius: 8px; }
.jp-lado span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.jp-lado span .ic { font-size: 1.05rem; }
.jp-lado span.on { background: rgba(47, 107, 255, .14); color: #fff; box-shadow: inset 3px 0 0 var(--primary2); }
.jp-main { padding: clamp(16px, 2.4vw, 26px); min-width: 0; }
.jp-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jp-h { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.jp-s { color: var(--muted); font-size: .86rem; }
.jp-s b { color: var(--accent); font-family: var(--mono); letter-spacing: .08em; }
.jp-busca { position: relative; display: block; flex: 1; max-width: 300px; min-width: 200px; }
.jp-busca .ic { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--faint); }
.jp-busca input {
  width: 100%; padding: 10px 12px 10px 36px; border-radius: 12px; border: 1px solid var(--line2); background: #10192d; color: var(--text);
  font: inherit; font-size: .9rem; transition: border-color .15s, box-shadow .15s;
}
.jp-busca input::placeholder { color: var(--faint); }
.jp-busca input:focus { outline: none; border-color: var(--primary2); box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); }
.jp-grafico { margin-top: 18px; padding: 16px; border-radius: 16px; background: #111a2e; border: 1px solid var(--line); }
.jp-pilulas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.jp-pilulas div { padding: 10px 12px; border-radius: 12px; background: #0e1729; border: 1px solid var(--line); }
.jp-pilulas b { display: block; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.jp-pilulas small { color: var(--muted); font-size: .78rem; }
.jp-barras { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.jp-barras i { flex: 1; min-width: 0; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #5b8cff, #2459e8); opacity: .92; transform-origin: bottom; }
.jp-barras i:last-child { background: linear-gradient(180deg, #5ef0b0, #27c47f); }
.anima .janela:not(.visto) .jp-barras i { transform: scaleY(0); }
.anima .janela.visto .jp-barras i { transition: transform .7s var(--ease); transition-delay: calc(.3s + var(--i) * 22ms); }
.jp-eixo { display: flex; justify-content: space-between; margin-top: 6px; color: var(--faint); font-size: .74rem; }
.jp-apps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.jp-apps li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 14px; background: #121b2f; border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.jp-apps li:hover { border-color: var(--line2); background: #152039; }
.jp-logo .app-logo { width: 44px; height: 44px; border-radius: 12px; }
.jp-info { min-width: 0; }
.jp-info b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-info span { color: var(--muted); font-size: .8rem; }
.jp-info code { color: var(--accent); letter-spacing: .06em; font-weight: 700; }
.jp-num { text-align: right; padding-inline: 6px; }
.jp-num b { display: block; font-size: 1.1rem; }
.jp-num small { color: var(--faint); font-size: .72rem; }
.jp-bts { display: flex; gap: 6px; }
.jp-vazio { margin-top: 14px; color: var(--muted); font-size: .9rem; text-align: center; padding: 18px; }
.jp-aviso {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .07);
  font-size: .86rem; color: #d6f7e8; animation: surge .35s var(--ease) both;
}
.jp-aviso pre { margin: 8px 0 0; white-space: pre-wrap; font: .84rem/1.55 var(--sans); color: var(--text); }

.recursos { list-style: none; padding: 0; margin: clamp(44px, 6vw, 64px) auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.recursos li { display: flex; gap: 14px; align-items: flex-start; }
.rec-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--primary2); background: rgba(47, 107, 255, .12); border: 1px solid rgba(91, 140, 255, .28); }
.rec-ic .ic { font-size: 1.2rem; }
.recursos b { display: block; font-size: .98rem; }
.recursos p { margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ================================================================ para quem é */
.quem { margin-top: clamp(44px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.quem-card { padding: 30px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.quem-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 70px -40px rgba(61, 220, 151, .4); }
.quem-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .28); }
.quem-ic .ic { font-size: 1.45rem; }
.quem-card h3 { margin-top: 20px; font-size: 1.22rem; font-weight: 750; letter-spacing: -.015em; }
.quem-card p { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* ================================================================ preço */
.wrap-preco { max-width: 1320px; }
.teste {
  position: relative; overflow: hidden; margin: clamp(40px, 5vw, 60px) auto 0; max-width: 1080px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 32px;
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 34px); border-radius: 24px;
  background: radial-gradient(70% 120% at 0% 0%, rgba(61, 220, 151, .2), transparent 70%), linear-gradient(180deg, #13263a, #0f1d2e);
  border: 1px solid rgba(61, 220, 151, .35); box-shadow: 0 40px 80px -50px rgba(61, 220, 151, .5);
}
.teste-dias { display: flex; align-items: center; gap: 12px; }
.teste-dias b { font-size: clamp(3.6rem, 6vw, 4.6rem); font-weight: 850; letter-spacing: -.05em; line-height: .9; color: #fff; }
.teste-dias span { color: var(--accent); font-weight: 800; font-size: 1rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .08em; }
.teste-texto h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -.01em; }
.teste-itens { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.teste-itens li { display: inline-flex; align-items: center; gap: 7px; color: #cfe9de; font-size: .92rem; }
.teste-itens .ic { color: var(--accent); stroke-width: 2.6; }

.planos-rola { margin-top: 26px; }
.planos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plano {
  position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 39, 64, .8), rgba(17, 26, 46, .75)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
.plano:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 34px 60px -36px rgba(47, 107, 255, .55); }
.plano-destaque {
  border-color: transparent;
  background:
    linear-gradient(180deg, #1c2c52, #131f3a) padding-box,
    linear-gradient(160deg, #7fa4ff, #2f6bff 45%, #3ddc97) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 80px -36px rgba(47, 107, 255, .75), 0 0 0 6px rgba(47, 107, 255, .08);
}
.plano-destaque:hover { border-color: transparent; }
.plano-selo {
  position: absolute; top: -13px; left: 50%; translate: -50% 0; padding: 5px 13px; border-radius: 999px; white-space: nowrap;
  background: #2459e8; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(61, 220, 151, .55); box-shadow: 0 8px 20px -6px rgba(47, 107, 255, .8);
}
.plano-nome { font-size: 1.04rem; font-weight: 700; color: #d6deef; }
.plano-preco { display: flex; align-items: baseline; gap: 2px; margin-top: 14px; line-height: 1; white-space: nowrap; }
.plano-preco small { font-size: 1rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.plano-preco b { font-size: clamp(2.3rem, 3.1vw, 2.9rem); font-weight: 850; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.plano-preco span { font-size: 1.1rem; font-weight: 800; }
.plano-dias { margin-top: 6px; color: var(--faint); font-size: .84rem; }
.plano-porapp { align-self: flex-start; margin-top: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(61, 220, 151, .1); color: var(--accent); font-weight: 700; font-size: .8rem; white-space: nowrap; }
.plano-itens { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.plano-itens li { display: flex; gap: 8px; align-items: flex-start; color: #d6deef; font-size: .9rem; line-height: 1.4; }
.plano-itens .ic { flex: none; margin-top: 2px; color: var(--accent); stroke-width: 2.6; }
.plano-itens li.nao { color: var(--faint); }
.plano-itens li.nao .ic { color: var(--faint); }
.plano-cta { margin-top: 22px; width: 100%; }
.planos-nota { margin-top: 22px; text-align: center; color: var(--muted); font-size: .92rem; }
.planos-deslize { display: none; }

@media (max-width: 1100px) {
  /* uma fileira que desliza para o lado, com o recomendado no meio da vista */
  .planos-rola {
    margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding: 18px clamp(16px, 4vw, 32px) 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .planos-rola::-webkit-scrollbar { display: none; }
  .planos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); width: max-content; }
  .plano { scroll-snap-align: center; }
  .planos-deslize { display: inline; }
}
@media (max-width: 760px) {
  .teste { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .teste .btn { width: 100%; }
  .planos { grid-auto-columns: minmax(0, 78vw); }
  .planos-rola { scroll-padding-inline: 16px; }
}

/* ================================================================ dúvidas */
.faq { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(20, 28, 46, .7); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: var(--line2); background: rgba(25, 36, 61, .8); }
.faq summary {
  list-style: none; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; font-weight: 650; font-size: 1.02rem; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { flex: none; position: relative; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .06); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--muted); transition: transform .3s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq details[open] .faq-ic::after { transform: rotate(0); }
.faq details[open] .faq-ic { background: rgba(61, 220, 151, .14); }
.faq details[open] .faq-ic::before, .faq details[open] .faq-ic::after { background: var(--accent); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 70ch; }
.faq details[open] p { animation: surge .35s var(--ease) both; }

/* ================================================================ aviso legal */
.aviso { display: flex; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line2); background: #111a2e; }
.aviso-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--primary2); background: rgba(47, 107, 255, .12); }
.aviso-ic .ic { font-size: 1.4rem; }
.aviso h2 { font-size: 1.15rem; font-weight: 750; }
.aviso p { margin-top: 8px; color: #c9d3e8; }
.aviso .aviso-2 { color: var(--muted); font-size: .92rem; }

/* ================================================================ final */
.final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0 clamp(90px, 11vw, 150px); text-align: center; }
@supports (overflow: clip) { .final { overflow: clip; } }
.final-fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 55%, rgba(47, 107, 255, .3), transparent 70%), radial-gradient(30% 40% at 70% 70%, rgba(61, 220, 151, .14), transparent 70%); }
.final-fundo span {
  position: absolute; left: -25%; right: -25%; bottom: 0; height: 50%;
  background-image: linear-gradient(rgba(91, 140, 255, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 140, 255, .28) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%); opacity: .45;
}
.final-dominio {
  margin-top: 18px; font-size: clamp(2.6rem, 11.5vw, 10rem); font-weight: 900; letter-spacing: -.055em; line-height: .95;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.final-dominio span:first-child {
  background: linear-gradient(180deg, #fff 30%, #9db8ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final-ponto { background: linear-gradient(100deg, var(--primary2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.final-sub { margin: 26px auto 0; max-width: 52ch; color: var(--muted); font-size: 1.1rem; }

/* ================================================================ rodapé */
.rodape { border-top: 1px solid var(--line); padding: 34px 0 44px; background: #0a101c; }
.rodape-in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.rodape-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.rodape-links a:hover { color: var(--text); }
.rodape-copy { width: 100%; color: var(--faint); font-size: .84rem; }

/* ================================================================ responsivo da página */
@media (max-width: 980px) {
  .passos, .quem { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .envio-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .janela-corpo { grid-template-columns: minmax(0, 1fr); }
  .jp-lado { display: none; }
}
@media (max-width: 640px) {
  .secao { padding-block: 72px; }
  .recursos { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .envio-passos { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .envio-palco { border-radius: 22px; }
  .envio-no-rot { font-size: .74rem; }
  .jp-apps li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .jp-logo .app-logo { width: 40px; height: 40px; }
  .jp-bts { grid-column: 1 / -1; }
  .jp-bts .btn { flex: 1; }
  .jp-pilulas b { font-size: 1.2rem; }
  .jp-pilulas small { font-size: .7rem; }
  .jp-barras { height: 90px; gap: 2px; }
  .jp-busca { max-width: none; min-width: 0; flex-basis: 100%; }
  .janela-corpo { min-height: 0; }
  .ilustrativo { top: 9px; right: 10px; font-size: .68rem; }
  .janela-barra { padding-right: 130px; }
  .janela-bolas { display: none; }
  .janela-url { font-size: .74rem; padding: 4px 10px; min-width: 0; white-space: nowrap; overflow: hidden; }
  .aviso { flex-direction: column; gap: 14px; }
  .passo-arte { margin-right: 0; margin-top: 30px; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.6rem); }
  .selo { font-size: .82rem; gap: 6px 8px; padding: 6px 14px 6px 6px; }
  .selo span { flex-basis: 100%; }
  .selo i { display: none; }
  .fatos { flex-direction: column; align-items: center; gap: 8px; }
  .rodape-links { margin-left: 0; }
}

/* ================================================================ menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .aurora, .hero-estrelas { animation: none !important; }
  .controle { rotate: 0deg; }
}

/* =====================================================================
   SIMULADOR — o app DGDown dentro da TV.
   Palco de 1920x1080 escalado por transform (simulador.js). Medidas em px da TV.
   ===================================================================== */
.sim { position: absolute; inset: 0; overflow: hidden; outline: none; cursor: default; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tv-tela:has(.sim:focus-visible) { box-shadow: 0 0 0 3px var(--accent); }
.sim-palco {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0;
  font-family: var(--sans); color: #f3f4f6; font-size: 30px; line-height: 1.25; user-select: none; -webkit-user-select: none;
  background: radial-gradient(1100px 700px at 8% -12%, rgba(47, 107, 255, .3), transparent 62%), radial-gradient(900px 600px at 100% 110%, rgba(61, 220, 151, .08), transparent 60%), #0b1220;
}
.s-tela { position: absolute; inset: 0; }
.s-entra { animation: s-entra .42s var(--ease) both; }
@keyframes s-entra { from { opacity: 0; transform: translateY(26px) scale(.985); } }
.s-sai { animation: s-sai .25s ease both; pointer-events: none; }
@keyframes s-sai { to { opacity: 0; transform: scale(.99); } }

/* barra do alto */
.s-topo { position: absolute; left: 96px; right: 96px; top: 56px; display: flex; align-items: center; gap: 24px; }
.s-topo img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 16px 40px -10px rgba(47, 107, 255, .8); }
.s-topo-nome { font-size: 54px; font-weight: 850; letter-spacing: -1px; line-height: 1.05; }
.s-topo-nome b { color: #3ddc97; }
.s-topo-frase { font-size: 28px; color: #9ca3af; margin-top: 4px; }
.s-relogio { margin-left: auto; padding: 12px 26px; border-radius: 40px; background: rgba(255, 255, 255, .07); font-weight: 650; font-size: 30px; font-variant-numeric: tabular-nums; }
.s-rodape { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: 22px; color: rgba(243, 244, 246, .38); }

/* foco (o que o controle escolhe) */
.s-f { transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s; }
.s-f.f { transform: scale(1.07); box-shadow: 0 0 0 7px #fff, 0 26px 60px -10px rgba(47, 107, 255, .75); z-index: 2; position: relative; }

/* início: código + teclado */
.s-esq { position: absolute; left: 96px; top: 250px; width: 860px; }
.s-rot { font-size: 32px; font-weight: 650; color: #cdd6ea; }
.s-caixas { display: flex; gap: 18px; margin-top: 18px; }
.s-caixa {
  width: 124px; height: 152px; border-radius: 26px; display: grid; place-items: center; position: relative;
  background: #141c2e; border: 3px solid rgba(130, 160, 240, .22); font-size: 88px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.s-caixa.cheia { background: #19243d; border-color: rgba(130, 160, 240, .36); }
.s-caixa.cheia span { animation: s-digito .25s var(--ease); }
@keyframes s-digito { from { transform: scale(.4); opacity: 0; } }
.s-caixa.atual { border-color: #5b8cff; box-shadow: 0 0 0 6px rgba(47, 107, 255, .25); }
.s-caixa.atual::after { content: ""; width: 6px; height: 70px; border-radius: 3px; background: #5b8cff; animation: pisca 1s steps(2) infinite; }
.s-caixas.erro { animation: s-treme .45s; }
.s-caixas.erro .s-caixa { border-color: rgba(255, 92, 108, .8); }
@keyframes s-treme { 20%, 60% { transform: translateX(-16px); } 40%, 80% { transform: translateX(16px); } }
.s-dica { display: inline-flex; align-items: center; gap: 16px; margin-top: 36px; padding: 16px 28px; border-radius: 60px; background: rgba(61, 220, 151, .1); border: 2px solid rgba(61, 220, 151, .35); font-size: 30px; color: #d6f7e8; }
.s-dica b { color: #3ddc97; font-size: 34px; letter-spacing: 3px; }
.s-dica i { width: 14px; height: 14px; border-radius: 50%; background: #3ddc97; }
.s-dica2 { margin-top: 16px; font-size: 26px; color: #9ca3af; padding-left: 8px; }
.s-dica2 b { color: #cdd6ea; letter-spacing: 2px; }
.s-aparelho { position: absolute; left: 96px; top: 760px; width: 806px; padding: 26px 34px; border-radius: 28px; background: #141c2e; border: 2px solid rgba(130, 160, 240, .14); }
.s-aparelho p { font-size: 30px; font-weight: 650; }
.s-aparelho p b { color: #3ddc97; font-family: var(--mono); letter-spacing: 4px; }
.s-aparelho small { display: block; margin-top: 8px; font-size: 23px; color: #9ca3af; line-height: 1.35; }
.s-teclado { position: absolute; left: 1100px; top: 250px; display: grid; grid-template-columns: repeat(3, 214px); gap: 22px; }
.s-tecla {
  height: 136px; border-radius: 30px; display: flex; align-items: center; justify-content: center; gap: 14px;
  background: #19243d; border: 2px solid rgba(130, 160, 240, .2); font-size: 64px; font-weight: 750; color: #eef2fb; cursor: pointer;
}
.s-tecla .ic { width: 56px; height: 56px; stroke-width: 2.2; }
.s-tecla.s-del { font-size: 30px; color: #cdd6ea; }
.s-tecla.s-del .ic { width: 48px; height: 48px; }
.s-tecla.s-ok { font-size: 34px; background: linear-gradient(180deg, #2d68ec, #2252dc); border-color: transparent; color: #fff; }
.s-tecla.s-ok .ic { width: 44px; height: 44px; }
.s-tecla.f { background: #2a3a60; color: #fff; }
.s-tecla.s-ok.f { background: linear-gradient(180deg, #5b8cff, #2f6bff); }
.s-tecla.aperta { animation: s-aperta .2s; }
@keyframes s-aperta { 50% { transform: scale(.94); } }

/* botões grandes da TV */
.s-bts { display: flex; gap: 30px; justify-content: center; margin-top: 56px; }
.s-bt {
  min-width: 300px; height: 112px; padding: 0 48px; border-radius: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: #19243d; border: 2px solid rgba(130, 160, 240, .2); font-size: 38px; font-weight: 750; color: #eef2fb; cursor: pointer;
}
.s-bt .ic { width: 44px; height: 44px; stroke-width: 2.3; }
.s-bt.pri { background: linear-gradient(180deg, #2d68ec, #2252dc); border-color: transparent; color: #fff; }
.s-bt.f { background: #2a3a60; }
.s-bt.pri.f { background: linear-gradient(180deg, #5b8cff, #2f6bff); }

/* tela centralizada (encontrado, baixando, pronto) */
.s-centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 40px; }
.s-chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px; border-radius: 40px; background: rgba(61, 220, 151, .12); color: #3ddc97; font-size: 30px; font-weight: 700; }
.s-chip .ic { width: 34px; height: 34px; stroke-width: 2.6; }
.s-logo-g { margin-top: 36px; }
.s-logo-g .app-logo { width: 220px; height: 220px; border-radius: 52px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); }
.s-nome { margin-top: 30px; font-size: 84px; font-weight: 850; letter-spacing: -2px; line-height: 1.05; }
.s-meta { margin-top: 12px; font-size: 32px; color: #9ca3af; }
.s-meta b { color: #cdd6ea; font-weight: 650; }

/* baixando */
.s-anel { position: relative; width: 380px; height: 380px; }
.s-anel > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-anel-p { transition: stroke-dashoffset .12s linear; filter: drop-shadow(0 0 18px rgba(91, 140, 255, .7)); }
.s-anel-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; }
.s-anel-in .app-logo { width: 110px; height: 110px; border-radius: 28px; }
.s-pct { font-size: 64px; font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.s-titulo { margin-top: 38px; font-size: 52px; font-weight: 800; letter-spacing: -1px; }
.s-vel { margin-top: 10px; font-size: 30px; color: #9ca3af; font-variant-numeric: tabular-nums; }
.s-barra { width: 900px; height: 16px; margin-top: 30px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.s-barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2f6bff, #5b8cff 70%, #3ddc97); transition: width .12s linear; }
.s-centro .s-bts { margin-top: 44px; }
.s-centro .s-bt { min-width: 260px; height: 96px; font-size: 34px; }

/* pronto */
.s-ok-circ { position: relative; width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #4be6a6, #1fa86c); box-shadow: 0 30px 80px -20px rgba(61, 220, 151, .8); }
.s-ok-circ .ic { width: 130px; height: 130px; stroke: #04281a; stroke-width: 2.8; }
.s-ok-circ .ic path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: risca .6s .2s ease-out forwards; }
.s-ok-circ::before, .s-ok-circ::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 4px solid #3ddc97; animation: onda 1.3s ease-out forwards; }
.s-ok-circ::after { animation-delay: .35s; }

/* lista do PIN */
.s-lista-cab { position: absolute; left: 96px; right: 96px; top: 240px; }
.s-lista-cab h2 { font-size: 60px; font-weight: 850; letter-spacing: -1px; }
.s-lista-cab p { margin-top: 8px; font-size: 30px; color: #9ca3af; }
.s-lista { position: absolute; left: 96px; right: 96px; top: 420px; display: grid; gap: 22px; }
.s-item { display: flex; align-items: center; gap: 32px; height: 150px; padding: 0 40px; border-radius: 30px; background: #141c2e; border: 2px solid rgba(130, 160, 240, .16); cursor: pointer; }
.s-item .app-logo { width: 100px; height: 100px; border-radius: 26px; }
.s-item b { font-size: 44px; font-weight: 750; }
.s-item small { display: block; font-size: 26px; color: #9ca3af; margin-top: 4px; }
.s-item .ic { margin-left: auto; width: 52px; height: 52px; color: #5b8cff; stroke-width: 2.3; }
.s-item.f { transform: scale(1.025); background: #1f2c4a; }

/* aguardando envio (fluxo B) */
.s-espera { position: absolute; left: 0; right: 0; top: 270px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-espera .s-rot { font-size: 40px; color: #9ca3af; }
.s-letras { display: flex; gap: 24px; margin-top: 30px; }
.s-letras span { width: 172px; height: 208px; border-radius: 34px; display: grid; place-items: center; background: #141c2e; border: 3px solid rgba(61, 220, 151, .4); font-family: var(--mono); font-size: 128px; font-weight: 800; color: #fff; box-shadow: 0 20px 50px -20px rgba(61, 220, 151, .45); }
.s-status { display: inline-flex; align-items: center; gap: 18px; margin-top: 44px; padding: 16px 32px; border-radius: 50px; background: rgba(61, 220, 151, .1); color: #3ddc97; font-size: 34px; font-weight: 700; }
.s-status i { width: 18px; height: 18px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: s-pulso 1.6s ease-out infinite; }
@keyframes s-pulso { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 100% { box-shadow: 0 0 0 26px rgba(61, 220, 151, 0); } }
.s-espera p { margin-top: 30px; max-width: 1100px; font-size: 30px; color: #9ca3af; line-height: 1.4; }

/* app aberto (exemplo) */
.s-app-aberto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--fundo-app, #1a1f3a); }
.s-app-aberto .app-logo { width: 240px; height: 240px; border-radius: 56px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.s-app-aberto h2 { margin-top: 36px; font-size: 92px; font-weight: 850; letter-spacing: -2px; }
.s-app-aberto p { margin-top: 10px; font-size: 32px; color: rgba(255, 255, 255, .7); }
.s-app-aberto .s-bts { margin-top: 50px; }

/* diálogos */
.s-veu { position: absolute; inset: 0; background: rgba(4, 8, 16, .66); display: grid; place-items: center; animation: aparece .25s ease both; }
.s-dlg { width: 1080px; padding: 60px 64px 52px; border-radius: 40px; background: #141c2e; border: 2px solid rgba(130, 160, 240, .26); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9); animation: s-dlg .35s var(--ease) both; }
@keyframes s-dlg { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.s-dlg h2 { font-size: 56px; font-weight: 850; letter-spacing: -1px; }
.s-dlg p { margin-top: 18px; font-size: 32px; color: #b6c1da; line-height: 1.4; }
.s-dlg .s-bts { justify-content: flex-end; margin-top: 46px; }
.s-dlg .s-bt { min-width: 240px; height: 100px; font-size: 34px; }
.s-dlg-app { display: flex; align-items: center; gap: 32px; margin-top: 30px; padding: 26px 30px; border-radius: 28px; background: #0f1728; }
.s-dlg-app .app-logo { width: 120px; height: 120px; border-radius: 30px; }
.s-dlg-app b { font-size: 46px; font-weight: 800; }
.s-dlg-app small { display: block; font-size: 26px; color: #9ca3af; margin-top: 6px; }
.s-dlg.erro h2 { color: #ff8a96; }

/* instalador do sistema: visual diferente de propósito (não é o DGDown) */
.s-sistema-rot { position: absolute; left: 50%; top: 150px; translate: -50% 0; display: inline-flex; align-items: center; gap: 14px; padding: 10px 24px; border-radius: 40px; background: rgba(255, 255, 255, .1); color: #e8eaed; font-size: 26px; font-weight: 600; white-space: nowrap; }
.s-sistema { width: 1120px; padding: 56px 60px 48px; border-radius: 32px; background: #24272e; font-family: Roboto, var(--sans); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9); animation: s-dlg .35s var(--ease) both; color: #e8eaed; }
.s-sistema-app { display: flex; align-items: center; gap: 30px; }
.s-sistema-app .app-logo { width: 116px; height: 116px; border-radius: 28px; }
.s-sistema-app b { font-size: 48px; font-weight: 600; }
.s-sistema p { margin-top: 38px; font-size: 38px; color: #e8eaed; }
.s-sistema .s-bts { justify-content: flex-end; gap: 20px; margin-top: 54px; }
.s-sistema .s-bt { min-width: 230px; height: 92px; border-radius: 50px; background: transparent; border: 0; color: #8ab4f8; font-size: 34px; font-weight: 600; }
.s-sistema .s-bt.f { background: #8ab4f8; color: #1d1f24; box-shadow: 0 0 0 6px rgba(138, 180, 248, .35); }
.s-sistema-barra { height: 12px; margin-top: 44px; border-radius: 8px; background: rgba(138, 180, 248, .2); overflow: hidden; position: relative; }
.s-sistema-barra i { position: absolute; top: 0; bottom: 0; width: 40%; border-radius: inherit; background: #8ab4f8; animation: s-indef 1.1s ease-in-out infinite; }
@keyframes s-indef { from { left: -40%; } to { left: 100%; } }

/* procurando + aviso rápido */
.s-procura { display: grid; justify-items: center; gap: 30px; font-size: 36px; color: #cdd6ea; }
.s-giro { width: 110px; height: 110px; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .1); border-top-color: #5b8cff; animation: s-gira .8s linear infinite; }
@keyframes s-gira { to { transform: rotate(360deg); } }
.s-toast { position: absolute; left: 50%; bottom: 80px; translate: -50% 0; padding: 22px 40px; border-radius: 50px; background: #1d2740; border: 2px solid rgba(130, 160, 240, .3); font-size: 30px; font-weight: 600; white-space: nowrap; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: s-toast 2.6s var(--ease) both; pointer-events: none; }
@keyframes s-toast { 0% { opacity: 0; transform: translateY(20px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* logos dos apps de exemplo (SVG gerado) */
.app-logo { display: block; overflow: hidden; }
