/* ==========================================================================
   CNV MODE ON · estilos
   Mobile first. Cores dos componentes:
   observação = ciano · sentimento = roxo · necessidade = rosa · pedido = verde
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #09090f;
  --bg-2: #0f0f19;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --muted: #b4b4c3;
  --purple: #8b5cf6;
  --purple-deep: #7c3aed;
  --purple-text: #b79cff;
  --green: #b8ff65;
  --cyan: #22d3ee;
  --pink: #ff4fa3;
  --pink-text: #ff7dbb;
  --c-obs: var(--cyan);
  --c-sent: var(--purple-text);
  --c-nec: var(--pink-text);
  --c-ped: var(--green);
  --radius: 22px;
  --radius-s: 14px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -0.02em; }
[hidden] { display: none !important; }
::selection { background: var(--purple); color: #fff; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 10px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: #0b0b12; padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.center .cta-row, .cta-row.center { justify-content: center; }

/* ---------------------------------------------------------------- fundo */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; will-change: transform; }
.orb-a { width: 60vmax; height: 60vmax; left: -22vmax; top: -18vmax; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 65%); animation: drift 26s var(--ease) infinite alternate; }
.orb-b { width: 48vmax; height: 48vmax; right: -20vmax; top: 30vh; background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 65%); animation: drift 32s var(--ease) infinite alternate-reverse; }
.orb-c { width: 42vmax; height: 42vmax; left: 20vw; bottom: -24vmax; background: radial-gradient(circle, rgba(255, 79, 163, 0.28), transparent 65%); animation: drift 38s var(--ease) infinite alternate; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
@keyframes drift { to { transform: translate3d(8vw, 6vh, 0) scale(1.12); } }

.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 60%);
  transition: opacity 0.4s; will-change: transform;
}
.has-cursor .cursor-glow { opacity: 1; }

/* ---------------------------------------------------------------- header */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px;
  background: linear-gradient(to bottom, rgba(9, 9, 15, 0.92), rgba(9, 9, 15, 0.7));
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; letter-spacing: 0.04em; text-decoration: none; font-size: 1rem; }
.brand b { font-weight: 700; color: var(--green); }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(184, 255, 101, 0.15), 0 0 18px var(--green); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(184, 255, 101, 0.05), 0 0 26px var(--green); } }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }
.icon-btn svg { width: 22px; height: 22px; }
#btn-som .som-on { display: none; }
#btn-som[aria-pressed="true"] .som-on { display: block; }
#btn-som[aria-pressed="true"] .som-off { display: none; }
#btn-som[aria-pressed="true"] { color: var(--green); border-color: rgba(184, 255, 101, 0.4); }

.menu-sheet {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: rgba(9, 9, 15, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line); padding: 10px 16px 22px;
  animation: sheetIn 0.35s var(--ease);
}
.menu-sheet nav { display: grid; }
.menu-sheet a { display: flex; gap: 16px; align-items: baseline; padding: 14px 6px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu-sheet a span { font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0.1em; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-10px); } }

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .topbar { padding: 0 28px; }
  .menu-sheet { display: none !important; }
}

main { position: relative; z-index: 1; overflow-x: clip; }

