/* Prevebras — redesign
   Direção: "Casa de bombas". Concreto claro, carbono e o vermelho da tubulação de incêndio.
   Plaquetas de identificação de equipamento como sistema de rótulos; amarelo de válvula só como sinal. */

:root {
  --carbon: #101113;
  --carbon-2: #17181b;
  --carbon-3: #1f2124;
  --carbon-line: rgba(242, 240, 234, 0.1);
  --carbon-line-2: rgba(242, 240, 234, 0.18);
  --on-carbon: #f2f0ea;
  --on-carbon-muted: #a19f99;

  --paper: #f2f0ea;
  --paper-2: #e8e5dd;
  --paper-3: #dcd8ce;
  --ink: #141416;
  --ink-muted: #5f5d58;
  --ink-dim: #8b8882;
  --line: rgba(20, 20, 22, 0.12);
  --line-2: rgba(20, 20, 22, 0.2);

  --red: #e3252c;
  --red-deep: #b9191f;
  --red-ink: #c81e25;
  --valve: #f2c230;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --radius: 4px;
  --header-h: 72px;

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

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tnum { font-variant-numeric: tabular-nums; }

/* Display type: Archivo comprimido, o "stencil" de engenharia */
.display {
  font-variation-settings: "wdth" 72;
  font-weight: 640;
  letter-spacing: -0.015em;
  line-height: 0.94;
  text-transform: uppercase;
}
.h1 { font-size: clamp(48px, 8.2vw, 132px); }
.h2 { font-size: clamp(38px, 5.4vw, 84px); }
.h3 { font-size: clamp(28px, 3.2vw, 44px); }

.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.on-carbon .lede, .lede--light { color: var(--on-carbon-muted); }

/* ---------- Plaqueta: rótulo de identificação de equipamento ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 7px 10px 6px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.tag--ghost { background: transparent; color: var(--ink-muted); padding-left: 0; }
.tag--ghost::before { background: var(--red); }
.on-carbon .tag--ghost { color: var(--on-carbon-muted); }

/* ---------- Botões ---------- */

.btn {
  --bg: var(--red);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 22px;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out), box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 220ms var(--ease-out); }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line-light { --bg: transparent; --fg: var(--on-carbon); box-shadow: inset 0 0 0 1px var(--carbon-line-2); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--red-deep); }
  .btn--dark:hover { --bg: #000; }
  .btn--line:hover { --bg: var(--ink); --fg: var(--paper); box-shadow: none; }
  .btn--line-light:hover { --bg: var(--on-carbon); --fg: var(--carbon); box-shadow: none; }
  .btn:hover svg.arrow { transform: translateX(3px); }
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 560;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 260ms var(--ease-out), color 160ms ease;
}
.link svg { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--red-ink); }
  .link:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-carbon);
  transition: background-color 240ms ease, color 240ms ease, transform 360ms var(--ease-out), box-shadow 240ms ease;
}
.header.is-solid {
  background: rgba(242, 240, 234, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
body.page-light .header { color: var(--ink); }

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { position: relative; display: block; flex-shrink: 0; height: 40px; width: 82px; }
.brand img { position: absolute; inset: 0; height: 40px; width: auto; transition: opacity 200ms ease; }
.brand .brand__neg { opacity: 1; }
.brand .brand__pos { opacity: 0; }
.header.is-solid .brand__neg, body.page-light .brand__neg { opacity: 0; }
.header.is-solid .brand__pos, body.page-light .brand__pos { opacity: 1; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  opacity: 0.78;
  transition: opacity 160ms ease, background-color 160ms ease;
}
.nav > a[aria-current="page"], .nav__trigger[aria-current="page"] { opacity: 1; }
.nav > a[aria-current="page"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-left: 2px;
}
.nav__trigger svg { width: 12px; height: 12px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav > a:hover, .nav__trigger:hover { opacity: 1; }
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__client {
  font-size: 14px; font-weight: 500; opacity: 0.78; padding: 10px 12px;
  transition: opacity 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .header__client:hover { opacity: 1; } }

/* Mega menu de soluções */
.has-mega { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(880px, calc(100vw - 48px));
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(16,17,19,0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  transform-origin: top center;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.has-mega.is-open .mega {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s;
}
.has-mega.is-open .nav__trigger svg { transform: rotate(180deg); }
.mega a {
  display: block;
  padding: 14px 14px 16px;
  border-radius: 4px;
  transition: background-color 140ms ease;
}
.mega a b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.mega a span { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.mega a .mono { color: var(--red-ink); font-size: 10.5px; margin-bottom: 10px; }
.mega a.mega__all { background: var(--ink); color: var(--paper); }
.mega a.mega__all span { color: var(--on-carbon-muted); }
@media (hover: hover) and (pointer: fine) {
  .mega a:hover { background: var(--paper-2); }
  .mega a.mega__all:hover { background: #000; }
}

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: var(--radius);
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform 260ms var(--ease-out), top 260ms var(--ease-out);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 49;
  background: var(--carbon);
  color: var(--on-carbon);
  padding: calc(var(--header-h) + 12px) var(--gutter) 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 420ms var(--ease-drawer);
  visibility: hidden;
}
body.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }
body.menu-open .header { color: var(--on-carbon); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .header .brand__neg { opacity: 1; }
body.menu-open .header .brand__pos { opacity: 0; }
body.menu-open { overflow: hidden; }
.drawer__nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--carbon-line);
  font-variation-settings: "wdth" 72;
  font-weight: 600;
  font-size: 34px;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0; transform: translateY(12px);
  transition: opacity 300ms ease, transform 420ms var(--ease-out);
}
.drawer__nav a .mono { font-size: 11px; color: var(--on-carbon-muted); font-variation-settings: normal; }
body.menu-open .drawer__nav a { opacity: 1; transform: none; }
body.menu-open .drawer__nav a:nth-child(2) { transition-delay: 40ms; }
body.menu-open .drawer__nav a:nth-child(3) { transition-delay: 75ms; }
body.menu-open .drawer__nav a:nth-child(4) { transition-delay: 105ms; }
body.menu-open .drawer__nav a:nth-child(5) { transition-delay: 130ms; }
body.menu-open .drawer__nav a:nth-child(6) { transition-delay: 150ms; }
.drawer__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px 0 6px; }
.drawer__sub a { font-size: 15px; color: var(--on-carbon-muted); padding: 6px 0; }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer__foot .btn { justify-content: center; }
.drawer__foot p { font-size: 14px; color: var(--on-carbon-muted); }

@media (max-width: 1040px) {
  .nav, .header__client, .header__actions .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Seções ---------- */

.section { padding-block: clamp(88px, 11vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.on-carbon { background: var(--carbon); color: var(--on-carbon); }
.on-paper-2 { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .tag, .section-head .tag--ghost { margin-bottom: 22px; }
.section-head .lede { justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-carbon .rule { background: var(--carbon-line); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--carbon);
  color: var(--on-carbon);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transform: scale(1.06);
  animation: hero-settle 1800ms var(--ease-out) 80ms both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,17,19,0.92) 0%, rgba(16,17,19,0.7) 38%, rgba(16,17,19,0.15) 72%, rgba(16,17,19,0.25) 100%),
    linear-gradient(0deg, rgba(16,17,19,0.95) 0%, rgba(16,17,19,0) 42%);
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__body { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__title { max-width: 13ch; margin: 26px 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__title .line > span { display: block; animation: line-up 900ms var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 90ms; }
.hero__title .line:nth-child(3) > span { animation-delay: 160ms; }
.hero__title em { font-style: normal; color: var(--red); }
@keyframes line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }

.hero .lede { color: #c9c6bf; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fade-in { animation: fade-up 800ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__spec {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--carbon-line-2);
  margin-top: clamp(48px, 7vw, 96px);
}
.hero__spec > div { padding: 22px 20px 4px 0; }
.hero__spec > div + div { padding-left: 20px; border-left: 1px solid var(--carbon-line); }
.hero__spec b {
  display: block;
  font-variation-settings: "wdth" 72;
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero__spec span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-carbon-muted); }
.hero__caption {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 28px);
  color: rgba(242,240,234,0.7);
}
@media (max-width: 760px) {
  .hero__spec { grid-template-columns: 1fr 1fr; }
  .hero__spec > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__spec > div:nth-child(n+3) { border-top: 1px solid var(--carbon-line); }
  .hero__caption { display: none; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(16,17,19,0.97) 0%, rgba(16,17,19,0.78) 55%, rgba(16,17,19,0.35) 100%);
  }
}

/* ---------- Logos de clientes ---------- */

.logos { padding-block: 44px 52px; border-bottom: 1px solid var(--line); }
.logos__label { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; color: var(--ink-muted); }
.logos__label .link { white-space: nowrap; flex-shrink: 0; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__track ul { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.marquee img { height: 30px; width: auto; max-width: 140px; object-fit: contain; opacity: 0.72; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement / diferenciais ---------- */

.statement {
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 450;
  max-width: 30ch;
  text-wrap: balance;
}
.statement mark { background: none; color: var(--red-ink); }
.statement .muted { color: var(--ink-dim); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--ink); }
.spec { padding: 26px 28px 8px 0; }
.spec + .spec { padding-left: 28px; border-left: 1px solid var(--line); }
.spec__no { color: var(--red-ink); margin-bottom: 40px; display: block; }
.spec h3 { font-size: 22px; font-weight: 620; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 12px; }
.spec p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 860px) {
  .specs { grid-template-columns: 1fr; }
  .spec + .spec { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .spec__no { margin-bottom: 18px; }
}

/* ---------- Processo: a tubulação ---------- */

.process { position: relative; }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); }
.process__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.process__intro .h2 { margin: 22px 0 26px; }
.process__list { position: relative; padding-left: 64px; }
.pipe {
  position: absolute; left: 18px; top: 10px; bottom: 10px; width: 8px;
}
.pipe__bg, .pipe__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 4px; }
.pipe__bg { background: var(--carbon-3); box-shadow: inset 0 0 0 1px var(--carbon-line); }
.pipe__fill {
  background: linear-gradient(90deg, #a5161c, var(--red) 45%, #f0565c 60%, var(--red) 75%, #a5161c);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.step { position: relative; padding: 4px 0 64px; }
.step:last-child { padding-bottom: 0; }
.step__node {
  position: absolute; left: -58px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--carbon);
  box-shadow: inset 0 0 0 2px var(--carbon-3);
  display: grid; place-items: center;
  transition: box-shadow 300ms ease;
}
.step__node::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--carbon-3);
  transition: background-color 300ms ease, transform 400ms var(--ease-out);
}
.step.is-on .step__node { box-shadow: inset 0 0 0 2px var(--red); }
.step.is-on .step__node::after { background: var(--red); transform: scale(1.1); }
.step__no { color: var(--on-carbon-muted); display: block; margin-bottom: 10px; }
.step h3 {
  font-variation-settings: "wdth" 72; font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin-bottom: 14px;
  color: var(--on-carbon-muted);
  transition: color 300ms ease;
}
.step.is-on h3 { color: var(--on-carbon); }
.step p { color: var(--on-carbon-muted); max-width: 52ch; }
.step__norms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 8px 4px; border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--carbon-line-2);
  color: var(--on-carbon-muted);
}
.chip--paper { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-muted); }
@media (max-width: 860px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; margin-bottom: 40px; }
  .process__list { padding-left: 52px; }
  .pipe { left: 12px; }
  .step__node { left: -52px; }
}

