/* TechFX · Formulário de lista de interesse (lançamento Accounting) */
:root {
  --brand-violet-950: #07020F;
  --brand-violet-900: #0D041C;
  --brand-violet-900b: #1C073D;
  --brand-violet-800: #380E7A;
  --brand-violet-700: #461199;
  --brand-violet-200: #D5C3F1;
  --brand-violet-100: #E5D7FB;
  --brand-violet-50: #F4EBFF;
  --brand-mint-500: #12E999;
  --brand-mint-400: #41EDAD;
  --brand-mint-200: #B8F8E0;
  --brand-mint-700: #0B8C5C;
  --neutral-900: #101828;
  --neutral-600: #475467;
  --neutral-500: #667085;
  --neutral-300: #D0D5DD;
  --neutral-200: #E4E7EC;
  --neutral-50: #F9FAFB;
  --color-error: #F04438;
  --bg-dark: #0D041C;
  --bg-dark-gradient: radial-gradient(ellipse 120% 80% at 50% -20%, #380E7A 0%, #1C073D 45%, #0D041C 100%);
  --fg-on-dark-2: rgba(255,255,255,.72);
  --fg-on-dark-3: rgba(255,255,255,.45);
  --border-hairline: rgba(244,235,255,.12);
  --border-pill-dark: rgba(181,156,222,.2);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --radius-chip: 14px;
  --radius-lg: 24px;
  --shadow-violet-glow: 0 0 60px rgba(70,17,153,.45);
  --shadow-mint-glow: 0 0 24px rgba(18,233,153,.3);
  --shadow-lg: 0 12px 40px -8px rgba(16,24,40,.12), 0 4px 12px -4px rgba(16,24,40,.08);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dock-h: 88px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  height: 100%;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(18,233,153,.35); }

.app { position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; isolation: isolate; }

/* ── fundo ── */
.bg { position: absolute; inset: 0; z-index: -1; background: var(--bg-dark-gradient); overflow: hidden; }
.bg i { position: absolute; border-radius: 50%; filter: blur(100px); transition: opacity 1200ms ease, transform 1600ms var(--ease-out); }
.bg-a { width: 60vmax; height: 60vmax; left: -22vmax; top: -34vmax; background: var(--brand-violet-700); opacity: .4; }
.bg-b { width: 42vmax; height: 42vmax; right: -16vmax; bottom: -24vmax; background: var(--brand-mint-500); opacity: .12; }
.app[data-screen="final"] .bg-b { opacity: .3; transform: translate(-4vmax, -4vmax); }

/* ── topo ── */
.top {
  display: grid; grid-template-columns: 1fr minmax(0, 340px) 1fr; align-items: center; gap: 24px;
  padding: calc(22px + env(safe-area-inset-top)) clamp(20px, 4vw, 48px) 0;
}
.brand { transition: opacity 400ms ease; }
.brand img { height: 24px; width: auto; }
.app[data-screen="hero"] .brand, .app.logo-flying .brand { opacity: 0; pointer-events: none; }
.fly-logo { position: fixed; z-index: 60; margin: 0; max-width: none; transform-origin: 0 0; pointer-events: none; will-change: transform; transition: transform 900ms var(--ease-out); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress i { position: relative; height: 4px; border-radius: 99px; background: rgba(244,235,255,.14); overflow: hidden; }
.progress i::after {
  content: ""; position: absolute; inset: 0; background: var(--brand-mint-500);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 700ms var(--ease-out);
}
.counter { justify-self: end; font-size: 14px; font-weight: 500; color: var(--fg-on-dark-3); font-variant-numeric: tabular-nums; }

/* ── palco e transições ── */
.stage { position: relative; flex: 1; min-height: 0; }
.screen {
  position: absolute; inset: 0; display: flex; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(12px, 3vh, 36px) clamp(20px, 6vw, 96px) var(--dock-h);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(var(--from, 32px));
  transition: opacity 420ms ease, transform 620ms var(--ease-out);
}
.screen > * { margin: auto; }
.screen.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.screen.is-leaving { opacity: 0; visibility: visible; transform: translateY(var(--to, -32px)); transition-duration: 220ms, 300ms; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 640ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 140ms); }
.is-active .reveal { opacity: 1; transform: none; }
.is-leaving .reveal { transition-delay: 0ms; }
.screen h1:focus, .screen h2:focus { outline: 0; box-shadow: none; }

/* ── botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer; text-decoration: none;
  transition: background 200ms ease, box-shadow 200ms ease, transform 120ms ease, opacity 200ms ease;
}
.btn:active { transform: scale(.98); }
.btn-mint { background: var(--brand-mint-500); color: var(--brand-violet-950); }
.btn-mint:hover { background: var(--brand-mint-400); box-shadow: var(--shadow-mint-glow); }
.btn-violet { background: var(--brand-violet-700); color: #fff; }
.btn-violet:hover { background: var(--brand-violet-800); }
.btn-ghost { background: transparent; color: var(--brand-violet-900b); border: 1px solid var(--neutral-300); }
.btn-ghost:hover { background: #fff; border-color: var(--brand-violet-200); }
.hint { font-size: 14px; color: var(--fg-on-dark-3); }
kbd { font: 600 12px var(--font-body); padding: 3px 7px; border: 1px solid rgba(244,235,255,.25); border-radius: 6px; background: rgba(255,255,255,.06); color: var(--fg-on-dark-2); }
@media (hover: none) { .hint, kbd { display: none; } }

/* ── eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  font-size: 13.5px; font-weight: 500; letter-spacing: .01em; color: var(--fg-on-dark-3); white-space: nowrap;
}
.eyebrow img { flex: none; width: 15px; height: auto; opacity: .9; }

/* ── arte 3D ── */
.art { position: relative; display: grid; place-items: center; width: min(196px, 100%); aspect-ratio: 1; }
.art::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%; filter: blur(22px);
  background: radial-gradient(closest-side, rgba(124,72,236,.6), transparent 72%);
}
.art--mint::before { background: radial-gradient(closest-side, rgba(18,233,153,.55), transparent 72%); }
.art img { position: relative; max-width: 86%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(7,2,15,.45)); }

