/* Pico landing. Extends the brand world (tokens.css); no brand token is redefined here. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--text-md); line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: var(--tracking-display); text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: var(--space-2) var(--space-4); border-radius: var(--radius-rail); z-index: var(--z-modal); font-weight: var(--weight-bold); }
.skip:focus { left: 8px; }
html { scrollbar-color: var(--line-strong) var(--bg); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-rail); border: 1.5px solid transparent;
  font: inherit; font-weight: var(--weight-bold); font-size: var(--text-md); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-instant) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm), var(--shadow-gloss); }
.btn-primary:hover { box-shadow: var(--shadow-md), var(--shadow-gloss); text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-ink:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.btn-lg { min-height: 56px; padding: 0 var(--space-6); font-size: var(--text-lg); }
.btn-sm { min-height: 44px; padding: 0 var(--space-4); font-size: var(--text-sm); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-sheet);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-3);
  padding: calc(var(--space-1) + env(safe-area-inset-top)) max(var(--space-4), env(safe-area-inset-right)) var(--space-1) max(var(--space-4), env(safe-area-inset-left));
  background: color-mix(in srgb, var(--brand) 94%, transparent); color: var(--on-brand);
}
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: var(--shadow-sm); }
.brandmark { display: block; min-height: 44px; padding-top: 4px; }
.brandmark img { width: 52px; height: auto; }
.topbar-note { font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--on-brand); opacity: 0.85; }
.topbar.scrolled .topbar-note { color: var(--ink-3); opacity: 1; }
@media (max-width: 479px) { .topbar-note { visibility: hidden; } }
.topbar .btn { transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base); }
.topbar:not(.scrolled) .btn { opacity: 0; visibility: hidden; }

/* ---------- hero: drenched pink field ---------- */
.hero { background: var(--brand); color: var(--on-brand); overflow: hidden; }
.hero :focus-visible, .close :focus-visible { outline-color: var(--ink); }
.hero-in {
  max-width: 1180px; margin: 0 auto;
  padding: var(--space-6) max(var(--space-4), env(safe-area-inset-right)) var(--space-16) max(var(--space-4), env(safe-area-inset-left));
  display: grid; gap: var(--space-10);
}
.hero-title {
  font-weight: var(--weight-black); font-stretch: 78%; line-height: var(--leading-tight);
  font-size: clamp(2.6rem, 12vw, 5.5rem); letter-spacing: -0.02em; max-width: 11ch;
}
.hero-sub { margin-top: var(--space-4); font-size: var(--text-lg); line-height: 1.3; max-width: 34ch; }
.hero-actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.hero-link { color: var(--on-brand); font-weight: var(--weight-bold); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-thickness: 2px; }
.hero-micro { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-medium); }

.hero-demo { position: relative; justify-self: center; width: min(300px, 80vw); }
.phone {
  position: relative; border-radius: 44px; padding: 9px; background: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(11, 22, 32, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.phone-screen {
  position: relative; overflow: hidden; border-radius: 36px; aspect-ratio: 330 / 640;
  background: var(--map-water); color: var(--ink);
}
.ph-status {
  position: absolute; inset: 0 0 auto; z-index: 2; height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; font-size: 12px; font-weight: var(--weight-bold); color: var(--ink);
}
.ph-island { width: 76px; height: 22px; border-radius: 12px; background: var(--ink); }
.ph-bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative; }
.ph-bat::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: var(--ink); border-radius: 1px; }
.ph-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ph-sheet {
  position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 8px;
  padding: 12px 12px 16px; background: var(--surface); border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 18px -8px rgba(11, 22, 32, 0.25);
}
.ph-bubble { font-size: 13px; line-height: 1.3; padding: 8px 11px; border-radius: 14px; max-width: 92%; }
.ph-me { justify-self: end; background: var(--surface-2); border-bottom-right-radius: 5px; }
.ph-reply { display: flex; align-items: flex-end; gap: 6px; }
.ph-reply .avatar { width: 28px; height: 28px; }
.ph-picole { background: var(--brand); color: var(--on-brand); border-bottom-left-radius: 5px; }
.ph-picole b { font-weight: var(--weight-black); }
.ph-meta { font-size: 11px; color: var(--ink-3); padding-left: 34px; }
.toolchip {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  background: var(--sea-soft); color: var(--on-sea-soft); border-radius: var(--radius-rail);
  padding: 4px 10px 4px 5px; font-size: 11.5px; font-weight: var(--weight-bold); line-height: 1.3;
}
.toolchip .tc-ico { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--positive); display: grid; place-items: center; color: var(--on-sea); }
.toolchip .tc-ico svg { width: 11px; height: 11px; }
.toolchip .tc-arg { font-weight: var(--weight-regular); }
.toolchip .tc-run { white-space: nowrap; }