/* ---------------------------------------------------------------- tipografia */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 2px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2s infinite; }
.h2 { font-size: clamp(2.1rem, 8.4vw, 4.6rem); font-weight: 700; text-transform: none; margin-bottom: 26px; }
.h2-xl { font-size: clamp(2.4rem, 10vw, 6rem); }
.grad-text {
  background: linear-gradient(100deg, var(--purple-text) 0%, var(--cyan) 35%, var(--green) 65%, var(--pink-text) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradMove 9s linear infinite;
}
@keyframes gradMove { to { background-position: 220% 0; } }
.lead { font-size: clamp(1.15rem, 3.6vw, 1.45rem); color: var(--text); font-weight: 500; line-height: 1.45; max-width: 46ch; }
.lead-stack { max-width: 52ch; font-size: clamp(1.08rem, 3.2vw, 1.3rem); color: var(--muted); margin-bottom: 34px; }
.lead-stack p { margin-bottom: 0.55em; }
.big-quote {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(1.5rem, 5.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.015em;
  margin: 26px 0; max-width: 24ch;
}
.big-quote.small { font-size: clamp(1.25rem, 4.6vw, 1.7rem); max-width: 30ch; }
.hint { color: var(--muted); font-size: 0.95rem; }
.fine { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin-top: 20px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--purple-text); font-weight: 600; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- botões */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.06em; text-decoration: none; text-align: center;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, opacity 0.2s;
  isolation: isolate; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translate3d(var(--bx), var(--by), 0) scale(0.97); }
.btn-primary { background: var(--green); color: #0b0b12; box-shadow: 0 10px 40px -10px rgba(184, 255, 101, 0.6); }
.btn-green { background: var(--green); color: #0b0b12; box-shadow: 0 10px 40px -10px rgba(184, 255, 101, 0.55); }
.btn-cyan { background: var(--cyan); color: #06141a; box-shadow: 0 10px 40px -10px rgba(34, 211, 238, 0.6); }
.btn-purple { background: linear-gradient(120deg, var(--purple-deep), #9d4edd); color: #fff; box-shadow: 0 12px 44px -10px rgba(139, 92, 246, 0.75); }
.btn-outline { background: rgba(255,255,255,0.03); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 0.86rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.ghost-btn {
  background: none; border: 0; color: var(--muted); font-size: 0.9rem; padding: 10px 4px; min-height: 44px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2);
}
.ghost-btn:hover { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-row .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .cta-row .btn { flex: 0 0 auto; } }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- views */
.view { animation: viewIn 0.6s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }

.section { position: relative; padding: 96px 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,0.04); }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 36px) 0 90px; display: flex; align-items: center; overflow: hidden; }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { display: grid; gap: 34px; z-index: 1; }
.hero-title { font-size: clamp(3.6rem, 19vw, 10.5rem); font-weight: 700; line-height: 0.88; letter-spacing: -0.045em; display: grid; margin-bottom: 18px; }
.kinetic { display: block; }
.kinetic .w { display: inline-block; white-space: nowrap; }
.js .kinetic .ch { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(6deg); filter: blur(8px); animation: chIn 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 0.1s); }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.hero-title .grad-text .w { background: inherit; }
.hero-title .grad-text .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-family: var(--display); font-size: clamp(1.35rem, 5.4vw, 2.2rem); font-weight: 500; line-height: 1.2; max-width: 20ch; margin: 0; }
.hero-more { max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
.hero-quote { font-family: var(--display); font-size: clamp(1.3rem, 4.8vw, 1.8rem); font-weight: 700; color: var(--text); line-height: 1.2; margin-top: 24px; }
.hero-quote .grad-text { display: inline; }

.hero-stage { position: relative; display: grid; justify-items: center; gap: 6px; }
.stage-phone {
  width: min(380px, 100%); border-radius: 30px; padding: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255,255,255,0.12);
  transform-style: preserve-3d; transition: transform 0.4s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { translate: 0 -10px; } }
.stage-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.stage-name { font-weight: 600; font-size: 0.92rem; }
.stage-status { margin-left: auto; font-size: 0.76rem; color: var(--green); letter-spacing: 0.08em; }
.stage-body { min-height: 196px; display: grid; align-content: start; gap: 16px; }
.hero-bubble {
  position: relative; max-width: 100%; font-size: 1.12rem; font-weight: 500; line-height: 1.45; min-height: 3.1em;
  transition: background 0.6s, box-shadow 0.6s;
}
.hero-bubble.is-b { background: linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(34, 211, 238, 0.18)); box-shadow: 0 0 0 1px rgba(184, 255, 101, 0.35), 0 20px 50px -20px rgba(34, 211, 238, 0.6); }
.hero-bubble.glitch .hb-text { animation: glitch 0.5s steps(2) both; }
@keyframes glitch {
  0% { text-shadow: 2px 0 var(--pink), -2px 0 var(--cyan); transform: translateX(0); filter: blur(0); }
  25% { text-shadow: -3px 0 var(--pink), 3px 0 var(--cyan); transform: translateX(2px) skewX(-6deg); clip-path: inset(10% 0 40% 0); }
  50% { text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan); transform: translateX(-2px) skewX(5deg); clip-path: inset(50% 0 5% 0); filter: blur(1px); }
  75% { transform: translateX(1px); clip-path: inset(0 0 0 0); }
  100% { text-shadow: none; transform: none; filter: none; }
}
.hero-bubble .seg { transition: color 0.4s; }
.hero-legend { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; }
.hero-legend.is-on { opacity: 1; transform: none; }
.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.tag-obs { color: var(--c-obs); } .tag-sent { color: var(--c-sent); } .tag-nec { color: var(--c-nec); } .tag-ped { color: var(--c-ped); }
.hero-wave {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(34, 211, 238, 0.16) 45%, rgba(184, 255, 101, 0.2) 50%, rgba(139, 92, 246, 0.16) 55%, transparent 65%);
  transform: translateX(-100%);
}
.hero-wave.go { animation: wave 1.6s var(--ease); }
@keyframes wave { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
.replay { font-size: 0.82rem; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px; border: 1.5px solid var(--line-2); display: none; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--text); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "copy stage" "more stage"; align-items: center; column-gap: 60px; }
  .hero-copy { grid-area: copy; }
  .hero-stage { grid-area: stage; }
  .hero-more { grid-area: more; }
  .scroll-hint { display: block; }
}