/* ── primeira tela: uma mensagem e o campo de e-mail ── */
.hero { position: relative; width: 100%; max-width: 680px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { margin-bottom: 26px; }
.hero-logo img { height: 28px; width: auto; margin: 0 auto; }
.hero h1 { font: 500 clamp(34px, 5vw, 60px)/1.06 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand-mint-500); }
.hero .lead { max-width: 520px; text-wrap: balance; margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-on-dark-2); }
.ask { position: relative; width: 100%; max-width: 520px; margin-top: 38px; text-align: left; }
.ask::before { content: ""; position: absolute; inset: -60px -90px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(18,233,153,.13), transparent 72%); }
.field--pill {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 26px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(244,235,255,.2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -26px rgba(7,2,15,.9);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 300ms ease;
}
.field--pill::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--brand-mint-500); opacity: 0; pointer-events: none; animation: askRing 2.6s ease-out 1.3s 2; }
@keyframes askRing { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.05, 1.28); } }
.field--pill:focus-within { border-color: var(--brand-mint-500); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(18,233,153,.16), 0 24px 50px -26px rgba(7,2,15,.9); }
.field.field--pill input { flex: 1; min-width: 0; border: 0; padding: 12px 0; font: 500 clamp(18px, 1.7vw, 20px)/1.3 var(--font-body); letter-spacing: 0; animation: none; }
.field.field--pill input:focus { border: 0; }
.field--pill.is-error { border-color: var(--color-error); animation: shake 360ms ease; }
.field.field--pill.is-error input { animation: none; border: 0; }
.go {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brand-mint-500); color: var(--brand-violet-950);
  transition: background 200ms ease, box-shadow 200ms ease, transform 100ms ease-out;
}
.go:hover { background: var(--brand-mint-400); box-shadow: var(--shadow-mint-glow); }
.go:active { transform: scale(.94); }
.ask .q-error { min-height: 0; margin: 10px 0 0 26px; }
.ask .typo { margin-top: 12px; }
.fine { margin-top: 20px; font-size: 13.5px; text-align: center; color: var(--fg-on-dark-3); text-wrap: balance; }
.fine svg { display: inline-block; vertical-align: -2px; margin-right: 7px; color: var(--brand-mint-500); }
.resume { margin-top: 18px; font-size: 14.5px; color: var(--fg-on-dark-2); }
.resume button { margin-left: 10px; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--brand-mint-500); text-decoration: underline; text-underline-offset: 3px; }
.resume button.quiet { color: var(--fg-on-dark-2); font-weight: 500; }
.app[data-screen="hero"] .progress, .app[data-screen="hero"] .counter { opacity: 0; }
.progress, .counter { transition: opacity 500ms ease; }

