/* ═══════════════════════════════════════════════════════════════
   XARLOTE — landing page
   Design: aurora escura (navy #06061a) + azul/roxo/rosa da marca,
   tipografia Outfit, mascote axolote como fio condutor.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #06061a;
  --ink: #f5f6ff;
  --muted: #aab0d0;
  --blue: #5b7cfe;
  --purple: #8b5cf6;
  --pink: #ee87f7;
  --wa: #25d366;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.055);
  --hue: 236;
  --grad: linear-gradient(92deg, #7da2ff, #b18cff 52%, #f7a8f0);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

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

img { max-width: 100%; display: block; }

main { position: relative; z-index: 1; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mob-br { display: none; }
@media (max-width: 760px) {
  .mob-br { display: inline; }
  .desk-br { display: none; }
}

/* ═══ Fundo aurora ═══ */

.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; will-change: transform; }

.orb-a {
  width: 74vmax; height: 74vmax; left: -20vmax; top: -24vmax;
  background: radial-gradient(circle, rgba(64, 94, 255, 0.33), transparent 62%);
  animation: drift-a 27s ease-in-out infinite alternate;
}
.orb-b {
  width: 62vmax; height: 62vmax; right: -22vmax; top: 6vh;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.27), transparent 62%);
  animation: drift-b 33s ease-in-out infinite alternate;
}
.orb-c {
  width: 58vmax; height: 58vmax; left: 4vw; bottom: -30vmax;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.17), transparent 64%);
  animation: drift-c 23s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(7vmax, 5vmax) scale(1.09); } }
@keyframes drift-b { to { transform: translate(-6vmax, 7vmax) scale(1.12); } }
@keyframes drift-c { to { transform: translate(5vmax, -6vmax) scale(1.06); } }

.tint {
  position: absolute; inset: 0;
  background: radial-gradient(60% 44% at 50% 0%, hsla(var(--hue), 90%, 62%, 0.13), transparent 70%);
}

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(125% 92% at 50% 40%, transparent 52%, rgba(2, 2, 10, 0.6) 100%);
}

/* ═══ Botões ═══ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; text-decoration: none;
  font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.3s var(--spring), box-shadow 0.35s ease, filter 0.3s ease;
  will-change: transform;
}

.btn-wa {
  background: linear-gradient(160deg, #35e37c, #0fa65e 88%);
  color: #04170c;
  box-shadow: 0 10px 34px rgba(41, 216, 115, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(41, 216, 115, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-wa:active { transform: translateY(0) scale(0.97); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-xl { padding: 19px 34px; font-size: 18px; }

.wa-glyph { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.btn-xl .wa-glyph { width: 23px; height: 23px; }

.micro { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ═══ Nav ═══ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) clamp(16px, 4vw, 34px) 10px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 26, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.07);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6)); }
.brand-name {
  font-weight: 800; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #d9c9ff 70%, #f0abfc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ═══ Mascote — rig de animação ═══ */

.x-mascot { width: 100%; height: auto; display: block; overflow: visible !important; }

.x-mascot .x-gill {
  transform-box: fill-box; transform-origin: 100% 50%;
  animation: gill-sway 3s ease-in-out infinite alternate;
}
.x-mascot .g1 { animation-duration: 2.7s; }
.x-mascot .g2 { animation-duration: 3.4s; animation-delay: 0.3s; }
.x-mascot .g3 { animation-duration: 3.05s; animation-delay: 0.15s; }
@keyframes gill-sway { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }

.x-mascot.swift .x-gill { animation-duration: 0.75s !important; }

.x-mascot .x-tail {
  transform-box: fill-box; transform-origin: 28% 8%;
  animation: tail-wag 3.5s ease-in-out infinite alternate;
}
@keyframes tail-wag { from { transform: rotate(-2.6deg); } to { transform: rotate(3.4deg); } }
.x-mascot.swift .x-tail { animation-duration: 1s; }

.x-mascot .x-head {
  transform-box: fill-box; transform-origin: 50% 88%;
  animation: head-tilt 5.4s ease-in-out infinite alternate;
}
@keyframes head-tilt { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg); } }

.x-mascot .x-eyes { transform-box: fill-box; transform-origin: 50% 50%; }
.x-mascot .x-eyes.blink { animation: blink 0.18s ease; }
@keyframes blink { 50% { transform: scaleY(0.06); } }