.lam { filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 6px 6px rgba(7, 17, 26, 0.28)); pointer-events: none; }
.lam-hero { position: absolute; z-index: 3; left: -22px; top: 30%; width: 92px; height: auto; transform: rotate(-5deg); }
.stick { animation: stick var(--dur-slow) var(--ease-out); }
@keyframes stick { from { transform: rotate(10deg) scale(1.08) translateY(-6px); } to { transform: rotate(var(--tilt, -5deg)) scale(1); } }
.demo-cap { margin-top: var(--space-4); font-size: var(--text-xs); line-height: 1.3; text-align: center; color: var(--on-brand); }

@media (min-width: 720px) {
  .hero-demo { width: 320px; }
  .lam-hero { width: 150px; left: -118px; top: 28%; }
}
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: var(--space-12); padding-top: var(--space-12); padding-left: max(var(--space-8), env(safe-area-inset-left)); padding-right: max(var(--space-8), env(safe-area-inset-right)); }
  .hero-sub { font-size: var(--text-xl); }
  .hero-demo { width: 340px; justify-self: end; margin-right: var(--space-8); }
  .lam-hero { width: 176px; left: -146px; top: 26%; }
}

/* capture mode: the real recording sets the screen's aspect (slot follows the capture) */
[data-captures="real"] .phone-screen { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--surface); }
[data-captures="real"] .ph-status { position: static; flex: none; }
.ph-video { display: block; width: 100%; height: auto; background: var(--map-water); }
/* capture mode: the sticker must not sit on the real screen (map, chat, markers). Phone: peeks over the top-left corner,
   above the recording; >=720: stands outside the phone's right edge, overlapping only the bezel. */