/* ---------- Índice de soluções ---------- */

.index { border-top: 1px solid var(--ink); }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 5fr) 48px;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.index__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1;
  background: var(--paper-2);
  opacity: 0; transition: opacity 200ms ease;
}
.index__no { color: var(--ink-dim); }
.index__name {
  font-variation-settings: "wdth" 72; font-weight: 600; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 52px); line-height: 0.95;
  transition: color 200ms ease;
}
.index__name small { display: block; font-variation-settings: "wdth" 100; text-transform: none; font-weight: 450; font-size: 15px; color: var(--ink-muted); margin-top: 10px; letter-spacing: 0; }
.index__items { display: flex; flex-wrap: wrap; gap: 6px; }
.index__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.index__arrow svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.index__thumb {
  position: absolute; right: 88px; top: 50%;
  width: 200px; aspect-ratio: 4 / 3;
  translate: 0 -50%;
  pointer-events: none;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 360ms var(--ease-out);
  z-index: 2;
}
.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .index__row:hover::before { opacity: 1; }
  .index__row:hover .index__name { color: var(--red-ink); }
  .index__row:hover .index__arrow { background: var(--red); color: #fff; box-shadow: none; }
  .index__row:hover .index__arrow svg { transform: rotate(-45deg); }
  .index__row:hover .index__thumb { clip-path: inset(0 0 0 0); }
}
@media (max-width: 860px) {
  .index__row { grid-template-columns: 1fr 44px; gap: 14px 16px; padding: 24px 0; }
  .index__no { grid-column: 1 / -1; }
  .index__items { grid-column: 1 / -1; grid-row: 3; }
  .index__arrow { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
  .index__thumb { display: none; }
}

/* ---------- Feature: sprinklers / normas ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 640px; }
.feature__media { position: relative; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.feature__body .h2 { margin: 22px 0 24px; }
.norms { border-top: 1px solid var(--carbon-line-2); }
.norms li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--carbon-line); font-size: 15px; }
.norms li .mono { color: var(--on-carbon); font-size: 12.5px; }
.norms li span:last-child { color: var(--on-carbon-muted); text-align: right; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 4 / 3; }
}

/* ---------- Inspeção digital (mock) ---------- */

.app { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gutter); align-items: center; }
.app__copy .h2 { margin: 22px 0 24px; }
.app__list { margin-top: 32px; border-top: 1px solid var(--line); }
.app__list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.app__list li::before { content: ""; flex-shrink: 0; width: 14px; height: 1.5px; background: var(--red); margin-top: 12px; }

