/* VITAMKT Tech — folha única.
 * Cores tiradas da própria eleição: o petróleo do mapa do território, o verde
 * da tecla CONFIRMA da urna (é o botão de ação da página inteira) e o laranja
 * da tecla CORRIGE, em dose pequena, só para marcar o que é alerta. */

@font-face {
  font-family: 'Bricolage';
  src: url('fontes/bricolage-grotesque-wght-v1.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument';
  src: url('fontes/instrument-sans-wght-v1.woff2') format('woff2-variations');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --petroleo: #0b2330;
  --petroleo-fundo: #081a24;
  --petroleo-linha: #1d4558;
  --nevoa: #a8c0cb;
  --papel: #eef2ee;
  --papel-2: #e2e9e4;
  --tinta: #10202a;
  --tinta-suave: #3d5562;
  --confirma: #22b366;
  --confirma-escuro: #137a43;
  --confirma-texto: #0f7a41;
  --corrige: #f08a24;
  --titulo: 'Bricolage', 'Arial Narrow', system-ui, sans-serif;
  --texto: 'Instrument', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --caixa: 1180px;
  --margem: clamp(20px, 5vw, 56px);
  --topo-alt: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topo-alt) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--petroleo-fundo); color: #fff;
  font: 400 17px/1.6 var(--texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titulo); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--corrige); outline-offset: 3px; border-radius: 4px; }
.caixa { width: 100%; max-width: calc(var(--caixa) + var(--margem) * 2); margin: 0 auto; padding: 0 var(--margem); }

.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--tinta); padding: 10px 14px; border-radius: 8px; }
.pular:focus { top: 12px; }

