/* showfirst.studio · site v14 (base v13) · "A sala de visualização" (proposta 21, aprovada em 16/11/2026)
   Marca v04: preto estúdio, gelo, cinzas; Geist, uma frase em Instrument Serif por tela, Geist Mono nas legendas.
   A moldura (dois cantos) aparece com moderação: cantos da tela (navegação), a peça da abertura, a frase do investimento,
   o passo atual do percurso, a placa sob o mouse e a linha do índice sob o mouse. Em nenhum outro lugar. */

:root {
  --black: #0C0C0D; --graphite: #18181A; --line: #2B2B2E; --grey: #8C8C88; --grey-dark: #77776F; --ice: #ECEDE9; --muted: #A6A7A3;
  --ice-muted: #55554F; --ice-line: #CFD0CB;
  --gut: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--black); color: var(--ice); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; background: var(--ice); color: var(--black); padding: 10px 14px; border-radius: 99px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 16px; }

/* tipografia */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.big { font-weight: 500; letter-spacing: -0.055em; line-height: .96; margin: 0; text-wrap: balance; }
.big .serif { display: block; font-size: 1.08em; letter-spacing: -0.015em; }
.lead__em { color: var(--ice); }
.lead.lead--open { color: var(--ice); }   /* frases de abertura de cada página: o tom da v04 (#ECEDE9); o resto continua em cinza */
.lead { color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; max-width: 40em; margin: 0 auto; text-wrap: pretty; }
.ice { background: var(--ice); color: var(--black); }
.ice .mono { color: var(--ice-muted); }
.ice .lead { color: var(--ice-muted); }