.device {
  position: relative;
  max-width: 420px; width: 100%;
  justify-self: center;
  background: var(--carbon);
  color: var(--on-carbon);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(16,17,19,0.45), 0 0 0 1px rgba(0,0,0,0.6);
}
.device__screen { background: var(--carbon-2); border-radius: 20px; padding: 22px 18px 18px; overflow: hidden; }
.device__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.device__top .mono { font-size: 10.5px; color: var(--on-carbon-muted); }
.device__title { font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.device__sub { font-size: 13px; color: var(--on-carbon-muted); margin-bottom: 18px; }
.meter { height: 6px; background: var(--carbon-3); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.meter i { display: block; height: 100%; width: 92%; background: var(--red); border-radius: 3px; transform-origin: left; }
.meter-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--on-carbon-muted); margin-bottom: 18px; }
.eq { display: grid; gap: 6px; }
.eq li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 12px 12px; border-radius: 10px; background: var(--carbon-3);
  font-size: 13.5px;
}
.eq li small { grid-column: 1; font-family: var(--mono); font-size: 10.5px; color: var(--on-carbon-muted); letter-spacing: 0.03em; }
.eq li .st { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 10.5px; padding: 5px 7px 4px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.st--ok { background: rgba(242,240,234,0.08); color: var(--on-carbon); }
.st--warn { background: var(--valve); color: #1a1500; }
.device__qr {
  position: absolute; left: -36px; bottom: 48px;
  width: 112px; padding: 10px; background: var(--paper); border-radius: 10px;
  box-shadow: 0 20px 40px -16px rgba(16,17,19,0.4), 0 0 0 1px var(--line);
  color: var(--ink);
}
.device__qr svg { width: 100%; height: auto; }
.device__qr span { display: block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; margin-top: 6px; color: var(--ink-muted); }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; gap: 56px; }
  .device__qr { left: auto; right: -6px; bottom: -64px; width: 88px; }
  .device { margin-bottom: 48px; }
}

