/* ==========================================================================
   Eduardo Perazzoli • Retratos Corporativos — Proposta 2026 • 2027
   ========================================================================== */

:root {
  --ink: #0d0b09;
  --ink-2: #14110e;
  --ink-3: #1e1a16;
  --cream: #f4eee5;
  --muted: rgba(244, 238, 229, .66);
  --muted-2: rgba(244, 238, 229, .42);
  --line: rgba(244, 238, 229, .13);

  --paper: #f1ebe1;
  --paper-2: #e9e1d4;
  --paper-3: #fbf8f3;
  --paper-ink: #1a1612;
  --p-muted: rgba(26, 22, 18, .66);
  --p-line: rgba(26, 22, 18, .13);

  --accent: #e8944a;
  --accent-hi: #f3b678;
  --accent-lo: #b9631f;
  --wa: #25d366;

  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 20px;

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
main, .footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: var(--paper-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.display em, .testi__title em, .cta__title em, .hero__title em { font-style: italic; color: var(--accent); }
.section--paper .display em, .section--paper-2 .display em { color: var(--accent-lo); }

.kicker {
  display: flex; align-items: center; gap: .9em;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.kicker span { color: var(--accent); font-variant-numeric: tabular-nums; }
.kicker::after { content: ''; width: 44px; height: 1px; background: currentColor; opacity: .45; }
.section--paper .kicker, .section--paper-2 .kicker { color: var(--p-muted); }
.section--paper .kicker span, .section--paper-2 .kicker span { color: var(--accent-lo); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(232, 148, 74, .6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(232, 148, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 148, 74, 0); } }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent; --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: .95rem; letter-spacing: .005em; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
  isolation: isolate; overflow: hidden;
}
.btn .i { transition: transform .4s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn--accent { --bg: var(--accent); --fg: var(--paper-ink); }
.btn--accent:hover { --bg: var(--accent-hi); box-shadow: 0 14px 40px -12px rgba(232, 148, 74, .6); }
.btn--ghost { border-color: rgba(244, 238, 229, .32); }
.btn--ghost:hover { --bg: rgba(244, 238, 229, .09); border-color: rgba(244, 238, 229, .6); }
.btn--wa { --bg: var(--paper-ink); --fg: var(--paper); }
.btn--wa:hover { --bg: #000; }
.btn--sm { padding: .7em 1.15em; font-size: .86rem; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1rem; }
.btn--xl { padding: 1.2em 2.2em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: .95rem; color: var(--cream); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, gap .3s; }
.link-arrow:hover { border-color: var(--accent); gap: .8em; }
.link-arrow--dark { color: var(--paper-ink); border-color: var(--p-line); }
.inline-link { color: var(--accent-lo); border-bottom: 1px solid currentColor; font-weight: 500; }

.pill { display: inline-flex; align-items: center; gap: .55em; padding: .65em 1.1em; border-radius: 999px; border: 1px solid var(--p-line); font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }

/* ---------- Loader: o capelo se desenha, os semestres carregam e ele é jogado para o alto ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 44%, #1c1814 0%, var(--ink) 60%); color: var(--cream);
  transition: opacity .7s ease .15s, visibility 0s linear .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 5vh, 44px); width: min(76vw, 300px); }
.loader__cap { width: min(48vw, 30vh, 210px); transition: transform .75s cubic-bezier(.5, -.45, .55, 1), opacity .6s ease .2s; }
.loader__cap svg { display: block; width: 100%; height: auto; overflow: visible; }
.cap__line { fill: none; stroke: var(--cream); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader.is-focus .cap__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out); }
.loader.is-focus .cap__skull { transition-delay: .18s; }
.loader.is-focus .cap__cord { transition-delay: .5s; }
.cap__button, .cap__tuft { fill: var(--accent); opacity: 0; transition: opacity .5s ease .7s; }
.loader.is-focus .cap__button, .loader.is-focus .cap__tuft { opacity: 1; }
.cap__tassel { transform-origin: 101px 35px; }
.loader.is-lock .cap__tassel { animation: tassel 1.1s var(--ease-out); }
@keyframes tassel { 25% { transform: rotate(14deg); } 55% { transform: rotate(-7deg); } 80% { transform: rotate(3deg); } }
.loader.is-toss .loader__cap { transform: translateY(-62vh) rotate(-24deg) scale(.82); opacity: 0; }
.loader__load { width: 100%; opacity: 0; transform: translateY(10px); transition: opacity .6s ease .3s, transform .8s var(--ease-out) .3s; }
.loader.is-focus .loader__load { opacity: 1; transform: none; }
.loader__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.loader__row b { font-weight: 500; color: var(--cream); letter-spacing: .14em; font-variant-numeric: tabular-nums; transition: color .3s; }
.loader.is-lock .loader__row b { color: var(--accent); }
.loader__bar { position: relative; height: 1px; margin-top: 14px; background: rgba(244, 238, 229, .16); }
.loader__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .16s linear; }
.loader__ticks { display: flex; justify-content: space-between; margin-top: 7px; }
.loader__ticks i { width: 1px; height: 4px; background: rgba(244, 238, 229, .22); transition: background .2s; }
.loader__ticks i.is-on { background: var(--accent); }
.loader__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.loader.is-shot .loader__flash { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .92; } 100% { opacity: 0; } }

/* ---------- Progresso + grão ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-lo), var(--accent), var(--accent-hi)); transform-origin: left; transform: scaleX(0); }
.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-6%, 3%); } 40% { transform: translate(4%, -5%); } 60% { transform: translate(-3%, 6%); } 80% { transform: translate(6%, 2%); } }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 20px var(--gutter);
  transition: transform .55s var(--ease-out), background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(13, 11, 9, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); padding-block: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.4rem; line-height: 1; white-space: nowrap; }
.nav__logo { width: 40px; height: auto; opacity: .95; transition: transform .8s var(--ease-out); }
.nav__brand:hover .nav__logo { transform: rotate(-20deg); }
.nav__links { margin-left: auto; display: flex; gap: 28px; font-size: .9rem; }
.nav__links a { position: relative; color: var(--muted); transition: color .3s; padding: 4px 0; white-space: nowrap; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-left: auto; flex: none; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.12; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease-out), color .3s; }
.menu__links a small { font-family: var(--sans); font-size: .75rem; color: var(--accent); letter-spacing: .1em; }
.menu__links a:hover { color: var(--accent); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .19s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .23s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .27s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .31s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(7) { transition-delay: .39s; }
.menu__foot { display: flex; gap: 22px; font-size: .9rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.w__i { display: inline-block; }
.js [data-split] .w__i { transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease-out); }
.js [data-split].is-in .w__i { transform: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 168px) 0; overflow-x: clip; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper-2 { background: var(--paper-2); color: var(--paper-ink); }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head__aside { color: var(--muted); max-width: 44ch; font-size: 1.05rem; }
.section--paper .section-head__aside, .section--paper-2 .section-head__aside { color: var(--p-muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 78% 45%, #221d18 0%, var(--ink) 62%); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(244, 238, 229, .028) 0 1px, transparent 1px calc(100% / 12)); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: 112px; padding-bottom: 92px; }
.hero__content { position: relative; z-index: 3; pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .9; letter-spacing: -.022em; margin-top: 24px; text-wrap: balance; }
.hero__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.15; margin-top: 20px; color: var(--cream); max-width: 34ch; }
.hero__row { display: flex; flex-direction: column; gap: 24px; margin-top: 26px; }
.hero__sub { max-width: 52ch; color: var(--muted); font-size: 1rem; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.js .hero__in { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.hero.is-in .hero__in { opacity: 1; transform: none; }
.hero.is-in .hero__lead { transition-delay: .45s; }
.hero.is-in .hero__row { transition-delay: .6s; }
.hero.is-in .hero__scroll { transition-delay: .9s; }

/* Pilha de fotos: arraste a foto de cima para o fundo e os capelos voam */
.deck { position: relative; justify-self: end; width: min(100%, 420px, calc(64svh * 2 / 3)); z-index: 2; }
.js .deck { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1.2s var(--ease-out) .25s, transform 1.4s var(--ease-out) .25s; }
.hero.is-in .deck { opacity: 1; transform: none; }
.deck__stage { position: relative; aspect-ratio: 2 / 3; perspective: 1400px; touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.deck__stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 12px; border-radius: 28px; }
.deck__tilt { position: absolute; inset: 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.card { position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden; background: var(--ink-3); box-shadow: 0 46px 80px -36px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 238, 229, .1); transform-origin: 50% 80%; transition: transform .75s var(--ease-out), opacity .45s ease, filter .6s ease; will-change: transform; }
.card.is-top { cursor: grab; }
.card.is-drag { transition: none; cursor: grabbing; }
.card.is-fly { transition: transform .5s cubic-bezier(.3, .6, .35, 1), opacity .4s ease .08s; }
.card:not(.is-top) { filter: brightness(.62) saturate(.8); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); pointer-events: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.card.is-top img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 11, 9, .82), rgba(13, 11, 9, 0) 36%); pointer-events: none; }
.card figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #fff; }
.card figcaption b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.45rem; line-height: 1; }
.card figcaption span { font-size: .66rem; letter-spacing: .18em; font-variant-numeric: tabular-nums; opacity: .78; white-space: nowrap; }
.deck__hint { position: absolute; left: 50%; top: 16px; z-index: 20; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(13, 11, 9, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .7rem; letter-spacing: .06em; color: #fff; white-space: nowrap; pointer-events: none; transition: opacity .5s, translate .5s var(--ease-out); }
.deck__hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(232, 148, 74, .6); animation: pulse 2s infinite; }
.deck.is-used .deck__hint { opacity: 0; translate: -50% -8px; }
.deck__bar { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.deck__nav { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cream); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.deck__nav:hover { background: rgba(244, 238, 229, .08); border-color: rgba(244, 238, 229, .4); }
.deck__nav:active { transform: scale(.92); }
.deck__nav .i { width: 18px; height: 18px; }
.deck__ticks { flex: 1; display: flex; gap: 6px; }
.deck__ticks i { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(244, 238, 229, .2); }
.deck__ticks i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.deck__ticks i.is-done::after { transform: scaleX(1); }
.deck__ticks i.is-active::after { animation: barfill 6s linear forwards; }
.deck.is-paused .deck__ticks i.is-active::after { animation-play-state: paused; }
@keyframes barfill { to { transform: scaleX(1); } }
.deck__side { position: absolute; right: calc(-1 * clamp(28px, 3vw, 44px)); top: 0; height: calc(100% - 70px); display: flex; align-items: center; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.deck__side i { font-style: normal; color: var(--accent); }
.toss { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1px solid rgba(244, 238, 229, .4); border-radius: 20px; translate: -50% 0; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Faixa ---------- */
.marquee { position: relative; z-index: 4; background: var(--accent); color: var(--paper-ink); overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.9rem); white-space: nowrap; }
.marquee i { font-style: normal; font-size: .9rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 900 / 947; background: var(--ink-3); }
.about__photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.badge { position: absolute; right: -36px; bottom: -36px; width: clamp(120px, 13vw, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--paper-ink); display: grid; place-items: center; box-shadow: 0 20px 50px -18px rgba(90, 50, 10, .5); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--sans); font-size: 12.6px; font-weight: 600; letter-spacing: 2.3px; fill: currentColor; }
.badge__core { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p:not(.kicker) { color: var(--p-muted); font-size: 1.06rem; max-width: 58ch; margin-top: 20px; }
.about__text .display { margin-bottom: 8px; }
.about__text strong { color: var(--paper-ink); }
.about__text p.about__sign { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.25; color: var(--paper-ink); margin-top: 30px; }
.about__sign strong { font-weight: 400; font-style: italic; color: var(--accent-lo); }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--p-line); }
.stat { padding: 34px 24px 6px; border-right: 1px solid var(--p-line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--serif); font-size: clamp(3.4rem, 6.4vw, 5.6rem); line-height: .95; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.stat__n em { font-size: .45em; color: var(--accent-lo); }
.stat p:last-child { color: var(--p-muted); font-size: .95rem; margin-top: 8px; max-width: 22ch; }
.awards { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.award { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--paper-3); border: 1px solid var(--p-line); font-size: .95rem; }
.award .i { color: var(--accent-lo); width: 1.3em; height: 1.3em; }

/* ---------- Portfólio ---------- */
.works { position: relative; background: var(--ink); }
.works__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 3.4vh, 44px); overflow: hidden; padding: 90px 0 36px; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.works__head .kicker { margin-bottom: 14px; }
.works__track { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); padding-inline: var(--gutter); will-change: transform; width: max-content; }
.work { position: relative; flex: none; height: min(58vh, 600px); aspect-ratio: var(--ar, 2 / 3); border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--ink-3); margin: 0; }
.work:nth-child(3n+2) { height: min(48vh, 500px); align-self: flex-end; }
.work:nth-child(3n) { height: min(52vh, 540px); align-self: flex-start; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.work:hover img { transform: scale(1.06); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .66), transparent); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.work figcaption b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: #fff; }
.works__track .work--end { display: grid; place-items: center; background: var(--accent); color: var(--paper-ink); cursor: pointer; aspect-ratio: 2 / 3; height: min(58vh, 600px); align-self: center; transition: background .4s; }
.work--end span { font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.04; text-align: center; padding: 28px; }
.work--end em { display: block; font-size: .72rem; margin-top: 18px; font-style: normal; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; }
.work--end:hover { background: var(--accent-hi); }
.works__foot { display: flex; align-items: center; gap: 24px; }
.works__progress { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.works__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.works__hint { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Como funciona ---------- */
.flow { position: relative; }
.flow__line { position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--p-line); }
.flow__line i { display: block; height: 100%; background: var(--accent-lo); transform-origin: left; transform: scaleX(var(--p, 0)); }
.flow__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.flow__item { position: relative; display: flex; flex-direction: column; gap: 12px; }
.flow__ico { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); border: 1px solid rgba(26, 22, 18, .22); color: var(--paper-ink); transition: background .6s var(--ease-out), color .6s, border-color .6s, transform .6s var(--ease-out); }
.flow__ico .i { width: 26px; height: 26px; stroke-width: 1.4; }
.flow__item.is-lit .flow__ico { background: var(--paper-ink); color: var(--accent-hi); border-color: var(--paper-ink); transform: scale(1.06); }
.flow__n { position: absolute; right: 0; top: -14px; font-family: var(--serif); font-size: clamp(4.4rem, 7vw, 6.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(26, 22, 18, .2); pointer-events: none; transition: -webkit-text-stroke-color .6s; }
.flow__item.is-lit .flow__n { -webkit-text-stroke-color: rgba(185, 99, 31, .55); }
.flow__when { margin-top: 18px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-lo); font-weight: 600; }
.flow__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.05; }
.flow__item p { color: var(--p-muted); font-size: .98rem; }

