/* Gerado por docs/design/build_demos.py: edite o protótipo, não este arquivo. */
@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-latin-wght.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geist-mono-latin-wght.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-latin-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

/* Protótipo de design (docs/design). Tokens de docs/design/DESIGN.md e frontend/assets/tokens.css. */
:root {
  color-scheme: light;
  --bg: #EDF0FA; --blob-a: #7C95FF; --blob-b: #C3B5FF; --blob-c: #9FE3CF;
  --glass: rgba(255,255,255,.58); --glass-strong: rgba(255,255,255,.86); --glass-edge: rgba(255,255,255,.75); --glass-hi: rgba(255,255,255,.9);
  --hairline: rgba(22,32,74,.09); --shadow: rgba(30,44,110,.28);
  --ink: #0E1532; --ink-2: #465074; --ink-3: #6E779A;
  --accent: #2F5BFF; --accent-ink: #2448D8; --accent-soft: rgba(47,91,255,.10); --violet: #6A5CFF;
  --live: #15803D; --live-soft: rgba(21,128,61,.12); --warn: #A15C07; --warn-soft: rgba(194,120,10,.13); --danger: #B42318; --danger-soft: rgba(180,35,24,.10);
  --f-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-accent: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --phone-bg: linear-gradient(170deg, #DCE4FF 0%, #EEF0FB 38%, #E8F7F2 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #080C1A; --blob-a: #2B3FA8; --blob-b: #4A3A9C; --blob-c: #15564A;
    --glass: rgba(24,31,60,.52); --glass-strong: rgba(22,28,54,.9); --glass-edge: rgba(255,255,255,.10); --glass-hi: rgba(255,255,255,.08);
    --hairline: rgba(210,220,255,.10); --shadow: rgba(0,0,0,.55);
    --ink: #EEF1FF; --ink-2: #B3BBDA; --ink-3: #8A93B6;
    --accent: #7D9AFF; --accent-ink: #9DB2FF; --accent-soft: rgba(125,154,255,.16); --violet: #9A8FFF;
    --live: #4ADE80; --live-soft: rgba(74,222,128,.14); --warn: #F4B34A; --warn-soft: rgba(244,179,74,.14); --danger: #FF8A7A; --danger-soft: rgba(255,138,122,.12);
    --phone-bg: linear-gradient(170deg, #121A3A 0%, #0B1024 45%, #0C1F1C 100%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080C1A; --blob-a: #2B3FA8; --blob-b: #4A3A9C; --blob-c: #15564A;
  --glass: rgba(24,31,60,.52); --glass-strong: rgba(22,28,54,.9); --glass-edge: rgba(255,255,255,.10); --glass-hi: rgba(255,255,255,.08);
  --hairline: rgba(210,220,255,.10); --shadow: rgba(0,0,0,.55);
  --ink: #EEF1FF; --ink-2: #B3BBDA; --ink-3: #8A93B6;
  --accent: #7D9AFF; --accent-ink: #9DB2FF; --accent-soft: rgba(125,154,255,.16); --violet: #9A8FFF;
  --live: #4ADE80; --live-soft: rgba(74,222,128,.14); --warn: #F4B34A; --warn-soft: rgba(244,179,74,.14); --danger: #FF8A7A; --danger-soft: rgba(255,138,122,.12);
  --phone-bg: linear-gradient(170deg, #121A3A 0%, #0B1024 45%, #0C1F1C 100%);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background: radial-gradient(38vmax 30vmax at 18% 12%, color-mix(in srgb, var(--blob-a) 55%, transparent), transparent 70%),
    radial-gradient(34vmax 28vmax at 86% 18%, color-mix(in srgb, var(--blob-b) 55%, transparent), transparent 70%),
    radial-gradient(40vmax 30vmax at 70% 88%, color-mix(in srgb, var(--blob-c) 45%, transparent), transparent 70%); }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-mono); }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; color: var(--accent-ink); }

/* ---------- Página: moldura do celular + roteiro ao lado ---------- */
.page { max-width: 1180px; margin: 0 auto; padding: 32px 24px 48px; display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.brief h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 12px; }
.brief p { color: var(--ink-2); margin: 0 0 14px; max-width: 58ch; }
.label { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.flow { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 8px; }
.flow button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; text-align: left; padding: 12px 14px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: border-color .15s, background .15s; }
.flow button:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.flow button[aria-current="step"] { background: var(--glass-strong); border-color: var(--accent); box-shadow: 0 10px 30px -18px var(--accent); }
.flow .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .8rem var(--f-mono); background: var(--accent-soft); color: var(--accent-ink); }
.flow strong { display: block; font-size: .98rem; }
.flow span.d { display: block; color: var(--ink-3); font-size: .86rem; }
.rules { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-edge); }
.rules li { margin: 4px 0; color: var(--ink-2); font-size: .9rem; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--glass-strong); font-weight: 600; font-size: .86rem; }

