/* Tali · landing page. Tokens: ver ../ROTEIRO_LP_TALI.md §4 (vêm do app, src/design/tokens.ts). */
:root {
  --purple-400: #8C5CF0;
  --purple-500: #6B35E8;
  --purple-700: #5B2FD0;
  --purple-900: #381080;
  --indigo-500: #5B5CE2;
  --night-900: #1E0E4A;
  --night-800: #2B1766;

  --yellow: #FFC94A;
  --coral: #FF5C7A;
  --mint: #63D7B0;
  --mint-ink: #1F8F68;
  --sky: #43B9E8;
  --tali-blue: #2F5BFF;
  --lia-pink: #E46FE0;

  --bg: #F5F6FC;
  --lilac-50: #F7F4FF;
  --lilac-100: #EFE9FF;
  --lilac-200: #D9CCFF;
  --card: #FFFFFF;
  --ink: #26243A;
  --muted: #686B85;

  --font: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;
  --shadow-soft: 0 14px 36px rgba(107, 53, 232, .14);
  --shadow-lifted: 0 24px 60px rgba(56, 16, 128, .18);
  --shadow-glow: 0 10px 22px rgba(107, 53, 232, .32);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: 24px;
  --section: 104px;
  /* céu: atualizado pelo main.js conforme a rolagem */
  --sky-top: #F3EFFF;
  --sky-bottom: #E9E1FF;
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-500); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple-400); outline-offset: 3px; border-radius: 8px; }

.sky {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Tipografia ---------- */
.display-xl, .display, .title, .heading { font-weight: 800; color: var(--purple-900); margin: 0; text-wrap: balance; }
.display-xl { font-size: 84px; line-height: 88px; letter-spacing: -0.02em; }
.display { font-size: 56px; line-height: 62px; letter-spacing: -0.015em; max-width: 920px; }
.title { font-size: 28px; line-height: 34px; }
.heading { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ink); }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); margin: 20px 0 0; max-width: 620px; text-wrap: pretty; }
.lead.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
/* .display zera a margem (vem depois de .center): reaplica o centro para títulos centralizados */
.display.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }
.caption { font-size: 13px; line-height: 18px; font-weight: 600; }
.fine { font-size: 13px; line-height: 18px; color: var(--muted); margin: 24px 0 0; }
p { margin: 0; }

@media (max-width: 1080px) {
  .display-xl { font-size: 64px; line-height: 68px; }
  .display { font-size: 44px; line-height: 50px; }
}
@media (max-width: 760px) {
  .display-xl { font-size: 44px; line-height: 48px; }
  .display { font-size: 34px; line-height: 40px; }
  .title { font-size: 24px; line-height: 30px; }
  .heading { font-size: 19px; line-height: 26px; }
  .lead { font-size: 17px; line-height: 26px; }
  body { font-size: 16px; line-height: 24px; }
}

/* palavra-assinatura com o sorriso amarelo */
.mark { color: var(--purple-500); position: relative; white-space: nowrap; display: inline-block; }
.mark svg { position: absolute; left: 4%; right: 4%; bottom: -0.16em; width: 92%; height: 0.24em; overflow: visible; }
.mark path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset .9s var(--ease-out) .35s; }
.is-in .mark path, .is-in.mark path, .mark.is-in path, .reveal.is-in .mark path { stroke-dashoffset: 0; }
.waitlist .mark { white-space: normal; }

/* ---------- Botões e pílulas ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: var(--r-pill); border: 0;
  font-weight: 700; font-size: 16px; line-height: 20px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--purple-400) 0%, var(--purple-500) 55%, var(--purple-700) 100%);
  box-shadow: var(--shadow-glow);
}
.btn--primary::after { content: "→"; font-weight: 800; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(107, 53, 232, .4); }
.btn:active { transform: scale(.97); }
.btn--secondary { background: #fff; color: var(--purple-900); border: 1px solid var(--lilac-200); }
.btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
@media (max-width: 760px) { .btn { height: 52px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--lilac-100); color: var(--purple-900);
  font-size: 14px; line-height: 18px; font-weight: 700;
}
.pill img { width: 20px; height: auto; border-radius: 3px; }
.pill--soon { background: #ECEDF3; color: var(--muted); font-size: 12px; padding: 4px 10px; }
.pill--hot { background: var(--yellow); color: #5A3B00; }

/* ---------- Lojas ---------- */
.stores { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #15122B; color: #fff; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21, 18, 43, .25); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 600; opacity: .8; }
.store b { font-size: 17px; font-weight: 700; }
.qr { display: flex; align-items: center; gap: 12px; margin-left: 8px; font-size: 13px; line-height: 17px; color: var(--muted); font-weight: 600; }
.qr svg { width: 72px; height: 72px; background: #fff; padding: 6px; border-radius: 12px; box-shadow: var(--shadow-soft); }
@media (max-width: 1080px) { .qr { display: none; } }

/* ---------- Navegação ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter); }
.nav__inner {
  max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(217, 204, 255, .7);
  transition: box-shadow .3s;
}
.nav.is-scrolled .nav__inner { box-shadow: var(--shadow-soft); }
.nav__logo img { width: 78px; height: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__links a:hover { color: var(--purple-500); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0 0; position: relative; }
.card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 204, 255, .55); }

/* S1 · Hero */
.hero { position: relative; padding: 48px 0 140px; overflow: hidden; }
/* chão suave do hero: um brilho lilás que some no céu, sem faixa dura */
.hero::after { content: ""; position: absolute; left: 50%; bottom: -160px; width: 140%; height: 320px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 65%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; }
.hero__copy .display-xl { margin-top: 20px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; color: var(--muted); }
.checks li::before { content: "✓"; color: var(--mint-ink); font-weight: 800; margin-right: 6px; }
.hero__art { position: relative; transform-style: preserve-3d; will-change: transform; }
.hero__island { width: 100%; filter: drop-shadow(0 30px 40px rgba(56, 16, 128, .18)); animation: bob 5s ease-in-out infinite; }
.sticker {
  position: absolute; z-index: 2;
  background: #fff; color: var(--ink);
  padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 18px; font-weight: 700;
  box-shadow: var(--shadow-soft); white-space: nowrap;
  animation: bob 4s ease-in-out infinite;
}
.sticker::after { content: ""; position: absolute; bottom: -7px; left: 22px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.sticker--a { left: 4%; top: 18%; animation-delay: -1s; }
.sticker--b { right: 0; top: 4%; animation-delay: -2.4s; }
.sticker--b::after { left: auto; right: 34px; }
.sticker--xp { right: 8%; bottom: 20%; background: var(--yellow); color: #5A3B00; animation-delay: -.6s; }
.sticker--xp::after { display: none; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .stores, .checks { justify-content: center; }
  .hero__art { max-width: 560px; margin: 8px auto 0; }
  .sticker { font-size: 12px; padding: 8px 11px; }
}

/* S2 · Prova: cartão de números que sobrepõe o fim do hero */
.proof { position: relative; z-index: 2; margin-top: -72px; }
.proof__bar {
  list-style: none; margin: 0; padding: 26px 12px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 204, 255, .8);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-lifted);
}
.proof__bar li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 16px; }
.proof__bar li + li { border-left: 1px solid var(--lilac-200); }
.proof__bar b { font-size: 34px; line-height: 38px; font-weight: 800; color: var(--purple-500); letter-spacing: -0.02em; }
.proof__bar li:nth-child(4) b { color: var(--coral); }
.proof__bar li:nth-child(5) b { color: var(--mint-ink); }
.proof__bar span { font-size: 14px; line-height: 19px; font-weight: 600; color: var(--muted); max-width: 150px; }
@media (max-width: 900px) {
  .proof { margin-top: -56px; }
  .proof__bar { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 22px 8px; }
  .proof__bar li + li { border-left: 0; }
  .proof__bar li:nth-child(even) { border-left: 1px solid var(--lilac-200); }
  .proof__bar li:last-child { grid-column: 1 / -1; }
  .proof__bar b { font-size: 28px; line-height: 32px; }
}

/* S3 · Problema */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.strike { padding: 32px; }
.strike__old { color: var(--muted); font-weight: 600; font-size: 16px; }
.strike__old s { text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 55% / 0 2px; transition: background-size .7s var(--ease-out) .4s; }
.strike.is-in .strike__old s { background-size: 100% 2px; }
.strike__new { margin-top: 14px; font-size: 19px; line-height: 27px; font-weight: 700; color: var(--purple-900); }
@media (max-width: 860px) { .problem__grid { grid-template-columns: 1fr; } }

/* S4 · Companheiros */
.buddies { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 32px; margin-top: 56px; }
.buddy {
  position: relative; text-align: center; padding: 32px 28px 32px;
  background: #fff; border-radius: var(--r-2xl); box-shadow: var(--shadow-soft);
  border: 2px solid transparent; transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.buddy--tali:hover, .buddy--tali.is-active { border-color: var(--tali-blue); }
.buddy--lia:hover, .buddy--lia.is-active { border-color: var(--lia-pink); }
.buddy:hover { transform: translateY(-6px); box-shadow: var(--shadow-lifted); }
.buddy__stage { position: relative; height: 260px; display: grid; place-items: center; }
.buddy__img { position: absolute; height: 250px; width: auto; transition: opacity .25s, transform .4s var(--ease-back); }
.buddy__img--hover { opacity: 0; transform: scale(.9); }
.buddy:hover .buddy__img--idle, .buddy.is-active .buddy__img--idle { opacity: 0; transform: scale(.9); }
.buddy:hover .buddy__img--hover, .buddy.is-active .buddy__img--hover { opacity: 1; transform: scale(1.04); }
.bubble {
  display: inline-block; margin: 8px 0 18px; padding: 12px 16px; border-radius: 18px;
  background: var(--lilac-50); color: var(--purple-900); font-weight: 700; font-size: 15px; line-height: 21px;
}
.buddy .muted { margin-top: 6px; }
@media (max-width: 760px) { .buddies { grid-template-columns: 1fr; } .buddy__stage { height: 210px; } .buddy__img { height: 200px; } }

.audio {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  height: 44px; padding: 0 18px 0 8px; border-radius: var(--r-pill);
  border: 1px solid var(--lilac-200); background: #fff; color: var(--purple-900); font-weight: 700; font-size: 14px;
  transition: background .2s, box-shadow .2s;
}
.audio:hover { box-shadow: var(--shadow-soft); }
.audio__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--sky); position: relative; }
.audio__icon::before { content: ""; position: absolute; left: 11px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.audio.is-playing .audio__icon { background: var(--purple-500); animation: pulse 1s ease-in-out infinite; }
.audio.is-playing .audio__icon::before { left: 10px; top: 9px; width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(107, 53, 232, .15); } }