[data-captures="real"] .hero-in { gap: 96px; }
[data-captures="real"] .lam-hero { left: -14px; top: -74px; width: 88px; transform: rotate(-5deg); --tilt: -5deg; }
@media (min-width: 720px) {
  [data-captures="real"] .hero-in { gap: var(--space-10); }
  [data-captures="real"] .lam-hero { left: auto; right: -150px; top: 34%; width: 140px; transform: rotate(4deg); --tilt: 4deg; }
}
@media (min-width: 1024px) {
  [data-captures="real"] .hero-demo { width: 300px; margin-right: 132px; }
  [data-captures="real"] .lam-hero { right: -128px; width: 120px; }
}
@media (min-width: 1280px) { [data-captures="real"] .hero-demo { width: 330px; } }
.beat-art-cap { padding: 0; aspect-ratio: auto; background: var(--surface); }
.beat-art-cap > img { width: 100%; height: auto; }
.beat-art-verdict { padding: var(--space-4); display: grid; gap: var(--space-3); align-content: start; }
.beat-art-verdict > img { border-radius: var(--radius-md); }
.reasons-wrap { display: grid; gap: var(--space-4); align-content: start; }
.factors-t { font-size: var(--text-lg); font-weight: var(--weight-bold); }
.factors { display: grid; gap: var(--space-2); }
.factor { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-2); align-items: start; color: var(--ink); }
.mark { position: relative; display: inline-block; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; flex: none; }
[data-mark="good"] .mark { background: var(--positive); }
[data-mark="ok"] .mark { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
[data-mark="bad"] .mark { background: var(--danger); }
[data-mark] .mark::before, [data-mark="good"] .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 2px; border-radius: 2px; background: var(--surface); }
[data-mark="good"] .mark::after { left: 9px; right: auto; width: 2px; top: 5px; height: 10px; }
[data-mark="ok"] .mark::before { background: var(--ink-2); }
.marks-key { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: var(--ink-3); }
.marks-key > span { display: inline-flex; align-items: center; gap: 6px; }
.marks-key .mark { width: 14px; height: 14px; margin: 0; }
.marks-key .mark::before { left: 3px; right: 3px; top: 6px; height: 2px; }
.marks-key [data-mark="good"] .mark::after { left: 6px; width: 2px; top: 3px; height: 8px; }
@media (min-width: 1024px) { .reasons-wrap .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- conversation turns ---------- */
.turn {
  max-width: 1180px; margin: 0 auto;
  padding: var(--space-20) max(var(--space-4), env(safe-area-inset-right)) 0 max(var(--space-4), env(safe-area-inset-left));
}
@media (min-width: 1024px) { .turn { padding-left: var(--space-8); padding-right: var(--space-8); padding-top: 112px; } }
.ask {
  width: fit-content; max-width: 92%; margin-left: auto;
  background: var(--surface-2); color: var(--ink);
  padding: var(--space-3) var(--space-5) var(--space-4); border-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-xs);
  font-weight: var(--weight-black); font-stretch: 80%; line-height: var(--leading-tight);
  font-size: clamp(1.9rem, 8.4vw, 3.5rem); text-wrap: wrap;
}
.reply { margin-top: var(--space-5); display: flex; align-items: flex-end; gap: var(--space-3); max-width: 46rem; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--surface-2); border: 2px solid var(--surface); box-shadow: var(--shadow-sm); }
.say {
  background: var(--brand); color: var(--on-brand);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border-bottom-left-radius: var(--radius-xs);
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.01em;
}
.fine { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--ink-3); max-width: 70ch; }
.turn-foot { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--ink-2); max-width: 66ch; }
.turn-cta { margin-top: var(--space-5); }
.prov { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--ink-3); }
.seal { background: var(--lam); color: var(--on-lam); padding: 4px 11px; border-radius: var(--radius-rail); font-weight: var(--weight-bold); font-size: var(--text-xs); }
.seal b { font-weight: var(--weight-black); margin-left: 2px; }

/* rating plumbing (palette law: only through data-rating) */
[data-rating="classico"] { --r-fill: var(--rating-classico-fill); --r-on: var(--rating-classico-on); --r-text: var(--rating-classico-text); --glyph: url(glyphs/star.svg); }
[data-rating="altas"] { --r-fill: var(--rating-altas-fill); --r-on: var(--rating-altas-on); --r-text: var(--rating-altas-text); --glyph: url(glyphs/chevrons-up.svg); }
[data-rating="da_pra_brincar"] { --r-fill: var(--rating-da-pra-brincar-fill); --r-on: var(--rating-da-pra-brincar-on); --r-text: var(--rating-da-pra-brincar-text); --glyph: url(glyphs/wave.svg); }
[data-rating="merreca"] { --r-fill: var(--rating-merreca-fill); --r-on: var(--rating-merreca-on); --r-text: var(--rating-merreca-text); --glyph: url(glyphs/ripple.svg); }
[data-rating="mexido"] { --r-fill: var(--rating-merreca-fill); --r-on: var(--rating-merreca-on); --r-text: var(--rating-merreca-text); --glyph: url(glyphs/wave.svg); } /* app/src/styles/app.css: mexido borrows merreca resin + wave glyph */
[data-rating="flat"] { --r-fill: var(--rating-flat-fill); --r-on: var(--rating-flat-on); --r-text: var(--rating-flat-text); --glyph: url(glyphs/flat-line.svg); }
[data-rating="storm"] { --r-fill: var(--rating-storm-fill); --r-on: var(--rating-storm-on); --r-text: var(--rating-storm-text); --glyph: url(glyphs/bolt.svg); }
[data-rating="noite"] { --r-fill: var(--rating-noite-fill); --r-on: var(--rating-noite-on); --r-text: var(--rating-noite-text); --glyph: url(glyphs/moon.svg); }
.chip { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--r-fill); position: relative; }
.chip::after { content: ""; position: absolute; inset: 7px; background: var(--r-on); -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }

/* ---------- 2. beats ---------- */
.beats { margin-top: var(--space-10); display: grid; gap: var(--space-10); counter-reset: beat; }
.beat { display: grid; gap: var(--space-2); align-content: start; }
.beat-art {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: grid; align-content: center; gap: var(--space-4); padding: var(--space-5);
}
.beat-t { font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: 1.3; }
.beat-d { color: var(--ink-2); max-width: 40ch; }
.composer {
  display: flex; align-items: center; gap: var(--space-2); padding: 6px 6px 6px var(--space-4);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--radius-rail); min-height: 52px;
}
.composer-text { flex: 1; font-size: var(--text-md); line-height: 1.25; }
.composer-text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--brand-text); }
.composer-send { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.composer-send svg { width: 20px; height: 20px; }
.chips-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.qchip { font-size: var(--text-sm); font-weight: var(--weight-bold); padding: 6px 12px; border-radius: var(--radius-rail); border: 1.5px solid var(--line-strong); color: var(--ink-2); background: var(--surface); }
.beat-art-map { padding: 0; background: var(--map-water); }
.beat-art-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.beat-art-map .map-note { top: auto; bottom: 12px; }
@media (max-width: 899px) { .beat-art-map { aspect-ratio: 3 / 4; } }
@media (min-width: 900px) { .beat-art-map img { object-position: 50% 0; } }
.beat-art-ask { align-content: end; }
.mini-reply { display: flex; align-items: flex-end; gap: var(--space-2); margin-bottom: auto; }
.mini-reply .avatar { width: 32px; height: 32px; }
.mini-reply span { background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: var(--radius-md); border-bottom-left-radius: var(--radius-xs); font-weight: var(--weight-bold); font-size: var(--text-sm); }
.map-note { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-rail); padding: 4px 10px; font-size: var(--text-2xs); font-weight: var(--weight-bold); color: var(--ink); }
.ranks { display: grid; gap: var(--space-2); }
.rankrow {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3);
  background: var(--surface-2); border-radius: var(--radius-md); padding: 8px 12px 8px 8px;
}
.rr-name { font-weight: var(--weight-bold); min-width: 0; }
.rr-val { font-size: var(--text-sm); color: var(--ink-2); }
.rr-score { font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-2xl); line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .beats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
  .beat-art { aspect-ratio: 3 / 4; }
}
@media (max-width: 400px) { .rankrow { gap: var(--space-2); } .rr-val { font-size: var(--text-xs); } }

