/* ==========================================================================
   Simplifica — estilos
   Direção: muito branco, tipografia grande, cor só onde ajuda.
   A cor da marca vive no símbolo e nas ações; o resto é tinta e papel.
   Uma família só (Montserrat), a mesma do material impresso da gráfica.
   ========================================================================== */

/* Montserrat variável 400–900, só o alfabeto latino (cobre o português inteiro).
   Fonte livre (SIL Open Font License 1.1), © The Montserrat Project Authors. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Neutros levemente azulados (matiz da marca). Valores OKLCH nos comentários. */
  --white: #fff;
  --surface: #f4f6fa;        /* oklch(.972 .006 265) */
  --surface-2: #e9edf4;      /* oklch(.945 .010 265) */
  --paper: #f7f4ee;          /* branco de papel, levemente quente */
  --line: #e0e3ea;           /* oklch(.915 .010 265) */
  --line-strong: #ccd1da;    /* oklch(.860 .014 265) */
  --ink: #0c152a;            /* oklch(.200 .045 265) */
  --ink-2: #2e384d;          /* oklch(.340 .040 265) */
  --muted: #505869;          /* oklch(.460 .030 265) */
  --subtle: #686f7e;         /* oklch(.540 .025 265) */

  /* Cores do logo */
  --blue: #0057d1;
  --blue-hover: #0c3fb2;
  --blue-tint: #e4efff;
  --orange: #ff7a0a;
  --amber: #ffb020;
  --night: #070b22;
  --green: #006836;
  --whats: #007e46;
  --whats-hover: #006836;
  --brand-grad: linear-gradient(90deg, #2a3aa8, #8a2670 45%, #c3184a 70%, #ff7a0a);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  --header-h: 68px;
  --sheet-r: clamp(28px, 4vw, 48px);   /* canto da "folha" da página sobre o rodapé */
  --gutter: clamp(20px, 4vw, 40px);
  --z-fab: 40;
  --z-header: 50;
  --z-skip: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-size: .88em; background: rgba(12, 21, 42, .07); padding: 1px 6px; border-radius: 6px; }
::selection { background: var(--blue-tint); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: var(--z-skip); background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.nw { white-space: nowrap; }   /* mantém juntas as palavras que não podem ficar sozinhas na linha */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.5rem; border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 2rem; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: var(--surface-2); color: var(--ink); }
/* no topo os botões são ímãs, como as pílulas do rodapé (js/main.js) */
.btn.magnet { translate: var(--tx, 0px) var(--ty, 0px); transition: background-color .2s, color .2s, transform .2s var(--ease-out), translate .8s var(--ease-out-expo); }
.btn.magnet.pulled { transition: background-color .2s, color .2s, transform .2s var(--ease-out), translate .2s var(--ease-out); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--blue-hover); }
  .btn-secondary:hover { background: var(--line-strong); }
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h); color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.solid, .site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 700; font-size: 1.375rem; letter-spacing: -.03em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: .9375rem; color: rgba(255, 255, 255, .86);
  transition: color .2s, background-color .2s;
}
.site-header.solid .nav a:not(.btn) { color: var(--ink-2); }
@media (hover: hover) {
  .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .12); }
  .site-header.solid .nav a:not(.btn):hover { color: var(--ink); background: var(--surface); }
}
/* a seção em que a pessoa está fica marcada no menu (js/main.js põe aria-current) */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--blue); translate: -50% 0; scale: 0; transition: scale .3s var(--ease-out);
}
.site-header.solid .nav a[aria-current]:not(.btn) { color: var(--ink); }
.site-header.solid .nav a[aria-current]::after { scale: 1; }
.nav-cta { margin-left: 10px; }

/* quanto da página já foi lido: um fio com as cores do logo na base do cabeçalho */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: var(--brand-grad); transform-origin: left; scale: 0 1; opacity: 0; transition: opacity .3s;
}
.site-header.solid .progress { opacity: 1; }
/* sobre o topo escuro o botão do cabeçalho é branco; depois da rolagem volta a ser azul */
.site-header:not(.solid):not(.open) .nav-cta { background: #fff; color: var(--ink); }
@media (hover: hover) { .site-header:not(.solid):not(.open) .nav-cta:hover { background: var(--surface-2); } }
.site-header:not(.solid):not(.open) :focus-visible { outline-color: #fff; }

.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- início ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center; color: #fff; overflow: clip;
  min-height: min(100vh, 900px); min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + clamp(24px, 5vw, 64px)) 0 clamp(56px, 8vw, 104px);
  /* o degradê do logo, azul → magenta → laranja, sobre azul-noite */
  background:
    radial-gradient(85% 100% at 0% 0%, rgba(0, 87, 209, .5), rgba(0, 87, 209, .3) 25%, rgba(0, 87, 209, .13) 50%, rgba(0, 87, 209, .04) 72%, transparent 90%),
    radial-gradient(75% 85% at 50% 115%, rgba(195, 24, 74, .45), rgba(195, 24, 74, .26) 28%, rgba(195, 24, 74, .1) 55%, rgba(195, 24, 74, .03) 75%, transparent 92%),
    radial-gradient(70% 80% at 105% 100%, rgba(255, 122, 10, .4), rgba(255, 122, 10, .22) 28%, rgba(255, 122, 10, .08) 55%, rgba(255, 122, 10, .02) 75%, transparent 92%),
    var(--night);
  background-color: var(--night);
}
/* brilho quente atrás do símbolo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 60% at 76% 46%, rgba(255, 150, 40, .14), rgba(200, 40, 80, .09) 35%, rgba(200, 40, 80, .03) 65%, transparent 90%);
}
.hero :focus-visible { outline-color: #fff; }
/* granulação de papel/impressão */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 72px); }