/* ---------------------------------------------------------------- bolhas */
.bubble-in, .bubble-out {
  padding: 13px 16px; border-radius: 20px; max-width: 86%; line-height: 1.45; word-wrap: break-word;
}
.bubble-in { background: rgba(255,255,255,0.09); border: 1px solid var(--line); border-bottom-left-radius: 6px; justify-self: start; }
.bubble-out { background: linear-gradient(135deg, var(--purple-deep), #6d28d9); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative; overflow: hidden; }
.avatar::after { content: ""; position: absolute; inset: 22% 22% auto auto; width: 45%; height: 45%; border-radius: 50%; background: rgba(255,255,255,0.55); mix-blend-mode: overlay; }
.av-0 { background: conic-gradient(from 40deg, var(--cyan), var(--purple), var(--cyan)); }
.av-1 { background: conic-gradient(from 120deg, var(--pink), #ffb86b, var(--pink)); }
.av-2 { background: conic-gradient(from 200deg, var(--green), var(--cyan), var(--green)); }
.av-3 { background: conic-gradient(from 300deg, var(--purple), var(--pink), var(--purple)); }
.av-4 { background: conic-gradient(from 10deg, #ffd166, var(--pink), #ffd166); }

/* ---------------------------------------------------------------- conversas */
.big-quote.reveal { max-width: 22ch; }
.float-cards { display: grid; gap: 14px; margin-top: 22px; }
.fcard {
  --c: var(--cyan);
  position: relative; text-align: left; width: 100%;
  border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 22px 20px;
  background: linear-gradient(150deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.5s var(--ease);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.2s);
}
.fcard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--c), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.55; pointer-events: none; transition: opacity 0.3s; }
.fcard:hover::before, .fcard.is-open::before { opacity: 1; }
.fcard.is-open { box-shadow: 0 24px 70px -30px var(--c); animation-play-state: paused; }
.fcard { cursor: pointer; }
.fcard-top { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: 12px; }
.fcard-num { font-family: var(--display); font-size: 0.8rem; font-weight: 700; color: var(--c); letter-spacing: 0.12em; padding-top: 6px; }
.fcard-frase { font-family: var(--display); font-size: clamp(1.25rem, 4.6vw, 1.55rem); font-weight: 700; line-height: 1.2; flex: 1; }
.fcard-plus { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; color: var(--c); transition: transform 0.4s var(--ease); margin-top: 2px; }
.fcard.is-open .fcard-plus { transform: rotate(45deg); }
.fcard-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.fcard.is-open .fcard-detail { grid-template-rows: 1fr; }
.fcard-detail > div { overflow: hidden; }
.fcard-detail p { color: var(--muted); margin: 14px 0 0; font-size: 1rem; }
.fcard-detail .ex { color: var(--text); border-left: 3px solid var(--c); padding-left: 12px; }
.fcard-detail .ex b { color: var(--c); display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2px; }
.fc-cyan { --c: var(--cyan); } .fc-purple { --c: var(--purple-text); } .fc-pink { --c: var(--pink-text); } .fc-green { --c: var(--green); }
@keyframes bob { 50% { translate: 0 -6px; } }
@media (min-width: 760px) {
  .float-cards { grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: start; }
  .fcard { grid-column: span 2; }
  .fcard:nth-child(4) { grid-column: 2 / span 2; }
  .fcard:nth-child(2) { margin-top: 40px; }
  .fcard:nth-child(5) { margin-top: 30px; }
}

/* ---------------------------------------------------------------- componentes */
.comp-list { position: relative; display: grid; gap: 26px; padding-left: 0; }
.comp-line { display: none; }
.comp-card {
  --c: var(--cyan);
  position: relative; border-radius: 28px; padding: 26px 22px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%),
    linear-gradient(170deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.comp-card:hover { box-shadow: 0 30px 90px -40px var(--c); }
.c-obs { --c: var(--cyan); } .c-sent { --c: var(--purple-text); } .c-nec { --c: var(--pink-text); } .c-ped { --c: var(--green); }
.comp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.comp-num { font-family: var(--display); font-size: 3.2rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c); }
.comp-name { font-family: var(--display); font-weight: 600; color: var(--c); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9rem; }
.comp-title { font-size: clamp(1.6rem, 6.4vw, 2.5rem); font-weight: 700; margin-bottom: 18px; }
.comp-card > p { color: var(--muted); max-width: 56ch; }
.swap { display: grid; gap: 10px; margin: 22px 0; }
.swap p { margin: 0; padding: 14px 16px; border-radius: var(--radius-s); font-weight: 500; }
.swap-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.swap-a { background: rgba(255, 255, 255, 0.04); color: #d6d6e0; text-decoration: line-through; text-decoration-color: rgba(255,79,163,0.7); text-decoration-thickness: 2px; }
.swap-a .swap-label { text-decoration: none; display: block; }
.swap-b { background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.swap-b .swap-label { color: var(--c); }
.need-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.need-cloud span { padding: 7px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); font-size: 0.9rem; animation: bob 5s ease-in-out infinite; }
.need-cloud span:nth-child(2n) { animation-delay: -1.5s; } .need-cloud span:nth-child(3n) { animation-delay: -3s; }
@media (min-width: 900px) {
  .comp-list { padding-left: 64px; gap: 34px; }
  .comp-line { display: block; position: absolute; left: 22px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; background: linear-gradient(var(--cyan), var(--purple-text), var(--pink-text), var(--green)); box-shadow: 0 0 18px rgba(139, 92, 246, 0.7); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .comp-card::before { content: ""; position: absolute; left: -51px; top: 40px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px var(--c); }
  .comp-card { overflow: visible; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
  .comp-card > * { grid-column: 1; }
  .comp-card > .play { grid-column: 2; grid-row: 1 / span 8; align-self: start; }
}

/* ---------------------------------------------------------------- quiz (componentes, desafios, missões) */
.play { margin-top: 10px; padding: 20px; border-radius: 20px; background: rgba(9, 9, 15, 0.6); border: 1px solid var(--line); }
.play-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c, var(--green)); margin-bottom: 10px; }
.play-label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.quiz-sit { color: var(--muted); font-size: 0.98rem; margin-bottom: 8px; }
.quiz-q { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin-bottom: 14px; }
.opts { display: grid; gap: 10px; }
.opt {
  position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  min-height: 52px; padding: 14px 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line-2); background: rgba(255,255,255,0.035);
  font-size: 1rem; line-height: 1.4; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.opt:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.opt-letter { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 0.85rem; background: var(--surface-2); border: 1px solid var(--line-2); }
.opt-text { flex: 1; padding-top: 2px; }
.opt-mark { flex: none; width: 24px; height: 24px; display: none; place-items: center; border-radius: 50%; font-weight: 800; font-size: 0.85rem; margin-top: 2px; }
.opt.is-right { border-color: var(--green); background: rgba(184, 255, 101, 0.1); }
.opt.is-right .opt-mark { display: grid; background: var(--green); color: #0b0b12; }
.opt.is-right .opt-letter { background: var(--green); color: #0b0b12; border-color: var(--green); }
.opt.is-wrong { border-color: var(--pink); background: rgba(255, 79, 163, 0.08); }
.opt.is-wrong .opt-mark { display: grid; background: var(--pink); color: #0b0b12; }
.opt.is-picked { border-color: var(--purple-text); background: rgba(139, 92, 246, 0.14); }
.opt.is-picked .opt-mark { display: grid; background: var(--purple-text); color: #0b0b12; }
.opt[aria-disabled="true"] { pointer-events: none; }
.opts.locked .opt:not(.is-right):not(.is-picked) { opacity: 0.55; }
.shake { animation: shake 0.45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.fb { margin-top: 14px; min-height: 1px; }
.fb-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); animation: pop 0.45s var(--ease); font-size: 0.98rem; }
.fb-box p { margin: 0; }
.fb-box .fb-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #0b0b12; }
.fb-ok { background: rgba(184, 255, 101, 0.1); border: 1px solid rgba(184, 255, 101, 0.45); }
.fb-ok .fb-ic { background: var(--green); }
.fb-no { background: rgba(255, 79, 163, 0.08); border: 1px solid rgba(255, 79, 163, 0.45); }
.fb-no .fb-ic { background: var(--pink); }
.fb-info { background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(183, 156, 255, 0.45); }
.fb-info .fb-ic { background: var(--purple-text); }
.fb-title { font-weight: 700; display: block; margin-bottom: 2px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.retry { margin-top: 10px; }
.quiz-conc { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-s); background: rgba(139, 92, 246, 0.1); border: 1px dashed rgba(183, 156, 255, 0.5); font-size: 0.98rem; animation: pop 0.5s var(--ease); }

/* emoções */
.emo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emo {
  display: grid; justify-items: center; gap: 6px; padding: 12px 6px; min-height: 92px; border-radius: 16px;
  border: 1.5px solid var(--line-2); background: rgba(255,255,255,0.03); font-size: 0.86rem; font-weight: 600;
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.emo:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }
.emo[aria-pressed="true"] { border-color: var(--purple-text); background: rgba(139, 92, 246, 0.16); }
.emo svg { width: 44px; height: 44px; }
.emo .face { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.emo .glow { fill: var(--purple); opacity: 0.25; }
.emo:hover svg, .emo[aria-pressed="true"] svg { animation: wiggle 0.8s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.1); } 60% { transform: rotate(6deg) scale(1.05); } }
.emo-ic-raiva { color: #ff8a8a; } .emo-ic-tristeza { color: #7cc7ff; } .emo-ic-frustracao { color: var(--pink-text); }
.emo-ic-ansiedade { color: #ffd166; } .emo-ic-alivio { color: var(--green); } .emo-ic-indiferenca { color: #c9c9d6; }

/* nota pedagógica */
.note { margin-top: 40px; padding: 26px 24px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(140deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.06)); max-width: 820px; }
.note-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--green); }
.note-inline { margin-top: 26px; color: var(--muted); max-width: 64ch; padding-left: 16px; border-left: 3px solid var(--green); }

/* ---------------------------------------------------------------- transformar */
.morph { margin-top: 24px; border-radius: 30px; padding: 22px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); }
.morph-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.morph-tab { min-width: 48px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-family: var(--display); }
.morph-tab[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.morph-stage { position: relative; min-height: 220px; display: grid; align-items: center; padding: 10px 0 20px; }
.morph-antes, .morph-depois { grid-area: 1 / 1; font-family: var(--display); font-weight: 700; line-height: 1.22; transition: opacity 0.5s var(--ease), filter 0.5s, transform 0.5s var(--ease); }
.morph-antes { font-size: clamp(1.9rem, 8vw, 3.8rem); color: #fff; }
.morph-antes .bad { background: linear-gradient(transparent 62%, rgba(255, 79, 163, 0.45) 62%); }
.morph-depois { font-size: clamp(1.25rem, 4.8vw, 2.1rem); }
.morph-depois .seg { opacity: 0.12; filter: blur(3px); transition: opacity 0.45s var(--ease), filter 0.45s, color 0.45s; color: var(--text); }
.morph-depois .seg.on { opacity: 1; filter: none; }
.seg-obs.on { color: var(--c-obs); } .seg-sent.on { color: var(--c-sent); } .seg-nec.on { color: var(--c-nec); } .seg-ped.on { color: var(--c-ped); }
.morph-controls { display: grid; gap: 14px; }
.range-wrap { position: relative; }
.morph-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: grab; }
.morph-range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--pink) 0%, var(--cyan) 25%, var(--purple-text) 50%, var(--pink-text) 75%, var(--green) 100%); opacity: 0.85; }
.morph-range::-moz-range-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--pink) 0%, var(--cyan) 25%, var(--purple-text) 50%, var(--pink-text) 75%, var(--green) 100%); }
.morph-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255,255,255,0.18), 0 6px 20px rgba(0,0,0,0.5); }
.morph-range::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255,255,255,0.18); }
.morph-range:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.morph-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.morph-legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.morph-legend li { display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 0.94rem; color: var(--muted); padding: 8px 0; border-top: 1px solid var(--line); opacity: 0.35; transition: opacity 0.4s; }
.morph-legend li.on { opacity: 1; }
.morph-legend b { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.morph-legend .l-obs b { color: var(--c-obs); } .morph-legend .l-sent b { color: var(--c-sent); } .morph-legend .l-nec b { color: var(--c-nec); } .morph-legend .l-ped b { color: var(--c-ped); }
@media (min-width: 900px) { .morph { padding: 40px; } .morph-stage { min-height: 260px; } }

/* ---------------------------------------------------------------- teasers */
.teaser-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }
.teaser .btn { margin-top: 18px; }
.mini-progress { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.mini-progress.center { justify-content: center; }
.mp-bar { flex: 0 1 220px; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.mp-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--purple-text), var(--pink-text), var(--green)); transition: width 0.8s var(--ease); }
.steps-orbit { position: relative; width: min(340px, 82vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.so { position: absolute; width: 58px; height: 58px; margin: -29px; border-radius: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: var(--bg-2); border: 1px solid var(--line-2); animation: spin 40s linear infinite reverse; }
.so-1 { left: 50%; top: 0; color: var(--c-obs); } .so-2 { left: 97.5%; top: 34.5%; color: var(--c-sent); } .so-3 { left: 79.4%; top: 90.5%; color: var(--c-nec); }
.so-4 { left: 20.6%; top: 90.5%; color: var(--c-ped); } .so-5 { left: 2.5%; top: 34.5%; color: #fff; }
.so-core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; background: radial-gradient(circle at 35% 30%, rgba(184,255,101,0.5), rgba(139,92,246,0.4) 50%, transparent 72%); box-shadow: 0 0 80px rgba(139, 92, 246, 0.55); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-chat { display: grid; gap: 12px; padding: 22px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(34, 211, 238, 0.1), rgba(255,255,255,0.02)); max-width: 420px; margin-inline: auto; }
.mc-msg { padding: 12px 16px; border-radius: 18px; max-width: 86%; font-size: 0.98rem; }
.mc-in { background: rgba(255,255,255,0.09); border-bottom-left-radius: 6px; }
.mc-out { justify-self: end; background: linear-gradient(135deg, var(--purple-deep), #6d28d9); border-bottom-right-radius: 6px; }
.mc-typing, .typing { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.09); width: max-content; border-bottom-left-radius: 6px; }
.mc-typing span, .typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.mc-typing span:nth-child(2), .typing span:nth-child(2) { animation-delay: 0.15s; }
.mc-typing span:nth-child(3), .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { transform: translateY(-5px); background: var(--text); } 60% { transform: none; } }

.lock-orb { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-size: 2.8rem; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.18), rgba(139, 92, 246, 0.25) 50%, transparent 72%); border: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(139, 92, 246, 0.35); animation: floaty 6s ease-in-out infinite; }
.lock-orb.big { width: 150px; height: 150px; font-size: 3.4rem; }
.lock-orb.is-open { box-shadow: 0 0 80px rgba(184, 255, 101, 0.45); border-color: rgba(184, 255, 101, 0.5); }
.teaser-conquista .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- desafios */
.flash { margin-top: 20px; border-radius: 30px; padding: 22px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255, 79, 163, 0.09), rgba(255,255,255,0.015)); }
.flash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.flash-dots { display: flex; gap: 8px; }
.flash-dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.flash-dot[aria-current="step"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.flash-dot.done { border-color: var(--green); color: var(--green); }
.flash-dot.done[aria-current="step"] { background: var(--green); color: #0b0b12; }
.flash-count { font-size: 0.86rem; color: var(--muted); }
.flash-card { animation: cardIn 0.5s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateX(26px); } }
.flash-tipo { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-text); margin-bottom: 10px; }
.flash-ctx { color: var(--muted); margin-bottom: 6px; }
.flash-frase { font-family: var(--display); font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 700; line-height: 1.1; margin: 4px 0 18px; }
.flash-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
@media (min-width: 900px) { .flash { padding: 40px; } }

