/* BNS Engenharia · site imersivo. Paleta em 01-branding/paleta.md (60 aço, 30 concreto, 10 laranja). */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --aco: #0B1424;
  --aco-sup: #152238;
  --aco-linha: #24324A;
  --aco-fundo: #070E1A;
  --concreto: #E8ECF0;
  --branco: #EEF2F6;
  --cinza: #9BA8B9;
  --grafite: #4A5668;
  --laranja: #FF6A2B;
  --laranja-hover: #FF8A55;
  --gut: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --topo: 72px;
  --curva: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--topo); }
body {
  margin: 0;
  background: var(--aco);
  color: var(--branco);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* botões e campos nascem sem o visual do navegador: fonte, cor e borda vêm do site */
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { border: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--laranja); color: var(--aco); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.pular:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }

.envoltorio { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* tipografia */
.h1 {
  font-stretch: 112%;
  font-weight: 780;
  font-size: clamp(2rem, min(1.1rem + 4.1vw, 8.6svh), 4.9rem); /* limita também pela altura: tela baixa ou com zoom */
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h1 .destaque { font-weight: 330; letter-spacing: -0.02em; }
.h2 {
  font-stretch: 112%;
  font-weight: 740;
  font-size: clamp(1.7rem, min(1rem + 2.9vw, 6.4svh), 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.h2--grande { font-size: clamp(2.3rem, 1.1rem + 4.6vw, 5.4rem); }
.h3 { font-stretch: 110%; font-weight: 720; font-size: clamp(1.45rem, 1rem + 1.5vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.h4 { font-stretch: 104%; font-weight: 650; font-size: 1.0625rem; line-height: 1.3; }
.t1 { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.55; color: var(--cinza); max-width: 34em; text-wrap: pretty; }
.rotulo { font-size: .9375rem; font-weight: 500; color: var(--cinza); margin-bottom: 18px; }
.rotulo b { color: var(--laranja); font-weight: 700; font-stretch: 112%; margin-right: .55em; font-variant-numeric: tabular-nums; }
.rotulo--claro { color: var(--grafite); }

/* botões: animação sutil (sobe 2 px, seta anda, vazado preenche de baixo) */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--laranja);
  color: var(--aco);
  font-weight: 650;
  font-stretch: 106%;
  font-size: 1rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--curva), background-color .3s ease, box-shadow .45s var(--curva), border-color .3s ease, color .3s ease;
}
.btn .i { width: 19px; height: 19px; transition: transform .45s var(--curva); }
.btn:hover { transform: translateY(-2px); background: var(--laranja-hover); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .7); }
.btn:hover use[href="#i-seta"], .btn:hover use[href="#i-baixo"] { }
.btn:hover .i:last-child { transform: translateX(4px); }
.btn:hover .i:first-child:not(:last-child) { transform: rotate(-8deg) scale(1.06); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.btn--vazado { background: transparent; color: var(--branco); border: 1px solid rgba(238, 242, 246, .32); }
.btn--vazado::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(238, 242, 246, .1);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .5s var(--curva);
}
.btn--vazado:hover { background: transparent; border-color: rgba(238, 242, 246, .6); box-shadow: none; }
.btn--vazado:hover::before { transform: scaleY(1); }
.btn--vazado:hover .i:last-child[class] { transform: translateX(4px); }
.btn--vazado:hover use[href="#i-baixo"] { }
a[data-ir="1"].btn:hover .i:last-child { transform: translateY(3px); }
.btn--pequeno { min-height: 42px; padding: 0 16px; font-size: .9375rem; gap: 8px; }
.nota { margin-top: 16px; font-size: .875rem; color: var(--cinza); }

.link, .topo__nav a, .voltar, .rodape__col > a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--curva), color .3s ease; }
.link:hover, .topo__nav a:hover, .voltar:hover { background-size: 100% 1px; }

/* cabeçalho */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topo);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gut);
  background: linear-gradient(rgba(11, 20, 36, .62), rgba(11, 20, 36, 0));
  transition: background-color .4s ease, box-shadow .4s ease;
}
.topo--solido { background: rgba(11, 20, 36, .94); box-shadow: 0 1px 0 var(--aco-linha); }
.topo__logo img { height: 22px; width: auto; }
.topo__nav { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; color: rgba(238, 242, 246, .82); }
.topo__nav a:hover { color: var(--branco); }
@media (max-width: 900px) {
  .topo__nav { display: none; }
  .topo .btn--pequeno { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --topo: 64px; }
  .topo__logo img { height: 19px; }
  .topo .btn--pequeno { min-height: 40px; padding: 0 14px; font-size: .875rem; }
  .topo .btn--pequeno .i { display: none; }
}

