:root {
  /* Mesmos tokens da Plataforma CMS: asfalto quente no escuro ("canteiro à noite"),
     concreto no claro, laranja de segurança como sinalização. */
  --ink: #121110;
  --ink-2: #1e1d1b;
  --ink-3: #2a2826;
  --line: rgba(236, 232, 225, 0.1);
  --line-2: rgba(236, 232, 225, 0.2);
  --text: #ece8e1;
  --text-2: #d3cec6;
  --muted: #aaa59d;
  --paper: #f0f0ee;
  --paper-2: #e7e8e6;
  --surface: #ffffff;
  --paper-ink: #2b2a29;
  --paper-muted: #5f5f5e;
  --paper-line: #dcdddb;
  --orange: #e95229;
  --orange-2: #f2643a;
  --orange-strong: #c13b17;
  --orange-hover: #a8320f;
  --on-signal: #16130f;
  --steel: #46637a;
  --ok: #047857; --ok-dot: #059669; --ok-soft: #e7f5ef;
  --warn: #a34a08; --warn-dot: #d97706; --warn-soft: #fdf3e3;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --back: cubic-bezier(0.22, 1, 0.36, 1);
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
  --placa: 'Barlow Condensed', 'Barlow Semi Condensed', system-ui, sans-serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; caret-color: var(--orange); scrollbar-color: #5a5650 var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
.mono { font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.wrap { padding: 0 var(--gut); max-width: 1520px; margin: 0 auto; }
em { font-style: normal; }
::selection { background: rgba(233, 82, 41, 0.32); color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-weight: inherit; }

/* logo */
/* símbolo vertical: no escuro, a variante clara do sistema (cms-simbolo-claro.svg);
   no claro, a compacta (cms-simbolo-compacto.svg) */
.lg-bar { fill: var(--lg-bar, rgba(255, 255, 255, 0.55)); }
.lg-letter { fill: var(--lg-letter, #ffffff); }
.lg-c { fill: var(--lg-c, #ffffff); }
.lg-accent { fill: var(--orange); }
.lg-contorno { stroke: var(--lg-contorno, #2b2a29); stroke-width: 64; stroke-linejoin: round; }
.lg-so-contorno { fill: none; }
.lg-bar, .lg-letter, .lg-c, .lg-contorno { transition: fill 0.4s, stroke 0.4s; }
.claro-marca, .light .marca { --lg-bar: #c5c6c6; --lg-letter: #fefefe; --lg-c: #727271; --lg-contorno: #727271; }
.marca { display: flex; align-items: center; }
/* proporção do símbolo vertical: 1265 × 4095 */
.marca-simbolo { height: 44px; width: auto; aspect-ratio: 1265 / 4095; flex: none; display: block; }

/* ---------- botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 24px; border-radius: 4px;
  background: var(--orange); color: var(--on-signal);
  font-family: var(--display); font-weight: 600; font-size: 16px;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--orange-2); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(236, 232, 225, 0.08); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 60px; padding: 0 30px; font-size: 18px; }
/* no claro: o laranja forte do sistema, com texto branco (5,3:1) */
.light .btn, .placa .btn { background: var(--orange-strong); color: #fff; }
.light .btn:hover, .placa .btn:hover { background: var(--orange-hover); }
.light .btn-ghost, .placa .btn-ghost { background: transparent; color: var(--paper-ink); box-shadow: inset 0 0 0 1px #c5c6c6; }
.light .btn-ghost:hover, .placa .btn-ghost:hover { background: var(--paper-2); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: flex; align-items: stretch; gap: 18px; height: min(200px, 26vh); }
.loader-simbolo { height: 100%; width: auto; aspect-ratio: 1265 / 4095; overflow: visible; }
.loader-base { opacity: 0.14; }
.loader-regua { width: 12px; height: 100%; overflow: visible; }
.loader-marcas line { stroke: rgba(236, 232, 225, 0.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.loader-ponteiro { stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ---------- cursor CAD ---------- */
.cad { position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0; transition: opacity 0.4s; }
.cad.on { opacity: 1; }
.cad-x, .cad-y { position: absolute; background: rgba(233, 82, 41, 0.28); }
.cad-x { left: 0; right: 0; height: 1px; top: 0; }
.cad-y { top: 0; bottom: 0; width: 1px; left: 0; }
.cad-box {
  position: absolute; left: 0; top: 0;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border: 1px solid var(--orange);
  transition: width 0.45s var(--back), height 0.45s var(--back), margin 0.45s var(--back), background 0.3s;
}
.cad.hover .cad-box { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(233, 82, 41, 0.1); }
.cad-lbl { position: absolute; left: 0; top: 0; color: var(--orange); font-size: 10px; white-space: nowrap; transition: opacity 0.2s; }
.cad.tipping .cad-lbl { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cad { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cad, body.has-cad a, body.has-cad button { cursor: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: stretch;
  padding-left: var(--gut);
  background: var(--ink); color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.nav.on-light { background: var(--surface); color: var(--paper-ink); border-color: var(--paper-line); --lg-bar: #c5c6c6; --lg-letter: #fefefe; --lg-c: #727271; --lg-contorno: #727271; }
.nav.hide { transform: translateY(-101%); }
/* no topo da página o símbolo é grande e desce sobre o hero; ao rolar, encolhe para caber no header */
.nav-logo { position: relative; width: calc(var(--logo-h) * 1265 / 4095); margin-right: 24px; --logo-h: 128px; --logo-top: 14px; transition: width 0.45s var(--ease); }
.nav-logo .marca-simbolo { position: absolute; left: 0; top: var(--logo-top); height: var(--logo-h); transition: height 0.45s var(--ease), top 0.45s var(--ease); }
.nav.compacto .nav-logo, .nav.open .nav-logo { --logo-h: 44px; --logo-top: calc((var(--nav-h) - 44px) / 2); }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0 28px 0 auto; font-size: 15px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; color: inherit; opacity: 0.86; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-links-cta { display: none; }
/* células do carimbo: altura cheia, traço de 1 px entre elas */
.nav-cell {
  display: flex; align-items: center; gap: 10px; padding: 0 22px;
  border-left: 1px solid var(--line-2); font-family: var(--display); font-weight: 600; font-size: 15px;
  transition: background-color 0.2s, color 0.2s, border-color 0.3s;
}
.nav.on-light .nav-cell { border-color: var(--paper-line); }
.nav-login svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-login:hover { background: rgba(236, 232, 225, 0.07); }
.nav.on-light .nav-login:hover { background: var(--paper); }
.nav-cta { background: var(--orange); color: var(--on-signal); border-left-color: var(--orange); padding: 0 var(--gut) 0 24px; }
.nav-cta:hover { background: var(--orange-2); }
.nav.on-light .nav-cta { background: var(--orange-strong); color: #fff; border-color: var(--orange-strong); }
.nav.on-light .nav-cta:hover { background: var(--orange-hover); }
.nav-burger { display: none; width: 64px; justify-content: center; position: relative; padding: 0; }
.nav-burger i { position: absolute; left: 21px; right: 21px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.nav-burger i:first-child { top: 27px; }
.nav-burger i:last-child { top: 35px; }
.nav.open .nav-burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- build (3D) ---------- */
.build { position: relative; height: 1000vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, 0.88) 0%, rgba(18, 17, 16, 0.5) 30%, rgba(18, 17, 16, 0) 55%),
    linear-gradient(0deg, rgba(18, 17, 16, 0.7) 0%, rgba(18, 17, 16, 0) 30%);
}
.no-webgl .stage { background: url(../assets/img/glp-dutra05.webp) center/cover; }

.hero {
  position: absolute; left: var(--gut); top: calc(var(--nav-h) + 28px); bottom: 0;
  width: min(600px, 46vw);
  display: flex; flex-direction: column; justify-content: flex-end;
  pointer-events: none; will-change: opacity, transform;
}
/* placa de obra: cabeçalho laranja, corpo em papel de prancha, carimbo no pé, dois postes */
.placa {
  pointer-events: auto; position: relative; z-index: 1;
  background: var(--surface); color: var(--paper-ink);
  border: 2px solid var(--paper-ink);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease) 0.15s, transform 1.1s var(--ease) 0.15s;
}
.ready .placa { opacity: 1; transform: none; }
.placa-topo {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: var(--orange-strong); color: #fff; padding: 12px 22px;
}
.placa-topo b { font-family: var(--placa); font-weight: 700; font-size: 21px; letter-spacing: 0; }
.placa-topo span { font-size: 13px; font-weight: 500; text-align: right; }
.placa-corpo {
  padding: clamp(22px, 3.4vh, 34px) 28px clamp(22px, 3.4vh, 30px);
  background-color: var(--surface);
  background-image: linear-gradient(rgba(70, 99, 122, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 99, 122, 0.07) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.hero-title {
  font-family: var(--placa); font-weight: 700;
  font-size: clamp(44px, min(5.4vw, 9vh), 88px);
  line-height: 0.95; letter-spacing: -0.005em; color: var(--paper-ink);
}
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease) 0.35s; }
.ready .ln > span { transform: none; }
.ready .ln:nth-child(2) > span { transition-delay: 0.43s; }
.hero-sub { color: var(--paper-muted); font-size: 17px; line-height: 1.5; max-width: 50ch; margin: clamp(14px, 2.4vh, 22px) 0 clamp(18px, 3vh, 26px); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.placa-carimbo { display: grid; grid-template-columns: 0.7fr 1.3fr 1.1fr; border-top: 2px solid var(--paper-ink); }
.placa-carimbo div { padding: 10px 16px 12px; border-right: 1px solid var(--paper-ink); min-width: 0; }
.placa-carimbo div:last-child { border-right: 0; }
.placa-carimbo dt { font-size: 12px; color: var(--paper-muted); }
.placa-carimbo dd { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.25; }
.placa-poste {
  position: relative; display: block; width: 14px; flex: none; height: clamp(24px, 6vh, 64px);
  background: linear-gradient(90deg, #3a3937, #57534d 45%, #2b2a29);
  opacity: 0; transition: opacity 0.6s 0.6s;
}
.ready .placa-poste { opacity: 1; }
.placa-poste:first-of-type { margin-left: 18%; }
.placa-poste:last-of-type { margin: calc(-1 * clamp(24px, 6vh, 64px)) 0 0 calc(82% - 14px); }

.scroll-hint {
  position: absolute; right: var(--gut); bottom: 34px;
  display: flex; align-items: center; gap: 12px; color: var(--muted);
  transition: opacity 0.5s;
}
.mouse { width: 18px; height: 28px; border: 1px solid var(--line-2); border-radius: 10px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; background: var(--orange); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(-2px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* capítulos */
.chapters { position: absolute; left: var(--gut); right: var(--gut); max-width: 440px; bottom: clamp(40px, 9vh, 110px); pointer-events: none; }
.chapter { position: absolute; left: 0; bottom: 0; width: 100%; }
.chapter > * { opacity: 0; transform: translateY(26px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.chapter.is-active > * { opacity: 1; transform: none; pointer-events: auto; }
.chapter.is-active > :nth-child(2) { transition-delay: 0.06s; }
.chapter.is-active > :nth-child(3) { transition-delay: 0.12s; }
.chapter.is-active > :nth-child(4) { transition-delay: 0.18s; }
.ch-num { color: var(--muted); margin-bottom: 18px; }
.ch-num b { color: var(--orange); font-weight: 500; }
.chapter h2 { font-family: var(--placa); font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: 0; font-weight: 700; margin-bottom: 16px; }
.chapter p { color: var(--text-2); font-size: 16px; max-width: 420px; }

.w-check { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.w-check li { background: rgba(18, 17, 16, 0.85); padding: 11px 12px; display: flex; align-items: center; gap: 10px; color: var(--muted); transition: color 0.3s; }
.w-check li::before { content: ''; width: 12px; height: 12px; border: 1px solid var(--line-2); flex: none; transition: all 0.4s var(--back); }
.w-check li.on { color: var(--text); }
.w-check li.on::before { background: var(--orange); border-color: var(--orange); transform: scale(1.1); }

.w-steps { margin-top: 26px; border-left: 1px solid var(--line-2); }
.w-steps li { padding: 9px 0 9px 20px; position: relative; display: flex; gap: 14px; align-items: baseline; color: var(--muted); transition: color 0.4s; }
.w-steps li::before { content: ''; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; margin-top: -4px; background: var(--ink); border: 1px solid var(--line-2); transition: all 0.4s var(--back); }
.w-steps li b { font-weight: 500; min-width: 100px; }
.w-steps li span { text-transform: none; letter-spacing: 0; font-size: 12px; }
.w-steps li.on { color: var(--text); }
.w-steps li.on::before { background: var(--orange); border-color: var(--orange); transform: scale(1.4); }

.w-curve { margin-top: 24px; border: 1px solid var(--line); background: rgba(18, 17, 16, 0.7); padding: 14px; }
.w-curve svg { width: 100%; height: 96px; display: block; overflow: visible; }
.w-curve .grid-lines line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.w-curve path { fill: none; vector-effect: non-scaling-stroke; }
.w-curve .plan { stroke: var(--muted); stroke-dasharray: 4 4; stroke-width: 1; }
.w-curve .real { stroke: var(--orange); stroke-width: 2; }
.w-curve circle { fill: var(--orange); }
.w-legend { display: flex; gap: 18px; margin-top: 12px; color: var(--muted); align-items: center; }
.w-legend i { display: inline-block; width: 14px; height: 2px; margin-right: 8px; vertical-align: 3px; }
.lg-plan { background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 7px); }
.lg-real { background: var(--orange); }
.w-val { margin-left: auto; color: var(--text); font-size: 13px; }
.w-gantt { margin-top: 10px; display: grid; gap: 6px; }
.w-gantt div { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 10px; color: var(--muted); }
.w-gantt i { height: 6px; background: var(--line); position: relative; }
.w-gantt b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }

.w-log { margin-top: 24px; border-top: 1px solid var(--line); }
.w-log li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color 0.4s; }
.w-log li span { color: var(--orange); }
.w-log li em { color: var(--muted); opacity: 0; transform: translateX(-8px); transition: all 0.45s var(--back); }
.w-log li.on { color: var(--text); }
.w-log li.on em { opacity: 1; transform: none; color: #6ed3a2; }

.w-done { margin-top: 26px; display: flex; align-items: flex-end; gap: 26px; }
.w-big { font-family: var(--placa); font-size: 96px; line-height: 0.8; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.w-big span { color: var(--orange); font-size: 0.5em; }
.w-done-list { display: grid; gap: 6px; color: var(--text); }
.w-done-list span { display: flex; align-items: center; gap: 8px; }
.w-done-list span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-dot); flex: none; }

/* índice de etapas */
.stages {
  position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%);
  display: grid; gap: 4px; padding-right: 18px;
  transition: opacity 0.6s;
}
.stages button { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; justify-content: flex-start; padding: 8px 0; color: var(--muted); font-family: var(--display); font-size: 14px; font-weight: 500; cursor: pointer; }
.stages button span { opacity: 0; transform: translateX(8px); transition: all 0.45s var(--ease); }
.stages button b { font-weight: 500; }
.stages:hover button span, .stages button.on span { opacity: 1; transform: none; }
.stages button.on { color: var(--text); }
.stages button.on b { color: var(--orange); }
.stages-rail { position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.stages-rail i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--orange); transform-origin: top; transform: scaleY(0); }

/* leitura técnica */
.readout {
  position: absolute; right: var(--gut); bottom: 34px; width: 250px;
  border: 1px solid var(--line); background: rgba(18, 17, 16, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 14px; font-size: 12px; color: var(--muted);
  transition: opacity 0.6s, transform 0.8s var(--ease);
}
.ro-head, .ro-row { display: flex; justify-content: space-between; }
.ro-head { color: var(--text); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.ro-row b { color: var(--text); font-weight: 500; font-size: 13px; }
.ro-bar { height: 2px; background: var(--line); margin: 8px 0 10px; }
.ro-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.ro-cam { letter-spacing: 0.04em; }
.ro-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.compass { width: 36px; height: 36px; overflow: visible; }
.compass circle { fill: none; stroke: var(--line-2); }
.compass path { fill: var(--muted); }
.compass path.n { fill: var(--orange); }
.compass text { fill: var(--muted); font-size: 6px; text-anchor: middle; font-family: var(--display); }
.scale { text-align: right; }
.scale i { display: block; width: 80px; height: 5px; margin-left: auto; margin-bottom: 4px; background: linear-gradient(90deg, var(--text) 0 25%, transparent 25% 50%, var(--text) 50% 75%, transparent 75%); border: 1px solid var(--text); }

.tip {
  position: fixed; left: 0; top: 0; pointer-events: none; z-index: 95; will-change: transform;
  background: rgba(18, 17, 16, 0.92); border: 1px solid var(--orange); padding: 10px 14px;
  display: flex; flex-direction: column; gap: 5px; width: max-content; max-width: 340px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s, visibility 0s 0.18s;
}
.tip.on { opacity: 1; visibility: visible; transition: opacity 0.18s, visibility 0s; }
.tip b, .tip span { display: block; white-space: normal; overflow-wrap: anywhere; }
.tip b { color: var(--orange); font-weight: 500; font-size: 12px; }
.tip span { text-transform: none; letter-spacing: 0.02em; color: var(--text); line-height: 1.4; }

/* ---------- seções claras ---------- */
.light { background: var(--paper); color: var(--paper-ink); }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-title { font-family: var(--placa); font-size: clamp(44px, 6vw, 96px); line-height: 0.95; font-weight: 700; letter-spacing: -0.005em; text-wrap: balance; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* sobre */
.about { padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 160px); position: relative; z-index: 2; }
.manifesto { font-family: var(--display); font-size: clamp(28px, 3.9vw, 60px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 500; max-width: 1280px; }
.manifesto .w { opacity: 0.14; transition: opacity 0.35s; }
.manifesto .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--paper-line); }
.stat { padding: 30px 30px 0 0; border-right: 1px solid var(--paper-line); }
.stat + .stat { padding-left: 30px; }
.stat:last-child { border-right: 0; }
.stat:nth-child(2) { transition-delay: 0.08s; } .stat:nth-child(3) { transition-delay: 0.16s; } .stat:nth-child(4) { transition-delay: 0.24s; }
.stat b { display: block; font-family: var(--placa); font-size: clamp(64px, 8vw, 132px); font-weight: 700; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--paper-ink); }
.stat b::after { content: ''; display: block; width: 28px; height: 3px; background: var(--orange); margin: 18px 0 14px; }
.stat p { color: var(--paper-muted); max-width: 220px; font-size: 15px; }

/* ticker */
.ticker { background: var(--orange); color: var(--on-signal); overflow: hidden; padding: 20px 0; position: relative; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: tick 50s linear infinite; font-size: 17px; font-weight: 600; }
.ticker-track span { padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker-track span::after { content: ''; width: 6px; height: 6px; background: currentColor; opacity: 0.6; margin-right: -28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* serviços */
.services { padding: clamp(100px, 13vw, 180px) 0; }
.svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.svc-list { border-top: 1px solid var(--paper-line); }
.svc-item {
  width: 100%; display: grid; grid-template-columns: 64px 1fr 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--paper-line); position: relative; cursor: pointer;
}
.svc-item::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.svc-item.is-open::before { transform: scaleX(1); }
.svc-n { color: var(--paper-muted); padding-top: 16px; }
.svc-item.is-open .svc-n { color: var(--orange-strong); }
.svc-t { font-family: var(--display); font-size: clamp(34px, 3.8vw, 58px); font-weight: 600; letter-spacing: -0.01em; line-height: 1; transition: transform 0.6s var(--ease); }
.svc-item:hover .svc-t { transform: translateX(10px); }
.svc-body { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.svc-body > * { overflow: hidden; }
.svc-item.is-open .svc-body { grid-template-rows: 1fr; }
.svc-body-in { min-height: 0; }
.svc-d { display: block; color: var(--paper-muted); font-size: 17px; max-width: 480px; padding-top: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; }
.svc-tags i { font-style: normal; padding: 6px 10px; border: 1px solid #c5c6c6; border-radius: 4px; background: var(--surface); color: var(--paper-ink); }
.svc-plus { position: relative; width: 22px; height: 22px; margin-top: 18px; justify-self: end; grid-row: 1; grid-column: 3; }
.svc-plus::before, .svc-plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--back); }
.svc-plus::after { transform: rotate(90deg); }
.svc-item.is-open .svc-plus::after { transform: rotate(0); }

.svc-art { position: sticky; top: 120px; aspect-ratio: 4 / 3; background: var(--paper-ink); color: var(--text); overflow: hidden; }
.svc-art::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.6;
}
.svc-frame { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; color: var(--muted); z-index: 2; }
.svc-frame b { color: #ff8a5f; font-weight: 600; }
.art { position: absolute; inset: 12% 10% 8%; width: 80%; height: 80%; }
.art * { fill: none; stroke: #ece8e1; stroke-width: 1.5; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 0s; }
.art .o { stroke: var(--orange); stroke-width: 2; }
.art .thin { stroke: var(--muted); stroke-width: 1; }
.art .dash { stroke-dasharray: 4 5 !important; stroke-dashoffset: 0 !important; opacity: 0; transition: opacity 0.6s 1s !important; }
.art.is-on * { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.art.is-on .dash { opacity: 1; }


/* sistema próprio: a ficha da obra desenhada com as peças da plataforma (carimbo, régua de trena, status com texto) */
.system { padding: clamp(100px, 13vw, 180px) 0; background: var(--ink); border-top: 1px solid var(--line); }
.sys { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sys-lead { color: var(--text-2); font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; margin: 28px 0 36px; }
.sys-list { border-top: 1px solid var(--line-2); }
.sys-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.sys-list dt { font-family: var(--display); font-weight: 600; font-size: 17px; }
.sys-list dd { color: var(--text-2); }
.sys-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.sys-cta p { color: var(--muted); font-size: 14px; max-width: 24ch; }
.sys-fig { margin: 0; }
.sys-fig figcaption { color: var(--muted); font-size: 13px; margin-top: 12px; }
.ficha { background: var(--paper); color: var(--paper-ink); border-radius: 14px; padding: clamp(16px, 2vw, 26px); display: grid; gap: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.carimbo { display: grid; grid-template-columns: 1.5fr 1fr 1fr; background: var(--surface); border: 2px solid var(--paper-ink); }
.carimbo > div { padding: 12px 16px; min-width: 0; }
.cb-nome { grid-row: span 2; border-right: 1px solid var(--paper-ink); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.cb-nome b { font-family: var(--placa); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; }
.cb-nome span { font-family: var(--display); font-weight: 600; color: var(--orange-strong); font-size: 16px; }
.cb-cel { border-bottom: 1px solid var(--paper-ink); }
.cb-cel:nth-of-type(2) { border-right: 1px solid var(--paper-ink); }
.cb-larga { grid-column: span 2; border-bottom: 0; }
.cb-r { display: block; font-size: 12px; color: var(--paper-muted); }
.cb-v { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.pt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pt-ok { background: var(--ok-dot); }
.fc-bloco { background: var(--surface); border-radius: 10px; padding: 14px 16px 16px; box-shadow: 0 1px 0 rgba(43, 42, 41, 0.04); border: 1px solid var(--paper-line); min-width: 0; }
.fc-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fc-tit b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.fc-tit span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--paper-muted); }
.fc-tit strong { color: var(--paper-ink); font-weight: 600; margin-right: 8px; }
.lg-re, .lg-pr { width: 12px; height: 4px; display: inline-block; }
.lg-re { background: var(--paper-ink); }
.lg-pr { width: 2px; height: 12px; background: var(--steel); }
/* régua de trena: marcas a cada 10%, as de 50% mais altas */
.regua { position: relative; height: 22px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.regua::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(43, 42, 41, 0.35) 1px, transparent 1px), linear-gradient(to right, rgba(43, 42, 41, 0.18) 1px, transparent 1px);
  background-size: 50% 100%, 10% 45%; background-position: 0 0, 0 100%; background-repeat: repeat-x;
}
.regua-re { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--paper-ink); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.3s; }
.regua-pr { position: absolute; top: -2px; bottom: -2px; width: 3px; left: calc(var(--v) * 100%); background: var(--steel); opacity: 0; transition: opacity 0.4s 1.4s; }
.sys-fig.in .regua-re { transform: scaleX(var(--v)); }
.sys-fig.in .regua-pr { opacity: 1; }
.fc-duas { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.fc-lista li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--paper-line); font-size: 14px; }
.fc-lista li:first-child { border-top: 0; padding-top: 0; }
.st { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st-ok { background: var(--ok-soft); color: var(--ok); }
.st-at { background: var(--warn-soft); color: var(--warn); }
.fc-num { font-family: var(--placa); font-weight: 700; font-size: 56px; line-height: 0.9; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.fc-num span { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--paper-muted); }
.fc-efetivo { margin-top: 14px; display: grid; gap: 8px; }
.fc-efetivo li { display: grid; grid-template-columns: 6.5em 1fr 2em; align-items: center; gap: 8px; font-size: 13px; }
.fc-efetivo i { height: 6px; background: var(--paper-2); border-radius: 3px; position: relative; overflow: hidden; }
.fc-efetivo i::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) 0.6s; }
.sys-fig.in .fc-efetivo i::after { transform: scaleX(calc(var(--v) * 2)); }
.fc-efetivo b { text-align: right; font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* obras */
.works { position: relative; height: 420vh; background: var(--ink); }
.works-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.works-head { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 56px); padding-top: 70px; }
.works-head .sec-title { font-size: clamp(34px, 4.4vw, 72px); }
.works-count { color: var(--muted); font-size: 16px; }
.works-count b { color: var(--text); font-weight: 500; }
.works-track { display: flex; gap: 22px; padding: 0 var(--gut); will-change: transform; }
.work { flex: none; width: clamp(300px, 38vw, 620px); position: relative; }
.work figure { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--ink-3); }
.work figure::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 18px 1px, linear-gradient(var(--orange), var(--orange)) 0 0 / 1px 18px,
    linear-gradient(var(--orange), var(--orange)) 100% 0 / 18px 1px, linear-gradient(var(--orange), var(--orange)) 100% 0 / 1px 18px,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 18px 1px, linear-gradient(var(--orange), var(--orange)) 0 100% / 1px 18px,
    linear-gradient(var(--orange), var(--orange)) 100% 100% / 18px 1px, linear-gradient(var(--orange), var(--orange)) 100% 100% / 1px 18px;
  background-repeat: no-repeat; opacity: 0; transform: scale(1.06); transition: all 0.6s var(--back);
}
.work:hover figure::after { opacity: 1; transform: none; }
.work img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter 0.8s; filter: grayscale(0.35) contrast(1.05); }
.work:hover img { transform: scale(1.03); filter: none; }
.work-meta { padding-top: 20px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 20px; }
.work-meta span { color: var(--orange); grid-column: 1 / -1; }
.work-meta h3 { font-family: var(--placa); font-size: clamp(26px, 2.3vw, 38px); font-weight: 700; letter-spacing: 0; }
.work-meta p { color: var(--muted); font-size: 14px; }
.work-all { width: clamp(260px, 26vw, 400px); aspect-ratio: auto; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line-2); padding: 28px; align-self: stretch; margin-bottom: 70px; transition: background 0.5s, border-color 0.5s; }
.work-all span { color: var(--muted); }
.work-all h3 { font-family: var(--placa); font-size: clamp(36px, 3.2vw, 56px); font-weight: 700; letter-spacing: 0; line-height: 1; }
.work-all:hover { background: var(--orange); border-color: var(--orange); }
.work-all:hover { color: var(--on-signal); }
.work-all:hover span { color: var(--on-signal); }
.works-progress { margin: clamp(28px, 5vh, 50px) var(--gut) 0; height: 1px; background: var(--line); }
.works-progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }

/* segmentos */
.segments { padding: clamp(100px, 13vw, 180px) 0; background: var(--ink); }
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.seg-grid li {
  position: relative; padding: 26px 22px 56px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(20px, 1.7vw, 28px); font-weight: 600; letter-spacing: 0; overflow: hidden; isolation: isolate;
  transition: color 0.4s, opacity 1s var(--ease), transform 1.1s var(--ease);
}
.seg-grid li:nth-child(4n+2) { transition-delay: 0s, 0.06s, 0.06s; }
.seg-grid li:nth-child(4n+3) { transition-delay: 0s, 0.12s, 0.12s; }
.seg-grid li:nth-child(4n+4) { transition-delay: 0s, 0.18s, 0.18s; }
.seg-grid li span { display: block; color: var(--orange); margin-bottom: 30px; transition: color 0.4s; }
.seg-grid li::before { content: ''; position: absolute; inset: 0; background: var(--orange); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
.seg-grid li:hover::before { transform: scaleY(1); }
.seg-grid li:hover { color: var(--on-signal); }
.seg-grid li:hover span { color: var(--on-signal); }

/* prêmios */
.awards { padding: clamp(100px, 13vw, 180px) 0 clamp(90px, 11vw, 160px); overflow: hidden; }
.tl { position: relative; padding: 0 var(--gut); }
.tl-rail { position: absolute; left: var(--gut); right: var(--gut); top: 7px; height: 1px; background: var(--paper-line); }
.tl-rail i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.tl-list { display: grid; grid-template-columns: repeat(9, 1fr); gap: 16px; position: relative; }
.tl-list li { padding-top: 40px; position: relative; opacity: 0.25; transition: opacity 0.6s; }
.tl-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--paper-muted); transition: all 0.5s var(--back); }
.tl-list li.on { opacity: 1; }
.tl-list li.on::before { background: var(--orange); border-color: var(--orange); transform: rotate(45deg) scale(1.15); }
.tl-list b { display: block; font-family: var(--placa); font-size: clamp(32px, 2.8vw, 48px); font-weight: 700; letter-spacing: 0; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.tl-list span { color: var(--orange-strong); display: block; margin-bottom: 4px; font-weight: 600; font-size: 15px; }
.tl-list p { font-size: 14px; color: var(--paper-muted); line-height: 1.35; }

/* clientes */
.clients { padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.clients-count { color: var(--paper-muted); font-size: 15px; }
.clients-count b { display: block; font-family: var(--placa); font-size: clamp(56px, 5.6vw, 92px); line-height: 1; letter-spacing: 0; font-weight: 700; color: var(--paper-ink); margin-bottom: 8px; }
.marquee { display: grid; gap: 0; }
.mq-row { overflow: hidden; border-bottom: 1px solid var(--paper); }
.mq-track { display: flex; width: max-content; animation: mq 80s linear infinite; background: var(--paper); }
.mq-rev .mq-track { animation-direction: reverse; animation-duration: 90s; }
.mq-row:nth-child(3) .mq-track { animation-duration: 100s; }
.marquee:hover .mq-track { animation-play-state: paused; }
.logo-cell { width: clamp(150px, 13vw, 210px); aspect-ratio: 342 / 144; background: #fff; border-right: 1px solid var(--paper); display: grid; place-items: center; flex: none; overflow: hidden; }
.logo-cell img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.55; transition: filter 0.5s, opacity 0.5s, transform 0.6s var(--back); }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes mq { to { transform: translateX(-50%); } }

/* cta */
.cta { padding: clamp(120px, 16vw, 230px) 0; background: var(--ink); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta .wrap { position: relative; }
.cta-title { font-family: var(--placa); font-size: clamp(52px, 8vw, 140px); line-height: 0.92; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 48px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; transition-delay: 0.1s; }

/* rodapé = carimbo */
.titleblock { background: var(--ink); padding: 0 var(--gut) 28px; }
.tb { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr repeat(4, 0.45fr); border: 2px solid #5a5650; }
.tb-cell { padding: 22px 20px; border-right: 1px solid var(--line-2); min-width: 0; }
.tb-cell:last-child { border-right: 0; }
.tb-cell > span { display: block; color: var(--muted); margin-bottom: 10px; }
.tb-cell p { font-size: 15px; color: var(--text-2); }
.tb-cell a { transition: color 0.3s; }
.tb-cell a:hover { color: var(--orange); }
.tb-logo .marca-simbolo { height: 72px; }
.tb-meta { display: flex; flex-direction: column; justify-content: space-between; }
.tb-meta b { font-family: var(--placa); font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: 0; }
.tb-legal { color: var(--muted); padding-top: 18px; font-size: 13px; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  /* menu em tela cheia, aberto pelo hambúrguer */
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-login { margin-left: auto; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: -1; margin: 0;
    display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: 24px var(--gut) 40px; background: var(--ink); color: var(--text);
    font-family: var(--placa); font-weight: 700; font-size: clamp(36px, 9vw, 56px); letter-spacing: 0;
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
    overflow-y: auto;
  }
  .nav-links a {
    padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; line-height: 1.1;
    transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-links-cta {
    display: flex; align-items: center; justify-content: center; margin-top: 28px; height: 56px; border: 0; border-radius: 4px;
    background: var(--orange); color: var(--on-signal); font-family: var(--display); font-weight: 600; font-size: 18px;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
  .nav.open .nav-links a { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: 0.03s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: 0.06s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: 0.09s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: 0.12s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: 0.15s; }
  .nav.open.on-light { background: var(--ink); color: var(--text); border-color: var(--line-2); --lg-bar: rgba(255, 255, 255, 0.55); --lg-letter: #fff; --lg-c: #fff; --lg-contorno: #2b2a29; }
  .nav.open.on-light .nav-cell { border-color: var(--line-2); }
  .hero { width: min(580px, calc(100% - 2 * var(--gut))); }
  .sys { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--paper-line); }
  .svc { grid-template-columns: 1fr; }
  .svc-art { display: none; }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .tl-rail { display: none; }
  .tl-list li::before { top: 4px; }
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-cell { border-bottom: 1px solid var(--line-2); }
  .tb-cell:nth-child(2n) { border-right: 0; }
  .readout { display: none; }
}
@media (max-width: 720px) {
  :root { --nav-h: 56px; }
  .nav-logo { --logo-h: 92px; --logo-top: 10px; margin-right: 12px; }
  .nav.compacto .nav-logo, .nav.open .nav-logo { --logo-h: 38px; --logo-top: calc((var(--nav-h) - 38px) / 2); }
  .nav-cell { padding: 0 16px; }
  .nav-burger { width: 56px; }
  .nav-burger i { left: 18px; right: 18px; }
  .nav-burger i:first-child { top: 23px; }
  .nav-burger i:last-child { top: 31px; }
  .stage-shade { background: linear-gradient(0deg, rgba(18, 17, 16, 0.95) 0%, rgba(18, 17, 16, 0.6) 45%, rgba(18, 17, 16, 0) 70%); }
  .hero { right: var(--gut); width: auto; top: calc(var(--nav-h) + 16px); }
  .placa-topo { padding: 9px 16px; }
  .placa-topo b { font-size: 18px; }
  .placa-topo span { display: none; }
  .placa-corpo { padding: 18px 16px 18px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-sub { font-size: 15px; margin: 12px 0 18px; }
  .hero-cta .btn { flex: 1; padding: 0 14px; height: 48px; }
  .placa-carimbo { grid-template-columns: 0.7fr 1.3fr; }
  .placa-carimbo div { padding: 8px 12px 10px; }
  .placa-carimbo dd { font-size: 14px; }
  .placa-sede { display: none; }
  .placa-poste { width: 10px; }
  .scroll-hint { display: none; }
  .build { height: 600vh; }
  .stages { top: 78px; transform: none; right: var(--gut); gap: 0; padding-right: 14px; }
  .stages button { min-width: 44px; min-height: 44px; padding: 0; }
  .chapters { bottom: 28px; }
  .chapter p { font-size: 14px; }
  .w-check li { padding: 8px 10px; }
  .w-big { font-size: 64px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 26px 0 0; border-right: 0; }
  .stat + .stat { margin-top: 30px; border-top: 1px solid var(--paper-line); }
  .svc-item { grid-template-columns: 44px 1fr 28px; padding: 24px 0; }
  .seg-grid li { padding: 20px 16px 30px; font-size: 17px; line-height: 1.25; }
  .seg-grid li span { margin-bottom: 16px; }
  .tl-list { grid-template-columns: 1fr 1fr; }
  .tb { grid-template-columns: 1fr; }
  .tb-cell { border-right: 0 !important; }
  .sys-list div { grid-template-columns: 1fr; gap: 2px; }
  .fc-duas { grid-template-columns: 1fr; }
  .carimbo { grid-template-columns: 1fr 1fr; }
  .cb-nome { grid-row: auto; grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--paper-ink); }
  .cb-cel:nth-of-type(2) { border-right: 1px solid var(--paper-ink); }
  .cb-larga { grid-column: 1 / -1; }
  .works { height: 380vh; }
  .work { width: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .mq-track { animation: none; }
}
@media (orientation: portrait) and (max-width: 1100px) {
  .work { width: min(72vw, 520px); }
  .work figure { aspect-ratio: 4 / 5; }
  .work-all { width: min(60vw, 400px); }
}
@media (max-width: 720px) {
  .stages button span { display: none; }
  .work { width: 80vw; }
}
@media (max-width: 720px) {
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-cell:not(.tb-meta) { grid-column: 1 / -1; }
  .tb-meta { border-right: 1px solid var(--line-2) !important; }
  .tb-meta:nth-child(2n) { border-right: 0 !important; }
  .tb-meta b { margin-top: 6px; }
}

/* ---------- celular: conteúdo centralizado ---------- */
@media (max-width: 720px) {
  .sec-head, .sec-title, .manifesto, .sys-text, .cta .wrap, .chapter, .placa-corpo, .placa-carimbo div,
  .stat, .tl-list li, .seg-grid li, .tb-cell, .tb-legal, .work-meta, .work-all, .nav-links a { text-align: center; }
  /* listas de leitura dentro dos capítulos continuam alinhadas à esquerda, só o bloco fica no centro */
  .chapter ul, .chapter ol, .w-curve { text-align: left; }
  .placa-topo { justify-content: center; }
  .hero-sub, .sys-lead, .chapter p, .stat p { margin-left: auto; margin-right: auto; }
  .stat b::after { margin-left: auto; margin-right: auto; }
  .works-head, .clients-head { justify-content: center; text-align: center; }
  .clients-count { width: 100%; }
  .work-meta { grid-template-columns: 1fr; justify-items: center; }
  .tl-list li::before { left: 50%; margin-left: -6px; }
  .w-done { justify-content: center; }
  .sys-list div { text-align: center; }
  .sys-cta, .cta-row { flex-direction: column; align-items: stretch; }
  .sys-cta p { max-width: none; text-align: center; }
  .tb-logo .marca { justify-content: center; }
  .nav-links { align-items: stretch; }
}
