/* Ianization Holding — folha única do site.
   Tema claro (público: compradores do governo, não técnicos): papel branco, tinta azul-marinho,
   latão como acento. A ficha da empresa vira "papel" (documento oficial). */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-2: #f7f5f0;
  --bg-3: #eef1f5;
  --card: #ffffff;
  --line: rgba(15, 27, 45, .10);
  --line-2: rgba(15, 27, 45, .18);
  --text: #0f1b2d;
  --text-2: #45526a;
  --text-3: #5d697d;
  --navy: #0f2440;
  --navy-2: #1d3d66;
  --gold: #8a6420;
  --gold-2: #b48a42;
  --live: #137a46;
  --dev: #1f5fbf;
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --paper-ink: #14161b;
  --paper-muted: #575b64;
  --paper-line: rgba(20, 22, 27, .14);
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -18px rgba(15, 27, 45, .22);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: rgba(180, 138, 66, .25); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; color: var(--gold); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ---------- botões ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
/* ação principal: azul-marinho (o "gold" ficou só no nome da classe) */
.btn--gold { --bg: var(--navy); --fg: #fff; --bd: var(--navy); box-shadow: 0 0 0 0 rgba(15, 36, 64, 0); }
.btn--gold:hover { --bg: var(--navy-2); --bd: var(--navy-2); box-shadow: 0 10px 30px -12px rgba(15, 36, 64, .5); }
.btn--ghost { --bg: #fff; }
.btn--ghost:hover { --bd: var(--text); background: var(--bg-3); }
.btn--ink { --bg: var(--paper-ink); --fg: var(--paper); --bd: var(--paper-ink); }
.btn--ink:hover { --bg: #000; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--text-2); }
.kicker { font: 500 13px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.kicker--ink { color: #7a5a1c; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(19, 122, 70, .45); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19, 122, 70, .4); } 70% { box-shadow: 0 0 0 9px rgba(19, 122, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 122, 70, 0); } }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .45s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark { width: 32px; height: 32px; color: var(--gold); flex: none; }
.brand__word { font: 600 19px/1 var(--sans); letter-spacing: -.02em; display: flex; flex-direction: column; gap: 4px; }
.brand__word small { font: 500 10px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--text-3); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-size: 15px; color: var(--text-2); padding: 8px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--text); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; align-content: start; gap: 4px; min-height: calc(100svh - var(--nav-h)); overflow-y: auto; padding: 8px var(--gutter) 22px; background: rgba(255, 255, 255, .99); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 88px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fbfaf7 0%, #ffffff 70%); }
.hero__glow { position: absolute; inset: -25% -12% auto auto; width: 64vw; height: 64vw; max-width: 900px; max-height: 900px; z-index: -2; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(180, 138, 66, .13), rgba(180, 138, 66, .04) 55%, transparent 72%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .6;
  background-image: linear-gradient(rgba(15, 27, 45, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 27, 45, .06) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
@media (min-width: 900px) {
  /* a rede fica forte só à direita, onde não há texto */
  .hero__net { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 38%, #000 66%); mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 38%, #000 66%); }
}
.hero__in { position: relative; }
.hero__title { margin-top: 24px; max-width: 21ch; font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.028em; line-height: 1.08; }
.hero__title em { font-size: 1.04em; }
.hero__lede { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 0; width: fit-content; max-width: 100%; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.hero__facts div { padding: 14px 22px; border-left: 1px solid var(--line); }
.hero__facts div:first-child { border-left: 0; }
.hero__facts dt { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.hero__facts dd { margin: 8px 0 0; font: 500 15px/1.2 var(--mono); color: var(--text); white-space: nowrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- números ---------- */
.numbers { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 28px 44px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font: 400 clamp(44px, 4.6vw, 64px)/.95 var(--serif); letter-spacing: -.015em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__l { font-size: 15px; color: var(--text-2); max-width: 24ch; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 60s linear infinite; }
.marquee__track span { font: 500 13.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 0 26px; position: relative; white-space: nowrap; }
.marquee__track span::after { content: "◆"; position: absolute; right: -6px; color: var(--gold-2); font-size: 8px; top: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- títulos de seção ---------- */
section { position: relative; }
.caps, .products, .process, .group { padding: clamp(80px, 9vw, 128px) 0; }
.products, .group { background: var(--bg); }
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.sec-head__lede { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 60ch; }

/* ---------- competências (cartões empilhados) ---------- */
.stack { display: grid; gap: 22px; }
.cap {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: 96px 1fr 240px; gap: 32px; align-items: start;
  padding: clamp(26px, 3.6vw, 44px); border-radius: 20px; border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 -14px 40px -24px rgba(15, 27, 45, .28);
  transform-origin: 50% 0;
}
.cap__num { font: 400 48px/1 var(--serif); color: var(--gold); }
.cap h3 { font-size: clamp(22px, 2.2vw, 28px); }
.cap__brand { font: italic 400 .85em/1 var(--serif); color: var(--gold); letter-spacing: 0; }
.cap p { margin-top: 12px; color: var(--text-2); max-width: 60ch; }
.cap ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.cap li { position: relative; padding-left: 20px; font-size: 15.5px; }
.cap li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--gold); }
.cap__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.cap__stack { font: 500 12.5px/1.4 var(--mono); color: var(--text-3); }
.cap__link { font: 500 14px/1 var(--mono); color: var(--gold); text-decoration: none; }
.cap__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- produtos (bento) ---------- */
.legend { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live { color: var(--live); background: rgba(19, 122, 70, .08); border: 1px solid rgba(19, 122, 70, .28); }
.badge--dev { color: var(--dev); background: rgba(31, 95, 191, .08); border: 1px solid rgba(31, 95, 191, .28); }
.badge--concept { color: var(--gold); background: rgba(138, 100, 32, .08); border: 1px solid rgba(138, 100, 32, .3); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: border-color .3s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease);
}
/* holofote que segue o cursor */
.prod::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(180, 138, 66, .08), transparent 45%); }
.prod::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(138, 100, 32, .7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.prod:hover::before, .prod:hover::after, .prod:focus-visible::before, .prod:focus-visible::after { opacity: 1; }
.prod:hover { box-shadow: 0 2px 4px rgba(15, 27, 45, .05), 0 22px 44px -22px rgba(15, 27, 45, .32); }
.prod--xl { grid-column: span 2; grid-row: span 2; }
.prod--wide { grid-column: span 2; }
.prod__shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.prod__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.prod:hover .prod__shot img { transform: scale(1.04); }
.prod--xl .prod__shot { aspect-ratio: auto; flex: 1; min-height: 300px; }
.prod__info { position: relative; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.prod--xl .prod__info { padding: 28px 30px 30px; }
.prod__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod__mkt { font: 500 12px/1 var(--mono); color: var(--text-3); letter-spacing: .04em; text-align: right; }
.prod h3 { font-size: 21px; margin-top: 4px; }
.prod--xl h3 { font-size: clamp(24px, 2.4vw, 30px); }
.prod p { color: var(--text-2); font-size: 15px; }
.prod--xl p { font-size: 16.5px; max-width: 58ch; }
.prod__go { margin-top: 6px; font: 500 13px/1 var(--mono); color: var(--gold); }
.prod--concept { border-style: dashed; border-color: rgba(138, 100, 32, .4); background: radial-gradient(120% 90% at 100% 0%, rgba(180, 138, 66, .08), transparent 60%), var(--card); }
.prod__lab { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--gold); border-bottom: 1px dashed rgba(138, 100, 32, .3); }
.prod__lab svg { width: 46%; max-width: 150px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- trabalhos (rolagem horizontal) ---------- */
.work { padding: clamp(80px, 9vw, 128px) 0; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.work__head h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.1; max-width: 22ch; }
.work__viewport { margin-top: clamp(36px, 4.5vw, 56px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.work__viewport::-webkit-scrollbar { display: none; }
.work__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 24px; width: max-content; }
.case { width: min(540px, 82vw); flex: none; scroll-snap-align: start; }
.case a { display: block; text-decoration: none; color: inherit; }
.case__shot { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); position: relative; box-shadow: var(--shadow); }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.case a:hover .case__shot img { transform: scale(1.04); }
.case__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.case h3 { margin-top: 12px; font-size: 22px; display: inline-flex; align-items: center; gap: 10px; }
.case h3::after { content: "↗"; font-size: .75em; color: var(--gold); transition: transform .3s var(--ease); }
.case a:hover h3::after { transform: translate(3px, -3px); }
.case p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; max-width: 48ch; }

/* ---------- processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.step { padding: 30px 26px 8px 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step__n { font: 500 13px/1 var(--mono); color: var(--gold); letter-spacing: .1em; }
.step h3 { margin-top: 16px; font-size: 22px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.standards { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.standards li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font: 500 13px/1 var(--mono); color: var(--text-2); letter-spacing: .03em; }

/* ---------- grupo ---------- */
.tree { display: flex; flex-direction: column; align-items: center; }
.tree__root { display: inline-flex; align-items: center; gap: 16px; padding: 20px 28px; border-radius: 18px; border: 1px solid rgba(138, 100, 32, .4); background: radial-gradient(120% 140% at 0% 0%, rgba(180, 138, 66, .12), transparent 60%), #fff; box-shadow: 0 24px 60px -30px rgba(138, 100, 32, .45); }
.tree__root svg { width: 42px; height: 42px; color: var(--gold); }
.tree__root strong { display: block; font-size: 21px; letter-spacing: -.02em; }
.tree__root span { font: 500 12.5px/1 var(--mono); color: var(--text-3); letter-spacing: .04em; }
.tree__lines { width: 100%; height: 72px; color: rgba(15, 27, 45, .25); }
.tree__lines path { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.tree__units { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.unit { padding: 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .4s var(--ease); }
.unit:hover { border-color: rgba(138, 100, 32, .4); transform: translateY(-4px); }
.unit__k { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.unit h3 { font-size: 20px; }
.unit p { color: var(--text-2); font-size: 15px; }
.unit a { margin-top: auto; font: 500 13px/1 var(--mono); color: var(--gold); text-decoration: none; padding-top: 6px; }
.unit a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ficha (papel) ---------- */
.sheet { background: var(--paper); color: var(--paper-ink); padding: clamp(80px, 9vw, 128px) 0; border-block: 1px solid var(--paper-line); }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--paper-line) 1px, transparent 1px); background-size: 100% 36px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.sheet__in { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sheet__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.sheet h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.sheet h2 em { color: #8a6420; }
.sheet__head p:not(.kicker) { margin: 20px 0 30px; color: var(--paper-muted); font-size: 17.5px; max-width: 40ch; }
.sheet__table { margin: 0; border-top: 2px solid var(--paper-ink); background: rgba(255, 255, 255, .5); }
.sheet__table > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--paper-line); }
.sheet__table dt { font: 500 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); padding-top: 3px; }
.sheet__table dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.sheet__table a { color: var(--paper-ink); text-decoration-color: rgba(20, 22, 27, .35); text-underline-offset: 3px; }
.sheet__table a:hover { text-decoration-color: currentColor; }
.naics { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.naics .mono { display: inline-block; min-width: 64px; font-weight: 500; }
.copy { margin-left: 10px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--paper-line); background: var(--paper); font: 500 12px/1 var(--mono); color: var(--paper-ink); cursor: pointer; vertical-align: 1px; transition: background .2s, border-color .2s; }
.copy:hover { border-color: var(--paper-ink); background: #fff; }

/* ---------- contato ---------- */
.contact { padding: clamp(96px, 11vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.contact__glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 900px; max-width: 140vw; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(180, 138, 66, 0), rgba(180, 138, 66, .14), rgba(31, 95, 191, .06), rgba(180, 138, 66, 0) 70%); filter: blur(80px); animation: spin 30s linear infinite; }
.contact__in { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.028em; line-height: 1.08; max-width: 20ch; }
.contact__lede { margin-top: 22px; color: var(--text-2); font-size: 18px; max-width: 50ch; }
.contact__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__poc { margin-top: 24px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; background: var(--bg-2); }
.foot__in { display: grid; gap: 22px; }
.foot__brand { display: flex; align-items: center; gap: 14px; color: var(--text-2); font-size: 15px; }
.foot__note { font-size: 13.5px; color: var(--text-3); max-width: 90ch; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 12.5px/1.4 var(--mono); color: var(--text-3); letter-spacing: .03em; }
.foot__row a { color: var(--text-2); text-decoration: none; }
.foot__row a:hover { color: var(--gold); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 120; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font: 500 13px/1 var(--mono); box-shadow: var(--shadow); transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- estados de animação (só com JS e movimento liberado) ---------- */
.js.motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.js.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js.motion [data-split] .w > span { display: inline-block; transform: translateY(105%); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .cap { grid-template-columns: 72px 1fr; }
  .cap__num { font-size: 40px; }
  .cap__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .prod--xl { grid-row: auto; }
  .prod--xl .prod__shot { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .tree__units { grid-template-columns: repeat(2, 1fr); }
  .tree__lines { display: none; }
  .tree__root { margin-bottom: 28px; }
  .sheet__in { grid-template-columns: 1fr; }
  .sheet__head { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero__title { font-size: clamp(29px, 8.2vw, 38px); }
  .hero__ctas .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; width: 100%; }
  .hero__facts div:nth-child(3) { border-left: 0; }
  .hero__facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__facts div { padding: 12px 14px; }
  .hero__facts dd { font-size: 13.5px; white-space: normal; word-break: break-all; }
  .hero__scroll { display: none; }
  .sec-head h2, .work__head h2, .sheet h2 { font-size: clamp(26px, 7vw, 32px); }
  .contact h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px 28px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat__n { font-size: 44px; }
  .stat__l { font-size: 14px; }
  .cap { grid-template-columns: 1fr; gap: 14px; position: relative; top: auto; }
  .cap__meta { grid-column: 1; }
  .cap ul { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .prod--xl, .prod--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 16px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .tree__units { grid-template-columns: 1fr; }
  .sheet__table > div { grid-template-columns: 1fr; gap: 6px; }
  .contact__ctas { width: 100%; }
  .contact__ctas .btn { width: 100%; font-size: 16px; }
  .foot__row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .nav, .progress, .hero__net, .marquee, .toast { display: none !important; }
}