/* ── pergunta ── */
.q-wrap { position: relative; width: 100%; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: clamp(24px, 5vw, 80px); align-items: center; }
.q-title { margin-top: 18px; font: 500 clamp(28px, 3.5vw, 46px)/1.1 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.q-title.is-long { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; }
.q-num { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; color: var(--brand-mint-500); font-size: .52em; vertical-align: .42em; letter-spacing: 0; }
.q-help { margin-top: 14px; color: var(--fg-on-dark-2); font-size: 18px; }
.q-body { margin-top: 34px; }
.q-error { min-height: 22px; margin-top: 12px; color: #FDA29B; font-size: 15px; }
.q-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--fg-on-dark-3); }
.q-note svg { flex: none; color: var(--brand-mint-500); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 26px; }
.reaction { margin-top: 20px; min-height: 26px; display: flex; align-items: center; gap: 8px; color: var(--brand-mint-500); font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.reaction.on { opacity: 1; transform: none; }

.field input {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(244,235,255,.28); border-radius: 0; color: #fff;
  font: 500 clamp(24px, 3vw, 38px)/1.3 var(--font-display); letter-spacing: -.01em; padding: 6px 0 12px; outline: 0; caret-color: var(--brand-mint-500);
  transition: border-color 200ms ease;
}
.field input::placeholder { color: rgba(255,255,255,.26); }
.field input:focus { border-color: var(--brand-mint-500); box-shadow: none; }
.field.is-error input { border-color: var(--color-error); animation: shake 360ms ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.typo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-chip); background: rgba(18,233,153,.08); border: 1px solid rgba(18,233,153,.3); font-size: 15px; }
.typo button { background: transparent; border: 0; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--brand-mint-500); overflow-wrap: anywhere; text-align: left; }
.typo button.quiet { color: var(--fg-on-dark-2); font-weight: 500; }

.suggest { list-style: none; margin-top: 8px; border-radius: var(--radius-chip); background: rgba(28,7,61,.92); border: 1px solid var(--border-hairline); backdrop-filter: blur(14px); overflow: hidden; }
.suggest li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; font-size: 18px; font-weight: 500; cursor: pointer; }
.suggest li small { color: var(--fg-on-dark-3); font-size: 14px; font-weight: 500; align-self: center; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: rgba(18,233,153,.12); }

.options { display: grid; gap: 10px; max-width: 440px; }
.options.is-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 380px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 18px 10px 12px; text-align: left; cursor: pointer;
  border-radius: var(--radius-chip); border: 1px solid var(--border-hairline); background: rgba(255,255,255,.05);
  font-size: 18px; font-weight: 500; line-height: 1.25;
  transition: background 200ms ease, border-color 200ms ease, transform 120ms ease;
}
.opt:hover { border-color: rgba(18,233,153,.55); background: rgba(18,233,153,.07); }
.opt:active { transform: scale(.985); }
.opt .key { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(244,235,255,.28); font-size: 13px; font-weight: 600; color: var(--fg-on-dark-2); transition: all 200ms ease; }
.opt .tick { margin-left: auto; opacity: 0; transform: scale(.7); transition: opacity 200ms ease, transform 300ms var(--ease-out); color: var(--brand-mint-500); }
.opt[aria-checked="true"] { border-color: var(--brand-mint-500); background: rgba(18,233,153,.14); }
.opt[aria-checked="true"] .key { background: var(--brand-mint-500); border-color: var(--brand-mint-500); color: var(--brand-violet-950); }
.opt[aria-checked="true"] .tick { opacity: 1; transform: none; }

.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.sc {
  aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--border-hairline); background: rgba(255,255,255,.05); cursor: pointer;
  font: 500 24px var(--font-display); transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 120ms ease;
}
.sc:hover { border-color: rgba(18,233,153,.6); background: rgba(18,233,153,.09); }
.sc:active { transform: scale(.96); }
.sc[aria-checked="true"] { background: var(--brand-mint-500); border-color: var(--brand-mint-500); color: var(--brand-violet-950); box-shadow: var(--shadow-mint-glow); }
.scale-ends { display: flex; justify-content: space-between; gap: 16px; max-width: 440px; margin-top: 14px; font-size: 14px; color: var(--fg-on-dark-2); }

