/* ==========================================================================
   3D Foods — folha de estilos principal
   Paleta derivada do logotipo oficial: azul do campo, cromado do símbolo e
   vermelho da tampa. Nada de cores novas: apenas variações de luminosidade.
   ========================================================================== */

:root {
  /* papel (fundos claros) — levemente azulado: o branco puro fica só nos cartões */
  --paper: #E9EEF7;
  --paper-2: #DCE4F2;
  --white: #FFFFFF;

  /* tinta (texto). Os valores --c-* são fixos; --ink, --text, --muted e as linhas
     são trocados para branco dentro das seções azuis (.on-blue) */
  --c-ink: #0D1D57;
  --c-text: #2E3548;
  --c-muted: #5E6573;
  --ink: var(--c-ink);
  --text: var(--c-text);
  --muted: var(--c-muted);

  /* azul do campo do logotipo */
  --blue: #2371F5;
  --blue-600: #164DCB;
  --blue-700: #142A9E;
  --blue-300: #5CA2FA;
  --blue-100: #DCE8FD;
  --blue-50: #EEF4FE;

  /* vermelho da tampa */
  --red: #AA2D28;
  --red-500: #CC4744;
  --red-300: #F46C68;
  --red-800: #851D18;

  /* cromado do símbolo */
  --chrome-100: #E5E6E8;
  --chrome-300: #B5B8BC;
  --chrome-500: #8A8E93;
  --chrome-600: #686E75;
  --chrome-700: #4C5257;
  --chrome-800: #30363A;

  --c-line: rgba(22, 77, 203, .14);
  --c-line-2: rgba(22, 77, 203, .26);
  --c-grid: rgba(22, 77, 203, .07);
  --line: var(--c-line);
  --line-2: var(--c-line-2);
  --grid-line: var(--c-grid);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.75, 0, .2, 1);

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;
  --side: max(var(--gutter), (100vw - var(--maxw)) / 2);
  --header-h: 76px;

  --shadow-1: 0 1px 2px rgba(13, 29, 87, .06), 0 6px 18px rgba(13, 29, 87, .07);
  --shadow-2: 0 2px 6px rgba(13, 29, 87, .07), 0 24px 56px -12px rgba(13, 29, 87, .22);
}

/* ---------- reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: var(--blue-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--blue-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 600;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-weight: 650; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.only-coarse { display: none; }
@media (hover: none), (pointer: coarse) {
  .only-fine { display: none; }
  .only-coarse { display: inline; }
}

/* ---------- tipografia ---------- */
.eyebrow, .label-title {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow--light { color: #fff; }
.eyebrow__n {
  display: inline-grid; place-items: center; min-width: 36px; height: 22px; padding: 0 6px;
  border: 1px solid var(--red); border-radius: 4px; background: var(--red); color: #fff; font-size: .68rem; letter-spacing: .06em;
}
.mono-label {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.h2 {
  font-size: clamp(2.3rem, 1.35rem + 3.7vw, 4.9rem);
  line-height: .98; font-weight: 800; font-stretch: 82%; letter-spacing: -.028em;
  color: var(--ink); text-wrap: balance;
}
.h2--light { color: #fff; }
.h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem);
  line-height: 1.05; font-weight: 780; font-stretch: 85%; letter-spacing: -.02em;
  color: var(--ink); text-wrap: balance;
}
.lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); line-height: 1.55;
  color: var(--text); max-width: 56ch; text-wrap: pretty;
}
.lead--light { color: rgba(255, 255, 255, .88); }
.num { font-variant-numeric: tabular-nums; }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 100px); max-width: 1000px; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 28px 72px; }
.sec-head--split > div { display: grid; gap: 22px; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

/* revelações progressivas (só quando o JS está ativo) */
.is-ready [data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-ready [data-reveal].is-in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-w > span { display: inline-block; }
.is-ready [data-split] .split-w > span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 42ms);
}
.is-ready [data-split].is-in .split-w > span { transform: none; }