.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); letter-spacing: -.035em; }
.h1-line { display: block; }
.hl {
  /* "resolve." colado numa tira de papel âmbar rasgada */
  display: inline-block; padding: .03em .24em .1em; margin-left: -.1em; rotate: -2deg; color: var(--night);
  background: url("../assets/collage/papel-ambar.webp") center / 100% 100% no-repeat;
}

.lead { margin-top: clamp(20px, 3vw, 28px); max-width: 30em; font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); line-height: 1.5; color: rgba(255, 255, 255, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-secondary { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
@media (hover: hover) {
  .hero .btn-primary:hover { background: var(--surface-2); }
  .hero .btn-secondary:hover { background: rgba(255, 255, 255, .2); }
}
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 28px; font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .72); }
@media (min-width: 721px) {
  .facts { gap: 0; }
  .facts li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 .85em; vertical-align: middle; border-radius: 50%; background: rgba(255, 255, 255, .3); }
}

/* ---------- colagem ---------- */
/* papéis rasgados de verdade (texturas geradas em assets/collage): fibra branca no rasgo, grão do papel */
.hero-art { --mx: 0; --my: 0; position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.cl {
  position: absolute;
  translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px);
  transition: translate .7s var(--ease-out);
}
/* o símbolo em duas camadas de papel recortado à tesoura (as sombras já vêm nas imagens) */
.recorte { top: 6%; left: 0; width: 100%; aspect-ratio: 1074 / 950; rotate: -6deg; background: center / 100% 100% no-repeat; }
.recorte-s { background-image: url("../assets/collage/recorte-s.webp"); }
.recorte-raio { background-image: url("../assets/collage/recorte-raio.webp"); }
/* entrada em 3D (js/amassado.js): a bolinha de papel entra pela tela (do olho de quem olha) e despenca
   na "mesa"; por isso esta tela de desenho cobre a janela inteira, por cima de tudo, só durante a entrada */
.amassado { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.amassado.out { opacity: 0 !important; transition: opacity .35s .1s; }
.hero-art.gl .cl, .hero-art.gl-done .cl { animation: none; }
.hero-art.gl .cl { opacity: 0; }
.hero-art.gl.landed .cl { opacity: 1; transition: opacity .35s, translate .7s var(--ease-out); }
.ticket-col::before, .map::before {
  content: ""; position: absolute; z-index: 2; width: 112px; aspect-ratio: 320 / 92; pointer-events: none;
  background: url("../assets/collage/fita.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14));
}

/* depois da entrada, o papel inclina de leve com o mouse e um reflexo de luz corre por ele.
   Só fora da entrada em WebGL (.gl): lá a malha precisa casar com as camadas sem nenhum giro extra */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-art:is(.gl-done, :not(.gl)) .cl {
    transform: perspective(1100px) rotateX(calc(var(--my) * -7deg)) rotateY(calc(var(--mx) * 9deg));
    transition: translate .7s var(--ease-out), transform .9s var(--ease-out);
  }
  .recorte-s::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
    background: radial-gradient(38% 38% at calc(50% + var(--mx) * 38%) calc(46% + var(--my) * 38%), rgba(255, 255, 255, .7), transparent 72%);
    -webkit-mask: url("../assets/collage/recorte-s.webp") center / 100% 100% no-repeat;
    mask: url("../assets/collage/recorte-s.webp") center / 100% 100% no-repeat;
    mix-blend-mode: soft-light;
  }
  .hero:hover .hero-art:is(.gl-done, :not(.gl)) .recorte-s::after { opacity: 1; }
}

/* ---------- seções ---------- */
/* overflow-x: clip — a fita do mapa e os papéis girando na entrada passam da borda; sem o corte, o
   celular alarga a página para caber o que vaza (o cabeçalho e o rodapé fixos ficavam mais largos que a tela) */
.sec { padding-block: clamp(72px, 11vw, 148px); overflow-x: clip; }
/* seções "de papel": branco quente com um grão bem leve */
.sec-tint { position: relative; isolation: isolate; background: var(--paper); }
.sec-tint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#pedido .sec-head h2 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); letter-spacing: -.035em; }
.faq-cta { margin-top: 28px; }
.sec-head { max-width: 36rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sec h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.sub { margin-top: 16px; max-width: 30em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--muted); }