.happy .x-root {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: happy-wiggle 0.85s var(--spring);
}
@keyframes happy-wiggle {
  20% { transform: rotate(-10deg) scale(1.1); }
  45% { transform: rotate(9deg) scale(1.06); }
  70% { transform: rotate(-5deg) scale(1.03); }
}

/* ═══ Nadador (mascote fixo que percorre a página) ═══ */

#swimmer {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: var(--sw, 110px); pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
  will-change: transform;
}
#swimmer.on { opacity: 1; }
#swimmer .sw-svg {
  cursor: pointer; pointer-events: auto;
  position: relative; width: 100%; aspect-ratio: 1;
}
#swimmer .sw-bob { position: relative; animation: sw-bob 4s ease-in-out infinite alternate; }
@keyframes sw-bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }

/* nadador = o MESMO render 3D do herói (vídeo alpha em mini-canvas WebGL) */
.sw-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform: translateX(-2.4%) scale(1.34); /* mesmo recorte/centralização do herói */
}
/* fallback: ícone oficial num squircle liquid-glass girando devagar */
.sw-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.sw-fallback img {
  width: 82%; height: 82%; border-radius: 27%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 10px 32px -10px rgba(0, 0, 0, 0.75),
    0 0 34px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: sw-spin 16s linear infinite;
}
@keyframes sw-spin { to { transform: rotate(360deg); } }
#swimmer.fallback-on .sw-canvas { display: none; }
#swimmer.fallback-on .sw-fallback { display: grid; }

/* ── V2 do nadador (?v=2): ícone de app liquid-glass girando em 3D ── */
.sw-icon-wrap { display: none; position: absolute; inset: 0; perspective: 620px; }
#swimmer.icon-mode .sw-icon-wrap { display: block; }
#swimmer.icon-mode .sw-canvas,
#swimmer.icon-mode .sw-fallback { display: none !important; }

.sw-icon {
  position: absolute; inset: 7%;
  transform-style: preserve-3d;
  animation: icon-spin3d 5.6s linear infinite;
}
@keyframes icon-spin3d { to { transform: rotateY(360deg); } }

.sw-icon-face {
  position: absolute; inset: 0;
  border-radius: 27%;
  display: grid; place-items: center;
  backface-visibility: hidden;
  background:
    radial-gradient(120% 95% at 20% 90%, rgba(59, 110, 245, 0.30), transparent 55%),
    radial-gradient(130% 100% at 82% 8%, rgba(155, 92, 246, 0.20), transparent 60%),
    linear-gradient(155deg, rgba(34, 38, 70, 0.92), rgba(8, 10, 26, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -10px 22px rgba(59, 110, 245, 0.20),
    0 14px 36px -12px rgba(0, 0, 0, 0.85),
    0 0 38px rgba(139, 92, 246, 0.35);
}
.sw-icon-face.back { transform: rotateY(180deg); }
.sw-icon-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.17) 46%, transparent 62%);
  pointer-events: none;
}
.sw-icon-face img {
  width: 74%; height: 74%; object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.4));
}

/* festinha do easter egg (clique no mascote) */
.sw-bob.happy { animation: sw-bob 4s ease-in-out infinite alternate, happy-wiggle 0.85s var(--spring); }

.sw-glow {
  position: absolute; inset: -26%;
  background: radial-gradient(circle at 50% 42%, rgba(99, 124, 250, 0.4), rgba(155, 92, 246, 0.22) 55%, transparent 75%);
  border-radius: 50%; filter: blur(6px);
}

.sw-hearts { position: absolute; inset: 0; pointer-events: none; }
.sw-hearts span {
  position: absolute; left: 50%; top: 30%; font-size: 15px;
  animation: heart-pop 1.1s ease-out forwards;
}
@keyframes heart-pop {
  from { opacity: 0; transform: translate(-50%, 0) scale(0.4); }
  25% { opacity: 1; }
  to { opacity: 0; transform: translate(calc(-50% + var(--hx, 0px)), -70px) scale(1.15) rotate(var(--hr, 0deg)); }
}

/* ═══ Herói ═══ */

.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(76px + env(safe-area-inset-top)) 20px 90px;
  position: relative;
}

.hero-stage {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(12px, 2.4vh, 24px);
  will-change: transform, opacity;
}

.hero-mascot {
  position: relative;
  width: clamp(230px, 40vh, 450px);
  max-width: 64vw;
  animation: mascot-enter 1.1s var(--spring) both;
}
@keyframes mascot-enter {
  from { opacity: 0; transform: scale(0.72) translateY(26px); }
}