/* ---------- botões ---------- */
.btn {
  --bh: 54px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 10px 24px; border-radius: 999px;
  font-size: .95rem; font-weight: 650; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  transition: color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translate3d(0, 101%, 0); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn__icon--end { transition: transform .4s var(--ease); }
.btn:hover .btn__icon--end { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -12px rgba(170, 45, 40, .75); }
.btn--red::before { background: var(--red-800); }
.btn--ink { background: var(--blue-600); color: #fff; }
.btn--ink::before { background: var(--c-ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600), var(--shadow-1); }
/* botões sobre o azul */
.btn--light { background: #fff; color: var(--c-ink); box-shadow: 0 12px 28px -14px rgba(5, 15, 60, .6); }
.btn--light::before { background: var(--red); }
.btn--light:hover, .btn--light:focus-visible { color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: var(--c-ink); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { --bh: 42px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { --bh: 62px; padding: 12px 30px; font-size: 1.02rem; }
[data-magnetic] { will-change: transform; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  font-weight: 650; color: var(--blue-600); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.link-arrow > span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover > span, .link-arrow:focus-visible > span { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- seções no azul do logotipo ----------
   .on-blue troca a tinta para branco; os cartões brancos dentro dela
   (lente do hero, cena isométrica, comandas, notas) voltam à tinta escura. */
.on-blue {
  --ink: #fff;
  --text: rgba(255, 255, 255, .86);
  --muted: rgba(255, 255, 255, .72);
  --line: rgba(255, 255, 255, .18);
  --line-2: rgba(255, 255, 255, .34);
  --grid-line: rgba(255, 255, 255, .07);
  color: var(--text);
  background-color: var(--blue-600);
}
.on-blue .on-light, .on-blue .stage, .on-blue .build__svg, .on-blue .journey__parallel, .on-blue .ticket {
  --ink: var(--c-ink); --text: var(--c-text); --muted: var(--c-muted);
  --line: var(--c-line); --line-2: var(--c-line-2); --grid-line: var(--c-grid);
  color: var(--text);
}
.on-blue .eyebrow, .on-blue .label-title { color: #fff; }
.on-blue .link-arrow { color: #fff; }
.on-blue .case__num { color: rgba(255, 255, 255, .82); }
.on-blue .case__step { color: #fff; }
.on-blue .on-light .case__step, .on-blue .on-light .link-arrow { color: var(--blue-600); }
/* campo azul com o brilho diagonal do fundo do logotipo */
.blue-field {
  background:
    linear-gradient(112deg, transparent 22%, rgba(255, 255, 255, .09) 34%, transparent 46%),
    radial-gradient(120% 130% at 78% 12%, var(--blue) 0%, var(--blue-600) 48%, var(--blue-700) 100%);
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 700; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 40%, var(--blue) 0%, var(--blue-600) 50%, var(--blue-700) 100%);
  transition: opacity .7s var(--ease), visibility .7s;
  animation: loader-failsafe .01s 3.2s forwards;
}
.loader::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center;
  mask-image: radial-gradient(circle at center, #000, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 65%);
}
.no-js .loader { display: none; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 16px; transition: transform .7s var(--ease); }
.is-loaded .loader__inner { transform: scale(.94); }
.loader__mark { width: 96px; height: 96px; overflow: visible; }
.loader__hex, .loader__y {
  fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards;
}
.loader__y { stroke: var(--chrome-300); animation-delay: .3s; }
.loader__top { fill: var(--red-500); opacity: 0; transform: translateY(-16px); animation: lid .55s .75s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lid { to { opacity: 1; transform: none; } }
.loader__count { font-family: var(--mono); font-size: 1.1rem; color: #fff; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.loader__count small { font-size: .7em; color: rgba(255, 255, 255, .72); margin-left: 2px; }
.loader__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--header-h);
  transition: transform .55s var(--ease), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(233, 238, 247, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.menu-open .site-header { transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner {
  height: 100%; width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand__symbol { width: 46px; height: 46px; transition: transform .7s var(--ease); }
.brand:hover .brand__symbol { transform: rotate(-10deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-weight: 850; font-size: 1.08rem; font-stretch: 112%; letter-spacing: .03em; text-transform: uppercase; }
.brand__tag { margin-top: 3px; font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { position: relative; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 620; color: var(--ink); text-decoration: none; transition: color .3s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--blue-600); }
.nav__marker {
  position: absolute; left: 0; bottom: 3px; width: 10px; height: 2px; border-radius: 2px;
  background: var(--red); opacity: 0; transform-origin: 0 50%;
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s;
}
.nav__marker.is-on { opacity: 1; }
.menu-toggle { position: relative; display: flex; align-items: center; gap: 10px; height: 48px; color: var(--ink); }
.menu-toggle__ring { position: absolute; left: 0; top: 0; width: 48px; height: 48px; transform: rotate(-90deg); pointer-events: none; }
.menu-toggle__track { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.menu-toggle__progress { fill: none; stroke: var(--blue-600); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.menu-toggle__bars { position: relative; display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; }
.menu-toggle__bars i { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--c-ink); transition: transform .45s var(--ease); }
/* no topo (sobre o hero azul) e com o menu aberto (sobre o painel azul), o cabeçalho fica branco */
.site-header:not(.is-scrolled), .menu-open .site-header { --ink: #fff; --muted: rgba(255, 255, 255, .72); }
.brand, .menu-toggle { transition: color .4s; }
.site-header:not(.is-scrolled) .nav__list a:hover, .site-header:not(.is-scrolled) .nav__list a.is-active { color: var(--blue-100); }
/* hover só com mouse e só com o menu fechado (no toque, o :hover "gruda" e impedia o X de aparecer) */
@media (hover: hover) {
  html:not(.menu-open) .menu-toggle:hover .menu-toggle__bars i:first-child { transform: translateX(-2px); }
  html:not(.menu-open) .menu-toggle:hover .menu-toggle__bars i:last-child { transform: translateX(2px); }
}
.menu-open .menu-toggle .menu-toggle__bars i:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-open .menu-toggle .menu-toggle__bars i:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.menu-toggle__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; min-width: 6ch; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--blue)); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 1180px) { .nav { display: none; } }
@media (max-width: 760px) { .brand__tag { display: none; } }
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .header-cta { display: none; }
  .brand__symbol { width: 40px; height: 40px; }
  .menu-toggle__label { display: none; }
}

/* ---------- menu em tela cheia ---------- */
.menu {
  position: fixed; inset: 0; z-index: 65; overflow: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 130% at 85% 10%, var(--blue) 0%, var(--blue-600) 48%, var(--blue-700) 100%);
  clip-path: circle(0 at var(--mx, calc(100% - 48px)) var(--my, 38px));
  transition: clip-path .85s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at var(--mx, calc(100% - 48px)) var(--my, 38px)); }
.menu__grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.menu__iso line { stroke: var(--grid-line); stroke-width: 1; }
.menu__iso line.is-strong { stroke: var(--line); }
.menu__inner {
  position: relative; width: min(100% - 2 * var(--gutter), 1480px); min-height: 100%; margin: 0 auto;
  padding: calc(var(--header-h) + 28px) 0 40px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.menu__list { display: grid; }
.menu__list li { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.12s + var(--i, 0) * .05s); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 4px 0; color: var(--ink); text-decoration: none; }
.menu__n { width: 30px; flex: none; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: rgba(255, 255, 255, .62); }
.menu__t {
  display: inline-block; font-size: clamp(2rem, 1.1rem + 3.4vw, 4.4rem); line-height: 1.04;
  font-weight: 820; font-stretch: 78%; letter-spacing: -.025em;
  transition: transform .55s var(--ease), color .3s, font-stretch .55s var(--ease);
}
.menu__list a:hover .menu__t, .menu__list a:focus-visible .menu__t { transform: translateX(14px); color: var(--blue-100); font-stretch: 100%; }
.menu__list a.is-active .menu__t::after {
  content: ""; display: inline-block; width: .2em; height: .2em; margin-left: .18em;
  border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 .05em #fff; vertical-align: .18em;
}
.menu__aside { display: grid; gap: 28px; opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s .3s var(--ease), transform .8s .3s var(--ease); }
.menu.is-open .menu__aside { opacity: 1; transform: none; }
.menu__preview { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-2); }
.menu__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.menu__preview img.is-swap { opacity: 0; transform: scale(1.05); }
.menu__preview-corner { position: absolute; width: 22px; height: 22px; border: 0 solid #fff; }
.menu__preview-corner--tl { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; }
.menu__preview-corner--br { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.menu__contact { display: grid; gap: 8px; }
.menu__contact a { color: var(--ink); font-weight: 620; text-decoration: none; }
.menu__contact a:hover { color: var(--blue-100); }
@media (max-width: 900px) {
  .menu__inner { grid-template-columns: 1fr; align-content: start; gap: 32px; }
  .menu__preview { display: none; }
}

/* ---------- carimbo (indicador de seção) ---------- */
.carimbo {
  position: fixed; left: 18px; bottom: 18px; z-index: 45;
  display: grid; grid-template-columns: auto auto auto;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
  font-family: var(--mono); color: var(--ink); box-shadow: var(--shadow-1);
  transition: transform .55s var(--ease), opacity .4s, box-shadow .3s;
}
.carimbo:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.carimbo.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.carimbo__cell { display: grid; align-content: center; gap: 1px; padding: 7px 12px 9px; border-right: 1px solid var(--line-2); }
.carimbo__cell:nth-child(3) { border-right: 0; }
.carimbo__cell small { font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.carimbo__cell b { font-size: .76rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.carimbo__cell em { font-style: normal; color: var(--muted); }
.carimbo__cell--logo { padding: 6px 9px; }
.carimbo__cell--logo img { width: 26px; height: 26px; }
.carimbo__cell--name b { display: block; min-width: 12ch; }
.carimbo__scale { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.carimbo__scale i { display: block; height: 100%; background: var(--blue-600); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 700px) { .carimbo { display: none; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  display: flex; align-items: center; height: 58px; min-width: 58px; padding: 0 17px;
  border-radius: 999px; background: var(--red); color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(170, 45, 40, .8);
  transition: transform .55s var(--ease), opacity .4s, background-color .3s;
}
.wa-float:hover { background: var(--red-800); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 650; font-size: .9rem; transition: max-width .45s var(--ease), margin .45s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; margin-left: 10px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: wa-pulse 3s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 71, 68, .45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(204, 71, 68, 0); }
}
.wa-float.is-hidden { opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 800; pointer-events: none; display: none; }
.cursor:not(.is-on) { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .is-ready .cursor { display: block; } }
.cursor__ring {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(22, 77, 203, .5); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); /* visível também sobre as seções azuis */
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--blue); background: rgba(35, 113, 245, .07); }
.cursor.has-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; border-color: var(--red); background: var(--red); }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap;
  transition: opacity .25s, transform .35s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__label { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.85); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 900; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 620; box-shadow: var(--shadow-2);
  transition: opacity .3s, transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding: calc(var(--header-h) + clamp(28px, 4vw, 60px)) 0 clamp(80px, 8vw, 110px) var(--side);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(110% 90% at 70% 45%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 90% at 70% 45%, #000 25%, transparent 75%);
}
.hero__bg::after {
  content: ""; position: absolute; right: -12%; top: -8%; width: 72%; height: 92%;
  background: radial-gradient(closest-side, rgba(92, 162, 250, .3), transparent);
}
/* hero no azul do logotipo: "planta" vira traço (contorno) com a cota vermelha */
.hero.on-blue .hero__planta { color: transparent; -webkit-text-stroke: clamp(1.5px, .16vw, 2.4px) #fff; }
.hero.on-blue .dimline__main, .hero.on-blue .dimline__end, .hero.on-blue .dimline__end::after { background: var(--red-500); }
.hero.on-blue .hero__proof-icon, .hero.on-blue .stage__hint { color: #fff; }
.hero.on-blue .hero__scroll i::after { background: #fff; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: clamp(18px, 2.2vw, 28px); max-width: 640px; }
.hero__title {
  font-size: clamp(3.5rem, 1.1rem + 6.2vw, 7.4rem); line-height: .9;
  font-weight: 850; font-stretch: 78%; letter-spacing: -.035em; color: var(--ink);
}
/* nowrap: a animação de largura da fonte na entrada não pode quebrar linha (evita deslocar a página) */
.hero__line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__line--last { padding-bottom: .26em; margin-bottom: -.2em; }
.hero__word { display: inline-block; }
.is-ready .hero__word { transform: translate3d(0, 110%, 0); font-stretch: 100%; transition: transform 1.15s var(--ease), font-stretch 1.6s var(--ease); }
.is-ready .hero__line:nth-child(2) .hero__word { transition-delay: .08s; }
.is-ready .hero__line:nth-child(3) .hero__word { transition-delay: .16s; }
.is-loaded .hero__word { transform: none; font-stretch: 78%; }
.hero__planta { position: relative; display: inline-block; color: var(--blue-600); }
.dimline { position: absolute; left: .02em; right: .02em; bottom: -.16em; height: .16em; pointer-events: none; }
.dimline__main {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s .95s var(--ease);
}
.dimline__end { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .45s 1.7s var(--ease); }
.dimline__end--l { left: 0; }
.dimline__end--r { right: 0; }
.dimline__end::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .34em; height: 3px; background: var(--red);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.is-loaded .dimline__main, .no-js .dimline__main, .js:not(.is-ready) .dimline__main { transform: none; }
.is-loaded .dimline__end, .no-js .dimline__end, .js:not(.is-ready) .dimline__end { transform: none; }
.hero__lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.24rem); line-height: 1.55; max-width: 46ch; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof {
  display: flex; align-items: center; gap: 12px; max-width: 440px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted);
}
.hero__proof strong { color: var(--ink); }
.hero__proof-icon { width: 34px; height: 34px; flex: none; color: var(--blue-600); }
.is-ready [data-hero-in] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, .4s); }
.is-loaded [data-hero-in] { opacity: 1; transform: none; }

.hero__stage { position: relative; z-index: 1; margin: 0; min-width: 0; }
.stage {
  --lx: 50%; --ly: 50%; --lr: 0px;
  position: relative; aspect-ratio: 1600 / 822; overflow: hidden;
  border-radius: 20px 0 0 20px; background: #fff;
  box-shadow: 0 40px 80px -44px rgba(13, 29, 87, .55), inset 0 0 0 1px var(--line);
  touch-action: pan-y; cursor: crosshair; user-select: none; -webkit-user-select: none;
}
.is-ready .stage { clip-path: inset(0 0 0 100% round 20px 0 0 20px); transition: clip-path 1.5s .25s var(--ease-io); }
.is-loaded .stage { clip-path: inset(0 0 0 0 round 20px 0 0 20px); }
.stage__media {
  position: absolute; inset: 0;
  background-color: #fbfcfe;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stage__lines, .stage__render { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__render { clip-path: circle(var(--lr) at var(--lx) var(--ly)); will-change: clip-path; }
.stage__lens {
  position: absolute; left: var(--lx); top: var(--ly); width: calc(var(--lr) * 2); height: calc(var(--lr) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 0 8px rgba(22, 77, 203, .12), 0 20px 44px -16px rgba(13, 29, 87, .5);
}
.stage__lens-label {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-1);
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); white-space: nowrap;
  transition: opacity .3s;
}
.stage.is-open .stage__lens-label, .stage.is-open .stage__cross, .stage.is-open .stage__readout { opacity: 0; }
.stage__cross { position: absolute; inset: 0; pointer-events: none; transition: opacity .4s; }
.stage__cx, .stage__cy { position: absolute; display: block; }
.stage__cx { left: 0; right: 0; top: var(--ly); height: 1px; background: repeating-linear-gradient(90deg, rgba(22, 77, 203, .5) 0 6px, transparent 6px 12px); }
.stage__cy { top: 0; bottom: 0; left: var(--lx); width: 1px; background: repeating-linear-gradient(180deg, rgba(22, 77, 203, .5) 0 6px, transparent 6px 12px); }
.stage__axes { position: absolute; display: flex; justify-content: space-around; pointer-events: none; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; color: var(--blue-600); }
.stage__axes--x { left: 24px; right: 0; top: 7px; }
.stage__axes--y { top: 20px; bottom: 0; left: 9px; flex-direction: column; }
.stage__axes span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; opacity: .5; transition: opacity .3s, background-color .3s, color .3s; }
.stage__axes span.is-on { opacity: 1; background: var(--blue-600); color: #fff; }
.stage__tags { position: absolute; inset: 0; pointer-events: none; }
.stage__tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.85); opacity: 0;
  padding: 6px 11px 6px 23px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-1);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
  transition: opacity .35s, transform .5s var(--ease);
}
.stage__tag::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 3px rgba(170, 45, 40, .2);
}
.stage__tag.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage__readout {
  position: absolute; right: 12px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(255, 255, 255, .92);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: opacity .4s;
}
.stage__readout b { font-weight: 500; color: var(--red); }
.stage__corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--blue-600); pointer-events: none; }
.stage__corner--tl { left: 10px; top: 10px; border-left-width: 1.5px; border-top-width: 1.5px; }
.stage__corner--tr { right: 10px; top: 10px; border-right-width: 1.5px; border-top-width: 1.5px; }
.stage__corner--bl { left: 10px; bottom: 10px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.stage__corner--br { right: 10px; bottom: 10px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.stage__caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 12px; padding-right: var(--gutter);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stage__hint { color: var(--blue-600); }
.hero__scroll {
  position: absolute; left: var(--side); bottom: 26px; display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.hero__scroll i { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line-2); }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--blue-600); animation: scroll-cue 1.9s var(--ease) infinite; }
@keyframes scroll-cue { to { top: 100%; } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-right: 0; padding-bottom: 96px; }
  .hero__copy { padding-right: var(--gutter); }
  .hero__stage { margin-left: calc(var(--side) * -1); }
  .stage { border-radius: 0; }
  .is-ready .stage { clip-path: inset(0 0 0 100%); }
  .is-loaded .stage { clip-path: inset(0); }
  .stage__caption { padding-left: var(--side); }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .stage { aspect-ratio: 3 / 2; }
  .stage__axes { display: none; }
  /* no recorte 3:2 do celular, "Telas de pedidos" colide com "Racks de pizza" e "Embalagens" fica fora do quadro */
  .stage__tag:nth-child(1), .stage__tag:nth-child(4) { display: none; }
  .hero { padding-bottom: 40px; }
  .stage__caption { flex-direction: column; }
}

/* ==========================================================================
   02 · O QUE FAZEMOS
   ========================================================================== */
.intro { position: relative; padding-block: clamp(96px, 12vw, 180px) clamp(88px, 10vw, 150px); }
.label-title { margin-bottom: 30px; }
.manifesto {
  max-width: 1120px; font-size: clamp(1.65rem, .95rem + 2.9vw, 3.6rem); line-height: 1.16;
  font-weight: 620; font-stretch: 88%; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty;
}
.mw { transition: opacity .35s var(--ease), color .35s; }
.is-ready .manifesto .mw { opacity: .16; }
.is-ready .manifesto .mw.is-lit { opacity: 1; }
.kw { display: inline-flex; align-items: center; gap: .16em; white-space: nowrap; color: var(--blue-600); }
.kw__icon { width: 1.25em; height: .62em; overflow: visible; flex: none; }
.kw__icon path, .kw__icon circle { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.kw__icon circle { fill: #fff; }
.kw__icon .kw__draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
.is-ready .manifesto .kw:not(.is-lit) .kw__draw { stroke-dashoffset: 1; }
.kw__icon circle { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
.is-ready .manifesto .kw:not(.is-lit) .kw__icon circle { transform: scale(0); }
.kw__icon--move circle { stroke: var(--red); }
.kw__icon--path circle { fill: var(--red); stroke: var(--red); }

.dims {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(40px, 6vw, 96px); margin-top: clamp(90px, 11vw, 160px);
}
.dims__copy { display: grid; gap: 22px; align-content: start; }
.dims__intro { max-width: 48ch; }
.dims__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dims__tab {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); font-weight: 650;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease);
}
.dims__tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.dims__tab-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); font-family: var(--mono); font-size: .74rem; transition: background-color .3s, color .3s; }
.dims__tab[aria-selected="true"] { background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px -12px rgba(22, 77, 203, .8); }
.dims__tab[aria-selected="true"] .dims__tab-n { background: #fff; color: var(--blue-600); }
.dims__tab[data-dim="negocio"][aria-selected="true"] .dims__tab-n { color: #fff; }
.dims__tab[data-dim="negocio"][aria-selected="true"] .dims__tab-n { background: var(--red); }
.dims__panel { min-height: 200px; padding: 24px 26px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.dims__panel.is-swap > * { animation: panel-in .55s var(--ease) both; }
.dims__panel.is-swap > *:nth-child(2) { animation-delay: .05s; }
.dims__panel.is-swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.dims__kicker { margin-bottom: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.dims__text { font-size: 1.08rem; color: var(--ink); }
.dims__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dims__tags li { padding: 4px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: .78rem; }

.dims__stage {
  --s: clamp(160px, 18vw, 250px);
  position: relative; height: clamp(380px, 40vw, 560px); display: grid; place-items: center; perspective: 1800px;
}
.dims__stage::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 162, 250, .18), transparent);
}
.cube {
  --tx: 0deg; --ty: 0deg; --gap: 0px; --h: calc(var(--s) / 2);
  position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d;
  transform: rotateX(calc(-35.264deg + var(--ty))) rotateY(calc(45deg + var(--tx)));
  transition: transform .9s var(--ease);
}
.cube.is-exploded { --gap: 52px; }
.cube__face {
  --lift: 0px;
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px;
  background: rgba(255, 255, 255, .94); box-shadow: inset 0 0 0 1.5px var(--blue-600);
  backface-visibility: hidden; cursor: pointer;
  transition: transform 1s var(--ease), background-color .4s, box-shadow .4s;
}
.cube__face:hover { --lift: 14px; }
.cube__face.is-active { --lift: 26px; background: #fff; box-shadow: inset 0 0 0 2.5px var(--blue-600), 0 0 40px rgba(35, 113, 245, .25); }
.cube__face--top {
  transform: rotateX(90deg) translateZ(calc(var(--h) + var(--gap) + var(--lift)));
  background: linear-gradient(135deg, var(--red-500), var(--red) 70%); box-shadow: inset 0 0 0 1.5px var(--red-800);
}
.cube__face--top.is-active { background: linear-gradient(135deg, var(--red-300), var(--red-500) 70%); box-shadow: inset 0 0 0 2.5px var(--red-800), 0 0 40px rgba(204, 71, 68, .35); }
.cube__face--left { transform: rotateY(-90deg) translateZ(calc(var(--h) + var(--gap) + var(--lift))); background: rgba(238, 244, 254, .96); }
.cube__face--right { transform: translateZ(calc(var(--h) + var(--gap) + var(--lift))); }
.cube__face svg { width: 76%; height: 76%; overflow: visible; }
.cube__art { fill: none; stroke: var(--blue-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s .2s var(--ease); }
.cube__art--thin { stroke-width: 2; stroke: var(--blue-300); }
.cube__art--arrow { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .4s 1.4s; }
.cube.is-built .cube__art { stroke-dashoffset: 0; }
.cube.is-built .cube__art--arrow { opacity: 1; }
.no-js .cube__art, .js:not(.is-ready) .cube__art { stroke-dashoffset: 0; }
.cube__face--top .cube__art { stroke: #fff; }
.cube__face--top .cube__art--thin { stroke: rgba(255, 255, 255, .55); }
.cube__dot { fill: var(--red); }
.cube__face--top .cube__dot { fill: #fff; }
.cube__label { position: absolute; left: 12px; bottom: 9px; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.cube__face--top .cube__label { color: #fff; }
.cube__shadow {
  position: absolute; left: 50%; top: 50%; width: calc(var(--s) * 2); height: calc(var(--s) * .62); pointer-events: none;
  transform: translate(-50%, calc(var(--s) * .9)); background: radial-gradient(closest-side, rgba(13, 29, 87, .2), transparent);
  transition: transform .9s var(--ease), opacity .9s;
}
.dims__hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) {
  .dims { grid-template-columns: 1fr; }
  /* título e abas primeiro; o cubo logo abaixo do painel, para o toque numa face mostrar o texto ao lado */
  .dims__stage { --s: clamp(140px, 36vw, 200px); height: clamp(320px, 76vw, 420px); }
}

/* ==========================================================================
   03 · SOLUÇÕES
   ========================================================================== */
.solutions { position: relative; padding-block: clamp(96px, 12vw, 170px); background: var(--blue-100); }
.sol-index {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 20;
  display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto clamp(36px, 5vw, 64px); padding: 6px;
  overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: top .55s var(--ease);
}
.sol-index::-webkit-scrollbar { display: none; }
.header-hidden .sol-index { top: 12px; }
.sol-index a {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  font-size: .86rem; font-weight: 620; color: var(--text); text-decoration: none; transition: background-color .3s, color .3s;
}
.sol-index a span { font-family: var(--mono); font-size: .66rem; color: var(--red); transition: color .3s; }
.sol-index a:hover { background: var(--paper); }
.sol-index a.is-active { background: var(--blue-600); color: #fff; }
.sol-index a.is-active span { color: rgba(255, 255, 255, .75); }

.sol { position: relative; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 76px); }
.sol__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num kicker" "num title" "num problem";
  column-gap: clamp(16px, 3vw, 44px); align-items: end; margin-bottom: clamp(32px, 4.4vw, 60px);
}
.sol__num {
  grid-area: num; align-self: center; font-size: clamp(4.6rem, 2.6rem + 6.4vw, 9.6rem); line-height: .8;
  font-weight: 850; font-stretch: 68%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--red-500);
}
.sol__kicker { grid-area: kicker; margin-bottom: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.sol__title { grid-area: title; font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3.4rem); line-height: 1; font-weight: 820; font-stretch: 82%; letter-spacing: -.024em; color: var(--ink); text-wrap: balance; }
.sol__problem { grid-area: problem; margin-top: 14px; font-size: 1.04rem; font-style: italic; color: var(--red); max-width: 60ch; }
.sol__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sol__grid--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sol__info { position: sticky; top: calc(var(--header-h) + 96px); display: grid; gap: 18px; align-content: start; }
.sol__value { font-size: 1.14rem; line-height: 1.52; color: var(--ink); }
.sol__list-title { margin-top: 4px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sol__list { display: grid; gap: 9px; }
.sol__list li { position: relative; padding-left: 24px; font-size: .97rem; }
.sol__list li::before {
  content: ""; position: absolute; left: 3px; top: .58em; width: 8px; height: 8px;
  border: 1.5px solid var(--blue-600); transform: rotate(45deg); border-radius: 1px;
}
.sol__info .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 1000px) {
  .sol__grid, .sol__grid--wide { grid-template-columns: 1fr; }
  .sol__info { position: static; }
  .sol__grid--wide > .sol__info { order: -1; }
}
@media (max-width: 560px) {
  .sol__head { grid-template-columns: 1fr; grid-template-areas: "num" "kicker" "title" "problem"; }
  .sol__num { font-size: 4.2rem; margin-bottom: 8px; }
}

/* Raio-X rápido */
.xray { display: grid; gap: 18px; padding: clamp(18px, 2.6vw, 30px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.xray__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.xray__title { font-size: 1.22rem; font-weight: 820; font-stretch: 90%; color: var(--ink); }
.xray__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); }
.xray__qs { display: grid; gap: 8px; counter-reset: q; }
.xray__q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 16px;
  border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s;
}
.xray__q p { font-size: .94rem; line-height: 1.4; color: var(--ink); }
.xray__q p::before { counter-increment: q; content: counter(q, decimal-leading-zero); margin-right: 10px; font-family: var(--mono); font-size: .66rem; color: var(--blue-600); }
.xray__q.is-yes { box-shadow: inset 0 0 0 1.5px rgba(170, 45, 40, .45); }
.xray__q.is-no { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.xray__yn { display: flex; gap: 3px; flex: none; padding: 3px; border-radius: 999px; background: #fff; }
.xray__yn button { min-width: 54px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; color: var(--muted); transition: background-color .25s, color .25s; }
.xray__yn button:hover { color: var(--ink); background: var(--paper); }
.xray__yn button[aria-pressed="true"][data-v="1"] { background: var(--red); color: #fff; }
.xray__yn button[aria-pressed="true"][data-v="0"] { background: var(--blue-600); color: #fff; }
.xray__result { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); gap: 18px; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.radar { width: 100%; height: auto; overflow: visible; }
.radar__grid polygon { fill: none; stroke: var(--line-2); stroke-width: 1; }
.radar__grid polygon:last-child { fill: #fff; }
.radar__grid line { stroke: var(--line); stroke-width: 1; }
.radar__shape { fill: rgba(170, 45, 40, .16); stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }
.radar__dots circle { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.radar__labels text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; fill: var(--muted); transition: fill .3s; }
.radar__labels text.is-hot { fill: var(--red); font-weight: 500; }
.xray__headline { margin-bottom: 10px; font-weight: 720; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.xray__services { display: grid; gap: 7px; }
.xray__services li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; animation: panel-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.xray__services li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .4em; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.xray__services b { color: var(--ink); }
@media (max-width: 560px) {
  .xray__q { flex-direction: column; align-items: stretch; gap: 10px; }
  .xray__yn { align-self: flex-start; }
  .xray__result { grid-template-columns: 1fr; }
  .radar { max-width: 270px; margin-inline: auto; }
}

/* Simulador de fluxo */
.sim { display: grid; gap: 16px; min-width: 0; padding: clamp(16px, 2.4vw, 28px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.sim__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.sim__title { display: grid; gap: 2px; font-size: 1.2rem; font-weight: 820; font-stretch: 90%; color: var(--ink); }
.sim__title span { font-size: .82rem; font-weight: 500; font-stretch: 100%; color: var(--muted); }
.sim__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sim__board {
  position: relative; aspect-ratio: 1200 / 640; overflow: hidden; border-radius: 16px;
  background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--line); user-select: none; -webkit-user-select: none;
}
.sim__svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue-600); overflow: visible; }
.sim__grid line { stroke: rgba(22, 77, 203, .09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sim__grid rect { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sim__path-shadow { fill: none; stroke: rgba(35, 113, 245, .14); stroke-width: 16; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sim__path { fill: none; stroke: var(--blue-600); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 10 8; vector-effect: non-scaling-stroke; animation: march .9s linear infinite; }
@keyframes march { to { stroke-dashoffset: -18; } }
.sim__crossings circle { fill: rgba(170, 45, 40, .14); stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sim__station {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 15.5%; height: 17%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 2px 4px;
  border-radius: 12px; background: #fff; color: var(--ink); transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px -10px rgba(13, 29, 87, .45), inset 0 0 0 1.5px var(--blue-600);
  touch-action: none; cursor: grab;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.sim__station:hover { transform: translate(-50%, -50%) scale(1.04); }
.sim__station.is-dragging { z-index: 3; cursor: grabbing; transition: box-shadow .3s, transform .3s; transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 18px 32px -12px rgba(13, 29, 87, .5), inset 0 0 0 2px var(--blue); }
.sim__station--hot { box-shadow: 0 8px 18px -10px rgba(13, 29, 87, .45), inset 0 0 0 1.5px var(--red); }
.sim__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-600); color: #fff; font-family: var(--mono); font-size: .64rem; }
.sim__station--hot .sim__n { background: var(--red); }
.sim__t { font-size: clamp(.6rem, .45rem + .45vw, .84rem); font-weight: 680; line-height: 1.1; text-align: center; }
.sim__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 10px; }
.sim__stat, .sim__range { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.sim__stat-l, .sim__range span { font-size: .74rem; line-height: 1.3; color: var(--muted); }
.sim__stat-v { font-size: 1.55rem; font-weight: 820; font-stretch: 84%; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.sim__stat-v.is-bad { color: var(--red); }
.sim__stat-v.is-good { color: var(--blue-600); }
.sim__range input { width: 100%; accent-color: var(--blue-600); }
.sim__note { font-size: .78rem; line-height: 1.5; color: var(--muted); }
.sim__legend { display: none; }
@media (max-width: 760px) {
  .sim__board { aspect-ratio: 4 / 3; }
  .sim__station { width: 11%; height: auto; aspect-ratio: 1; padding: 0; border-radius: 50%; }
  .sim__n { width: 100%; height: 100%; background: none; color: var(--blue-600); font-size: .78rem; font-weight: 600; }
  .sim__station--hot .sim__n { background: none; color: var(--red); }
  .sim__t { display: none; }
  .sim__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--ink); }
  .sim__legend b { margin-right: 5px; font-family: var(--mono); font-weight: 500; color: var(--blue-600); }
  .sim__legend li:nth-child(3) b { color: var(--red); }
  .sim__stats { grid-template-columns: 1fr 1fr; }
  .sim__stat-v { font-size: 1.3rem; }
}

/* Comparador traço × render */
.compare { display: grid; gap: 10px; margin: 0; }
.compare__frame {
  position: relative; aspect-ratio: 4 / 5; max-height: 760px; overflow: hidden; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow-2); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.compare__render, .compare__lines img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.compare__lines {
  position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background-color: #fbfcfe;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
}
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 77, 203, .45); pointer-events: none; }
.compare__knob {
  position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  border-radius: 50%; background: var(--blue-600); color: #fff; transform: translate(-50%, -50%); box-shadow: var(--shadow-2);
  transition: transform .3s var(--ease);
}
.compare__frame:hover .compare__knob, .compare__frame.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(1.1); }
.compare__frame:has(.compare__range:focus-visible) .compare__knob { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.compare__knob svg { width: 16px; height: 16px; }
.compare__tag {
  position: absolute; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); pointer-events: none;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.compare__tag--l { left: 14px; }
.compare__tag--r { right: 14px; }
.compare__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; margin: 0; opacity: 0; pointer-events: none; }
.compare figcaption { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.deliver { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.deliver__item {
  display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 14px; text-align: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .74rem; font-weight: 620; line-height: 1.25; color: var(--ink);
}
.deliver__item svg { width: 40px; height: 40px; overflow: visible; }
.deliver__item svg * { fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), stroke .3s; transform-box: fill-box; transform-origin: center; }
.deliver__item:hover .deliver__a { transform: translateY(-3px); }
.deliver__item:hover .deliver__c { stroke: var(--red); }
@media (max-width: 520px) { .deliver { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Guia de estação (POP) */
.pop { display: grid; gap: 14px; min-width: 0; padding: clamp(16px, 2.4vw, 28px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.pop__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pop__title { display: grid; gap: 2px; font-size: 1.2rem; font-weight: 820; font-stretch: 90%; color: var(--ink); }
.pop__title span { font-family: var(--mono); font-size: .66rem; font-weight: 500; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.pop__play[aria-pressed="true"] { background: var(--blue-600); color: #fff; box-shadow: none; }
.pop__viewport {
  position: relative; height: clamp(170px, 19vw, 257px); overflow: hidden; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); touch-action: pan-y; cursor: grab;
}
.pop__viewport.is-dragging { cursor: grabbing; }
.pop__track { position: absolute; left: 0; top: 0; height: 100%; transition: transform .85s var(--ease); will-change: transform; }
.pop__viewport.is-dragging .pop__track { transition: none; }
.pop__track img { height: 100%; width: auto; max-width: none; pointer-events: none; }
.pop__focus {
  position: absolute; top: 0; left: 0; width: 0; height: 100%; border-radius: 8px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--blue-600), 0 0 0 4000px rgba(244, 246, 250, .74);
  transition: left .85s var(--ease), width .85s var(--ease);
}
.pop__viewport.is-dragging .pop__focus { transition: none; }
.pop__steps { display: flex; flex-wrap: wrap; gap: 6px; }
.pop__steps button {
  height: 34px; padding: 0 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono); font-size: .72rem; color: var(--ink); transition: background-color .25s, color .25s, box-shadow .25s;
}
.pop__steps button:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.pop__steps button[aria-current="step"] { background: var(--blue-600); color: #fff; box-shadow: none; }
.pop__detail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 80px; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pop__n { min-width: 3.4ch; font-size: 1.5rem; font-weight: 850; font-stretch: 80%; color: var(--blue-600); line-height: 1; }
.pop__t { font-size: .94rem; line-height: 1.45; color: var(--ink); }
.pop__timer svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.pop__timer circle { fill: none; stroke: var(--line-2); stroke-width: 3; }
.pop__timer .pop__timer-p { stroke: var(--blue-600); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
@keyframes pop-timer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pop__credit { font-size: .78rem; color: var(--muted); }

.eco {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .8fr); align-items: center;
  gap: clamp(20px, 3vw, 44px); margin-top: clamp(56px, 7vw, 100px); padding: clamp(24px, 4vw, 52px);
  border-radius: 26px; background: radial-gradient(120% 140% at 0% 0%, var(--blue) 0%, var(--blue-600) 46%, var(--blue-700) 100%);
}
.eco__text { display: grid; gap: 16px; align-content: start; }
.eco__lead { font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.eco__photo { display: grid; gap: 8px; margin: 0; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.eco__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-2); }
.eco__photo figcaption { font-size: .74rem; line-height: 1.35; color: var(--muted); }
.eco__photo--b { margin-top: 70px; }
@media (max-width: 900px) {
  .eco { grid-template-columns: 1fr 1fr; }
  .eco__text { grid-column: 1 / -1; }
  .eco__photo--b { margin-top: 36px; }
}

/* ==========================================================================
   04 · PROJETOS
   ========================================================================== */
.work { position: relative; padding-top: clamp(96px, 12vw, 170px); }
.work__index { margin-bottom: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line-2); }
.work__index li { border-bottom: 1px solid var(--line-2); }
.work__index a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 170px 190px 40px; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 30px) 10px; color: var(--ink); text-decoration: none;
}
.work__index a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.work__index a:hover::before, .work__index a:focus-visible::before { transform: none; }
.work__n { font-family: var(--mono); font-size: .74rem; color: var(--blue-600); }
.work__name { font-size: clamp(1.8rem, 1.05rem + 2.7vw, 3.7rem); line-height: 1; font-weight: 820; font-stretch: 80%; letter-spacing: -.024em; transition: transform .55s var(--ease), font-stretch .55s var(--ease), color .3s; }
.work__index a:hover .work__name { transform: translateX(12px); font-stretch: 94%; color: var(--blue-600); }
.work__meta, .work__type { font-size: .86rem; color: var(--muted); }
.work__arrow { width: 26px; height: 26px; color: var(--blue-600); transform: rotate(-45deg); transition: transform .55s var(--ease); }
.work__index a:hover .work__arrow { transform: none; color: var(--red); }
.work__float {
  position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px;
  pointer-events: none; opacity: 0; box-shadow: var(--shadow-2); transition: opacity .35s;
}
.work__float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform .7s var(--ease), opacity .25s; }
.work__float.is-on { opacity: 1; }
.work__float.is-on img { transform: none; }
@media (hover: none), (max-width: 900px) { .work__float { display: none; } }
@media (max-width: 900px) {
  .work__index a { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 4px 12px; }
  .work__meta { grid-column: 2; grid-row: 2; }
  .work__type { display: none; }
  .work__arrow { grid-column: 3; grid-row: 1 / 3; }
}

.case { padding-bottom: clamp(80px, 10vw, 150px); }
.case__cover {
  --ci: 0%; --cr: 0px;
  position: relative; height: min(88vh, 860px); min-height: 440px; overflow: hidden; margin-bottom: clamp(48px, 6vw, 90px);
  clip-path: inset(0 var(--ci) round var(--cr));
}
.case__cover-img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(var(--cs, 1)); will-change: transform; }
.case__cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 29, 87, 0) 40%, rgba(13, 29, 87, .78) 100%); }
.case__cover-title { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); display: grid; gap: 10px; color: #fff; }
.case__num { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.case__cover .case__num { color: rgba(255, 255, 255, .85); }
.case__name { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 6.8rem); line-height: .92; font-weight: 860; font-stretch: 76%; letter-spacing: -.032em; }
.case__name--ink { color: var(--ink); }
.case__where { font-size: .98rem; opacity: .92; }
.case__where--ink { color: var(--muted); opacity: 1; }
.case__lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-2); }
.case__meta > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.case__meta dt { padding-top: 3px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case__meta dd { color: var(--ink); }
.case__meta--compact > div { grid-template-columns: 96px minmax(0, 1fr); }
.case__stat { text-align: right; }
.case__stat-n { font-size: clamp(4rem, 1.8rem + 8.2vw, 9.6rem); line-height: .85; font-weight: 860; font-stretch: 74%; letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.case__approx { margin-right: .06em; font-weight: 300; color: var(--blue-300); }
.case__stat-l { max-width: 30ch; margin: 10px 0 0 auto; font-size: .92rem; color: var(--muted); }
.case__story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); }
.case__block { display: grid; gap: 12px; align-content: start; }
.case__step { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.case__note { max-width: 86ch; margin-top: 24px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .case__lead, .case__story { grid-template-columns: 1fr; }
  .case__stat { text-align: left; }
  .case__stat-l { margin-left: 0; }
  .case__meta > div { grid-template-columns: 92px minmax(0, 1fr); }
}

/* Explorador de plantas */
.plan { margin-bottom: clamp(40px, 5vw, 72px); padding: clamp(12px, 1.8vw, 22px); border-radius: 26px; background: #fff; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.plan__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.plan__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); }
.plan__tab { height: 38px; padding: 0 16px; border-radius: 999px; font-size: .86rem; font-weight: 650; color: var(--text); transition: background-color .3s, color .3s, box-shadow .3s; }
.plan__tab:hover { color: var(--ink); }
.plan__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.plan__flow-btn[aria-pressed="true"] { background: var(--red); }
.plan__flow-btn[aria-pressed="true"]::before { background: var(--red-800); }
.plan__body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(14px, 2vw, 24px); align-items: start; }
.plan__stage { min-width: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.plan__canvas { position: relative; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.plan__canvas.is-swapping { opacity: 0; transform: scale(.985); }
.plan__img { width: 100%; height: auto; }
.plan__flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* halo claro sob a linha: mantém o fluxo legível sobre os traços vermelhos/azuis da planta */
.fl-base { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(35, 113, 245, .35)); }
.fl-base.is-red { filter: drop-shadow(0 0 3px rgba(204, 71, 68, .4)); }
.fl-line { fill: none; stroke: var(--blue-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fl-line.is-red { stroke: var(--red); }
.fl-dot { fill: #fff; stroke: var(--blue-600); stroke-width: 3; }
.fl-dot.is-red { stroke: var(--red); }
.fl-node { fill: var(--blue-600); }
.fl-node.is-red { fill: var(--red); }
.plan__spots { position: absolute; inset: 0; pointer-events: none; }
.plan__spot {
  position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: #fff;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; pointer-events: auto;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .92), 0 8px 16px -6px rgba(13, 29, 87, .6);
  transition: transform .35s var(--ease), background-color .3s;
  animation: pop-in .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms);
}
.plan__spot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--blue-600); opacity: 0; pointer-events: none;
  animation: ping 2.6s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 230ms);
}
.plan__spot:hover, .plan__spot.is-hover, .plan__spot.is-active { transform: scale(1.15); background: var(--red); }
.plan__spot.is-active::after { border-color: var(--red); }
@keyframes ping { 0% { transform: scale(.7); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.3); } }
.plan__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 12px 0; font-size: .76rem; color: var(--muted); }
.plan__legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan__legend i { display: inline-block; width: 20px; height: 3px; border-radius: 2px; background: var(--blue-600); }
.plan__legend i.is-red { background: var(--red); }
.plan__legend-note { font-style: italic; }
.plan__scale { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan__scale i { flex: 1; max-width: 150px; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, #fff 18px 36px); box-shadow: inset 0 0 0 1px var(--ink); }
.plan__side { display: grid; gap: 14px; align-content: start; }
.plan__list { display: grid; gap: 3px; }
.plan__list button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 12px;
  font-size: .9rem; line-height: 1.3; color: var(--ink); text-align: left; transition: background-color .25s, color .25s;
}
.plan__list button > span:first-child { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); font-family: var(--mono); font-size: .66rem; transition: background-color .25s, color .25s; }
.plan__list button:hover { background: var(--paper); }
.plan__list button[aria-pressed="true"] { background: var(--blue-600); color: #fff; }
.plan__list button[aria-pressed="true"] > span:first-child { background: var(--red); color: #fff; }
.plan__detail { min-height: 128px; padding: 16px 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.plan__detail.is-swap > * { animation: panel-in .45s var(--ease) both; }
.plan__detail-t { margin-bottom: 6px; font-weight: 750; color: var(--ink); }
.plan__detail-d { font-size: .92rem; line-height: 1.5; }
@media (max-width: 1000px) {
  .plan__body { grid-template-columns: 1fr; }
  .plan__list { grid-template-columns: 1fr 1fr; }
}
.plan__swipe { display: none; }
@media (max-width: 640px) {
  .plan__stage { overflow-x: auto; overscroll-behavior-x: contain; }
  .plan__canvas { min-width: 580px; }
  /* no celular a planta rola na horizontal: aviso e rodapé ficam presos à esquerda */
  .plan__swipe {
    position: sticky; left: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px;
    font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600);
  }
  .plan__swipe::before { content: "↔"; font-size: .9rem; letter-spacing: 0; }
  .plan__scale, .plan__legend { position: sticky; left: 0; }
  .plan__list { grid-template-columns: 1fr; }
  .plan__spot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .62rem; }
}

/* Galeria do case */
.case__gallery { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.case__gallery.is-dragging, .studies__rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.shot { flex: none; display: grid; gap: 10px; align-content: start; margin: 0; scroll-snap-align: start; }
.shot--wide { width: min(64%, 840px); }
.shot--video { width: 290px; }
.shot__btn { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 16px; background: var(--paper-2); cursor: zoom-in; }
.shot__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.shot__btn:hover img { transform: scale(1.045); }
.shot__btn::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; opacity: 0; transform: scale(.8);
  background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1D57' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: opacity .3s, transform .4s var(--ease);
}
.shot__btn:hover::after, .shot__btn:focus-visible::after { opacity: 1; transform: none; }
.shot--wide .shot__btn { aspect-ratio: 900 / 462; }
.shot figcaption, .study figcaption { font-size: .84rem; line-height: 1.45; color: var(--muted); }
.shot figcaption .mono-label, .study figcaption .mono-label { margin-right: 8px; color: var(--blue-600); }
@media (max-width: 700px) {
  .shot--wide { width: 86%; }
  .shot--video { width: 66%; }
}
.phone { position: relative; margin: 9px; aspect-ratio: 478 / 850; overflow: hidden; border-radius: 30px; background: var(--ink); box-shadow: 0 0 0 9px #fff, 0 0 0 10px var(--line-2), var(--shadow-2); }
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff;
  background: linear-gradient(180deg, rgba(13, 29, 87, 0) 35%, rgba(13, 29, 87, .6));
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; transition: opacity .35s;
}
.phone__play svg { width: 66px; height: 66px; padding: 21px; border-radius: 50%; background: var(--red); box-shadow: 0 12px 30px -8px rgba(170, 45, 40, .8); transition: transform .4s var(--ease); }
.phone__play:hover svg { transform: scale(1.08); }
.phone.is-playing .phone__play { opacity: 0; pointer-events: none; }

/* Foster's — faixa azul entre o case 01 (claro) e os estudos (azul-claro) */
.case--fosters {
  padding-top: clamp(64px, 8vw, 120px);
  background: radial-gradient(120% 120% at 0% 0%, var(--blue) 0%, var(--blue-600) 48%, var(--blue-700) 100%);
}
.fosters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 100px); padding-top: clamp(24px, 4vw, 60px); }
.fosters__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.fosters__img { margin: 0; will-change: transform; }
.fosters__img .shot__btn { aspect-ratio: 560 / 1018; }
.fosters__img--b { margin-top: 96px; }
.fosters__copy { display: grid; gap: 18px; align-content: start; }
.check-list { display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164DCB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 900px) { .fosters { grid-template-columns: 1fr; } .fosters__img--b { margin-top: 56px; } }

.equip { margin-top: clamp(56px, 7vw, 100px); padding: clamp(20px, 3vw, 44px); border-radius: 26px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.equip__head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.equip__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.06; font-weight: 820; font-stretch: 85%; color: var(--ink); text-wrap: balance; }
.equip__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 60px); }
.equip__figure { display: grid; gap: 12px; margin: 0; }
.equip__canvas { position: relative; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.equip__canvas img { width: 100%; mix-blend-mode: multiply; }
.equip__spot {
  position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: #fff; font-family: var(--mono); font-size: .74rem;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), var(--shadow-1); transition: transform .35s var(--ease), background-color .3s;
}
.equip__spot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--blue-600); opacity: 0; animation: ping 2.6s var(--ease) infinite; pointer-events: none; }
.equip__spot:nth-of-type(2)::after { animation-delay: .4s; }
.equip__spot:nth-of-type(3)::after { animation-delay: .8s; }
.equip__spot:nth-of-type(4)::after { animation-delay: 1.2s; }
.equip__spot:hover, .equip__spot.is-active { transform: scale(1.14); background: var(--red); }
.equip__spot.is-active::after { border-color: var(--red); }
.equip__figure figcaption .link-arrow { font-size: .95rem; }
.spec { display: grid; gap: 10px; }
.spec__item { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.spec__name { font-size: 1.32rem; line-height: 1.15; font-weight: 820; font-stretch: 88%; color: var(--ink); }
.spec__list > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 11px 12px; border-top: 1px solid var(--line); border-radius: 10px; transition: background-color .3s, box-shadow .3s; }
.spec__list dt { padding-top: 3px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spec__list dd { font-size: .92rem; color: var(--ink); }
.spec__list > div.is-active { background: var(--paper); border-top-color: transparent; box-shadow: inset 3px 0 0 var(--red); }
@media (max-width: 900px) { .equip__body { grid-template-columns: 1fr; } }

/* Estudos 3D */
.studies { padding-block: clamp(64px, 8vw, 120px) clamp(96px, 12vw, 170px); background: var(--blue-100); }
.studies__head { display: grid; gap: 12px; margin-bottom: 36px; }
.studies__head > * { max-width: 760px; }
.studies__rail {
  display: flex; gap: 18px; overflow-x: auto; padding: 8px var(--side) 22px; scroll-padding-inline: var(--side);
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.studies__rail::-webkit-scrollbar { display: none; }
.study { flex: none; display: grid; gap: 10px; align-content: start; width: clamp(220px, 23vw, 330px); margin: 0; scroll-snap-align: start; }
.study .shot__btn { aspect-ratio: 880 / 1600; }
.study--cta { align-self: stretch; }
.study__cta {
  position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 24px; aspect-ratio: 880 / 1600; padding: 28px;
  border-radius: 16px; background: linear-gradient(160deg, var(--red-500) 0%, var(--red) 55%, var(--red-800) 100%); color: #fff; text-decoration: none;
  box-shadow: 0 24px 50px -24px rgba(133, 29, 24, .7);
}
.study__cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px; transition: transform 1.2s var(--ease);
}
.study__cta:hover::before { transform: scale(1.1); }
.study__cta > * { position: relative; }
.study__cta-n { font-family: var(--mono); color: rgba(255, 255, 255, .75); }
.study__cta-t { font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.35rem); line-height: 1.05; font-weight: 820; font-stretch: 85%; }
.study__cta .link-arrow { color: #fff; }

/* ==========================================================================
   05 · MÉTODO
   ========================================================================== */
/* método no azul, com a malha de uma prancha técnica */
.method {
  position: relative; padding-block: clamp(96px, 12vw, 170px);
  background-color: var(--blue-600);
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-600) 0%, var(--blue-700) 100%);
  background-size: 40px 40px, 40px 40px, auto;
}
.method .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.build { position: relative; height: 330vh; }
.build__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: var(--header-h);
}
.build__steps { display: grid; gap: 4px; }
.build__step { padding: 8px 0 8px 22px; border-left: 2px solid var(--line-2); transition: border-color .45s; }
.build__step button { display: flex; align-items: baseline; gap: 14px; color: var(--muted); transition: color .45s; text-align: left; }
.build__n { font-family: var(--mono); font-size: .72rem; }
.build__t { font-size: clamp(1.45rem, .95rem + 1.9vw, 2.6rem); line-height: 1.05; font-weight: 820; font-stretch: 82%; letter-spacing: -.02em; }
.build__step p { max-width: 40ch; max-height: 0; overflow: hidden; opacity: 0; font-size: .98rem; color: var(--text); transition: max-height .7s var(--ease), opacity .5s, margin .5s var(--ease); }
.build__step:hover button { color: var(--ink); }
.build__step.is-done { border-left-color: var(--blue-300); }
.build__step.is-active { border-left-color: var(--blue-600); }
.build__step.is-active button { color: var(--ink); }
.build__step.is-active .build__n { color: var(--blue-600); }
.build__step.is-active p { max-height: 180px; opacity: 1; margin-top: 8px; }
.on-blue .build__step.is-done { border-color: rgba(255, 255, 255, .55); }
.on-blue .build__step.is-active { border-color: var(--red-500); }
.on-blue .build__step.is-active .build__n { color: #fff; }
.build__scene { position: relative; min-width: 0; }
.build__svg { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 120px); overflow: visible; }
.build__progress { height: 3px; margin-top: 12px; overflow: hidden; border-radius: 3px; background: var(--line); }
.build__progress i { display: block; height: 100%; background: var(--blue-600); transform-origin: 0 50%; transform: scaleX(0); }
.on-blue .build__progress i { background: #fff; }
.build__caption { display: none; }

/* cena isométrica */
.iso-floor { fill: #fff; stroke: var(--blue-600); stroke-width: 1.5; stroke-linejoin: round; }
.iso-grid line { stroke: rgba(22, 77, 203, .13); stroke-width: 1; }
.iso-wall-l { fill: #E6ECF8; stroke: var(--blue-600); stroke-width: 1.2; stroke-linejoin: round; }
.iso-wall-r { fill: #F1F4FB; stroke: var(--blue-600); stroke-width: 1.2; stroke-linejoin: round; }
.iso-door { fill: var(--paper); stroke: var(--blue-600); stroke-width: 1.2; }
.iso-dim { stroke: var(--red); stroke-width: 1.4; fill: none; }
.on-blue .iso-dim { stroke: var(--red-300); stroke-width: 2; } /* as cotas externas ficam sobre o azul */
.iso-dim-t { font-family: var(--mono); font-size: 11px; fill: var(--red); letter-spacing: .06em; }
.iso-zone { stroke-width: 1.4; stroke-dasharray: 6 5; }
.iso-zone--a { fill: rgba(35, 113, 245, .13); stroke: var(--blue); }
.iso-zone--b { fill: rgba(92, 162, 250, .16); stroke: var(--blue-300); }
.iso-zone--c { fill: rgba(204, 71, 68, .12); stroke: var(--red-500); }
.iso-zone--d { fill: rgba(138, 142, 147, .16); stroke: var(--chrome-600); }
.iso-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.iso-label-bg { fill: rgba(255, 255, 255, .92); stroke: var(--line-2); stroke-width: 1; }
.iso-flow { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9 7; animation: march .9s linear infinite; }
.iso-flow-arrow { fill: var(--blue); }
.iso-eq-t { fill: #F4F5F6; stroke: var(--chrome-700); stroke-width: .9; stroke-linejoin: round; }
.iso-eq-l { fill: #C9CBCE; stroke: var(--chrome-700); stroke-width: .9; stroke-linejoin: round; }
.iso-eq-r { fill: #A4A8AD; stroke: var(--chrome-700); stroke-width: .9; stroke-linejoin: round; }
.iso-eq-hot.iso-eq-t { fill: #E9897F; }
.iso-eq-hot.iso-eq-l { fill: var(--red-500); }
.iso-eq-hot.iso-eq-r { fill: var(--red); }
.iso-eq-blue.iso-eq-t { fill: #CFE0FC; }
.iso-eq-blue.iso-eq-l { fill: #8DB8F7; }
.iso-eq-blue.iso-eq-r { fill: #5F95EE; }
.iso-person-b { fill: var(--ink); }
.iso-person-h { fill: var(--ink); }
.iso-check { fill: var(--blue-600); }
.iso-check-t { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iso-sheet { fill: #fff; stroke: var(--blue-600); stroke-width: 1; }
.iso-sheet-l { stroke: var(--blue-300); stroke-width: 1; }
.build-layer { opacity: 0; transform: translate(0, -26px); transition: opacity .65s var(--ease), transform .85s var(--ease); }
.build-layer.is-on { opacity: 1; transform: none; }
.build-layer.is-dim { opacity: .35; }

@media (max-width: 900px), (max-height: 600px) {
  .build { height: auto; }
  .build__pin { position: relative; height: auto; grid-template-columns: 1fr; gap: 18px; padding-top: 0; }
  .build__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .build__step { padding: 10px 0 0; border-left: 0; border-top: 3px solid var(--line-2); }
  .build__step.is-done { border-top-color: var(--blue-300); }
  .build__step.is-active { border-top-color: var(--blue-600); }
  .build__step button { flex-direction: column; gap: 2px; }
  .build__t { font-size: clamp(.86rem, .7rem + .8vw, 1.2rem); }
  .build__step p { display: none; }
  .build__svg { max-height: none; }
  .build__caption { display: block; min-height: 3.2em; margin-top: 12px; font-size: .98rem; color: var(--ink); }
}

/* Jornada */
.journey { margin-top: clamp(80px, 10vw, 140px); }
.journey__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 40px; }
.journey__head p { max-width: 46ch; color: var(--muted); }
.journey__line { --jp: 0; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.journey__line::before, .journey__line::after { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; }
.journey__line::before { background: var(--line-2); }
.journey__line::after { background: var(--blue-600); transform-origin: 0 50%; transform: scaleX(var(--jp)); transition: transform 1.8s var(--ease); }
.journey.is-in .journey__line { --jp: 1; }
.journey__step { position: relative; display: grid; gap: 10px; align-content: start; }
.journey__step > button { display: grid; justify-items: start; gap: 10px; color: var(--ink); text-align: left; }
.journey__icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow-1);
  transition: background-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.journey__icon svg { width: 30px; height: 30px; overflow: visible; }
.journey__icon svg * { fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.journey__step > button:hover .journey__icon { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--blue-600), var(--shadow-2); }
.journey__step > button:hover .j-lens { transform: scale(1.25); }
.journey__step > button:hover .j-scan { transform: translateY(-3px); }
.journey__step > button:hover .j-cube-top { transform: translateY(-3px); }
.journey__step > button:hover .j-page { transform: rotateY(25deg); }
.journey__step > button:hover .j-wall { transform: scale(.9); }
.journey__step > button:hover .j-tick { stroke: var(--red); }
.journey__step.is-open .journey__icon { background: var(--blue-600); box-shadow: 0 10px 24px -10px rgba(22, 77, 203, .7); }
.journey__step.is-open .journey__icon svg * { stroke: #fff; }
.journey__n { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--blue-600); }
/* sobre o azul do método: linha branca e etapa aberta em vermelho */
.on-blue .journey__line::after { background: #fff; }
.on-blue .journey__n { color: rgba(255, 255, 255, .72); }
.on-blue .journey__step.is-open .journey__icon { background: var(--red); box-shadow: 0 12px 26px -10px rgba(133, 29, 24, .85); }
.journey__t { display: flex; align-items: center; gap: 8px; font-size: 1.04rem; font-weight: 750; line-height: 1.2; }
.journey__t::after {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2);
  background: linear-gradient(var(--blue-600), var(--blue-600)) center / 8px 1.5px no-repeat, linear-gradient(var(--blue-600), var(--blue-600)) center / 1.5px 8px no-repeat;
  transition: transform .4s var(--ease);
}
.journey__step.is-open .journey__t::after { transform: rotate(45deg); }
.on-blue .journey__t::after { background: linear-gradient(#fff, #fff) center / 8px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 8px no-repeat; }
.journey__d { max-height: 0; overflow: hidden; opacity: 0; font-size: .9rem; line-height: 1.5; transition: max-height .7s var(--ease), opacity .45s; }
.journey__step.is-open .journey__d { max-height: 260px; opacity: 1; }
.no-js .journey__d { max-height: none; opacity: 1; }
.journey__parallel { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.journey__parallel p { font-size: .94rem; }
.journey__parallel strong { color: var(--ink); }
.journey__parallel-bar { flex: none; width: 70px; height: 8px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 16px); background-size: 16px 100%; animation: bar-slide 1s linear infinite; }
@keyframes bar-slide { to { background-position: 16px 0; } }
@media (max-width: 1000px) {
  .journey__line { grid-template-columns: 1fr; gap: 0; }
  .journey__line::before, .journey__line::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .journey__line::after { transform-origin: 50% 0; transform: scaleY(var(--jp)); }
  .journey__step { padding-bottom: 16px; }
  .journey__step > button { display: grid; grid-template-columns: 56px auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; align-items: center; }
  .journey__icon { grid-row: 1 / 3; }
  .journey__n { align-self: end; }
  .journey__t { align-self: start; }
  .journey__d { padding-left: 72px; }
}

/* ==========================================================================
   ASSINATURA — a marca construída pela rolagem
   ========================================================================== */
.sig { position: relative; height: 300vh; background: var(--paper); }
.sig__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sig__layer { position: absolute; inset: 0; display: grid; place-items: center; }
.sig__layer--paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center;
}
.sig__layer--flood {
  --flood: 0%;
  background: radial-gradient(130% 120% at 50% 40%, #2371F5 0%, #164DCB 48%, #142A9E 100%);
  clip-path: circle(var(--flood) at var(--fx, 34%) 50%);
}
.sig__layer--flood::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center;
}
.sig__stage { --W: min(46vh, 36vw); position: relative; width: calc(var(--W) * 1.4655); height: var(--W); }
.sig__lockup { position: absolute; inset: 0; }
.sig__symbol { position: absolute; left: 0; top: 0; width: var(--W); height: var(--W); }
.sig__construct {
  position: absolute; left: calc(var(--W) / 2); top: 50%; width: calc(var(--W) * 2.6); height: calc(var(--W) * 2.6);
  transform: translate(-50%, -50%); overflow: visible; pointer-events: none;
}
.sig__construct .c-line { fill: none; stroke: rgba(22, 77, 203, .4); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sig__construct .c-circle { fill: none; stroke: rgba(22, 77, 203, .22); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sig__construct .c-tick { font-family: var(--mono); font-size: 13px; fill: var(--blue-600); opacity: 0; transition: opacity .4s; }
.sig__construct.is-labels .c-tick { opacity: .8; }
.sig__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sig__lines path { fill: none; stroke: var(--blue-600); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sig__lines .p-red { stroke: var(--red); }
.sig__layer--flood .sig__lines path { stroke: rgba(255, 255, 255, .92); }
.sig__layer--flood .sig__lines .p-red { stroke: #fff; }
.sig__chrome, .sig__red { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig__chrome { clip-path: inset(0 0 calc(100% - var(--scan, 0%)) 0); }
.sig__red { opacity: var(--lid-o, 0); transform: translate3d(0, var(--lid-y, -16%), 0); }
.sig__scan {
  position: absolute; left: -12%; right: -12%; top: var(--scan, 0%); height: 2px; margin-top: -1px; opacity: var(--scan-o, 0);
  background: linear-gradient(90deg, transparent, #fff 25%, #fff 75%, transparent); box-shadow: 0 0 20px 5px rgba(255, 255, 255, .55);
}
.sig__sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--sheen-o, 0); mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .8) 50%, transparent 62%) var(--sx, 120%) 0 / 260% 100% no-repeat;
  -webkit-mask: url("../img/brand/symbol-chrome.webp") center / 100% 100% no-repeat;
  mask: url("../img/brand/symbol-chrome.webp") center / 100% 100% no-repeat;
}
.sig__tagline { position: absolute; left: 61.535%; top: 67.95%; width: 38.465%; height: auto; clip-path: inset(0 calc(100% - var(--tag, 0%)) 0 0); }
/* acima do carimbo e do WhatsApp flutuante (fixos no rodapé da tela) */
.sig__readout {
  position: absolute; left: var(--side); bottom: 100px; z-index: 3; display: flex; align-items: baseline; gap: 16px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); transition: color .5s;
}
.sig__readout b { font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sig__hint {
  position: absolute; right: var(--side); bottom: 100px; z-index: 3; opacity: var(--hint-o, 1);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .5s;
}
.sig.is-blue .sig__readout { color: #fff; }
.sig.is-blue .sig__hint { color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) {
  .sig { height: 240vh; }
  .sig__stage { --W: min(56vw, 38vh); }
  .sig__hint { display: none; }
  .sig__readout { left: 50%; bottom: 34px; transform: translateX(-50%); }
}

/* ==========================================================================
   06 · EQUIPE
   ========================================================================== */
.team { position: relative; padding-block: clamp(96px, 12vw, 170px); background: var(--blue-100); }
.team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.duo { display: grid; gap: 12px; margin: 0; }
.duo__frame { position: relative; aspect-ratio: 663 / 885; overflow: hidden; border-radius: 24px; background: var(--paper-2); box-shadow: var(--shadow-2); }
.duo__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.duo.is-a .duo__img { transform: scale(1.04) translateX(2%); }
.duo.is-m .duo__img { transform: scale(1.04) translateX(-2%); }
.duo__veil {
  position: absolute; top: 0; bottom: 0; width: 50%; pointer-events: none; opacity: 0;
  background: rgba(234, 238, 246, .55); -webkit-backdrop-filter: grayscale(1) blur(1.5px); backdrop-filter: grayscale(1) blur(1.5px);
  transition: opacity .55s var(--ease);
}
.duo__veil--a { left: 0; }
.duo__veil--m { right: 0; }
.duo.is-a .duo__veil--m, .duo.is-m .duo__veil--a { opacity: 1; }
.duo__hit { position: absolute; top: 0; bottom: 0; z-index: 2; width: 50%; cursor: pointer; }
.duo__hit--a { left: 0; }
.duo__hit--m { right: 0; }
.duo__hit:focus-visible { outline-offset: -6px; border-radius: 20px; }
.duo__pin {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-1); font-size: .8rem; font-weight: 680; color: var(--ink); pointer-events: none;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease);
}
.duo__pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.duo__pin--a { left: 15%; top: 27%; }
.duo__pin--m { left: 57%; top: 25%; }
.duo.is-a .duo__pin--a, .duo.is-m .duo__pin--m { opacity: 1; transform: none; }
.duo__axis { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; pointer-events: none; opacity: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 6px, transparent 6px 12px); transition: opacity .4s; }
.duo__frame:hover .duo__axis { opacity: 1; }
.duo figcaption { font-size: .86rem; color: var(--muted); }
.duo figcaption .mono-label { margin-right: 8px; color: var(--blue-600); }
.people { display: grid; gap: 18px; }
.person { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: box-shadow .45s, background-color .45s, transform .55s var(--ease); }
.person.is-focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue-600), var(--shadow-2); transform: translateX(-6px); }
.person__role { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.person__name { margin: 6px 0 12px; font-size: clamp(1.7rem, 1.15rem + 1.7vw, 2.7rem); line-height: 1.02; font-weight: 850; font-stretch: 80%; letter-spacing: -.024em; color: var(--ink); }
.years { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 4px 16px; margin-top: 20px; }
.years__n { font-size: clamp(3rem, 2rem + 3vw, 4.8rem); line-height: .85; font-weight: 860; font-stretch: 74%; color: var(--red); font-variant-numeric: tabular-nums; }
.years__l { max-width: 22ch; padding-bottom: 6px; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.years__ruler { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; height: 24px; margin-top: 12px; border-bottom: 1.5px solid var(--chrome-500); }
.years__ruler i { width: 1.5px; height: 7px; background: var(--chrome-500); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 24ms); }
.years__ruler i.is-mid { height: 13px; }
.years__ruler i.is-major { height: 22px; width: 2px; background: var(--ink); }
.years.is-in .years__ruler i, .no-js .years__ruler i { transform: none; }
.person__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.person__skills li { padding: 5px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .8rem; font-weight: 600; color: var(--ink); }

.venn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); margin-top: clamp(70px, 9vw, 130px); }
.venn__svg { width: 100%; max-width: 560px; overflow: visible; }
.venn__c { transition: transform 1.5s var(--ease), opacity .9s; cursor: default; }
.venn__c circle { stroke-width: 1.5; fill-opacity: .1; transition: fill-opacity .4s; }
.venn__c:hover circle { fill-opacity: .22; }
.venn__c--a circle { fill: var(--blue); stroke: var(--blue-600); }
.venn__c--b circle { fill: var(--chrome-500); stroke: var(--chrome-700); }
.venn__c--c circle { fill: var(--red-500); stroke: var(--red); }
.venn__t { font-family: var(--font); font-size: 18px; font-weight: 680; fill: var(--ink); }
.is-ready .venn:not(.is-in) .venn__c { opacity: 0; }
.is-ready .venn:not(.is-in) .venn__c--a { transform: translate(-70px, -30px); }
.is-ready .venn:not(.is-in) .venn__c--b { transform: translate(70px, -30px); }
.is-ready .venn:not(.is-in) .venn__c--c { transform: translate(0, 70px); }
.venn__center { transform-box: fill-box; transform-origin: center; transition: transform .8s .9s var(--ease), opacity .6s .9s; }
.venn__center circle { fill: var(--red); }
.venn__center text { font-family: var(--font); font-size: 12px; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; fill: #fff; }
.is-ready .venn:not(.is-in) .venn__center { transform: scale(0); opacity: 0; }
.venn__quote p { font-size: clamp(1.3rem, 1rem + 1.05vw, 1.95rem); line-height: 1.35; font-weight: 520; font-stretch: 92%; color: var(--ink); text-wrap: pretty; }
@media (max-width: 900px) {
  .team__grid, .venn { grid-template-columns: 1fr; }
  .duo { max-width: 520px; }
}

/* ==========================================================================
   07 · TRAJETÓRIA
   ========================================================================== */
.track { position: relative; padding-block: clamp(96px, 12vw, 170px); overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, var(--blue) 0%, var(--blue-600) 46%, var(--blue-700) 100%); }
.rail { position: relative; }
.rail__bar {
  position: relative; z-index: 2; height: 18px; margin-inline: max(12px, var(--side) - 30px); border-radius: 9px;
  background: linear-gradient(180deg, #FAFBFC 0%, #D9DBDE 28%, #9EA2A7 62%, #C9CBCE 100%);
  box-shadow: 0 8px 16px -8px rgba(13, 29, 87, .4), inset 0 1px 0 #fff;
}
.rail__screw { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--chrome-500) 60%, var(--chrome-700)); }
.rail__screw:first-child { left: 14px; }
.rail__screw:last-child { right: 14px; }
.rail__list { display: flex; gap: clamp(14px, 1.8vw, 26px); margin-top: -10px; padding: 0 var(--side) 44px; overflow-x: auto; scrollbar-width: none; }
.rail__list::-webkit-scrollbar { display: none; }
/* as 7 comandas cabem inteiras em telas largas; abaixo disso a trilha rola (arrastar, toque ou trackpad) */
.ticket { flex: 1 1 0; min-width: 150px; max-width: 206px; transform-origin: 50% 0; transform: rotate(var(--rot, 0deg)); }
.rail__list > :first-child { margin-left: auto; }
.rail__list > :last-child { margin-right: auto; }
.rail__list.is-dragging { cursor: grabbing; }
.ticket::before {
  content: ""; position: relative; z-index: 1; display: block; width: 34px; height: 22px; margin: 0 auto -6px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #F1F2F3, var(--chrome-500)); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
}
.ticket__paper {
  --zig: 12px;
  display: grid; justify-items: center; gap: 6px; padding: 18px 16px 30px; text-align: center;
  background: #fff; font-family: var(--mono); color: var(--ink);
  filter: drop-shadow(0 14px 14px rgba(13, 29, 87, .12));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  transition: transform .5s var(--ease);
}
.ticket:hover .ticket__paper { transform: translateY(6px); }
.ticket__no { justify-self: stretch; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); font-size: .6rem; letter-spacing: .14em; color: var(--muted); text-align: left; }
.ticket__logo { width: 96px; height: 96px; margin: 8px 0; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .45s, opacity .45s, transform .55s var(--ease); }
.ticket:hover .ticket__logo, .ticket:focus-within .ticket__logo { filter: none; opacity: 1; transform: scale(1.06); }
.ticket__word { display: grid; place-items: center; width: 96px; height: 96px; margin: 8px 0; font-family: var(--font); font-size: 2.5rem; font-weight: 900; font-stretch: 80%; letter-spacing: -.02em; color: var(--chrome-600); transition: color .4s, transform .55s var(--ease); }
.ticket__word--sm { font-size: 1.75rem; }
.ticket:hover .ticket__word { color: var(--ink); transform: scale(1.06); }
.ticket__name { font-family: var(--font); font-size: 1rem; font-weight: 750; line-height: 1.2; }
.ticket__seg { font-size: .62rem; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--blue-600); }
.ticket__foot { justify-self: stretch; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rail__hint { padding-inline: var(--side); font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.track__foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 56px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.track__note { font-size: .86rem; line-height: 1.55; color: var(--muted); }
.track__seg { display: grid; gap: 6px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
@media (max-width: 800px) { .track__foot { grid-template-columns: 1fr; } }

/* ==========================================================================
   08 · CONTATO
   ========================================================================== */
.contact { padding-block: clamp(40px, 6vw, 90px) clamp(96px, 12vw, 160px); background: var(--paper); }
.contact__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 76px);
  padding: clamp(24px, 5vw, 76px); border-radius: 34px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #2371F5 0%, #164DCB 46%, #142A9E 100%);
}
.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(90% 90% at 20% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 90% at 20% 20%, #000, transparent 80%);
}
.contact__bg::after {
  content: ""; position: absolute; left: -8%; bottom: -22%; width: min(48%, 520px); aspect-ratio: 1; opacity: .08;
  background: url("../img/brand/symbol-mono-white.webp") center / contain no-repeat;
}
.contact__intro { display: grid; gap: 22px; align-content: start; }
.channels { display: grid; gap: 10px; margin-top: 10px; }
.channels li { display: flex; align-items: stretch; gap: 8px; }
.channel {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; text-decoration: none;
  transition: background-color .3s, transform .45s var(--ease);
}
.channel:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); }
.channel svg { width: 24px; height: 24px; flex: none; }
.channel span { display: grid; min-width: 0; font-weight: 650; overflow-wrap: anywhere; }
.channel small { font-family: var(--mono); font-size: .6rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.channel__copy {
  flex: none; display: grid; place-items: center; width: 52px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background-color .3s;
}
.channel__copy:hover { background: rgba(255, 255, 255, .18); }
.channel__copy svg { width: 20px; height: 20px; }
.brief { display: grid; gap: 20px; align-content: start; padding: clamp(20px, 3vw, 34px); border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(5, 15, 60, .65); }
.brief__group { display: grid; gap: 10px; min-width: 0; padding: 0; border: 0; }
.brief__group legend { padding: 0; margin-bottom: 10px; font-size: .98rem; font-weight: 750; color: var(--ink); }
.brief__group legend span { font-size: .84rem; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .86rem; font-weight: 620; line-height: 1.2; color: var(--ink);
  user-select: none; -webkit-user-select: none; transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease);
}
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.chip input:checked + span { background: var(--blue-600); color: #fff; box-shadow: none; }
.chip--check input:checked + span { background: var(--blue-600); }
.chip--check input:checked + span::before { content: ""; width: 9px; height: 5px; margin: -3px 1px 0 0; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .84rem; font-weight: 650; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: box-shadow .25s, background-color .25s; }
.field input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue-600); }
.brief__preview { padding: 14px 16px; border-radius: 16px 16px 4px 16px; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--line); }
.brief__msg { margin-top: 8px; font-family: var(--mono); font-size: .78rem; line-height: 1.6; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.brief__msg.is-pulse { animation: msg-pulse .5s var(--ease); }
@keyframes msg-pulse { 50% { color: var(--blue-600); } }
.brief__send { width: 100%; }
.brief__privacy { font-size: .76rem; line-height: 1.45; text-align: center; color: var(--muted); }
@media (max-width: 980px) { .contact__card { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .brief__row { grid-template-columns: 1fr; }
  .contact__card { border-radius: 26px; }
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 110px); background: linear-gradient(180deg, var(--blue-600) 0%, var(--blue-700) 100%); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img:first-child { width: 64px; height: 64px; }
.footer__tagline { width: 220px; }
.site-footer ul { display: grid; gap: 8px; margin-top: 14px; }
.site-footer a { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--blue-100); }
.footer__word {
  display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(48px, 7vw, 100px); padding: 0 var(--gutter);
  font-size: clamp(3.6rem, 15.5vw, 17rem); line-height: .8; font-weight: 900; letter-spacing: -.02em; color: var(--ink);
  white-space: nowrap; user-select: none; -webkit-user-select: none;
}
.footer__word span { display: inline-block; font-stretch: var(--w, 76%); font-weight: var(--g, 820); transition: font-stretch .5s var(--ease), font-weight .5s var(--ease), color .4s, transform .6s var(--ease); }
.footer__word span:nth-child(-n+2) { color: var(--blue-300); }
.footer__word span.is-hot { color: var(--red-300); }
.footer__gap { width: .18em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 26px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(233, 238, 247, .97); color: var(--ink); overflow: hidden;
}
.lightbox::backdrop { background: rgba(13, 29, 87, .25); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); }
.lightbox__count { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.lightbox__close { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); font-weight: 650; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-height: 0; margin: 0; padding: 0 clamp(16px, 7vw, 110px) 22px; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: var(--shadow-2); transition: opacity .3s, transform .45s var(--ease); }
.lightbox__stage img.is-loading { opacity: 0; transform: scale(.98); }
.lightbox figcaption { max-width: 80ch; margin: 0 auto; font-size: .9rem; text-align: center; }
.lightbox__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-2); transition: transform .3s var(--ease); }
.lightbox__nav:hover { transform: scale(1.08); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; } }

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .build { height: auto; }
  .build__pin { position: relative; height: auto; }
  .sig { height: auto; }
  .sig__pin { position: relative; height: min(100vh, 760px); }
}