/* ---------- 3. spot card + reasons + legend ---------- */
.traduz-grid { margin-top: var(--space-10); display: grid; gap: var(--space-8); }
.spotcard {
  display: grid; gap: var(--space-3); align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4) var(--space-4); box-shadow: var(--shadow-sm), var(--shadow-gloss);
}
.verdict-line { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: 1.3; letter-spacing: -0.02em; }
.verdict {
  display: flex; align-items: center; gap: 0.12em; margin-top: 2px; color: var(--r-text);
  font-size: clamp(2.1rem, 10.5vw, var(--text-5xl)); font-weight: var(--weight-black); font-stretch: 75%; line-height: var(--leading-tight);
  text-transform: uppercase; letter-spacing: -0.01em;
}
.v-glyph { width: 0.55em; height: 0.55em; flex: none; background: currentColor; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.verdict-sub { margin-top: var(--space-2); color: var(--ink-2); font-family: var(--font-text); font-size: var(--text-md); font-weight: var(--weight-regular); letter-spacing: 0; }
.stringer { height: 2px; border-radius: var(--radius-rail); background: var(--stringer); }
.recipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.recipe div { min-width: 0; }
.recipe dt { font-family: var(--font-text); font-size: var(--text-2xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: var(--weight-bold); }
.recipe dd { margin: 2px 0 0; font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: 1.1; }
.recipe small { display: block; font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--ink-2); }
.reasons { display: grid; gap: var(--space-6); }
.reasons h3 { font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: 1.3; }
.reasons p { margin-top: var(--space-1); color: var(--ink-2); max-width: 52ch; }
.reasons dfn { font-style: normal; font-weight: var(--weight-bold); color: var(--ink); }
.reason-level p { color: var(--ink); }
.legend { margin-top: var(--space-12); }
.legend-t { font-size: var(--text-xl); font-weight: var(--weight-bold); }
.legend-d { margin-top: var(--space-1); color: var(--ink-2); max-width: 60ch; }
.states { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.states li { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: var(--space-3); align-items: center; }
.states .chip { grid-row: 1 / 3; }
.states b { color: var(--r-text); font-weight: var(--weight-bold); line-height: 1.15; }
.states span:not(.chip) { font-size: var(--text-xs); color: var(--ink-3); }
@media (min-width: 720px) { .states { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .traduz-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-12); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-10); }
  .states { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* ---------- 4. zoeira toy (madrugada panel) ---------- */
.toy {
  position: relative; margin-top: var(--space-8); background: var(--bg); color: var(--ink); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-4) var(--space-10); display: grid; gap: var(--space-6);
}
@media (min-width: 720px) { .toy { padding: var(--space-10) var(--space-8) var(--space-12); } }
.toy legend { font-size: var(--text-2xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--ink-3); margin-bottom: var(--space-2); padding: 0; }
.scen-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.scen-list label, .dial label, .lead-kind label { position: relative; display: inline-flex; }
.scen-list input, .dial input, .lead-kind input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.scen-list span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-rail); color: var(--ink-2);
  font-size: var(--text-sm); font-weight: var(--weight-bold);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.scen-list input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scen-list input:focus-visible + span, .dial input:focus-visible + span, .lead-kind input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.toy-stage { position: relative; min-height: 300px; display: grid; align-items: center; }
.toy-out { display: grid; gap: var(--space-4); }
.toy-data { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--ink-2); }
.toy-data .chip { width: 26px; height: 26px; }
.toy-data .chip::after { inset: 6px; }
.toy-reply { display: flex; align-items: flex-end; gap: var(--space-3); }
.toy-bubble {
  background: var(--brand); color: var(--on-brand);
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-xs);
  font-family: var(--font-display); font-weight: var(--weight-bold); letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 5.4vw, 2.25rem); line-height: 1.25; max-width: 30ch;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.toy-bubble.swap { opacity: 0; transform: translateY(6px) scale(0.98); }