.phone-col { position: sticky; top: 24px; display: grid; justify-items: center; gap: 10px; }
.phone { position: relative; width: 390px; height: 844px; border-radius: 54px; padding: 12px; background: #0B1024; box-shadow: 0 40px 80px -30px rgba(14,21,50,.55), inset 0 0 0 2px #2A3160; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--phone-bg); display: flex; flex-direction: column; isolation: isolate; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 118px; height: 34px; border-radius: 20px; background: #000; z-index: 30; }
.sbar { height: 50px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 6px 34px; font: 600 15px var(--f-ui); color: var(--ink); }
.sbar .icons { display: flex; gap: 5px; align-items: center; font-size: 12px; }
.caption { color: var(--ink-3); font-size: .82rem; }

/* ---------- App dentro do celular ---------- */
.app { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.top { flex: none; display: flex; align-items: center; gap: 10px; margin: 4px 12px 0; padding: 8px 8px 8px 10px; border-radius: 22px; background: var(--glass-strong);
  border: 1px solid var(--glass-edge); box-shadow: 0 8px 24px -18px var(--shadow); }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hairline); background: transparent; flex: none; padding: 0; }
.who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 0; text-align: left; }
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; background: linear-gradient(135deg, var(--violet), var(--accent)); }
.who > span:last-child { min-width: 0; overflow: hidden; }
.who b { display: block; font-size: .95rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { display: block; color: var(--ink-3); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 .74rem var(--f-mono); background: var(--live-soft); color: var(--live); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.rec { background: var(--danger-soft); color: var(--danger); }
.status.rec i { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.drawer { margin: 6px 12px 0; padding: 12px 14px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-edge); display: grid; gap: 6px; font-size: .86rem; color: var(--ink-2); animation: drop .25s var(--ease); }
.drawer .row { display: flex; justify-content: space-between; gap: 10px; }
.drawer .alert { color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 6px 10px; font-weight: 600; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

.stage { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 18px 110px; display: flex; flex-direction: column; align-items: center; scrollbar-width: none; }
.stage::-webkit-scrollbar { display: none; }
.center { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); }
.seg button { border: 0; background: none; min-height: 36px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; box-shadow: 0 8px 18px -10px var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--hairline)); background: var(--glass-strong); font-size: .86rem; color: var(--ink-2); }
.pill b { color: var(--ink); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.hint { color: var(--ink-3); font-size: .86rem; max-width: 30ch; margin: 0; }

/* orbe: o botão principal (círculo sólido na cor do símbolo, anel que respira e o ponto do logotipo) */
.orb { position: relative; width: 156px; height: 156px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: none; }
.orb::after { content: ""; position: absolute; right: -8px; bottom: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.orb .halo { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 32%, transparent); transform: scale(var(--lvl, 1)); transition: transform .12s linear; }
.orb .halo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent); }
.orb .core { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); transition: transform .15s ease, background .2s ease;
  box-shadow: 0 18px 36px -18px var(--accent), inset 0 0 0 1px rgba(255,255,255,.14); }
.orb .core::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); }
.orb:active .core { transform: scale(.97); }
.orb svg { position: relative; z-index: 1; width: 42px; height: 42px; color: #fff; stroke-width: 2; }
.orb:not(.live) .halo { animation: ring 3s ease-in-out infinite; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .55; } }
@keyframes spin { to { transform: rotate(360deg); } }
.orb.paused .core { background: color-mix(in srgb, var(--accent) 45%, var(--ink-3)); }
.orb.paused .halo { transform: none; opacity: .5; }
.orb.paused::after { opacity: .35; }
.orb-cta { font-size: 1.35rem; font-weight: 650; letter-spacing: -.01em; margin: 0; }
.timer { font: 500 2.6rem/1 var(--f-mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave span { width: 5px; border-radius: 3px; background: linear-gradient(var(--accent), var(--violet)); height: 8px; transition: height .12s linear; }
.ctrls { display: flex; align-items: center; gap: 22px; }
.round { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hairline); background: var(--glass-strong); box-shadow: 0 10px 24px -16px var(--shadow); }
.round.stop { width: 76px; height: 76px; background: var(--danger); border-color: transparent; color: #fff; box-shadow: 0 16px 30px -14px var(--danger); }
.round.stop svg { width: 26px; height: 26px; }
.round small { display: none; }
.ctrl-label { display: grid; justify-items: center; gap: 6px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }

.live-strip { width: 100%; margin-top: 8px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-edge); padding: 10px 14px; text-align: left; font-size: .86rem; color: var(--ink-2); }
.live-strip header { display: flex; justify-content: space-between; align-items: center; font: 500 .7rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.live-strip p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-strip.open p { -webkit-line-clamp: unset; }

.minipill { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-edge); font-size: .86rem; font-weight: 600; }
.minipill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.minipill button { border: 0; border-radius: 999px; min-height: 30px; padding: 0 12px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; font-size: .8rem; }
.card { width: 100%; border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--glass-edge); padding: 14px 16px; text-align: left; box-shadow: 0 16px 40px -30px var(--shadow); }
.card h3 { margin: 0 0 6px; font: 500 .72rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.card p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cta { width: 100%; min-height: 64px; border-radius: 22px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.12rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--violet)); box-shadow: 0 18px 34px -16px var(--accent); animation: nudge 2.4s ease-in-out infinite; }
.cta svg { width: 22px; height: 22px; }
@keyframes nudge { 50% { box-shadow: 0 18px 34px -16px var(--accent), 0 0 0 7px color-mix(in srgb, var(--accent) 14%, transparent); } }
.sub-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ghost { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--glass-strong); font-weight: 600; font-size: .85rem; color: var(--ink-2); }