/* ---------- Fundadores ---------- */

.founders { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: center; }
.founders__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.founders__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founders__photo figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.founders__photo figcaption span { background: var(--paper); color: var(--ink); padding: 7px 10px 6px; border-radius: 2px; }
.founders__copy .h2 { margin: 22px 0 28px; }
.founders__copy p + p { margin-top: 16px; }
.founders__copy p { color: var(--ink-muted); max-width: 56ch; }
.founders__copy .link { margin-top: 32px; }
.quote {
  font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; font-weight: 450;
  color: var(--ink) !important; max-width: 30ch !important; margin-bottom: 28px;
  text-wrap: balance;
}
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Em campo (galeria horizontal) ---------- */

.field__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.field__head .h2 { margin-top: 22px; }
.field__ctrl { display: flex; gap: 8px; }
.field__ctrl button {
  width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--carbon-line-2);
  display: grid; place-items: center; transition: background-color 160ms ease, transform 160ms var(--ease-out), opacity 160ms ease;
}
.field__ctrl button:active { transform: scale(0.94); }
.field__ctrl button:disabled { opacity: 0.35; cursor: default; }
.field__ctrl svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .field__ctrl button:not(:disabled):hover { background: var(--carbon-3); } }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 320px);
  gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; scroll-snap-align: start; }
.rail .ph { aspect-ratio: 9 / 16; overflow: hidden; background: var(--carbon-3); border-radius: 2px; }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 8px; color: var(--on-carbon-muted); }