/* ===== jornada ===== */
/* modo empilhado (padrão, sem JS ou com movimento reduzido) */
.jornada { position: relative; background: var(--aco); }
.palco { position: relative; }
.cena { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--aco); }
.cena__foto { position: absolute; inset: 0; transform-origin: 50% 52%; }
.cena__foto picture, .cena__foto img { width: 100%; height: 100%; }
.cena__foto img { object-fit: cover; }
.cena::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 20, 36, .78) 0%, rgba(11, 20, 36, .38) 38%, rgba(11, 20, 36, 0) 62%),
    linear-gradient(0deg, rgba(11, 20, 36, .7) 0%, rgba(11, 20, 36, 0) 42%);
}
.cena--c1::after { background: linear-gradient(90deg, rgba(11, 20, 36, .55) 0%, rgba(11, 20, 36, .12) 46%, rgba(11, 20, 36, 0) 60%), linear-gradient(0deg, rgba(11, 20, 36, .55) 0%, rgba(11, 20, 36, 0) 30%); }
.cena--c2::after { background: linear-gradient(270deg, rgba(11, 20, 36, .8) 0%, rgba(11, 20, 36, .36) 36%, rgba(11, 20, 36, 0) 58%), linear-gradient(0deg, rgba(11, 20, 36, .6) 0%, rgba(11, 20, 36, 0) 40%); }
.cena--bim { background: radial-gradient(120% 90% at 70% 45%, #13213A 0%, var(--aco) 62%); }
.cena--bim::after { background: none; }
.capitulo { position: relative; z-index: 2; width: 100%; max-width: calc(640px + var(--gut)); padding: 0 0 14vh var(--gut); }
.cena--c2 .capitulo { margin-left: auto; padding: 0 var(--gut) 14vh 0; max-width: calc(600px + var(--gut)); }
/* subtítulo da abertura: termina antes da faixa clara do horizonte e em tom claro, para ler sobre o céu */
.capitulo--abertura .t1 { max-width: 27em; color: rgba(232, 236, 240, .86); }
.capitulo--abertura { align-self: center; padding-top: var(--topo); padding-bottom: 6svh; max-width: calc(700px + var(--gut)); display: flex; flex-direction: column; }
.capitulo .h2 + .t1, .capitulo .h1 + .t1 { margin-top: clamp(12px, 2.4svh, 20px); }
.capitulo .botoes { margin-top: clamp(18px, 3.6svh, 32px); }
.capitulo .rotulo { margin-bottom: clamp(10px, 2svh, 18px); }
.capitulo .nota { margin-top: clamp(10px, 1.8svh, 16px); }
/* telas baixas (notebook, zoom do navegador): menos respiro e sem os instrumentos que disputam espaço com o texto */
@media (max-height: 700px) and (max-width: 760px) {
  .hud .hud__dica { display: none; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .capitulo { padding-bottom: 9svh; }
  .t1 { font-size: clamp(.95rem, 2.3svh, 1.125rem); }
  .btn { min-height: 46px; }
  .hud .hud__dica, .hud .hud__coord, .hud .hud__canto--ie, .hud .hud__canto--id { display: none; }
}
@media (max-height: 600px) and (min-width: 761px) {
  .capitulo .t1 { max-width: 40em; }
  .capitulo--abertura .nota { display: none; }
}

/* desenho técnico (cena 02) */
.cena__foto--bim { display: flex; align-items: center; justify-content: flex-end; padding: calc(var(--topo) + 2vh) 4vw 4vh 0; }
.bim { width: min(62vw, 92vh); height: auto; overflow: visible; }
.bim path { fill: none; stroke: var(--cinza); stroke-width: 1.15; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.bim .bim-a path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.bim .bim-laranja { stroke: var(--laranja); stroke-width: 2.2; }
.bim .bim-eixo { stroke: var(--grafite); stroke-width: 1; stroke-dasharray: 10 4 2 4; }
.bim .bim-cota { stroke: var(--grafite); stroke-width: 1; }
.bim .bim-balao { fill: var(--aco); stroke: var(--grafite); stroke-width: 1; }
.bim text { fill: var(--cinza); font-family: "Archivo", sans-serif; font-size: 11px; font-weight: 600; text-anchor: middle; }
.bim .bim-cota-t { font-size: 10px; font-weight: 500; fill: var(--grafite); }

.hud, .trilho { display: none; }

/* modo imersivo (com GSAP e movimento permitido) */
.anima .jornada { height: 100svh; }
.anima .palco { height: 100svh; overflow: hidden; }
.anima .cena { position: absolute; inset: 0; min-height: 0; }
.anima .cena[data-cena="0"] { z-index: 5; }
.anima .cena[data-cena="1"] { z-index: 4; }
.anima .cena[data-cena="2"] { z-index: 3; }
.anima .cena[data-cena="3"] { z-index: 2; }
.anima .cena[data-cena="4"] { z-index: 1; }
.anima .cena__foto { will-change: transform; backface-visibility: hidden; }
.anima .bim .bim-a path { stroke-dashoffset: 1; }
.anima .hud, .anima .trilho { display: block; }

.hud { position: absolute; inset: 0; z-index: 8; pointer-events: none; color: rgba(238, 242, 246, .42); }
.hud__canto { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; }
.hud__canto--se { top: calc(var(--topo) + 18px); left: 28px; border-top-width: 1px; border-left-width: 1px; }
.hud__canto--sd { top: calc(var(--topo) + 18px); right: 28px; border-top-width: 1px; border-right-width: 1px; }
.hud__canto--ie { bottom: 28px; left: 28px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__canto--id { bottom: 28px; right: 28px; border-bottom-width: 1px; border-right-width: 1px; }
.hud__mira { position: absolute; left: 50%; top: 52%; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: .55; }
.hud__mira::before, .hud__mira::after { content: ""; position: absolute; background: currentColor; }
.hud__mira::before { left: 12.5px; top: 0; width: 1px; height: 26px; }
.hud__mira::after { top: 12.5px; left: 0; height: 1px; width: 26px; }
.hud__coord { position: absolute; left: 62px; bottom: 30px; font-size: 11px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hud__dica { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: rgba(238, 242, 246, .7); transition: opacity .5s ease; }
.hud__dica i { width: 1px; height: 36px; background: linear-gradient(var(--laranja), var(--laranja)) 0 0 / 1px 0 no-repeat, rgba(238, 242, 246, .22); animation: dica 2.4s var(--curva) infinite; order: 2; }
.hud__dica.some { opacity: 0; }
@keyframes dica { 0% { background-size: 1px 0; background-position: 0 0; } 50% { background-size: 1px 100%; background-position: 0 0; } 100% { background-size: 1px 0; background-position: 0 100%; } }

.trilho { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 9; }
.trilho a { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; height: 34px; color: rgba(238, 242, 246, .55); font-size: 12px; }
.trilho a i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--curva), background-color .3s ease; }
.trilho a span { opacity: 0; transform: translateX(6px); transition: opacity .35s ease, transform .45s var(--curva); }
.trilho a:hover span, .trilho a.ativo span { opacity: 1; transform: none; }
.trilho a.ativo { color: var(--branco); }
.trilho a.ativo i { width: 34px; background: var(--laranja); }
.trilho a:hover i { width: 28px; }

@media (max-width: 760px) {
  .cena::after { background: linear-gradient(0deg, rgba(11, 20, 36, .9) 0%, rgba(11, 20, 36, .62) 38%, rgba(11, 20, 36, 0) 66%); }
  .cena--c1::after { background: linear-gradient(0deg, rgba(11, 20, 36, .86) 0%, rgba(11, 20, 36, .5) 42%, rgba(11, 20, 36, 0) 70%), linear-gradient(180deg, rgba(11, 20, 36, .45) 0%, rgba(11, 20, 36, 0) 22%); }
  .cena--c2::after { background: linear-gradient(0deg, rgba(11, 20, 36, .9) 0%, rgba(11, 20, 36, .6) 38%, rgba(11, 20, 36, 0) 66%); }
  .capitulo, .cena--c2 .capitulo { max-width: none; margin: 0; padding: 0 var(--gut) calc(9svh + env(safe-area-inset-bottom)); text-align: center; }
  .capitulo .t1 { margin-left: auto; margin-right: auto; }
  .capitulo .botoes { justify-content: center; }
  .capitulo--abertura { align-self: flex-end; padding-top: 0; }
  .capitulo--abertura .botoes { flex-direction: column; margin-top: 26px; }
  .capitulo--abertura .btn { width: 100%; }
  .capitulo--abertura .rotulo--abertura { order: 9; margin: 8px 0 0; font-size: 12px; color: rgba(238, 242, 246, .5); }
  .capitulo--abertura .nota { order: 8; font-size: 12.5px; }
  .cena__foto--bim { align-items: flex-start; justify-content: center; padding: calc(var(--topo) + 3svh) 0 0; }
  .bim { width: min(108vw, 56svh); }
  .cena--bim .capitulo { padding-bottom: calc(7svh + env(safe-area-inset-bottom)); }
  .hud__coord { display: none; }
  /* visor também no celular: cantos finos e mira, que crescem na travessia */
  .hud__canto { width: 16px; height: 16px; }
  .hud__canto--se, .hud__canto--sd { top: calc(var(--topo) + 26px); }
  .hud__canto--se, .hud__canto--ie { left: 14px; }
  .hud__canto--sd, .hud__canto--id { right: 14px; }
  .hud__canto--ie, .hud__canto--id { bottom: 14px; }
  .hud__mira { top: 40%; opacity: .4; }
  .hud__dica { bottom: 14px; }
  .anima .capitulo--abertura { padding-bottom: calc(11svh + env(safe-area-inset-bottom)); }
  .trilho { top: calc(var(--topo) + 4px); right: auto; left: var(--gut); width: calc(100% - var(--gut) * 2); transform: none; display: flex; gap: 6px; }
  .anima .trilho { display: flex; }
  .trilho a { flex: 1; height: 16px; flex-direction: column; justify-content: center; }
  .trilho a span { display: none; }
  .trilho a i, .trilho a.ativo i, .trilho a:hover i { width: 100%; height: 2px; background: rgba(238, 242, 246, .25); }
  .trilho a.feito i, .trilho a.ativo i { background: var(--laranja); }
}

/* ===== serviços (seção clara) ===== */
.servicos { background: var(--concreto); color: var(--aco); padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.secao-topo { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.secao-topo .t1 { margin-top: 20px; }
.servicos .t1 { color: var(--grafite); }
.servico {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 40%);
  gap: 32px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid rgba(11, 20, 36, .14);
}
.servico:last-child { border-bottom: 1px solid rgba(11, 20, 36, .14); }
.servico__num { font-stretch: 125%; font-weight: 300; font-size: 1.125rem; color: var(--grafite); font-variant-numeric: tabular-nums; padding-top: 8px; }
.lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 24px; color: var(--grafite); }
.lista li { position: relative; padding-left: 22px; }
.lista li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--laranja); transform: rotate(-38deg); }
/* cada serviço abre a sua página: sublinhado leve para quem está no celular saber que é clicável */
.lista a { color: inherit; text-decoration: underline; text-decoration-color: rgba(74, 86, 104, .35); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .25s ease, text-decoration-color .25s ease; }
.lista a:hover, .lista a:focus-visible { color: var(--aco); text-decoration-color: var(--laranja); }
.servico__foto { overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; background: #cfd6de; }
.servico__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.servico:hover .servico__foto img { transform: scale(1.035); }
@media (max-width: 900px) {
  .servico { grid-template-columns: 48px minmax(0, 1fr); gap: 18px 16px; padding: 36px 0; }
  .servico__foto { grid-column: 1 / -1; }
  .servico__num { padding-top: 6px; }
}
@media (max-width: 520px) {
  .lista { grid-template-columns: 1fr; gap: 8px; }
}

/* ===== acompanhamento ===== */
.acomp { background: var(--aco); padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.acomp__grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.vantagens li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--aco-linha); }
.vantagens li:last-child { border-bottom: 1px solid var(--aco-linha); }
.vantagens .i { width: 24px; height: 24px; color: var(--laranja); margin-top: 2px; }
.vantagens p { color: var(--cinza); margin-top: 4px; }

.relatorio { background: var(--aco-sup); border: 1px solid var(--aco-linha); border-radius: 14px; padding: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.relatorio__topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.relatorio__titulo { font-weight: 650; font-stretch: 106%; }
.relatorio__dia { font-size: 12px; color: var(--cinza); border: 1px solid var(--aco-linha); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.relatorio__ao-vivo { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--aco); }
.relatorio__ao-vivo img { width: 100%; height: 100%; object-fit: cover; }
.rec { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 20, 36, .72); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--laranja); animation: rec 2.2s ease-in-out infinite; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.relatorio__fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.relatorio__fotos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.relatorio__barra { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--cinza); }
.relatorio__barra b { color: var(--branco); font-weight: 650; font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
.relatorio__barra i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--aco-linha); overflow: hidden; }
.relatorio__barra em { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--laranja); border-radius: 3px; transform-origin: 0 50%; }
.relatorio__itens { margin-top: 14px; display: grid; gap: 8px; font-size: 13.5px; color: var(--concreto); }
.relatorio__itens li { display: flex; gap: 10px; align-items: flex-start; }
.relatorio__itens .i { width: 16px; height: 16px; color: var(--laranja); margin-top: 2px; }
.relatorio figcaption { margin-top: 14px; font-size: 11.5px; color: var(--grafite); text-align: center; }