.hero-glow {
  position: absolute; inset: -22%;
  background: radial-gradient(circle at 48% 40%, rgba(99, 124, 250, 0.5), rgba(155, 92, 246, 0.3) 55%, rgba(217, 70, 239, 0.14) 78%, transparent 88%);
  border-radius: 50%; filter: blur(20px);
  animation: glow-pulse 5s ease-in-out infinite alternate;
}
@keyframes glow-pulse { from { opacity: 0.75; transform: scale(0.96); } to { opacity: 1; transform: scale(1.05); } }

/* o vídeo tem margem transparente interna (e o render fica 2,4% à direita
   do centro do frame) — o scale+nudge recortam e centralizam visualmente */
#alphaCanvas { position: relative; width: 100%; height: auto; display: block; transform: translateX(-2.4%) scale(1.32); }

.hero-fallback {
  position: absolute; inset: 4%;
  opacity: 0; transition: opacity 0.5s ease;
  animation: fb-float 4.5s ease-in-out infinite alternate;
}
@keyframes fb-float { from { transform: translateY(-6px); } to { transform: translateY(7px); } }
.hero-mascot.fallback-on #alphaCanvas { display: none; }
.hero-mascot.fallback-on .hero-fallback { opacity: 1; position: relative; inset: auto; }

.hero-title {
  font-size: clamp(2.6rem, 5.6vw + 1rem, 5.4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
}
.hero-title .line { display: block; }
.hero-title .w {
  display: inline-block; opacity: 0;
  transform: translateY(0.65em);
  animation: word-rise 0.85s var(--soft) forwards;
}
@keyframes word-rise { to { opacity: 1; transform: none; } }
.hero-title .line:nth-child(1) .w:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(1) .w:nth-child(2) { animation-delay: 0.29s; }
.hero-title .line:nth-child(1) .w:nth-child(3) { animation-delay: 0.38s; }
.hero-title .line:nth-child(2) .w:nth-child(1) { animation-delay: 0.56s; }
.hero-title .line:nth-child(2) .w:nth-child(2) { animation-delay: 0.65s; }
.hero-title .line:nth-child(2) .w:nth-child(3) { animation-delay: 0.74s; }
.hero-title .line:nth-child(2) .w:nth-child(4) { animation-delay: 0.83s; }

.hero-sub {
  color: var(--muted); font-size: clamp(1rem, 1.1vw + 0.7rem, 1.3rem); line-height: 1.5;
  opacity: 0; animation: fade-up 0.9s var(--soft) 1.05s forwards;
}
.hero-sub b { color: var(--ink); }

.hero-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fade-up 0.9s var(--soft) 1.25s forwards;
}

@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--muted); font-size: 12px; letter-spacing: 0.06em;
  opacity: 0; animation: fade-up 1s ease 2s forwards;
}
.hint-arrow { animation: hint-bounce 1.6s ease-in-out infinite; font-size: 15px; }
@keyframes hint-bounce { 50% { transform: translateY(5px); opacity: 0.5; } }

/* ═══ Cenas com scrub (pin + progresso) ═══ */

.scene { height: calc(var(--len, 3) * 100vh); position: relative; }

.scene-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(70px + env(safe-area-inset-top)) 20px 30px;
  gap: clamp(8px, 1.6vh, 18px);
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #d9c9ff; padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--glass); width: fit-content;
}