/* ── tela final: cartão claro, na linguagem do app ── */
.card {
  position: relative; width: min(100%, 560px); padding: 34px clamp(22px, 5vw, 44px) 26px; overflow: hidden; text-align: center;
  background: var(--neutral-50); color: var(--neutral-900); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(7,2,15,.75), 0 0 0 1px rgba(255,255,255,.06), var(--shadow-violet-glow);
}
.card .art { width: 140px; margin: 0 auto 6px; }
@media (min-height: 860px) { .card .art { width: 164px; margin-bottom: 10px; } }
.card .art::before { background: radial-gradient(closest-side, rgba(124,72,236,.35), transparent 72%); }
.card .art--mint::before { background: radial-gradient(closest-side, rgba(18,233,153,.6), transparent 72%); }
.card .art img { filter: drop-shadow(0 16px 18px rgba(70,17,153,.22)); }
.card h2 { font: 500 clamp(26px, 3.6vw, 38px)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--brand-violet-800); text-wrap: balance; }
.card h2 .soft { display: block; color: var(--brand-violet-700); opacity: .72; }
.card .body { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--neutral-600); text-wrap: pretty; }
.card .body strong { color: var(--neutral-900); font-weight: 600; overflow-wrap: anywhere; }
.card .note { margin-top: 14px; font-size: 15px; color: var(--neutral-500); }
.card .ask-share { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--neutral-200); font-size: 16px; font-weight: 600; color: var(--neutral-900); }
.card .btn { margin-top: 14px; height: 48px; max-width: 100%; }
.status { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--neutral-200); text-align: left; }
.status b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; font-weight: 600; color: var(--neutral-900); }
.status span.d { display: block; font-size: 14px; color: var(--neutral-500); }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--brand-mint-200); color: #05603A; font-size: 12px; font-weight: 600; }

.ring { position: relative; flex: none; width: 46px; height: 46px; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring .trk { stroke: var(--neutral-200); }
.ring .bar { stroke: var(--brand-violet-700); stroke-linecap: round; stroke-dasharray: 125.7; transition: stroke-dashoffset 900ms var(--ease-out) 250ms; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--neutral-900); font-variant-numeric: tabular-nums; }

/* aviso de saída */
.leave { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity 260ms ease; }
.leave.on { opacity: 1; }
.leave-backdrop { position: absolute; inset: 0; background: rgba(7,2,15,.68); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.leave-card {
  position: relative; width: min(100%, 420px); padding: 28px 28px 20px; text-align: center; border-radius: var(--radius-lg);
  background: var(--neutral-50); color: var(--neutral-900);
  box-shadow: 0 30px 80px -20px rgba(7,2,15,.8), 0 0 0 1px rgba(255,255,255,.06), var(--shadow-violet-glow);
  transform: translateY(18px) scale(.98); transition: transform 520ms var(--ease-out);
}
.leave.on .leave-card { transform: none; }
.leave-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--neutral-500); cursor: pointer; transition: background 200ms ease; }
.leave-x:hover { background: var(--neutral-200); }
.leave .art { width: 108px; margin: 0 auto 2px; }
.leave .art::before { background: radial-gradient(closest-side, rgba(124,72,236,.35), transparent 72%); }
.leave .art img { filter: drop-shadow(0 14px 16px rgba(70,17,153,.22)); }
.leave h2 { font: 500 clamp(22px, 5.6vw, 27px)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--brand-violet-800); text-wrap: balance; }
.leave .body { margin-top: 10px; font-size: 16px; color: var(--neutral-600); text-wrap: pretty; }
.leave .status { margin-top: 18px; padding-top: 16px; }
.leave-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.leave-actions .btn { width: 100%; }
.leave-link { height: 42px; border: 0; background: none; color: var(--neutral-500); font-size: 15px; font-weight: 500; cursor: pointer; transition: color 200ms ease; }
.leave-link:hover { color: var(--neutral-900); }
/* teclas A/B/C só fazem sentido com teclado */
@media (hover: none) { .opt .key { display: none; } }
@media (prefers-reduced-transparency: reduce) {
  .field--pill, .leave-backdrop, .suggest, .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { background: var(--brand-violet-900b); }
  .field--pill { background: rgba(28,7,61,.96); }
  .suggest { background: var(--brand-violet-900b); }
}
@media (prefers-reduced-motion: reduce) { .leave-card { transform: none; } }

/* fila (final) */
.queue { --slot: 44px; display: flex; justify-content: center; gap: 10px; margin: 34px 0 4px; }
.queue i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-violet-100); opacity: var(--o, .5); animation: queueShift 1500ms var(--ease-out) 700ms both; }
.queue i.you { --o: 1; z-index: 2; display: grid; place-items: center; background: var(--brand-mint-500); box-shadow: 0 0 0 6px rgba(18,233,153,.2), var(--shadow-mint-glow); animation-name: queueFront; }
.queue i.you .mk { width: 17px; height: 12px; background: var(--brand-violet-950); -webkit-mask: url(../assets/simbolo.png) center / contain no-repeat; mask: url(../assets/simbolo.png) center / contain no-repeat; }
.queue i.you::after { content: "Você"; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--brand-mint-700); }
@keyframes queueFront { from { transform: translateX(calc(var(--slot) * 6)); } to { transform: none; } }
@keyframes queueShift { from { transform: translateX(calc(var(--slot) * -1)); } to { transform: none; } }