/* botões (pílula, decisão de 15/11) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ice); color: var(--black); font: 500 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform .5s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px #4a4a4e; }
.ice .btn { background: var(--black); color: var(--ice); }
.link { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); border-bottom: 1px solid #3a3a3e; padding-bottom: 4px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--ice); border-color: var(--ice); }

/* ---------------- os cantos da tela: a navegação ---------------- */
.corners { position: fixed; inset: 18px; z-index: 900; pointer-events: none; --cc: #ECEDE9; --cb: #ECEDE9; }
.corners i { position: absolute; width: 56px; height: 56px; border: 0 solid var(--cc); transition: border-color .35s; }
.corners .c-br { border-color: var(--cb); }
.corners .c-tl { left: 0; top: 0; border-width: 2px 0 0 2px; }
.corners .c-br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.corners .c-prog { position: absolute; left: -2px; top: -2px; height: 2px; width: calc(56px + var(--p, 0) * min(36vw, 520px)); background: var(--cc); transition: background .35s; }
.idx-btn { position: fixed; left: 34px; top: 30px; z-index: 950; display: inline-flex; align-items: center; gap: 12px; padding: 6px 4px; border: 0; background: none; color: var(--ice); cursor: pointer; transition: color .35s; }
.idx-btn svg { width: 20px; height: 20px; flex: none; }
.idx-btn .wm-s { font: 600 18px/1 var(--sans); letter-spacing: -0.045em; }
.idx-btn .wm-s .tld { font-weight: 300; color: var(--grey); transition: color .35s; }
.idx-btn .idx-lbl { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a6a7a3; padding-left: 12px; border-left: 1px solid #555; }
.idx-btn:hover .idx-lbl { color: #fff; }
.cta-fixed { position: fixed; right: 34px; bottom: 30px; z-index: 950; height: 46px; padding: 0 22px; font-size: 15px; background: var(--ice); color: var(--black); transition: transform .5s var(--ease), background .35s, color .35s; }
.ice-top .corners { --cc: #0C0C0D; } .ice-bottom .corners { --cb: #0C0C0D; }
.ice-top .idx-btn { color: var(--black); } .ice-top .idx-btn .wm-s .tld { color: var(--grey-dark); } .ice-top .idx-btn .idx-lbl { color: var(--ice-muted); border-color: var(--ice-line); }
.ice-bottom .cta-fixed { background: var(--black); color: var(--ice); }
.idx-open .cta-fixed { background: var(--ice); color: var(--black); }
.idx-open .idx-btn { color: var(--ice); } .idx-open .idx-btn .idx-lbl { color: var(--muted); border-color: #555; }
.pg-request .cta-fixed { display: none; }
.lang-pill { position: fixed; left: 34px; bottom: 30px; z-index: 950; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 14px; border-radius: 999px;
  background: rgba(24, 24, 26, .94); box-shadow: inset 0 0 0 1px #3a3a3e; color: var(--ice); text-decoration: none;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: box-shadow .3s, transform .5s var(--ease); }
.lang-pill svg { width: 24px; height: 16px; border-radius: 2px; flex: none; }
.lang-pill .lang-pill__en { font-weight: 500; }
.lang-pill .lang-pill__name { color: var(--muted); letter-spacing: .06em; text-transform: none; font-family: var(--sans); font-size: 14px; }
.lang-pill:hover { box-shadow: inset 0 0 0 1px var(--ice); transform: translateY(-2px); }

/* o índice em tela cheia */
.idx { position: fixed; inset: 0; z-index: 940; background: var(--black); color: var(--ice); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4vh; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.idx.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.idx__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2.2vh, 22px); }
.idx__list a { position: relative; display: inline-block; text-decoration: none; font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; font-size: clamp(40px, 6.4vw, 92px); color: #5a5a5e; transition: color .4s var(--ease); padding: 0 .1em; }
.idx__list a::before, .idx__list a::after { content: ""; position: absolute; width: .32em; height: .32em; border: 0 solid var(--ice); opacity: 0; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.idx__list a::before { left: -.22em; top: -.08em; border-width: 3px 0 0 3px; transform: translate(-8px, -8px); }
.idx__list a::after { right: -.22em; bottom: -.04em; border-width: 0 3px 3px 0; transform: translate(8px, 8px); }
.idx__list a:hover, .idx__list a:focus-visible, .idx__list a[aria-current="page"] { color: var(--ice); outline: none; }
.idx__list a:hover::before, .idx__list a:hover::after, .idx__list a:focus-visible::before, .idx__list a:focus-visible::after { opacity: 1; transform: none; }
.idx__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 3vh; }
.idx__foot a { text-decoration: none; }
.idx__foot a:hover { color: var(--ice); }
.idx-open { overflow: hidden; }

/* ---------------- a peça (composição A) ---------------- */
.piece { position: relative; margin: 0 auto; }
.piece__frame { position: relative; overflow: hidden; background: #1e1e20; aspect-ratio: 1328 / 1280; cursor: grab; touch-action: pan-y; user-select: none; --pos: 76%; }
.piece.is-dragging .piece__frame { cursor: grabbing; }   /* v16: mão aberta ao passar, mão fechada ao arrastar (pedido do Rodrigo, 17/11/2026) */
.piece__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.piece__after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.piece__before { clip-path: inset(0 0 0 var(--pos)); }
.piece__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ice); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.piece__line i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--ice); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.piece__frame:hover .piece__line i, .piece.is-dragging .piece__line i { transform: scale(1.25); }
.piece__range { position: absolute; inset: auto 0 0 0; width: 100%; opacity: 0; height: 1px; }
.piece__range:focus-visible + .piece__line i { outline: 2px solid var(--ice); outline-offset: 4px; }
.pc { position: absolute; width: 44px; height: 44px; border: 0 solid var(--ice); pointer-events: none; }
.piece__box { position: relative; }
.pc-tl { left: -20px; top: -20px; border-width: 3px 0 0 3px; }
.pc-br { right: -20px; bottom: -20px; border-width: 0 3px 3px 0; }
.cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.ice .cap { color: var(--ice-muted); }
.cap b { font-weight: 500; color: var(--ice); }
.cap--inline { justify-content: flex-start; gap: .7em; flex-wrap: wrap; }
.ice .cap b { color: var(--black); }

/* ---------------- início ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px var(--gut) 120px; text-align: center; }
.hero h1 { font-size: clamp(50px, 8.6vw, 132px); }
.hero__lead { margin-top: clamp(26px, 4svh, 40px); max-width: 26em; font-size: clamp(18px, 1.55vw, 22px); color: var(--ice); letter-spacing: -0.01em; }
.promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 1.3em; margin: clamp(34px, 6svh, 56px) 0 0; padding-top: 22px; border-top: 1px solid #3a3a3e; width: min(560px, 84vw);
  font: 500 12.5px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.hero__down { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 56px; margin-left: -.5px; background: #2b2b2e; overflow: hidden; }
.hero__down span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ice); }
@media (prefers-reduced-motion: no-preference) { .hero__down span { animation: down 2.4s var(--ease) 1.2s 4; } }
@keyframes down { 0% { top: -40%; } 70%, 100% { top: 100%; } }
.feature { padding: clamp(40px, 8svh, 90px) var(--gut) clamp(110px, 16svh, 170px); overflow-x: clip; }
.feature .piece { width: min(1040px, 88vw, calc(84svh * 1.0)); transform-origin: 50% 0; will-change: transform; }
.feature .pc { transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.js-ready .feature .piece:not(.is-in) .pc-tl { transform: translate(-36px, -36px); opacity: 0; }
.js-ready .feature .piece:not(.is-in) .pc-br { transform: translate(36px, 36px); opacity: 0; }

.phrase { min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gut); text-align: center; overflow-x: clip; }
.phrase__t { position: relative; margin: 0; width: fit-content; max-width: 15em; font-weight: 500; letter-spacing: -0.05em; line-height: 1.04; font-size: clamp(36px, 5.6vw, 80px); text-wrap: balance; }
.breathe { position: absolute; width: .7em; height: .7em; border: 0 solid var(--ice); pointer-events: none; }
.breathe--tl { left: -.6em; top: -.5em; border-width: 4px 0 0 4px; }
.breathe--br { right: -.6em; bottom: -.45em; border-width: 0 4px 4px 0; }
@media (prefers-reduced-motion: no-preference) {
  .breathe--tl { animation: breathe-tl 6s ease-in-out infinite; }
  .breathe--br { animation: breathe-br 6s ease-in-out infinite; }
}
@keyframes breathe-tl { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -6px); } }
@keyframes breathe-br { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 6px); } }

/* o percurso (composição C) */
.route { position: relative; padding: 0 var(--gut); }
.route__stick { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 110px; }
.route__head { text-align: center; }
.route__head h2 { font-size: clamp(36px, 4.8vw, 70px); margin-top: 16px; }
.route__grid { position: relative; margin: clamp(48px, 9svh, 96px) auto 0; width: 100%; max-width: 1240px; }
.route__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 72px; }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 240px; height: var(--step-h, auto); padding: 24px 22px 22px; box-shadow: inset 0 0 0 1px #2e2e32; }
.step > :not(.step__tag):not(.step__arrow) { transition: opacity .7s var(--ease); }
.step__n { font: italic 400 34px/1 var(--serif); }
.step h3 { font-size: 20.5px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0 7px; }
.step p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.48; }
.step__tag { align-self: flex-start; margin-top: auto; padding: 7px 11px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(236, 237, 233, .6); color: var(--ice);
  font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.step--project { background: var(--ice); color: var(--black); box-shadow: none; }
.step--project p { color: #4a4a46; }
.step--project .step__tag { padding: 0; background: none; box-shadow: none; color: var(--ice-muted); letter-spacing: .12em; }
.step__arrow { position: absolute; top: 50%; right: -60px; width: 48px; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateY(-50%); color: #6a6a6e; }
.step__arrow small { font: 500 9.5px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--grey); }
.step__arrow svg { width: 44px; height: 16px; overflow: visible; }
.step__arrow .shaft { stroke-dasharray: 40; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease), stroke .5s; }
.route__frame { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; }
.route__frame i { position: absolute; width: 38px; height: 38px; border: 0 solid var(--ice); }
.route__frame .tl { left: -12px; top: -12px; border-width: 3px 0 0 3px; }
.route__frame .br { right: -12px; bottom: -12px; border-width: 0 3px 3px 0; }
.route__note { text-align: center; color: var(--muted); margin: 52px 0 0; font-size: 17px; transition: opacity .7s var(--ease); }
.route__more { text-align: center; margin-top: 26px; }
/* com o percurso preso (JS, computador, movimento permitido) */
.route.is-pinned { height: 340svh; }
.route.is-pinned .route__stick { position: sticky; top: 0; height: 100svh; min-height: 0; }
.route.is-pinned .route__frame { opacity: 1; }
.route.is-pinned .step:not(.is-on):not(.is-past) > :not(.step__tag):not(.step__arrow) { opacity: .38; }
.route.is-pinned .step__arrow .shaft { stroke-dashoffset: 40; }
@media (max-width: 1279px) and (min-width: 900px) {
  .route__steps { gap: 54px; } .step__arrow { right: -48px; width: 42px; }
  .step { padding: 20px 18px 18px; } .step h3 { font-size: 18.5px; margin: 12px 0 6px; } .step p { font-size: 13.5px; } .step__n { font-size: 30px; }
}
.route.is-pinned .step.is-past .step__arrow .shaft { stroke-dashoffset: 0; stroke: var(--ice); }
.route.is-pinned .route__note { opacity: 0; }
.route.is-pinned.is-done .route__note { opacity: 1; }

/* a coleção (composição D) */
.collection { position: relative; }
.col__stick { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 128px; overflow: hidden; }
.col__head { text-align: center; padding: 0 var(--gut); }
.col__head h2 { font-size: clamp(40px, 5.4vw, 78px); margin-top: 0; }
.col__head .lead { margin-top: 18px; max-width: 34em; font-size: 16.5px; }
.rail { display: flex; align-items: center; gap: clamp(36px, 5vw, 80px); padding: clamp(40px, 7svh, 72px) var(--gut) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.rail::-webkit-scrollbar { display: none; }
.plate { flex: none; scroll-snap-align: center; margin: 0; }
.plate__btn { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.plate__img { position: relative; display: block; overflow: hidden; background: #d9dad5; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 1.2s var(--ease); }
.plate__img .before { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.plate.is-flash .plate__img .before { opacity: 1; }
.plate__btn:hover .plate__img img.after { transform: scale(1.02); }
.plate__btn::before, .plate__btn::after { content: ""; position: absolute; width: 34px; height: 34px; border: 0 solid var(--black); opacity: 0; transition: opacity .4s var(--ease), transform .6s var(--ease); pointer-events: none; }
.plate__btn::before { left: -16px; top: -16px; border-width: 3px 0 0 3px; transform: translate(-10px, -10px); }
.plate__btn::after { right: -16px; bottom: -16px; border-width: 0 3px 3px 0; transform: translate(10px, 10px); }
.plate__btn:hover::before, .plate__btn:hover::after, .plate__btn:focus-visible::before, .plate__btn:focus-visible::after { opacity: 1; transform: none; }
.plate__btn:focus-visible { outline: none; }
.plate .cap { margin-top: 16px; }
.plate__open { display: block; margin-top: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice-muted); }
.plate--a .plate__img { width: min(560px, 72vw); aspect-ratio: 1328 / 1280; }
.plate--b .plate__img { width: min(420px, 64vw); aspect-ratio: 1328 / 1280; }
.plate--c .plate__img { width: min(480px, 68vw); aspect-ratio: 1328 / 1280; }
.plate--b { align-self: flex-end; }
.plate--c { align-self: flex-start; }
.rail__bar { margin: 34px var(--gut) 0; height: 1px; background: var(--ice-line); position: relative; }
.rail__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(20% + var(--rp, 0) * 80%); background: var(--black); }
.collection.is-pinned { height: 260svh; }
.collection.is-pinned .col__stick { position: sticky; top: 0; height: 100svh; min-height: 0; }
.collection.is-pinned .rail { overflow: visible; scroll-snap-type: none; }

/* a sala de cada estudo */
.room { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--ice); }
.room::backdrop { background: rgba(12, 12, 13, .7); }
.room[open] { animation: room-in .6s var(--ease); }
@keyframes room-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.room__in { min-height: 100%; padding: 90px var(--gut) 80px; display: flex; flex-direction: column; align-items: center; }
.room__x { position: fixed; right: 30px; top: 26px; z-index: 5; height: 42px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--ice); color: var(--black); font: 500 14px var(--sans); cursor: pointer; }
.room__name { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; text-align: center; margin: 12px 0 34px; }
.room .piece { width: min(760px, 90vw, calc(70svh * 1.0)); }
.room__notes { list-style: none; margin: 56px 0 0; padding: 0; width: 100%; max-width: 1240px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.room__notes li { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14.5px; line-height: 1.45; }
.room__notes .n { font: italic 400 22px/1 var(--serif); display: block; margin-bottom: 10px; }
.room__notes b { font-weight: 500; display: block; }
.room__notes .ev { display: block; color: var(--muted); margin-top: 6px; }
.room__notes .fx { display: block; margin-top: 8px; font: 500 11.5px/1.45 var(--mono); letter-spacing: .03em; color: var(--ice); }
.room__honest { color: var(--muted); font-size: 14.5px; text-align: center; margin: 40px 0 0; max-width: 46em; }

/* o fecho e a assinatura */
.close { min-height: 92svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; text-align: center; padding: 120px var(--gut) 60px; }
.close h2 { font-size: clamp(48px, 8.4vw, 132px); }
.foot { padding: 0 var(--gut) 104px; }   /* espaço para o selo de idioma e o botão fixo, que ficam nos cantos de baixo */
.foot__mark { display: block; text-align: center; font-weight: 600; letter-spacing: -0.06em; line-height: .86; font-size: clamp(38px, 10.2vw, 200px); margin: 0 0 34px; white-space: nowrap; padding-bottom: .06em; }
.foot__mark .tld { font-weight: 300; color: var(--grey); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.foot__row .who { font-size: 14px; color: var(--muted); }
.foot__row .who b { color: var(--ice); font-weight: 500; }
.foot__row svg.sf-flag { width: 18px; height: 12px; vertical-align: -1px; margin-left: 3px; }
.foot__row nav { display: flex; gap: 24px; }
.foot__row nav a { text-decoration: none; }
.foot__row nav a:hover { color: var(--ice); }

/* a palavra showfirst: "first" aparece primeiro, depois "show" */
.wm .l { display: inline-block; }
.js-ready .wm[data-wm] .l { opacity: 0; transform: translateY(.32em); filter: blur(8px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); }
.js-ready .wm[data-wm].is-play .l { opacity: 1; transform: none; filter: none; }

/* ---------------- Como funciona ---------------- */
.how-hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px var(--gut) 90px; }
.how-hero h1 { font-size: clamp(42px, 6.6vw, 104px); max-width: 12em; }
.how-hero .lead { margin-top: 26px; }
.how-idx { list-style: none; margin: clamp(40px, 7svh, 70px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.how-idx a { display: inline-flex; align-items: baseline; gap: 18px; text-decoration: none; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.035em; color: #6a6a6e; transition: color .35s; }
.how-idx a span { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--grey); }
.how-idx a:hover { color: var(--ice); }
.chapter { position: relative; padding: clamp(90px, 13svh, 140px) var(--gut); display: flex; flex-direction: column; align-items: center; text-align: center; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__fig { position: relative; margin: 28px 0 0; width: min(720px, 90vw); }
.chapter__img { position: relative; aspect-ratio: 1600 / 1200; overflow: hidden; background: var(--ice); }
.chapter__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__img .wipe { clip-path: inset(0 0 0 100%); }
.no-wipe .chapter__img .wipe, .chapter__img.is-static .wipe { clip-path: none; }
.chapter h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 16em; margin-top: 46px; }
.chapter__p { color: var(--muted); max-width: 36em; margin: 18px auto 0; font-size: 17px; text-wrap: pretty; }
.notes { list-style: none; margin: 0; padding: 0; }
.note { font-size: 14px; line-height: 1.42; text-align: left; }
.note .n { font: italic 400 20px/1 var(--serif); margin-right: 6px; }
.note b { font-weight: 500; }
.note .ev { display: block; color: var(--muted); margin-top: 3px; }

/* a pergunta do cliente: um recado de quem lê, não um FAQ */
.ask { position: relative; width: min(340px, 88vw); margin: 40px auto 0; text-align: left; }
.ask__bubble { position: relative; background: var(--ice); color: var(--black); border-radius: 22px 22px 22px 6px; padding: 18px 22px 20px; transform: rotate(-1.6deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ask__who { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ice-muted); margin: 0 0 8px; }
.ask__q { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.ask__reply { margin: 12px 0 0 34px; background: var(--graphite); border-radius: 22px 22px 6px 22px; padding: 14px 18px; transform: rotate(.8deg); font-size: 15.5px; line-height: 1.45; }
.ask__reply span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-right: 8px; }

@media (min-width: 1360px) {
  .chapter__fig .notes { position: absolute; top: 0; bottom: 0; right: calc(100% + 56px); width: 236px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .chapter__fig .note { position: relative; text-align: right; }
  .chapter__fig .note::after { content: ""; position: absolute; top: 10px; right: -44px; width: 32px; height: 1px; background: #4a4a4e; }
  .chapter__fig .ask { position: absolute; top: 6%; left: calc(100% + 56px); width: 290px; margin: 0; }
  .chapter__fig .ask--left { left: auto; right: calc(100% + 56px); }
}
@media (max-width: 1359px) {
  .chapter__fig .notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 26px; }
  .chapter__fig .note { border-top: 1px solid var(--line); padding-top: 12px; }
}

/* o que está incluído: o menu do cliente, em palavras comuns (no lugar do mapa) */
.included { padding: clamp(100px, 14svh, 150px) var(--gut); text-align: center; }
.included h2 { font-size: clamp(36px, 4.6vw, 68px); max-width: 14em; margin: 14px auto 0; }
.included .lead { margin-top: 20px; }
.menu-then { margin: clamp(52px, 9svh, 90px) auto 0; max-width: 1000px; display: grid; gap: 30px; }
.menu-then .mono { display: block; margin-bottom: 12px; }
.menu-then .old { font: 500 clamp(18px, 2.2vw, 30px)/1.3 var(--mono); color: #6a6a6e; text-decoration: line-through; text-decoration-color: #8c8c88; text-decoration-thickness: 2px; letter-spacing: 0; }
.menu-then .new { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 46px; font-weight: 500; letter-spacing: -0.045em; font-size: clamp(34px, 5vw, 72px); line-height: 1.05; }
.menu-then .arrow { width: 2px; height: 44px; background: #4a4a4e; margin: 0 auto; }
.inc-list { list-style: none; margin: clamp(60px, 10svh, 100px) auto 0; padding: 0; max-width: 820px; text-align: left; counter-reset: inc; }
.inc-list li { counter-increment: inc; display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.inc-list li::before { content: counter(inc, decimal-leading-zero); font: 500 12px var(--mono); letter-spacing: .1em; color: var(--grey); }
.inc-not { color: var(--muted); margin: 26px auto 0; max-width: 820px; text-align: left; font-size: 15px; }
.still { min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 100px var(--gut); }
.still h2 { font-size: clamp(40px, 6vw, 92px); }

/* ---------------- pedido: o convite ---------------- */
.req { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 130px var(--gut) 90px; }
.req h1 { font-size: clamp(38px, 5.6vw, 84px); max-width: 12em; }
.req .lead { margin-top: 20px; }
.ask-form { width: min(760px, 92vw); margin-top: clamp(40px, 7svh, 64px); }
.ask-form fieldset { border: 0; margin: 0; padding: 0; }
.ask-form legend { display: block; width: 100%; margin-bottom: 18px; }
.qstep + .qstep { margin-top: 44px; }
.field { position: relative; display: block; text-align: left; margin-top: 18px; }
.field label { display: block; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid #4a4a4e; color: var(--ice); font: 500 clamp(24px, 3vw, 40px)/1.25 var(--sans); letter-spacing: -0.03em; padding: 6px 0 12px; border-radius: 0; }
.field input:focus { outline: none; border-color: var(--ice); }
.field__err { color: #f0b4a8; font-size: 14px; margin: 8px 0 0; }
.ask-form .row { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.ask-form .hint { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.js-ready .ask-form.is-steps .qstep { display: none; }
.js-ready .ask-form.is-steps .qstep.is-on { display: block; animation: q-in .7s var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ask-form .note-email { color: var(--grey); font-size: 14px; margin-top: 30px; }
.form__error { margin: 22px auto 0; max-width: 34em; color: #f0b4a8; font-size: 15px; }
.ask-form button[disabled] { opacity: .6; cursor: progress; }
.sent { display: none; flex-direction: column; align-items: center; gap: 22px; margin-top: 30px; }
.sent .wm { font-weight: 600; letter-spacing: -0.055em; font-size: clamp(54px, 9vw, 128px); line-height: .9; white-space: nowrap; }
.sent .wm .tld { font-weight: 300; color: var(--grey); }
.sent p { font-size: 20px; margin: 0; }
.sent .sent__fallback { display: none; font-size: 15px; color: var(--muted); }
.sent__fallback a { color: var(--ice); }
.is-mailto .sent .sent__fallback { display: block; }
.is-sent .ask-form { display: none; }
.is-sent .sent { display: flex; }
.receive { padding: clamp(100px, 14svh, 150px) var(--gut); text-align: center; border-top: 1px solid var(--line); }
.receive h2 { font-size: clamp(32px, 4vw, 58px); }
.receive .lead { margin-top: 16px; }
.mail { margin: 52px auto 0; width: min(680px, 92vw); text-align: left; background: #FAFAF8; color: #1a1a1a; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  font: 15.5px/1.6 Arial, Helvetica, sans-serif; }
.mail__bar { display: flex; gap: 7px; padding: 12px 16px; background: #ECECEA; }
.mail__bar i { width: 11px; height: 11px; border-radius: 50%; background: #CFCFCB; }
.mail__head { padding: 18px 28px 14px; border-bottom: 1px solid #E4E4E0; }
.mail__head p { margin: 0; color: #6b6b66; font-size: 13.5px; }
.mail__from { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mail__from p { line-height: 1.45; }
.mail__from b { color: #111; }
.mail__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0C0C0D; color: #ECEDE9; display: grid; place-items: center; }
.mail__avatar svg { width: 22px; height: 22px; }
.mail__date { margin-left: auto; color: #8a8a85; font-size: 12.5px; white-space: nowrap; }
.mail__sig { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.mail__sigmark { flex: none; width: 46px; height: 46px; border-radius: 6px; background: #0C0C0D; color: #ECEDE9; display: grid; place-items: center; }
.mail__sigmark svg { width: 25px; height: 25px; }
.mail__sig p { margin: 0; font-size: 13px; line-height: 18px; color: #5f5f5a; }
.mail__sig b { font-size: 14px; line-height: 20px; color: #0C0C0D; }
.mail__sig a { color: #0C0C0D; }
.mail__sig i { font-family: Georgia, "Times New Roman", serif; }
.mail__head .mail__subj { color: #111; font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.mail__body { padding: 22px 28px 28px; }
.mail__body p { margin: 0 0 14px; }
.mail__thumb { display: block; margin: 4px 0 12px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px #E4E4E0; }
.mail__thumb img { width: 100%; height: auto; }
.mail__band { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0C0C0D; color: #ECEDE9; }
.mail__band svg { width: 14px; height: 14px; flex: none; }
.mail__band b { font: 600 13px/1 Geist, Arial, sans-serif; letter-spacing: -0.04em; }
.mail__band b i { font-style: normal; font-weight: 300; color: #8c8c88; }
.mail__band em { margin-left: auto; font: 500 9.5px/1 "Geist Mono", monospace; letter-spacing: .1em; font-style: normal; color: #a6a7a3; }
.mail__link { color: #1a56c4; text-decoration: underline; }
@media (max-width: 520px) { .mail__band em { display: none; } .mail__head, .mail__body { padding-left: 18px; padding-right: 18px; } }

/* créditos */
.credits { min-height: 80svh; padding: 150px var(--gut) 100px; max-width: 980px; margin: 0 auto; }
.credits h1 { font-size: clamp(40px, 5vw, 72px); text-align: center; }
.credits .lead { text-align: center; margin-top: 18px; }
.credits ul { list-style: none; padding: 0; margin: 56px 0 0; }
.credits li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.credits li a { color: var(--ice); }

/* ---------------- entradas por máscara (só depois que o script roda; sem script, tudo à vista) ---------------- */
.js-ready [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js-ready [data-rise].is-in { opacity: 1; transform: none; }

/* títulos por linha: cada linha sobe por trás de uma máscara */
.js-ready [data-lines]:not(.is-split) { visibility: hidden; }   /* até o script dividir as linhas (sem isso, o título aparecia, sumia e voltava) */
.js-ready [data-lines] .sf-ln > span { transform: translateY(105%); transition: transform 1.15s var(--ease); }
.js-ready [data-lines].is-in .sf-ln > span { transform: none; }
/* a promessa em duas batidas */
.js-ready [data-beats] > span { opacity: 0; filter: blur(6px); transform: translateY(8px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1s var(--ease); }
.js-ready [data-beats].is-in > span { opacity: 1; filter: none; transform: none; }
.js-ready [data-beats].is-in > span:nth-child(2) { transition-delay: .55s; }
/* a frase do investimento acende palavra por palavra; os cantos chegam de longe e depois respiram */
.js-ready [data-words] .w { opacity: .14; transition: opacity .6s var(--ease); }
.js-ready [data-words].is-in .w { opacity: 1; }
.js-ready [data-words] .breathe { opacity: 0; transition: transform 1.3s var(--ease), opacity .8s var(--ease); }
.js-ready [data-words] .breathe--tl { transform: translate(-40px, -40px); }
.js-ready [data-words] .breathe--br { transform: translate(40px, 40px); }
.js-ready [data-words].is-in .breathe { opacity: 1; transform: none; transition-delay: .5s; }
@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-words] .breathe--tl, .js-ready [data-words] .breathe--br { animation: none; }
  .js-ready [data-words].is-in .breathe--tl { animation: breathe-tl 6s ease-in-out 2.2s infinite; }
  .js-ready [data-words].is-in .breathe--br { animation: breathe-br 6s ease-in-out 2.2s infinite; }
}
.js-ready .hero .hero__lead[data-rise] { transition-delay: .35s; }
.js-ready .hero [data-beats].is-in > span:nth-child(1) { transition-delay: .8s; }
.js-ready .hero [data-beats].is-in > span:nth-child(2) { transition-delay: 1.35s; }
.plate[data-rise]:nth-child(2) { transition-delay: .12s; } .plate[data-rise]:nth-child(3) { transition-delay: .24s; }

/* ---------------- celular ---------------- */
@media (max-width: 899px) {
  body { font-size: 16px; }
  .corners { inset: 10px; }
  .corners i { width: 34px; height: 34px; }
  .corners .c-prog { width: calc(34px + var(--p, 0) * 46vw); }
  .idx-btn { left: 18px; top: 16px; gap: 10px; }
  .idx-btn .wm-s { display: none; }
  .idx-btn .idx-lbl { border: 0; padding-left: 0; }
  .cta-fixed { right: 16px; bottom: 16px; height: 44px; padding: 0 18px; font-size: 14px; }
  .route__steps { grid-template-columns: 1fr; gap: 48px; max-width: 520px; }
  .step { min-height: 0; }
  .route__steps { gap: 64px; }
  .step__arrow { position: absolute; top: auto; right: auto; left: 50%; bottom: -50px; transform: translateX(-50%); flex-direction: row; justify-content: center; width: max-content; gap: 10px; }
  .step__arrow svg { transform: rotate(90deg); width: 34px; }
  .rail { padding-bottom: 20px; }
  .plate--b, .plate--c { align-self: center; }
  .room__notes { grid-template-columns: 1fr; gap: 16px; }
  .room__x { right: 14px; top: 14px; }
  .foot__row { justify-content: center; text-align: center; }
  .feature .piece { width: 92vw; }
  .lang-pill { left: 16px; bottom: 16px; height: 44px; padding: 0 14px; }
  .lang-pill .lang-pill__name { display: none; }
  .promise { font-size: 11px; letter-spacing: .12em; }
  .hero__down { bottom: 84px; }
  .phrase { padding: 120px 36px; }
  .breathe { width: .55em; height: .55em; }
  .breathe--tl { left: -.5em; top: -.45em; border-width: 3px 0 0 3px; } .breathe--br { right: -.5em; bottom: -.4em; border-width: 0 3px 3px 0; }
  .pc-tl { left: -10px; top: -10px; width: 30px; height: 30px; }
  .pc-br { right: -10px; bottom: -10px; width: 30px; height: 30px; }
  .cap { flex-direction: column; gap: 4px; }
  .cap--inline { flex-direction: row; gap: 0 .6em; }
}

/* ---------------- abertura animada (marca/animacao, v01 + "first" antes de "show") ---------------- */
.sf-intro, .sf-intro__skip { display: none; }
.sf-intro-on .sf-intro { display: block; position: fixed; inset: 0; z-index: 3000; pointer-events: none; }
.sf-intro-on .sf-intro__skip { display: inline-block; }
.sf-intro__bg { position: absolute; inset: 0; background: var(--black); }
.sf-intro__sq { position: absolute; left: 0; top: 0; background: var(--ice); will-change: transform; }
.sf-intro__c { position: absolute; left: 0; top: 0; width: 0; height: 0; --arm: 40px; --sw: 4px; will-change: transform; }
.sf-intro__c i { position: absolute; display: block; background: var(--ice); }
.sf-intro__c--tl .h { left: 0; top: 0; width: var(--arm); height: var(--sw); transform-origin: 0 0; }
.sf-intro__c--tl .v { left: 0; top: 0; width: var(--sw); height: var(--arm); transform-origin: 0 0; }
.sf-intro__c--br .h { left: calc(-1 * var(--arm)); top: calc(-1 * var(--sw)); width: var(--arm); height: var(--sw); transform-origin: 100% 0; }
.sf-intro__c--br .v { left: calc(-1 * var(--sw)); top: calc(-1 * var(--arm)); width: var(--sw); height: var(--arm); transform-origin: 0 100%; }
.sf-intro__word { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--sans); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ice); transform-origin: 0 0; }
.sf-intro__word .l { display: inline-block; }
.sf-intro__word .tld { font-weight: 300; color: var(--grey); }
.sf-intro__word .dot { display: inline-block; width: .13em; height: .13em; margin: 0 .035em 0 .045em; }
.sf-intro__meta { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); white-space: nowrap; opacity: 0; }
.sf-intro__skip { position: fixed; left: 16px; bottom: 16px; z-index: 3001; padding: 9px 12px; border: 0; border-radius: 999px; background: rgba(24,24,26,.86); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sf-intro__skip:hover, .sf-intro__skip:focus-visible { color: var(--ice); }
.sf-ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.sf-ln > span { display: block; }
@media (max-width: 600px) { .sf-intro__meta { bottom: 92px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
