/* TinyTok — site (apresentação e download). Uma família tipográfica (a da marca), cores da marca,
   placas no estilo HUD dos botões de batalha. Do celular de 360px à tela grande. */
@font-face {
  font-family: "TinyTok Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/overlays/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "TinyTok Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/overlays/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --noite: #0d0710;
  --noite-2: #160c19;
  --noite-3: #22122a;
  --linha: rgba(201, 191, 208, .13);
  --ametista: #a259ff;
  --ametista-clara: #d4b0ff;
  --bordo: #9b1b42;
  --rosa: #ff3b6b;
  --ouro: #ffd54a;
  --nevoa: #c9bfd0;
  --texto: #f7f2fa;
  --raio: 22px;
  --nav-h: 68px;
  /* placa HUD: cantos chanfrados nas pontas */
  --cut: 26px;
  --hex: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--noite); color: var(--texto); overflow-x: clip;
  font: 500 17px/1.6 "TinyTok Sans", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ametista-clara); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
svg.i { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 50; padding: .6rem 1rem; border-radius: 10px; background: #fff; color: #000; font-weight: 800; }
.skip:focus { top: .6rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-main { background: linear-gradient(120deg, var(--ametista), #7c2bd0 55%, var(--bordo)); color: #fff; box-shadow: 0 14px 40px -12px rgba(162, 89, 255, .75); }
.btn-main:hover { box-shadow: 0 18px 50px -8px rgba(162, 89, 255, .95); }
.btn-line { border-color: rgba(212, 176, 255, .32); color: var(--texto); background: rgba(255, 255, 255, .03); }
.btn-line:hover { border-color: var(--ametista-clara); background: rgba(162, 89, 255, .1); }
.btn.disabled { opacity: .55; pointer-events: none; box-shadow: none; }

/* ---------- topo ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); background: rgba(13, 7, 16, .74); border-bottom: 1px solid var(--linha); }
.nav > .wrap { display: flex; align-items: center; gap: 1.6rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand img.logo { width: 36px; height: 36px; border-radius: 10px; }
.brand img.word { height: 22px; width: auto; }
.links { display: flex; gap: 1.5rem; margin-left: .4rem; }
.links a { position: relative; text-decoration: none; color: var(--nevoa); font-weight: 700; font-size: .95rem; padding: .3rem 0; }
.links a:hover, .links a.on { color: #fff; }
.links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ametista), var(--bordo)); }
.nav .acts { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav .btn { min-height: 42px; padding: .5rem 1.05rem; font-size: .92rem; }
.nav .btn svg.i { width: 18px; height: 18px; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border-radius: 12px; border: 1px solid var(--linha); background: rgba(255, 255, 255, .04); cursor: pointer; }
.menu-btn svg.i { width: 22px; height: 22px; }
.menu-btn svg.i:last-child, .menu-btn[aria-expanded="true"] svg.i:first-child { display: none; }
.menu-btn[aria-expanded="true"] svg.i:last-child { display: block; }
.menu { border-top: 1px solid var(--linha); background: rgba(13, 7, 16, .97); padding: .8rem 1.25rem 1.2rem; }
.menu nav { display: grid; }
.menu nav a { padding: .85rem .2rem; text-decoration: none; font-weight: 800; font-size: 1.1rem; border-bottom: 1px solid var(--linha); }
.menu .btn { width: 100%; margin-top: 1rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 130%; z-index: -1; pointer-events: none;
  background: radial-gradient(620px 440px at 78% 34%, rgba(162, 89, 255, .26), transparent 70%), radial-gradient(520px 380px at 96% 82%, rgba(155, 27, 66, .3), transparent 70%);
}
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; max-width: 11ch; text-wrap: balance; }
.hero .lede { margin: 1.4rem 0 2rem; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--nevoa); }
.hero .acts { display: flex; flex-wrap: wrap; gap: .8rem; }
.fine { display: flex; align-items: center; gap: .5rem; margin: 1.3rem 0 0; font-size: .95rem; color: var(--nevoa); }
.fine svg.i { color: #8ff0b8; width: 18px; height: 18px; }

/* demonstração: a live (celular) + o controle (tablet) */
.demo { position: relative; display: grid; grid-template-columns: 1fr; justify-items: end; padding-bottom: 1rem; }
.stage {
  position: relative; width: min(370px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 45% at 50% 38%, rgba(255, 186, 214, .2), transparent 70%),
    radial-gradient(60% 50% at 30% 70%, rgba(162, 89, 255, .32), transparent 70%),
    linear-gradient(180deg, #2a1433, #120914 70%);
  border: 1px solid rgba(212, 176, 255, .22); box-shadow: 0 40px 120px -30px rgba(162, 89, 255, .55), 0 0 0 10px rgba(255, 255, 255, .03);
  container-type: inline-size;
}
.stage::before { content: ""; position: absolute; left: 50%; top: 27%; width: 56%; aspect-ratio: 1 / 1.35; transform: translateX(-50%); border-radius: 48% 48% 40% 40%; background: radial-gradient(closest-side, rgba(255, 220, 235, .15), transparent); filter: blur(6px); }
.stage-live { position: absolute; top: 3.8cqw; left: 3.8cqw; z-index: 3; display: flex; align-items: center; gap: 1.1cqw; padding: .7cqw 1.8cqw; border-radius: 2.2cqw; background: var(--rosa); font-size: 3.1cqw; font-weight: 800; letter-spacing: .02em; }
.stage-live i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.pk { position: absolute; top: 13cqw; left: 3.4cqw; right: 3.4cqw; z-index: 2; }
.pk-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-weight: 800; font-size: 4.5cqw; font-variant-numeric: tabular-nums; }
.pk-row .op { text-align: right; color: #ff9cb8; transition: filter .3s; }
.pk-row .op.fog { filter: blur(5px); }
.pk-row .me { color: var(--ametista-clara); }
.pk-mid { display: flex; align-items: center; gap: 1.2cqw; }
.pk-row .t { font-size: 3.5cqw; padding: .3cqw 1.8cqw; border-radius: 2cqw; background: rgba(0, 0, 0, .45); transition: background .2s; }
.pk-row .t.hot { background: var(--rosa); animation: pulse .9s infinite; }
.mult { font-size: 3.2cqw; font-weight: 900; padding: .3cqw 1.4cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, #ffd54a, #f08aac); color: #2a0f1a; }
.mult[hidden] { display: none; }
.plus { position: absolute; left: 0; top: 7cqw; font-size: 4.2cqw; font-weight: 800; color: var(--ouro); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); pointer-events: none; animation: plus 1.1s ease-out forwards; }
@keyframes plus { from { opacity: 0; transform: translateY(2cqw); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(-6cqw); } }
.pk-bar { display: flex; height: 2.4cqw; margin-top: 1.2cqw; border-radius: 999px; overflow: hidden; background: var(--bordo); }
.pk-bar i { display: block; width: 58%; background: linear-gradient(90deg, var(--ametista), var(--ametista-clara)); transition: width .9s cubic-bezier(.3, 1, .4, 1); }

/* faixa da chamada (mesmo desenho do overlay de chamadas, em miniatura) */
.co-demo { position: absolute; left: 4%; right: 4%; top: 19%; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.co-mini {
  --c: #a259ff; --cut: 4.6cqw; position: relative; isolation: isolate; display: flex; align-items: center; gap: 2cqw; max-width: 100%;
  padding: 1.8cqw 5.6cqw 2.4cqw 2.4cqw; filter: drop-shadow(0 0 .7rem color-mix(in srgb, var(--c) 70%, transparent)) drop-shadow(0 .5rem 1rem rgba(0, 0, 0, .5));
  animation: co-in .45s cubic-bezier(.2, 1, .3, 1) both;
}
.co-mini::before, .co-mini::after { content: ""; position: absolute; clip-path: var(--hex); }
.co-mini::before { inset: 0; z-index: -2; background: linear-gradient(100deg, #a259ff, var(--c) 52%, #9b1b42); }
.co-mini::after { inset: 2px; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(30, 17, 34, .97), rgba(11, 7, 13, .98)); }
.co-mini.gold::before { background: linear-gradient(100deg, #ffd54a, #ff9f43 50%, #9b1b42); }
.co-mini img { width: 18cqw; flex: none; }
.co-mini b { display: block; font-size: 4.9cqw; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0 .6rem color-mix(in srgb, var(--c) 70%, transparent); }
.co-mini small { display: block; margin-top: .8cqw; font-size: 3.1cqw; font-weight: 700; color: rgba(255, 255, 255, .82); white-space: nowrap; }
.co-mini .bar { position: absolute; left: 6cqw; right: 6cqw; bottom: 1.3cqw; height: .6cqw; border-radius: 2px; background: var(--c); transform-origin: left; animation: co-bar var(--dur, 6s) linear both; }
.co-mini.out { animation: co-out .3s ease-in both; }
@keyframes co-in { from { opacity: 0; transform: scale(.9) translateY(8px); } }
@keyframes co-out { to { opacity: 0; transform: scale(.95) translateY(-6px); } }
@keyframes co-bar { to { transform: scaleX(0); } }

.stage .mini-jar { position: absolute; left: 3%; bottom: 3%; width: 40%; z-index: 1; }
.crowns { position: absolute; right: 4%; bottom: 4%; width: 22%; z-index: 1; display: flex; flex-direction: column; gap: 1cqw; }
.crowns .crown:nth-child(2), .crowns .crown:nth-child(3) { width: 80%; align-self: flex-end; }
.crowns.pulse .crown:first-child { animation: crown-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes crown-pop { 40% { transform: scale(1.15); } }

.hearts { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.heart { position: absolute; bottom: -8cqw; width: 7cqw; color: var(--rosa); animation: rise 1.7s ease-out both; }
.heart svg.i { width: 100%; height: auto; fill: currentColor; stroke: none; filter: drop-shadow(0 2px 6px rgba(255, 59, 107, .6)); }
@keyframes rise { from { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } to { opacity: 0; transform: translate(var(--dx, 0), -105cqw) scale(1.25); } }

/* coroa do Tap Tap: foto atrás, moldura por cima, furo medido em --cx/--cy/--r (frações da largura) */
.crown { position: relative; width: 100%; aspect-ratio: 1 / var(--ar, 1.25); container-type: inline-size; }
.crown .av {
  position: absolute; left: calc(var(--cx) * 100cqw); top: calc(var(--cy) * var(--ar) * 100cqw); width: calc(var(--r) * 200cqw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: calc(var(--r) * 90cqw); color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), transparent 45%), linear-gradient(140deg, var(--a), var(--b));
}
.crown img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* o controle (como o modo tablet) */
.remote {
  position: absolute; left: 0; bottom: 9%; z-index: 6; width: 236px; padding: .85rem; border-radius: 22px;
  background: rgba(22, 12, 25, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 176, 255, .22); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .025);
}
.remote-head { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem .15rem; font-size: .85rem; font-weight: 800; color: var(--nevoa); }
.remote-head svg.i { width: 17px; height: 17px; color: var(--ametista-clara); }
.remote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.remote-grid button {
  display: grid; justify-items: center; gap: .25rem; padding: .45rem .3rem .4rem; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(201, 191, 208, .1); background: rgba(255, 255, 255, .03); touch-action: manipulation;
  transition: transform .1s, border-color .2s, background .2s;
}
.remote-grid button:hover { border-color: rgba(212, 176, 255, .45); background: rgba(162, 89, 255, .08); }
.remote-grid button:active { transform: scale(.95); }
.remote-grid button[aria-pressed="true"] { border-color: var(--ametista-clara); background: rgba(162, 89, 255, .16); box-shadow: 0 0 18px -4px rgba(162, 89, 255, .7); }
.remote-grid button[aria-pressed="true"] img { filter: drop-shadow(0 0 10px rgba(212, 176, 255, .7)); }
.remote-grid img { width: 100%; max-width: 98px; }
.remote-grid span { font-size: .78rem; font-weight: 800; color: var(--nevoa); }

/* ---------- seções ---------- */
section.band { padding: clamp(4rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--linha); }
.band h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 17ch; text-wrap: balance; }
.band .lede { margin: 1.1rem 0 0; color: var(--nevoa); max-width: 38rem; font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split.flip > :first-child { order: 2; }

.points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: .8rem; align-items: start; }
.points li > svg.i { width: 24px; height: 24px; color: var(--ametista-clara); margin-top: .15rem; }
.points b { display: block; font-size: 1.05rem; }
.points span { color: var(--nevoa); font-size: .98rem; }

/* plataforma: abas com as telas reais */
.shots { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.shots button {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linha); background: rgba(255, 255, 255, .03); color: var(--nevoa); font-weight: 800; font-size: .95rem; transition: border-color .2s, background .2s, color .2s;
}
.shots button:hover { color: #fff; border-color: rgba(212, 176, 255, .35); }
.shots button svg.i { width: 19px; height: 19px; }
.shots button[aria-selected="true"] { color: #fff; border-color: rgba(212, 176, 255, .55); background: linear-gradient(120deg, rgba(162, 89, 255, .28), rgba(155, 27, 66, .22)); }
.shot-stage { position: relative; margin-top: 1.6rem; display: grid; place-items: center; min-height: 300px; }
.shot-stage figure { position: relative; margin: 0; animation: shot-in .35s ease-out; }
.shot-stage figure > img { cursor: zoom-in; }
.zoom-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .9rem .4rem .7rem;
  border-radius: 999px; border: 1px solid rgba(212, 176, 255, .35); background: rgba(13, 7, 16, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-weight: 800; font-size: .85rem; cursor: zoom-in;
}
.zoom-btn svg.i { width: 18px; height: 18px; }
.phone-dev .zoom-btn { right: 50%; transform: translateX(50%); bottom: 28px; }
.zoom { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--texto); }
.zoom::backdrop { background: rgba(8, 4, 10, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.zoom-body { display: flex; width: 100%; height: 100%; overflow: auto; padding: 72px 16px 24px; overscroll-behavior: contain; }
.zoom-body img { margin: auto; max-width: none; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom[data-kind="wide"] .zoom-body img { width: max(100%, 980px); max-width: 1440px; }
.zoom[data-kind="tall"] .zoom-body img { width: auto; height: min(100%, 860px); }
.zoom-x { position: fixed; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(212, 176, 255, .35); background: rgba(22, 12, 25, .9); color: #fff; cursor: pointer; }
.shot-stage figure[hidden] { display: none; }
@keyframes shot-in { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.win { width: 100%; border-radius: 16px; overflow: hidden; background: #0f0912; border: 1px solid rgba(212, 176, 255, .2); box-shadow: 0 60px 140px -50px rgba(162, 89, 255, .7), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.win-bar { display: flex; align-items: center; gap: .55rem; height: 38px; padding: 0 .9rem; background: #1a0f1d; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .82rem; font-weight: 700; color: var(--nevoa); }
.win-bar img { width: 18px; height: 18px; border-radius: 5px; }
.win-bar span { flex: 1; }
.win-bar svg.i { width: 16px; height: 16px; opacity: .55; margin-left: .7rem; }
.tab-dev { width: min(920px, 100%); padding: 16px; border-radius: 38px; background: linear-gradient(160deg, #2b1a31, #120a14); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 60px 140px -50px rgba(162, 89, 255, .7); }
.tab-dev img { border-radius: 24px; }
.phone-dev { width: min(330px, 80%); padding: 12px; border-radius: 48px; background: linear-gradient(160deg, #2b1a31, #120a14); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 140px -50px rgba(162, 89, 255, .7); }
.phone-dev img { border-radius: 38px; }

/* batalha: a chamada como aparece na live + as 12 chamadas (toque para ver) */
.co-preview {
  position: relative; container-type: inline-size; display: grid; place-items: center; aspect-ratio: 16 / 6.2; margin-bottom: 1.6rem; padding: 0 4%;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--linha);
  background: radial-gradient(60% 90% at 50% 120%, rgba(162, 89, 255, .28), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 44px), linear-gradient(180deg, #1b0f20, #0e0811);
}
.co-preview .co-mini { --cut: 4cqw; gap: 2.4cqw; padding: 2cqw 6cqw 2.6cqw 2.6cqw; }
.co-preview .co-mini img { width: 19cqw; }
.co-preview .co-mini b { font-size: 4.6cqw; }
.co-preview .co-mini small { font-size: 2.6cqw; white-space: normal; max-width: 44cqw; }
.co-preview .co-mini .bar { height: .5cqw; bottom: 1.2cqw; }
.co-empty { margin: 0; color: var(--nevoa); font-weight: 700; text-align: center; }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.badges button {
  display: grid; justify-items: center; gap: .35rem; padding: .55rem .3rem .6rem; border: 1px solid transparent; border-radius: 16px; background: none; cursor: pointer; touch-action: manipulation;
  transition: background .2s, border-color .2s, transform .1s;
}
.badges button:hover { background: rgba(255, 255, 255, .035); }
.badges button:active { transform: scale(.96); }
.badges button[aria-pressed="true"] { border-color: rgba(212, 176, 255, .4); background: rgba(162, 89, 255, .1); }
.badges button[aria-pressed="true"] img { filter: drop-shadow(0 0 14px rgba(212, 176, 255, .55)); }
.badges img { width: 100%; max-width: 150px; }
.badges span { font-size: .86rem; font-weight: 700; color: var(--nevoa); }
.badges button[aria-pressed="true"] span { color: #fff; }

/* pote interativo: no PC o pote à esquerda; no celular ele fica entre o texto e os controles */
.jar-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "vessel text" "vessel ctl"; column-gap: clamp(2rem, 5vw, 4.5rem); align-content: center; }
.jar-text { grid-area: text; align-self: end; }
.jar-grid .vessel-wrap { grid-area: vessel; }
.jar-ctl { grid-area: ctl; align-self: start; margin-top: 1.8rem; display: grid; gap: .8rem; max-width: 34rem; min-width: 0; }
.ctl-label { margin: 0; font-size: .9rem; font-weight: 800; color: var(--nevoa); }
.skins { display: flex; flex-wrap: wrap; gap: .45rem; }
.skins button {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .3rem .8rem .3rem .35rem; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--linha); background: rgba(255, 255, 255, .03); font-weight: 800; font-size: .88rem; color: var(--nevoa); transition: border-color .2s, background .2s, color .2s;
}
.skins button img { width: 34px; height: 34px; object-fit: contain; }
.skins button:hover { color: #fff; border-color: rgba(212, 176, 255, .35); }
.skins button[aria-checked="true"] { color: #fff; border-color: rgba(212, 176, 255, .6); background: rgba(162, 89, 255, .16); }
.fill-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: .4rem; }
.fill-row output { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ametista) var(--p, 35%), rgba(255, 255, 255, .1) var(--p, 35%)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--ametista); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--ametista); box-shadow: 0 4px 14px rgba(162, 89, 255, .6); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ametista); }
.jar-ctl .btn { justify-self: start; margin-top: .3rem; }

.vessel-wrap { display: grid; place-items: center; }
.vessel { position: relative; width: 100%; container-type: inline-size; }
.vessel-wrap .vessel { width: min(400px, 100%); }
.vessel > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vessel::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 7%; z-index: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(3cqw); }
.vessel .back { z-index: 1; }
.vessel .tokens { position: absolute; inset: 0; z-index: 2; }
.vessel .front { z-index: 3; pointer-events: none; }
.vessel .lid { z-index: 0; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1), filter .3s; }
.vessel .lid.closed { z-index: 4; filter: brightness(.8); }
.tok {
  position: absolute; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .6), transparent 40%), radial-gradient(circle at 60% 75%, rgba(0, 0, 0, .25), transparent 60%), var(--c);
  box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .28), 0 .8cqw 1.6cqw rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); animation: tok-in .5s cubic-bezier(.3, 1.35, .5, 1) both;
}
.tok svg.i { width: 54%; height: 54%; stroke-width: 2.4; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
@keyframes tok-in { from { opacity: 0; transform: translate(-50%, calc(-50% - 40cqw)) rotate(0deg); } 60% { opacity: 1; } }
.tok.leave { animation: tok-out .25s ease-in both; }
@keyframes tok-out { to { opacity: 0; transform: translate(-50%, -20%) scale(.5) rotate(var(--tilt, 0deg)); } }

/* coroas */
.crown-ctl { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; border: 1px solid var(--linha); background: rgba(255, 255, 255, .03); }
.seg button { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .95rem; border: 0; border-radius: 999px; background: transparent; color: var(--nevoa); font-weight: 800; font-size: .9rem; cursor: pointer; }
.seg button svg.i { width: 17px; height: 17px; }
.seg button[aria-checked="true"] { background: linear-gradient(120deg, rgba(162, 89, 255, .45), rgba(155, 27, 66, .4)); color: #fff; }
.podium { display: flex; justify-content: center; min-height: 260px; }
.podium[data-layout="row"] { align-items: flex-end; gap: 1rem; }
.podium[data-layout="row"] .pod { width: 30%; display: grid; justify-items: center; gap: .4rem; animation: shot-in .35s ease-out both; }
.podium[data-layout="row"] .pod.first { width: 37%; margin-bottom: 1.4rem; }
.podium[data-layout="row"] .pod .crown { width: 100%; max-width: 210px; }
.podium[data-layout="list"] { flex-direction: column; gap: .7rem; max-width: 380px; margin-inline: auto; }
.podium[data-layout="list"] .pod { display: flex; align-items: center; gap: 1rem; animation: shot-in .35s ease-out both; }
.podium[data-layout="list"] .pod .crown { width: 86px; flex: none; }
.podium[data-layout="list"] .pod.first .crown { width: 104px; }
.pod b { font-size: 1.05rem; }

/* mais recursos */
.more { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 3rem; }
.more li { border-top: 2px solid rgba(162, 89, 255, .45); padding-top: 1.1rem; }
.more li > svg.i { width: 26px; height: 26px; color: var(--ametista-clara); margin-bottom: .7rem; }
.more b { display: block; font-size: 1.1rem; margin-bottom: .35rem; }
.more p { margin: 0; color: var(--nevoa); font-size: .98rem; }

/* como começar (sequência real) */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 50%; font-weight: 800; font-size: 1.4rem; background: linear-gradient(135deg, var(--ametista), var(--bordo)); }
.steps b { display: block; font-size: 1.2rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--nevoa); }

/* preço */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.8rem; max-width: 940px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 2rem 2.1rem; border-radius: var(--raio); background: var(--noite-2); border: 1px solid var(--linha); }
.plan h3 { margin: 0; font-size: 1.15rem; color: var(--nevoa); }
.price { display: flex; align-items: baseline; gap: .5rem; margin: .5rem 0 .2rem; }
.price b { font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--nevoa); font-weight: 700; }
.plan-sub { margin: 0 0 1.2rem; color: var(--nevoa); }
.plan ul { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg.i { width: 20px; height: 20px; margin-top: .2rem; color: #8ff0b8; }
.plan .btn { margin-top: auto; }
/* o Pro usa a placa HUD: borda em degradê e brilho dourado em cima */
.plan.pro { border: 0; background: none; isolation: isolate; --cut: 30px; }
.plan.pro::before, .plan.pro::after { content: ""; position: absolute; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.plan.pro::before { inset: 0; z-index: -2; background: linear-gradient(160deg, #ffd54a, #a259ff 35%, #7c2bd0 65%, #9b1b42); }
.plan.pro::after { inset: 2px; z-index: -1; background: radial-gradient(90% 60% at 50% 0%, rgba(255, 213, 74, .14), transparent 60%), linear-gradient(180deg, #1e1124, #120a15); }
.plan.pro h3 { color: var(--ouro); }
.plan.pro { filter: drop-shadow(0 30px 60px rgba(162, 89, 255, .35)); }
.note-line { display: flex; align-items: center; gap: .55rem; margin: 1.6rem 0 0; color: var(--nevoa); font-size: .95rem; }
.note-line svg.i { width: 18px; height: 18px; color: var(--ametista-clara); }

/* perguntas */
.faq { margin-top: 2.4rem; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 800; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--ametista-clara); border-bottom: 2.5px solid var(--ametista-clara); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 1.2rem; color: var(--nevoa); max-width: 68ch; }

/* chamada final */
.final { text-align: center; padding: clamp(4.5rem, 10vw, 8rem) 0; border-top: 1px solid var(--linha); background: radial-gradient(500px 300px at 50% 100%, rgba(162, 89, 255, .25), transparent 70%); }
.final h2 { margin: 0 auto; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1; max-width: 14ch; text-wrap: balance; }
.final .acts { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

footer { padding: 2.4rem 0 3rem; border-top: 1px solid var(--linha); color: var(--nevoa); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* ---------- download ---------- */
.dl { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.dl h1 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1; }
.dl .lede { margin: 1rem 0 0; color: var(--nevoa); font-size: 1.15rem; max-width: 40rem; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1.4rem; margin-top: 2.8rem; }
.dl-box { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--raio); background: var(--noite-2); border: 1px solid var(--linha); }
.dl-box.main { background: linear-gradient(160deg, rgba(162, 89, 255, .16), rgba(155, 27, 66, .12)), var(--noite-2); border-color: rgba(162, 89, 255, .35); }
.dl-box h2 { margin: 0 0 .4rem; font-size: 1.6rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; }
.dl-box h2 svg.i { width: 28px; height: 28px; color: var(--ametista-clara); }
.dl .note-line a { color: var(--ametista-clara); font-weight: 700; }
.dl-box p { color: var(--nevoa); margin: .3rem 0 0; }
.dl-box .btn { margin-top: 1.4rem; }
.dl-box ol { margin: 1.4rem 0 0; padding-left: 1.2rem; display: grid; gap: .6rem; color: var(--nevoa); }
.dl-box ol b { color: var(--texto); }
.note { margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .3); color: #ffd38a; font-size: .92rem; }

/* ---------- telas menores ---------- */
@media (max-width: 1180px) {
  .links { gap: 1.1rem; }
  /* PC pequeno e iPad deitado: a live encolhe e os botões ficam ao lado, sem cobrir o pote */
  .stage { width: min(340px, calc(100% - 190px)); }
  .remote { width: 176px; padding: .7rem; }
  .remote-grid button { padding: .35rem .2rem .3rem; }
}
@media (max-width: 1023px) {
  /* topo em uma coluna: a live e os botões lado a lado */
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .demo { display: flex; justify-content: center; align-items: flex-end; gap: 1.4rem; padding-bottom: 0; }
  .stage { flex: none; width: min(360px, max(280px, calc((100vh - 170px) * .5625))); width: min(360px, max(280px, calc((100svh - 170px) * .5625))); }
  .remote { position: static; flex: none; width: 236px; padding: .85rem; }
}
@media (max-width: 960px) {
  :root { --nav-h: 62px; }
  .links, .nav .nav-login { display: none; }
  .menu-btn { display: grid; }
  .split, .split.flip, .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jar-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "vessel" "ctl"; }
  .jar-grid .vessel-wrap { margin-top: 2rem; }
  .jar-grid .vessel { width: min(330px, 78%); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .vessel { width: min(360px, 88%); }
}
@media (max-width: 700px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 1.6rem); }

  .nav .btn-main span { display: none; }
  .nav .btn-main { padding: .5rem .8rem; }
  .more { grid-template-columns: minmax(0, 1fr); }
  .hero .acts .btn { flex: 1 1 100%; }
  .plan { padding: 1.6rem 1.3rem 1.7rem; }
  .shots button { flex: 1 1 calc(50% - .5rem); justify-content: center; padding: .55rem .6rem; }
  .podium[data-layout="row"] { gap: .4rem; }
  .crown-ctl .seg { width: 100%; }
  .crown-ctl .seg button { flex: 1; justify-content: center; }
  /* celular: a live em cima e os botões numa fileira só, os dois cabem na tela juntos */
  .demo { flex-direction: column; align-items: center; gap: 1rem; }
  .stage { width: min(360px, 100%, max(260px, calc((100vh - 250px) * .5625))); width: min(360px, 100%, max(260px, calc((100svh - 250px) * .5625))); }
  .remote { width: 100%; padding: .7rem .6rem; }
  .remote-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3rem; }
  .remote-grid button { padding: .35rem .15rem .3rem; border-radius: 12px; }
  .remote-grid span { font-size: .68rem; white-space: nowrap; }
  .skins { flex-wrap: nowrap; overflow-x: auto; margin-inline: -.8rem; padding: 2px .8rem 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .skins::-webkit-scrollbar { display: none; }
  .skins button { flex: none; scroll-snap-align: start; }
  .co-preview { aspect-ratio: 16 / 8; }
}
@media (max-width: 380px) {
  .brand img.word { display: none; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