.toy-bubble.safety { font-family: var(--font-text); font-weight: var(--weight-bold); letter-spacing: 0; background: var(--danger-soft); color: var(--on-danger-soft); border: 1.5px solid var(--danger); }
.toy-note { font-size: var(--text-xs); color: var(--ink-3); }
.lam-toy { position: absolute; right: 10px; top: -44px; width: 92px; height: auto; transform: rotate(4deg); --tilt: 4deg; }
.toy-scen { padding-right: 96px; }
@media (max-width: 1023px) { .toy-stage { position: static; min-height: 0; } .toy { margin-top: 60px; } }
.dial { justify-self: start; display: inline-grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 4px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-rail); background: var(--surface); }
.dial-lock { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--ink); }
.dial span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-rail); font-weight: var(--weight-bold); font-size: var(--text-md); color: var(--ink-2); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.dial input:checked + span { background: var(--ink); color: var(--bg); }
.dial[data-locked="true"] span { color: var(--ink-3); }
.dial[data-locked="true"] input:checked + span { background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 400px) { .dial span { padding: 0 var(--space-3); font-size: var(--text-sm); } }
@media (min-width: 1024px) {
  .toy-stage { min-height: 340px; }
  .toy-scen { padding-right: 0; }
  .toy-out { padding-right: 280px; }
  .lam-toy { width: 230px; right: 24px; top: auto; bottom: -64px; }
}

/* ---------- 5. store ---------- */
.products { margin-top: var(--space-10); display: grid; gap: var(--space-4); }
.product {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--space-4); align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4);
}
.product-art { width: 84px; height: 104px; object-fit: contain; transform: rotate(-3deg); }
.product:nth-child(2) .product-art { transform: rotate(2deg); }
.product-body { display: grid; gap: var(--space-2); }
.reason { background: var(--sea-soft); color: var(--on-sea-soft); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-bold); line-height: 1.3; }
.product-name { font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: 1.3; }
.price { font-size: var(--text-2xl); font-weight: var(--weight-bold); line-height: 1; }
.loja-zero { margin-top: var(--space-6); font-size: var(--text-lg); max-width: 60ch; }
.loja-zero q { font-family: var(--font-display); font-weight: var(--weight-bold); quotes: "“" "”"; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } .product { grid-template-columns: 1fr; } .product-art { width: 128px; height: 128px; object-position: left bottom; } }

/* ---------- 6. honesty ---------- */
.honest { margin-top: var(--space-10); display: grid; gap: var(--space-10); }
.facts { display: grid; gap: var(--space-6); }
.facts dt { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); letter-spacing: -0.02em; }
.facts dd { margin-top: var(--space-1); color: var(--ink-2); max-width: 46ch; }
.nothave h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); }
.nothave ul { margin-top: var(--space-3); display: grid; gap: var(--space-2); }
.nothave li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2); color: var(--ink-2); }
.nothave li::before { content: ""; width: 14px; height: 2px; margin-top: 0.7em; background: var(--line-strong); border-radius: 2px; }
.safety { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-5) var(--space-4); background: var(--danger-soft); color: var(--on-danger-soft); border-radius: var(--radius-md); }
.safety img { width: 64px; }
.safety p + p { margin-top: var(--space-2); }
.safety-title { font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-xl); line-height: 1.3; }
@media (min-width: 1024px) {
  .honest { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10) var(--space-12); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; gap: var(--space-10); }
}

/* ---------- 7. plans ---------- */
.plans { margin-top: var(--space-10); display: grid; gap: var(--space-4); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); }
.plan-pro { border: 2px solid var(--ink); }
.plan-name { font-size: var(--text-2xl); font-weight: var(--weight-black); font-stretch: 80%; }
.plan-price { margin-top: var(--space-2); font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: 1; }
.plan-price small { font-size: var(--text-md); font-weight: var(--weight-regular); color: var(--ink-2); margin-left: 4px; }
.plan-alt { margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--ink-2); }
.plan ul { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-2); }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: var(--positive); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; } }

/* ---------- 8. story ---------- */
.story { margin-top: var(--space-10); display: grid; gap: var(--space-8); }
.story-art img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 1376 / 768; object-fit: cover; }
.story-text { display: grid; gap: var(--space-4); max-width: 62ch; }
.story-text > p { font-size: var(--text-lg); line-height: var(--leading-normal); }
.story-text > p + p { font-size: var(--text-md); color: var(--ink-2); }
.penguin-real { margin-top: var(--space-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.pr-title { font-weight: var(--weight-bold); font-size: var(--text-lg); margin-bottom: var(--space-1); }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: var(--space-12); } }

