/* =========================================================
   Truman Car Detail · "A luz não mente."
   Azul-meia-noite, dourado do escudo, branco-luz, verde-água.
   ========================================================= */
:root {
  --bg: #04060C;
  --bg-2: #070B16;
  --gold: #C8A55A;
  --gold-hi: #E7CC8F;
  --gold-lo: #7E6430;
  --ink: #F2F4F8;
  --muted: #A3AEC6;
  --dim: #66728C;
  --teal: #4FB7B3;
  --line: rgba(242, 244, 248, .1);
  --line-gold: rgba(200, 165, 90, .36);
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  --seg: 125svh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--bg); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

h1, h2, h3 { margin: 0; font-stretch: 125%; font-weight: 540; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
h3 { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.25; letter-spacing: 0; font-stretch: 112%; font-weight: 600; }
.lede { margin: 22px auto 0; max-width: 46ch; color: var(--muted); font-size: clamp(1.02rem, 1.2vw, 1.12rem); }
.fine { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }
.fine a { color: var(--muted); }

/* ---------- Botões e links ---------- */
.btn { --h: 52px; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), border-color .3s, color .3s, box-shadow .35s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { color: #0A0F1C; background: linear-gradient(180deg, #EBD5A0, var(--gold) 52%, #A6863E); box-shadow: 0 12px 34px -16px rgba(200, 165, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid rgba(242, 244, 248, .22); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 0; border-bottom: 1px solid rgba(242, 244, 248, .25); cursor: pointer; transition: color .3s, border-color .3s, gap .3s var(--ease); }
.link svg { width: 16px; height: 16px; color: var(--gold); }
.link:hover { color: var(--gold-hi); border-color: var(--gold); gap: 14px; }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 76px; padding: 0 var(--pad); transition: background-color .4s, border-color .4s, opacity .9s .2s, transform .9s .2s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(4, 6, 12, .92); border-bottom-color: var(--line); }
body:not(.is-ready) .nav { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { display: flex; flex-direction: column; font-stretch: 125%; font-weight: 620; font-size: 15px; line-height: 1; letter-spacing: .24em; }
.brand-word small { margin-top: 6px; font-family: var(--f-mono); font-size: 8.5px; font-weight: 500; letter-spacing: .34em; color: var(--teal); }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(15, 26, 48, .6); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--pad) 40px; background: rgba(4, 6, 12, .98); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu > a:not(.btn) { font-stretch: 125%; font-weight: 540; font-size: clamp(1.8rem, 8vw, 2.6rem); text-decoration: none; padding: 6px 0; }
.menu .btn { margin-top: 28px; align-self: flex-start; }
@media (max-width: 960px) { .nav nav { display: none; } .nav-toggle { display: inline-flex; } }
@media (max-width: 420px) { .nav-cta { display: none; } }

/* =========================================================
   Carregamento e abertura
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; gap: 14px; background: #000; transition: opacity 1.2s var(--ease), visibility 1.2s; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
.loader-line { display: flex; justify-content: space-between; gap: 48px; width: min(280px, 70vw); margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.loader-line b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.loader-bar { position: relative; display: block; width: min(280px, 70vw); height: 1px; background: rgba(242, 244, 248, .12); }
.loader-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--ease); }

.letterbox i { position: fixed; left: 0; right: 0; z-index: 60; height: 10svh; background: #000; pointer-events: none; transition: transform 1.6s var(--ease-io); }
.letterbox i:first-child { top: 0; }
.letterbox i:last-child { bottom: 0; }
body.is-ready .letterbox i:first-child { transform: translateY(-101%); }
body.is-ready .letterbox i:last-child { transform: translateY(101%); }

.intro-logo { position: fixed; inset: 0; z-index: 55; display: grid; place-content: center; justify-items: center; gap: 18px; pointer-events: none; }
.intro-logo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 34% 30% at 50% 50%, rgba(2, 3, 7, .72), transparent 75%); opacity: 0; transition: opacity 1.6s var(--ease); }
.intro-mark { width: 132px; height: 132px; overflow: visible; transition: transform 1.3s var(--ease-io), opacity .5s 1s; }
.intro-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-mark .g { stroke: var(--gold); stroke-width: 2.6; filter: drop-shadow(0 0 6px rgba(200, 165, 90, .55)); }
.intro-mark .w { stroke: var(--ink); stroke-width: 1.8; }
.intro-mark .thin { stroke-width: 1.1; opacity: .6; }
.intro-word { display: flex; gap: .02em; margin: 6px 0 0; font-stretch: 125%; font-weight: 600; font-size: clamp(30px, 4vw, 46px); letter-spacing: .3em; padding-left: .3em; line-height: 1; }
.intro-word span { opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.intro-sub { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .5em; color: var(--teal); opacity: 0; transition: opacity 1s var(--ease); }
.intro-sub i { width: 0; height: 1px; background: var(--teal); transition: width 1.2s var(--ease); }

body.logo-in .intro-logo::before { opacity: 1; }
body.logo-in .intro-mark path { animation: draw 1.6s var(--ease-io) forwards; }
body.logo-in .intro-mark path:nth-child(2) { animation-delay: .35s; animation-duration: 1.4s; }
body.logo-in .intro-mark path:nth-child(3) { animation-delay: .9s; animation-duration: .8s; }
body.logo-in .intro-mark path:nth-child(4) { animation-delay: .2s; }
body.logo-in .intro-word span { opacity: 1; transform: none; filter: none; }
body.logo-in .intro-word span:nth-child(1) { transition-delay: .9s; }
body.logo-in .intro-word span:nth-child(2) { transition-delay: .98s; }
body.logo-in .intro-word span:nth-child(3) { transition-delay: 1.06s; }
body.logo-in .intro-word span:nth-child(4) { transition-delay: 1.14s; }
body.logo-in .intro-word span:nth-child(5) { transition-delay: 1.22s; }
body.logo-in .intro-word span:nth-child(6) { transition-delay: 1.3s; }
body.logo-in .intro-sub { opacity: 1; transition-delay: 1.5s; }
body.logo-in .intro-sub i { width: 44px; transition-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

body.logo-out .intro-logo::before { opacity: 0; transition-duration: .9s; }
body.logo-out .intro-mark { transform: translate(var(--fx), var(--fy)) scale(var(--fs)); opacity: 0; }
body.logo-out .intro-word, body.logo-out .intro-sub { opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
body.logo-skip .intro-logo { display: none; }

.skip-intro { position: fixed; right: var(--pad); bottom: calc(10svh + 18px); z-index: 70; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(242, 244, 248, .25); background: rgba(0, 0, 0, .35); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: opacity .6s, color .3s, border-color .3s; }
.skip-intro:hover { color: var(--ink); border-color: var(--gold); }
body:not(.is-intro) .skip-intro, body.is-ready .skip-intro { opacity: 0; pointer-events: none; }

/* =========================================================
   Estúdio 3D
   ========================================================= */
/* 8 capítulos + trecho de saída (as luzes apagam enquanto o Processo sobe por cima) */
.stage { --exit: 70svh; position: relative; height: calc(var(--seg) * 7 + 100svh + var(--exit)); background: var(--bg); }
.fx-exit { background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(4, 6, 12, .35), rgba(4, 6, 12, .92)); opacity: calc(var(--x, 0) * 1.1); }
.stage-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
body.is-dragging .gl { cursor: grabbing; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx-vignette { background: radial-gradient(ellipse 78% 72% at 50% 50%, transparent 55%, rgba(0, 0, 0, .62) 100%); }
.fx-grain { inset: -8%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.track { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--x, 0) * 1.8); }
.panel { position: absolute; inset: 0; display: flex; align-items: center; padding: 100px 7vw 130px; visibility: hidden; will-change: opacity, transform; }
html:not(.js) .panel:first-child { visibility: visible; }
/* título do capítulo: cada palavra sobe de dentro de uma máscara */
.panel h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.panel h2 .w > span { display: inline-block; transform: translateY(108%); transition: transform .95s var(--ease); transition-delay: calc(.06s + var(--wi, 0) * 38ms); }
.panel.is-active h2 .w > span { transform: none; }
html.js .panel-inner > h2 { opacity: 1 !important; transform: none !important; }
.panel[data-side="right"] { justify-content: flex-end; }
.panel[data-side="center"] { justify-content: center; align-items: flex-end; text-align: center; padding-bottom: 20svh; }
.panel-inner { width: min(440px, 34vw); pointer-events: auto; text-shadow: 0 1px 24px rgba(0, 0, 0, .6); }
.panel--hero .panel-inner { width: min(620px, 45vw); }
.panel--end .panel-inner { width: min(900px, 84vw); }
.panel--end .cta-row { justify-content: center; align-items: center; gap: 28px; }