.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: var(--hairline); }
.ring .fg { stroke: url(#grad); stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset .4s var(--ease); }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.4rem var(--f-mono); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: left; font-size: .88rem; color: var(--ink-3); }
.steps li::before { content: "○  "; }
.steps li.done { color: var(--live); } .steps li.done::before { content: "✓  "; }
.steps li.now { color: var(--ink); font-weight: 600; } .steps li.now::before { content: "●  "; color: var(--accent); }

/* revisar */
.tabs { position: sticky; top: -14px; z-index: 3; width: calc(100% + 36px); margin: -14px -18px 12px; padding: 10px 18px; background: color-mix(in srgb, var(--glass-strong) 80%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--hairline); }
.tabs .seg { width: 100%; display: flex; } .tabs .seg button { flex: 1; padding: 0 8px; }
.doc { width: 100%; display: grid; gap: 10px; }
.doc section { background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 12px 14px; }
.doc h4 { margin: 0 0 4px; font-size: .78rem; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.doc p, .doc li { margin: 0; font-size: .9rem; color: var(--ink); }
.doc ul { margin: 0; padding-left: 18px; }
.doc .ai { color: var(--warn); font-size: .8rem; }
.doc .edit { justify-self: end; }
.rx { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--glass-edge); }
.rx small { display: block; color: var(--ink-3); }
.rx .add { border: 0; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs div { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg, #C9B39A, #8E6E58); display: grid; place-items: end start; padding: 6px; color: #fff; font-size: .7rem; font-weight: 600; }
.thumbs div.pdf { background: var(--glass-strong); border: 1px solid var(--glass-edge); color: var(--accent-ink); place-items: center; font-size: .8rem; }

/* barra de ações (zona do polegar) */
.dock { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 26px;
  background: var(--glass-strong); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 18px 40px -20px var(--shadow); }
.dock button { border: 0; background: none; min-height: 54px; border-radius: 18px; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: .72rem; font-weight: 650; color: var(--ink-2); }
.dock button:active { background: var(--accent-soft); }
.dock .fin { color: var(--ink-3); }
.dock .fin.ready { background: var(--live); color: #fff; box-shadow: 0 10px 22px -12px var(--live); }
.home { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .25; z-index: 6; }

/* folhas que sobem de baixo */
.scrim { position: absolute; inset: 0; z-index: 10; background: rgba(8,12,26,.32); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 11; max-height: 86%; display: flex; flex-direction: column; border-radius: 30px 30px 0 0; background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-top: 1px solid var(--glass-edge); padding: 8px 18px 26px; animation: up .3s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .2; margin: 0 auto 10px; }
.sheet h2 { margin: 0 0 4px; font-size: 1.15rem; }
.sheet .sub { margin: 0 0 12px; color: var(--ink-3); font-size: .86rem; }
.list { display: grid; gap: 8px; overflow-y: auto; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 56px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--hairline); background: var(--glass-strong); }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.opt small { display: block; color: var(--ink-3); font-size: .8rem; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 16px; font-size: .88rem; }
.msg.me { justify-self: end; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { background: var(--glass); border: 1px solid var(--glass-edge); border-bottom-left-radius: 6px; }
.chatbox { display: flex; gap: 8px; margin-top: 12px; }
.chatbox div { flex: 1; min-height: 46px; border-radius: 18px; border: 1px solid var(--hairline); background: var(--glass-strong); display: flex; align-items: center; padding: 0 14px; color: var(--ink-3); font-size: .88rem; }
.chatbox button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
.done-big { display: grid; justify-items: center; gap: 10px; text-align: center; }
.done-big .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--live); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 36px -16px var(--live); }
.done-big .ok svg { width: 40px; height: 40px; stroke-width: 2.4; }
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .82rem; font-weight: 600; white-space: nowrap; animation: fade .2s; }

@media (max-width: 980px) { .page { grid-template-columns: 1fr; } .phone-col { position: static; order: -1; } }
/* no celular de verdade: o protótipo ocupa a tela; o roteiro fica abaixo */
@media (max-width: 419px) {
  .page { padding: 0 0 40px; gap: 18px; }
  .phone { width: 100vw; height: 100dvh; border-radius: 0; padding: 0; background: none; box-shadow: none; }
  .screen { border-radius: 0; }
  .island, .sbar, .home { display: none; }
  .phone-col .caption { display: none; }
  .brief { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }

.sprite { position: absolute; }
.dim { color: var(--ink-3); }
.m0 { margin: 0; }
html.embed, html.embed body { background: transparent; }
html.embed body::before, html.embed body::after { display: none; }

html.embed .brief, html.embed .phone-col .caption { display: none; }
html.embed .page { display: flex; justify-content: center; max-width: none; padding: 8px 0 16px; }
html.embed .phone-col { position: static; }