/* serviços: lista de um lado, a folha impressa do outro, parada no meio da tela */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 7vw, 112px); }
/* a linha de cima de cada serviço é um traço (::before) para poder ser "riscada" na rolagem */
.svc-list li { position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; pointer-events: none; }
.svc-list li:last-child, .svc-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.svc-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; text-decoration: none; }
.svc-list a { transition: transform .16s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.svc-list a:active { transform: scale(.985); }
.svc-name { display: block; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; transition: color .2s, translate .35s var(--ease-out); }
.svc-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 1rem; }
.svc-list .arrow { width: 22px; height: 22px; color: var(--subtle); transition: transform .3s var(--ease-out), color .2s; }
.svc-list a {
  margin-inline: -16px; padding-inline: 16px; border-radius: var(--r-sm);
  background: linear-gradient(var(--surface), var(--surface)) left / 0 100% no-repeat;
  transition: transform .16s var(--ease-out), background-size .45s var(--ease-out-expo);
}
@media (hover: hover) {
  .svc-list a:hover { background-size: 100% 100%; }
  .svc-list a:hover .svc-name { translate: 4px 0; }
  .svc-list a:hover .svc-name { color: var(--blue); }
  .svc-list a:hover .arrow { transform: translateX(5px); color: var(--blue); }
}
.soon { margin-top: 20px; font-size: .9375rem; color: var(--muted); }

/* pedido */
.flow { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.flow li { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
/* um traço liga um passo ao outro (na rolagem ele é riscado, ver "rolagem") */
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 16px; height: 1.5px; border-radius: 2px;
  background: var(--line-strong); transform-origin: left;
}
.flow b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; font-size: .8125rem; font-weight: 600;
}

.order { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(12, 21, 42, .03); }
.order-form { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 26px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: start; gap: 26px; }

.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field > legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; }
.field > legend + * { clear: both; }
em { font-style: normal; font-weight: 400; color: var(--muted); }

input[type="text"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background-color: #fff; font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 96px; padding: 14px 16px; resize: vertical; }
::placeholder { color: var(--subtle); opacity: 1; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232e384d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
@media (hover: hover) { input:hover, select:hover, textarea:hover { border-color: var(--subtle); } }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 87, 209, .14); }
input[aria-invalid="true"] { border-color: #c3184a; box-shadow: 0 0 0 4px rgba(195, 24, 74, .12); }
.err { font-size: .875rem; font-weight: 500; color: #b4123f; }

/* controle segmentado com marcador deslizante (só CSS) */
.seg {
  --n: 2; --i: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  padding: 4px; border-radius: var(--r-sm); background: var(--surface-2);
}
.seg:has(label:nth-child(3)) { --n: 3; }
.seg:has(label:nth-child(2) input:checked) { --i: 1; }
.seg:has(label:nth-child(3) input:checked) { --i: 2; }
.seg::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n));
  border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(12, 21, 42, .16);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .3s var(--ease-out);
}
.seg label { position: relative; min-width: 0; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  position: relative; display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: 9px;
  text-align: center; font-size: .9375rem; font-weight: 600; line-height: 1.2; color: var(--muted); transition: color .2s;
}
.seg span small { display: block; margin-top: 1px; font-size: .6875rem; font-weight: 400; }
.seg input:checked + span { color: var(--ink); }
.seg input:disabled { cursor: not-allowed; }
.seg input:disabled + span { opacity: .4; }
.field-note { display: block; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
@supports not selector(:has(*)) {
  .seg::before { display: none; }
  .seg input:checked + span { background: #fff; box-shadow: 0 1px 2px rgba(12, 21, 42, .16); }
}

.stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; }
.stepper input { padding: 0 8px; text-align: center; font-size: 1.125rem; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button {
  min-height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
  font-size: 1.5rem; line-height: 1; color: var(--ink);
  transition: background-color .15s, transform .15s var(--ease-out);
}
.stepper button:active { transform: scale(.94); }
@media (hover: hover) { .stepper button:hover { background: var(--surface); } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick button {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: .875rem; font-weight: 500; color: var(--muted); transition: background-color .2s, border-color .2s, color .2s, transform .16s var(--ease-out);
}
.quick button:active { transform: scale(.96); }
@media (hover: hover) { .quick button:not(.on):hover { border-color: var(--subtle); color: var(--ink); } }
.quick button.on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }

.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .9375rem; font-weight: 500; }
.check input { position: absolute; opacity: 0; }
.check .box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--subtle); border-radius: 7px; background: #fff; transition: background-color .2s, border-color .2s; }
.check .box::after {
  content: ""; width: 12px; height: 7px; margin-top: -2px; border: solid #fff; border-width: 0 0 2.5px 2.5px; /* o visto: dois lados de um quadrado girado */
  transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease-out);
}
.check input:checked + .box { border-color: var(--blue); background: var(--blue); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }

/* "mais opções" e tabela de preços recolhidos */
.more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--line); list-style: none; cursor: pointer; font-weight: 600;
}
.more summary::-webkit-details-marker { display: none; }
.more summary small { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--muted); }
.more summary::after, .faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--surface-2);
  transition: transform .3s var(--ease-out);
}
.more[open] > summary::after, .faq details[open] > summary::after { transform: rotate(135deg); }
.more-body { display: grid; gap: 24px; padding: 4px 0 6px; }

@supports selector(::details-content) {
  .more::details-content, .faq details::details-content {
    block-size: 0; overflow: clip; transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete;
  }
  .more[open]::details-content, .faq details[open]::details-content { block-size: auto; }
}

/* resumo do pedido */
.ticket-col { position: sticky; top: calc(var(--header-h) + 20px); }
.ticket-col::before { top: -14px; left: 50%; translate: -50% 0; rotate: -3deg; }
.ticket { position: relative; overflow: hidden; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(12, 21, 42, .04), 0 18px 40px -20px rgba(12, 21, 42, .18); }
.ticket::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand-grad); }
.ticket h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.preview { display: grid; place-items: center; height: 196px; margin-top: 16px; border-radius: var(--r-md); background: var(--paper); }
.preview .sheet { --base: 112px; }