.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(70px, 9vw, 120px); }
.numero { border-top: 1px solid var(--aco-linha); padding-top: 24px; }
.numero b { display: block; font-stretch: 125%; font-weight: 780; font-size: clamp(2.3rem, 1.2rem + 2.4vw, 3.6rem); white-space: nowrap; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.numero b span { display: inline-block; text-align: right; }
.numero b small + span { text-align: left; }
.numero b small { font-size: .46em; font-weight: 620; font-stretch: 110%; letter-spacing: 0; color: var(--cinza); }
@media (max-width: 1100px) { .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
.numero p { margin-top: 12px; color: var(--cinza); max-width: 22em; }
@media (max-width: 900px) {
  .acomp__grade { grid-template-columns: 1fr; }
  .relatorio { max-width: 460px; width: 100%; margin: 0 auto; }
  .numeros { grid-template-columns: 1fr; gap: 0; }
  .numero { padding: 22px 0; }
}

/* ===== contato ===== */
.contato { position: relative; min-height: 90svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0; }
.contato__foto { position: absolute; inset: 0; }
.contato__foto picture, .contato__foto img { width: 100%; height: 100%; }
.contato__foto img { object-fit: cover; }
.contato::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 20, 36, .8) 0%, rgba(11, 20, 36, .4) 50%, rgba(11, 20, 36, .1) 75%); }
.contato__conteudo { position: relative; z-index: 2; }
.contato .h2 { max-width: 12em; }
.contato .t1 { margin-top: 20px; }
.voltar { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; font-size: .9375rem; color: var(--cinza); padding-bottom: 2px; }
.voltar:hover { color: var(--branco); }
.voltar .i { width: 16px; height: 16px; transition: transform .45s var(--curva); }
.voltar:hover .i { transform: translateY(-3px); }
@media (max-width: 760px) {
  .contato { align-items: flex-end; min-height: 92svh; padding-bottom: 90px; }
  .contato::after { background: linear-gradient(0deg, rgba(11, 20, 36, .9) 0%, rgba(11, 20, 36, .55) 50%, rgba(11, 20, 36, .1) 80%); }
  .contato__conteudo { text-align: center; }
  .contato .h2, .contato .t1 { margin-left: auto; margin-right: auto; }
  .contato .botoes { flex-direction: column; }
  .contato .btn { width: 100%; }
}

