/* Landing da Lugoo, "uma cena por seção". A página inteira é noite: um canvas WebGL fixo por trás e, por cima, as cenas
   presas na tela (.b-sticky), cada uma com os seus painéis. Nada de desfoque de fundo sobre o 3D: os painéis são
   opacos (.q-panel). O JS só escreve transform e opacity. */
@font-face { font-family: "Fredoka"; src: url("../../fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../fonts/DMSans.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }

/* Tokens do design system (as telas do app, montadas em React, usam estes nomes) */
:root {
  --brand-roxo: #564196; --brand-noite: #2A1E52; --brand-noite-fundo: #17112F; --brand-coral: #FE5739; --brand-laranja: #FE8722;
  --brand-lilas: #EEE9F8; --brand-canela: #8A3F14; --on-brand: #FFFFFF; --on-brand-muted: #CFC6EA;
  --surface: #FFFFFF; --surface-soft: #F7F4FC; --surface-raised: #FFFFFF; --ink: #2A1E52; --ink-muted: #655C80;
  --line: #E3DDF2; --line-strong: #8E80B8; --primary: #564196; --primary-hover: #46347D; --on-primary: #FFFFFF;
  --primary-soft: #EEE9F8; --accent: #FE5739; --accent-text: #C23A1E; --warning: #FE8722; --success: #0E6E8C;
  --success-soft: #E1F2F7; --danger: #C23A1E; --danger-soft: #FCE9E4; --warning-soft: #FFF0E2; --warning-text: #9A4A07;
  --focus: #564196; --on-accent: #2A1E52; --on-warning: #2A1E52; --phone-body: #120C26;
  --shadow-1: 0 1px 2px rgba(42,30,82,0.08), 0 4px 12px rgba(42,30,82,0.06);
  --shadow-2: 0 18px 40px -12px rgba(42,30,82,0.28);
  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 32px; --radius-pill: 999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --bottom-nav-height: 72px; --sidebar-width: 264px;
  --out: cubic-bezier(.16, 1, .3, 1); --back: cubic-bezier(.3, 1.5, .5, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #17112F; overscroll-behavior-y: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: #17112F; color: var(--on-brand); overscroll-behavior-y: none;
  font-family: var(--font-sans); font-size: 15px; line-height: 22px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid #C9B9FF; outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- peças comuns ---------- */
.q-panel {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(62,46,118,.95), rgba(31,22,64,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07), 0 22px 48px -20px rgba(5,2,18,.8);
}
.q-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--radius-pill);
  font-size: 13px; line-height: 18px; font-weight: 500; color: var(--on-brand); background: rgba(23,17,47,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.q-chip b { background: var(--brand-laranja); color: var(--brand-noite); font-weight: 700; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 12px; }
.q-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px;
  border-radius: var(--radius-pill); border: 0; font: 600 16px/20px var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--on-brand); color: var(--brand-noite); transition: background-color .15s ease-out, transform .15s ease-out;
}
.q-btn:hover { background: var(--brand-lilas); }
.q-btn:active { transform: translateY(1px); }
.b-cta { box-shadow: 0 14px 34px -12px rgba(254,135,34,.6); }
.b-ghost, .b-soft {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: var(--radius-pill);
  font: 600 16px/20px var(--font-sans); text-decoration: none; color: var(--on-brand);
  background: rgba(23,17,47,.5); box-shadow: inset 0 0 0 1.5px rgba(238,233,248,.4); transition: box-shadow .15s ease-out, background-color .15s ease-out;
}
.b-ghost:hover, .b-soft:hover { box-shadow: inset 0 0 0 1.5px rgba(238,233,248,.85); background: rgba(23,17,47,.7); }
.b-soft { background: var(--brand-lilas); color: var(--brand-roxo); box-shadow: none; }
.b-soft:hover { background: #fff; box-shadow: none; }

.b-eyebrow { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-laranja); }
.b-h2 { margin-top: 12px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.02em; color: var(--on-brand); }
.b-h2-big { font-size: clamp(44px, 5.3vw, 80px); line-height: .98; }
.b-sub { margin-top: 18px; font-size: 18px; line-height: 27px; color: var(--on-brand-muted); max-width: 33em; }
.b-w { display: inline-block; will-change: transform, opacity; }
.b-w.is-hot, .b-hot { color: var(--brand-laranja); }

/* Sim e Não: só tipografia, cor e peso. Nada de glifo. */
.b-yes, .b-no { font: 700 13px/18px var(--font-sans); letter-spacing: .02em; white-space: nowrap; }
.b-yes { color: #FFA05A; }
.b-yes-dim { color: #E9C9A8; }
.b-no { color: #A99FCB; font-weight: 600; }

/* ---------- barra do menu (sem desfoque de fundo: é opaca) ---------- */
.b-top { position: fixed; z-index: 20; left: 0; right: 0; top: 0; padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(12px, 3vw, 32px) 0; pointer-events: none; }
.b-bar {
  pointer-events: auto; max-width: 1240px; margin: 0 auto; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 8px 0 22px; border-radius: var(--radius-pill); background: rgba(23,17,47,.84);
  box-shadow: inset 0 0 0 1px rgba(238,233,248,.12), 0 14px 30px -18px rgba(5,2,18,.9);
}
.b-brand img { height: 28px; width: auto; }
.b-nav { display: flex; align-items: center; gap: 24px; }
.b-nav a { position: relative; font-weight: 500; font-size: 15px; text-decoration: none; color: var(--on-brand-muted); transition: color .2s ease-out; }
.b-nav a:not(.b-nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--brand-laranja); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--out); }
.b-nav a:hover { color: #fff; }
.b-nav a.is-on { color: #fff; }
.b-nav a.is-on::after { transform: scaleX(1); }
.b-nav .b-nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--radius-pill); background: #fff; color: var(--brand-noite); font-weight: 600; font-size: 14px; }
.b-nav .b-nav-cta:hover { background: var(--brand-lilas); color: var(--brand-noite); }
@media (max-width: 860px) { .b-nav a:not(.b-nav-cta) { display: none; } }

/* ---------- o mundo: um canvas fixo, a sombra de leitura e o vinhete ---------- */
/* quadro de entrada: o mesmo degradê da noite e o quati em imagem no lugar do 3D, até o 1º quadro do 3D */
.b-boot { position: fixed; z-index: 0; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 62% 38%, #33266a 0%, #2A1E52 48%, #17112F 100%); }
.b-boot-q { position: absolute; left: 0; top: 0; width: auto; transform-origin: 0 0; opacity: 0; transition: opacity .35s ease-out; }
.b-boot-q.is-on { opacity: 1; }
.b-gl { position: fixed; z-index: 0; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; pointer-events: none;
  background: transparent; opacity: 1; transition: opacity .45s ease-out; }
.b-boot-on .b-gl { opacity: 0; }
.b-shade { position: fixed; z-index: 1; inset: 0; pointer-events: none; }
.b-shade > span { position: absolute; inset: 0; }
.b-shade-side { background: linear-gradient(90deg, rgba(20,14,42,.88) 0%, rgba(20,14,42,.6) 26%, rgba(20,14,42,0) 52%); will-change: opacity; }
.b-shade-vig { background: radial-gradient(140% 105% at 55% 45%, rgba(18,12,38,0) 56%, rgba(14,9,30,.72) 100%); }
.b-blink { position: fixed; z-index: 30; inset: 0; background: #17112F; opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- o filme: uma seção alta com a janela presa ---------- */
.b-js .b-film { position: relative; z-index: 2; height: var(--len, 2500vh); }
.b-js .b-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow-x: clip; overflow-y: visible; }
.b-anchor { position: absolute; left: 0; width: 1px; height: 1px; top: 0; }
.b-js .b-sc { position: absolute; inset: 0; pointer-events: none; }
.b-js .b-sc [data-ch], .b-js .b-pin-ui, .b-js .b-tag, .b-js .b-hud, .b-js .b-ph, .b-js .b-yn li { opacity: 0; visibility: hidden; will-change: transform, opacity; }
.b-js .b-s1 .b-hero { opacity: 1; visibility: visible; }
.b-sc .is-live { pointer-events: auto; }
.b-sticky { --top: 82px; --gx: clamp(28px, 5.6vw, 104px); --col: min(470px, 37vw); --hw: min(620px, 46vw); }

/* posições em paisagem (computador, tablet deitado): texto à esquerda, mundo à direita */
.b-hero, .b-shead, .b-card, .b-step, .b-res, .b-free, .b-bens {
  position: absolute; left: var(--gx); top: 0; bottom: 0; margin-block: auto; height: fit-content;
}
.b-hero { width: var(--hw); padding-top: 20px; }
.b-shead { width: var(--hw); }
.b-card, .b-step, .b-res, .b-bens { width: var(--col); }
.b-free { width: min(640px, 48vw); }

/* abertura */
.b-chip { margin-bottom: 22px; }
.b-h1 { font-size: clamp(46px, 5.6vw, 82px); line-height: .98; letter-spacing: -.025em; color: var(--on-brand); }
.b-lede { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--on-brand-muted); }
.b-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.b-proofs { display: flex; flex-wrap: wrap; row-gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--on-brand-muted); }
.b-proofs li { padding: 0 16px; }
.b-proofs li:first-child { padding-left: 0; }
.b-proofs li + li { box-shadow: inset 1px 0 0 rgba(207,198,234,.32); }
.b-hint { position: absolute; left: var(--gx); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; font: 500 14px/18px var(--font-sans); color: var(--on-brand-muted); }
.b-hint i { position: relative; width: 2px; height: 30px; border-radius: 2px; background: rgba(238,233,248,.18); overflow: hidden; }
.b-hint i::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--brand-laranja); transform-origin: 50% 0; animation: b-drip 2s var(--out) infinite; }
@keyframes b-drip { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* notificação, balões e rótulos presos ao 3D */
.b-pin-ui { position: absolute; left: 0; top: 0; }
.b-notif {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 22px; row-gap: 3px; min-width: 250px;
  padding: 14px 18px 15px; border-radius: 20px;
}
.b-notif strong { font: 600 18px/22px var(--font-display); color: var(--on-brand); }
.b-notif strong em { font-style: normal; color: #FF8A6E; }
.b-notif-when { font-size: 13px; line-height: 18px; color: rgba(207,198,234,.75); }
.b-notif-sub { grid-column: 1 / -1; font-size: 14px; line-height: 19px; color: var(--on-brand-muted); }
.b-bubble {
  display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 18px 18px 18px 5px; background: #fff; color: var(--brand-noite);
  font: 600 14px/18px var(--font-sans); box-shadow: 0 14px 30px -12px rgba(5,2,18,.8);
}
.b-label {
  display: inline-block; white-space: nowrap; padding: 7px 14px 8px; border-radius: var(--radius-pill); font: 600 15px/19px var(--font-display);
  color: #fff; background: rgba(23,17,47,.86); box-shadow: inset 0 0 0 1px rgba(255,138,110,.45), 0 12px 26px -14px rgba(5,2,18,.9);
}

/* problema */
.b-card { padding: 26px 30px 28px; }
.b-card-label { font: 600 26px/30px var(--font-display); color: var(--on-brand); margin-bottom: 18px; }
.b-new .b-card-label { color: #FFB27A; }
.b-yn { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.b-yn li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.b-yn strong { display: block; font-size: 17px; line-height: 23px; font-weight: 600; color: var(--on-brand); }
.b-yn span:not(.b-yes):not(.b-no) { display: block; margin-top: 2px; font-size: 15px; line-height: 21px; color: var(--on-brand-muted); }
.b-old strong { position: relative; display: inline-block; }
.b-old strong::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; border-radius: 2px; background: rgba(255,138,110,.85); transform: scaleX(var(--strike, 0)); transform-origin: 0 50%; }

/* como funciona (o palco da C, com os nomes desta versão) */
.b-intro { width: min(600px, 46vw); }
.b-tags { position: absolute; inset: 0; }
.b-tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap;
  padding: 6px 13px 7px 11px; border-radius: var(--radius-pill); font: 500 14px/18px var(--font-sans); color: var(--on-brand);
  background: rgba(23,17,47,.84); box-shadow: inset 0 0 0 1px rgba(238,233,248,.13), 0 10px 22px -12px rgba(5,2,18,.9);
}
.b-tag b { font: 600 17px/1 var(--font-display); color: var(--brand-laranja); }
.b-tag-main b { color: #FF7A5C; }
.b-tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; margin-left: -.5px; background: linear-gradient(rgba(238,233,248,.55), rgba(238,233,248,0)); }
.b-hud { position: absolute; left: var(--gx); top: calc(var(--top) + 14px); display: flex; align-items: center; gap: 16px; }
.b-hud-label { font: 600 14px/18px var(--font-sans); color: var(--on-brand-muted); }
.b-hud-nums { position: relative; display: flex; padding-bottom: 9px; }
.b-hud-nums i { display: block; width: 28px; text-align: center; font: 600 18px/22px var(--font-display); font-style: normal; color: rgba(207,198,234,.42); transform-origin: 50% 80%; transition: color .4s ease, transform .55s var(--back); }
.b-hud-nums i.is-done { color: rgba(255,255,255,.9); }
.b-hud-nums i.is-now { color: var(--brand-laranja); transform: translateY(-1px) scale(1.22); }
.b-hud-nums i.b-hud-main.is-now { color: #FF7A5C; }
.b-hud-track { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: rgba(207,198,234,.18); overflow: hidden; }
.b-hud-fill { position: absolute; inset: 0; border-radius: 2px; background: var(--brand-laranja); transform-origin: 0 50%; transform: scaleX(0); }
.b-step { padding: 26px 30px 30px; }
.b-num { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.b-num b { display: block; font: 600 96px/.78 var(--font-display); letter-spacing: -.03em; color: var(--brand-laranja); will-change: transform, opacity; }
.b-step-main .b-num b { color: #FF6A4A; }
.b-num span { display: block; font: 600 15px/1 var(--font-sans); color: var(--on-brand-muted); }
.b-step h3 { font-size: 32px; line-height: 36px; }
.b-step .b-txt { margin-top: 10px; font-size: 17px; line-height: 26px; color: var(--on-brand-muted); }
.b-note { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: min(760px, calc(100% - 2 * var(--gx))); margin-left: calc(min(760px, calc(100% - 2 * var(--gx))) / -2); padding: 16px 22px; border-radius: var(--radius-lg); }
.b-note p { font-size: 16px; line-height: 24px; color: var(--on-brand-muted); }
.b-note strong { color: var(--on-brand); }

/* recursos */
/* coluna flex e não grade: no Safari (WebKit) uma grade com height: fit-content posicionada estica até a tela toda */
.b-res, .b-bens { padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 22px; }
.b-ri { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
.b-ri-n { font: 600 58px/.82 var(--font-display); color: var(--brand-laranja); letter-spacing: -.03em; }
.b-ri h3, .b-ben h3 { font-size: 23px; line-height: 28px; }
.b-ri p, .b-ben p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--on-brand-muted); }
.b-free-big { font: 600 clamp(64px, 8.4vw, 132px)/.9 var(--font-display); letter-spacing: -.035em; color: #fff; }
.b-free .b-sub { margin-top: 24px; }
.b-free > div { margin-top: 28px; }

/* o app: celulares (as telas são montadas em React por app/screens.js) */
.b-phones { list-style: none; margin: 0; padding: 0; position: absolute; display: flex; justify-content: center; align-items: flex-end; gap: 26px; }
.b-ph figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.b-ph figcaption { display: grid; gap: 3px; text-align: center; max-width: 250px; }
.b-ph figcaption b { font: 600 19px/24px var(--font-display); color: #fff; }
.b-ph figcaption span { font-size: 14px; line-height: 20px; color: var(--on-brand-muted); }
.b-soon { margin-top: 18px; display: inline-block; font-size: 14px; line-height: 20px; font-weight: 600; color: #FFB27A; }
.b-appfoot { position: absolute; right: var(--gx); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 12px; line-height: 16px; color: rgba(207,198,234,.7); }
.b-s5 .b-shead { top: calc(var(--top) + 3vh); bottom: auto; margin: 0; width: min(430px, 31vw); }
.b-s5 .b-h2 { font-size: clamp(36px, 3.4vw, 52px); }
.b-s5 .b-sub { font-size: 17px; line-height: 26px; }
.b-phones { left: calc(var(--gx) + min(430px, 31vw) + 2vw); right: var(--gx); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.b-phones .phone-slot { --s: .58; }
@media (min-aspect-ratio: 11/10) and (max-height: 860px) { .b-phones .phone-slot { --s: .52; } .b-phones { gap: 18px; } }

/* para quem faz a festa */
.b-ben + .b-ben { padding-top: 20px; box-shadow: inset 0 1px 0 rgba(238,233,248,.1); }
.b-shead .b-soft { margin-top: 28px; }

/* dúvidas: título no alto */
.b-s8 .b-shead { top: calc(var(--top) + 2.5vh); bottom: auto; margin: 0; width: min(640px, 48vw); }
.b-s8 .b-h2 { font-size: clamp(34px, 3.4vw, 50px); }
.b-s8 .b-sub { font-size: 17px; line-height: 26px; margin-top: 12px; }

/* dúvidas */
.b-faq { position: absolute; left: var(--gx); bottom: calc(4vh + env(safe-area-inset-bottom, 0px)); width: min(640px, 48vw); max-height: calc(100svh - var(--top) - 250px); overflow-y: auto; padding: 8px; display: grid; gap: 4px; scrollbar-width: thin; scrollbar-color: rgba(207,198,234,.3) transparent; }
.b-faq details { border-radius: 18px; transition: background-color .25s ease-out; }
.b-faq details[open] { background: rgba(23,17,47,.45); }
.b-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; font-weight: 600; font-size: 16px; line-height: 22px; border-radius: 18px; color: #fff; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary:hover { background: rgba(255,255,255,.05); }
.b-plus { position: relative; flex: none; width: 14px; height: 14px; }
.b-plus::before, .b-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--brand-laranja); transition: transform .3s var(--out); }
.b-plus::after { transform: rotate(90deg); }
.b-faq details[open] .b-plus::after { transform: rotate(0deg); }
.b-faq details p { padding: 0 16px 16px; font-size: 15px; line-height: 23px; color: var(--on-brand-muted); max-width: 60ch; }

/* ---------- lista de espera: o último portal abre no roxo ---------- */
.b-wl {
  position: absolute; left: 0; right: 0; top: 0; min-height: 100%; z-index: 3; pointer-events: none;
  background: radial-gradient(110% 80% at 72% 40%, #6a52b4 0%, #564196 46%, #3f2e7e 100%);
  visibility: hidden; clip-path: circle(0px at 50% 50%);
}
.b-wl.is-open { pointer-events: auto; }
.b-wl-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-wl-in { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 6vw, 96px); align-items: center; padding: calc(var(--top) + 3vh) var(--gx) 5vh; max-width: 1320px; margin: 0 auto; }
.b-wl-copy h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.b-wl-copy p { margin-top: 18px; max-width: 30em; font-size: 18px; line-height: 27px; color: #E4DCF8; }
.b-wl-quati { position: relative; margin-top: 28px; width: 132px; }
.b-wl-quati img { width: 132px; height: auto; filter: drop-shadow(0 18px 24px rgba(20,10,50,.45)); }
.b-wl-quati .b-bubble { position: absolute; left: 110px; top: 4px; }
.wl-form { display: grid; gap: 16px; background: #fff; color: var(--ink); padding: 26px; border-radius: var(--radius-xl); box-shadow: 0 30px 60px -24px rgba(20,10,50,.6); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.field input {
  min-height: 48px; padding: 0 16px; border-radius: var(--radius-md); border: 1.5px solid #8E80B8;
  background: #fff; color: var(--ink); font: 400 16px/22px var(--font-sans);
}
.field input::placeholder { color: #655C80; }
.field input:focus-visible { outline: 2px solid #564196; outline-offset: 2px; border-color: #564196; }
.field input[aria-invalid="true"] { border-color: #C23A1E; }
.field .err { font-size: 13px; line-height: 17px; color: #C23A1E; font-weight: 500; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid #8E80B8; cursor: pointer; font-weight: 500; transition: background-color .15s ease-out, border-color .15s ease-out; }
.roles input:checked + label { background: #EEE9F8; border-color: #564196; color: #564196; font-weight: 600; }
.roles input:focus-visible + label { outline: 2px solid #564196; outline-offset: 2px; }
.wl-submit { min-height: 56px; border: 0; border-radius: var(--radius-pill); background: #564196; color: #fff; font: 600 16px/20px var(--font-sans); cursor: pointer; transition: background-color .15s ease-out; }
.wl-submit:hover { background: #46347D; }
.wl-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.wl-submit[aria-busy="true"] { background: #6B57A8; cursor: progress; }
.wl-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: wl-girar .9s linear infinite; }
.wl-submit[aria-busy="true"] .wl-spin { display: block; }
@keyframes wl-girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wl-spin { animation: none; } }
.wl-send-err { background: #FCE9E4; color: #C23A1E; border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; line-height: 19px; font-weight: 500; }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 13px; line-height: 18px; color: #655C80; }
.wl-done { justify-items: start; }
.wl-done .ok { font: 700 14px/18px var(--font-sans); color: #564196; letter-spacing: .02em; }
.wl-done h3 { font-size: 26px; line-height: 30px; color: var(--ink); }
.wl-done p { color: #655C80; }
.b-spill { height: 0; }

/* ---------- rodapé: a faixa dos anéis da cauda ---------- */
.b-foot { position: relative; z-index: 4; background: #17112F; color: var(--on-brand-muted); }
.b-tail { height: 16px; background: repeating-linear-gradient(90deg, var(--brand-laranja) 0 40px, var(--brand-canela) 40px 80px); border-radius: 0; }
.b-foot-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 44px clamp(20px, 4vw, 32px) calc(44px + env(safe-area-inset-bottom, 0px)); }
.b-foot-in img { height: 28px; width: auto; }
.b-foot nav { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 14px; }
.b-foot nav a { text-decoration: none; }
.b-foot nav a:hover { color: #fff; }
.b-foot small { font-size: 12px; width: 100%; }
.b-foot small a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.b-foot small a:hover { color: var(--brand-laranja); }
/* Selo da instituição de pagamento com o logotipo do Asaas (LUG-1182): cartão neutro com filete, logo em branco. */
.selo-asaas { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 20px; font-size: 13px; line-height: 20px; display: grid; gap: 4px; }
.selo-asaas p { margin: 0; max-width: 90ch; }
.selo-asaas a, .selo-asaas-canais a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.selo-asaas a:hover { color: var(--brand-laranja); }
.selo-asaas-titulo, .selo-asaas-faq { display: flex; align-items: flex-start; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; }
.selo-asaas p.selo-asaas-titulo { margin-bottom: 4px; }
.selo-asaas-marca { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.selo-asaas-escudo { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--brand-laranja); }
.selo-asaas-logo { height: 14px; width: auto; aspect-ratio: 100 / 17; color: #fff; flex: none; }
.selo-asaas-canais { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.selo-asaas-canais dt { color: #fff; font-weight: 600; }
.selo-asaas-canais dd { margin: 0; }
.b-faq details p.selo-asaas-faq { padding: 0 16px 16px; font-size: 14px; color: #fff; }
@media (max-width: 560px) { .selo-asaas-canais { grid-template-columns: 1fr; } .selo-asaas-canais dd + dt { margin-top: 6px; } }

/* ================================================================ retrato: mundo em cima, painel embaixo */
@media (max-aspect-ratio: 11/10) {
  .b-sticky { --top: 78px; --gx: 20px; }
  .b-shade-side { background: linear-gradient(180deg, rgba(20,14,42,.82) 0%, rgba(20,14,42,.4) 20%, rgba(20,14,42,0) 36%, rgba(20,14,42,0) 52%, rgba(20,14,42,.7) 74%, rgba(20,14,42,.92) 100%); }
  .b-hero { left: 20px; right: 20px; width: auto; top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 0; }
  .b-chip { margin-bottom: 14px; }
  .b-h1 { font-size: clamp(34px, 9.4vw, 64px); line-height: 1.02; }
  .b-lede { margin-top: 12px; font-size: 15px; line-height: 22px; }
  .b-actions { margin-top: 16px; gap: 10px; }
  .b-actions a { flex: 1 1 100%; min-height: 50px; }
  .b-proofs { margin-top: 14px; font-size: 13px; }
  .b-proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-proofs li { padding: 0 8px; text-align: center; text-wrap: balance; }
  .b-proofs li:first-child { padding-left: 0; }
  .b-hint { display: none; }
  .b-shead { left: 20px; right: 20px; width: auto; top: calc(var(--top) + 6px); bottom: auto; margin: 0; }
  .b-h2 { margin-top: 8px; font-size: clamp(30px, 8.2vw, 54px); line-height: 1.04; }
  .b-h2-big { font-size: clamp(36px, 10vw, 64px); }
  .b-sub { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .b-eyebrow { font-size: 12px; }
  .b-card, .b-step, .b-res, .b-bens, .b-free { left: 14px; right: 14px; width: auto; top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0; }
  /* presos só embaixo: altura do conteúdo. O fit-content da regra geral faz o Safari esticar a grade do passo até a tela toda */
  .b-hero, .b-shead, .b-card, .b-step, .b-res, .b-bens, .b-free { height: auto; }
  .b-card { padding: 18px 18px 20px; border-radius: 26px; }
  .b-card-label { font-size: 22px; line-height: 26px; margin-bottom: 12px; }
  .b-yn { gap: 11px; }
  .b-yn li { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; }
  .b-yn strong { font-size: 15px; line-height: 20px; }
  .b-yn span:not(.b-yes):not(.b-no) { font-size: 14px; line-height: 19px; }
  .b-step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 18px 20px 20px; border-radius: 26px; }
  .b-num { grid-row: 1 / span 2; flex-direction: column; align-items: center; gap: 6px; margin: 2px 0 0; min-width: 40px; }
  .b-num b { font-size: 62px; }
  .b-num span { font-size: 13px; }
  .b-step h3 { font-size: 23px; line-height: 28px; }
  .b-step .b-txt { margin-top: 6px; font-size: 15px; line-height: 22px; }
  .b-hud { top: calc(var(--top) + 8px); gap: 12px; }
  .b-intro { width: auto; }
  .b-note { left: 14px; right: 14px; width: auto; margin: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; }
  .b-note p { font-size: 14px; line-height: 21px; }
  .b-res, .b-bens { padding: 18px 18px 20px; gap: 14px; border-radius: 26px; }
  .b-ri { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .b-ri-n { font-size: 40px; }
  .b-ri h3, .b-ben h3 { font-size: 19px; line-height: 24px; }
  .b-ri p, .b-ben p { margin-top: 3px; font-size: 14px; line-height: 20px; }
  .b-ben + .b-ben { padding-top: 14px; }
  .b-free { left: 20px; right: 20px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .b-free-big { font-size: clamp(54px, 15vw, 104px); }
  .b-free .b-sub { margin-top: 14px; }
  .b-free > div { margin-top: 18px; }
  .b-free .q-btn { width: 100%; }
  .b-s5 .b-shead, .b-s8 .b-shead { left: 20px; right: 20px; width: auto; top: calc(var(--top) + 6px); }
  .b-s5 .b-h2, .b-s8 .b-h2 { font-size: clamp(30px, 8.2vw, 54px); }
  .b-s5 .b-sub, .b-s8 .b-sub { font-size: 15px; line-height: 22px; margin-top: 10px; }
  .b-soon { margin-top: 12px; }
  .b-phones { left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: block; height: calc(740px * .54 + 96px); }
  .b-ph { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
  .b-ph figure { gap: 10px; }
  .b-phones .phone-slot { --s: .54; }
  .b-ph figcaption { max-width: 320px; padding: 0 16px; }
  .b-ph figcaption b { font-size: 18px; line-height: 22px; }
  .b-appfoot { left: 20px; right: 20px; text-align: center; bottom: calc(4px + env(safe-area-inset-bottom, 0px)); font-size: 11px; }
  .b-faq { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-height: 62svh; padding: 6px; border-radius: 24px; }
  .b-faq summary { font-size: 15px; line-height: 21px; padding: 12px 12px; }
  .b-faq details p { padding: 0 12px 14px; font-size: 14px; line-height: 21px; }
  .b-wl-in { grid-template-columns: 1fr; align-items: start; gap: 22px; padding: calc(var(--top) + 18px) 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .b-wl-copy h2 { font-size: clamp(32px, 8.8vw, 56px); }
  .b-wl-copy p { margin-top: 10px; font-size: 16px; line-height: 24px; }
  .b-wl-quati { position: absolute; right: 4px; top: -6px; width: 84px; margin: 0; }
  .b-wl-quati img { width: 84px; }
  .b-wl-quati .b-bubble { left: auto; right: 64px; top: -12px; font-size: 13px; padding: 6px 11px; }
  .b-wl-copy { position: relative; padding-right: 0; }
  .b-wl-copy h2 { padding-right: 84px; }
  .wl-form { padding: 20px; gap: 14px; border-radius: 26px; }
}
/* tablet em pé: mais respiro, blocos centrados */
@media (max-aspect-ratio: 11/10) and (min-width: 700px) {
  .b-sticky { --top: 86px; --gx: 48px; }
  .b-hero { left: 48px; right: 48px; bottom: 44px; max-width: 680px; }
  .b-h1 { font-size: 64px; }
  .b-lede { margin-top: 18px; font-size: 18px; line-height: 27px; }
  .b-actions a { flex: 0 0 auto; }
  .b-proofs { font-size: 14px; margin-top: 20px; display: flex; }
  .b-proofs li { padding: 0 16px; text-align: left; }
  .b-shead, .b-s5 .b-shead, .b-s8 .b-shead { left: 48px; right: 48px; top: calc(var(--top) + 18px); max-width: 640px; }
  .b-h2, .b-s5 .b-h2, .b-s8 .b-h2 { font-size: 50px; }
  .b-h2-big { font-size: 62px; }
  .b-sub, .b-s5 .b-sub, .b-s8 .b-sub { font-size: 18px; line-height: 27px; margin-top: 14px; }
  .b-card, .b-step, .b-res, .b-bens, .b-note, .b-faq { left: 0; right: 0; margin: 0 auto; width: min(640px, calc(100% - 96px)); bottom: 44px; }
  .b-free { left: 48px; right: 48px; bottom: 48px; max-width: 640px; }
  .b-free .q-btn { width: auto; }
  .b-card, .b-res, .b-bens { padding: 26px 30px 28px; border-radius: var(--radius-xl); }
  .b-card-label { font-size: 26px; line-height: 30px; }
  .b-yn strong { font-size: 17px; line-height: 23px; }
  .b-yn span:not(.b-yes):not(.b-no) { font-size: 15px; line-height: 21px; }
  .b-step { column-gap: 24px; padding: 26px 30px 28px; border-radius: var(--radius-xl); }
  .b-num b { font-size: 84px; }
  .b-step h3 { font-size: 30px; line-height: 34px; }
  .b-step .b-txt { font-size: 17px; line-height: 26px; }
  .b-ri h3, .b-ben h3 { font-size: 22px; line-height: 27px; }
  .b-ri p, .b-ben p { font-size: 16px; line-height: 24px; }
  .b-ri-n { font-size: 52px; }
  .b-ri { grid-template-columns: 46px minmax(0, 1fr); }
  .b-phones .phone-slot { --s: .74; }
  .b-phones { height: calc(740px * .74 + 100px); }
  .b-ph figcaption b { font-size: 20px; }
  .b-faq { max-height: 58svh; }
  .b-wl-in { padding: calc(var(--top) + 40px) 48px 48px; max-width: 720px; }
  .b-wl-quati { width: 120px; }
  .b-wl-quati img { width: 120px; }
  .b-wl-copy h2 { padding-right: 120px; }
}
/* paisagem baixa (tablet deitado, notebook pequeno) */
@media (min-aspect-ratio: 11/10) and (max-height: 860px) {
  .b-sticky { --top: 78px; }
  .b-h1 { font-size: clamp(44px, 5vw, 64px); }
  .b-lede { margin-top: 18px; font-size: 17px; }
  .b-actions { margin-top: 22px; }
  .b-num b { font-size: 84px; }
  .b-step { padding: 24px 28px 26px; }
  .b-step h3 { font-size: 30px; line-height: 34px; }
  .b-res, .b-bens, .b-card { padding: 22px 26px 24px; gap: 18px; }
  .b-yn { gap: 12px; }
  .b-faq { max-height: calc(100svh - var(--top) - 210px); }
}

/* ---------- aparelho fraco e movimento reduzido ---------- */
.b-low .b-hint i::after { animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .b-hint i::after { animation: none; transform: none; }
  .b-hud-nums i, .b-plus::before, .b-plus::after, .b-nav a::after { transition-duration: .01s !important; }
}

/* ---------- sem WebGL: um quadro estático do mapa (desenhado em 2D) e o quati em imagem ---------- */
.b-nogl .b-gl { display: none; }
.b-nogl .b-boot-q { display: none; }
.b-flat { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.b-flat-quati { position: fixed; z-index: 0; right: 7%; bottom: 8%; height: min(48vh, 440px); width: auto; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(5,2,18,.55)); }
@media (max-aspect-ratio: 11/10) { .b-flat-quati { right: 50%; transform: translateX(50%); bottom: auto; top: 14vh; height: min(26vh, 260px); } }

/* ---------- sem JavaScript: as seções ficam empilhadas, como uma página comum ---------- */
html:not(.b-js) .b-gl, html:not(.b-js) .b-shade, html:not(.b-js) .b-pin-ui, html:not(.b-js) .b-tags, html:not(.b-js) .b-hud, html:not(.b-js) .b-hint, html:not(.b-js) .b-blink { display: none; }
html:not(.b-js) .b-sc { position: relative; padding: 110px 24px 48px; max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
html:not(.b-js) .b-sc > * { position: static !important; width: auto !important; margin: 0; height: auto; }
html:not(.b-js) .b-wl { position: relative; visibility: visible; clip-path: none; pointer-events: auto; }
html:not(.b-js) .b-phones { display: flex; flex-wrap: wrap; }

/* ---------- celulares: mesmo desenho da landing (as telas são montadas com os componentes do design system) ---------- */
.phone-slot { --s: .8; position: relative; flex: none; width: calc(360px * var(--s)); height: calc(740px * var(--s)); }
.phone {
  position: absolute; top: 0; left: 0; width: 360px; height: 740px; padding: 10px;
  transform: scale(var(--s)); transform-origin: top left;
  border-radius: 50px; background: var(--phone-body);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 2px rgba(255,255,255,.06), var(--shadow-2);
}
.scr {
  position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--surface-soft); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; line-height: 22px; text-align: left;
}
.scr.is-plain { background: var(--surface); }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: var(--phone-body); z-index: 6; }
.sbar { position: relative; z-index: 5; flex: none; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 4px 28px 0; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sbar.on-photo { position: absolute; inset: 0 0 auto; color: #FFFFFF; }
.sbar svg { display: block; }
.cnt { flex: 1; min-height: 0; overflow: hidden; padding: 4px 22px 0; display: flex; flex-direction: column; gap: 14px; }
.scr-title { font-family: var(--font-display); font-weight: 600; font-size: 29px; line-height: 33px; margin: 6px 0 2px; letter-spacing: -.005em; }
.scr-sec { display: flex; justify-content: space-between; align-items: center; }
.scr-sec b { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.scr-chips { display: flex; gap: 8px; margin-inline: -22px; padding-inline: 22px; overflow: hidden; }
.scr-list { display: flex; flex-direction: column; gap: 14px; }
.scr-logo { height: 24px; width: auto; align-self: flex-start; }
.cnt > *, .sheet > *, .cf-body > * { flex-shrink: 0; }
.sum-thumb .lg-confetti { position: absolute; inset: 0; }
.scr .lg-bnav { flex: none; }
.scr .lg-venue { max-width: none; }

.gal { position: relative; flex: none; height: 230px; background: var(--brand-coral); overflow: hidden; }
.gal .lg-confetti { position: absolute; inset: 0; }
.gal-btn { position: absolute; top: 52px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); }
.gal-btn.l { left: 18px; } .gal-btn.r { right: 18px; color: var(--accent); }
.gal-count { position: absolute; right: 18px; bottom: 30px; padding: 2px 10px; border-radius: 999px; background: rgba(23,17,47,.6); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.sheet { position: relative; z-index: 2; flex: 1; min-height: 0; margin-top: -22px; border-radius: 26px 26px 0 0; background: var(--surface); padding: 20px 22px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.sheet .scr-title { font-size: 26px; line-height: 30px; margin: 0; }
.scr-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); }
.scr-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet .lg-cal { padding: 0; box-shadow: none; border: 0; background: transparent; }
.buybar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 26px; background: var(--surface-raised); border-top: 1px solid var(--line); }
.buybar strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 24px; }
.buybar > div > span { font-size: 12px; color: var(--ink-muted); }

.scr-head { display: flex; align-items: center; gap: 12px; }
.scr-head .gal-btn { position: static; box-shadow: none; background: var(--surface-soft); }
.scr-head .scr-title { font-size: 24px; margin: 0; }
.sum { border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.sum-top { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sum-thumb { position: relative; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--brand-coral); flex: none; }
.sum-top b { display: block; font-size: 15px; }
.sum-top div > span { font-size: 12px; color: var(--ink-muted); }
.sum-row { display: flex; justify-content: space-between; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sum-row.total { color: var(--ink); font-weight: 600; padding-top: 8px; border-top: 1px dashed var(--line); align-items: baseline; }
.sum-row.total strong { font-family: var(--font-display); font-size: 20px; }
.pix { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--primary-soft); font-size: 13px; line-height: 18px; color: var(--ink); }
.pix b { display: block; color: var(--primary); font-size: 14px; }
.pix svg { flex: none; color: var(--primary); margin-top: 1px; }
.scr-cta { flex: none; padding: 12px 22px 28px; }

.cf-top { position: relative; flex: none; height: 250px; background: var(--brand-noite); display: grid; place-items: center; overflow: hidden; }
.cf-top .lg-confetti { position: absolute; inset: 0; }
.cf-top img { position: relative; width: 132px; height: 132px; margin-top: 24px; }
.cf-body { flex: 1; min-height: 0; padding: 20px 22px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.cf-body .scr-title { font-size: 26px; line-height: 30px; margin: 0; }
.cf-body p { color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.cf-body .lg-ticket { box-shadow: var(--shadow-1); }
.cf-body .lg-ticket__main { padding: 16px; }
.fall { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.fall svg { position: absolute; top: -40px; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .fall.go svg { animation: drop 1.2s cubic-bezier(.3,.6,.5,1) forwards; }
  @keyframes drop {
    0% { opacity: 0; transform: translateY(0) rotate(0); }
    12% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(var(--dy, 420px)) rotate(var(--rot, 120deg)); }
  }
}

.hrow { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.hdate { flex: none; width: 46px; padding: 5px 0; border-radius: 14px; text-align: center; background: var(--primary-soft); color: var(--primary); }
.hdate b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 22px; }
.hdate span { display: block; font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .06em; }
.hinfo { flex: 1; min-width: 0; }
.hinfo b { display: block; font-size: 14px; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hinfo span { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.hcal { padding: 10px 12px 4px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.hcal .lg-cal { padding: 0; box-shadow: none; border: 0; background: transparent; }
.hsub { font-size: 13px; color: var(--ink-muted); margin-top: -10px; }

.phone-slot {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --gx: 50%; --gy: 20%;
  transform: perspective(1100px) rotate(var(--rot, 0deg)) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transform-origin: 50% 60%;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s ease-out, filter .3s ease-out;
  will-change: transform;
}
.phone-slot.is-tilting { transition: transform .12s linear, opacity .3s ease-out, filter .3s ease-out; }
.phone-slot::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: calc(50px * var(--s));
  background:
    radial-gradient(260px circle at var(--gx) var(--gy), rgba(255,255,255,.32), transparent 55%),
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 45%, transparent 55%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s ease-out;
}
.phone { transition: box-shadow .4s ease-out; }
@media (hover: hover) {
  .phone-slot:hover { --ty: -10px; }
  .phone-slot:hover::after { opacity: 1; }
  .phone-slot:hover .phone { box-shadow: 0 0 0 1.5px rgba(255,255,255,.2), inset 0 0 0 2px rgba(255,255,255,.08), 0 40px 70px -24px rgba(42,30,82,.55); }
  .b-phones:hover li .phone-slot:not(:hover) { opacity: .7; filter: saturate(.75); }

  /* Início: a lista rola e os chips deslizam */
  .cnt > *, .scr-chips > * { transition: transform 1.4s cubic-bezier(.45,0,.2,1); }
  .phone-slot:hover [data-screen="home"] .cnt > *, .phone-slot:hover [data-screen="host"] .cnt > * { transform: translateY(-170px); }
  .phone-slot:hover [data-screen="home"] .scr-chips > * { transform: translateX(-46px); }

  /* Espaço: o dia escolhido pulsa e o botão acende */
  .phone-slot:hover [data-screen="venue"] .lg-cal__day.is-selected { animation: day-pulse 1.1s ease-out infinite; }
  .phone-slot:hover [data-screen="venue"] .buybar .lg-btn { box-shadow: 0 0 0 4px var(--primary-soft), 0 10px 22px -8px var(--primary); }

  /* Reserva: brilho passa pelo botão de pagar */
  .scr-cta .lg-btn { position: relative; overflow: hidden; }
  .scr-cta .lg-btn::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  }
  .phone-slot:hover [data-screen="checkout"] .scr-cta .lg-btn::after { animation: sheen 1.6s ease-in-out infinite; }
  .phone-slot:hover [data-screen="checkout"] .pix { box-shadow: inset 0 0 0 1.5px var(--primary); }
}
@keyframes day-pulse { 0% { box-shadow: 0 0 0 0 var(--primary); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
  .phone-slot { transform: rotate(var(--rot, 0deg)) !important; }
  .cnt > *, .scr-chips > * { transform: none !important; }
}

/* celulares: telas sempre no tema claro do app, um logo só (o claro), proporção do aparelho preservada */
.phone { color-scheme: light; }
.scr .logo-dark { display: none !important; }
.scr .logo-light { display: block; }
.b-ph { will-change: transform, opacity; }
.scr-chips > * { flex-shrink: 0; white-space: nowrap; }

/* ---------- trilha da página ---------- */
.b-trail { position: fixed; z-index: 19; right: clamp(12px, 1.8vw, 28px); top: 50%; transform: translateY(-50%); transition: opacity .3s ease-out; }
.b-trail.is-off { opacity: 0; pointer-events: none; }
.b-trail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; justify-items: end; }
.b-trail a {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; padding: 4px 0; text-decoration: none;
  font: 500 13px/16px var(--font-sans); color: rgba(207,198,234,.62); text-shadow: 0 1px 10px rgba(10,6,28,.95), 0 0 2px rgba(10,6,28,.8);
}
.b-tn { min-width: 22px; text-align: right; font: 600 13px/16px var(--font-display); font-variant-numeric: tabular-nums; color: rgba(207,198,234,.72); transition: color .3s ease; }
.b-tname { white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s ease, transform .4s var(--out); }
.b-trail:hover .b-tname, .b-trail a.is-on .b-tname { opacity: 1; transform: none; }
.b-trail a:hover { color: #fff; }
.b-trail a.is-on { color: #fff; font-weight: 600; }
.b-trail a.is-on .b-tn { color: var(--brand-laranja); }
.b-tnow { position: absolute; top: 0; right: 32px; margin: 0; display: grid; justify-items: end; gap: 5px; width: max-content; max-width: 220px; pointer-events: none; transition: transform .45s var(--out); }
.b-tnow-sub { font: 600 12px/15px var(--font-sans); color: #FFB27A; text-shadow: 0 1px 10px rgba(10,6,28,.95); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.b-tbar { position: relative; display: block; width: 96px; height: 2px; border-radius: 2px; background: rgba(207,198,234,.22); overflow: hidden; }
.b-tbar i { position: absolute; inset: 0; border-radius: 2px; background: var(--brand-laranja); transform-origin: 0 50%; transform: scaleX(0); }
.b-trail:hover .b-tnow { opacity: 0; }
@media (max-aspect-ratio: 11/10) {
  .b-trail { left: 12px; right: 12px; top: calc(76px + env(safe-area-inset-top, 0px)); transform: none; padding: 7px 14px 9px; border-radius: 16px;
    background: rgba(23,17,47,.88); box-shadow: inset 0 0 0 1px rgba(238,233,248,.12), 0 12px 26px -16px rgba(5,2,18,.9); }
  .b-trail ol { justify-items: stretch; gap: 0; }
  .b-trail li { display: none; }
  .b-trail li.is-on { display: block; }
  .b-trail a { justify-content: flex-start; flex-direction: row-reverse; padding: 0; gap: 8px; font-size: 14px; line-height: 18px; text-shadow: none; }
  .b-tn { min-width: 0; font-size: 14px; }
  .b-tname { opacity: 1; transform: none; }
  .b-tnow { position: static; justify-items: stretch; width: auto; max-width: none; gap: 6px; margin-top: 3px; transform: none !important; }
  .b-tnow-sub { max-width: none; font-size: 13px; line-height: 16px; text-shadow: none; }
  .b-tbar { width: 100%; }
  .b-trail:hover .b-tnow { opacity: 1; }
  .b-trail.is-open { background: #1d1540; }
  .b-trail.is-open li { display: block; }
  .b-trail.is-open a { padding: 7px 0; }
  .b-trail.is-open .b-tnow { display: none; }
  .b-sticky { --top: 116px; }
}
@media (max-aspect-ratio: 11/10) and (min-width: 700px) {
  .b-trail { left: 48px; right: 48px; top: calc(80px + env(safe-area-inset-top, 0px)); }
  .b-sticky { --top: 128px; }
}

/* o marcador 1 a 5 do Como funciona saiu: a trilha já diz a cena, o passo e o progresso */
.b-hud { display: none !important; }

/* ================================================================ retrato (celular e tablet em pé): faixas que nunca se sobrepõem
   topo (cabeçalho e trilha) / texto da etapa / palco 3D / painel e botões. O JS mede a trilha e escreve --top;
   quando o palco fica pequeno demais, ele sobe a densidade da cena (.b-d1 menor, .b-d2 sem a frase secundária,
   .b-d3 sem a descrição dos itens) até o palco caber. */
@media (max-aspect-ratio: 11/10) {
  .b-bar { height: 52px; padding: 0 6px 0 16px; }
  .b-top { padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  .b-brand img { height: 24px; }
  .b-nav .b-nav-cta { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .b-trail { top: calc(66px + env(safe-area-inset-top, 0px)); padding: 6px 14px 8px; }
  .b-tnow { margin-top: 2px; gap: 4px; }
  .b-h1, .b-h2, .b-card-label, .b-step h3, .b-ri h3, .b-ben h3, .b-free-big { overflow-wrap: normal; word-break: normal; hyphens: manual; }
  /* corpo de leitura com pelo menos 15 px */
  .b-yn span:not(.b-yes):not(.b-no), .b-ri p, .b-ben p, .b-note p, .b-faq details p { font-size: 15px; line-height: 21px; }
  .b-ph figcaption span { font-size: 15px; line-height: 20px; }
  .b-faq { max-height: var(--faqmax, 62svh); }
  .b-phones .phone-slot { --s: var(--ps, .54); }
  .b-phones { height: calc(740px * var(--ps, .54) + 96px); }
}
/* telas baixas: a trilha é uma linha só (número, nome e o traço), sem o subtítulo */
@media (max-aspect-ratio: 11/10) and (max-height: 779px) {
  .b-tnow-sub { display: none; }
  .b-trail { padding: 6px 14px 7px; }
  .b-trail a { font-size: 14px; line-height: 17px; }
}
@media (max-aspect-ratio: 11/10) {
  /* densidade 1: tipografia e espaçamentos menores */
  .b-d1 .b-h1 { font-size: 30px; line-height: 1.04; }
  .b-d1 .b-chip { margin-bottom: 8px; }
  .b-d1 .b-lede { margin-top: 8px; font-size: 15px; line-height: 21px; }
  .b-d1 .b-actions { margin-top: 12px; gap: 8px; }
  .b-d1 .b-actions a { min-height: 44px; }
  .b-d1 .b-proofs { margin-top: 10px; }
  .b-d1 .b-h2 { margin-top: 4px; font-size: 26px; line-height: 1.08; }
  .b-d1 .b-h2-big { font-size: 30px; }
  .b-d1 .b-sub { margin-top: 6px; font-size: 15px; line-height: 21px; }
  .b-d1 .b-soon { margin-top: 6px; }
  .b-d1 .b-card { padding: 12px 14px 14px; }
  .b-d1 .b-card-label { font-size: 19px; line-height: 22px; margin-bottom: 8px; }
  .b-d1 .b-yn { gap: 8px; }
  .b-d1 .b-yn strong { font-size: 15px; line-height: 19px; }
  .b-d1 .b-yn span:not(.b-yes):not(.b-no) { line-height: 19px; }
  .b-d1 .b-step { padding: 12px 14px 14px; column-gap: 12px; }
  .b-d1 .b-num b { font-size: 46px; }
  .b-d1 .b-step h3 { font-size: 20px; line-height: 24px; }
  .b-d1 .b-step .b-txt { margin-top: 4px; line-height: 20px; }
  .b-d1 .b-note { padding: 10px 12px; }
  .b-d1 .b-note p { line-height: 20px; }
  .b-d1 .b-res, .b-d1 .b-bens { padding: 12px 14px 14px; gap: 10px; }
  .b-d1 .b-ri-n { font-size: 30px; }
  .b-d1 .b-ri h3, .b-d1 .b-ben h3 { font-size: 17px; line-height: 21px; }
  .b-d1 .b-ri p, .b-d1 .b-ben p { line-height: 20px; }
  .b-d1 .b-ben + .b-ben { padding-top: 10px; }
  .b-d1 .b-free-big { font-size: 46px; }
  .b-d1 .b-free .b-sub { margin-top: 8px; }
  .b-d1 .b-free > div { margin-top: 12px; }
  .b-d1 .b-free .q-btn, .b-d1 .b-soft { min-height: 44px; }
  .b-d1 .b-shead .b-soft { margin-top: 12px; }
  /* densidade 2: sem a frase secundária (o título e a frase principal ficam) */
  .b-d2 .b-more { display: none; }
  /* densidade 3: os itens ficam só com o título */
  .b-d3 .b-yn span:not(.b-yes):not(.b-no), .b-d3 .b-ri p, .b-d3 .b-ben p { display: none; }
  .b-d3 .b-yn li { align-items: center; }
}
@media (max-aspect-ratio: 11/10) {
  .b-d1 .b-hero { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .b-d3 .b-proofs { display: none; }
  .b-d1 .b-notif { min-width: 0; padding: 9px 13px 10px; column-gap: 14px; }
  .b-d1 .b-notif strong { font-size: 16px; line-height: 20px; }
  .b-d1 .b-notif-sub { font-size: 14px; line-height: 18px; }
}
@media (max-aspect-ratio: 11/10) {
  .b-phones { bottom: calc(46px + env(safe-area-inset-bottom, 0px)); }
  .b-appfoot { font-size: 12px; line-height: 15px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}
/* paisagem: o subtítulo da trilha quebra em até duas linhas estreitas; os celulares do app ficam à esquerda da trilha */
@media (min-aspect-ratio: 11/10) {
  .b-tnow { max-width: 150px; }
  .b-tnow-sub { white-space: normal; max-width: 150px; text-align: right; text-wrap: balance; }
  .b-phones .phone-slot { --s: var(--ps, .58); }
  .b-phones { right: var(--phr, var(--gx)); gap: 18px; }
}
/* ---- sombra que acompanha a faixa livre do capítulo (o 3D escurece por baixo dos textos e da trilha) ---- */
@media (max-aspect-ratio: 11/10) {
  .b-shade-side.is-dyn { background: linear-gradient(180deg,
    rgba(20,14,42,.92) 0px, rgba(20,14,42,.9) calc(var(--sb0) - 30px), rgba(20,14,42,0) calc(var(--sb0) + 8px),
    rgba(20,14,42,0) calc(var(--sb1) - 8px), rgba(20,14,42,.9) calc(var(--sb1) + 30px), rgba(20,14,42,.94) 100%); }
}
@media (min-aspect-ratio: 11/10) {
  .b-shade-side.is-dyn { background: linear-gradient(90deg,
    rgba(20,14,42,.9) 0px, rgba(20,14,42,.8) calc(var(--sbx0) - 70px), rgba(20,14,42,0) calc(var(--sbx0) + 10px),
    rgba(20,14,42,0) calc(var(--sbx1) - 10px), rgba(20,14,42,.55) calc(var(--sbx1) + 40px), rgba(20,14,42,.6) 100%); }
}
/* ---- celulares do app: um por vez e grandes (tablet, telas até ~1100 e celular) ---- */
.b-phones.b-one { display: block; height: calc(740px * var(--ps, .7) + 100px); }
.b-phones.b-one .b-ph { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.b-phones.b-one .b-ph figure { gap: 12px; }
.b-phones.b-one .b-ph figcaption { max-width: 340px; }
/* não cabe inteiro na altura: legenda logo abaixo da trilha, aparelho continua para fora da borda de baixo */
@media (max-aspect-ratio: 11/10) {
  .b-phones.b-phcrop { top: var(--phtop, 120px); bottom: 0; height: auto; overflow: hidden; }
  .b-phones.b-phcrop .b-ph { bottom: auto; top: 0; }
  .b-phones.b-phcrop .b-ph figure { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
  .b-phcrop-on .b-appfoot { bottom: auto; top: calc(var(--top) + 2px); }
}
/* paisagem estreita (~860 de largura): notificação mais compacta, sem invadir a trilha nem o título */
@media (min-aspect-ratio: 11/10) and (max-width: 960px) {
  .b-notif { min-width: 0; max-width: 248px; column-gap: 14px; }
}