/* ── dock ── */
.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; align-items: flex-end; padding: 20px clamp(20px, 4vw, 48px) calc(22px + env(safe-area-inset-bottom)); pointer-events: none; }
.dock > * { pointer-events: auto; }
.nav {
  display: inline-flex; border-radius: 14px; overflow: hidden; color: var(--fg-on-dark-2);
  background: rgba(255,255,255,.07); border: 1px solid var(--border-hairline);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: opacity 300ms ease;
}
.nav button { display: grid; place-items: center; width: 48px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; transition: background 150ms ease, color 150ms ease, opacity 200ms ease; }
.nav button + button { border-left: 1px solid var(--border-hairline); }
.nav button:hover:not(:disabled) { background: rgba(255,255,255,.1); color: #fff; }
.nav button:active:not(:disabled) { background: rgba(255,255,255,.16); }
.nav button:disabled { opacity: .3; cursor: default; }
.app[data-screen="hero"] .nav, .app[data-screen="final"] .nav { opacity: 0; pointer-events: none; }

/* ── mensagem de avanço ── */
.toast {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 10; display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: min(440px, calc(100vw - 32px)); padding: 11px 22px 11px 11px; border-radius: 26px;
  background: #fff; color: var(--brand-violet-900b); box-shadow: 0 16px 40px -10px rgba(7,2,15,.6), var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 300ms ease, transform 500ms var(--ease-out);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-mint-200); color: #05603A; }
.toast .txt { display: flex; flex-direction: column; text-align: left; font-size: 15px; line-height: 1.35; }
.toast .txt b { font-weight: 600; }
.toast .txt span { font-size: 14px; color: var(--neutral-600); }

/* ── mobile ── */
@media (max-width: 860px) {
  :root { --dock-h: 84px; }
  .top { grid-template-columns: 1fr auto; row-gap: 14px; padding-top: calc(18px + env(safe-area-inset-top)); }
  .progress { grid-column: 1 / -1; grid-row: 2; }
  .brand img { height: 22px; }
  .screen { padding-top: 10px; }

  /* primeira tela */
  .hero-logo { margin-bottom: 22px; }
  .hero-logo img { height: 26px; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .hero .lead { margin-top: 14px; font-size: 16.5px; }
  .ask { margin-top: 30px; }
  .ask::before { inset: -40px -30px; }
  .field--pill { padding: 6px 6px 6px 20px; }
  .go { width: 48px; height: 48px; }

  /* perguntas */
  .q-wrap { grid-template-columns: 1fr; gap: 0; }
  .q-art { position: absolute; top: -14px; right: -4px; width: 78px; }
  .q-art .art { width: 100%; }
  .q-wrap .eyebrow { max-width: calc(100% - 82px); overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
  .q-title { margin-top: 24px; }
  .q-body { margin-top: 26px; }
  .options.is-row { max-width: none; }
  .scale { gap: 8px; }

  /* final */
  .card { padding-top: 30px; }
  .card .art { width: 128px; }
  .queue { --slot: 38px; gap: 6px; }
  .queue i { width: 32px; height: 32px; }
  .screen--final { padding-top: 16px; }

  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .scale .sc { font-size: 21px; border-radius: 14px; }
  .options, .scale, .scale-ends { max-width: none; }
  .actions { margin-top: 22px; }
  .ask .actions .btn, .actions .btn-mint { min-width: 112px; }
}
/* telas baixas: celulares pequenos e paisagem */
@media (max-width: 860px) and (max-height: 700px) {
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero .lead { font-size: 15px; }
  .ask { margin-top: 22px; }
  .q-title { font-size: clamp(24px, 7vw, 30px); }
  .q-title.is-long { font-size: clamp(19px, 5.4vw, 23px); }
  .opt { min-height: 52px; }
}
@media (max-height: 520px) {
  .sc { aspect-ratio: auto; height: 52px; }
  .q-art { display: none; }
  .q-wrap .eyebrow { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .screen, .screen.is-leaving { transform: none !important; transition: opacity 200ms ease; }
  .reveal { transform: none; transition: opacity 200ms ease; transition-delay: 0ms; }
  .field--pill::after { animation: none; }
  .queue i, .queue i.you { animation: none; }
}