/* ---------- Depoimento ---------- */
.testi { background: var(--ink-2); overflow: hidden; }
.testi__row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(28px, 4vw, 56px); }
.testi__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 9vw, 8.4rem); line-height: .86; letter-spacing: -.02em; }
.testi__role { margin-top: 22px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.testi__text p:not(.testi__role) { color: var(--muted); font-size: 1.08rem; margin-top: 18px; max-width: 44ch; }
.testi__text strong { color: var(--cream); font-weight: 500; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; text-align: left; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s var(--ease-out), opacity .6s; }
.video:hover img { transform: scale(1.04); opacity: .95; }
.video__play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 7vw, 92px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.video__play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(232, 148, 74, .6); animation: ring 2.4s var(--ease) infinite; }
.video__play svg { width: 34%; fill: var(--paper-ink); margin-left: 6%; }
.video:hover .video__play { transform: scale(1.08); }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.video__label { position: absolute; left: 20px; bottom: 18px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); background: rgba(13, 11, 9, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.video__label b { font-weight: 500; color: #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Preço ---------- */
.price { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: .36em; margin-right: 5px; vertical-align: .95em; letter-spacing: .04em; }

/* ---------- Controles ---------- */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.stepper button:hover { background: rgba(244, 238, 229, .08); }
.stepper button:disabled { opacity: .3; cursor: default; background: none; }
.stepper output { min-width: 2.6ch; text-align: center; font-family: var(--serif); font-size: 1.55rem; line-height: 1; font-variant-numeric: tabular-nums; }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.quick button:hover { color: var(--cream); border-color: rgba(244, 238, 229, .4); }
.quick button:disabled { opacity: .35; cursor: default; }
.quick button.quick--reset { margin-left: auto; }

/* ---------- Orçamento (passo a passo) ---------- */
.quote { background: var(--ink); }
.incl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.incl li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; color: var(--cream); }
.incl .i { width: 15px; height: 15px; stroke-width: 2.2; color: var(--accent); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: clamp(24px, 4vw, 56px); align-items: start; }

.wiz { position: relative; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(244, 238, 229, .035), rgba(244, 238, 229, .01)); }
.wiz__top { padding: 24px clamp(18px, 3vw, 34px) 0; }
.wiz__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wiz__meta b { color: var(--accent); font-weight: 500; }
.wiz__progress { height: 3px; margin-top: 14px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wiz__progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-lo), var(--accent), var(--accent-hi)); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease-out); }
.wiz__dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.wiz__dots button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; color: var(--muted-2); transition: background .3s, color .3s, border-color .3s; }
.wiz__dots button .i { width: 13px; height: 13px; stroke-width: 2.4; color: var(--accent); }
.wiz__dots button.is-done { color: var(--cream); border-color: rgba(244, 238, 229, .25); }
.wiz__dots button.is-done:hover { border-color: var(--accent); }
.wiz__dots button.is-current { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.wiz__dots button.is-current .i { color: var(--ink); }
.wiz__dots button:disabled { cursor: default; opacity: .5; }
.wstep { display: none; padding: 28px clamp(18px, 3vw, 34px) 34px; }
.wstep.is-active { display: block; animation: stepIn .6s var(--ease-out); }
.wiz.is-back .wstep.is-active { animation-name: stepBack; }
.wiz.is-shake .wstep.is-active { animation: shake .45s; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.wstep__head { margin-bottom: 26px; }
.wstep__head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.8vw, 3rem); line-height: 1; letter-spacing: -.01em; }
.wstep__head h3 em { color: var(--accent); }
.wstep__head p { color: var(--muted); margin-top: 10px; font-size: 1rem; max-width: 56ch; }
.wiz__nav { position: sticky; bottom: 0; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 14px clamp(14px, 3vw, 34px); padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(20, 17, 14, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 0 0 26px 26px; }
.wiz__total { display: none; margin-right: auto; flex-direction: column; line-height: 1.1; min-width: 0; }
.wiz__total small { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wiz__total strong { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wiz__prev { margin-right: auto; }
.wiz__prev.is-hidden { visibility: hidden; }
.wiz__next.is-blocked { opacity: .45; }
.wiz__next .i, .wiz__send .i { width: 18px; height: 18px; }

/* Passo 1: formato (cartões com foto) */
.fmts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fmt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fmt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.fmt__box { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 18px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); isolation: isolate; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.fmt__box > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.35) brightness(.86); }
.fmt__box::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 11, 9, .96) 0%, rgba(13, 11, 9, .82) 34%, rgba(13, 11, 9, .25) 60%, rgba(13, 11, 9, 0) 76%); }
.fmt:hover .fmt__box > img { transform: scale(1.05); filter: none; }
.fmt:active .fmt__box { transform: scale(.98); }
.fmt__ico { position: absolute; left: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 11, 9, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); color: var(--cream); }
.fmt__ico .i { width: 20px; height: 20px; }
.fmt__body { display: flex; flex-direction: column; align-items: flex-start; }
.fmt__body > b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; }
.fmt__body > small { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.fmt__from { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(244, 238, 229, .16); font-size: .8rem; color: var(--cream); }
.fmt__from b { font-family: var(--sans); font-size: inherit; font-weight: 600; color: var(--accent-hi); }
.fmt .choice__check { top: 16px; right: 16px; background: rgba(13, 11, 9, .4); border-color: rgba(255, 255, 255, .3); }
.fmt input:checked + .fmt__box { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(232, 148, 74, .45); }
.fmt input:checked + .fmt__box > img { filter: none; }
.fmt input:checked + .fmt__box .choice__check { background: var(--accent); border-color: var(--accent); }
.fmt input:checked + .fmt__box .choice__check .i { opacity: 1; }
.fmt input:focus-visible + .fmt__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.fmt--wa .fmt__box { background:
  radial-gradient(circle at 80% 10%, rgba(37, 211, 102, .16), transparent 55%),
  linear-gradient(160deg, var(--ink-3), var(--ink-2)); }
.fmt--wa .fmt__box::after { display: none; }
.fmt--wa .fmt__art { position: absolute; left: 50%; top: 36%; translate: -50% -50%; width: 52%; color: rgba(244, 238, 229, .12); transition: color .5s, transform .8s var(--ease-out); }
.fmt--wa:hover .fmt__art { color: rgba(244, 238, 229, .2); transform: scale(1.05); }
.fmt--wa .fmt__art .i { width: 100%; height: auto; stroke-width: .7; }
.fmt--wa .fmt__from { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 500; white-space: nowrap; }
.fmt--wa .fmt__ico { color: var(--wa); border-color: rgba(37, 211, 102, .35); }
.fmt--wa .fmt__from .i { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.fmt--wa:hover .fmt__box { border-color: rgba(37, 211, 102, .55); }
.fmt--wa:hover .fmt__from .i:last-child { transform: translateX(4px); }

/* Passo 2: pacotes */
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pack { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pack input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.pack__box { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 22px 20px; border-radius: 22px; border: 1px solid var(--line); background: rgba(244, 238, 229, .02); transition: border-color .3s, background .3s, box-shadow .3s, transform .35s var(--ease-out); overflow: hidden; }
.pack:hover .pack__box { border-color: rgba(244, 238, 229, .32); }
.pack:active .pack__box { transform: scale(.985); }
.pack input:checked + .pack__box { border-color: var(--accent); background: rgba(232, 148, 74, .07); box-shadow: inset 0 0 0 1px var(--accent); }
.pack input:checked + .pack__box .choice__check { background: var(--accent); border-color: var(--accent); }
.pack input:checked + .pack__box .choice__check .i { opacity: 1; }
.pack input:focus-visible + .pack__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.pack__selo { position: absolute; top: 18px; right: 52px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--paper-ink); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pack .choice__check { top: 18px; right: 18px; }
.pack__num { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: clamp(4.6rem, 8vw, 6.4rem); line-height: .82; letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.pack__num small { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.pack__dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 16px; max-width: 260px; }
.pack__dots i { width: 7px; height: 10px; border-radius: 1.5px; background: var(--cream); opacity: .85; }
.pack__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pack__unit { font-size: .8rem; color: var(--muted); }
.pack__unit b { color: var(--accent-hi); font-weight: 600; }
.pack__list { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.pack__list > span { display: flex; align-items: center; gap: 10px; }
.pack__list .i { width: 17px; height: 17px; color: var(--accent); }
.pack__list b { color: var(--cream); font-weight: 500; }
.pack--wide { grid-column: 1 / -1; }
.pack--wide .pack__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 0; }
.pack--wide .pack__img { position: relative; min-height: 100%; }
.pack--wide .pack__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pack--wide .pack__body { position: relative; display: flex; flex-direction: column; padding: 22px 24px 22px; }

.tip { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 14px 14px 18px; border-radius: 18px; background: linear-gradient(100deg, rgba(232, 148, 74, .2), rgba(232, 148, 74, .06)); border: 1px solid rgba(232, 148, 74, .42); animation: stepIn .5s var(--ease-out); }
.tip > .i { width: 22px; height: 22px; color: var(--accent); }
.tip p { flex: 1; font-size: .92rem; line-height: 1.45; }
.tip p b { color: var(--accent-hi); font-weight: 600; }

/* Passo 3: folha de contato das fotos */
.pstack { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding: 14px 22px 14px 14px; border-radius: 22px; border: 1px solid var(--line); background: rgba(244, 238, 229, .025); }
.pstack__pile { position: relative; flex: none; width: 116px; height: 134px; }
.pc { position: absolute; left: 50%; bottom: 10px; width: 62px; height: 90px; margin-left: -31px; border-radius: 5px; border: 3px solid var(--cream); background: var(--ink-3) 50% 22% / cover no-repeat; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .8); transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .45s var(--ease-out), opacity .3s ease; }
.pc--ext { border-color: var(--accent); }
.pc.is-drop { animation: pcdrop .6s var(--ease-out) backwards; }
@keyframes pcdrop { from { opacity: 0; transform: translate(calc(var(--x) + 12px), calc(var(--y) - 48px)) rotate(calc(var(--r) + 16deg)) scale(1.1); } }
.pc.is-out { opacity: 0; transform: translate(calc(var(--x) - 12px), calc(var(--y) - 34px)) rotate(calc(var(--r) - 14deg)); }
.pstack__badge { position: absolute; right: 0; top: 2px; z-index: 20; min-width: 36px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--paper-ink); font-size: .76rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7); transition: transform .35s var(--ease-out), opacity .3s; }
.pstack__badge:empty { opacity: 0; transform: scale(.5); }
.pstack__badge.is-bump { animation: badgebump .4s var(--ease-out); }
@keyframes badgebump { 40% { transform: scale(1.22); } }
.pstack__info { min-width: 0; }
.pstack__count { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; font-family: var(--serif); line-height: .9; }
.pstack__count b { font-weight: 400; font-size: clamp(3rem, 5vw, 3.8rem); font-variant-numeric: tabular-nums; }
.pstack__count small { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pstack__split { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.pstack__split em { font-style: normal; font-weight: 500; color: var(--accent); white-space: nowrap; }
.pstack__gal { margin-top: 2px; font-size: .8rem; color: var(--muted-2); }

.later { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(244, 238, 229, .05); border: 1px dashed rgba(244, 238, 229, .22); }
.later > .i { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.later p { font-size: .92rem; line-height: 1.5; color: var(--muted); }
.later b { color: var(--cream); font-weight: 600; }

.xrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.xrow__t b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.xrow__t small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.xrow--sep { margin-top: 22px; }
.covprice { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 20px; border-top: 1px dashed var(--line); }
.covprice span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.covprice strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Escolhas genéricas (pagamento) */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(244, 238, 229, .02); transition: border-color .3s, background .3s, box-shadow .3s, transform .35s var(--ease-out); }
.choice:hover .choice__box { border-color: rgba(244, 238, 229, .32); }
.choice:active .choice__box { transform: scale(.97); }
.choice__box > .i { width: 28px; height: 28px; stroke-width: 1.3; color: var(--accent); margin-bottom: 8px; }
.choice__box > b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.05; padding-right: 26px; }
.choice__box small { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.choice__check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.choice__check .i { width: 14px; height: 14px; stroke-width: 2.6; color: var(--paper-ink); opacity: 0; transition: opacity .3s; }
.choice input:checked + .choice__box { border-color: var(--accent); background: rgba(232, 148, 74, .09); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:checked + .choice__box .choice__check { background: var(--accent); border-color: var(--accent); }
.choice input:checked + .choice__box .choice__check .i { opacity: 1; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice__calc { margin-top: 8px; font-size: .95rem; line-height: 1.4; }
.choice__calc b { font-weight: 600; color: var(--accent-hi); }

/* Passo final */
.final { display: flex; flex-direction: column; gap: 22px; }
.final__note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: rgba(244, 238, 229, .04); border: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.final__note .i { color: var(--accent); margin-top: 3px; }
.final__desk { color: var(--muted); font-size: .95rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .flabel { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 12px; font-family: var(--serif); font-size: 1.45rem; color: var(--cream); outline: none; transition: border-color .3s; color-scheme: dark; min-height: 52px; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus { border-color: var(--accent); }
.field input::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
.hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(244, 238, 229, .05); color: var(--muted); font-size: .9rem; line-height: 1.5; }
.hint .i { margin-top: 3px; color: var(--accent); }
.hint b { color: var(--cream); font-weight: 500; }
.hint--warn { background: rgba(232, 148, 74, .12); color: var(--cream); }
.hint:empty { display: none; }

/* Recibo */
.receipt { position: sticky; top: 92px; }
.receipt__paper {
  position: relative; padding: 28px 26px 30px; background: var(--paper); color: var(--paper-ink);
  border-radius: 20px 20px 0 0; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
}
.receipt__paper::after { content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px; background: radial-gradient(circle at 10px 12px, transparent 7px, var(--paper) 7.5px) 0 0 / 20px 12px repeat-x; }
.receipt__head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--p-line); }
.receipt__head img { width: 52px; flex: none; opacity: .85; }
.receipt__eyebrow { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--p-muted); }
.receipt__name { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; margin-top: 4px; overflow-wrap: anywhere; }
.receipt__meta { font-size: .84rem; color: var(--p-muted); margin-top: 6px; }
.receipt__meta b { color: var(--accent-lo); font-weight: 600; }
.receipt__sheet { position: relative; margin-top: 18px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.receipt__sheet:empty { display: none; }
.receipt__sheet img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); filter: grayscale(.2); animation: ri-img .9s var(--ease-out); }
@keyframes ri-img { from { opacity: 0; transform: scale(1.08); } }
.receipt__sheet span { position: absolute; left: 12px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 11, 9, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.receipt__items { display: flex; flex-direction: column; }
.ri { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--p-line); }
.ri.is-new { animation: ri-in .7s var(--ease-out); }
@keyframes ri-in { from { opacity: 0; transform: translateX(16px); background: rgba(232, 148, 74, .18); } }
.ri b { display: block; font-weight: 500; font-size: .98rem; }
.ri small { display: block; color: var(--p-muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.ri__v { font-family: var(--serif); font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ri__x { position: absolute; left: -22px; top: 15px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--p-muted); opacity: 0; transition: opacity .2s, color .2s; }
.ri__x .i { width: 12px; height: 12px; stroke-width: 2.2; }
.ri:hover .ri__x, .ri__x:focus-visible { opacity: 1; }
.ri__x:hover { color: #b3261e; }
.receipt__empty { padding: 26px 0 8px; text-align: center; color: var(--p-muted); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.receipt__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--paper-ink); }
.receipt__total span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.receipt__total strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3.1rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__pay { margin-top: 8px; text-align: right; font-size: .86rem; color: var(--p-muted); }
.receipt__pay b { color: var(--paper-ink); font-weight: 600; }
.receipt__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.receipt__tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.receipt__tools button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--p-line); font-size: .78rem; transition: background .25s, border-color .25s; }
.receipt__tools button:hover { background: var(--paper-3); border-color: rgba(26, 22, 18, .3); }
.receipt__tools .i { width: 18px; height: 18px; }
.receipt__fine { margin-top: 16px; font-size: .74rem; color: var(--p-muted); text-align: center; line-height: 1.5; }
.receipt.is-bump .receipt__paper { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: translateY(-4px) rotate(-.4deg); } }
.noscript { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }

/* Álbum */
.albs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.alb { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.alb input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.alb__box { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; border: 1px solid var(--line); background: rgba(244, 238, 229, .02); overflow: hidden; transition: border-color .3s, background .3s, box-shadow .3s, transform .35s var(--ease-out); }
.alb:hover .alb__box { border-color: rgba(244, 238, 229, .32); }
.alb:active .alb__box { transform: scale(.985); }
.alb input:checked + .alb__box { border-color: var(--accent); background: rgba(232, 148, 74, .07); box-shadow: inset 0 0 0 1px var(--accent); }
.alb input:checked + .alb__box .choice__check { background: var(--accent); border-color: var(--accent); }
.alb input:checked + .alb__box .choice__check .i { opacity: 1; }
.alb input:focus-visible + .alb__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.alb .choice__check { top: 16px; right: 16px; z-index: 1; background: rgba(13, 11, 9, .4); }
.alb__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 62%, rgba(232, 148, 74, .16), transparent 60%), var(--ink-3); perspective: 900px; }
.alb__book { position: relative; width: 44%; aspect-ratio: 1; border-radius: 3px 6px 6px 3px; overflow: hidden; transform: rotateY(-20deg) rotateX(8deg); box-shadow: 2px 2px 0 #e9e1d4, 4px 4px 0 #bfb3a4, 6px 6px 0 #e9e1d4, 22px 26px 40px -10px rgba(0, 0, 0, .85); transition: transform .9s var(--ease-out); }
.alb__book::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 9%; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .14) 60%, rgba(0, 0, 0, .25)); }
.alb__book img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.alb__book i { position: absolute; right: 7px; bottom: 7px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: rgba(13, 11, 9, .6); color: #fff; font-style: normal; font-size: .6rem; letter-spacing: .12em; white-space: nowrap; }
.alb:hover .alb__book, .alb input:checked + .alb__box .alb__book { transform: rotateY(-8deg) rotateX(3deg) scale(1.05); }
.alb__digital { display: grid; place-items: center; width: 30%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(244, 238, 229, .25); color: var(--muted); }
.alb__digital .i { width: 40%; height: 40%; stroke-width: 1.1; }
.alb__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 18px 20px 20px; }
.alb__body b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.alb__body small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.alb__price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .95rem; font-weight: 600; color: var(--accent-hi); }
.alb__body small + .alb__price { margin-top: 12px; }
.alb--no .alb__price { color: var(--muted); font-weight: 500; }

