@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2?v=3.1.0") format("woff2");
}

/* -------------------------------------------------------------- tokens ---- */
:root {
  color-scheme: light;

  /* Caderno de Missão Explosiva: papel claro, céu, tinta violeta e recompensa dourada. */
  --bg: #f6f2e8;
  --bg-sky: #eaf7ff;
  --bg-elev: #fffdf8;
  --surface: #ffffff;
  --surface-2: #f7f3ff;
  --surface-3: #eee8ff;
  --surface-sky: #e7f7ff;
  --surface-gold: #fff4c9;
  --line: #ddd6ee;
  --line-strong: #bdb1dc;

  --text: #30264f;
  --text-dim: #5f5678;
  --text-muted: #726a87;

  --gold: #ffc83d;
  --gold-soft: #ffe99a;
  --gold-deep: #d88800;
  --gold-ink: #382704;
  --purple: #7959dc;
  --purple-deep: #5639b6;
  --purple-soft: #c9bbff;
  --sky: #2eb8ea;
  --sky-deep: #087cae;
  --sky-soft: #bdeaff;
  --green: #25b978;
  --green-deep: #13744e;
  --green-soft: #c9f3df;
  --orange: #f47a36;
  --danger: #dc4658;
  --danger-soft: #ffe0e4;

  --mint: var(--green);
  --mint-deep: var(--green-deep);
  --mint-ink: #062d1d;
  --cyan: var(--sky);

  --score-legendary: linear-gradient(135deg, #fff1ad, var(--gold), #f39b24);
  --score-epic: linear-gradient(135deg, #d9cfff, var(--purple), #6040c4);
  --score-good: linear-gradient(135deg, #65dba4, var(--green), var(--sky));
  --score-warn: linear-gradient(135deg, #ffd06d, var(--orange));
  --score-danger: linear-gradient(135deg, #ff8995, var(--danger));

  --shadow-xs: 0 2px 4px rgba(66, 49, 112, 0.08), 0 5px 12px rgba(66, 49, 112, 0.05);
  --shadow-sm: 0 3px 8px rgba(66, 49, 112, 0.10), 0 10px 24px rgba(66, 49, 112, 0.08);
  --shadow-md: 0 5px 10px rgba(66, 49, 112, 0.11), 0 18px 42px rgba(66, 49, 112, 0.10);
  --shadow-lg: 0 8px 18px rgba(52, 37, 97, 0.14), 0 30px 72px rgba(52, 37, 97, 0.16);
  --shadow-button: 0 4px 0 rgba(109, 75, 0, 0.22), 0 8px 18px rgba(105, 73, 0, 0.16);
  --shadow-button-violet: 0 4px 0 rgba(50, 31, 121, 0.18), 0 8px 18px rgba(74, 49, 164, 0.14);
  --glow-mint: 0 0 0 1px rgba(37, 185, 120, 0.22), 0 10px 28px rgba(37, 185, 120, 0.12);
  --glow-gold: 0 0 0 1px rgba(216, 136, 0, 0.2), 0 12px 32px rgba(255, 200, 61, 0.22);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 56px;
  --sp-16: 72px;

  --touch: 46px;
  --font: "Nunito", "Trebuchet MS", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 1.35, 0.38, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 560ms;
  --shell-max: 1180px;
}

/* --------------------------------------------------------------- reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--purple-soft) var(--bg);
  scrollbar-width: thin;
}

html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--purple-soft); border: 3px solid var(--bg); border-radius: var(--r-pill); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at 14px 14px, rgba(121, 89, 220, 0.045) 1.25px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--bg-sky) 0, #f9fbfa 430px, var(--bg) 900px);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

::selection { color: var(--text); background: var(--gold-soft); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 9vw, 4.9rem); max-width: 13ch; }
h2 { font-size: clamp(1.55rem, 6vw, 2.65rem); }
h3 { font-size: clamp(1.05rem, 3vw, 1.25rem); }
h4 { font-size: 1rem; }
p { margin: 0; }

main p, main li { max-width: 72ch; }
a { color: var(--purple-deep); text-decoration-color: rgba(86, 57, 182, 0.38); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; caret-color: var(--purple); }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------------------------------------------------------- conta/compras -- */
.account-card { margin: var(--sp-12) auto; max-width: 560px; padding: clamp(24px, 5vw, 44px); }
.account-card h1, .account-hero h1 { margin: var(--sp-2) 0 var(--sp-3); }
.account-auth-links {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.account-auth-links__hint { margin: 0; color: var(--text-muted); font-size: .88rem; font-weight: 700; }
.account-auth-links__switch {
  min-height: var(--touch);
  padding: 10px 14px;
  border: 1px solid var(--purple-soft);
  border-radius: var(--r-sm);
  color: var(--purple-deep);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-weight: 900;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.account-auth-links__switch span:last-child { font-size: 1.25rem; line-height: 1; transition: transform var(--dur-fast) var(--ease-out); }
.account-auth-links__switch:hover { border-color: var(--purple); background: #e5dcff; box-shadow: var(--shadow-xs); text-decoration: none; }
.account-auth-links__switch:hover span:last-child { transform: translateX(3px); }
.account-auth-links__recovery {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-self: start;
  font-size: .88rem;
  font-weight: 800;
}
.account-auth-links__recovery:hover { color: var(--purple-deep); }
.password-input { position: relative; }
.password-input .input { padding-right: 58px; }
.password-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--text-dim);
  background: transparent;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.password-toggle:hover { color: var(--purple-deep); background: var(--surface-3); }
.password-toggle:active { background: #e5dcff; }
.password-toggle svg { width: 20px; height: 20px; }
.password-toggle__icon { display: grid; place-items: center; }
.password-toggle__icon--hide { display: none; }
.password-toggle.is-revealed .password-toggle__icon--show { display: none; }
.password-toggle.is-revealed .password-toggle__icon--hide { display: grid; }
.password-requirements {
  margin: 1px 0 0;
  padding: 0;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  list-style: none;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
}
.password-requirements li { display: inline-flex; align-items: center; gap: 5px; }
.password-requirements li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); content: ""; }
.password-requirements li.is-met { color: var(--green-deep); }
.password-requirements li.is-met::before { background: var(--green); }
.notice { margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); }
.notice--error { border-color: rgba(220, 70, 88, .55); background: var(--danger-soft); color: #8f1c2a; }
.notice--success { border-color: rgba(37, 185, 120, .5); background: var(--green-soft); color: var(--green-deep); }
.account-hero, .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); margin: var(--sp-6) 0 var(--sp-8); }
.account-hero { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(125deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); }
.account-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin-bottom: var(--sp-8); }
.account-link { display: block; min-height: 180px; padding: var(--sp-5); color: var(--text); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.account-link svg { width: 28px; height: 28px; color: var(--purple); margin-bottom: var(--sp-3); }
.account-link h2 { font-size: 1.35rem; margin-bottom: var(--sp-2); }
.account-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.pricing-grid .card { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); }
.pricing-grid .card form { margin-top: auto; padding-top: var(--sp-3); }
.price { display: block; color: var(--purple-deep); font-size: 1.8rem; }
.price small { color: var(--text-muted); font-size: .9rem; font-weight: 700; }
@media (max-width: 760px) { .account-grid, .pricing-grid { grid-template-columns: 1fr; } .account-hero, .section-head { align-items: flex-start; flex-direction: column; } .account-card { margin: var(--sp-6) auto; } }

.sr-only, .is-hidden-visually {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -140%);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  color: var(--gold-ink);
  background: var(--gold);
  box-shadow: var(--shadow-md);
  font-weight: 900;
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- estrutura -- */
.shell {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.shell-narrow { max-width: 820px; }
.site-main { display: block; min-height: 62vh; }
.page { padding-block: var(--sp-8) var(--sp-12); }
.page > * + * { margin-top: var(--sp-6); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(189, 177, 220, 0.62);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px) saturate(1.15);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky) 0 31%, var(--gold) 31% 66%, var(--purple) 66% 100%);
  opacity: 0.72;
}
.site-header__inner {
  width: min(100%, var(--shell-max));
  min-height: 70px;
  margin-inline: auto;
  padding: 10px var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.brand {
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; filter: drop-shadow(0 4px 5px rgba(86, 57, 182, 0.16)); }
.brand__logo {
  width: clamp(146px, 14vw, 184px);
  height: auto;
  flex: 0 1 auto;
  display: block;
  filter: drop-shadow(0 4px 5px rgba(18, 55, 153, 0.18));
}
.brand__word { display: grid; gap: 3px; }
.brand__meta {
  display: block;
  color: var(--text-muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.header-nav { display: none; align-items: center; gap: 4px; }
.header-nav a {
  min-height: var(--touch);
  padding: 10px 13px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 850;
}
.header-nav a svg { width: 17px; height: 17px; }
.header-nav a:hover { color: var(--purple-deep); background: var(--surface-2); text-decoration: none; }
.header-nav a[aria-current="page"] { color: var(--purple-deep); background: var(--surface-3); }

.bottom-nav {
  position: fixed;
  inset: auto 8px 8px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  border: 1px solid rgba(189, 177, 220, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 12px rgba(65, 49, 108, 0.12), 0 18px 42px rgba(65, 49, 108, 0.16);
  backdrop-filter: blur(18px);
}
.bottom-nav a {
  min-width: 0;
  min-height: 58px;
  padding: 6px 2px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.bottom-nav a:hover { color: var(--purple-deep); text-decoration: none; }
.bottom-nav a[aria-current="page"] { color: var(--purple-deep); background: var(--surface-3); }
.bottom-nav svg { width: 22px; height: 22px; }
body.has-bottom-nav { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

.site-footer {
  position: relative;
  margin-top: var(--sp-12);
  padding: var(--sp-10) 0 var(--sp-12);
  color: var(--text-dim);
  background: #eee9de;
  border-top: 1px solid #d8d0bf;
  font-size: 0.84rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -8px 0 auto;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 32px, var(--gold) 32px 64px, var(--purple) 64px 96px);
  opacity: 0.72;
}
.site-footer__grid { display: grid; gap: var(--sp-8); }
.site-footer__grid > div:first-child { display: grid; align-content: start; gap: var(--sp-3); }
.site-footer .brand__logo { width: clamp(174px, 17vw, 218px); }
.site-footer h2 { margin-bottom: var(--sp-2); font-size: 0.84rem; }
.site-footer li a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-dim); }
.site-footer .muted, .site-footer .brand__meta { color: var(--text-dim); }
.site-footer a:hover { color: var(--purple-deep); }
.site-footer__legal {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px dashed #c8beaa;
  display: grid;
  gap: var(--sp-2);
  font-size: 0.75rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------ tipografia -- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 900;
}
.kicker svg { width: 17px; height: 17px; }
.lead { color: var(--text-dim); font-size: clamp(1rem, 2.6vw, 1.16rem); line-height: 1.65; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.small { font-size: 0.85rem; }
.tiny { font-size: 0.74rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.balance { text-wrap: balance; }

.section-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.section-head h1, .section-head h2 { max-width: 18ch; }
.section-head p { color: var(--text-dim); max-width: 64ch; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center p { margin-inline: auto; }

.page-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--sp-5);
}
.page-intro::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -72px;
  top: -88px;
  border: 24px solid var(--sky-soft);
  border-radius: 50%;
  opacity: 0.55;
}
.page-intro__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--purple-deep);
  background: var(--surface-3);
  box-shadow: var(--shadow-xs);
}
.page-intro__icon svg { width: 26px; height: 26px; }
.page-intro__body { position: relative; z-index: 1; display: grid; gap: var(--sp-3); }
.page-intro__body h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
.page-intro__body p { color: var(--text-dim); max-width: 62ch; }
.page-intro__actions { position: relative; z-index: 1; }

.section-band { padding-block: var(--sp-12); }
.section-band--sky { background: var(--surface-sky); border-block: 1px solid var(--sky-soft); }
.section-band--violet { background: #f0ebff; border-block: 1px solid #ddd2ff; }
.section-band--paper { background: rgba(255, 253, 248, 0.72); border-block: 1px solid #e5decf; }

/* ---------------------------------------------------------------- cards --- */
.card {
  min-width: 0;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: var(--shadow-xs); }
.card--accent {
  border-color: #dac770;
  background: linear-gradient(150deg, #fff9dc, #fffdf7 60%);
  box-shadow: var(--glow-gold);
}
.card--sky { border-color: #9fdcf4; background: #f3fbff; }
.card--violet { border-color: #c8b9f4; background: #f9f6ff; }
.card__head { display: grid; gap: 7px; margin-bottom: var(--sp-5); }
.card__head h2, .card__head h3 { max-width: 24ch; }
.card__head p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* -------------------------------------------------- downloads BombMemory -- */
.downloads-page { display: grid; gap: var(--sp-6); }
.download-intro { min-height: 210px; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.download-intro::after { border-color: var(--gold-soft); }
.download-intro__mark {
  width: 56px;
  height: 56px;
  border: 1px solid #e8bd3d;
  border-radius: 19px;
  color: var(--gold-ink);
  background: linear-gradient(145deg, #ffeb9d, var(--gold));
  box-shadow: var(--shadow-button);
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
}
.download-intro__mark svg { width: 29px; height: 29px; }
.download-featured {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #bdadee;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(46, 184, 234, .18), transparent 31%),
    linear-gradient(135deg, #faf7ff, #fffdf8 62%);
  box-shadow: var(--shadow-md);
}
.download-featured::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -76px;
  bottom: -104px;
  border: 24px solid rgba(255, 200, 61, .3);
  border-radius: 50%;
}
.download-featured__label {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-5);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.download-featured__label span { width: 25px; height: 25px; border-radius: 9px; color: var(--gold-ink); background: var(--gold-soft); display: grid; place-items: center; }
.download-featured__label svg { width: 15px; height: 15px; }
.download-featured__content { position: relative; z-index: 1; display: grid; gap: var(--sp-4); align-items: center; }
.download-featured__icon, .download-release__icon {
  object-fit: cover;
  border: 1px solid rgba(121, 89, 220, .3);
  background: #fff;
  box-shadow: 0 9px 22px rgba(77, 53, 151, .17);
}
.download-featured__icon { width: 96px; height: 96px; padding: 5px; border-radius: 28px; }
.download-featured h2 { font-size: clamp(1.7rem, 5vw, 2.55rem); }
.download-featured h2 em { color: var(--purple); font-style: normal; }
.download-featured p { max-width: 57ch; margin-top: var(--sp-3); color: var(--text-dim); }
.download-release__meta { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--text-muted); font-size: .79rem; font-weight: 800; }
.download-release__meta span { display: inline-flex; align-items: center; gap: 5px; }
.download-release__meta svg { width: 15px; height: 15px; color: var(--purple); }
.download-featured__action { margin-top: var(--sp-2); }
.download-history { display: grid; gap: var(--sp-5); }
.download-history .section-head { margin-bottom: 0; }
.download-list { display: grid; gap: var(--sp-3); }
.download-release {
  min-width: 0;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: center;
}
.download-release__icon { width: 62px; height: 62px; padding: 3px; border-radius: 19px; }
.download-release__body { min-width: 0; display: grid; gap: 4px; }
.download-release__title { min-width: 0; }
.download-release__body p { margin-top: 5px; color: var(--text-dim); font-size: .85rem; }
.download-release > .btn { grid-column: 1 / -1; width: 100%; }
.download-note { padding: var(--sp-4); border: 1px solid #9bdcf3; border-radius: var(--r-lg); background: var(--surface-sky); display: flex; gap: var(--sp-3); }
.download-note__icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 13px; color: var(--sky-deep); background: var(--sky-soft); display: grid; place-items: center; }
.download-note__icon svg { width: 21px; height: 21px; }
.download-note h2 { margin-bottom: 4px; font-size: 1rem; }
.download-note p { color: var(--text-dim); font-size: .84rem; }

.panel {
  min-width: 0;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  box-shadow: var(--shadow-xs);
}
.panel h3 + p { margin-top: 5px; }

.grid { display: grid; gap: var(--sp-4); }
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.stack { display: grid; gap: var(--sp-4); }
.stack-sm { display: grid; gap: var(--sp-2); }
.row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.spacer { flex: 1 1 auto; }

/* --------------------------------------------------------------- botões --- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
  --btn-shadow: var(--shadow-xs);
  min-height: var(--touch);
  padding: 12px 20px;
  border: 1px solid var(--btn-border);
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
  font-weight: 900;
  font-size: 0.94rem;
  letter-spacing: -0.018em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}
.btn:hover { text-decoration: none; filter: saturate(1.08) brightness(1.015); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 3px rgba(52, 37, 97, 0.12); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.48; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.btn--primary, .btn--gold {
  --btn-bg: linear-gradient(180deg, #ffdc62, var(--gold));
  --btn-fg: var(--gold-ink);
  --btn-border: #e9a91a;
  --btn-shadow: var(--shadow-button);
}
.btn--violet {
  --btn-bg: linear-gradient(180deg, #8e71ec, var(--purple));
  --btn-fg: #fff;
  --btn-border: var(--purple-deep);
  --btn-shadow: var(--shadow-button-violet);
}
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.76); --btn-border: var(--line-strong); --btn-shadow: var(--shadow-xs); }
.btn--danger { --btn-bg: var(--danger-soft); --btn-fg: #8f2635; --btn-border: #ee9ca7; }
.btn--quiet { --btn-bg: transparent; --btn-border: transparent; --btn-fg: var(--text-dim); --btn-shadow: none; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 15px 25px; font-size: 1rem; border-radius: 17px; }
.btn--sm { min-height: 44px; padding: 9px 14px; font-size: 0.82rem; border-radius: 13px; }
.btn-group { display: grid; gap: var(--sp-2); }

/* -------------------------------------------------------------- formulário */
.field { display: grid; gap: 7px; min-width: 0; }
.field__label { color: var(--text); font-size: 0.83rem; font-weight: 900; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.field__req { color: #9b3342; font-size: 0.74rem; }
.field__opt { color: var(--text-muted); font-size: 0.72rem; font-weight: 800; }
.field__hint { color: var(--text-muted); font-size: 0.76rem; line-height: 1.45; }
.field__error { color: #9b2638; font-size: 0.77rem; font-weight: 800; display: flex; align-items: flex-start; gap: 6px; }
.field__error svg { width: 14px; height: 14px; margin-top: 2px; flex: 0 0 auto; }

.input, .select, .textarea {
  width: 100%;
  min-height: var(--touch);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  background-color: #fff;
  box-shadow: inset 0 2px 4px rgba(48, 38, 79, 0.04);
  font-size: 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5678' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 42px;
}
.input:hover, .select:hover, .textarea:hover { border-color: #9f8ed0; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(121, 89, 220, 0.14); outline: none; background-color: #fff; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 70, 88, 0.12); }
.input::placeholder, .textarea::placeholder { color: #8c849f; opacity: 1; }
.input-group { display: grid; gap: var(--sp-2); }

.checkbox {
  min-height: var(--touch);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  cursor: pointer;
}
.checkbox input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--purple); }
.checkbox span { color: var(--text-dim); font-size: 0.82rem; line-height: 1.45; }
.checkbox:has(input:checked) { border-color: #a995e5; background: var(--surface-2); }
.checkbox:has(input[aria-invalid="true"]) { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 70, 88, 0.12); }

.upload {
  position: relative;
  min-height: 72px;
  padding: 13px;
  border: 2px dashed #b9add8;
  border-radius: var(--r-md);
  background: #fbf9ff;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast);
}
.upload:hover { border-color: var(--purple); background: var(--surface-2); }
.upload:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 3px; }
.upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__icon { width: 38px; height: 38px; flex: 0 0 auto; color: var(--purple); display: grid; place-items: center; }
.upload__body { min-width: 0; flex: 1 1 auto; }
.upload__body b { display: block; font-size: 0.84rem; }
.upload__body span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.72rem; }
.upload__thumb { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.upload--busy { pointer-events: none; opacity: 0.72; background: var(--surface-sky); }
.upload--busy .upload__icon:last-of-type { animation: uploadPulse 800ms ease-in-out infinite alternate; }
.upload--done { border-style: solid; border-color: var(--green); background: #f2fcf7; }
@keyframes uploadPulse { to { transform: translateY(-3px); } }

.thumbs { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.thumbs figure { position: relative; margin: 0; }
.thumbs img { width: 74px; height: 74px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.thumbs button {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d7959e;
  border-radius: 50%;
  color: #8f2635;
  background: #fff;
  box-shadow: var(--shadow-xs);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.thumbs button::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.thumbs button svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------- badges --- */
.badge {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge--mint { color: #0d6442; border-color: #78d2a8; background: #e7f9f0; }
.badge--gold { color: #6f4a00; border-color: #edc14b; background: #fff6cd; }
.badge--purple { color: #5130aa; border-color: #bba7ef; background: #f0ebff; }
.badge--orange { color: #8a3d12; border-color: #efad84; background: #fff0e6; }
.badge--danger { color: #8f2635; border-color: #eaa0aa; background: var(--danger-soft); }
.badge--neutral { color: var(--text-dim); }
.pill-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

.status-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.18); }
.status-excellent { background: var(--green); }
.status-good { background: var(--sky); }
.status-attention { background: var(--orange); }
.status-critical { background: var(--danger); }
.status-unknown, .status-informational { background: var(--text-muted); }

/* ---------------------------------------------------------------- meter -- */
.meter {
  --meter-fill: linear-gradient(90deg, var(--green), var(--sky));
  display: block;
  width: 100%;
  height: 10px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #e7e1ef;
}
.meter::-webkit-progress-bar { border-radius: inherit; background: #e7e1ef; }
.meter::-webkit-progress-value { border-radius: inherit; background: var(--meter-fill); }
.meter::-moz-progress-bar { border-radius: inherit; background: var(--meter-fill); }
.meter--legendary { --meter-fill: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.meter--warn { --meter-fill: linear-gradient(90deg, #ffd06d, var(--orange)); }
.meter--danger { --meter-fill: linear-gradient(90deg, #ff8995, var(--danger)); }
.meter--neutral { --meter-fill: var(--text-muted); }
.bar { position: relative; height: 9px; border-radius: var(--r-pill); background: #e7e1ef; overflow: hidden; }
.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--score-good);
  transform-origin: left center;
  transform: scaleX(var(--fill, 0));
  transition: transform 900ms var(--ease-out);
}
.bar--gold::after { background: var(--score-legendary); }
.bar--warn::after { background: var(--score-warn); }
.bar--danger::after { background: var(--score-danger); }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 8vw, 84px) clamp(48px, 10vw, 112px);
  background:
    linear-gradient(180deg, rgba(234, 247, 255, 0.78), rgba(247, 252, 252, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 61, 0.28), transparent 24%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -5% -40px;
  height: 76px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--bg);
}
.hero__inner { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: var(--sp-8); align-items: center; }
.hero__copy { display: grid; gap: var(--sp-5); }
.hero__copy h1, .hero h1 { max-width: 12ch; }
.hero h1 em { color: var(--purple-deep); font-style: normal; }
.hero__lead { color: var(--text-dim); font-size: clamp(1.05rem, 3.2vw, 1.25rem); line-height: 1.6; max-width: 54ch; }
.hero__cta { display: grid; gap: var(--sp-3); }
.hero__proof, .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
}
.hero__proof div, .hero-stat {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(121, 89, 220, 0.18);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
}
.hero__proof b, .hero-stat b { display: block; color: var(--purple-deep); font-size: 1.3rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__proof span, .hero-stat span { display: block; margin-top: 5px; color: var(--text-muted); font-size: 0.66rem; font-weight: 850; line-height: 1.2; }
.hero__visual { position: relative; min-height: 310px; display: grid; place-items: center; }
.hero__art { width: min(100%, 570px); overflow: visible; filter: drop-shadow(0 18px 28px rgba(66, 49, 112, 0.13)); }
.hero__note {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid #d8c875;
  border-radius: 15px;
  background: #fff8d7;
  box-shadow: var(--shadow-sm);
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 800;
  transform: rotate(1.5deg);
}
.trajectory { stroke-dasharray: 8 11; animation: trace 3.2s linear infinite; }
@keyframes trace { to { stroke-dashoffset: -190; } }
.spark { animation: spark 3.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spark { 0%, 100% { opacity: .66; transform: scale(.92) rotate(-2deg); } 48% { opacity: 1; transform: scale(1.08) rotate(2deg); } }
.float-slow { animation: floaty 6.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }

/* --------------------------------------------------------- missão/etapas -- */
.mission-path { position: relative; display: grid; gap: var(--sp-4); }
.mission-path::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  border-left: 3px dashed #a9dff3;
}
.steps { position: relative; display: grid; gap: var(--sp-4); counter-reset: step; }
.step-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
}
.step-item__num {
  counter-increment: step;
  width: 48px;
  height: 48px;
  border: 2px solid #9edcf3;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #43c7f2, var(--sky));
  box-shadow: 0 4px 0 #1594bf, var(--shadow-sm);
  font-size: 1rem;
  font-weight: 900;
}
.step-item__num::before { content: counter(step); }
.step-item > div:last-child { padding: 14px 16px 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-xs); }
.step-item h3 { margin-bottom: 5px; }
.step-item p { color: var(--text-dim); font-size: 0.85rem; }

/* --------------------------------------------------------------- stepper -- */
.wizard-shell { display: grid; gap: var(--sp-5); }
.stepper {
  position: sticky;
  top: 77px;
  z-index: 16;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.stepper__bar { height: 8px; border-radius: var(--r-pill); background: #e6e0ef; overflow: hidden; }
.stepper__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--purple), var(--gold)); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform var(--dur-slow) var(--ease-out); }
.stepper__meta { margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.stepper__meta b { font-size: 0.9rem; }
.stepper__count { color: var(--purple-deep); font-size: 0.74rem; font-weight: 900; }
.wizard-step { display: none; }
.wizard-step[data-active="true"] { display: block; animation: stepIn var(--dur-slow) var(--ease-out) both; }
@keyframes stepIn { from { opacity: .72; transform: translateY(14px); clip-path: inset(0 0 12% 0 round 18px); } to { opacity: 1; transform: none; clip-path: inset(0 round 18px); } }
.wizard-step > .card { border-top: 6px solid var(--sky); }
.wizard-step[data-step="2"] > .card { border-top-color: var(--purple); }
.wizard-step[data-step="3"] > .card { border-top-color: var(--gold); }
.wizard-step[data-step="4"] > .card { border-top-color: var(--green); }
.wizard-actions {
  position: sticky;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 15;
  margin-top: var(--sp-5);
  padding: 12px;
  border: 1px solid rgba(189, 177, 220, 0.72);
  border-radius: var(--r-lg);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-2);
}

.choice-list { display: grid; gap: var(--sp-2); }
.choice {
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-align: left;
  transition: transform var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.choice:hover { transform: translateY(-1px); border-color: #9c89d4; }
.choice__body { min-width: 0; flex: 1 1 auto; }
.choice__body b { display: block; font-size: 0.95rem; }
.choice__body span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.76rem; }
.choice__check { width: 24px; height: 24px; color: transparent; flex: 0 0 auto; }
.choice__avatar { width: 46px; height: 46px; border-radius: 15px; background: var(--surface-3); color: var(--purple-deep); display: grid; place-items: center; font-size: 0.82rem; font-weight: 900; flex: 0 0 auto; }
.choice__avatar svg { width: 23px; height: 23px; }
.choice--meta .choice__avatar { color: #754d00; background: var(--surface-gold); }
.choice[aria-pressed="true"] { border-color: var(--purple); background: #f6f2ff; box-shadow: 0 0 0 3px rgba(121, 89, 220, 0.12), var(--shadow-sm); }
.choice[aria-pressed="true"] .choice__check { color: var(--purple); }
.search-row { display: grid; gap: var(--sp-2); }

/* ------------------------------------------------------- score reveal ----- */
.reveal { position: relative; text-align: center; padding-block: var(--sp-6) var(--sp-8); }
.reveal::before { content: ""; position: absolute; inset: 12% 13% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, 0.23), transparent 67%); pointer-events: none; }
.reveal__ring { position: relative; width: 210px; height: 210px; margin: 0 auto var(--sp-5); filter: drop-shadow(0 12px 18px rgba(78, 51, 156, 0.12)); }
.reveal__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.reveal__track { stroke: #e7e1ef; }
.reveal__progress { stroke: url(#scoreGradient); stroke-linecap: round; stroke-dasharray: var(--circumference, 565); stroke-dashoffset: calc(var(--circumference, 565) - var(--circumference, 565) * var(--fill, 0)); transition: stroke-dashoffset 1600ms var(--ease-out); }
.reveal__value { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.reveal__number { color: var(--text); font-size: 4.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.reveal__caption { color: var(--text-muted); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.title-badge { min-height: 40px; padding: 9px 17px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 9px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-xs); font-size: 1rem; font-weight: 900; line-height: 1.15; opacity: 0; transform: translateY(12px) scale(.94); }
.title-badge svg { width: 20px; height: 20px; }
.title-badge[data-shown="true"] { animation: badgePop 640ms var(--ease-spring) forwards; }
@keyframes badgePop { 60% { transform: translateY(-3px) scale(1.035); } to { opacity: 1; transform: none; } }
.tone-legendary, .tone-gold { color: var(--gold-ink); border-color: #e4ae25; background: var(--score-legendary); box-shadow: var(--glow-gold); }
.tone-epic { color: #fff; border-color: var(--purple-deep); background: var(--score-epic); box-shadow: var(--shadow-button-violet); }
.tone-good { color: #0d5e40; border-color: #70cca1; background: #e1f8ed; }
.tone-neutral { color: var(--text-dim); background: #f6f3fb; }
.tone-warn { color: #71320d; border-color: #e7a578; background: #fff0e6; }
.tone-danger { color: #8f2635; border-color: #eaa0aa; background: var(--danger-soft); }
.particles { position: absolute; inset: -30px; pointer-events: none; overflow: visible; }
.particles i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0; }
.particles[data-burst="true"] i { animation: burst 1100ms var(--ease-out) forwards; }
@keyframes burst { 0% { opacity: 0; transform: translate(0) scale(.4); } 25% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.2); } }
.reveal-seq > * { opacity: 0; transform: translateY(14px); }
.reveal-seq > [data-shown="true"] { animation: seqIn 520ms var(--ease-out) forwards; }
@keyframes seqIn { to { opacity: 1; transform: none; } }

.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.metric { min-width: 0; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fbfaff; box-shadow: var(--shadow-xs); display: grid; gap: 7px; }
.metric__label { color: var(--text-muted); font-size: 0.7rem; font-weight: 900; }
.metric__value { color: var(--purple-deep); font-size: 1.62rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric__note { color: var(--text-muted); font-size: 0.7rem; }

.attr-list { display: grid; gap: var(--sp-2); }
.attr { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px var(--sp-3); align-items: baseline; }
.attr__name { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 900; }
.attr__value { color: var(--purple-deep); font-size: 0.88rem; font-weight: 900; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.attr .badge { grid-column: 1 / -1; justify-self: start; }
.attr__bar { grid-column: 1 / -1; margin-top: 6px; }
.attr__note { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.72rem; }
.attr--informational { background: #f4f1f8; }

.insight { min-width: 0; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev); display: flex; gap: var(--sp-3); align-items: flex-start; }
.insight__icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 13px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.insight__icon svg { width: 21px; height: 21px; }
.insight b { display: block; font-size: 0.94rem; }
.insight p { margin-top: 4px; color: var(--text-dim); font-size: 0.83rem; line-height: 1.5; }
.insight--good { border-color: #91d8b7; background: #f0fbf6; }
.insight--good .insight__icon { color: var(--green-deep); background: var(--green-soft); }
.insight--warn { border-color: #efb18e; background: #fff7f1; }
.insight--warn .insight__icon { color: #9c4514; background: #ffe4d4; }
.insight--info { border-color: #9bdcf3; background: #f1fbff; }
.insight--info .insight__icon { color: var(--sky-deep); background: var(--sky-soft); }

.disclosure { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev); overflow: hidden; }
.disclosure + .disclosure { margin-top: var(--sp-2); }
.disclosure summary { min-height: var(--touch); padding: 14px 16px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--sp-3); font-size: 0.92rem; font-weight: 900; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary svg { width: 19px; height: 19px; color: var(--purple); flex: 0 0 auto; }
.disclosure summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform var(--dur); }
.disclosure[open] summary::after { transform: rotate(225deg); }
.disclosure__body { padding: 0 var(--sp-4) var(--sp-4); display: grid; gap: var(--sp-3); }
.disclosure__body p, .disclosure__body li { color: var(--text-dim); font-size: 0.86rem; line-height: 1.6; }
.disclosure__body li { display: flex; gap: 9px; }
.disclosure__body li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--purple); flex: 0 0 auto; }

/* ------------------------------------------------------------- listagens -- */
.filters { display: grid; gap: var(--sp-4); border-top: 6px solid var(--sky); }
.filters__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.listing-card { min-width: 0; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); display: grid; gap: var(--sp-3); text-decoration: none; transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur); }
.listing-card:hover { transform: translateY(-4px) rotate(-.15deg); border-color: #ae9bdc; box-shadow: var(--shadow-md); text-decoration: none; }
.listing-card__top { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); }
.listing-card__id { min-width: 0; }
.listing-card__id h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-card__id span { color: var(--text-muted); font-size: 0.76rem; }
.listing-card__price { flex: 0 0 auto; text-align: right; }
.listing-card__price b { display: block; color: var(--green-deep); font-size: 1.08rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.025em; }
.listing-card__price span { color: var(--text-muted); font-size: 0.64rem; font-weight: 800; }
.listing-card__scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.score-chip { min-width: 0; padding: 10px 11px; border: 1px solid #d8cdf2; border-radius: var(--r-sm); background: #f8f5ff; display: grid; gap: 2px; }
.score-chip b { color: var(--purple-deep); font-size: 1.1rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.score-chip span { color: var(--text-muted); font-size: 0.64rem; font-weight: 850; }
.listing-card__facts { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.fact { max-width: 100%; padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text-dim); background: #fbfafc; font-size: 0.7rem; overflow-wrap: anywhere; }
.fact b { color: var(--text); }
.listing-card__foot { min-width: 0; padding-top: var(--sp-3); border-top: 1px dashed #d4cbe4; display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }

/* ------------------------------------------------------------- perfil ----- */
.profile-hero { position: relative; overflow: hidden; padding: clamp(20px, 5vw, 34px); border: 1px solid #c6b6ee; border-radius: var(--r-xl); background: linear-gradient(145deg, #f4efff, #fff 55%, #effaff); box-shadow: var(--shadow-md); display: grid; gap: var(--sp-5); }
.profile-hero::after { content: ""; position: absolute; width: 220px; height: 220px; right: -110px; bottom: -130px; border: 34px solid rgba(46, 184, 234, .18); border-radius: 50%; }
.profile-hero__id { position: relative; z-index: 1; min-width: 0; display: flex; align-items: center; gap: var(--sp-4); }
.profile-hero__avatar { width: 68px; height: 68px; border: 2px solid #a88de8; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #9577ea, var(--purple)); box-shadow: 0 5px 0 #5238aa, var(--shadow-sm); display: grid; place-items: center; flex: 0 0 auto; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.03em; }
.profile-hero__name { min-width: 0; }
.profile-hero__name h1 { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(1.6rem, 7vw, 2.5rem); }
.profile-hero__name p { margin-top: 4px; color: var(--text-muted); font-size: 0.82rem; }
.profile-hero__scores { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }

.empty { grid-column: 1 / -1; padding: var(--sp-10) var(--sp-5); border: 2px dashed #bfb3d8; border-radius: var(--r-lg); color: var(--text-muted); background: rgba(255, 255, 255, .55); text-align: center; }
.empty svg { width: 52px; height: 52px; margin: 0 auto var(--sp-4); color: var(--purple); }
.empty h3 { margin-bottom: 7px; }
.empty p { max-width: 42ch; margin-inline: auto; font-size: 0.86rem; }

/* --------------------------------------------------------------- toast ---- */
.toast-region { position: fixed; left: 50%; bottom: calc(94px + env(safe-area-inset-bottom)); z-index: 90; width: min(440px, calc(100vw - 32px)); transform: translateX(-50%); display: grid; gap: var(--sp-2); pointer-events: none; }
.toast { padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--text); background: #fff; box-shadow: var(--shadow-lg); font-size: 0.86rem; font-weight: 850; animation: toastIn var(--dur) var(--ease-out); pointer-events: auto; }
.toast--error { color: #812536; border-color: #e28d99; background: #fff0f2; }
.toast--success { color: #0c6441; border-color: #78cfa6; background: #edfaf4; }
@keyframes toastIn { from { opacity: .5; transform: translateY(14px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* --------------------------------------------------------------- modal ---- */
dialog.modal { width: min(580px, calc(100vw - 20px)); max-height: min(90vh, 820px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-xl); color: var(--text); background: var(--surface); box-shadow: var(--shadow-lg); overflow: auto; }
dialog.modal::backdrop { background: rgba(47, 35, 82, .52); backdrop-filter: blur(5px); }
body.modal-open { overflow: hidden; }
body.modal-open::before { content: ""; position: fixed; inset: 0; z-index: 190; background: rgba(47, 35, 82, .52); backdrop-filter: blur(5px); }
dialog.modal--fallback { position: fixed; inset: 50% auto auto 50%; z-index: 200; margin: 0; transform: translate(-50%, -50%); }
.modal__head { padding: var(--sp-6) var(--sp-5) 0; display: grid; gap: var(--sp-2); }
.modal__body { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.modal__foot { position: sticky; bottom: 0; padding: var(--sp-3) var(--sp-5) var(--sp-5); border-top: 1px solid rgba(221, 214, 238, .8); background: rgba(255, 255, 255, .96); display: grid; gap: var(--sp-2); }
.skeleton { min-height: 78px; border-radius: var(--r-md); background: linear-gradient(100deg, #eee9f5 25%, #faf8fd 45%, #eee9f5 65%); background-size: 240% 100%; animation: shimmer 1500ms linear infinite; }
@keyframes shimmer { to { background-position-x: -180%; } }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-hidden { display: none !important; }

/* -------------------------------------------------------- breakpoints ----- */
@media (min-width: 600px) {
  .shell { padding-inline: var(--sp-6); }
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cta, .btn-group { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; }
  .hero__proof, .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-row { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .profile-hero__scores { grid-template-columns: repeat(2, 118px); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-featured__content { grid-template-columns: auto minmax(0, 1fr); }
  .download-featured__action { grid-column: 2; margin-top: 0; align-self: end; justify-self: start; }
  .download-release { grid-template-columns: auto minmax(0, 1fr) auto; }
  .download-release > .btn { grid-column: auto; width: auto; }
  .attr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .attr .badge { grid-column: auto; }
  .filters__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
  .toast-region { bottom: 24px; }
  .page { padding-block: var(--sp-12) var(--sp-16); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(410px, 1.08fr); gap: clamp(32px, 6vw, 80px); }
  .hero__visual { min-height: 470px; }
  .mission-path::before { display: none; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
  .step-item { grid-template-columns: 1fr; justify-items: start; }
  .step-item::after { content: ""; position: absolute; top: 23px; left: 48px; right: calc(-1 * var(--sp-4)); border-top: 3px dashed #a9dff3; z-index: -1; }
  .step-item:last-child::after { display: none; }
  .step-item > div:last-child { min-height: 190px; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
  .split--sticky > :first-child { position: sticky; top: 96px; }
  .reveal__ring { width: 244px; height: 244px; }
  .reveal__number { font-size: 4.85rem; }
  .wizard-actions { bottom: 18px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .download-featured__icon { width: 126px; height: 126px; border-radius: 35px; }
  .download-featured__content { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-5); }
  .download-featured__action { grid-column: auto; }
}

@media (max-width: 420px) {
  .site-header__inner > .btn { width: 46px; padding-inline: 0; font-size: 0; gap: 0; }
  .site-header__inner > .btn svg { width: 20px; height: 20px; }
  .site-header .brand__logo { width: 146px; }
  .brand__meta { display: none; }
  .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .wizard-actions .btn { padding-inline: 12px; }
  .profile-hero__id { align-items: flex-start; }
  .profile-hero__avatar { width: 58px; height: 58px; border-radius: 19px; }
}

/* ------------------------------------------------- prefers-reduced-motion - */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal-seq > *, .title-badge { opacity: 1 !important; transform: none !important; filter: none !important; }
  .wizard-step[data-active="true"],
  .title-badge[data-shown="true"],
  .reveal-seq > [data-shown="true"],
  .toast,
  .upload--busy .upload__icon:last-of-type,
  .skeleton,
  .spinner,
  .trajectory,
  .spark,
  .float-slow {
    animation: none !important;
  }
  .particles { display: none; }
  .reveal__progress, .bar::after, .stepper__bar i { transition: none !important; }
  .btn:hover,
  .btn:active,
  .choice:hover,
  .listing-card:hover {
    transform: none;
  }
}

/* ------------------------------------------- experiências reconstruídas --- */
.meta-ticket {
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid #d9ca79;
  border-radius: var(--r-md);
  color: var(--text);
  background: rgba(255, 248, 215, 0.88);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 10px;
}
.meta-ticket__icon { width: 34px; height: 34px; border-radius: 12px; color: #8b5900; background: var(--gold); display: grid; place-items: center; flex: 0 0 auto; }
.meta-ticket__icon svg { width: 19px; height: 19px; }
.meta-ticket b, .meta-ticket small { display: block; }
.meta-ticket b { font-size: .78rem; }
.meta-ticket small { color: var(--text-dim); font-size: .69rem; }
.section-action { margin-top: var(--sp-6); display: flex; justify-content: center; }

.score-story { display: grid; gap: var(--sp-4); }
.score-story__main, .score-story__side { display: grid; align-content: start; gap: var(--sp-5); }
.score-story__heading { display: flex; align-items: center; gap: var(--sp-3); }
.score-story__heading p { margin-top: 3px; color: var(--text-muted); font-size: .78rem; }
.score-story__icon { width: 48px; height: 48px; border-radius: 17px; color: #fff; background: var(--purple); box-shadow: 0 4px 0 #5436b0, var(--shadow-sm); display: grid; place-items: center; flex: 0 0 auto; }
.score-story__icon--sky { color: #075879; background: var(--sky); box-shadow: 0 4px 0 #168db6, var(--shadow-sm); }
.score-story__icon svg { width: 26px; height: 26px; }
.myth-note { margin-top: var(--sp-5); padding: clamp(18px, 4vw, 26px); border: 1px solid #dfca62; border-radius: var(--r-lg); background: #fff8d5; box-shadow: var(--shadow-sm); display: flex; align-items: flex-start; gap: var(--sp-4); }
.myth-note__icon { width: 44px; height: 44px; border-radius: 15px; color: #704900; background: var(--gold); display: grid; place-items: center; flex: 0 0 auto; }
.myth-note__icon svg { width: 24px; height: 24px; }
.myth-note p { margin-top: 5px; color: var(--text-dim); font-size: .87rem; }

.result-preview { overflow: hidden; border: 1px solid #c6b7ef; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); display: grid; }
.result-preview__score { position: relative; overflow: hidden; min-height: 250px; padding: var(--sp-8); color: #fff; background: linear-gradient(145deg, #6040c4, var(--purple)); display: grid; align-content: center; justify-items: center; gap: var(--sp-2); text-align: center; }
.result-preview__score::before { content: ""; position: absolute; width: 230px; height: 230px; border: 34px solid rgba(255,255,255,.1); border-radius: 50%; }
.result-preview__score > * { position: relative; z-index: 1; }
.result-preview__score > span { font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.result-preview__score > b { font-size: 5.2rem; line-height: .95; letter-spacing: -.07em; }
.result-preview__score .title-badge { margin-top: var(--sp-2); }
.result-preview__body { min-width: 0; padding: clamp(20px, 5vw, 34px); display: grid; gap: var(--sp-5); }

.benefit-board { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-md); }
.benefit-board__lead { padding: clamp(24px, 6vw, 42px); color: #fff; background: linear-gradient(155deg, #6241c6, var(--purple)); display: grid; align-content: start; gap: var(--sp-3); }
.benefit-board__lead h3 { color: #fff; font-size: clamp(1.5rem, 5vw, 2.15rem); }
.benefit-board__lead p { color: #f0ebff; }
.benefit-board__lead a { min-height: 44px; width: fit-content; color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; }
.benefit-board__lead a svg { width: 18px; height: 18px; }
.benefit-board__icon { width: 56px; height: 56px; border-radius: 19px; color: var(--gold-ink); background: var(--gold); box-shadow: 0 5px 0 rgba(58, 37, 4, .24); display: grid; place-items: center; }
.benefit-board__icon svg { width: 30px; height: 30px; }
.benefit-list { padding: var(--sp-3); display: grid; }
.benefit-row { padding: var(--sp-4); border-bottom: 1px dashed #d8d0e6; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: var(--sp-3); align-items: start; }
.benefit-row:last-child { border-bottom: 0; }
.benefit-row__icon { width: 40px; height: 40px; border-radius: 13px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.benefit-row__icon svg { width: 21px; height: 21px; }
.benefit-row p { margin-top: 4px; color: var(--text-dim); font-size: .82rem; }

.mission-cta { position: relative; overflow: hidden; padding: clamp(24px, 6vw, 44px); border: 1px solid #d6bd49; border-radius: var(--r-xl); background: linear-gradient(140deg, #fff1a7, #fff9dc 52%, #fff); box-shadow: var(--glow-gold); display: grid; gap: var(--sp-5); align-items: center; }
.mission-cta::after { content: ""; position: absolute; width: 210px; height: 210px; right: -100px; top: -105px; border: 28px solid rgba(121,89,220,.12); border-radius: 50%; }
.mission-cta > * { position: relative; z-index: 1; }
.mission-cta__art { width: 62px; height: 62px; padding: 9px; border-radius: 21px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.mission-cta__art .brand__mark, .mission-cta__art > svg { width: 46px; height: 46px; }
.mission-cta p { margin-top: 6px; color: var(--text-dim); }
.mission-cta--compact { margin-top: var(--sp-6); }

/* --------------------------------------- landing: narrativa e profundidade -- */
/* Escopo exclusivo da home: mantém as superfícies operacionais intactas. */
body.landing-page {
  background:
    radial-gradient(circle at 14px 14px, rgba(121, 89, 220, 0.05) 1.25px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, #edfaff 0, #fbfdfc 500px, var(--bg) 1020px);
}
.landing-page .hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 200, 61, 0.32), transparent 19%),
    radial-gradient(circle at 10% 76%, rgba(46, 184, 234, 0.17), transparent 24%),
    linear-gradient(180deg, rgba(234, 247, 255, 0.94), rgba(249, 253, 252, 0.88));
}
.landing-page .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(121, 89, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 89, 220, 0.05) 1px, transparent 1px);
  background-position: center;
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
}
.landing-page .hero::after { z-index: 1; }
.landing-page .hero__inner { z-index: 2; }
.landing-page .hero__copy h1 { text-wrap: balance; }
.landing-page .hero__copy h1 em {
  text-decoration: underline;
  text-decoration-color: rgba(255, 200, 61, 0.82);
  text-decoration-thickness: 0.18em;
  text-underline-offset: -0.05em;
  text-decoration-skip-ink: none;
}
.landing-page .hero__proof div {
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, var(--shadow-xs);
}
.landing-page .hero__visual { isolation: isolate; }
.landing-page .hero__visual::before,
.landing-page .hero__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.landing-page .hero__visual::before {
  width: min(82vw, 470px);
  aspect-ratio: 1;
  border: 1px dashed rgba(121, 89, 220, 0.36);
  box-shadow: 0 0 0 28px rgba(46, 184, 234, 0.06), 0 0 0 56px rgba(255, 200, 61, 0.05);
}
.landing-page .hero__visual::after {
  width: min(48vw, 260px);
  aspect-ratio: 1;
  right: 1%;
  top: 12%;
  border: 15px solid rgba(255, 200, 61, 0.17);
}
.landing-page .hero__note { box-shadow: 0 4px 0 rgba(216, 136, 0, 0.17), var(--shadow-sm); }
.landing-page.has-home-motion .trajectory,
.landing-page.has-home-motion .spark,
.landing-page.has-home-motion .float-slow { animation: none; }

.landing-page .section-band { position: relative; isolation: isolate; }
.landing-page .section-band .page { position: relative; z-index: 1; }
.landing-page .section-band--sky {
  background:
    radial-gradient(circle at 18% 50%, rgba(46, 184, 234, 0.13), transparent 22%),
    radial-gradient(circle at 86% 22%, rgba(121, 89, 220, 0.09), transparent 18%),
    var(--surface-sky);
}
.landing-page .section-band--violet {
  background:
    radial-gradient(circle at 13% 52%, rgba(121, 89, 220, 0.13), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 200, 61, 0.14), transparent 18%),
    #f0ebff;
}
.landing-page .section-band--paper {
  background:
    radial-gradient(circle at 85% 28%, rgba(255, 200, 61, 0.14), transparent 17%),
    rgba(255, 253, 248, 0.82);
}
.landing-page .section-head { max-width: 48rem; }
.landing-page .section-head--center { margin-inline: auto; }
.landing-page .section-head h2 { text-wrap: pretty; }

.landing-page .mission-path::before { display: none; }
.landing-page .mission-path__progress {
  position: absolute;
  z-index: 0;
  left: 23px;
  top: 28px;
  bottom: 28px;
  border-left: 3px dashed #85d1eb;
  transform-origin: top center;
}
.landing-page .step-item > div:last-child {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96) inset, var(--shadow-xs);
}
.landing-page .step-item__num {
  box-shadow: 0 4px 0 #1594bf, 0 10px 20px rgba(46, 184, 234, 0.2);
}

.landing-page .score-story > article {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-md);
}
.landing-page .score-story > article::after {
  content: "";
  position: absolute;
  width: 172px;
  height: 172px;
  right: -92px;
  top: -96px;
  border: 22px solid rgba(121, 89, 220, 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.landing-page .score-story__side::after { border-color: rgba(46, 184, 234, 0.13); }
.landing-page .score-story__heading,
.landing-page .score-story > article > p,
.landing-page .score-story .stack-sm { position: relative; z-index: 1; }
.landing-page .myth-note { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset, var(--shadow-sm); }

.landing-page .result-preview { box-shadow: 0 8px 18px rgba(52, 37, 97, 0.14), 0 28px 64px rgba(121, 89, 220, 0.16); }
.landing-page .result-preview__score::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: calc(var(--r-xl) - 12px);
  pointer-events: none;
}
.landing-page .listing-card { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, var(--shadow-sm); }
.landing-page .benefit-board { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset, var(--shadow-lg); }
.landing-page .benefit-board__lead { position: relative; overflow: hidden; }
.landing-page .benefit-board__lead::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -92px;
  bottom: -104px;
  border: 28px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.landing-page .benefit-board__lead > * { position: relative; z-index: 1; }
.landing-page .mission-cta { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset, var(--glow-gold); }

@media (min-width: 900px) {
  .landing-page .hero__visual::after { right: -2%; }
  .landing-page .mission-path__progress {
    left: 48px;
    right: 48px;
    top: 23px;
    bottom: auto;
    height: 0;
    border-top: 3px dashed #85d1eb;
    border-left: 0;
    transform-origin: left center;
  }
  .landing-page .step-item::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .hero__visual::before,
  .landing-page .hero__visual::after { display: none; }
}

.listing-card__arrow, .listing-card__cta { color: var(--purple-deep); font-size: .76rem; font-weight: 900; display: inline-flex; align-items: center; gap: 4px; }
.listing-card__arrow svg, .listing-card__cta svg { width: 16px; height: 16px; }
.listing-card__title { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Wizard */
.analyze-intro { border-top: 6px solid var(--sky); }
.checkpoint-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; }
.checkpoint-strip span { min-width: 0; padding: 7px 3px; border-radius: 9px; color: var(--text-muted); background: #f5f1fb; font-size: clamp(.56rem, 2vw, .68rem); font-weight: 900; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.step-card { display: grid; gap: var(--sp-5); }
.step-card__head { padding-bottom: var(--sp-5); border-bottom: 1px dashed #d6cde7; display: grid; gap: var(--sp-2); }
.step-card__head > p { color: var(--text-dim); }
.step-card__checkpoint { display: flex; align-items: center; gap: 9px; color: var(--purple-deep); font-size: .76rem; }
.step-card__checkpoint span { width: 34px; height: 34px; border-radius: 12px; color: #fff; background: var(--purple); display: grid; place-items: center; }
.step-card__checkpoint span svg { width: 19px; height: 19px; }
.input--hero { min-height: 56px; font-size: 1.08rem; font-weight: 800; }
.manual-entry { margin-top: var(--sp-2); }
.stat-sheet { padding: var(--sp-4); border: 1px solid #d7ccee; border-radius: var(--r-lg); background: #faf8ff; display: grid; gap: var(--sp-4); }
.stat-sheet__title { display: flex; align-items: center; gap: var(--sp-3); }
.stat-sheet__title > span { width: 42px; height: 42px; border-radius: 14px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.stat-sheet__title > span svg { width: 23px; height: 23px; }
.stat-sheet__title p { margin-top: 3px; color: var(--text-muted); font-size: .76rem; }
.stat-field { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.stat-field__icon { width: 25px; height: 25px; border-radius: 9px; color: var(--purple-deep); background: var(--surface-3); display: inline-grid; place-items: center; }
.stat-field__icon svg { width: 15px; height: 15px; }
.optional-stats { margin-top: 0; }
.pet-picker { padding: 3px; border-radius: var(--r-lg); }
.pet-picker[aria-invalid="true"] { box-shadow: 0 0 0 3px rgba(220,70,88,.15); }
.mission-summary { display: grid; gap: var(--sp-2); }
.mission-summary h3 { margin-bottom: var(--sp-2); }
.result-sheet { position: relative; overflow: hidden; padding-top: 0; border-top: 0 !important; }
.result-sheet__flag { margin-inline: calc(-1 * clamp(18px, 4vw, 28px)); padding: 12px clamp(18px, 4vw, 28px); color: #0d6543; background: #e5f8ef; border-bottom: 1px solid #9cd9bd; display: flex; align-items: center; gap: 8px; }
.result-sheet__flag span { width: 24px; height: 24px; }
.result-sheet__flag span svg { width: 24px; height: 24px; }
.result-sheet__flag small { margin-left: auto; color: var(--green-deep); font-weight: 800; }
.reveal-seq { display: grid; gap: var(--sp-6); }
.result-section { padding-top: var(--sp-5); border-top: 1px dashed #d5cbe5; display: grid; gap: var(--sp-4); }
.result-section__head { display: flex; align-items: center; gap: 10px; }
.result-section__head > span { width: 38px; height: 38px; border-radius: 13px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.result-section__head svg { width: 21px; height: 21px; }
.result-actions { padding-top: var(--sp-2); }
.save-mission, .sell-mission { position: relative; padding-top: 72px; }
.save-mission__icon, .sell-mission__icon { position: absolute; top: 20px; left: 20px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; }
.save-mission__icon { color: #6c4700; background: var(--gold); }
.sell-mission__icon { color: var(--purple-deep); background: var(--surface-3); }
.save-mission__icon svg, .sell-mission__icon svg { width: 23px; height: 23px; }
.sell-modal__head { grid-template-columns: 48px minmax(0,1fr); align-items: center; }
.sell-modal__icon { width: 48px; height: 48px; border-radius: 16px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.sell-modal__icon svg { width: 26px; height: 26px; }
.sell-section { padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fcfbff; display: grid; gap: var(--sp-4); }
.sell-section__head { display: flex; align-items: center; gap: 9px; }
.sell-section__head > span { width: 32px; height: 32px; border-radius: 11px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.sell-section__head svg { width: 18px; height: 18px; }
.choice__check { position: relative; border: 2px solid #c6bdd7; border-radius: 50%; }
.choice__check::after { content: ""; position: absolute; width: 8px; height: 4px; left: 5px; top: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.thumbs__remove::before, .thumbs__remove::after { content: ""; position: absolute; width: 13px; height: 2px; border-radius: 2px; background: currentColor; }
.thumbs__remove::before { transform: rotate(45deg); }
.thumbs__remove::after { transform: rotate(-45deg); }

/* Perfil */
.profile-sheet { border-top: 7px solid var(--purple); }
.profile-sheet__identity { min-width: 0; display: flex; align-items: center; gap: var(--sp-4); }
.profile-sheet__label { margin-bottom: 3px; color: var(--purple-deep) !important; font-size: .72rem !important; font-weight: 900; }
.profile-sheet__stamp { position: absolute; right: 18px; top: 18px; opacity: .16; transform: rotate(9deg); }
.profile-sheet__stamp .brand__mark { width: 82px; height: 82px; }
.profile-sheet .profile-hero__scores { grid-column: 1 / -1; }
.score-chip--large { padding: 14px; }
.score-chip--large b { font-size: 1.45rem; }
.profile-ribbon { padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-xs); display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.profile-ribbon__meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; color: var(--text-muted); font-size: .73rem; font-weight: 800; }
.profile-ribbon__meta span { display: inline-flex; align-items: center; gap: 5px; }
.profile-ribbon__meta svg { width: 15px; height: 15px; }
.profile-layout { display: grid; gap: var(--sp-5); }
.build-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--sp-3); }
.build-fact { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-xs); display: flex; align-items: center; gap: 10px; }
.build-fact > span { width: 36px; height: 36px; border-radius: 12px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; flex: 0 0 auto; }
.build-fact > span svg { width: 20px; height: 20px; }
.build-fact > div { min-width: 0; }
.build-fact small, .build-fact b { display: block; }
.build-fact small { color: var(--text-muted); font-size: .67rem; }
.build-fact b { overflow: hidden; text-overflow: ellipsis; font-size: .86rem; }
.build-fact em { margin-left: auto; font-style: normal; }
.build-fact--pet { grid-column: 1 / -1; }
.explanation-sheet { border-top: 6px solid var(--sky); }
.share-sheet { position: relative; padding-top: 78px; display: grid; gap: var(--sp-4); }
.share-sheet__icon, .recovery-card__icon { position: absolute; left: 24px; top: 22px; width: 44px; height: 44px; border-radius: 15px; color: #704900; background: var(--gold); display: grid; place-items: center; }
.share-sheet__icon svg, .recovery-card__icon svg { width: 23px; height: 23px; }
.owner-tools { padding-top: var(--sp-4); border-top: 1px dashed #d8c875; }
.recovery-card { position: relative; padding-top: 82px; display: grid; gap: var(--sp-4); }
.recovery-card__icon { color: var(--purple-deep); background: var(--surface-3); }
.managed-profile { border-top: 6px solid var(--purple); display: grid; gap: var(--sp-4); }
.managed-profile > h3 { margin-top: var(--sp-2); }

/* Vitrine e anúncio */
.showcase-intro { border-top: 6px solid var(--gold); }
.filter-head { display: flex; align-items: center; gap: var(--sp-3); }
.filter-head > span { width: 44px; height: 44px; border-radius: 15px; color: var(--sky-deep); background: var(--sky-soft); display: grid; place-items: center; }
.filter-head > span svg { width: 23px; height: 23px; }
.filter-head p { margin-top: 3px; color: var(--text-muted); font-size: .78rem; }
.listing-results-head { padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.listing-results-head p { margin-top: 4px; color: var(--text-muted); font-size: .78rem; }
.listing-results-head__icon { width: 42px; height: 42px; border-radius: 14px; color: var(--green-deep); background: var(--green-soft); display: grid; place-items: center; flex: 0 0 auto; }
.listing-results-head__icon svg { width: 23px; height: 23px; }
.marketplace-note { margin-top: var(--sp-6); }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; }
.breadcrumb svg { width: 18px; height: 18px; }
.listing-hero { position: relative; overflow: hidden; padding: clamp(22px, 5vw, 36px); border: 1px solid #c9bbef; border-radius: var(--r-xl); background: linear-gradient(145deg, #f1ebff, #fff 62%, #eaf8ff); box-shadow: var(--shadow-md); display: grid; gap: var(--sp-5); }
.listing-hero::after { content: ""; position: absolute; width: 190px; height: 190px; right: -90px; bottom: -110px; border: 27px solid rgba(46,184,234,.16); border-radius: 50%; }
.listing-hero > * { position: relative; z-index: 1; }
.listing-hero__identity { min-width: 0; display: flex; align-items: center; gap: var(--sp-4); }
.listing-hero__icon { width: 54px; height: 54px; border-radius: 18px; color: #5f3b00; background: var(--gold); box-shadow: 0 4px 0 #d79a14, var(--shadow-sm); display: grid; place-items: center; flex: 0 0 auto; }
.listing-hero__icon svg { width: 28px; height: 28px; }
.listing-hero h1 { max-width: 18ch; font-size: clamp(1.75rem, 6vw, 3rem); }
.listing-hero__identity p { margin-top: 5px; color: var(--text-muted); font-size: .8rem; }
.listing-hero__price { display: grid; justify-items: start; gap: 5px; }
.listing-hero__price small { color: var(--text-muted); font-weight: 800; }
.listing-hero__price > b { color: var(--green-deep); font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1; letter-spacing: -.045em; }
.listing-offer { border-top: 6px solid var(--purple); display: grid; gap: var(--sp-5); }
.listing-offer__profile { min-width: 0; display: flex; align-items: center; gap: var(--sp-3); }
.listing-offer__avatar { width: 48px; height: 48px; border-radius: 16px; color: #fff; background: var(--purple); display: grid; place-items: center; flex: 0 0 auto; }
.listing-offer__avatar svg { width: 25px; height: 25px; }
.listing-offer__profile small, .listing-offer__profile p { color: var(--text-muted); font-size: .72rem; }
.listing-offer__profile h2 { font-size: 1.35rem; }
.contact-gate { padding-top: var(--sp-4); border-top: 1px dashed #d4c9e5; display: grid; gap: var(--sp-3); }
.contact-gate p { margin-top: 4px; color: var(--text-muted); font-size: .78rem; }
.contact-box { display: grid; gap: var(--sp-3); border-color: #8bd2b0; background: #f1fbf6; }
.contact-box .mono { padding: 10px; border-radius: 10px; background: #fff; overflow-wrap: anywhere; }
.listing-offer__meta { padding-top: var(--sp-3); border-top: 1px dashed #d4c9e5; color: var(--text-muted); display: grid; gap: 8px; font-size: .74rem; font-weight: 800; }
.listing-offer__meta span { display: flex; align-items: center; gap: 7px; }
.listing-offer__meta svg { width: 16px; height: 16px; }
.listing-story { padding: clamp(20px, 4vw, 28px); border: 1px solid #9bdcf3; border-radius: var(--r-lg); background: #f2fbff; display: flex; align-items: flex-start; gap: var(--sp-4); }
.listing-story__icon { width: 42px; height: 42px; border-radius: 14px; color: var(--sky-deep); background: var(--sky-soft); display: grid; place-items: center; flex: 0 0 auto; }
.listing-story__icon svg { width: 23px; height: 23px; }
.listing-story p { margin-top: 7px; color: var(--text-dim); }
.account-sheet { border-top: 6px solid var(--purple); display: grid; gap: var(--sp-5); }
.build-facts--listing { grid-template-columns: repeat(2, minmax(0,1fr)); }
.profile-deep-link { min-height: 46px; padding: 12px 15px; border-radius: var(--r-md); color: var(--purple-deep); background: var(--surface-3); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; }
.profile-deep-link:hover { text-decoration: none; background: #e5dcff; }
.profile-deep-link svg { width: 18px; height: 18px; }
.safe-trade { margin-top: var(--sp-2); }

/* Regras e transparência */
.rules-intro { border-top: 6px solid var(--purple); }
.rules-jump { padding: 6px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-xs); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.rules-jump a { min-width: 0; min-height: 44px; padding: 8px 5px; border-radius: 12px; color: var(--text-dim); display: grid; place-items: center; font-size: clamp(.68rem, 2.7vw, .78rem); font-weight: 900; text-align: center; }
.rules-jump a:hover { color: var(--purple-deep); background: var(--surface-3); text-decoration: none; }
.formula-sheet { display: grid; gap: var(--sp-5); scroll-margin-top: 98px; }
.formula-sheet__head { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: var(--sp-3); align-items: center; }
.formula-sheet__head > span { width: 48px; height: 48px; border-radius: 16px; color: #fff; background: var(--purple); display: grid; place-items: center; }
.formula-sheet.card--sky .formula-sheet__head > span { color: #075879; background: var(--sky); }
.formula-sheet__head svg { width: 26px; height: 26px; }
.formula-sheet__head p { color: var(--text-muted); font-size: .75rem; }
.formula-sheet__head > b { color: var(--purple-deep); font-size: 1.25rem; }
.formula-stack { display: grid; gap: var(--sp-3); }
.formula-row { padding: var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; display: grid; gap: 8px; }
.formula-row > div { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: .86rem; font-weight: 900; }
.formula-row > div b { color: var(--purple-deep); }
.formula-row p { color: var(--text-muted); font-size: .75rem; }
.confidence-story { padding: clamp(22px, 5vw, 34px); border: 1px solid #8fd3b1; border-radius: var(--r-xl); background: #effbf5; box-shadow: var(--shadow-sm); display: grid; gap: var(--sp-4); }
.confidence-story__icon { width: 52px; height: 52px; border-radius: 18px; color: var(--green-deep); background: var(--green-soft); display: grid; place-items: center; }
.confidence-story__icon svg { width: 28px; height: 28px; }
.confidence-story p { margin-top: 7px; color: var(--text-dim); }
.attribute-rules, .title-ladder { display: grid; gap: var(--sp-4); }
.title-ladder__list { display: grid; gap: var(--sp-2); }
.title-ladder__item { min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fbfaff; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.title-ladder__item .title-badge { min-width: 0; white-space: normal; }
.title-ladder__item > b { color: var(--purple-deep); white-space: nowrap; }
.data-sources { scroll-margin-top: 98px; }
.source-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); }
.source-list article { padding: var(--sp-5); border-bottom: 1px dashed #d5ccdf; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: var(--sp-4); }
.source-list article:last-child { border-bottom: 0; }
.source-list article > span { width: 42px; height: 42px; border-radius: 14px; color: var(--purple-deep); background: var(--surface-3); display: grid; place-items: center; }
.source-list article > span svg { width: 22px; height: 22px; }
.source-list p { margin-top: 5px; color: var(--text-dim); font-size: .82rem; }

@media (min-width: 700px) {
  .score-story { grid-template-columns: minmax(0,1.16fr) minmax(280px,.84fr); align-items: start; }
  .result-preview { grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); }
  .benefit-board { grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr); }
  .mission-cta { grid-template-columns: auto minmax(0,1fr) auto; }
  .mission-cta--compact { grid-template-columns: auto minmax(0,1fr) max-content; }
  .profile-layout { grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); align-items: start; }
  .listing-hero { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
  .listing-hero__price { justify-items: end; text-align: right; }
  .confidence-story { grid-template-columns: 58px minmax(0,1fr); }
}

@media (min-width: 900px) {
  .profile-sheet { grid-template-columns: minmax(0,1fr) auto; }
  .profile-sheet .profile-hero__scores { grid-column: auto; }
  .build-facts--listing { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .myth-note, .listing-story { display: grid; }
  .result-sheet__flag small { display: none; }
  .build-fact--pet { align-items: flex-start; flex-wrap: wrap; }
  .build-fact--pet em { margin-left: 46px; }
  .profile-sheet__stamp { display: none; }
  .profile-sheet__identity { align-items: flex-start; }
  .title-ladder__item { align-items: flex-start; flex-direction: column; }
  .listing-hero__identity { align-items: flex-start; }
  .mission-summary .attr,
  #sellSummary .attr {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .mission-summary .attr__value,
  #sellSummary .attr__value {
    min-width: 0;
    text-align: left;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-preview__score::before, .listing-hero::after, .mission-cta::after { animation: none; }
}

/* -------------------------------- home: cena de missão cinematográfica -- */
/* Esta camada é exclusiva da home e deixa o estado final íntegro sem JS. */
.landing-page .hero { overflow: hidden; overflow: clip; }
.landing-page .hero__visual { min-height: clamp(330px, 42vw, 510px); }
.landing-page .hero__art { position: relative; z-index: 1; }
.landing-page .hero__note { z-index: 3; }
.landing-page .hero__orbit,
.landing-page .hero__signal {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.landing-page .hero__orbit { border-radius: 50%; }
.landing-page .hero__orbit--outer {
  width: min(88%, 460px);
  aspect-ratio: 1;
  border: 1px dashed rgba(121, 89, 220, 0.46);
  box-shadow: 0 0 0 18px rgba(46, 184, 234, 0.055), 0 0 0 42px rgba(255, 200, 61, 0.055);
}
.landing-page .hero__orbit--inner {
  width: min(57%, 292px);
  aspect-ratio: 1;
  border: 12px solid rgba(46, 184, 234, 0.1);
  border-top-color: rgba(46, 184, 234, 0.42);
  border-right-color: rgba(255, 200, 61, 0.38);
}
.landing-page .hero__signal {
  width: 16px;
  aspect-ratio: 1;
  right: 11%;
  top: 19%;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(255, 200, 61, 0.22), 0 0 0 16px rgba(255, 200, 61, 0.08);
}
.landing-page.has-home-motion .hero__orbit,
.landing-page.has-home-motion .hero__signal,
.landing-page.has-home-motion .hero__art,
.landing-page.has-home-motion [data-hero-card] { will-change: transform; }

.landing-page .mission-path { isolation: isolate; }
.landing-page .steps { z-index: 2; }
.landing-page .mission-path__marker {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 17px;
  width: 22px;
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 3px 0 #d88800, 0 8px 18px rgba(216, 136, 0, 0.28);
}
.landing-page .mission-path__marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #fff7c4;
}
.landing-page.has-home-motion .mission-path__marker,
.landing-page.has-home-motion .mission-path__progress,
.landing-page.has-home-motion .step-item { will-change: transform; }

.landing-page .score-scene { position: relative; }
.landing-page .score-scene__stage {
  position: relative;
  isolation: isolate;
  margin-top: clamp(22px, 4vw, 42px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(121, 89, 220, 0.22);
  border-radius: clamp(25px, 4vw, 38px);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 200, 61, 0.18), transparent 22%),
    radial-gradient(circle at 8% 88%, rgba(46, 184, 234, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(250, 248, 255, 0.96), rgba(238, 250, 255, 0.9));
  box-shadow: 0 24px 62px rgba(75, 50, 139, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  overflow: clip;
}
.landing-page .score-scene__stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 11px;
  border: 1px solid rgba(121, 89, 220, 0.12);
  border-radius: inherit;
  pointer-events: none;
}
.landing-page .score-scene__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(121, 89, 220, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 89, 220, 0.065) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.landing-page .score-scene__halo {
  position: absolute;
  z-index: 0;
  width: min(66vw, 540px);
  aspect-ratio: 1;
  left: 25%;
  top: -27%;
  border: 1px dashed rgba(121, 89, 220, 0.36);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(121, 89, 220, 0.045), 0 0 0 46px rgba(46, 184, 234, 0.035);
  pointer-events: none;
}
.landing-page .score-scene .score-story,
.landing-page .score-scene .myth-note { position: relative; z-index: 1; }
.landing-page .score-scene .score-story__main { border-color: #c3b0fb; }
.landing-page .score-scene .score-story__side { border-color: #91d9f2; }
.landing-page .score-scene .myth-note {
  margin-top: clamp(16px, 2vw, 24px);
  background: rgba(255, 249, 215, 0.94);
}
.landing-page.has-home-motion .score-scene__grid,
.landing-page.has-home-motion .score-scene__halo,
.landing-page.has-home-motion .score-scene [data-score-card],
.landing-page.has-home-motion .score-scene [data-score-warning] { will-change: transform, opacity; }

.landing-page .result-preview { transform-origin: 50% 50%; }
.landing-page .section-band--paper .listing-grid { perspective: 900px; }
@media (hover: hover) and (pointer: fine) {
  .landing-page .listing-card { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
  .landing-page .listing-card:hover { transform: translateY(-6px) rotateX(1deg); box-shadow: 0 16px 30px rgba(66, 49, 112, 0.17); }
  .landing-page .mission-cta { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
  .landing-page .mission-cta:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset, 0 16px 30px rgba(216, 136, 0, 0.16); }
}

@media (min-width: 900px) {
  .landing-page .mission-path__marker { left: 37px; top: 12px; }
  .landing-page .score-scene__stage {
    min-height: min(610px, calc(100svh - 102px));
    display: grid;
    align-content: center;
  }
  .landing-page .score-scene .score-story {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.78fr);
    align-items: center;
  }
  .landing-page .score-scene .score-story__main { margin-top: 18px; }
  .landing-page .score-scene .myth-note { margin-left: clamp(0px, 8vw, 112px); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .trajectory,
  .landing-page .spark,
  .landing-page .float-slow { animation: none; }
  .landing-page .hero__orbit,
  .landing-page .hero__signal,
  .landing-page .mission-path__marker { transition: none; }
}