/* ===== rodapé ===== */
/* rodapé: uma fonte só (site/_fonte/rodape.html) para todas as páginas */
.rodape { position: relative; overflow: hidden; background: var(--aco-fundo); border-top: 1px solid var(--aco-linha); padding: clamp(64px, 8vw, 104px) 0 28px; font-size: .9375rem; color: var(--cinza); }
.rodape::before { content: ""; position: absolute; left: var(--gut); top: -1px; width: 88px; height: 2px; background: var(--laranja); }
.rodape__simbolo { position: absolute; right: -24px; bottom: -36px; width: clamp(160px, 16vw, 240px); height: auto; opacity: .05; filter: grayscale(1) brightness(1.6); pointer-events: none; }
.rodape__topo { position: relative; display: grid; grid-template-columns: 1.1fr 1.9fr 1fr 1fr; gap: clamp(28px, 3.4vw, 52px); }
.rodape__marca img { width: 176px; height: auto; }
.rodape__marca p { margin-top: 20px; max-width: 30ch; line-height: 1.6; }
.rodape__col h3 { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 650; font-stretch: 106%; letter-spacing: .02em; color: var(--branco); margin-bottom: 18px; }
.rodape__col h3::before { content: ""; width: 12px; height: 2px; background: var(--laranja); transform: rotate(-38deg); flex: none; }
.rodape__col > a, .rodape__col > p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--cinza); width: fit-content; line-height: 1.5; }
.rodape__col > a:hover { color: var(--branco); background-size: 100% 1px; }
.rodape__col .i { width: 17px; height: 17px; margin-top: 2px; color: var(--grafite); }
.rodape__col p .link { display: inline; color: var(--concreto); }
.rodape__col p.rodape__texto { display: block; margin-top: 18px; font-size: .875rem; }
.rodape__col--servicos ul { columns: 2; column-gap: 24px; }
.rodape__col--servicos li { break-inside: avoid; margin-bottom: 9px; }
.rodape__col--servicos a { color: var(--cinza); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--curva), color .3s ease; }
.rodape__col--servicos a:hover { color: var(--branco); background-size: 100% 1px; }
.redes { display: flex; gap: 10px; margin-top: 22px; }
.redes a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--aco-linha); border-radius: 8px; color: var(--cinza); transition: border-color .3s ease, color .3s ease, transform .45s var(--curva); }
.redes a:hover { border-color: var(--laranja); color: var(--branco); transform: translateY(-2px); }
.redes .i { width: 18px; height: 18px; margin: 0; color: currentColor; }
.rodape__selos { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-top: clamp(48px, 6vw, 72px); padding: 28px 0; border-top: 1px solid var(--aco-linha); border-bottom: 1px solid var(--aco-linha); }
.rodape__selos-titulo { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 650; font-stretch: 106%; letter-spacing: .02em; color: var(--branco); }
.rodape__selos-titulo::before { content: ""; width: 12px; height: 2px; background: var(--laranja); transform: rotate(-38deg); }
.rodape__selos-lista { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(36px, 5vw, 72px); }
.rodape__selos-lista img { height: 38px; width: auto; opacity: .62; transition: opacity .3s ease; }
.rodape__selos-lista li:last-child img { height: 30px; }
.rodape__selos-lista img:hover { opacity: 1; }
.rodape__responsavel { margin-bottom: -12px; font-size: .875rem; color: var(--cinza); }
.rodape__responsavel b { font-weight: 650; color: var(--branco); }
.rodape__registros { font-size: .8125rem; color: var(--grafite); }
.rodape__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font-size: .8125rem; color: var(--grafite); }
.rodape__coord { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.footer__developer { display: flex; align-items: center; gap: 10px; }
.footer__developer img { width: 78px; height: auto; opacity: .72; transition: opacity .3s ease, transform .3s ease; }
.footer__developer-link:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 1100px) { .rodape__topo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  /* celular: tudo centralizado, um bloco por vez com o mesmo respiro */
  .rodape { padding-bottom: 104px; text-align: center; }
  .rodape::before { left: 50%; transform: translateX(-50%); }
  .rodape__topo { grid-template-columns: 1fr; gap: 0; }
  .rodape__topo > * { padding: 36px 0; }
  .rodape__topo > * + * { border-top: 1px solid var(--aco-linha); }
  .rodape__marca { display: flex; flex-direction: column; align-items: center; padding-top: 0; }
  .rodape__marca img { width: 156px; }
  .rodape__marca p { margin-top: 18px; max-width: 28ch; }
  .redes { justify-content: center; }
  .rodape__col h3 { justify-content: center; margin-bottom: 20px; }
  .rodape__col--servicos ul { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
  .rodape__col--servicos li { margin: 0; line-height: 1.4; }
  .rodape__col--servicos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rodape__col > a, .rodape__col > p { margin-left: auto; margin-right: auto; justify-content: center; }
  .rodape__col > p:has(.i) { flex-direction: column; align-items: center; gap: 6px; max-width: 30ch; }
  .rodape__col > p:has(.i) + p:has(.i) { margin-top: 20px; }
  .rodape__col p.rodape__texto { margin-top: 18px; }
  .rodape__selos { margin-top: 0; }
  .rodape__selos-lista img { height: 32px; }
  .rodape__selos-lista li:last-child img { height: 26px; }
  .rodape__registros { max-width: 34ch; line-height: 1.6; }
  .rodape__base { flex-direction: column; align-items: center; gap: 10px; }
}

/* WhatsApp fixo no celular */
.wa-fixo { display: none; }
@media (max-width: 760px) {
  .wa-fixo {
    display: grid; place-items: center;
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--laranja); color: var(--aco);
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .7);
    opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
    transition: opacity .4s ease, transform .5s var(--curva);
  }
  .wa-fixo .i { width: 24px; height: 24px; }
  .wa-fixo.visivel { opacity: 1; transform: none; pointer-events: auto; }
  .wa-fixo:active { transform: scale(.94); }
}