/* ---------- CTA final ---------- */

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; }
.cta .h2 { margin: 22px 0 0; max-width: 14ch; }
.cta__contacts { display: grid; gap: 0; border-top: 1px solid var(--carbon-line-2); }
.cta__contacts a, .cta__contacts div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--carbon-line);
  font-size: 18px;
  transition: color 160ms ease;
}
.cta__contacts .mono { color: var(--on-carbon-muted); font-size: 11px; }
@media (hover: hover) and (pointer: fine) { .cta__contacts a:hover { color: var(--red); } }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Footer ---------- */

.footer { background: var(--carbon); color: var(--on-carbon); padding: 72px 0 28px; border-top: 1px solid var(--carbon-line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px var(--gutter); }
.footer__brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--on-carbon-muted); font-size: 15px; max-width: 36ch; }
.footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-carbon-muted); margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer li a, .footer li span { font-size: 15px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer li a:hover { color: var(--red); } }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--carbon-line);
  color: var(--on-carbon-muted);
}
.footer__word {
  margin-top: 56px;
  font-variation-settings: "wdth" 62; font-weight: 700; text-transform: uppercase;
  font-size: clamp(64px, 21.4vw, 330px); line-height: 0.8; letter-spacing: -0.02em;
  color: var(--carbon-3);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.footer__word span { color: var(--red); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(227,37,44,0.7);
  transition: transform 200ms var(--ease-out), background-color 160ms ease, opacity 240ms ease;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
}
.wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa:active { transform: scale(0.94); }
.wa svg { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .wa:hover { background: var(--red-deep); } }

/* ---------- Páginas internas ---------- */

.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(56px, 7vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-dim); margin-bottom: 36px; }
.crumbs a { transition: color 160ms ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.on-carbon .crumbs { color: var(--on-carbon-muted); }
.on-carbon .crumbs a:hover { color: var(--on-carbon); }
.page-hero .h1 { max-width: 14ch; margin: 22px 0 28px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Hero de solução */
.sol-hero { position: relative; background: var(--carbon); color: var(--on-carbon); overflow: hidden; isolation: isolate; }
.sol-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(820px, 100svh); }
.sol-hero__body { padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) var(--gutter) clamp(48px, 6vw, 80px); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.sol-hero__body .h1 { font-size: clamp(44px, 6vw, 96px); max-width: 15ch; margin: 22px 0 26px; }
.sol-hero__media { position: relative; overflow: hidden; }
.sol-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1600ms var(--ease-out) both; }
.sol-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,17,19,0.5), rgba(16,17,19,0) 40%); }
.checks { display: grid; gap: 0; border-top: 1px solid var(--carbon-line-2); max-width: 620px; }
.checks li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--carbon-line); font-size: 15.5px; }
.checks li .mono { color: var(--red); font-size: 11px; flex-shrink: 0; }
@media (max-width: 960px) {
  .sol-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .sol-hero__media { aspect-ratio: 16 / 10; order: -1; margin-top: var(--header-h); }
  .sol-hero__body { padding-top: 40px; }
}

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); }
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.split__aside .h2, .split__aside .h3 { margin-top: 22px; }
.prose p { font-size: 18px; line-height: 1.65; color: var(--ink-muted); max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 18px; }
.prose p:first-child { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.points { margin-top: 40px; border-top: 1px solid var(--ink); }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.points li .mono { color: var(--red-ink); padding-top: 4px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split__aside { position: static; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.card3 { background: var(--paper); padding: 32px 28px 40px 0; }
.cards3 .card3 + .card3 { padding-left: 28px; }
.card3 .mono { color: var(--red-ink); display: block; margin-bottom: 56px; }
.card3 h3 { font-size: 23px; font-weight: 620; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; max-width: 20ch; }
.card3 p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 860px) {
  .cards3 { grid-template-columns: 1fr; }
  .cards3 .card3 + .card3 { padding-left: 0; }
  .card3 .mono { margin-bottom: 20px; }
}

.risk { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; margin-top: 40px; }
.risk h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 12px; font-weight: 500; }
.risk li { font-size: 16.5px; padding: 4px 0; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--carbon-line-2); }
.proof > div { padding: 24px 20px 8px 0; }
.proof > div + div { padding-left: 20px; border-left: 1px solid var(--carbon-line); }
.proof b { display: block; font-variation-settings: "wdth" 72; font-weight: 600; font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
.proof span { display: block; margin-top: 8px; color: var(--on-carbon-muted); font-size: 14px; }
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--carbon-line); }
}