.kicker { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.num { margin: 0 0 6px; font-stretch: 125%; font-weight: 300; font-size: clamp(3.4rem, 5vw, 5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 244, 248, .35); text-shadow: none; }
.panel h1 { font-size: clamp(3rem, 6vw, 6.6rem); line-height: .95; }
.panel h1 .ln > span { white-space: nowrap; }
.panel h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.02; }
.panel--end h2 { font-size: clamp(2.4rem, 5.4vw, 5.6rem); }
.panel h1 em, .panel--end h2 em { font-style: normal; color: var(--gold-hi); }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: block; }
.panel .body { margin: 22px 0 0; max-width: 40ch; font-size: clamp(1rem, 1.12vw, 1.1rem); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.panel .link { margin-top: 26px; }
.panel .cta-row .link { margin-top: 0; }
.hint { margin: 22px 0 0; font-size: 13px; color: var(--teal); }
@media (pointer: coarse) { .only-fine { display: none; } }

.tints { display: flex; gap: 18px; margin-top: 26px; }
.tints button { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 12.5px; color: var(--muted); transition: color .25s; }
.tints i { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, #0b0f17 calc(var(--t) * 100%), #cfe2ff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 6px -8px 14px rgba(255, 255, 255, .12); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .25s; }
.tints button:hover { color: var(--ink); }
.tints button[aria-pressed="true"] { color: var(--ink); }
.tints button[aria-pressed="true"] i { outline-color: var(--gold); }

/* entrada do texto de cada capítulo */
html.js .panel-inner > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .panel.is-active .panel-inner > * { opacity: 1; transform: none; }
html.js .panel.is-active .panel-inner > :nth-child(2) { transition-delay: .06s; }
html.js .panel.is-active .panel-inner > :nth-child(3) { transition-delay: .12s; }
html.js .panel.is-active .panel-inner > :nth-child(4) { transition-delay: .18s; }
html.js .panel.is-active .panel-inner > :nth-child(5) { transition-delay: .24s; }
html.js .panel.is-active .panel-inner > :nth-child(6) { transition-delay: .3s; }
html.js body:not(.is-ready) .panel-inner > * { opacity: 0 !important; transform: translateY(22px) !important; transition-delay: 0s !important; }
html.js body.is-ready .panel--hero.is-active .panel-inner > * { transition-delay: .5s; }
html.js body.is-ready .panel--hero.is-active .panel-inner > :nth-child(3) { transition-delay: .75s; }
html.js body.is-ready .panel--hero.is-active .panel-inner > :nth-child(4) { transition-delay: .9s; }
html.js .panel--hero h1 { opacity: 1 !important; transform: none !important; }
html.js .panel--hero .ln > span { transform: translateY(110%); transition: transform 1.4s var(--ease); }
html.js body.is-ready .panel--hero .ln > span { transform: none; transition-delay: .35s; }
html.js body.is-ready .panel--hero .ln:nth-child(2) > span { transition-delay: .48s; }

.scroll-cue { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: opacity .8s 1.2s; }
body:not(.is-ready) .scroll-cue { opacity: 0; transition-delay: 0s; }
.mouse { width: 22px; height: 34px; border-radius: 12px; border: 1px solid rgba(242, 244, 248, .45); display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 2px; height: 7px; border-radius: 2px; background: var(--gold-hi); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Régua ---------- */
.hud { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; z-index: 3; display: grid; grid-template-columns: 190px 1fr 190px; align-items: center; gap: 28px; transition: opacity 1s 1s; }
.stage-sticky .hud { filter: opacity(calc(1 - var(--x, 0) * 2.2)); } /* filter: não briga com a transição de entrada */
body:not(.is-ready) .hud { opacity: 0; transition-delay: 0s; pointer-events: none; }
.hud-now { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hud-now b { font-size: 13px; font-weight: 500; color: var(--gold); }
.hud-steps { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.hud-steps::before, .hud-fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.hud-fill { background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hud-steps li { position: relative; z-index: 1; }
.hud-steps button { display: block; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hud-steps button::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; background: var(--bg); border: 1px solid rgba(242, 244, 248, .4); transition: background-color .3s, border-color .3s, transform .3s; }
.hud-steps button.is-on::before { background: var(--gold); border-color: var(--gold); }
.hud-steps button.is-current::before { transform: scale(1.5); }
.hud-steps button:hover::before { border-color: var(--gold-hi); }
.hud-angle { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hud-angle b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; display: inline-block; min-width: 4ch; text-align: right; }

/* sem WebGL: lista vertical */
.no-gl .stage { height: auto; }
.no-gl .stage-sticky { position: relative; height: auto; overflow: visible; background: radial-gradient(ellipse 60% 40% at 70% 20%, rgba(30, 52, 98, .5), transparent 70%), var(--bg); }
.no-gl .gl, .no-gl .hud, .no-gl .fx, .no-gl .scroll-cue, .no-gl .intro-logo, .no-gl .skip-intro { display: none; }
.no-gl .stage { --exit: 0px; }
.no-gl .track { position: relative; inset: auto; opacity: 1; }
.no-gl .panel { position: relative; inset: auto; visibility: visible; min-height: 70svh; justify-content: flex-start !important; text-align: left !important; }
.no-gl .panel h2 .w > span { transform: none; }
.no-gl .flow { margin-top: 0; padding-top: clamp(100px, 11vw, 170px); }
.no-gl .panel-inner { width: min(620px, 100%); }
.no-gl .panel-inner > *, .no-gl .ln > span { opacity: 1 !important; transform: none !important; }

@media (max-width: 760px) {
  :root { --seg: 110svh; }
  .stage-sticky::after { content: ""; position: absolute; inset: 42% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(4, 6, 12, .85) 45%, rgba(4, 6, 12, .96)); }
  .track { z-index: 2; }
  .panel { align-items: flex-end; justify-content: flex-start !important; text-align: left !important; padding: 0 22px 104px; }
  .panel-inner, .panel--hero .panel-inner, .panel--end .panel-inner { width: 100%; }
  .panel h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .panel h2 { font-size: clamp(1.8rem, 8.4vw, 2.5rem); }
  .num { font-size: 2.6rem; }
  .panel .body { margin-top: 14px; font-size: 15px; }
  .panel--end .cta-row { justify-content: flex-start; }
  .tints { gap: 14px; margin-top: 16px; }
  .tints i { width: 30px; height: 30px; }
  .kicker { margin-bottom: 12px; }
  .scroll-cue { display: none; }
  .hud { bottom: 22px; grid-template-columns: auto 1fr; gap: 16px; }
  .hud-angle { display: none; }
  .hud-steps button { width: 18px; }
  .intro-mark { width: 96px; height: 96px; }
}

/* =========================================================
   Seções
   ========================================================= */
.section { position: relative; padding: clamp(100px, 11vw, 170px) var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.label { margin: 0 0 20px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 76px); }
.section-head > p:not(.label), .section-head > div > p:not(.label) { margin: 20px 0 0; max-width: 54ch; color: var(--muted); font-size: 1.06rem; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Processo: sequência guiada pela rolagem ---------- */
/* o Processo sobe por cima do estúdio enquanto as luzes apagam: topo transparente que escurece */
.flow { z-index: 2; margin-top: -55svh; padding-top: calc(34svh + clamp(60px, 7vw, 110px));
  background:
    radial-gradient(ellipse 55% 30% at 15% 42%, rgba(30, 52, 98, .3), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 22, 0) 0, rgba(7, 11, 22, .72) 14svh, var(--bg-2) 32svh); }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 30svh; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 165, 90, .4), transparent); }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.flow-visual { position: sticky; top: 13svh; }
.flow-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, #0d1527, #04060c 75%); border: 1px solid var(--line); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95); }
.flow-shots { position: absolute; inset: 0; }
.flow-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045); transition: opacity 1s var(--ease), transform 1.8s var(--ease); }
.flow-shot.is-on { opacity: 1; transform: none; }
.flow:not(.has-shots) .flow-shots::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(200, 215, 255, .06) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 2s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.flow-scan { position: absolute; top: 0; bottom: 0; left: -4%; width: 3px; background: linear-gradient(180deg, transparent, rgba(232, 240, 255, .95) 30%, rgba(232, 240, 255, .95) 70%, transparent); box-shadow: 0 0 26px 7px rgba(190, 210, 255, .32); opacity: 0; pointer-events: none; }
.flow-frame.is-scan .flow-scan { animation: scan 1.2s var(--ease-io); }
@keyframes scan { 0% { left: -3%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 103%; opacity: 0; } }
.flow-hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(2, 3, 7, .88)); }
.flow-hud p { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.flow-hud b { color: var(--gold); font-weight: 500; }
.flow-bar { position: relative; flex: 1; height: 1px; background: rgba(242, 244, 248, .15); }
.flow-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--fp, .2)); transition: transform .9s var(--ease); }
.flow-steps { margin: 0; padding: 0; list-style: none; }
.flow-step { display: flex; flex-direction: column; justify-content: center; min-height: 62svh; padding: 6svh 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .7s var(--ease); }
.flow-step:last-child { border-bottom: 1px solid var(--line); }
.flow-step.is-on { opacity: 1; }
.flow-step .n { font-stretch: 125%; font-weight: 300; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 244, 248, .3); transition: -webkit-text-stroke-color .6s; }
.flow-step.is-on .n { -webkit-text-stroke-color: var(--gold); }
.flow-step h3 { margin: 18px 0 14px; font-size: clamp(1.5rem, 2.2vw, 2rem); font-stretch: 125%; font-weight: 540; }
.flow-step p { margin: 0; color: var(--muted); max-width: 42ch; }
.flow-step .link { align-self: flex-start; margin-top: 24px; }
.flow-thumb { display: none; }
@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-visual { display: none; }
  .flow-step { min-height: 0; padding: 36px 0; opacity: 1; }
  .flow-thumb { display: block; aspect-ratio: 4 / 3; margin-bottom: 22px; overflow: hidden; border-radius: 6px; background: #05070d; border: 1px solid var(--line); }
  .flow-thumb img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Transformações: rolo de filme ---------- */
.reel-sec { padding-bottom: clamp(70px, 8vw, 120px); background: #020307; }
.reel-ctrl { display: flex; align-items: center; gap: 24px; }
.reel-count { margin: 0; font-family: var(--f-mono); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.reel-count b { color: var(--ink); font-weight: 500; }
.reel-nav { display: flex; gap: 10px; }
.reel-nav button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(242, 244, 248, .22); background: none; cursor: pointer; transition: border-color .3s, color .3s; }
.reel-nav button:hover { border-color: var(--gold); color: var(--gold-hi); }
.reel-nav svg { width: 18px; height: 18px; }
.reel { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--pad), calc((100vw - var(--maxw)) / 2)); scrollbar-width: none; cursor: grab; user-select: none; }
.reel::-webkit-scrollbar { display: none; }
.reel.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.reel:focus-visible { outline-offset: -4px; }
.frame { flex: 0 0 min(80vw, 1000px); margin: 0; scroll-snap-align: center; opacity: .42; transform: scale(.94); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.frame.is-active { opacity: 1; transform: none; }
.frame img { width: 100%; aspect-ratio: 2.39 / 1; object-fit: cover; border-radius: 4px; filter: brightness(.95) saturate(.85) contrast(1.05); transition: filter 1.6s var(--ease); pointer-events: none; }
html.js .frame:not(.is-lit) img { filter: brightness(.08) saturate(0); }
.frame figcaption { display: flex; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.frame figcaption b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.reel-sec .fine { margin-top: 28px; }

/* ---------- Instagram ---------- */
.insta { overflow: hidden; background: radial-gradient(ellipse 50% 60% at 85% 50%, rgba(200, 165, 90, .07), transparent 70%), linear-gradient(180deg, #020307, var(--bg) 40%); }
.insta-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.insta-copy > p:not(.label) { margin: 20px 0 0; max-width: 46ch; color: var(--muted); }
.insta-handle { display: flex; align-items: center; gap: 16px; width: max-content; max-width: 100%; margin-top: 36px; padding: 10px 22px 10px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color .3s, background-color .3s; }
.insta-handle:hover { border-color: var(--gold); background: rgba(200, 165, 90, .06); }
.insta-handle b { display: block; font-weight: 600; }
.insta-handle small { font-size: 12.5px; color: var(--dim); }
.insta-handle .go { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.insta-handle:hover .go { transform: translateX(4px); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 24px; justify-items: center; margin: 0; padding: 0; list-style: none; }
.highlights a { display: grid; justify-items: center; gap: 14px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .3s; }
.ring { display: grid; place-items: center; width: clamp(96px, 9vw, 126px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--gold-lo), var(--gold-hi), var(--gold), var(--gold-lo)); transition: transform .5s var(--ease), box-shadow .5s; }
.ring svg { width: 100%; height: 100%; padding: 24%; border-radius: 50%; background: #0F1A30; border: 3px solid var(--bg); }
.ring--sm { width: 52px; }
.ring--sm svg { border-width: 2px; padding: 20%; }
.highlights a:hover { color: var(--ink); }
.highlights a:hover .ring { transform: translateY(-5px) rotate(-6deg); box-shadow: 0 18px 40px -16px rgba(200, 165, 90, .55); }
@media (max-width: 900px) { .insta-in { grid-template-columns: 1fr; } .highlights { gap: 30px 12px; } }

/* ---------- Cuidados ---------- */
.care { background: var(--bg-2); }
.care-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.care-head { position: sticky; top: 14svh; }
.care-head > p:not(.label) { margin: 18px 0 0; color: var(--muted); }
.care-shot { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, #0d1527, #04060c 75%); border: 1px solid var(--line); }
.care-shot img { width: 100%; height: 100%; object-fit: cover; }
.care-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.care-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.care-list svg { width: 56px; height: 56px; padding: 15px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold-hi); }
.care-list h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.care-list p { margin: 0; max-width: 48ch; color: var(--muted); }
@media (max-width: 900px) { .care-in { grid-template-columns: 1fr; } .care-head { position: static; } }

/* ---------- Agendamento (final) ---------- */
.book-band { overflow: hidden; isolation: isolate; text-align: center; padding-top: clamp(190px, 19vw, 250px); background: #020307; }
.book-band::before { content: ""; position: absolute; top: 0; left: 50%; z-index: -1; width: min(1200px, 160vw); height: 100%; transform: translateX(-50%); background: radial-gradient(ellipse 34% 70% at 50% 7%, rgba(215, 225, 245, .17), rgba(120, 140, 190, .05) 55%, transparent 80%); opacity: 0; transition: opacity 1.6s .9s; }
.book-band.is-on::before { opacity: 1; }
.hexlamp { position: absolute; top: 34px; left: 50%; width: min(340px, 72vw); transform: translateX(-50%); overflow: visible; }
.hexlamp path { stroke: #F3F6FC; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .2; filter: drop-shadow(0 0 5px rgba(225, 233, 255, .9)) drop-shadow(0 0 16px rgba(170, 190, 240, .5)); }
.book-band.is-on .hexlamp path { animation: hexon 1.7s var(--ease-io) forwards; }
.book-band.is-on .hexlamp path:nth-child(2) { animation-delay: .15s; }
.book-band.is-on .hexlamp path:nth-child(3) { animation-delay: .3s; }
.book-band.is-on .hexlamp path:nth-child(4) { animation-delay: .45s; }
.book-band.is-on .hexlamp path:nth-child(5) { animation-delay: .6s; }
@keyframes hexon { 0% { stroke-dashoffset: 1; opacity: .2; } 55% { opacity: .45; } 66% { opacity: 1; } 72% { opacity: .3; } 80%, 100% { stroke-dashoffset: 0; opacity: 1; } }
.book-in .label { text-align: center; }
.book-in h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.book-in .lede { margin-top: 22px; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 42px auto 34px; }
.quick button { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(242, 244, 248, .16); background: rgba(15, 26, 48, .4); color: var(--ink); font-size: 14px; cursor: pointer; transition: border-color .3s, background-color .3s, transform .35s var(--ease); }
.quick button svg { width: 18px; height: 18px; color: var(--gold-hi); }
.quick button:hover { border-color: var(--gold); background: rgba(200, 165, 90, .1); transform: translateY(-2px); }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 48px; max-width: 980px; margin: 80px auto 0; padding: 36px 0 0; list-style: none; border-top: 1px solid var(--line); text-align: left; }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact svg { width: 20px; height: 20px; color: var(--gold); }
.contact span { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact a { font-weight: 500; text-decoration: none; }
.contact a:hover { color: var(--gold-hi); }
.tbd { font-style: normal; color: var(--dim); border-bottom: 1px dashed var(--dim); }

.footer { padding: 40px var(--pad) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #020307; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer .brand { margin-right: 0; }
.footer p { margin: 0; font-size: 13.5px; color: var(--muted); }
.footer .fine { max-width: 560px; }

.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; transform: translateY(160%); transition: transform .5s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta .btn { width: 100%; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Painel de agendamento
   ========================================================= */
html.bk-lock, html.bk-lock body { overflow: hidden; }
.bk { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(0px, 3vw, 32px); }
.bk[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 7, .84); opacity: 0; transition: opacity .45s var(--ease); }
.bk.is-open .bk-backdrop { opacity: 1; }
.bk-panel { position: relative; display: flex; flex-direction: column; width: min(1120px, 100%); height: min(790px, 100%); overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #0B1222, #070B16 40%); border: 1px solid rgba(242, 244, 248, .12); box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .95); opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.bk.is-open .bk-panel { opacity: 1; transform: none; }
.bk-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.bk-title .label { margin: 0 0 4px; }
.bk-title h2 { font-size: 1.45rem; }
.bk-dots { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bk-dots li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; color: var(--dim); transition: color .3s, background-color .3s; }
.bk-dots span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(242, 244, 248, .2); font-family: var(--f-mono); font-size: 11px; transition: background-color .3s, border-color .3s, color .3s; }
.bk-dots li.is-current { color: var(--ink); background: rgba(242, 244, 248, .05); }
.bk-dots li.is-current span { border-color: var(--gold); color: var(--gold-hi); }
.bk-dots li.is-done { color: var(--muted); }
.bk-dots li.is-done span { background: var(--gold); border-color: var(--gold); color: #0a0f1c; }
.bk.is-done .bk-dots li span { background: var(--gold); border-color: var(--gold); color: #0a0f1c; }
.bk-x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .3s; }
.bk-x svg { width: 20px; height: 20px; }
.bk-x:hover { border-color: var(--gold); }
.bk-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.bk-form { display: flex; flex-direction: column; min-height: 0; }
.bk-scroll { flex: 1; overflow-y: auto; padding: 30px 32px 34px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(242, 244, 248, .2) transparent; }
.bk-step.is-on { animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.bk-step h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); outline: none; }
.bk-sub { margin: 8px 0 24px; font-size: 15px; color: var(--muted); }

.bk-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bk-svc, .bk-size { position: relative; display: block; cursor: pointer; }
.bk-svc input, .bk-size input { position: absolute; opacity: 0; pointer-events: none; }
.bk-svc-box { display: grid; grid-template-columns: 42px 1fr 22px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .25s, background-color .25s; }
.bk-svc-box svg { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 10px; color: var(--gold-hi); background: rgba(200, 165, 90, .08); }
.bk-svc-box strong { font-size: 15px; font-weight: 600; }
.bk-svc-box small { grid-column: 2; font-size: 13px; line-height: 1.4; color: var(--dim); }
.bk-check { position: relative; grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(242, 244, 248, .25); transition: background-color .2s, border-color .2s; }
.bk-svc-box:hover { border-color: rgba(242, 244, 248, .26); }
.bk-svc input:checked + .bk-svc-box { border-color: var(--gold); background: rgba(200, 165, 90, .07); }
.bk-svc input:checked + .bk-svc-box .bk-check { background: var(--gold); border-color: var(--gold); }
.bk-svc input:checked + .bk-svc-box .bk-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #0a0f1c; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bk-svc input:focus-visible + .bk-svc-box, .bk-size input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.bk-field { margin: 0 0 22px; padding: 0; border: 0; }
.bk-field legend, .bk-input > span { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bk-input small { font-family: var(--f-body); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--dim); }
.bk-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-size span { display: block; height: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.bk-size strong { display: block; font-weight: 600; }
.bk-size small { font-size: 12.5px; color: var(--dim); }
.bk-size span:hover { border-color: rgba(242, 244, 248, .26); }
.bk-size input:checked + span { border-color: var(--gold); background: rgba(200, 165, 90, .07); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-input { display: block; margin-bottom: 18px; }
.bk-input input, .bk-input textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(242, 244, 248, .14); background: rgba(2, 3, 7, .55); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.bk-input input::placeholder, .bk-input textarea::placeholder { color: #4f5a72; }
.bk-input input:focus, .bk-input textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 165, 90, .16); }
.bk-input--sm { max-width: 220px; }
.bk-check-line { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.bk-check-line input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--gold); }

.bk-when { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.bk-cal { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(2, 3, 7, .45); }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-cal-head button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; }
.bk-cal-head button:disabled { opacity: .25; cursor: default; }
.bk-cal-head svg { width: 16px; height: 16px; }
.bk-cal-title { margin: 0; font-weight: 600; }
.bk-cal-week, .bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-cal-week span { padding: 6px 0; text-align: center; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.bk-day { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .035); color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background-color .2s; }
.bk-day:hover:not(:disabled) { border-color: rgba(242, 244, 248, .32); }
.bk-day:disabled { background: none; color: #36405a; cursor: default; }
.bk-day.is-pad { background: none; }
.bk-day.is-today { box-shadow: inset 0 -2px 0 var(--teal); }
.bk-day.is-selected { background: var(--gold); color: #0a0f1c; font-weight: 600; }
.bk-times-hint { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.bk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bk-time { display: grid; place-content: center; height: 52px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); color: var(--ink); font-family: var(--f-mono); font-size: 14px; line-height: 1.1; cursor: pointer; transition: border-color .2s, background-color .2s; }
.bk-time small { font-family: var(--f-body); font-size: 10.5px; color: var(--dim); }
.bk-time:hover:not(:disabled) { border-color: rgba(242, 244, 248, .32); }
.bk-time:disabled { color: #36405a; background: none; cursor: default; }
.bk-time.is-selected { background: var(--gold); border-color: var(--gold); color: #0a0f1c; }

.bk-nav { display: flex; align-items: center; gap: 16px; padding: 16px 32px; border-top: 1px solid var(--line); background: rgba(2, 3, 7, .45); }
.bk-back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.bk-back svg { width: 16px; height: 16px; }
.bk-back:hover { color: var(--ink); }
.bk-error { flex: 1; min-height: 1em; margin: 0; font-size: 13.5px; color: #f0b59f; }
.bk-next { margin-left: auto; }
.bk-next[hidden], .bk-back[hidden] { display: none; }
.bk-next:disabled { opacity: .7; cursor: progress; }

/* ordem de serviço (papel) */
.bk-ticket { position: relative; align-self: start; margin: 26px 26px 26px 0; padding: 22px 22px 24px; border-radius: 10px; background: #ECEAE3; color: #12151c; font-family: var(--f-mono); font-size: 12.5px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); transform: rotate(.6deg); }
.bk-ticket::before, .bk-ticket::after { content: ""; position: absolute; top: 96px; width: 18px; height: 18px; border-radius: 50%; background: #0A1120; }
.bk-ticket::before { left: -9px; }
.bk-ticket::after { right: -9px; }
.tk-head { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px dashed #a3a199; }
.tk-head svg { width: 40px; height: 40px; padding: 5px; border-radius: 9px; background: #0F1A30; }
.tk-head b { display: block; font-family: var(--f-body); font-stretch: 125%; font-size: 12px; letter-spacing: .16em; }
.tk-head span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #5f6168; }
.tk-no { grid-column: 1 / -1; display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 11.5px; color: #5f6168; }
.tk-no span { color: #12151c; font-weight: 500; letter-spacing: .06em; }
.tk-rows { margin: 14px 0 0; }
.tk-rows div { display: grid; grid-template-columns: max-content 1fr; gap: 10px; padding: 7px 0; background: radial-gradient(circle, #a3a199 .9px, transparent 1.1px) 0 calc(100% - 10px) / 6px 6px repeat-x; }
.tk-rows dt, .tk-rows dd { background: #ECEAE3; }
.tk-rows dt { padding-right: 6px; color: #5f6168; }
.tk-rows dd { justify-self: end; margin: 0; padding-left: 6px; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.tk-rows dd.is-empty { color: #a3a199; font-weight: 400; }
.tk-foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed #a3a199; font-size: 11px; color: #5f6168; }
.tk-stamp { position: absolute; right: 16px; bottom: 58px; padding: 6px 12px; border: 2px solid #1d7a51; border-radius: 6px; color: #1d7a51; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: rotate(-9deg) scale(1.7); transition: opacity .25s, transform .5s cubic-bezier(.2, 1.6, .4, 1); pointer-events: none; }
.bk.is-done .tk-stamp { opacity: .92; transform: rotate(-9deg) scale(1); transition-delay: .35s; }

/* confirmação */
.bk-done-mark svg { width: 76px; height: 76px; overflow: visible; }
.bk-done-mark path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bk-done-mark path.ok { stroke: var(--teal); stroke-width: 3.4; }
.bk-done.is-on .bk-done-mark path { animation: draw 1s var(--ease-io) forwards; }
.bk-done.is-on .bk-done-mark path.ok { animation-delay: .45s; }
.bk-done h3 { margin-top: 18px; }
.bk-done-when { margin: 12px 0 0; font-size: 1.15rem; }
.bk-done-proto { margin: 8px 0 0; font-family: var(--f-mono); color: var(--muted); }
.bk-done-proto b { color: var(--gold-hi); font-weight: 500; letter-spacing: .06em; }
.bk-done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.bk-demo { margin: 30px 0 0; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(200, 165, 90, .4); font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .bk { padding: 0; }
  .bk-panel { height: 100%; border: 0; border-radius: 0; }
  .bk-head { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 18px; }
  .bk-dots { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .bk-dots li { gap: 0; padding: 4px; font-size: 0; }
  .bk-dots li.is-current { gap: 8px; padding-right: 12px; font-size: 12.5px; }
  .bk-body { grid-template-columns: 1fr; }
  .bk-ticket { display: none; }
  .bk-scroll { padding: 22px 18px 28px; }
  .bk-services, .bk-sizes, .bk-row, .bk-when { grid-template-columns: 1fr; }
  .bk-row { gap: 0; }
  .bk-input--sm { max-width: none; }
  .bk-nav { flex-wrap: wrap; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  .bk-error { order: -1; flex-basis: 100%; }
}

/* =========================================================
   Entrada, som e cor
   ========================================================= */
.loader-line, .loader-bar { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.loader.is-ready .loader-line, .loader.is-ready .loader-bar { display: none; }
.gate { display: grid; justify-items: center; gap: 18px; text-align: center; animation: gatein 1s var(--ease) both; }
.gate[hidden] { display: none; }
@keyframes gatein { from { opacity: 0; transform: translateY(10px); } }
.gate-mark { width: 64px; height: 64px; margin-bottom: 10px; }
.gate-silent { padding: 8px 4px; border: 0; background: none; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(242, 244, 248, .25); cursor: pointer; }
.gate-silent:hover { color: var(--ink); }
.gate-silent.is-primary { order: -1; height: 58px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; color: #0A0F1C; background: linear-gradient(180deg, #EBD5A0, var(--gold) 52%, #A6863E); }
.gate .btn-ghost { order: 0; }
.gate-note { margin: 6px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.gate button:disabled { opacity: .6; }

.sound { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(15, 26, 48, .45); cursor: pointer; transition: border-color .3s; }
.sound:hover { border-color: var(--gold); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 2px; height: 3px; border-radius: 1px; background: var(--muted); transition: height .3s var(--ease), background-color .3s; }
.sound.is-on .bars i { background: var(--gold-hi); animation: eq 1.1s ease-in-out infinite; }
.sound.is-on .bars i:nth-child(2) { animation-delay: -.3s; }
.sound.is-on .bars i:nth-child(3) { animation-delay: -.6s; }
.sound.is-on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

.hud { grid-template-columns: 200px 1fr auto; }
.hud-paint { display: flex; align-items: center; gap: 14px; justify-self: end; }
.hud-paint-name { display: grid; margin: 0; text-align: right; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); line-height: 1.5; }
.hud-paint-name b { font-family: var(--f-body); font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid rgba(242, 244, 248, .3); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 45%), var(--c); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.swatches button:hover { transform: scale(1.15); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.bk-done-mail { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(79, 183, 179, .08); border: 1px solid rgba(79, 183, 179, .3); font-size: 14px; color: var(--ink); }
.bk-done-mail[hidden] { display: none; }

@media (max-width: 760px) {
  .hud { grid-template-columns: auto 1fr; }
  .hud-paint { position: absolute; right: 0; bottom: 46px; flex-direction: column; gap: 10px; }
  .hud-paint-name { display: none; }
  .swatches { flex-direction: column; }
  .sound { width: 38px; height: 38px; }
}

/* =========================================================
   Política de privacidade
   ========================================================= */
.legal-page { background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(30, 52, 98, .28), transparent 70%), var(--bg); }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 880px; margin: 0 auto; padding: 28px var(--pad); }
.legal-top .brand { margin-right: 0; }
.legal { max-width: 880px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 10vw, 140px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal-meta { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--dim); }
.legal-lede { margin: 30px 0 0; max-width: 62ch; font-size: 1.12rem; color: var(--ink); }
.legal-toc { margin: 40px 0 10px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15, 26, 48, .35); }
.legal-toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 20px; color: var(--dim); font-size: 14.5px; }
.legal-toc li { padding: 3px 0; break-inside: avoid; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-hi); }
.legal section { padding-top: 44px; scroll-margin-top: 20px; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-stretch: 112%; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li { padding: 4px 0; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--gold-hi); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } .legal-top .link { font-size: 14px; } }
.bk-check-line a { color: var(--gold-hi); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold-hi); }

/* "Reduzir movimento": tira só o que é decorativo e repetitivo; transições continuam suaves */
@media (prefers-reduced-motion: reduce) {
  .fx-grain, .mouse i, .flow:not(.has-shots) .flow-shots::after { animation: none; }
  .btn:hover, .highlights a:hover .ring, .quick button:hover { transform: none; }
}