.scene-title {
  font-size: clamp(2.1rem, 3.8vw + 0.7rem, 4.1rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.018em;
}
.scene-title.center { text-align: center; }
.scene-title em { font-style: normal; }

.scene-note { color: var(--muted); font-size: clamp(0.92rem, 1vw + 0.6rem, 1.1rem); }
.scene-note b { color: var(--ink); }

/* ── cena 1: layout copy + phone ── */

#compra .scene-pin { flex-direction: column; text-align: center; }
#compra .scene-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.steps {
  list-style: none; counter-reset: st;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px;
  margin-top: 4px;
}
.steps li {
  counter-increment: st;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  opacity: 0.42; transition: opacity 0.35s ease, color 0.35s ease;
}
.steps li::before {
  content: counter(st);
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--line); font-size: 12px; font-weight: 700;
  transition: all 0.35s ease;
}
.steps li.active { opacity: 1; color: var(--ink); }
.steps li.active::before { background: var(--grad); border-color: transparent; color: #0a0a20; }
.steps li.done { opacity: 0.8; }
.steps li.done::before { content: "✓"; background: rgba(37, 211, 102, 0.18); border-color: rgba(37, 211, 102, 0.5); color: #4ade80; }

@media (max-width: 759px) {
  #compra .scene-note { display: none; } /* mobile: os steps já contam a história */
}
@media (min-width: 760px) {
  #compra .scene-pin {
    flex-direction: row; justify-content: center; text-align: left;
    gap: clamp(30px, 6vw, 100px);
  }
  #compra .scene-copy { align-items: flex-start; max-width: 440px; }
  #compra .steps { flex-direction: column; justify-content: flex-start; gap: 12px; margin-top: 16px; }
  #compra .steps li { font-size: 15px; }
}

/* ── telefone WhatsApp ── */

.phone {
  --ph: min(66svh, 620px);
  width: min(86vw, 330px, calc(var(--ph) * 0.54));
  height: var(--ph);
  border-radius: 44px;
  padding: 8px;
  background: linear-gradient(170deg, #1a1e33, #0d101f);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 34px 90px -24px rgba(0, 0, 0, 0.75),
    0 0 100px rgba(110, 95, 255, 0.16);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  will-change: transform;
}

.phone-notch {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 22px; border-radius: 12px; background: #04040e; z-index: 6;
}

.wa-head {
  display: flex; align-items: center; gap: 9px;
  padding: 42px 12px 10px;
  background: #202c33;
  border-radius: 36px 36px 0 0;
}
.wa-back { width: 18px; height: 18px; color: #8fa3ad; flex: 0 0 auto; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; }
.wa-id { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.wa-id b { font-size: 14.5px; }
.wa-presence { font-size: 11px; color: #97a6af; transition: color 0.3s ease; }
.wa-presence.typing { color: #35e37c; }
.wa-icons { margin-left: auto; display: flex; flex-direction: column; gap: 3px; padding-right: 4px; }
.wa-icons i { width: 4px; height: 4px; border-radius: 50%; background: #8fa3ad; }

.wa-chat {
  flex: 1; min-height: 0;
  background: #0b141a;
  border-radius: 0 0 36px 36px;
  padding: 12px 10px 14px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 7px; overflow: hidden;
  text-align: left; /* a cena centraliza no mobile — chat é sempre à esquerda */
}

.wa-day { align-self: center; margin-bottom: 2px; }
.wa-day span {
  font-size: 10.5px; color: #8fa3ad; padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06); border-radius: 8px;
}

.msg {
  max-width: 84%; padding: 7px 10px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.36; color: #e9edef;
  opacity: 0; transform: translateY(24px) scale(0.92);
  will-change: transform, opacity;
  position: relative;
}
.msg p { display: inline; }
.msg .meta {
  display: inline-flex; align-items: center; gap: 3px;
  float: right; margin: 8px 0 0 8px;
  font-size: 10px; color: rgba(233, 237, 239, 0.55);
}
.msg .ticks { width: 15px; height: 10px; stroke: #53bdeb; }

.msg.out { align-self: flex-end; background: #005c4b; border-radius: 14px 14px 4px 14px; }
.msg.in { align-self: flex-start; background: #202c33; border-radius: 14px 14px 14px 4px; }

.msg .dots { display: none; gap: 4px; padding: 4px 2px; }
.msg .dots i {
  width: 7px; height: 7px; border-radius: 50%; background: #8fa3ad;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.msg .dots i:nth-child(2) { animation-delay: 0.15s; }
.msg .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot-bounce { 30% { transform: translateY(-4px); opacity: 0.55; } }

.msg.typed .dots { display: flex; }
.msg.typed .body { display: none; }
.msg.typed.done .dots { display: none; }
.msg.typed.done .body { display: block; }

/* bolha com card de cotação: largura estável — o card preenche a bolha,
   nunca vaza dela (min-width fixo estourava em telas estreitas) */
.msg.has-quote { width: 84%; }
.quote {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px; padding: 8px 11px; margin: 2px 0;
  width: 100%; min-width: 0;
}
.quote.best { border-color: rgba(37, 211, 102, 0.55); box-shadow: 0 0 20px rgba(37, 211, 102, 0.13); }
.q-store { font-size: 12.5px; font-weight: 600; }
.q-item { font-size: 11px; color: #97a6af; }
.q-price { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; }
.q-badge {
  align-self: flex-start; margin-top: 4px;
  font-size: 10px; font-weight: 700; padding: 2.5px 8px; border-radius: 99px;
  background: rgba(37, 211, 102, 0.16); color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

/* chips flutuantes da cena 1 */
.float-chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; will-change: transform, opacity;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}
.chip.c1 { left: 7%; top: 24%; }
.chip.c2 { right: 6%; top: 34%; }
.chip.c3 { left: 9%; bottom: 22%; }
.chip.c4 { right: 8%; bottom: 30%; }
@media (max-width: 919px) { .float-chips { display: none; } }
@media (max-width: 759px) {
  .phone { --ph: min(56svh, 520px); }
}

/* ── cena 2: lembretes ── */

.center-pin { text-align: center; }

.bigclock {
  font-size: clamp(4.6rem, 14vw, 11rem);
  font-weight: 800; line-height: 1; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #b9c3ff 58%, #8b5cf6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 34px rgba(120, 110, 255, 0.35));
  margin: 4px 0 6px;
}

.toasts {
  width: min(440px, 94vw);
  height: clamp(268px, 37svh, 330px);
  display: flex; flex-direction: column; gap: 9px;
  align-items: stretch;
}

.toast {
  display: flex; align-items: flex-start; gap: 10px;
  text-align: left;
  padding: 11px 13px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(26px) scale(0.94);
  will-change: transform, opacity;
}
.toast .t-icon { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; }
.toast .t-body b { display: block; font-size: 12.5px; }
.toast .t-body p { font-size: 13px; color: var(--muted); line-height: 1.35; }
.toast .t-reply {
  margin-left: auto; align-self: center; flex: 0 0 auto;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px;
  background: #005c4b; color: #d9fdd3;
  opacity: 0; transform: scale(0.6);
  will-change: transform, opacity;
}
.toast.gold {
  border-color: rgba(240, 171, 252, 0.4);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(240, 171, 252, 0.12));
}

/* ── cena 3: memória (órbita) ── */

.orbit { position: relative; width: 100%; height: clamp(280px, 46svh, 440px); }

.mem {
  position: absolute; left: 50%; top: 50%;
  font-size: clamp(11.5px, 1.1vw + 6px, 14px); font-weight: 600;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  will-change: transform, opacity;
}

/* ═══ Seções simples ═══ */

.plain { padding: clamp(90px, 14vh, 150px) 20px; position: relative; }

.grid4 {
  max-width: 1060px; margin: clamp(30px, 6vh, 56px) auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.card {
  padding: 28px 24px; border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--soft), border-color 0.4s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.26); }
.card:hover::after { opacity: 1; }

.card-icon {
  font-size: 28px; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 19px;
  background: linear-gradient(145deg, rgba(91, 124, 254, 0.26), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 15px;
}
.card b { font-size: 17px; display: block; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── família ── */

.feel { padding: clamp(120px, 22vh, 220px) 20px; text-align: center; position: relative; }

.feel-line {
  font-size: clamp(1.55rem, 3.2vw + 0.5rem, 3rem);
  font-weight: 700; color: var(--muted); line-height: 1.2;
}
.feel-line.big {
  font-size: clamp(2.1rem, 5vw + 0.6rem, 4.4rem);
  font-weight: 800; margin-top: 8px; color: var(--ink);
}
.feel-sub {
  margin-top: 24px; color: var(--muted);
  font-size: clamp(1rem, 1.3vw + 0.6rem, 1.3rem); line-height: 1.55;
}

.heart { position: absolute; font-size: 20px; opacity: 0; animation: heart-float 7s ease-in-out infinite; }
.heart.h1 { left: 16%; top: 30%; animation-delay: 0s; }
.heart.h2 { right: 15%; top: 42%; animation-delay: 2.2s; font-size: 15px; }
.heart.h3 { left: 28%; bottom: 18%; animation-delay: 4.1s; font-size: 17px; }
@keyframes heart-float {
  0%, 100% { opacity: 0; transform: translateY(12px) scale(0.8); }
  25% { opacity: 0.55; }
  50% { opacity: 0.3; transform: translateY(-26px) scale(1.05); }
  75% { opacity: 0; transform: translateY(-44px) scale(0.9); }
}

/* ── de graça ── */

#gratis { text-align: center; }

.price {
  font-size: clamp(4.8rem, 15vw, 12.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #b3f5cd 55%, #35e37c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(53, 227, 124, 0.28));
  margin: clamp(14px, 3vh, 30px) 0 10px;
}

.price-sub { font-size: clamp(1.1rem, 1.6vw + 0.6rem, 1.5rem); color: var(--muted); }
.price-sub b { color: var(--ink); }

.trust {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 720px; margin: clamp(28px, 5vh, 44px) auto 0;
}
.trust li {
  font-size: 14px; font-weight: 600;
  padding: 10px 17px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
}

/* ═══ CTA final ═══ */

.finale {
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(16px, 3vh, 26px);
  padding: 90px 20px 150px; position: relative;
}

.finale-dock { height: clamp(140px, 22vh, 220px); width: 100%; }

.finale-title { font-size: clamp(2.4rem, 5.2vw + 0.8rem, 4.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.finale-title em { font-style: normal; }

/* ═══ Rodapé ═══ */

footer {
  position: relative;
  max-width: 780px; margin: 0 auto;
  padding: 20px 22px calc(90px + env(safe-area-inset-bottom));
  text-align: center;
}
.fine { font-size: 12px; line-height: 1.7; color: rgba(170, 176, 208, 0.72); margin-bottom: 14px; }
.fine b { color: rgba(220, 224, 245, 0.9); }
.foot-brand { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ═══ CTA fixo mobile ═══ */

.ctabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 26px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 4, 18, 0.9) 46%);
  transform: translateY(110%);
  transition: transform 0.5s var(--spring);
  display: none;
  pointer-events: none;
}
.ctabar.show { transform: none; pointer-events: auto; }
.ctabar .btn { width: 100%; justify-content: center; padding: 15px 20px; font-size: 16px; }
@media (max-width: 760px) { .ctabar { display: block; } }

/* ═══ Reveals genéricos ═══ */

.reveal {
  opacity: 0; transform: translateY(34px); filter: blur(6px);
  transition:
    opacity 0.85s var(--soft) var(--d, 0s),
    transform 0.85s var(--soft) var(--d, 0s),
    filter 0.85s var(--soft) var(--d, 0s);
  will-change: transform, opacity, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ═══ Acessibilidade / degradês graciosos ═══ */

@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled, .toast, .chip, .mem, .ctabar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.scrolled { background: rgba(6, 6, 26, 0.96); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  #swimmer, .scroll-hint, .float-chips, .heart { display: none !important; }
  .hero-title .w, .hero-sub, .hero-cta, .hero-mascot { opacity: 1; transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* telas baixas (laptop pequeno, landscape) — tudo compacto */
@media (max-height: 640px) {
  .hero { padding-top: calc(60px + env(safe-area-inset-top)); padding-bottom: 60px; }
  .hero-mascot { width: clamp(170px, 34vh, 300px); }
  .hero-title { font-size: clamp(2.1rem, 4.6vw + 0.8rem, 4rem); }
  .hero-sub { font-size: clamp(0.9rem, 1vw + 0.6rem, 1.05rem); }
  .scroll-hint { display: none; }
  .scene-title { font-size: clamp(1.8rem, 3vw + 0.6rem, 3rem); }
  .center-pin .scene-note { display: none; }
  .bigclock { font-size: clamp(3.4rem, 12vh, 6.5rem); margin: 0; }
  .toasts { height: min(48svh, 300px); gap: 7px; }
  .toast { padding: 9px 12px; }
  .toast .t-body p { font-size: 12px; }
  .orbit { height: min(46svh, 260px); }
  .kicker { padding: 5px 11px; font-size: 11px; }
}

/* mobile — cena de lembretes compacta (precisa vir DEPOIS das regras base) */
@media (max-width: 759px) {
  #lembretes .scene-note { display: none; } /* o toast "7 de 7" já fecha a cena */
  .toasts { height: min(56svh, 470px); }
  .toast { padding: 9px 12px; gap: 8px; border-radius: 15px; }
  .toast .t-icon { width: 26px; height: 26px; }
  .toast .t-body b { font-size: 12px; }
  .toast .t-body p { font-size: 12.5px; }
  .bigclock { font-size: clamp(4rem, 22vw, 5.6rem); }
}

/* modo sem-motor (JS desligado pelo prefers-reduced-motion) */
.no-motion .scene { height: auto; }
.no-motion .scene-pin { position: relative; height: auto; min-height: 100svh; }
.no-motion .msg, .no-motion .toast, .no-motion .mem, .no-motion .t-reply {
  opacity: 1 !important; transform: none !important;
}
.no-motion .msg.typed .dots { display: none; }
.no-motion .msg.typed .body { display: block; }
.no-motion .orbit { height: auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 20px; }
.no-motion .mem { position: static; }
.no-motion .steps li { opacity: 1; color: var(--ink); }