/* Cartões de solução (hub e relacionados) */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.sol-card { display: flex; flex-direction: column; }
.sol-card__ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); margin-bottom: 18px; border-radius: 2px; }
.sol-card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.sol-card .mono { color: var(--ink-dim); margin-bottom: 10px; }
.sol-card h3 { font-size: 23px; font-weight: 620; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; transition: color 160ms ease; }
.sol-card p { color: var(--ink-muted); font-size: 15.5px; }
@media (hover: hover) and (pointer: fine) {
  .sol-card:hover .sol-card__ph img { transform: scale(1.035); }
  .sol-card:hover h3 { color: var(--red-ink); }
}
@media (max-width: 960px) { .sol-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; } }

.cat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.cat__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.cat__head .mono { color: var(--red-ink); }
.cat__head h2 { margin: 14px 0 14px; }
.cat__head p { color: var(--ink-muted); }
.cat .sol-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .cat { grid-template-columns: 1fr; gap: 32px; } .cat__head { position: static; } }
@media (max-width: 600px) { .cat .sol-grid { grid-template-columns: 1fr; } }

.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-nav a {
  font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .chips-nav a:hover { background: var(--ink); color: var(--paper); box-shadow: none; } }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px;
}
.client img { max-height: 46px; max-width: 70%; width: auto; opacity: 0.85; transition: opacity 200ms ease; }
.client span { position: absolute; left: 14px; bottom: 12px; color: var(--ink-dim); font-size: 10.5px; }
.client .no { left: auto; right: 14px; top: 12px; bottom: auto; }
@media (hover: hover) and (pointer: fine) { .client:hover img { opacity: 1; } }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(2, 1fr); } .client { padding: 20px; } .client img { max-height: 36px; } }

/* Sobre */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--carbon-line); border-block: 1px solid var(--carbon-line); }
.mvv > div { background: var(--carbon); padding: 32px 28px 40px 0; }
.mvv > div + div { padding-left: 28px; }
.mvv h3 { font-variation-settings: "wdth" 72; font-weight: 600; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 48px 0 16px; }
.mvv p { color: var(--on-carbon-muted); }
.values { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
@media (max-width: 860px) {
  .mvv { grid-template-columns: 1fr; }
  .mvv > div + div { padding-left: 0; }
  .mvv h3 { margin-top: 20px; }
}

.timeline { border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline li b { font-variation-settings: "wdth" 72; font-weight: 600; font-size: 30px; line-height: 1; text-transform: uppercase; }
.timeline li p { color: var(--ink-muted); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 12px; }
.duo figure { margin: 0; overflow: hidden; background: var(--paper-3); }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo figure:first-child { aspect-ratio: 4 / 3.4; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo figure { aspect-ratio: 4 / 3 !important; } }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); }
.contact__list { border-top: 1px solid var(--ink); }
.contact__list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list .mono { display: block; color: var(--ink-dim); font-size: 11px; margin-bottom: 6px; }
.contact__list a, .contact__list span { font-size: 19px; font-weight: 500; }
.contact__list a { transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .contact__list a:hover { color: var(--red-ink); } }
.form { background: var(--paper-2); padding: clamp(24px, 3.5vw, 48px); border-radius: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  appearance: none;
  border: 0; border-radius: 3px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 14px 14px;
  font-size: 16px;
  transition: box-shadow 160ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23141416' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form__foot p { font-size: 13.5px; color: var(--ink-muted); max-width: 36ch; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

.map { position: relative; aspect-ratio: 21 / 8; overflow: hidden; background: var(--paper-3); border-radius: 2px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
@media (max-width: 760px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Revelação no scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Imagem descoberta por uma "cortina" da cor do fundo (mantém o img visível para lazy-load e IO) */
.reveal-img { position: relative; overflow: hidden; }
.on-carbon .reveal-img { --cover: var(--carbon); }
.on-paper-2 .reveal-img { --cover: var(--paper-2); }
.js .reveal-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--cover, var(--paper));
  transform-origin: bottom;
  transition: transform 1000ms var(--ease-in-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal-img > img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal-img.is-in::after { transform: scaleY(0); }
.js .reveal-img.is-in > img { transform: none; }
.founders__photo figcaption { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img::after { display: none; }
  .js .reveal-img > img { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track ul[aria-hidden] { display: none; }
  .marquee__track ul { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .pipe__fill { transform: scaleY(1); }
}

/* Ajustes do hero de solução */
.sol-hero .lede { color: #c9c6bf; }
@media (min-width: 961px) { .sol-hero__media { margin-top: var(--header-h); } }