/* ---------- 9. FAQ ---------- */
.faq { margin-top: var(--space-8); max-width: 820px; display: grid; gap: var(--space-2); }
.faq::before { content: ""; height: 2px; border-radius: var(--radius-rail); background: var(--stringer); margin-bottom: var(--space-2); }
.faq details { padding: 0 var(--space-1); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 60px; padding: var(--space-3) 0;
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-right: 6px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--brand-text); }
.faq details p { padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 62ch; }
.faq .serious { color: var(--ink); }

/* ---------- 10. close + form ---------- */
.close { margin-top: 160px; background: var(--brand); color: var(--on-brand); }
.close-in {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: var(--space-16) max(var(--space-4), env(safe-area-inset-right)) var(--space-16) max(var(--space-4), env(safe-area-inset-left));
  display: grid; gap: var(--space-4); justify-items: start;
}
@media (max-width: 719px) { .close-in { padding-top: 88px; } }
@media (min-width: 1024px) { .close-in { padding-left: var(--space-8); padding-right: var(--space-8); } }
.lam-close { position: absolute; right: 16px; top: -62px; width: 100px; height: auto; transform: rotate(4deg); --tilt: 4deg; }
.close-t { font-weight: var(--weight-black); font-stretch: 78%; line-height: var(--leading-tight); font-size: clamp(2.4rem, 11vw, 5rem); max-width: 10ch; }
.close-sub { font-size: var(--text-lg); max-width: 38ch; }
.lead { margin-top: var(--space-8); width: 100%; max-width: 560px; display: grid; gap: var(--space-3); }
.lead-t { font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: 1.3; }
.lead-kind { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--radius-rail); background: var(--surface); border: 1.5px solid var(--ink); width: fit-content; }
.lead-kind span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-rail); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--ink); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.lead-kind input:checked + span { background: var(--ink); color: var(--bg); }
.lead-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lead-input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 var(--space-4);
  border: 2px solid var(--ink); border-radius: var(--radius-rail); background: var(--surface); color: var(--ink);
  font: inherit; font-size: var(--text-md); caret-color: var(--brand-text);
}
.lead-input::placeholder { color: var(--ink-3); opacity: 1; }
.lead-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px var(--danger-soft); }
.lead .btn-primary { background: var(--ink); color: var(--bg); min-height: 52px; box-shadow: var(--shadow-sm); }
.lead-help { font-size: var(--text-sm); }
.lead-err { font-size: var(--text-sm); font-weight: var(--weight-bold); min-height: 1.45em; }
.lead-err:not(:empty) { background: var(--danger-soft); color: var(--on-danger-soft); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); }
.lead-ok { margin-top: var(--space-8); background: var(--surface); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-5); max-width: 560px; box-shadow: var(--shadow-sm); }
.lead-ok-t { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); line-height: 1.3; }
.lead-ok-fine { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--ink-3); }
@media (min-width: 720px) { .lam-close { width: 160px; right: 40px; top: -96px; } }
@media (min-width: 1024px) { .lam-close { width: 200px; right: 80px; top: -120px; } }

/* ---------- footer ---------- */
.foot {
  max-width: 1180px; margin: 0 auto; display: grid; gap: var(--space-2); font-size: var(--text-xs); color: var(--ink-3);
  padding: var(--space-8) max(var(--space-4), env(safe-area-inset-right)) calc(var(--space-10) + env(safe-area-inset-bottom)) max(var(--space-4), env(safe-area-inset-left));
}
.foot img { width: 44px; margin-bottom: var(--space-2); }
.foot a { color: var(--ink-2); }
@media (min-width: 1024px) { .foot { padding-left: var(--space-8); padding-right: var(--space-8); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .stick { animation: none; }
}