/* ===== obras e clientes: duas faixas em sentidos opostos ===== */
.obras { background: var(--concreto); color: var(--aco); padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.obras .rotulo { color: var(--grafite); }
.faixas { display: grid; gap: clamp(28px, 4vw, 48px); }
.faixa { overflow: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.faixa::-webkit-scrollbar { display: none; }
.faixa:has(.obra) { margin-bottom: clamp(12px, 2vw, 28px); padding-bottom: 4px; }
.faixa__trilho { display: flex; width: max-content; animation: faixaCorre var(--duracao, 70s) linear infinite; }
.faixa--volta .faixa__trilho { animation-direction: reverse; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
@keyframes faixaCorre { to { transform: translate3d(-50%, 0, 0); } }
.faixa__grupo { display: flex; align-items: center; flex: none; }
.obra { flex: none; width: clamp(240px, 26vw, 380px); margin-right: clamp(14px, 1.6vw, 24px); }
.obra__foto { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #d5dbe2; }
.obra__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.obra:hover .obra__foto img { transform: scale(1.04); }
.obra figcaption { margin-top: 12px; font-size: .9375rem; line-height: 1.35; color: var(--grafite); }
.obra figcaption b { display: block; font-weight: 650; color: var(--aco); }
/* tamanho de cada logo calculado no publicar.mjs (--w e --h em px, mesma área visual); no celular, 70% */
.cliente { --esc: 1; flex: none; display: grid; place-items: center; height: calc(60px * var(--esc)); margin-right: clamp(32px, 4vw, 64px); }
.faixa:has(.cliente) + .faixa:has(.cliente) { margin-top: calc(clamp(28px, 4vw, 48px) * -0.45); } /* as duas fileiras de logos ficam mais próximas entre si */
.cliente img { width: calc(var(--w) * 1px * var(--esc)); height: calc(var(--h) * 1px * var(--esc)); object-fit: contain; opacity: .55; transition: opacity .3s ease; }
@media (max-width: 760px) { .cliente { --esc: .7; } }
.cliente:hover img { opacity: .95; }
.obras__fim { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.obras .btn--vazado { color: var(--aco); border-color: rgba(11, 20, 36, .25); }
.obras .btn--vazado::before { background: rgba(11, 20, 36, .06); }
.obras .btn--vazado:hover { border-color: rgba(11, 20, 36, .5); }

/* ===== últimas do blog ===== */
.do-blog { background: var(--aco); padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--aco-linha); }
.do-blog__topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.do-blog__topo .h2 { max-width: 14em; }
.ultimas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.ultimas:empty { display: none; }
.ultima { display: flex; flex-direction: column; gap: 10px; }
.ultima__foto { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--aco-sup); }
.ultima__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.ultima:hover .ultima__foto img { transform: scale(1.04); }
.ultima__data { margin-top: 6px; font-size: .8125rem; color: var(--cinza); }
.ultima__titulo { font-size: 1.125rem; font-weight: 650; font-stretch: 104%; line-height: 1.3; text-wrap: pretty; transition: color .3s; }
.ultima:hover .ultima__titulo { color: var(--laranja-hover); }
@media (max-width: 900px) {
  .ultimas { grid-template-columns: 1fr; }
  .ultima { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .ultima__foto { grid-row: 1 / 3; aspect-ratio: 4 / 3; }
  .ultima__data { margin-top: 0; }
  .ultima__titulo { font-size: 1rem; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  /* animações desligadas no Windows: as faixas andam na metade da velocidade (parada, ficava uma barra de rolagem sobre os nomes) */
  .faixa__trilho { animation: faixaCorre calc(var(--duracao, 70s) * 2) linear infinite !important; }
  .faixa--volta .faixa__trilho { animation-direction: reverse !important; }
}

/* ===== filtro antes do WhatsApp (popup com respostas rápidas) ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.filtro-aberto { overflow: hidden; }
.filtro {
  padding: 0; border: 0; background: transparent; color: var(--branco);
  width: min(560px, calc(100vw - 32px)); max-width: none; max-height: min(720px, calc(100svh - 48px));
  overflow: visible;
}
.filtro::backdrop { background: rgba(7, 14, 26, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.filtro[open] { animation: filtroEntra .5s var(--curva); }
.filtro[open]::backdrop { animation: veuEntra .4s ease; }
.filtro.saindo { animation: filtroSai .26s ease forwards; }
.filtro.saindo::backdrop { animation: veuSai .26s ease forwards; }
@keyframes filtroEntra { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes filtroSai { to { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes veuEntra { from { opacity: 0; } }
@keyframes veuSai { to { opacity: 0; } }
.filtro__painel { background: var(--aco-sup); border: 1px solid var(--aco-linha); border-radius: 16px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); display: flex; flex-direction: column; max-height: inherit; overflow: hidden; }
.filtro__topo { display: grid; grid-template-columns: 40px 1fr auto 40px; align-items: center; gap: 12px; padding: 14px 14px 0; }
.filtro__icone { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--cinza); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.filtro__icone:hover { background: rgba(238, 242, 246, .08); color: var(--branco); }
.filtro__progresso { height: 3px; border-radius: 2px; background: var(--aco-linha); overflow: hidden; }
.filtro__progresso i { display: block; height: 100%; background: var(--laranja); transform: scaleX(.1); transform-origin: 0 50%; transition: transform .6s var(--curva); }
.filtro__passo { font-size: 12.5px; color: var(--cinza); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.filtro__corpo { padding: 22px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
.filtro__etapa.entra { animation: etapaEntra .5s var(--curva); }
.filtro__etapa.volta { animation: etapaVolta .5s var(--curva); }
@keyframes etapaEntra { from { opacity: 0; transform: translateX(22px); } }
@keyframes etapaVolta { from { opacity: 0; transform: translateX(-22px); } }
.filtro__intro { font-size: .875rem; color: var(--cinza); margin-bottom: 10px; }
.filtro__titulo { font-stretch: 110%; font-weight: 720; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.filtro__opcoes { display: grid; gap: 8px; }
.filtro__opcoes button {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 0 16px;
  border: 1px solid var(--aco-linha); border-radius: 10px; background: rgba(11, 20, 36, .5); color: var(--branco);
  font: inherit; font-size: 1rem; text-align: left; cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, transform .4s var(--curva);
}
.filtro__opcoes button::before {
  content: attr(data-letra); flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--aco-linha); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--cinza);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
@media (hover: hover) { .filtro__opcoes button:hover { border-color: rgba(255, 106, 43, .7); transform: translateX(3px); } }
.filtro__opcoes button:active { transform: scale(.985); }
.filtro__opcoes button[aria-pressed="true"] { border-color: var(--laranja); background: rgba(255, 106, 43, .14); }
.filtro__opcoes button[aria-pressed="true"]::before { background: var(--laranja); border-color: var(--laranja); color: var(--aco); }
.filtro__campo input {
  width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--aco-linha); border-radius: 10px;
  background: rgba(11, 20, 36, .5); color: var(--branco); font: inherit; font-size: 1.0625rem;
  transition: border-color .3s ease;
}
.filtro__campos { display: grid; gap: 12px; }
.filtro__campo { display: grid; gap: 6px; }
.filtro__rotulo { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--cinza); }
.filtro__campo input[aria-invalid="true"] { border-color: #FF8A55; }
.filtro__erro { margin: 10px 0 0; font-size: .875rem; color: #FF8A55; }
.filtro__campo input::placeholder { color: var(--grafite); }
.filtro__campo input:focus { outline: none; border-color: var(--laranja); }
.filtro__seguir, .filtro__enviar { width: 100%; margin-top: 14px; }
.filtro__resumo { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; margin: 0 0 6px; font-size: .9375rem; }
.filtro__resumo dt { color: var(--cinza); padding: 11px 0; border-top: 1px solid var(--aco-linha); }
.filtro__resumo dd { margin: 0; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--aco-linha); }
.filtro__editar { border: 0; background: none; color: var(--cinza); font: inherit; font-size: 12.5px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.filtro__editar:hover { color: var(--laranja); }
.filtro__nota { margin-top: 12px; font-size: 12.5px; color: var(--cinza); text-align: center; }
@media (max-width: 760px) {
  /* celular: folha que sobe do pé da tela, como um app */
  .filtro { width: 100vw; max-height: 92svh; margin: auto 0 0; }
  .filtro__painel { border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .filtro[open] { animation: folhaSobe .5s var(--curva); }
  .filtro.saindo { animation: folhaDesce .26s ease forwards; }
  @keyframes folhaSobe { from { transform: translateY(40%); opacity: 0; } }
  @keyframes folhaDesce { to { transform: translateY(30%); opacity: 0; } }
  .filtro__corpo { padding: 18px 20px 22px; }
  .filtro__opcoes button { min-height: 52px; }
}