/* ---------- a tecla CONFIRMA: o único botão cheio da página ---------- */
.tecla {
  --alt: 5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--confirma); color: #062a16;
  font: 650 17px/1 var(--texto); text-decoration: none;
  border: 0; border-radius: 10px; cursor: pointer;
  box-shadow: 0 var(--alt) 0 var(--confirma-escuro), 0 calc(var(--alt) + 8px) 22px rgba(0, 0, 0, .25);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s;
}
.tecla svg { width: 22px; height: 22px; flex: none; }
.tecla:hover { background: #2ac572; }
.tecla:active { transform: translateY(var(--alt)); box-shadow: 0 0 0 var(--confirma-escuro), 0 4px 10px rgba(0, 0, 0, .2); }
.tecla[disabled] { opacity: .6; cursor: progress; }
.tecla-p { min-height: 42px; padding: 0 16px; font-size: 15px; --alt: 3px; }
.tecla-p svg { width: 18px; height: 18px; }
.tecla-larga { width: 100%; }

.botao-linha {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 10px;
  color: #fff; text-decoration: none; font-weight: 600;
  transition: border-color .2s, background-color .2s;
}
.botao-linha:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.botao-linha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.botao-linha:hover svg { transform: translateX(4px); }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--topo-alt);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topo.cheio { background: rgba(8, 26, 36, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255, 255, 255, .08); }
.topo-dentro { height: 100%; max-width: calc(var(--caixa) + var(--margem) * 2); margin: 0 auto; padding: 0 var(--margem); display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--titulo); letter-spacing: .01em; }
.marca em, .marca-rodape em { font-style: normal; font-weight: 400; color: var(--nevoa); }
.marca-v { width: 30px; height: 30px; fill: none; stroke: var(--confirma); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--nevoa); font-size: 15px; font-weight: 500; transition: color .2s; }
.menu a:hover { color: #fff; }

/* ---------- abertura ---------- */
.abertura {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--topo-alt) + 40px) 0 64px;
  /* se o WebGL não subir, este fundo segura sozinho */
  background:
    radial-gradient(60% 70% at 78% 45%, #134257 0%, transparent 70%),
    var(--petroleo-fundo);
}
.relevo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.abertura-veu {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 26, 36, .92) 0%, rgba(8, 26, 36, .7) 38%, rgba(8, 26, 36, 0) 68%),
              linear-gradient(0deg, var(--petroleo-fundo) 0%, transparent 22%);
}
.abertura-dentro { width: 100%; max-width: calc(var(--caixa) + var(--margem) * 2); margin: 0 auto; padding: 0 var(--margem); }
.sobre { color: var(--nevoa); font-size: 16px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.sobre::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--confirma); box-shadow: 0 0 0 5px rgba(34, 179, 102, .2); flex: none; }
.titulo-mor {
  font-size: clamp(42px, 7.4vw, 104px); font-weight: 750; line-height: .98; letter-spacing: -0.035em;
  max-width: 12.5ch; text-wrap: balance;
}
.titulo-mor .linha-quebra { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.abertura-texto { max-width: 54ch; margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: #d5e2e7; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fatos { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 860px; }
.fatos div { display: flex; flex-direction: column; gap: 4px; }
.fatos dd, .numeros dd { order: -1; }
.fatos dd { font: 700 clamp(28px, 3vw, 38px)/1 var(--titulo); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fatos dd small { font: 500 14px var(--texto); color: var(--nevoa); letter-spacing: 0; margin-right: 4px; }
.fatos dt { font-size: 14px; color: var(--nevoa); max-width: 22ch; line-height: 1.35; }

/* na foto de conferência a janela é altíssima: a abertura não pode ocupar tudo */
@media (min-width: 641px) { .conferindo .abertura { min-height: 900px; } }

/* ---------- títulos de seção ---------- */
.cabeca { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.titulo-sec { font-size: clamp(34px, 4.6vw, 62px); font-weight: 720; letter-spacing: -0.03em; text-wrap: balance; }
.cabeca p { font-size: 18px; max-width: 46ch; }

/* ---------- produtos ---------- */
.produtos { background: var(--petroleo); padding: clamp(80px, 11vw, 140px) 0; }
.produtos .cabeca p { color: var(--nevoa); }
.nome-prod { font-size: clamp(30px, 3.6vw, 46px); font-weight: 760; }
.linha-fina { font: 500 clamp(20px, 2vw, 25px)/1.25 var(--titulo); color: #d8e6eb; margin: 10px 0 18px; max-width: 30ch; }

.raiox {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0;
  background: var(--petroleo-fundo); border: 1px solid var(--petroleo-linha); border-radius: 22px; overflow: hidden;
}
.raiox-texto { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 0; }
.raiox-texto > p:not([class]) { color: #c6d6dd; max-width: 52ch; }
.descida { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 6px; counter-reset: d; }
.descida li { counter-increment: d; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.descida li::before { content: counter(d); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--petroleo-linha); color: #fff; }
.descida li:last-child::before { background: var(--confirma); color: #062a16; }
.descida li + li { padding-left: 22px; position: relative; }
.descida li + li::after { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--nevoa); opacity: .6; }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 22px; }
.numeros div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--confirma); }
.numeros dd { font: 750 clamp(28px, 3.2vw, 42px)/1 var(--titulo); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.numeros dt { font-size: 14px; line-height: 1.35; color: var(--nevoa); }
.nota { font-size: 14px; color: var(--nevoa); border-left: 3px solid var(--corrige); padding: 2px 0 2px 12px; margin-bottom: 26px; max-width: 50ch; }
.raiox .botao-linha { align-self: flex-start; }
.raiox-palco { position: relative; margin: 0; min-height: 420px; background: radial-gradient(80% 70% at 50% 60%, #12384a 0%, var(--petroleo-fundo) 75%); }
.raiox-palco canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.raiox-palco figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; font-size: 13px; color: var(--nevoa); display: flex; align-items: center; gap: 8px; }
.ponto-verde { width: 8px; height: 8px; border-radius: 2px; background: var(--confirma); flex: none; }

.mandato { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.mandato-cabeca { padding: 8px 12px 0 0; }
.preco { margin-top: 18px; color: var(--nevoa); font-size: 17px; }
.preco b { color: #fff; font: 700 22px var(--titulo); }
.porta { border-radius: 22px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.porta-eleito { background: var(--papel); color: var(--tinta); }
.porta-pre { background: #10313f; border: 1px solid var(--petroleo-linha); }
.porta-quem { font-size: 14px; font-weight: 600; display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.porta-eleito .porta-quem { background: rgba(34, 179, 102, .16); color: var(--confirma-texto); }
.porta-pre .porta-quem { background: rgba(240, 138, 36, .16); color: #ffb26b; }
.porta h4 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; }
.porta-tese { margin: 10px 0 18px; font-size: 17px; line-height: 1.45; }
.porta-eleito .porta-tese { color: var(--tinta-suave); }
.porta-pre .porta-tese { color: #c6d6dd; }
.porta ul { display: grid; gap: 10px; margin-bottom: 26px; font-size: 16px; line-height: 1.45; }
.porta li { position: relative; padding-left: 26px; }
.porta li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2.5px solid var(--confirma); border-bottom: 2.5px solid var(--confirma); transform: rotate(-45deg); }
.porta .botao-linha { margin-top: auto; align-self: flex-start; }
.porta-eleito .botao-linha { color: var(--tinta); border-color: rgba(16, 32, 42, .35); }
.porta-eleito .botao-linha:hover { border-color: var(--tinta); background: rgba(16, 32, 42, .05); }

/* ---------- serviços ---------- */
.servicos { background: var(--papel); color: var(--tinta); padding: clamp(80px, 11vw, 140px) 0; }
.servicos .cabeca p { color: var(--tinta-suave); }
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.celula {
  --x: -300px; --y: -300px;
  position: relative; overflow: hidden;
  background: #fff; border-radius: 16px; padding: 26px 24px 28px;
  border: 1px solid #d5ded8;
}
.celula::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--x) var(--y), rgba(34, 179, 102, .13), transparent 70%);
}
.grade:hover .celula::before { opacity: 1; }
.c-larga { grid-column: span 2; }
.c-alta { grid-row: span 2; background: var(--petroleo); color: #fff; border-color: var(--petroleo); display: flex; flex-direction: column; justify-content: flex-end; }
.celula.c-alta p { color: #c6d6dd; }
.c-alta svg { stroke: var(--confirma); margin-bottom: auto; }
.celula svg { width: 30px; height: 30px; fill: none; stroke: var(--confirma-texto); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.celula h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.celula p { font-size: 16px; line-height: 1.5; color: var(--tinta-suave); }
.c-larga p { max-width: 48ch; }

/* ---------- fora da política: a casa para empresa ---------- */
.negocios { background: var(--petroleo-fundo); padding: clamp(80px, 11vw, 140px) 0; }
.negocios .cabeca p { color: var(--nevoa); }
.selo-fora {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: rgba(240, 138, 36, .14); color: #ffb26b;
}
.selo-fora::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--corrige); flex: none; }
.negocios-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ncard {
  background: var(--petroleo); border: 1px solid var(--petroleo-linha);
  border-radius: 16px; padding: 26px 24px 28px;
  transition: border-color .25s, transform .25s;
}
.ncard:hover { border-color: rgba(34, 179, 102, .6); transform: translateY(-3px); }
.ncard svg { width: 28px; height: 28px; fill: none; stroke: var(--confirma); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.ncard h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.ncard p { font-size: 16px; line-height: 1.5; color: #c6d6dd; }
.negocios-pe {
  margin-top: 18px; padding: 24px clamp(22px, 3vw, 34px);
  background: var(--petroleo); border: 1px solid var(--petroleo-linha); border-radius: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px;
}
.negocios-pe p { color: #c6d6dd; font-size: 16px; max-width: 58ch; }
.negocios-pe b { color: #fff; }
.negocios-pe .tecla { margin-left: auto; }

/* ---------- entregas: o que já está no ar ---------- */
.entregas { background: var(--petroleo); padding: clamp(80px, 11vw, 140px) 0; }
.entregas .cabeca p { color: var(--nevoa); }
.sigilo {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 14px;
  font-size: 14px; line-height: 1.45; color: var(--nevoa);
  border-left: 3px solid var(--corrige); padding-left: 12px; max-width: 46ch;
}
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filtro {
  min-height: 42px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  background: transparent; color: var(--nevoa);
  border: 1.5px solid rgba(255, 255, 255, .22);
  font: 600 15px/1 var(--texto);
  transition: color .2s, border-color .2s, background-color .2s;
}
.filtro:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.filtro[aria-pressed="true"] { background: var(--confirma); border-color: var(--confirma); color: #062a16; }

.vitrine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vitrine li { min-width: 0; }
.vitrine li[hidden] { display: none; }
.peca {
  width: 100%; padding: 0; text-align: left; color: inherit;
  background: var(--petroleo-fundo); border: 1px solid var(--petroleo-linha); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s, transform .25s;
}
.peca:hover { border-color: rgba(34, 179, 102, .6); transform: translateY(-3px); }
/* a parte de cima (moldura + foto) é o botão da lupa; o pé é texto e, nos sites, o link da demonstração */
.ampliar { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; font: inherit; }
.ampliar:focus-visible { outline: 2px solid var(--confirma); outline-offset: -2px; }
.peca-pe { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.abrir-demo {
  margin-top: auto; padding-top: 16px; display: block;
  font-weight: 700; font-size: 15px; color: var(--confirma); text-decoration: none;
}
.abrir-demo span { display: inline-block; transition: transform .25s; }
.abrir-demo:hover span { transform: translateX(4px); }
.abrir-demo small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: rgba(168, 192, 203, .75); }
.com-demo .janela span { color: rgba(168, 192, 203, .95); }
.visor-demo { justify-self: start; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--confirma); text-decoration: none; }
.visor-demo:hover { text-decoration: underline; }
/* moldura de navegador: três bolinhas e a barra de endereço falsa */
.janela { background: #0d2c3a; border-bottom: 1px solid var(--petroleo-linha); padding: 9px 12px; display: flex; align-items: center; gap: 6px; }
.janela i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); flex: none; }
.janela span {
  margin-left: 8px; flex: 1; min-width: 0; height: 20px; border-radius: 6px;
  background: rgba(255, 255, 255, .07); display: flex; align-items: center; padding: 0 9px;
  font-size: 11px; color: rgba(168, 192, 203, .75); letter-spacing: .02em;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.peca figure { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1f2b; }
.peca img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.peca h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.peca p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: #c6d6dd; }
.marcas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.marcas span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--nevoa); }
.lupa { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(8, 26, 36, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.ampliar:hover .lupa, .ampliar:focus-visible .lupa { opacity: 1; }
.lupa svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* lupa aberta */
.visor { width: min(1180px, 94vw); max-width: none; border: 0; padding: 0; background: transparent; color: #fff; }
.visor::backdrop { background: rgba(4, 14, 20, .86); backdrop-filter: blur(4px); }
.visor-dentro { background: var(--petroleo); border: 1px solid var(--petroleo-linha); border-radius: 18px; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
.visor img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; object-position: top center; display: block; background: #0a1f2b; }
.visor-pe { flex: none; padding: 18px 22px 22px; display: grid; gap: 6px; }
.visor-pe h3 { font-size: 21px; font-weight: 700; }
.visor-pe p { font-size: 15px; color: #c6d6dd; }
.fechar {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  background: rgba(8, 26, 36, .8); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  font: 400 22px/1 var(--texto);
}
.fechar:hover { background: rgba(8, 26, 36, .95); }

/* ---------- para quem ---------- */
.publico { background: var(--petroleo-fundo); padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.publico-cabeca { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.publico-cabeca p { color: var(--nevoa); font-size: 18px; max-width: 42ch; }
.faixa { display: flex; width: 100%; overflow: hidden; margin: clamp(44px, 6vw, 72px) 0; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, .1); }
.fita { display: flex; flex: none; }
.fita li { flex: none; font: 600 clamp(30px, 4.6vw, 60px)/1.1 var(--titulo); letter-spacing: -0.025em; white-space: nowrap; padding-right: .9em; display: flex; align-items: center; gap: .9em; }
.fita li::after { content: ''; width: .28em; height: .28em; border-radius: 50%; background: var(--confirma); flex: none; }
.faixa.andando .fita { animation: andar var(--duracao, 40s) linear infinite; }
@keyframes andar { to { transform: translateX(-100%); } }
/* sem animação, a faixa vira uma lista que quebra em linhas */
.faixa:not(.andando) { overflow: visible; }
.faixa:not(.andando) .fita { flex-wrap: wrap; flex: 1; padding: 0 var(--margem); max-width: calc(var(--caixa) + var(--margem) * 2); margin: 0 auto; row-gap: 8px; }
.faixa:not(.andando) .fita li { white-space: normal; font-size: clamp(24px, 3vw, 36px); }
.faixa:not(.andando) .fita + .fita { display: none; }
.limites { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px 64px; }
.limites h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: #ffb26b; }
.limites ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.limites li { font-size: 16px; line-height: 1.5; color: #c6d6dd; padding-top: 14px; border-top: 2px solid var(--corrige); }
.limites b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* ---------- passos ---------- */
.passos { background: var(--papel-2); color: var(--tinta); padding: clamp(80px, 10vw, 130px) 0; }
.passos-dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 72px; align-items: start; }
.passos .titulo-sec { position: sticky; top: calc(var(--topo-alt) + 32px); }
.linha { position: relative; counter-reset: p; display: grid; gap: 40px; padding-left: 64px; }
.linha::before, .linha::after { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: #c3cfc8; }
.linha::after { background: var(--confirma); transform-origin: top; transform: scaleY(var(--cheio, 1)); }
.linha li { position: relative; counter-increment: p; }
.linha li::before {
  content: counter(p); position: absolute; left: -64px; top: -6px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font: 700 18px var(--titulo); background: var(--papel-2); border: 2px solid #c3cfc8; color: var(--tinta-suave);
  transition: background-color .3s, border-color .3s, color .3s;
}
.linha li.aceso::before, .linha:not([data-vivo]) li::before { background: var(--confirma); border-color: var(--confirma); color: #062a16; }
.linha b { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--titulo); letter-spacing: -0.015em; }
.linha p { margin-top: 6px; color: var(--tinta-suave); max-width: 48ch; }

/* ---------- contato ---------- */
.contato { background: var(--petroleo); padding: clamp(80px, 10vw, 130px) 0; }
.contato-dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.contato-lado > p { color: var(--nevoa); font-size: 18px; margin: 18px 0 30px; max-width: 40ch; }
.email { margin-top: 26px; color: var(--nevoa); font-size: 16px; }
.email a { color: #fff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ficha { background: var(--papel); color: var(--tinta); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo-duplo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.campo label { font-size: 15px; font-weight: 600; }
.campo small { font-weight: 400; color: var(--tinta-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--texto); color: var(--tinta);
  background: #fff; border: 1.5px solid #c3cfc8; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2310202a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.campo textarea { resize: vertical; min-height: 90px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--confirma-texto); box-shadow: 0 0 0 3px rgba(34, 179, 102, .25); }
.campo [aria-invalid="true"] { border-color: #c4501a; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ficha .tecla { margin-top: 6px; }
.recado { min-height: 1.5em; font-weight: 600; font-size: 16px; }
.recado.bom { color: var(--confirma-texto); }
.recado.ruim { color: #b4441a; }
.lgpd { font-size: 13px; color: var(--tinta-suave); }
.lgpd a { color: var(--tinta); }
.ficha.enviada .campo, .ficha.enviada .campo-duplo, .ficha.enviada .tecla { display: none; }
.ficha.enviada .recado { font: 700 24px/1.25 var(--titulo); padding: 30px 0 10px; }

/* ---------- rodapé ---------- */
.rodape { background: var(--petroleo-fundo); color: var(--nevoa); padding: 56px 0 40px; font-size: 15px; line-height: 1.7; border-top: 1px solid rgba(255, 255, 255, .06); }
.rodape-dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 40px; }
.marca-rodape { font: 800 22px var(--titulo); color: #fff; }
.rodape a { color: #d8e6eb; text-underline-offset: 3px; }
.direitos { grid-column: 1 / -1; font-size: 13px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- barra fixa do celular ---------- */
.barra { display: none; }

/* ---------- telas médias ---------- */
@media (max-width: 1080px) {
  .mandato { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mandato-cabeca { grid-column: 1 / -1; padding: 0; }
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-alta { grid-row: span 1; }
  .vitrine, .negocios-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .topo .tecla-p { margin-left: auto; }
  .cabeca, .publico-cabeca, .limites, .passos-dentro, .contato-dentro { grid-template-columns: minmax(0, 1fr); }
  .raiox { grid-template-columns: minmax(0, 1fr); }
  .raiox-palco { min-height: 320px; order: -1; }
  .limites ul { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .passos .titulo-sec { position: static; }
  .rodape-dentro { grid-template-columns: minmax(0, 1fr); }
  .abertura-veu { background: linear-gradient(180deg, rgba(8, 26, 36, .35) 0%, rgba(8, 26, 36, .62) 40%, rgba(8, 26, 36, .5) 75%, var(--petroleo-fundo) 100%); }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
  :root { --topo-alt: 60px; }
  body { font-size: 16px; padding-bottom: 78px; }
  .topo .tecla-p span { display: none; }
  .topo .tecla-p { width: 44px; padding: 0; }
  .abertura { min-height: auto; padding: calc(var(--topo-alt) + 36px) 0 48px; align-items: flex-start; }
  .sobre { font-size: 14px; }
  .titulo-mor { font-size: clamp(38px, 11.4vw, 52px); }
  .acoes { flex-direction: column; align-items: stretch; }
  .acoes .botao-linha { justify-content: center; }
  .fatos { gap: 18px 24px; margin-top: 40px; }
  .fatos div { flex: 1 1 40%; }
  .fatos div:last-child { flex-basis: 100%; }
  .numeros { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .descida { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .descida li { flex-direction: column; gap: 6px; font-size: 14px; }
  .descida li + li { padding-left: 0; }
  .descida li + li::after { left: calc(-50% + 18px); top: 12px; width: calc(100% - 30px); }
  .numeros div:first-child { grid-column: 1 / -1; }
  .mandato { grid-template-columns: minmax(0, 1fr); }
  .porta .botao-linha, .raiox .botao-linha { align-self: stretch; justify-content: space-between; }
  .grade { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .c-larga { grid-column: auto; }
  .vitrine, .negocios-grade { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .negocios-pe { flex-direction: column; align-items: stretch; }
  .negocios-pe .tecla { margin-left: 0; }
  .filtros { gap: 8px; }
  .filtro { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .peca figure { aspect-ratio: 16 / 11; }
  .visor { width: 96vw; }
  .celula { padding: 22px 20px; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; }
  .celula svg { grid-row: span 2; margin: 2px 0 0; width: 28px; height: 28px; }
  .c-alta svg { margin-bottom: 0; }
  .celula h3 { font-size: 20px; }
  .linha { padding-left: 56px; gap: 32px; }
  .linha li::before { left: -56px; width: 40px; height: 40px; }
  .linha::before, .linha::after { left: 19px; }
  .campo-duplo { grid-template-columns: minmax(0, 1fr); }
  .contato .tecla { width: 100%; }
  .barra {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 50;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 26, 36, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(0); transition: transform .3s ease;
  }
  .barra.longe { transform: translateY(110%); }
  .barra .tecla, .barra .botao-linha { min-height: 50px; justify-content: center; padding: 0 12px; font-size: 16px; --alt: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