/* S5 · Como funciona */
.how__grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; margin-top: 64px; align-items: start; }
.how__phone { position: sticky; top: 120px; }
.phone {
  width: 300px; aspect-ratio: 9 / 19.5; margin: 0 auto; padding: 12px;
  border-radius: 48px; background: #15122B;
  box-shadow: var(--shadow-lifted), inset 0 0 0 2px #2c2650;
  transform: rotate(-4deg);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); }
.phone__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .5s, transform .6s var(--ease-out); }
.phone__shot.is-active { opacity: 1; transform: none; }
.steps { list-style: none; margin: 0; padding: 40px 0 0; }
.step { position: relative; padding: 0 0 0 76px; min-height: 340px; opacity: .35; transition: opacity .4s; }
.step.is-active { opacity: 1; }
.step:last-child { min-height: 0; padding-bottom: 40px; }
.step__n {
  position: absolute; left: 0; top: -4px; width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 22px;
  background: #fff; color: var(--purple-500); box-shadow: var(--shadow-soft);
  transition: background .3s, color .3s;
}
.step.is-active .step__n { background: var(--purple-500); color: #fff; }
.step p { margin-top: 10px; font-size: 19px; line-height: 28px; color: var(--muted); max-width: 460px; }
.plant { position: relative; width: 150px; height: 150px; margin-top: 24px; }
.plant img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .5s var(--ease-back); }
.plant img.is-active { opacity: 1; transform: none; }
.step__shot { display: none; }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .how__phone { display: none; }
  .steps { padding-top: 0; display: flex; flex-direction: column; gap: 16px; }
  .step { min-height: 0; padding: 20px 20px 20px 84px; opacity: 1; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-soft); overflow: hidden; }
  .step__n { left: 18px; top: 18px; }
  .step p { font-size: 16px; line-height: 24px; }
  /* No celular, cada passo mostra a própria tela (sem celular fixo cobrindo o texto) */
  .step__shot { display: block; width: 100%; max-width: 230px; margin: 18px auto -60px; border-radius: 24px 24px 0 0; border: 6px solid #15122B; border-bottom: 0; box-shadow: var(--shadow-soft); aspect-ratio: 390 / 560; object-fit: cover; object-position: top; }
  .step:has(.step__shot) { padding-bottom: 60px; }
  .plant { margin: 16px auto 0; }
}

/* S6 · Casa */
.house__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.house__info { display: flex; gap: 18px; align-items: center; padding: 22px; margin-top: 32px; max-width: 480px; }
.house__info img { width: 72px; height: 72px; flex: none; transition: transform .4s var(--ease-back); }
.house__info.is-swapping img { transform: scale(.7) rotate(-8deg); }
.house__info p { margin-top: 4px; color: var(--muted); }
.house__scene { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lifted); max-width: 520px; justify-self: end; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 3px solid #fff; background: var(--purple-500);
  box-shadow: 0 0 0 0 rgba(107, 53, 232, .5); animation: ping 2.2s ease-out infinite;
}
.hotspot::after { content: "+"; color: #fff; font-weight: 800; font-size: 22px; line-height: 38px; }
.hotspot.is-active { background: var(--yellow); }
.hotspot.is-active::after { color: var(--purple-900); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); } 80%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
@media (max-width: 900px) {
  .house__grid { grid-template-columns: 1fr; gap: 32px; }
  .house__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .house__info { text-align: left; }
  .house__scene { justify-self: center; }
}