/* ---------- folha impressa (prévia do pedido e dos serviços) ---------- */
/* montada em js/main.js (makeSheet). Tamanhos em cqw: tudo acompanha a largura da folha */
.sheet {
  --f: 1; position: relative; width: calc(var(--base, 300px) * var(--f)); max-width: 100%; aspect-ratio: 210 / 297;
  container-type: inline-size; perspective: 1200px; transition: width .5s var(--ease-out);
}
.sheet .card { position: absolute; inset: 0; transform-style: preserve-3d; }
.sheet .face, .sheet .under { position: absolute; inset: 0; border-radius: 1.4cqw; background: #fffdf9; }
.sheet .face {
  overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(12, 21, 42, .06), 0 2px 4px rgba(12, 21, 42, .06), 0 18px 34px -16px rgba(12, 21, 42, .38);
}
.sheet .back { transform: rotateY(180deg); }
.sheet .paint { position: absolute; inset: 0; }
.sheet.pb .paint { filter: grayscale(1) contrast(1.05); }
/* folhas de baixo: aparecem conforme a quantidade */
.sheet .under {
  background: #f3efe6; box-shadow: 0 0 0 1px rgba(12, 21, 42, .09), 0 10px 20px -14px rgba(12, 21, 42, .35);
  opacity: 0; translate: 0 0; rotate: 0deg; transition: opacity .3s, translate .45s var(--ease-out), rotate .45s var(--ease-out);
}
.sheet[data-stack="1"] .u1, .sheet[data-stack="2"] :is(.u1, .u2), .sheet[data-stack="3"] .under { opacity: 1; }
.sheet[data-stack="1"] .u1, .sheet[data-stack="2"] .u1, .sheet[data-stack="3"] .u1 { translate: 7cqw 3cqw; rotate: 5deg; }
.sheet[data-stack="2"] .u2, .sheet[data-stack="3"] .u2 { translate: -8cqw 4cqw; rotate: -6deg; }
.sheet[data-stack="3"] .u3 { translate: 12cqw 8cqw; rotate: 10deg; }

/* o "impresso": barras e blocos que lembram texto, títulos e imagens */
.ink { position: absolute; inset: 10cqw 10cqw 12cqw; display: flex; flex-direction: column; gap: 3.2cqw; }
.ink i { display: block; flex: none; }
.ink .sp { flex: 1 1 auto; }
.ln { width: var(--w, 100%); height: 2.4cqw; border-radius: 2cqw; background: #c6cbd5; }
.hd { width: var(--w, 60%); height: 5.5cqw; border-radius: 1.2cqw; background: var(--blue); }
.hd.big { height: 9cqw; } .hd.xl { height: 15cqw; border-radius: 2cqw; } .hd.sm { height: 3.6cqw; }
.hd.o { background: var(--orange); } .hd.m { background: #c3184a; } .hd.dk { background: var(--night); }
.bk { height: var(--h, 30cqw); border-radius: 2cqw; background: linear-gradient(135deg, #2a3aa8, #8a2670 45%, #c3184a 70%, #ff7a0a); }
.cta { width: 44%; height: 9cqw; border-radius: 9cqw; background: var(--orange); }
.ink .row { display: flex; align-items: center; gap: 5cqw; }
.ink .col { flex: 1; display: flex; flex-direction: column; gap: 3cqw; }
.ph { width: 22cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #ffb020, #ff7a0a); }
.ink-tcc { align-items: center; }
.ink-flyer > .bk:first-child { height: 58cqw; margin: -10cqw -10cqw 2cqw; border-radius: 0; }
.ink-cartaz { inset: 0; padding: 10cqw; background: var(--amber); }
.ink-cartaz .ln { background: rgba(7, 11, 34, .38); }
.ink-etiqueta { inset: 8cqw; }
.labels { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5cqw; }
.labels i { display: flex; align-items: center; gap: 3cqw; padding: 0 3cqw; border-radius: 2.5cqw; box-shadow: inset 0 0 0 .5cqw #dfe3ea; }
.labels i::before { content: ""; flex: none; width: 8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c, var(--blue)); }
.labels i::after { content: ""; flex: 1; height: 2.2cqw; border-radius: 2cqw; background: #c6cbd5; }
.holes { position: absolute; top: -4cqw; bottom: -6cqw; left: -7.5cqw; width: 3.4cqw; background: radial-gradient(circle, #d6dae2 46%, transparent 52%) center top / 3.4cqw 6cqw repeat-y; }
.sel { position: relative; outline: .5cqw dashed var(--blue); outline-offset: 2.4cqw; }
.sel::before, .sel::after { content: ""; position: absolute; width: 3cqw; aspect-ratio: 1; background: #fff; border: .5cqw solid var(--blue); }
.sel::before { left: -4.2cqw; top: -4.2cqw; } .sel::after { right: -4.2cqw; bottom: -4.2cqw; }
.lines { padding: 14px 0 4px; }
.lines div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: .9375rem; }
.lines dt { color: var(--muted); }
.lines dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.lines .neg dd { color: var(--green); }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 20px 0 18px; border-top: 1px dashed var(--line-strong); }
.total span { font-size: .875rem; font-weight: 600; color: var(--muted); }
.total strong { display: inline-block; transform-origin: right center; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.disc { margin: -4px 0 18px; font-size: .875rem; font-weight: 500; color: var(--green); }
.ticket .name { margin-bottom: 16px; }
.hint { margin-top: 14px; text-align: center; font-size: .875rem; color: var(--muted); text-wrap: balance; }
.hint a { white-space: nowrap; }

/* preços */
.prices { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 7vw, 112px); align-items: start; }
.prices .sec-head { margin-bottom: 0; }
.prices .more { grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.sample { display: flex; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin-top: 24px; padding: 10px 14px; border-radius: var(--r-sm); background: #fff6df; font-size: .875rem; font-weight: 500; color: #6b4a06; }
.sample .ico { margin-top: 1px; }
.sample code { background: rgba(107, 74, 6, .12); }

.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th { padding: 0 0 14px 24px; text-align: right; white-space: nowrap; font-size: .875rem; font-weight: 500; color: var(--muted); }
.ptable td { padding: 18px 0 18px 24px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; font-size: clamp(1.0625rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.ptable th:first-child, .ptable td:first-child { padding-left: 0; text-align: left; white-space: normal; }
.ptable td:first-child { font-weight: 700; }
.ptable td.na { color: var(--subtle); font-weight: 400; }
.ptable tbody tr { transition: background-color .25s; }
.ptable td[data-v] { transition: color .25s; }
@media (hover: hover) {
  .ptable tbody tr:hover { background: linear-gradient(90deg, transparent, var(--surface) 12%, var(--surface) 88%, transparent); }
  .ptable tbody tr:hover td[data-v] { color: var(--blue); }
}
.price-note { margin-top: 20px; color: var(--muted); font-size: .9375rem; }
.ptable small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }


/* dúvidas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 7vw, 112px); align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { background-color: #fff; }
.faq summary { transition: color .2s; }
.faq details[open] summary { color: var(--blue); }
.faq details p { max-width: 34em; padding-bottom: 26px; color: var(--muted); }

/* contato */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 7vw, 112px); row-gap: clamp(32px, 5vw, 48px); align-items: start; }
.contact-list { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 40px); }
.contact-list dt { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.contact-list dt .ico { width: 22px; height: 22px; color: var(--blue); }
.contact-list dd { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.contact-list a { display: inline-block; padding-block: 8px; text-decoration: none; touch-action: manipulation; background: linear-gradient(currentColor, currentColor) left calc(100% - 7px) / 0 2px no-repeat; transition: background-size .3s var(--ease-out), color .2s; }
@media (hover: hover) { .contact-list a:hover { background-size: 100% 2px; color: var(--blue); } }
.contact-list a:active { color: var(--blue); }
#waLinks a { display: block; width: fit-content; }
#waLinks a::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .5em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease-out);
}
@media (hover: hover) { #waLinks a:hover::after { transform: translate(2px, -2px); } }
.map { position: relative; min-height: 380px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.map::before { top: -8px; right: -30px; rotate: 36deg; background-image: url("../assets/collage/fita-2.webp"); }
.map iframe { filter: saturate(.85); display: block; border-radius: calc(var(--r-lg) - 1px); width: 100%; height: 100%; min-height: 380px; border: 0; }
/* antes do clique: o endereço e o convite para abrir o mapa */
.map-cover {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 380px; height: 100%; padding: 32px 24px; text-align: center;
}
.map-cover > .ico { width: 34px; height: 34px; color: var(--blue); }
.map-ext { font-weight: 600; font-size: .9375rem; color: var(--blue); text-underline-offset: 3px; }
.map-note { max-width: 30ch; font-size: .8125rem; line-height: 1.45; color: var(--muted); }

/* ---------- rodapé em cortina ---------- */
/* a caixa tem a altura da tela e recorta (clip-path) o rodapé fixo: a página sobe e ele aparece por baixo */
.foot-reveal {
  --foot-h: max(100svh, 620px);
  position: relative; height: var(--foot-h); margin-top: calc(-1 * var(--sheet-r)); clip-path: inset(0); background: var(--night);
}
/* a página termina como uma folha de cantos redondos sobre a mesa escura do rodapé, com sombra */
#contato {
  position: relative; z-index: 1; background: var(--white);
  border-radius: 0 0 var(--sheet-r) var(--sheet-r); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .55);
}
.site-footer {
  --p: 1;
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--foot-h); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; color: rgba(255, 255, 255, .7); font-size: .9375rem; background: var(--night);
}
.site-footer :focus-visible { outline-color: #fff; }

/* luz das cores do logo respirando, grade fina de papel milimetrado */
.foot-glow {
  position: absolute; z-index: -1; left: 50%; top: 46%; width: 86vw; height: 64%; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(0, 87, 209, .42), rgba(138, 38, 112, .24) 52%, rgba(255, 122, 10, .1) 78%, transparent);
  filter: blur(60px); pointer-events: none;
}
.foot-grid {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) center / 60px 60px,
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) center / 60px 60px;
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
/* o nome em letra gigante, só o contorno, subindo enquanto a cortina abre */
.foot-giant {
  position: absolute; z-index: -1; left: 50%; bottom: -.16em; pointer-events: none; user-select: none; white-space: nowrap;
  font-size: 17.5vw; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  translate: -50% calc((1 - var(--p)) * 14vh); scale: calc(.82 + .18 * var(--p)); opacity: var(--p);
}
.foot-giant::after {
  content: attr(data-t); position: absolute; inset: 0; color: rgba(255, 255, 255, .055); -webkit-text-stroke: 0;
  clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0);
}

.foot-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: calc(var(--header-h) + 24px); }
.foot-title { font-size: clamp(2.5rem, 7.4vw, 5.75rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.foot-sub { margin-top: 18px; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: rgba(255, 255, 255, .78); }
.foot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(32px, 5vw, 48px); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
/* cada bloco entra quando a cortina passa do seu ponto (--s) */
[data-foot] { --q: clamp(0, (var(--p) - var(--s, 0)) / .3, 1); opacity: var(--q); translate: 0 calc((1 - var(--q)) * 40px); }

.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; }
.foot-copy { font-size: .8125rem; color: rgba(255, 255, 255, .62); text-wrap: balance; }
.foot-copy a { color: inherit; text-underline-offset: 3px; }
.foot-copy a:hover { color: #fff; }
.hint a { color: inherit; text-underline-offset: 3px; }
.foot-badge { min-height: 40px; padding: 0 18px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.heart { display: inline-block; color: #ff5470; }

/* pílulas de vidro */
.pill {
  --tx: 0px; --ty: 0px; --sc: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: 0 1.4rem;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; color: rgba(255, 255, 255, .78);
  font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  translate: var(--tx) var(--ty); scale: var(--sc);
  transition: translate .9s cubic-bezier(.34, 1.56, .64, 1), scale .5s var(--ease-out), background .3s, border-color .3s, color .3s;
}
.pill-lg { min-height: 60px; padding: 0 2.25rem; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.pill-solid { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7); }
.pill-icon { width: 48px; min-height: 48px; padding: 0; }
.pill-icon .ico { width: 1.3em; height: 1.3em; transition: translate .3s var(--ease-out); }
/* o ímã: enquanto o mouse está em cima, segue sem atraso; ao sair, volta com mola */
.pill.pulled { transition: translate .25s var(--ease-out), scale .4s var(--ease-out), background .3s, border-color .3s, color .3s; }
@media (hover: hover) {
  .pill:not(.foot-badge, .pill-solid):hover { color: #fff; border-color: rgba(255, 255, 255, .22); background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); }
  .pill-solid:hover { background: var(--surface-2); border-color: var(--surface-2); }
  .pill-icon:hover .ico { translate: 0 -3px; }
}
.pill:active { --sc: .96; }

@media (max-width: 720px) {
  .foot-actions { align-self: stretch; }
  .foot-actions .pill { flex: 1 1 100%; }
  .foot-bar { justify-content: center; text-align: center; }
  .foot-copy { order: 3; flex-basis: 100%; }
}

/* botão flutuante */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-fab); display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--whats); color: #fff;
  font-size: .9375rem; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px -8px rgba(0, 104, 54, .55);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out), background-color .2s;
}
.fab.show:not(.away) { opacity: 1; transform: none; pointer-events: auto; }
.fab .ico { width: 1.5em; height: 1.5em; }
@media (hover: hover) { .fab:hover { background: var(--whats-hover); } }
.fab.show:not(.away):active { transform: scale(.96); transition-duration: .3s, .1s, .2s; }

/* ---------- movimento (sempre um acréscimo: sem ele, tudo já está visível) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* entrada do início, uma vez */
  [data-in] { animation: in .7s var(--ease-out-expo) backwards; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
  /* o título sai "da impressora": as tintas ciano, magenta e amarela chegam desalinhadas e se encaixam */
  .hero .h1-line[data-in] {
    animation: in .7s var(--ease-out-expo) backwards, misreg 1.4s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 120ms + 60ms);
  }
  /* o logo de papel é colado: cai do alto, girado e com sombra longe; assenta e a sombra encosta */
  .collage .cl { animation: paste 1.1s var(--ease-out) backwards; animation-delay: calc(var(--k) * 110ms + 380ms); }

  /* folha impressa: o cabeçote passa de cima a baixo revelando a tinta; frente e verso vira a folha */
  .sheet.printing .front .paint { animation: print 1.1s cubic-bezier(.45, 0, .55, 1) both; }
  .sheet.printing .front::after {
    content: ""; position: absolute; left: 0; right: 0; height: 12cqw; translate: 0 -100%; pointer-events: none;
    background: linear-gradient(rgba(0, 87, 209, 0), rgba(0, 87, 209, .12) 75%, rgba(255, 255, 255, .95) 94%, rgba(0, 87, 209, 0));
    animation: head 1.1s cubic-bezier(.45, 0, .55, 1) both;
  }
  .sheet.flipping .card { animation: flip 1.2s var(--ease-out-expo); }
  .ptable.go tbody tr { animation: in .6s var(--ease-out-expo) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
  /* a resposta aberta desliza para o lugar */
  .faq details[open] p { animation: in .45s var(--ease-out-expo) backwards .05s; }

  @keyframes misreg {
    from { text-shadow: -.06em -.02em 0 rgba(0, 174, 239, .9), .06em .03em 0 rgba(236, 0, 140, .9), .02em -.05em 0 rgba(255, 222, 0, .9); }
    to { text-shadow: 0 0 0 rgba(0, 174, 239, 0), 0 0 0 rgba(236, 0, 140, 0), 0 0 0 rgba(255, 222, 0, 0); }
  }
  @keyframes paste {
    0% { opacity: 0; translate: 0 -56px; scale: 1.14; rotate: -14deg; filter: drop-shadow(0 48px 34px rgba(0, 0, 0, .5)); }
    60% { opacity: 1; translate: 0 3px; scale: .99; rotate: -5.4deg; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .2)); }
    100% { translate: 0 0; scale: 1; rotate: -6deg; filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); }
  }
  @keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes head { from { top: 0; } 92% { opacity: 1; } to { top: 100%; opacity: 0; } }
  @keyframes flip { 0% { transform: rotateY(0); } 42%, 58% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

  /* a luz do rodapé respira; o coração bate */
  .foot-glow { animation: breathe 8s ease-in-out infinite alternate; }
  .heart { animation: beat 2s cubic-bezier(.25, 1, .5, 1) infinite; }

  @keyframes in { from { opacity: 0; translate: 0 18px; } }
  @keyframes breathe { from { scale: 1; opacity: .65; } to { scale: 1.1; opacity: 1; } }
  @keyframes beat { 0%, 30%, 100% { scale: 1; } 15%, 45% { scale: 1.22; } }

  /* ---------- rolagem ----------
     Tudo aqui é puxado pela própria rolagem (rolou meio caminho, a animação está no meio), não por
     tempo: nada fica esperando um evento para aparecer. Navegador sem rolagem guiada mostra tudo parado.
     Cada bloco entra com um gesto de gráfica: título sai impresso, linha é riscada, papel é colado. */
  @supports (animation-timeline: view()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }

    /* topo: o texto sobe e apaga mais rápido que a página; o símbolo fica para trás (profundidade) */
    .hero { view-timeline: --hero block; animation: hero-card linear both; animation-timeline: --hero; animation-range: exit 0% exit 70%; }
    .hero-copy, .hero-art { animation: linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    .hero-copy { animation-name: hero-copy; }
    .hero-art { animation-name: hero-art; }

    /* títulos "impressos": o cabeçote desce revelando a linha e as tintas CMYK se encaixam */
    .sec h2 { animation: print-title linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .sec-head .sub, .sec-head .flow, .faq-cta, .contact-list > div, .price-note, .soon {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }

    /* serviços: a linha de cima é riscada da esquerda para a direita e o texto vem atrás dela */
    .svc-list li::before { animation: draw linear both; animation-timeline: --row; animation-range: entry 0% cover 30%; }
    .svc-list li { view-timeline: --row block; }
    .svc-list .svc-text { animation: rise linear both; animation-timeline: --row; animation-range: entry 10% cover 34%; }
    .svc-list .arrow { animation: nudge linear both; animation-timeline: --row; animation-range: entry 30% cover 38%; }
    /* a coluna da direita vem um tico depois */
    .svc-list li:nth-child(even)::before { animation-range: entry 20% cover 36%; }
    .svc-list li:nth-child(even) .svc-text { animation-range: entry 30% cover 40%; }

    /* pedido: os passos acendem em sequência; o formulário e o resumo são assentados na mesa
       (sem sumir: dá para usar a qualquer momento) e a fita prende o resumo no fim */
    .flow { view-timeline: --flow block; }
    .flow b { animation: step-on linear both; animation-timeline: --flow; }
    .flow li:nth-child(1) b { animation-range: entry 100% cover 40%; }
    .flow li:nth-child(2) b { animation-range: cover 40% cover 52%; }
    .flow li:nth-child(3) b { animation-range: cover 52% cover 64%; }
    .flow li::after { animation: draw linear both; animation-timeline: --flow; }
    .flow li:nth-child(1)::after { animation-range: cover 34% cover 46%; }
    .flow li:nth-child(2)::after { animation-range: cover 46% cover 58%; }
    .order-form { animation: place-l linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .ticket-col { view-timeline: --ticket block; animation: place-r linear both; animation-timeline: --ticket; animation-range: entry 0% entry 50%; }
    .ticket-col::before { animation: tape linear both; animation-timeline: --ticket; animation-range: entry 35% entry 60%; }

    /* dúvidas: as perguntas sobem uma a uma */
    .faq details { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }

    /* contato: o mapa é colado na página e a fita vem por último */
    .map { view-timeline: --map block; animation: paste-map linear both; animation-timeline: --map; animation-range: entry 0% cover 40%; }
    .map::before { animation: tape linear both; animation-timeline: --map; animation-range: cover 28% cover 44%; }

    @keyframes grow { to { scale: 1 1; } }
    @keyframes hero-copy { 35% { opacity: 1; } to { translate: 0 -14vh; opacity: 0; } }
    @keyframes hero-art { to { translate: 0 16vh; } }
    /* o topo vira um cartão: as laterais recolhem e os cantos de baixo arredondam */
    @keyframes hero-card {
      from { clip-path: inset(0 0 0 0 round 0 0 0 0); }
      to { clip-path: inset(0 2.4vw 0 2.4vw round 0 0 var(--sheet-r) var(--sheet-r)); }
    }
    @keyframes print-title {
      from {
        clip-path: inset(-.2em -.3em 100% -.3em);
        text-shadow: -.05em -.02em 0 rgba(0, 174, 239, .85), .05em .03em 0 rgba(236, 0, 140, .8), .02em -.04em 0 rgba(255, 196, 0, .9);
      }
      55% { clip-path: inset(-.2em -.3em -.35em -.3em); }
      to {
        clip-path: inset(-.2em -.3em -.35em -.3em);
        text-shadow: 0 0 0 rgba(0, 174, 239, 0), 0 0 0 rgba(236, 0, 140, 0), 0 0 0 rgba(255, 196, 0, 0);
      }
    }
    @keyframes rise { from { opacity: 0; translate: 0 26px; } }
    @keyframes draw { from { scale: 0 1; } }
    @keyframes nudge { from { opacity: 0; translate: -14px 0; } }
    @keyframes step-on { to { background: var(--blue); border-color: var(--blue); color: #fff; } }
    @keyframes place-l { from { translate: 0 72px; rotate: -1.2deg; } }
    @keyframes place-r { from { translate: 0 110px; rotate: 2.4deg; } }
    @keyframes tape { from { opacity: 0; scale: 1.5; } 60% { opacity: 1; } }
    @keyframes paste-map { from { translate: 0 60px; rotate: 2deg; scale: 1.04; box-shadow: 0 40px 60px -30px rgba(12, 21, 42, .45); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .cl { translate: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero-in, .order, .prices, .faq-wrap, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(82%, 400px); margin-top: 16px; }
  .ticket-col { position: static; }
  .prices .sec-head, .faq-wrap .sec-head { margin-bottom: clamp(28px, 5vw, 40px); }

  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: #fff; box-shadow: 0 24px 40px -24px rgba(12, 21, 42, .3);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease-out), visibility .3s;
  }
  .open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a:not(.btn), .site-header.solid .nav a:not(.btn) { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; color: var(--ink-2); }
  .nav a:not(.btn):hover, .site-header.solid .nav a:not(.btn):hover { color: var(--ink); background: transparent; }
  .nav a:not(.btn)::after { display: none; }
  .site-header.solid .nav a[aria-current]:not(.btn) { color: var(--blue); }
  .nav-cta { margin: 20px 0 0; min-height: 52px; }
}

@media (max-width: 720px) {
  .svc-list, .row2 { grid-template-columns: minmax(0, 1fr); }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .svc-list li:nth-last-child(2) { border-bottom: 0; }
  .svc-list a { padding: 22px 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .ptable td { padding-block: 14px; }
  .ptable td, .ptable th { padding-left: 14px; }
  .fab { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .fab span { display: none; }
  .flow li::after { display: none; }   /* os passos quebram linha: o traço ficaria solto */
}