/* Local, economia e detalhes do orçamento */
.cityf { margin-top: 22px; animation: stepIn .5s var(--ease-out); }
[data-pay-travel] { margin-top: 16px; }
.covprice__r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.covprice__r small { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--accent-hi); }
.covprice__r small:empty { display: none; }
.covprice__r small .i { width: 15px; height: 15px; }
.pack__list s { color: var(--muted-2); font-size: .84em; margin-left: 3px; }
.ri__v--txt { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.receipt__travel { margin-top: 6px; text-align: right; font-size: .84rem; font-weight: 500; color: var(--accent-lo); }
.receipt__tools button.is-busy { opacity: .5; pointer-events: none; }

/* Prévia do PDF (celular e navegadores internos) */
.pdfv { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); background: rgba(8, 7, 6, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.pdfv.is-open { opacity: 1; }
.pdfv__panel { display: flex; flex-direction: column; gap: 14px; width: min(100%, 460px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 16px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); transform: translateY(16px); transition: transform .45s var(--ease-out); }
.pdfv.is-open .pdfv__panel { transform: none; }
.pdfv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 4px; }
.pdfv__head p { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.pdfv__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.pdfv__img { flex: 1 1 auto; min-height: 120px; overflow: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; background: var(--paper); }
.pdfv__img img { display: block; width: 100%; height: auto; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.pdfv__note { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.pdfv__note .i { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.pdfv__note b { color: var(--cream); font-weight: 600; }
.pdfv__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdfv__actions .btn { flex: 1 1 140px; }
.pdfv__actions .pdfv__wa { flex-basis: 100%; }
.pdfv .btn--wa { --bg: var(--cream); --fg: var(--ink); }
.pdfv .btn--wa:hover { --bg: #fff; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .link-arrow { margin-top: 30px; }
.qa { border-top: 1px solid var(--p-line); }
.qa:last-child { border-bottom: 1px solid var(--p-line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.2; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-lo); }
.qa__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--p-line); transition: background .4s, transform .5s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--paper-ink); color: var(--paper); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease-out), content-visibility .55s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 64px 28px 0; color: var(--p-muted); font-size: 1.05rem; }
.qa__a strong, .qa__a b { color: var(--paper-ink); }
.paylist { display: flex; flex-direction: column; gap: 10px; }
.paylist li { position: relative; padding-left: 22px; }
.paylist li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- CTA / Contato ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0 clamp(80px, 10vw, 130px); isolation: isolate; background: var(--ink); }
.cta__media { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(46vw, 640px); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); }
.cta__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 20%; opacity: .55; will-change: transform; }
.cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(13, 11, 9, .2) 30%, rgba(13, 11, 9, .3) 70%, var(--ink)); }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.01em; max-width: 17ch; text-wrap: balance; }
.cta .btn--xl { margin-top: 44px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; margin-top: clamp(64px, 9vw, 110px); }
.contact__item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(13, 11, 9, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .3s, background .3s, transform .5s var(--ease-out); min-width: 0; }
a.contact__item:hover { border-color: var(--accent); transform: translateY(-4px); }
.contact .i { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.contact span { font-size: .95rem; overflow-wrap: anywhere; min-width: 0; }
.contact small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: 56px 0 max(56px, calc(env(safe-area-inset-bottom) + 24px)); overflow: hidden; border-top: 1px solid var(--line); }
.footer__top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__logo { width: 92px; opacity: .9; }
.footer__info { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.footer__top-link { margin-left: auto; font-size: .9rem; color: var(--muted); transition: color .3s; }
.footer__top-link:hover { color: var(--accent); }

/* ---------- Dock / toast / lightbox / cursor ---------- */
.dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 95; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(30, 26, 22, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transform: translate(-50%, 160%); transition: transform .7s var(--ease-out); }
.dock.is-visible { transform: translate(-50%, 0); }
.dock__info { display: flex; flex-direction: column; line-height: 1.1; }
.dock__info small { white-space: nowrap; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dock__info strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.toast { position: fixed; left: 50%; top: 22px; z-index: 250; padding: 12px 20px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .92rem; font-weight: 500; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translate(-50%, -220%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.lb { position: fixed; inset: 0; z-index: 260; background: rgba(8, 7, 6, .96); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity .4s; }
.lb.is-open { opacity: 1; }
.lb__fig { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 6px; transform: scale(.96); transition: transform .5s var(--ease-out); }
.lb.is-open .lb__fig img { transform: none; }
.lb__fig figcaption { color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.lb__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb__btn:hover { background: rgba(244, 238, 229, .1); border-color: rgba(244, 238, 229, .4); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb__next { right: 14px; top: 50%; translate: 0 -50%; }

.cursor { position: fixed; left: 0; top: 0; z-index: 240; pointer-events: none; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--accent); color: var(--paper-ink); display: grid; place-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; translate: -200px -200px; scale: 0; transition: scale .45s var(--ease-out); will-change: translate; }
.cursor.is-on { scale: 1; }

.print-sheet { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { gap: 22px; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: 0; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .quote__grid { grid-template-columns: 1fr; }
  .receipt { position: relative; top: 0; max-width: 560px; width: 100%; margin-inline: auto; }
  .quote:not(.is-last) .receipt { display: none; }
  .wiz__total { display: flex; }
  .wiz__prev { margin-right: 0; }
  .final__desk { display: none; }
  .flow__line { left: 34px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow__line i { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .flow__list { grid-template-columns: 1fr; gap: 36px; }
  .flow__item { padding-left: 96px; min-height: 68px; gap: 8px; }
  .flow__ico { position: absolute; left: 0; top: 0; }
  .flow__when { margin-top: 4px; }
  .flow__n { top: -8px; font-size: 4.4rem; }
  .flow__item p { max-width: 52ch; }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .about__grid, .testi__row, .faq__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .faq__head { position: relative; top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; padding-right: 16px; }
  .stat:nth-child(2) { border-right: 0; padding-left: 20px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(4) { padding-left: 20px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--p-line); }

  /* topo: a pilha de fotos vem antes do texto */
  .hero { align-items: flex-start; }
  .hero__grid { display: flex; flex-direction: column; gap: 34px; padding-top: 92px; padding-bottom: 64px; }
  .deck { order: -1; align-self: center; justify-self: auto; width: min(60vw, 280px, calc(44svh * 2 / 3)); }
  .js .deck { transform: translateY(24px); }
  .deck__side { display: none; }
  .deck__bar { margin-top: 20px; gap: 10px; }
  .deck__nav { width: 40px; height: 40px; }
  .deck__hint { top: 12px; font-size: .64rem; padding: 6px 11px; }
  .card { border-radius: 18px; }
  .card figcaption { left: 14px; right: 14px; bottom: 12px; }
  .card figcaption b { font-size: 1.1rem; }
  .card figcaption span { font-size: .58rem; }
  .hero__title { font-size: clamp(2.9rem, 12.5vw, 4.8rem); margin-top: 18px; }
  .hero__lead { font-size: clamp(1.3rem, 5.4vw, 1.7rem); margin-top: 16px; }
  .hero__row { margin-top: 22px; gap: 22px; }
  .hero__scroll { display: none; }

  /* portfólio vira carrossel com swipe */
  .works { height: auto !important; }
  .works__pin { position: relative; height: auto; padding: 100px 0 60px; }
  .works__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .works__track::-webkit-scrollbar { display: none; }
  .work, .work:nth-child(3n+2), .work:nth-child(3n) { height: min(68svh, 520px); align-self: center; scroll-snap-align: center; }
  .works__track .work--end { height: min(68svh, 520px); }
  .works__hint { display: none; }

  .cta__media { width: 80vw; opacity: .7; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .wiz { border-radius: 22px; margin-inline: calc(var(--gutter) * -.5); }
  .wiz__top { padding: 18px 18px 0; }
  .wiz__dots { display: none; }
  .wstep { padding: 22px 16px 26px; }
  .wstep__head { margin-bottom: 20px; }
  .wstep__head h3 { font-size: 2.1rem; }
  .wiz__nav { border-radius: 0 0 22px 22px; padding-inline: 14px; gap: 8px; }
  .wiz__prev { padding-inline: .95em; }
  .wiz__prev span { display: none; }
  .wiz__prev.is-hidden { display: none; }
  .hide-sm { display: none; }

  .fmts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fmt__box { aspect-ratio: 3 / 4.2; padding: 14px; border-radius: 18px; }
  .fmt__body > b { font-size: 1.45rem; }
  .fmt__body > small { font-size: .8rem; }
  .fmt__from { font-size: .74rem; margin-top: 10px; padding-top: 10px; }
  .fmt__ico { left: 12px; top: 12px; width: 36px; height: 36px; }
  .fmt .choice__check { top: 12px; right: 12px; }
  .fmt--wa { grid-column: 1 / -1; }
  .fmt--wa .fmt__box { aspect-ratio: auto; min-height: 132px; padding-left: 96px; justify-content: center; }
  .fmt--wa .fmt__art { left: 16px; top: 50%; translate: 0 -50%; width: 64px; color: rgba(244, 238, 229, .3); }
  .fmt--wa .fmt__ico { display: none; }

  .packs { grid-template-columns: 1fr; gap: 10px; }
  .pack__box { padding: 18px 18px 16px; }
  .pack__num { font-size: 4.6rem; }
  .pack--wide .pack__box { grid-template-columns: 1fr; }
  .pack--wide .pack__img { min-height: 0; aspect-ratio: 16 / 9; }
  .pack--wide .pack__body { padding: 18px; }

  .pstack { gap: 14px; padding: 10px 16px 10px 8px; border-radius: 18px; }
  .pstack__pile { width: 92px; height: 112px; }
  .pc { width: 52px; height: 76px; margin-left: -26px; border-width: 2.5px; }
  .pstack__count b { font-size: 2.8rem; }
  .pstack__split { font-size: .82rem; }
  .xrow { flex-wrap: wrap; }
  .xrow__t { flex: 1 1 200px; }
  .choices { grid-template-columns: 1fr; gap: 10px; }
  .albs { gap: 10px; }
  .alb__art { aspect-ratio: 4 / 3; }
  .alb__body { padding: 14px 14px 16px; }
  .alb__body b { font-size: 1.35rem; }
  .alb__body small { font-size: .8rem; }
  .alb__price { font-size: .88rem; }
  .choice__box { padding: 16px 14px 14px; border-radius: 18px; }
  .tip { flex-wrap: wrap; }
  .tip p { min-width: calc(100% - 40px); }
  .grid2 { grid-template-columns: 1fr; }

  .nav { gap: 10px; }
  .nav__brand span { font-size: 1.2rem; }
  .nav__cta { padding: .6em 1em; font-size: .8rem; }
  .nav__logo { width: 34px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .badge { right: -8px; bottom: -28px; }
  .contact { grid-template-columns: 1fr; }
  .qa__a { padding-right: 0; }
  .receipt__paper { padding: 24px 20px 26px; }
  .lb { padding: 60px 12px; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; translate: none; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
  .footer__top-link { margin-left: 0; }
  .grain { animation: none; }
}
@media (max-width: 400px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}
@media (hover: none) {
  .cursor { display: none; }
  .ri { padding-left: 28px; }
  .ri__x { left: 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-img, .js [data-split] .w__i, .js .hero__in, .js .deck { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}

/* ---------- Impressão (PDF do orçamento) ---------- */
@media print {
  @page { size: A4; margin: 14mm; }
  html, body { background: #fff !important; color: #1a1612 !important; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block !important; font-family: var(--sans); color: #1a1612; }
  .ps__head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid #1a1612; }
  .ps__head img { width: 80px; }
  .ps__head h1 { font-family: var(--serif); font-weight: 400; font-size: 30pt; line-height: 1; }
  .ps__head p { font-size: 9pt; letter-spacing: .2em; text-transform: uppercase; color: #6b6158; margin-top: 4px; }
  .ps__name { font-family: var(--serif); font-size: 26pt; margin-top: 22px; }
  .ps__meta { color: #6b6158; font-size: 10.5pt; margin-top: 4px; }
  .ps__table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 11pt; }
  .ps__table td { padding: 10px 0; border-bottom: 1px dashed #c9bfb2; vertical-align: top; }
  .ps__table td:last-child { text-align: right; font-family: var(--serif); font-size: 14pt; white-space: nowrap; }
  .ps__table small { display: block; color: #6b6158; font-size: 9pt; }
  .ps__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px solid #1a1612; }
  .ps__total strong { font-family: var(--serif); font-weight: 400; font-size: 30pt; }
  .ps__h { font-size: 9pt; letter-spacing: .2em; text-transform: uppercase; color: #6b6158; margin-top: 26px; margin-bottom: 8px; }
  .ps__list { font-size: 10.5pt; line-height: 1.6; }
  .ps__list li { padding-left: 14px; position: relative; }
  .ps__list li::before { content: '•'; position: absolute; left: 0; color: #b9631f; }
  .ps__list li.is-chosen { font-weight: 600; }
  .ps__foot { margin-top: 34px; padding-top: 14px; border-top: 1px solid #c9bfb2; display: flex; justify-content: space-between; gap: 20px; font-size: 8.5pt; color: #6b6158; }
}