/* S7 · Mundos */
.worlds__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 56px max(var(--gutter), calc((100vw - 1152px) / 2)) 24px;
  margin-top: 0;
}
.worlds__track::-webkit-scrollbar { display: none; }
.world { scroll-snap-align: center; background: #fff; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.world > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 35%; }
.world__body { padding: 24px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.world__body p { color: var(--muted); }
.words { list-style: none; padding: 0; margin: 4px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.words li { background: var(--lilac-100); color: var(--purple-900); padding: 5px 12px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; font-style: italic; }
.world .audio { margin-top: auto; }
.world--soon > img { filter: saturate(.9); }

/* S8 · Fala */
.speak__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.speak__art { position: relative; max-width: 440px; justify-self: center; }
.speak__art img { animation: bob 4.6s ease-in-out infinite; }
.speak__bubble { position: absolute; top: 12%; right: 4%; width: 34%; text-align: center; font-weight: 800; font-size: clamp(12px, 1.4vw, 16px); line-height: 1.25; color: var(--purple-900); animation: bob 4.6s ease-in-out infinite; }
.exercise { padding: 26px 28px; margin-top: 32px; max-width: 520px; }
.exercise__phrase { margin-top: 6px; font-size: 24px; line-height: 32px; font-weight: 800; color: var(--purple-900); }
.wave { display: flex; align-items: center; gap: 5px; height: 48px; margin: 18px 0; }
.wave i { flex: 1; max-width: 10px; border-radius: 6px; background: linear-gradient(var(--purple-400), var(--sky)); height: 20%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.exercise__ok { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mint-ink); }
.exercise__ok::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800; }
.soon-note { margin-top: 28px; color: var(--muted); font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .speak__grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .speak__grid > div:last-child { display: flex; flex-direction: column; align-items: center; }
  .speak__art { max-width: 320px; order: 2; }
  .exercise { text-align: left; }
  .soon-note { justify-content: center; }
}

/* S9 · Hábito (bento) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.feature img { width: 96px; height: 96px; margin-bottom: 8px; transition: transform .4s var(--ease-back); }
.feature:hover img { transform: translateY(-6px) rotate(-6deg); }
.feature p { color: var(--muted); }
.feature--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.feature--wide img { width: 120px; height: 120px; margin: 0; }
.bento > :nth-child(1) { background: linear-gradient(135deg, #fff 40%, #EAFBF4); }
.bento > :nth-child(4) { background: linear-gradient(135deg, #fff 40%, var(--lilac-100)); grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .feature--wide, .bento > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) { .feature--wide { flex-direction: column; align-items: flex-start; } .feature--wide img { width: 96px; height: 96px; } }

/* S10 · Planos */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; align-items: stretch; }
.price { position: relative; background: #fff; border-radius: var(--r-2xl); padding: 34px 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; border: 1px solid rgba(217, 204, 255, .55); }
.price .pill--hot { position: absolute; top: -14px; left: 30px; }
.price__value { margin-top: 14px; font-size: 44px; line-height: 50px; font-weight: 800; color: var(--purple-900); letter-spacing: -0.02em; }
.price__value small { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price > .muted { margin-top: 4px; font-size: 15px; line-height: 21px; min-height: 42px; }
.list { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.list li.is-soon { flex-wrap: wrap; align-items: center; }
.list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; line-height: 22px; }
.list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #DFF7EE; color: var(--mint-ink); font-size: 12px; font-weight: 800; }
.list li.is-soon { color: var(--muted); }
.list li.is-soon::before { background: #ECEDF3; color: var(--muted); }
.price .btn { width: 100%; }
.price--featured { background: linear-gradient(180deg, #fff 0%, var(--lilac-50) 100%); border: 2px solid var(--purple-500); box-shadow: var(--shadow-lifted); transform: translateY(-12px); }
.price__crown { position: absolute; right: 18px; top: -58px; width: 104px; }
@media (max-width: 960px) {
  .prices { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 36px; }
  .price--featured { transform: none; order: -1; }
}

/* S11 · Lista de espera */
.waitlist__box { text-align: center; }
.waitlist__box .display { font-size: 44px; line-height: 52px; }
.flags { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.flags img { width: 56px; height: auto; border-radius: 10px; box-shadow: var(--shadow-soft); animation: bob 4s ease-in-out infinite; }
.flags img:nth-child(2) { animation-delay: -.8s; } .flags img:nth-child(3) { animation-delay: -1.6s; } .flags img:nth-child(4) { animation-delay: -2.4s; } .flags img:nth-child(5) { animation-delay: -3.2s; }
.waitlist__form {
  display: flex; gap: 8px; max-width: 620px; margin: 40px auto 0; padding: 8px;
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-soft); border: 1px solid var(--lilac-200);
}
.waitlist__form input, .waitlist__form select {
  font: inherit; font-weight: 600; color: var(--ink); border: 0; background: transparent; min-width: 0; height: 52px; padding: 0 16px; border-radius: var(--r-pill);
}
.waitlist__form input { flex: 1; }
.waitlist__form select { background: var(--lilac-100); color: var(--purple-900); padding-right: 12px; }
.waitlist__form input:focus-visible, .waitlist__form select:focus-visible { outline-offset: -3px; }
.waitlist__form.is-done { opacity: .6; pointer-events: none; }
[data-waitlist-msg].is-ok { color: var(--mint-ink); font-weight: 700; }
[data-waitlist-msg].is-error { color: #C2334F; font-weight: 700; }
@media (max-width: 640px) {
  .waitlist__box .display { font-size: 30px; line-height: 36px; }
  .waitlist__form { flex-direction: column; border-radius: var(--r-xl); }
  .waitlist__form .btn { width: 100%; }
  .flags img { width: 44px; }
}

/* S12 · FAQ */
.faq__list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }

/* Estrela cadente na cena da noite: sai do alto (à direita da lua), desce na diagonal e some atrás do
   telhado. O recorte (clip-path) segue a linha do telhado medida na imagem: topo em 70% × 10,7% e
   beiral esquerdo em 50,3% × 46,7%. A distância usa cqw, então acompanha o tamanho da imagem. */
.night__scene { container-type: inline-size; }
.shooting { position: absolute; inset: 0; pointer-events: none; clip-path: polygon(0 0, 70% 0, 70% 10.7%, 50.3% 46.7%, 0 46.7%); }
/* só passa quando a cena entra em foco na rolagem (o story.js põe .is-go) */
/* cada estrela tem posição (--x/--y), distância (--len), atraso (--d) e tamanho (--s) próprios */
.shooting i { position: absolute; left: var(--x, 22%); top: var(--y, 8%); width: 0; height: 0; transform: rotate(21.2deg) scale(var(--s, 1)); opacity: 0; }
.shooting.is-go i { animation: shooting-once 1.7s cubic-bezier(.45, 0, .8, .6) var(--d, .35s) both; }
.shooting i::before {
  content: ""; position: absolute; right: 0; top: -1.5px; width: clamp(90px, 11cqw, 170px); height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 244, 214, 0), rgba(255, 244, 214, .95));
  filter: drop-shadow(0 0 6px rgba(255, 226, 160, .8));
}
.shooting i::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: #FFFBEA; box-shadow: 0 0 10px 4px rgba(255, 232, 170, .85), 0 0 24px 8px rgba(255, 210, 140, .35);
}
@keyframes shooting-once {
  0% { opacity: 0; transform: rotate(21.2deg) translateX(0) scale(var(--s, 1)); }
  12% { opacity: 1; }
  80% { opacity: 1; }
  99% { opacity: var(--end, 1); transform: rotate(21.2deg) translateX(var(--len, 45cqw)) scale(var(--s, 1)); }
  100% { opacity: 0; transform: rotate(21.2deg) translateX(var(--len, 45cqw)) scale(var(--s, 1)); }
}
/* a estrela perto da lua não chega no telhado: vai se apagando no céu */
.shooting i:nth-child(2) { --end: 0; }
@media (prefers-reduced-motion: reduce) { .shooting { display: none; } }

/* Anoitecer dentro das Dúvidas: o céu escurece até o roxo da noite (a seção de baixo começa nessa
   mesma cor), as estrelas aparecem conforme escurece e uma lua crescente sobe no canto. */
.faq { isolation: isolate; padding-bottom: clamp(140px, 16vw, 220px); }
.nightfall {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(43, 23, 102, 0) 0%, rgba(43, 23, 102, .28) 30%, rgba(43, 23, 102, .78) 62%, var(--night-800) 88%, var(--night-800) 100%);
}
.nightfall::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 8% 52%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 18% 70%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 27% 44%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 36% 82%, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 46% 64%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 58% 90%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 66% 48%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 74% 76%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 84% 58%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 93% 86%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 4% 88%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 52% 78%, #fff 50%, transparent 51%);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 75%); mask-image: linear-gradient(180deg, transparent 30%, #000 75%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.nightfall::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 13% 60%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 31% 74%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 61% 70%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 79% 92%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 89% 66%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 41% 94%, #fff 50%, transparent 51%);
  -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 80%); mask-image: linear-gradient(180deg, transparent 40%, #000 80%);
  animation: twinkle 4.4s ease-in-out -1.6s infinite;
}
.nightfall__moon {
  position: absolute; right: 10%; top: 62%; width: 76px; height: 76px; border-radius: 50%;
  box-shadow: inset -16px 10px 0 0 #F6F1FF; filter: drop-shadow(0 0 18px rgba(242, 238, 255, .55));
}
@media (max-width: 760px) { .nightfall__moon { width: 54px; height: 54px; right: 6%; top: 74%; box-shadow: inset -11px 7px 0 0 #F6F1FF; } }
.faq details { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 204, 255, .55); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative; font-weight: 700; font-size: 18px; line-height: 26px; color: var(--purple-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--lilac-100); color: var(--purple-500); display: grid; place-items: center; font-size: 22px; font-weight: 700; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* S13 · Noite */
.night {
  position: relative; margin-top: 0; color: #fff;
  /* começa no mesmo roxo em que as Dúvidas terminam (sem emenda) */
  background: linear-gradient(180deg, var(--night-800) 0%, var(--night-900) 100%);
  padding-top: 120px; overflow: hidden;
}
.night__scene { max-width: 1400px; margin: 0 auto; position: relative; }
.night__scene img { width: 100%; border-radius: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%); }
.night__copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-30%); }
.night__copy > * { max-width: 520px; }
.night .display { color: #fff; }
.night .mark { color: #CDB8FF; }
.night .lead { color: #D9CCFF; }
.night .qr { color: #D9CCFF; }
.night .store { background: #fff; color: #15122B; }
@media (max-width: 900px) {
  .night { padding-top: 64px; }
  .night__copy { position: static; transform: none; text-align: center; padding-bottom: 72px; }
  .night__copy > * { margin-left: auto; margin-right: auto; }
  .night .stores { justify-content: center; }
}

/* S14 · Rodapé */
.footer { background: var(--night-900); color: #B9AEE0; padding: 40px 0 120px; font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(217, 204, 255, .15); padding-top: 32px; }
.footer__logo { width: 70px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 8px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: #E7E0FF; text-decoration: none; font-weight: 600; }
.footer__links a:hover { text-decoration: underline; }
.footer .fine { margin: 0; color: #8F84B8; }

/* aviso de privacidade (analytics anônimo) */
.privacy {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
  max-width: 380px; padding: 16px 18px; border-radius: var(--r-lg);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lifted); border: 1px solid var(--lilac-200);
  display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 20px;
}
.privacy div { display: flex; gap: 8px; }
.privacy button { height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--lilac-200); background: #fff; color: var(--purple-900); font-weight: 700; font-size: 14px; }
.privacy button[data-p="ok"] { background: var(--purple-500); border-color: var(--purple-500); color: #fff; }
@media (max-width: 760px) { .privacy { left: 12px; right: 12px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* barra fixa no mobile */
.dock { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: none; transform: translateY(140%); transition: transform .35s var(--ease-out); }
@media (max-width: 760px) { .dock { display: flex; } .dock.is-visible { transform: none; } }

/* =====================================================================
   Redesign "Um dia no bairro" (v2): a página é um dia, das 7h às 21h.
   Cenas em tela cheia (ChatGPT, assets/raw-v2), animadas pelo story.js (GSAP + ScrollTrigger).
   ===================================================================== */

/* a navegação flutua sobre a cena de abertura */
.nav { position: fixed; left: 0; right: 0; }

/* etiqueta de capítulo: o horário do dia acima de cada título */
.chapter-tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 14px; line-height: 18px; font-weight: 700; color: var(--purple-500);
  letter-spacing: .02em; text-transform: uppercase;
}
.chapter-tag.center { display: flex; justify-content: center; }
.chapter-tag b {
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--purple-500); color: #fff; font-size: 13px; letter-spacing: .04em;
}
.chapter-tag--light { color: #fff; text-shadow: 0 2px 12px rgba(30, 14, 74, .35); }
.chapter-tag--light b { background: rgba(255, 255, 255, .92); color: var(--purple-900); text-shadow: none; }

/* S1 · Abertura: cena em camadas que se anima sozinha (amanhecer → manhã) */
.hero.opening { padding: 0; overflow: visible; }
.hero.opening::after { display: none; }
.opening__stage { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate; }

/* céu: começa no amanhecer (roxo profundo) e clareia para a manhã em ~4 s */
.dawn { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #2B1766 0%, #6B35E8 38%, #F49AB8 72%, #FFD3B0 100%); }
.dawn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #5B3FD0 0%, #9C7CF2 34%, #E9B8F0 62%, #FFE1C6 100%); animation: morning 4.2s ease-out .3s both; }
@keyframes morning { from { opacity: 0; } to { opacity: 1; } }
.dawn__sun {
  position: absolute; z-index: 1; left: 50%; bottom: 26%; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #FFF8D6 0%, #FFE08A 45%, #FFB45C 100%);
  box-shadow: 0 0 0 26px rgba(255, 214, 140, .18), 0 0 120px 50px rgba(255, 196, 120, .45);
  animation: sunrise 3.6s cubic-bezier(.2, .8, .2, 1) .2s both;
}
@keyframes sunrise { from { transform: translateY(240px) scale(.85); } }
.dawn__rays {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 236, 190, .22) 0deg 6deg, rgba(255, 236, 190, 0) 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%); mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  animation: spin 80s linear infinite, fade-in 2s ease 1.6s both;
}
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes fade-in { from { opacity: 0; } }

/* pássaros: pequenos "v" atravessando o céu */
.birds { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.birds i { position: absolute; top: 24%; left: -40px; width: 18px; height: 8px; animation: fly 16s linear infinite; }
.birds i::before, .birds i::after { content: ""; position: absolute; top: 0; width: 10px; height: 2px; border-radius: 2px; background: rgba(43, 23, 102, .55); animation: flap .5s ease-in-out infinite alternate; }
.birds i::before { left: 0; transform-origin: right center; }
.birds i::after { right: 0; transform-origin: left center; animation-direction: alternate-reverse; }
.birds i:nth-child(2) { top: 30%; animation-delay: -4s; animation-duration: 19s; scale: .7; }
.birds i:nth-child(3) { top: 18%; animation-delay: -9s; animation-duration: 22s; scale: .85; }
.birds i:nth-child(4) { top: 34%; animation-delay: -13s; animation-duration: 18s; scale: .6; }
@keyframes fly { from { translate: 0 0; } 50% { translate: 55vw -30px; } to { translate: 112vw 10px; } }
@keyframes flap { from { rotate: 22deg; } to { rotate: -18deg; } }

/* texto no céu, centralizado como num pôster */
.opening__copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(104px, 15vh, 150px); }
.opening__copy .pill { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .35); }
.opening__copy .display-xl { margin-top: 18px; color: #fff; max-width: 900px; text-shadow: 0 6px 40px rgba(43, 23, 102, .45); }
.opening__copy .display-xl .mark { color: #FFE08A; }
.opening__copy .lead { color: rgba(255, 255, 255, .92); max-width: 600px; text-shadow: 0 2px 16px rgba(43, 23, 102, .4); }
.opening__copy .stores { justify-content: center; margin-top: 26px; }
.opening__copy .store { background: #fff; color: #15122B; }

/* camadas da cena (a da frente anda mais no mouse e na rolagem) */
.layer { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; will-change: transform; translate: calc(var(--mx, 0) * var(--k, 0) * 60px) calc(var(--my, 0) * var(--k, 0) * 24px); transition: translate .6s var(--ease-out); }
.layer--land img, .layer--fg img { display: block; max-width: none; width: max(100vw, 1100px); height: auto; margin-left: 50%; transform: translateX(-50%); }
.layer--land { z-index: 2; --k: .3; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%); mask-image: linear-gradient(180deg, transparent 0, #000 7%); }
.layer--land img { animation: rise-land 1.6s var(--ease-out) .1s both; }
@keyframes rise-land { from { opacity: 0; translate: 0 60px; } }
/* Personagens pisando no caminho de pedra: pés atrás das flores da frente, sombra de contato no chão,
   luz quente da cena e uma "respiração" com os pés parados (nada de flutuar). */
.layer--chars { z-index: 4; --k: .3; bottom: 3.5%; display: flex; justify-content: center; align-items: flex-end; gap: clamp(0px, 3vw, 44px); }
.hero-buddy { position: relative; display: block; }
.hero-buddy::before {
  content: ""; position: absolute; left: 50%; bottom: 2%; width: 78%; height: 9%; translate: -50% 40%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(46, 30, 90, .45), rgba(46, 30, 90, .18) 60%, transparent);
  animation: shadow-in .9s var(--ease-out) 1.3s both, shadow-breathe 3.2s ease-in-out 2.4s infinite;
}
.hero-buddy--lia::before { animation-delay: 1.55s, 2.9s; }
.hero-char {
  display: block; width: auto; height: clamp(205px, 37vh, 410px); transform-origin: 50% 100%;
  /* luz da cena: um pouco de calor do sol nascente e sombra suave do lado oposto */
  filter: saturate(.96) sepia(.06) drop-shadow(-6px 10px 10px rgba(46, 30, 90, .18)) drop-shadow(8px -4px 14px rgba(255, 214, 160, .35));
}
/* telas baixas: um pouco menores, para o balão não encostar nos botões das lojas */
@media (min-width: 761px) and (max-height: 700px) { .hero-char { height: clamp(190px, 31vh, 300px); } }
.hero-buddy--tali .hero-char { animation: jump-in .9s var(--ease-back) 1.3s both, breathe 3.2s ease-in-out 2.4s infinite; }
.hero-buddy--lia .hero-char { animation: jump-in .9s var(--ease-back) 1.55s both, breathe 3.2s ease-in-out 2.9s infinite; }
@keyframes jump-in { 0% { opacity: 0; transform: translateY(-38%) scale(.9); } 55% { opacity: 1; transform: translateY(0) scale(1.06, .9); } 75% { transform: translateY(0) scale(.97, 1.04); } 100% { transform: none; } }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes shadow-in { 0% { opacity: 0; scale: .4; } 55% { opacity: 1; scale: 1.1; } 100% { scale: 1; } }
@keyframes shadow-breathe { 50% { scale: 1.05 1; } }
.layer--fg { z-index: 5; --k: 1.1; bottom: -2%; }
.layer--fg img { width: max(108vw, 1100px); animation: rise-land 1.4s var(--ease-out) .5s both; }

/* palavras em inglês subindo como bolhas */
.words { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.words span {
  position: absolute; left: var(--x); bottom: 30%; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); color: var(--purple-900); font-weight: 800; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(43, 23, 102, .18); opacity: 0;
  animation: bubble 9s ease-in-out calc(var(--d) + 2.6s) infinite;
}
@keyframes bubble { 0% { opacity: 0; transform: translate(-50%, 30px) scale(.7); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -30vh) scale(.9); } }

.say-wrap { position: absolute; z-index: 6; }
.say-wrap--hero { left: 50%; bottom: calc(100% - 10px); translate: 10% 0; }
.say {
  position: relative; display: block; padding: 12px 16px; border-radius: 18px;
  background: #fff; color: var(--purple-900); font-weight: 800; font-size: 15px; line-height: 20px;
  box-shadow: var(--shadow-lifted); white-space: nowrap;
}
.say::after { content: ""; position: absolute; bottom: -7px; left: 28px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.say--hero { animation: pop .6s var(--ease-back) 2.4s both, bob 4s ease-in-out 3s infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } }

.scroll-cue {
  position: absolute; z-index: 7; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(30, 14, 74, .6);
}
.scroll-cue span { width: 24px; height: 38px; border-radius: 14px; border: 2px solid #fff; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* nuvens fofas */
.clouds { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.clouds i {
  position: absolute; display: block; width: 220px; height: 64px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); filter: blur(2px);
  box-shadow: 40px -26px 0 6px rgba(255, 255, 255, .7), 100px -14px 0 0 rgba(255, 255, 255, .7);
  animation: drift 60s linear infinite;
}
.clouds i:nth-child(1) { top: 14%; left: -10%; scale: .7; animation-duration: 70s; }
.clouds i:nth-child(2) { top: 40%; left: 30%; scale: .5; opacity: .6; animation-duration: 90s; animation-delay: -30s; }
.clouds i:nth-child(3) { top: 9%; left: 60%; scale: .9; opacity: .7; animation-duration: 80s; animation-delay: -55s; }
@keyframes drift { from { translate: -30vw 0; } to { translate: 130vw 0; } }

@media (max-width: 760px) {
  .opening__stage { min-height: 700px; }
  .opening__copy { padding-top: 96px; }
  .opening__copy .lead { font-size: 16px; line-height: 23px; }
  .dawn__sun { width: 150px; height: 150px; margin-left: -75px; bottom: 30%; }
  .layer--chars { bottom: 3%; gap: 0; }
  .hero-char { height: clamp(170px, 28vh, 250px); }
  .words span { font-size: 13px; }
  .words span:nth-child(n+3) { display: none; }
  .say--hero { font-size: 13px; }
  .say-wrap--hero { translate: -40% 0; }
}
@media (max-height: 760px) and (max-width: 760px) { .opening__copy .lead { display: none; } }
.proof { margin-top: -40px; }

/* S3 · Problema: antes → depois. A escrivaninha cinza ganha cor como uma cortina que passa. */
.problem { padding-top: 0; }
.swap { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #8D93A8; margin-bottom: 64px; }
.swap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.swap__img--after { clip-path: inset(0 0 0 100%); }
.swap__line { position: absolute; top: 0; bottom: 0; left: 100%; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 30px 8px rgba(255, 224, 138, .8); }
.swap__line i { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 24px; box-shadow: var(--shadow-lifted); }
.swap__label { position: absolute; top: 112px; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 800; font-size: 15px; box-shadow: var(--shadow-soft); }
.swap__label--before { left: 24px; background: rgba(38, 36, 58, .75); color: #E6E8F0; }
.swap__label--after { right: 24px; background: #fff; color: var(--purple-500); opacity: 0; }
.no-story .swap__img--after { clip-path: inset(0 0 0 50%); }
.no-story .swap__line { left: 50%; }
.no-story .swap__label--after { opacity: 1; }
@media (max-width: 760px) {
  .swap { height: 80svh; min-height: 460px; }
  .swap__label { top: 96px; font-size: 13px; }
}


/* S7a · Tarde no bairro: a rua passa de lado */
.stroll { position: relative; margin-top: 64px; }
.stroll__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #F6D9C2; }
.stroll__track { position: absolute; top: 0; left: 0; height: 100%; width: max(178svh, 150vw); will-change: transform; }
.stroll__track img { width: 100%; height: 100%; object-fit: cover; }
.stroll__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(56, 16, 128, .55) 0%, rgba(56, 16, 128, .18) 30%, rgba(56, 16, 128, 0) 48%); }
.stroll__copy { position: relative; z-index: 2; padding-top: 112px; }
.stroll__copy .display { color: #fff; text-shadow: 0 4px 24px rgba(30, 14, 74, .45); max-width: 720px; }
.stroll__copy .mark { color: #FFE7A3; }
.stroll__note {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-lifted); max-width: 300px; opacity: 0; transform: translateY(16px) scale(.92);
}
.stroll__note b { display: block; color: var(--purple-900); font-size: 16px; line-height: 20px; }
.stroll__note i { display: block; color: var(--muted); font-size: 14px; line-height: 19px; font-weight: 600; }
.stroll__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--lilac-100); font-size: 22px; }
.stroll__note--cafe { left: 8%; bottom: 26%; }
.stroll__note--market { right: 8%; bottom: 22%; }
.worlds { padding-top: 56px; }
@media (max-width: 760px) {
  .stroll__copy { padding-top: 96px; }
  .stroll__note { max-width: 240px; }
  .stroll__note--cafe { left: 16px; bottom: 12%; }
  .stroll__note--market { right: 16px; bottom: 24%; }
}

/* S9b · Entardecer */
.dusk { position: relative; margin-top: var(--section); min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; overflow: hidden; }
.dusk__scene { position: absolute; inset: -10% 0; will-change: transform; }
.dusk__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; transform: scale(1.32); transform-origin: 58% 100%; } /* corta a copa da árvore no topo direito */
.dusk::before { display: none; }
/* a cena se dissolve no próprio céu do dia (sem faixa de cor fixa): bordas de cima e de baixo transparentes */
.dusk { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.dusk__copy { position: relative; z-index: 2; padding-top: 18vh; }
.dusk__copy .display { color: #fff; max-width: 560px; text-shadow: 0 4px 30px rgba(90, 30, 110, .5); }
.dusk__copy .lead { color: #fff; max-width: 480px; text-shadow: 0 2px 14px rgba(90, 30, 110, .55); }
@media (max-width: 760px) {
  .dusk__scene img { object-position: 74% 50%; }
  .dusk__copy { padding-top: 12vh; }
}

/* S13 · Noite: estrelas piscando */
.stars { position: absolute; inset: 0; pointer-events: none; background-image:
  radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 28% 8%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 44% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 63% 12%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 78% 26%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 9%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 6% 34%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 54% 5%, #fff 50%, transparent 51%);
  animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .45; } }

/* Relógio do dia (fixo): o sol percorre o arco e vira lua à noite */
.clock {
  position: fixed; z-index: 55; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 204, 255, .8); box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease-out), background .6s, color .6s;
}
.clock.is-on { opacity: 1; transform: none; }
.clock__dial { position: relative; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, #CFE8FF, #FFE6C9); overflow: hidden; transition: background .6s; }
.clock__sun { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px 2px rgba(255, 201, 74, .7); transform: rotate(var(--a, -80deg)) translateY(-11px); transition: transform .8s var(--ease-out), background .6s, box-shadow .6s; }
.clock__text { display: flex; flex-direction: column; line-height: 1.15; }
.clock__text b { font-size: 15px; font-weight: 800; color: var(--purple-900); font-variant-numeric: tabular-nums; }
.clock__text span { font-size: 12px; font-weight: 700; color: var(--muted); }
.clock.is-dusk .clock__dial { background: linear-gradient(180deg, #F6B7C9, #FFC48E); }
.clock.is-night { background: rgba(30, 14, 74, .82); border-color: rgba(205, 184, 255, .3); }
.clock.is-night .clock__dial { background: linear-gradient(180deg, #2B1766, #4A2A9E); }
.clock.is-night .clock__sun { background: #F2EEFF; box-shadow: 0 0 10px 2px rgba(242, 238, 255, .5); }
.clock.is-night .clock__text b { color: #fff; }
.clock.is-night .clock__text span { color: #CDB8FF; }
.clock.is-tick .clock__text b { animation: tick .45s var(--ease-back); }
@keyframes tick { from { transform: translateY(6px); opacity: 0; } }
@media (max-width: 760px) {
  .clock { left: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 5px 12px 5px 5px; gap: 8px; }
  .clock__dial { width: 30px; height: 30px; }
  .clock__sun { width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: rotate(var(--a, -80deg)) translateY(-8px); }
  .clock__text b { font-size: 13px; }
  .clock__text span { font-size: 11px; }
}

/* S2 · O bairro inteiro, e o tempo fecha (cena fixa; animada no story.js) */
.opening__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 6; pointer-events: none; background: linear-gradient(180deg, rgba(230, 238, 255, 0) 0%, #E6EEFF 100%); }
.weather__stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.weather__sky { position: absolute; inset: 0; z-index: -2; }
.weather__sky--sun { background: linear-gradient(180deg, #E6EEFF 0%, #CFE0FF 34%, #FFE6D2 76%, #FFD9BE 100%); }
.weather__sky--storm { background: linear-gradient(180deg, #5E6286 0%, #7A83A6 42%, #6F84AE 100%); opacity: 0; }
.weather__sun {
  position: absolute; z-index: -1; right: 16%; top: 20%; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #FFF8D6 0%, #FFE08A 50%, #FFB45C 100%);
  box-shadow: 0 0 0 20px rgba(255, 214, 140, .2), 0 0 90px 30px rgba(255, 196, 120, .45);
}
.weather__intro { position: relative; z-index: 3; padding-top: clamp(88px, 13vh, 130px); }
.weather__land { position: absolute; z-index: 1; left: 50%; bottom: 0; width: max(100vw, 1100px); translate: -50% 0; }
.weather__land > img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%); mask-image: linear-gradient(180deg, transparent 0, #000 8%); }
.pins { list-style: none; margin: 0; padding: 0; }
.pin {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -100%;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 14px 30px rgba(56, 40, 110, .22);
  font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); white-space: nowrap;
  animation: bob 4s ease-in-out infinite;
}
.pin:nth-child(2) { animation-delay: -1s; } .pin:nth-child(3) { animation-delay: -2s; } .pin:nth-child(4) { animation-delay: -3s; } .pin:nth-child(5) { animation-delay: -.5s; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: rgba(255, 255, 255, .94); transform: rotate(45deg); border-radius: 3px; }
.pin::before { content: ""; position: absolute; left: 50%; bottom: -26px; width: 12px; height: 6px; margin-left: -6px; border-radius: 50%; background: rgba(46, 30, 90, .3); }
.pin img { width: 44px; height: 44px; flex: none; }
.pin b { display: block; font-size: 20px; line-height: 22px; font-weight: 800; color: var(--purple-500); }
.pin:nth-child(4) b { color: var(--coral); }
.pin:nth-child(5) b { color: var(--mint-ink); }
/* nuvens fofas de verdade (bolhas sobrepostas), em tons de chuva */
.puffs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.puffs i {
  /* uma bola central + bolas ao redor (sombras do mesmo elemento): contorno fofo, sem cortes retos */
  position: absolute; width: 130px; height: 130px; border-radius: 50%; --c: #8D96B8; --h: #A7AECB;
  background: radial-gradient(circle at 40% 30%, var(--h), var(--c) 70%);
  box-shadow:
    -86px 34px 0 -14px var(--c), 88px 28px 0 -8px var(--c), 160px 52px 0 -30px var(--c),
    -158px 56px 0 -34px var(--c), 0 56px 0 -4px var(--c), 50px 60px 0 -10px var(--c), -48px 62px 0 -12px var(--c);
  filter: drop-shadow(0 18px 24px rgba(40, 44, 80, .25)); opacity: 0; margin-left: 170px;
}
.puffs i:nth-child(1) { left: -6%; top: 6%; }
.puffs i:nth-child(2) { left: 22%; top: 18%; scale: 1.3; --c: #7F89AD; --h: #99A1C2; }
.puffs i:nth-child(3) { left: 52%; top: 4%; scale: 1.1; }
.puffs i:nth-child(4) { left: 74%; top: 16%; scale: 1.35; --c: #7A84A8; --h: #959DBE; }
.puffs i:nth-child(5) { left: 8%; top: 34%; scale: .9; --c: #737DA3; --h: #8E97B8; }
.puffs i:nth-child(6) { left: 60%; top: 32%; scale: 1; --c: #737DA3; --h: #8E97B8; }
.weather .rain { z-index: 3; opacity: 0; -webkit-mask-image: none; mask-image: none; }
.weather__problem { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; opacity: 0; pointer-events: none; }
.weather__problem .display { color: #fff; text-shadow: 0 4px 30px rgba(30, 30, 60, .45); }
.weather__problem .mark { color: #FFE08A; }
.weather__problem .lead { color: rgba(255, 255, 255, .92); }
/* Névoa da junção (parte de cima): cobre a chuva e o bairro com desfoque e termina na cor exata do topo da janela */
.weather__stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(111, 132, 174, 0) 0%, rgba(111, 132, 174, .78) 62%, #6F84AE 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%);
  opacity: var(--fade, 0);
}
.weather .rain { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 90%); mask-image: linear-gradient(180deg, #000 50%, transparent 90%); }
@media (max-width: 760px) {
  .weather__stage { min-height: 700px; }
  .weather__sun { width: 80px; height: 80px; right: 10%; top: 30%; }
  .weather__land { width: 900px; }
  .pins { position: absolute; left: 50%; bottom: 32%; translate: -50% 0; width: calc(100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pin { position: relative; left: auto; top: auto; translate: none; white-space: normal; font-size: 12px; padding: 6px 10px 6px 6px; }
  .pin:last-child { grid-column: 1 / -1; justify-self: center; }
  .pin::after, .pin::before { display: none; }
  .pin img { width: 34px; height: 34px; }
  .pin b { font-size: 17px; }
  .puffs { scale: .6; transform-origin: 50% 0; }
}
/* sem animação: o bairro com os números e, abaixo, o texto do problema */
.no-story .weather__stage { height: auto; min-height: 0; padding-bottom: 0; }
.no-story .weather__land { position: relative; left: auto; translate: none; width: 100%; margin-top: 160px; }
.no-story .weather__problem { position: relative; opacity: 1; padding: 72px 0; background: linear-gradient(180deg, #7A83A6, #6F84AE); }

/* S2b · Passagem: o céu fecha e começa a chover, até virar a janela da escrivaninha */
.bridge { position: relative; padding: 140px 0 220px; overflow: hidden; isolation: isolate; }
.bridge__sky { position: absolute; inset: 0; z-index: -1;
  /* termina exatamente na cor do topo da imagem "antes" (#6F84AE) para a costura não aparecer */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(214, 208, 238, .7) 30%, #A7AFD0 62%, #6F84AE 100%); }
.storm { position: absolute; inset: 0; pointer-events: none; }
.storm i {
  position: absolute; display: block; width: 280px; height: 80px; border-radius: 999px;
  background: #9AA2C2; filter: blur(3px); opacity: .85;
  box-shadow: 60px -34px 0 10px #8E97B9, 140px -16px 0 0 #A3AAC8;
}
.storm i:nth-child(1) { left: -6%; top: 46%; }
.storm i:nth-child(2) { left: 28%; top: 58%; scale: 1.3; background: #8D96B8; }
.storm i:nth-child(3) { left: 62%; top: 44%; scale: .9; }
.storm i:nth-child(4) { left: 84%; top: 60%; scale: 1.2; background: #8A93B5; }
.storm i:nth-child(5) { left: 12%; top: 74%; scale: 1.5; background: #7E89AE; }
.rain {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: repeating-linear-gradient(104deg, transparent 0 18px, rgba(255, 255, 255, .55) 18px 19px, transparent 19px 46px);
  background-size: 140px 140px; animation: rain .5s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 85%); mask-image: linear-gradient(180deg, transparent 35%, #000 85%);
}
@keyframes rain { to { background-position: -30px 140px; } }
.bridge__copy { position: relative; }
.bridge .lead { color: var(--ink); opacity: .8; }
.problem .swap { box-shadow: none; }
/* Névoa da junção (parte de baixo): a janela começa desfocada na mesma cor e fica nítida aos poucos */
.swap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #6F84AE 0%, rgba(111, 132, 174, .55) 40%, rgba(111, 132, 174, 0) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.problem__after { margin-top: 0; color: var(--purple-900); }
@media (max-width: 760px) { .bridge { padding: 96px 0 160px; } .storm i { width: 180px; height: 56px; } }

/* S8 · A seção é uma cena: o bairro da tarde é o chão, a Lia pisa no caminho de pedra e o conteúdo
   desce junto, num painel de vidro sobre a paisagem. */
.speak { padding-bottom: 0; overflow: hidden; isolation: isolate; }
.speak__ground { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; }
.speak__ground img {
  display: block; width: max(112vw, 1000px); max-width: none; height: auto; margin-left: 50%; translate: -50% 0;
  filter: sepia(.28) saturate(1.25) hue-rotate(-12deg) brightness(1.02);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 86%, transparent 100%);
}
.speak__ground .clouds { z-index: 0; }
.speak__grid { align-items: end; padding-bottom: clamp(24px, 3.2vw, 56px); }
/* a Lia desce até os pés entrarem na grama; o painel de texto fica onde estava */
.speak__art { margin-bottom: calc(-1 * clamp(10px, 1.6vw, 26px)); }
.speak__art { isolation: isolate; align-self: end; }
.speak__art::before {
  content: ""; position: absolute; left: 22%; right: 30%; bottom: 1.5%; height: 34px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 40, 60, .45), rgba(46, 40, 60, .18) 60%, transparent);
}
/* Conteúdo proporcional à cena: sem painel grande; o texto fica no céu, acima do bairro,
   e o exercício vira um balão compacto. */
.speak__copy { position: relative; z-index: 3; align-self: start; max-width: 500px; padding-top: 8px; }
/* a cena é mais alta que a paisagem: o texto fica no céu, a Lia embaixo, no chão */
.speak__grid { min-height: calc(max(112vw, 1000px) * .428 + 60px); }
/* texto centralizado na seção (no céu); a Lia embaixo, à esquerda, pisando no chão */
.speak__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; }
.speak__copy { grid-row: 1; justify-self: center; text-align: center; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.speak__copy .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.speak__copy .exercise { text-align: left; }
.speak__art { grid-row: 2; justify-self: start; align-self: end; }
@media (max-width: 900px) { .speak__art { justify-self: center; } }
.speak__copy .lead, .speak__copy .soon-note { text-shadow: 0 0 12px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); }
.speak__copy .display { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
.speak__copy .lead { font-size: 17px; line-height: 25px; margin-top: 12px; color: var(--ink); opacity: .75; }
.speak__copy .exercise {
  margin-top: 20px; max-width: 360px; padding: 16px 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .86); box-shadow: 0 14px 30px rgba(56, 40, 110, .16);
}
.speak__copy .exercise__phrase { font-size: 18px; line-height: 24px; }
.speak__copy .wave { height: 30px; margin: 10px 0; }
.speak__copy .exercise__ok { font-size: 14px; }
.speak__copy .exercise__ok::before { width: 22px; height: 22px; font-size: 12px; }
/* a nota "Em breve" fica dentro do card (nada de texto solto sobre o cenário) */
.speak__copy .soon-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--lilac-100); font-size: 13px; line-height: 18px; gap: 8px; text-shadow: none; }
/* primeiro plano: a faixa de flores e grama cobre os pés da Lia, como na abertura */
.speak__front { position: absolute; left: 0; right: 0; bottom: -2%; z-index: 2; pointer-events: none; }
.speak__front img {
  display: block; width: max(112vw, 1000px); max-width: none; height: auto; margin-left: 50%; translate: -50% 0;
  filter: sepia(.2) saturate(1.15) hue-rotate(-8deg);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
/* a Lia na escala da cena e com a luz quente da tarde */
.speak__art { max-width: 360px; justify-self: center; }
.speak__art img { filter: sepia(.12) saturate(.95) drop-shadow(-8px 12px 14px rgba(80, 40, 60, .22)) drop-shadow(10px -4px 16px rgba(255, 200, 150, .35)); }
@media (max-width: 900px) {
  .speak__copy { max-width: none; }
  .speak__copy .exercise { margin-left: auto; margin-right: auto; }
  .speak__art { max-width: 280px; }
}
.speak__art img { animation: breathe 3.4s ease-in-out infinite; transform-origin: 50% 100%; position: relative; }
.speak__bubble { animation: bob 4.6s ease-in-out infinite; }

/* Colinas entre as seções: o bairro reaparece a cada hora, com nuvens passando */
.hills { position: relative; height: clamp(200px, 30vw, 420px); margin-top: 40px; overflow: hidden; pointer-events: none; }
.hills img {
  position: absolute; left: 50%; bottom: 0; width: max(112vw, 1000px); max-width: none; height: auto; translate: -50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 70%, transparent 100%);
}
.hills .clouds { z-index: 0; }
.hills--noon img { scale: -1 1; filter: saturate(1.1) brightness(1.04); }
.hills--afternoon img { filter: sepia(.28) saturate(1.25) hue-rotate(-12deg) brightness(1.02); }
.hills + .section { padding-top: 24px; }

/* Cards de vidro: o céu do dia aparece por trás */
.card, .buddy, .price, .faq details, .proof__bar, .house__info, .waitlist__form {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: rgba(255, 255, 255, .7);
}
.price--featured { background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(247, 244, 255, .86) 100%); }
.world { background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.section { position: relative; }

/* Botão "Instalar no celular" (PWA) no lugar das lojas, por enquanto */
.store--pwa { background: linear-gradient(180deg, var(--purple-400) 0%, var(--purple-500) 55%, var(--purple-700) 100%); color: #fff; padding: 0 22px 0 16px; box-shadow: var(--shadow-glow); }
.store--pwa svg { width: 24px; height: 24px; }
.opening__copy .store--pwa, .night .store--pwa { background: #fff; color: var(--purple-900); }
/* "Em breve na App Store e no Google Play" (logos das lojas em selo discreto) */
.soon-stores { flex-basis: 100%; display: flex; margin: 6px 0 0; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--purple-900); font-size: 13px; line-height: 17px; font-weight: 600; box-shadow: var(--shadow-soft);
}
.soon-stores b { font-weight: 800; color: var(--purple-500); }
.soon-stores__logos { display: inline-flex; gap: 4px; }
.soon-stores__logos svg { width: 18px; height: 18px; color: #15122B; }
.opening__copy .soon-stores { justify-content: center; }
.pwa-note { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: inherit; opacity: .85; }
.opening__copy .pwa-note { color: #fff; text-shadow: 0 1px 8px rgba(43, 23, 102, .5); }
.night .pwa-note { color: #D9CCFF; }

/* sem GSAP ou com "reduzir movimento": as cenas ficam paradas e tudo legível */
.no-story .stroll__note { opacity: 1; transform: none; }
.no-story .stroll__track { width: 100%; }
.no-story .problem__sun { opacity: 1; transform: none; }
.no-story .problem__cloud { left: 66%; opacity: .9; }

/* ---------- Entradas ---------- */
/* Hero: anima no carregamento (não depende de rolagem, para não atrasar o LCP) */
.rise { animation: rise .8s var(--ease-out) both; }
.hero__copy .rise:nth-child(2) { animation-delay: .08s; }
.hero__copy .rise:nth-child(3) { animation-delay: .16s; }
.hero__copy .rise:nth-child(4) { animation-delay: .24s; }
.hero__copy .rise:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero .mark path { stroke-dashoffset: 0; animation: draw .9s var(--ease-out) .6s both; }
@keyframes draw { from { stroke-dashoffset: 130; } }
.reveal { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
}

/* link para a página de assinatura */