/* ---------------------------------------------------------------- carta */
.carta { overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, rgba(124, 58, 237, 0.35), transparent 70%), linear-gradient(180deg, #120c22, #0b0914 70%, var(--bg)); }
.particles-soft { opacity: 0.8; }
.carta-wrap { display: grid; justify-items: center; text-align: center; z-index: 1; }
.carta-intro { font-family: var(--display); font-size: clamp(1.6rem, 6.4vw, 2.8rem); font-weight: 600; line-height: 1.2; max-width: 22ch; margin-bottom: 46px; }
.envelope-zone { display: grid; justify-items: center; gap: 34px; }
.envelope { position: relative; width: min(340px, 84vw); aspect-ratio: 1.55; perspective: 1000px; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.55)); }
.env-back, .env-front, .env-flap, .env-letter { position: absolute; left: 0; right: 0; }
.env-back { inset: 0; border-radius: 14px; background: linear-gradient(160deg, #3b2477, #23164a); }
.env-letter { left: 7%; right: 7%; top: 8%; height: 84%; border-radius: 10px; background: linear-gradient(#fbf8ff, #ece6fb); padding: 16% 12% 0; display: grid; gap: 9px; align-content: start; transition: transform 0.9s var(--ease) 0.35s; }
.env-letter span { height: 6px; border-radius: 6px; background: #d4c8f2; }
.env-letter span:nth-child(2) { width: 80%; } .env-letter span:nth-child(3) { width: 60%; }
.env-front { inset: 0; border-radius: 14px; background: linear-gradient(160deg, #5b37b7, #3f2591); clip-path: polygon(0 32%, 50% 66%, 100% 32%, 100% 100%, 0 100%); display: flex; align-items: flex-end; justify-content: center; padding: 0 10% 9%; }
.env-front p { margin: 0; font-family: var(--display); font-size: clamp(0.82rem, 3.4vw, 1rem); font-weight: 600; color: #f1eaff; line-height: 1.3; }
.env-flap { top: 0; height: 64%; background: linear-gradient(180deg, #6d45d1, #4a2ca3); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 14px 14px 0 0; transform-origin: top; transition: transform 0.8s var(--ease); z-index: 3; }
.env-seal { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: radial-gradient(circle at 35% 30%, #c4a8ff, #7c3aed); box-shadow: 0 0 0 4px rgba(255,255,255,0.12), 0 0 34px rgba(183, 156, 255, 0.9); transition: opacity 0.4s, transform 0.4s; }
.envelope.is-open .env-flap { transform: rotateX(180deg); z-index: 0; }
.envelope.is-open .env-seal { opacity: 0; transform: scale(0.4); }
.envelope.is-open .env-letter { transform: translateY(-46%); }
.letter {
  width: min(720px, 100%); margin-top: 10px; text-align: left; border-radius: 26px; padding: 34px 24px;
  background: linear-gradient(170deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid rgba(183, 156, 255, 0.35); box-shadow: 0 40px 120px -40px rgba(124, 58, 237, 0.7);
  animation: letterUp 1s var(--ease);
}
@keyframes letterUp { from { opacity: 0; transform: translateY(60px) scale(0.96); } }
.letter-title { font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 700; margin-bottom: 26px; min-height: 1.1em; }
.letter-title .caret { display: inline-block; width: 3px; height: 0.95em; background: var(--purple-text); margin-left: 4px; vertical-align: -0.1em; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.letter-body p { color: #dcdce6; font-size: 1.06rem; line-height: 1.7; margin-bottom: 0.85em; }
.letter-body p.b { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.24rem; line-height: 1.4; padding-left: 16px; border-left: 3px solid var(--purple-text); margin: 1.2em 0; }
.js .letter-body p, .js .letter-close, .js .letter-sign { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .letter.shown .letter-body p, .js .letter.shown .letter-close, .js .letter.shown .letter-sign { opacity: 1; transform: none; }
.letter-close { margin-top: 30px; color: var(--muted); }
.letter-sign { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.heart-inline { display: inline-block; width: 0.9em; height: 0.82em; vertical-align: -0.05em; margin-left: 0.25em; fill: var(--purple-text); filter: drop-shadow(0 0 8px rgba(183, 156, 255, 0.8)); }
.after-letter { display: grid; justify-items: center; gap: 22px; margin-top: 56px; max-width: 640px; }
.heart-glow svg { width: 74px; height: 68px; fill: none; stroke: var(--purple-text); stroke-width: 2.4; filter: drop-shadow(0 0 16px rgba(183, 156, 255, 0.9)); animation: beat 1.8s ease-in-out infinite; }
.heart-glow path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; fill: rgba(139, 92, 246, 0.35); } }
@keyframes beat { 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } 60% { transform: scale(1); } }
.after-phrase { font-family: var(--display); font-size: clamp(1.25rem, 4.8vw, 1.7rem); font-weight: 600; line-height: 1.3; }
.signers { display: grid; gap: 8px; justify-items: center; padding: 20px 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.signers .lbl { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.signers ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.signers li { padding: 6px 14px; border-radius: 999px; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(183, 156, 255, 0.35); font-weight: 600; font-size: 0.95rem; }
.signers .inst { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
@media (min-width: 760px) { .letter { padding: 56px 60px; } }

/* ---------------------------------------------------------------- final */
.final-lines { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 2.2rem); font-weight: 600; line-height: 1.3; max-width: 30ch; }
.final-lines p { margin-bottom: 0.3em; }
.final-lines p:nth-child(5) { margin-top: 1em; }
.hl-obs { color: var(--c-obs); } .hl-sent { color: var(--c-sent); } .hl-nec { color: var(--c-nec); } .hl-ped { color: var(--c-ped); }
.closing { font-size: 1.15rem; color: var(--muted); max-width: 48ch; margin: 10px 0 30px; }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; z-index: 1; padding: 60px 0 calc(40px + var(--safe-b)); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.94rem; }
.footer-brand { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--text); letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-brand b { color: var(--green); }
.footer .wrap > p { max-width: 70ch; }
.footer-id { margin: 24px 0; display: grid; gap: 14px; }
.footer-id div { display: grid; gap: 2px; }
.footer-id dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--text); }
.footer-id dd { margin: 0; }
.footer-privacy { font-size: 0.86rem; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .footer-id { grid-template-columns: auto auto; justify-content: start; gap: 40px; } }

/* ---------------------------------------------------------------- app views */
.app-shell { min-height: 100svh; padding: calc(var(--header-h) + 34px) 0 70px; }
.h1-app { font-size: clamp(2.6rem, 12vw, 5rem); font-weight: 700; margin-bottom: 18px; letter-spacing: -0.035em; }
.screen { animation: viewIn 0.5s var(--ease); }
.screen > p:not(.lead):not(.big-quote):not(.fine):not(.kicker) { color: var(--muted); font-size: 1.08rem; }

/* missões */
.m-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.m-progress { flex: 1; height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.m-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--purple-text), var(--pink-text), var(--green)); transition: width 0.8s var(--ease); box-shadow: 0 0 16px rgba(184, 255, 101, 0.6); }
.m-count { font-size: 0.86rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.m-steps { display: flex; gap: 8px; margin-bottom: 26px; list-style: none; padding: 0; }
.m-steps li { flex: 1; }
.m-steps button { width: 100%; min-height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; font-family: var(--display); font-weight: 700; font-size: 0.82rem; color: var(--muted); }
.m-steps button[disabled] { cursor: not-allowed; opacity: 0.45; }
.m-steps button.done { color: #0b0b12; background: var(--green); border-color: var(--green); }
.m-steps button[aria-current="step"] { color: var(--text); border-color: var(--text); box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
.m-steps button.done[aria-current="step"] { color: #0b0b12; }
.m-card { --c: var(--cyan); position: relative; border-radius: 28px; padding: 26px 20px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), linear-gradient(170deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); animation: cardIn 0.55s var(--ease); }
.m-card.c-escuta { --c: var(--green); }
.m-num { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--c); font-weight: 700; text-transform: uppercase; }
.m-title { font-size: clamp(1.8rem, 7.4vw, 2.8rem); font-weight: 700; margin: 8px 0 14px; }
.m-destaque { font-family: var(--display); font-weight: 700; color: var(--green); font-size: 1.2rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.m-sit { font-size: 1.12rem; padding: 16px 18px; border-radius: var(--radius-s); background: rgba(9,9,15,0.55); border: 1px solid var(--line); margin-bottom: 18px; }
.m-sit b { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.m-q { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin-bottom: 14px; }
.m-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.m-nav .btn { flex: 1 1 160px; }
@media (min-width: 700px) { .m-card { padding: 40px; } .m-nav .btn { flex: 0 0 auto; } }

/* construção */
.build-grid { display: grid; gap: 16px; margin-top: 20px; }
.field { --c: var(--cyan); display: grid; gap: 6px; padding: 16px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: rgba(255,255,255,0.03); }
.field label { font-family: var(--display); font-weight: 700; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.field label i { font-style: normal; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); border: 1px solid var(--c); border-radius: 999px; padding: 2px 8px; }
.field .dica { font-size: 0.88rem; color: var(--muted); margin: 0; }
.field input, .build-text {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: rgba(9, 9, 15, 0.7); font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .build-text:focus { border-color: var(--c, var(--purple-text)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--purple)) 22%, transparent); outline: none; }
.f-obs { --c: var(--c-obs); } .f-sent { --c: var(--c-sent); } .f-nec { --c: var(--c-nec); } .f-ped { --c: var(--c-ped); }
.build-preview { margin-top: 24px; padding: 22px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(150deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06)); }
.build-preview .lbl { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.build-msg { font-family: var(--display); font-size: clamp(1.15rem, 4.4vw, 1.5rem); font-weight: 600; line-height: 1.4; }
.build-msg .ph { color: var(--muted); opacity: 0.6; font-style: italic; font-weight: 400; }
.build-msg .v-obs { color: var(--c-obs); } .build-msg .v-sent { color: var(--c-sent); } .build-msg .v-nec { color: var(--c-nec); } .build-msg .v-ped { color: var(--c-ped); }
.build-edit { margin-top: 18px; display: grid; gap: 8px; }
.build-edit label { font-weight: 600; font-size: 0.95rem; }
.build-text { min-height: 130px; resize: vertical; line-height: 1.5; }
.build-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.build-actions .btn { flex: 1 1 180px; }
@media (min-width: 760px) { .build-grid { grid-template-columns: 1fr 1fr; } .build-actions .btn { flex: 0 0 auto; } }

/* chat lab */
.scen-grid { display: grid; gap: 14px; margin-top: 22px; }
.scen-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s; }
.scen-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 20px 60px -30px var(--cyan); }
.scen-card .avatar { width: 48px; height: 48px; }
.scen-num { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
.scen-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; display: block; margin: 2px 0 4px; }
.scen-ctx { font-size: 0.9rem; color: var(--muted); display: block; line-height: 1.4; }
.scen-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 999px; background: var(--green); color: #0b0b12; white-space: nowrap; }
.scen-arrow { width: 22px; height: 22px; color: var(--cyan); }
@media (min-width: 760px) { .scen-grid { grid-template-columns: 1fr 1fr; } }

.screen-chat { margin-inline: -16px; }
@media (min-width: 792px) { .screen-chat { margin-inline: 0; } }
.chat-app { display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h) - 34px); border-radius: 0; background: linear-gradient(180deg, rgba(15, 15, 25, 0.95), rgba(9, 9, 15, 0.98)); border-block: 1px solid var(--line); }
@media (min-width: 792px) { .chat-app { border-radius: 30px; border: 1px solid var(--line-2); min-height: min(820px, calc(100svh - var(--header-h) - 70px)); box-shadow: 0 40px 120px -50px rgba(34, 211, 238, 0.5); overflow: hidden; } }
.chat-head { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(15, 15, 25, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chat-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.chat-who b { display: block; font-size: 0.98rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-who small { display: block; font-size: 0.76rem; color: var(--muted); }
.sim-tag { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.5); padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }
.chat-tools { display: flex; gap: 6px; }
.chat-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.chat-steps { display: flex; gap: 5px; align-items: center; }
.chat-steps i { width: 22px; height: 6px; border-radius: 6px; background: var(--surface-2); }
.chat-steps i.on { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.climate { display: flex; align-items: center; gap: 8px; }
.climate-bar { position: relative; width: 84px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pink), #ffd166, var(--green)); opacity: 0.85; }
.climate-bar i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(9,9,15,0.9); left: var(--x, 50%); transition: left 0.6s var(--ease); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 10px; }
.chat-ctx { align-self: center; text-align: center; font-size: 0.88rem; color: var(--muted); max-width: 46ch; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px dashed var(--line-2); margin-bottom: 8px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 20px; line-height: 1.45; font-size: 1rem; animation: msgIn 0.4s var(--ease); word-wrap: break-word; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.msg-in { align-self: flex-start; background: rgba(255,255,255,0.09); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-out { align-self: flex-end; background: linear-gradient(135deg, var(--purple-deep), #6d28d9); color: #fff; border-bottom-right-radius: 6px; }
.msg-name { display: block; font-size: 0.74rem; font-weight: 700; color: var(--cyan); margin-bottom: 2px; letter-spacing: 0.03em; }
.msg-action { align-self: center; font-size: 0.86rem; font-style: italic; color: var(--muted); padding: 4px 12px; background: none; border: 0; max-width: 90%; text-align: center; }
.msg-out.msg-action { align-self: flex-end; text-align: right; }
.msg-react { position: relative; }
.msg-react::after { content: attr(data-react); position: absolute; right: -6px; bottom: -12px; font-size: 0.95rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 5px; line-height: 1.5; animation: pop 0.4s var(--ease) 0.2s both; }
.typing { align-self: flex-start; animation: msgIn 0.3s var(--ease); }
.chat-fb { --c: var(--purple-text); align-self: stretch; margin: 6px 0 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 0.95rem; animation: pop 0.45s var(--ease); }
.chat-fb p { margin: 0; color: #dcdce6; }
.chat-fb-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.chat-fb-tag svg { width: 14px; height: 14px; }
.ef-abre { --c: var(--green); } .ef-limite { --c: var(--cyan); } .ef-neutro { --c: var(--purple-text); } .ef-tensiona { --c: #ffb86b; } .ef-fecha { --c: var(--pink-text); }
.chat-dock { position: sticky; bottom: 0; z-index: 4; padding: 12px 12px calc(12px + var(--safe-b)); background: linear-gradient(to top, rgba(9,9,15,1) 70%, rgba(9,9,15,0)); }
.chat-q { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin: 0 4px 10px; }
.choices { display: grid; gap: 8px; }
.choice { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; min-height: 52px; border-radius: 16px; border: 1.5px solid var(--line-2); background: rgba(255,255,255,0.045); font-size: 0.98rem; line-height: 1.4; transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease); animation: msgIn 0.35s var(--ease) both; }
.choice:nth-child(2) { animation-delay: 0.06s; } .choice:nth-child(3) { animation-delay: 0.12s; } .choice:nth-child(4) { animation-delay: 0.18s; }
.choice:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.07); transform: translateY(-1px); }
.choice small { font-size: 0.76rem; letter-spacing: 0.06em; color: var(--cyan); font-weight: 700; text-transform: uppercase; }
.choice.criar { border-style: dashed; border-color: rgba(184, 255, 101, 0.55); }
.choice.criar small { color: var(--green); }
.builder { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid rgba(184, 255, 101, 0.4); background: rgba(9,9,15,0.9); animation: pop 0.4s var(--ease); }
.builder-row { display: grid; gap: 6px; }
.builder-row label { font-size: 0.82rem; font-weight: 700; color: var(--c); }
.builder-row input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: rgba(255,255,255,0.04); font-size: 0.98rem; }
.builder-row input:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 34px; padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: transparent; color: var(--text); font-size: 0.84rem; }
.chip:hover { background: color-mix(in srgb, var(--c) 18%, transparent); }
.builder-preview { font-size: 0.95rem; padding: 10px 12px; border-radius: 12px; background: rgba(139, 92, 246, 0.14); }
.builder-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.builder-actions .btn { flex: 1 1 140px; }
.chat-end { padding: 6px 2px 10px; animation: pop 0.6s var(--ease); }
.chat-end-card { border-radius: 22px; padding: 22px 18px; background: radial-gradient(120% 80% at 50% 0%, rgba(34, 211, 238, 0.18), transparent 60%), rgba(255,255,255,0.04); border: 1px solid rgba(34, 211, 238, 0.4); }
.chat-end h2 { font-size: clamp(1.6rem, 6.6vw, 2.3rem); font-weight: 700; margin-bottom: 8px; }
.chat-end h3 { font-family: var(--display); font-size: 1.2rem; color: var(--cyan); margin: 14px 0 6px; }
.chat-end p { color: #dcdce6; }
.path { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.path li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9rem; color: var(--muted); }
.path li b { flex: none; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); }
.end-btns { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 600px) { .end-btns { grid-template-columns: 1fr 1fr 1fr; } .end-btns .btn { padding-inline: 14px; font-size: 0.86rem; } }

/* conquista */
.reward {
  position: relative; width: min(380px, 100%); margin: 30px auto; aspect-ratio: 4 / 5; border-radius: 30px; padding: 30px 24px;
  display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 30%, rgba(139, 92, 246, 0.45), transparent 70%), linear-gradient(170deg, #17122b, #0b0b14);
  border: 1px solid rgba(184, 255, 101, 0.35); box-shadow: 0 40px 120px -40px rgba(139, 92, 246, 0.9);
  transform-style: preserve-3d; transition: transform 0.4s var(--ease);
}
.reward::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(184, 255, 101, 0.18), transparent 30%, rgba(34, 211, 238, 0.18), transparent 60%); animation: spin 12s linear infinite; }
.reward > * { position: relative; }
.emblem { position: relative; width: 150px; height: 150px; margin-bottom: 16px; transform-style: preserve-3d; animation: emblem 8s ease-in-out infinite; }
@keyframes emblem { 50% { transform: rotateY(25deg) rotateX(10deg) translateY(-6px); } }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid; }
.r1 { border-color: rgba(34, 211, 238, 0.8); transform: rotateX(70deg); animation: spin 6s linear infinite; }
.r2 { border-color: rgba(255, 79, 163, 0.75); transform: rotateY(70deg); inset: 10px; }
.r3 { border-color: rgba(184, 255, 101, 0.8); inset: 22px; box-shadow: 0 0 24px rgba(184, 255, 101, 0.5); }
.emblem .core { position: absolute; inset: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #d9c8ff, #8b5cf6 55%, #3b1f8a); box-shadow: 0 0 50px rgba(139, 92, 246, 0.9); }
.emblem .core svg { width: 40px; height: 40px; fill: #fff; }
.reward-brand { font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: 0.02em; margin: 0; }
.reward-title { font-family: var(--display); font-weight: 600; color: var(--green); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.92rem; margin: 0; }
.reward-phrase { font-size: 1.05rem; margin: 10px 0 0; color: #e6e6ef; }
.reward-dots { display: flex; gap: 8px; margin-top: 14px; }
.reward-dots span { width: 10px; height: 10px; border-radius: 50%; }
.d-obs { background: var(--c-obs); } .d-sent { background: var(--c-sent); } .d-nec { background: var(--c-nec); } .d-ped { background: var(--c-ped); }
.conq-text { text-align: left; max-width: 58ch; margin: 0 auto; color: var(--muted); }
.conq-text .big-quote { color: var(--text); }
.btn-grid { display: grid; gap: 10px; max-width: 560px; margin: 24px auto 0; }
@media (min-width: 600px) { .btn-grid { grid-template-columns: 1fr 1fr; } }
#conquista-root .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- toast, dialog, confete */
.toast { position: fixed; left: 50%; bottom: calc(22px + var(--safe-b)); z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.95rem; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transition: opacity 0.3s, translate 0.3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }
.sheet { padding: 0; border: 0; background: transparent; color: var(--text); max-width: 560px; width: calc(100% - 24px); max-height: calc(100svh - 24px); }
.sheet::backdrop { background: rgba(5, 5, 10, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: pop 0.4s var(--ease); }
.sheet-inner { border-radius: 26px; padding: 22px; background: linear-gradient(170deg, #17142a, #0d0c16); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sheet-head h2 { font-size: 1.5rem; }
.sheet-text { color: var(--muted); }
.sheet-actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .sheet-actions { grid-template-columns: 1fr 1fr; } }
.sheet-preview { margin-top: 18px; text-align: center; }
.sheet-preview img { max-height: 48svh; width: auto; margin: 0 auto; border-radius: 14px; border: 1px solid var(--line-2); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding: 14px; background: var(--green); color: #0b0b12; text-align: center; font-weight: 600; z-index: 100; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 30px 20px; }
.notfound h1 { font-size: clamp(4rem, 22vw, 9rem); }

/* ---------------------------------------------------------------- telas largas */
@media (min-width: 900px) {
  .section { padding: 140px 0; }
  body { font-size: 1.08rem; }
}

/* ---------------------------------------------------------------- movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .kinetic .ch { opacity: 1; transform: none; filter: none; }
  .cursor-glow, .particles { display: none; }
  .hero-bubble .hb-text { transition: opacity 0.001ms; }
  .fcard, .stage-phone, .envelope, .lock-orb, .need-cloud span { animation: none !important; }
  .heart-glow path { stroke-dashoffset: 0; fill: rgba(139, 92, 246, 0.35); }
}

/* rodapé: conceito central */
.footer .wrap > p.footer-tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 4.4vw, 1.6rem); line-height: 1.3; color: var(--text); max-width: 34ch; margin: 0 0 26px; }
.footer-tagline .grad-text { display: inline; }
