/* Ágape — folha de estilo única.
   Para trocar as cores da marca, altere só as variáveis abaixo. */
:root {
  --petroleo: #075394;
  --petroleo-escuro: #052F55;
  --agua: #E9F0F7;
  --papel: #FAFBFD;
  --tinta: #14212E;
  --suave: #4B5C6E;
  --sinal: #C2261F;
  --whats: #0F7A40;
  --whats-escuro: #0A5F31;
  --linha: #CFD9E3;
  --fonte-titulo: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --fonte-texto: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --largura: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
}
img, svg { max-width: 100%; }
a { color: var(--petroleo); text-underline-offset: 3px; }
a:hover { color: var(--petroleo-escuro); }
:focus-visible { outline: 3px solid var(--sinal); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  color: var(--petroleo);
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }
.pular {
  position: absolute; left: -9999px; top: 0; background: var(--sinal); color: #fff;
  padding: .6rem 1rem; z-index: 100; font-weight: 600;
}
.pular:focus { left: 0; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--fonte-texto);
  padding: .95rem 1.4rem; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 48px;
}
.botao-whats { background: var(--whats); color: #fff; }
.botao-whats:hover { background: var(--whats-escuro); color: #fff; }
.botao-linha { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.botao-linha:hover { border-color: #fff; color: #fff; }
.botao-escuro { background: var(--petroleo); color: #fff; }
.botao-escuro:hover { background: var(--petroleo-escuro); color: #fff; }
.botao svg { width: 1.2em; height: 1.2em; flex: none; }

/* Cabeçalho */
.topo { background: #fff; border-bottom: 1px solid var(--linha); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.marca { text-decoration: none; color: var(--petroleo); display: flex; flex-direction: row; align-items: center; gap: .7rem; line-height: 1; }
.marca img { height: 60px; width: auto; display: block; }
.marca .marca-txt { font: 700 1.2rem/1.05 var(--fonte-titulo); letter-spacing: .01em; color: var(--petroleo); margin: 0; }
.menu-botao {
  display: none; background: none; border: 2px solid var(--petroleo); color: var(--petroleo);
  border-radius: 6px; padding: .5rem .8rem; font: 600 .95rem var(--fonte-texto); min-height: 44px;
}
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.botao) { text-decoration: none; color: var(--tinta); font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.menu a:not(.botao):hover, .menu a[aria-current="page"] { border-bottom-color: var(--sinal); }
.menu .botao { padding: .75rem 1.1rem; min-height: 44px; }

/* Herói */
.heroi { background: var(--petroleo); color: #fff; padding: 3rem 0 4rem; position: relative; }
.heroi::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: repeating-linear-gradient(-45deg, var(--sinal) 0 14px, var(--petroleo) 14px 28px);
}
.heroi .wrap { display: grid; gap: 2.5rem; align-items: center; }
.heroi h1 { color: #fff; }
.heroi p.lead { font-size: 1.2rem; max-width: 34em; color: #DCE9F5; }
.heroi .acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.heroi .nota { font-size: .95rem; color: #B9CDE2; margin-top: 1.2rem; max-width: 34em; }

/* Ordem de serviço (formulário) */
.os {
  background: #fff; color: var(--tinta); border-radius: 10px; position: relative;
  border: 1.5px solid var(--linha);
}
.heroi .os { border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.os-cabeca { padding: 1.3rem 1.5rem 1.1rem; border-bottom: 2px dashed var(--linha); position: relative; }
.os-cabeca::before, .os-cabeca::after {
  content: ""; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--papel); border: 1.5px solid var(--linha);
}
.heroi .os-cabeca::before, .heroi .os-cabeca::after { background: var(--petroleo); border: 0; }
.os-cabeca::before { left: -13px; }
.os-cabeca::after { right: -13px; }
.os-cabeca h2, .os-cabeca h3 { margin: 0; font-size: 1.8rem; }
.os-cabeca p { margin: .25rem 0 0; color: var(--suave); font-size: .95rem; }
.os-corpo { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 1rem; }
.os label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.os select, .os input, .os textarea {
  width: 100%; font: inherit; color: var(--tinta); background: var(--papel);
  border: 1.5px solid #8FA6BC; border-radius: 6px; padding: .75rem .8rem; min-height: 48px;
}
.os textarea { min-height: 96px; resize: vertical; }
.os .botao { width: 100%; }
.os small { color: var(--suave); display: block; }

/* Seções */
.secao { padding: 4rem 0; }
.secao-agua { background: var(--agua); }
.secao > .wrap > h2, .secao-titulo { max-width: 22em; }
.secao-intro { color: var(--suave); max-width: 40em; margin-bottom: 2rem; }

/* Lista de serviços */
.servicos { border-top: 2px solid var(--petroleo); }
.servico-linha {
  display: grid; gap: .3rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--linha);
  text-decoration: none; color: var(--tinta);
}
.servico-linha h3 { margin: 0; font-size: 1.7rem; }
.servico-linha p { margin: 0; color: var(--suave); }
.servico-linha .ver { font-weight: 600; color: var(--petroleo); text-decoration: underline; text-underline-offset: 4px; }
.servico-linha:hover h3 { text-decoration: underline; text-decoration-color: var(--sinal); text-decoration-thickness: 4px; text-underline-offset: 5px; }

/* Tabela de problemas */
.tabela-rolagem { overflow-x: auto; }
table.problemas { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linha); }
table.problemas th, table.problemas td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
table.problemas thead th { background: var(--petroleo); color: #fff; font-weight: 600; }
table.problemas tbody th { font-weight: 500; width: 55%; }
.nota-tabela { font-size: .95rem; color: var(--suave); margin-top: 1rem; }

/* Passos */
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: passo; }
.passos li { counter-increment: passo; padding-left: 4rem; position: relative; }
.passos li::before {
  content: counter(passo); position: absolute; left: 0; top: -.2rem; width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center; background: var(--sinal); color: #fff;
  font: 700 1.6rem/1 var(--fonte-titulo); border-radius: 50%;
}
.passos h3 { margin: 0 0 .2rem; font-size: 1.4rem; }
.passos p { margin: 0; color: var(--suave); }

/* Duas colunas de texto */
.duas { display: grid; gap: 2rem; }
.lista-simples { margin: 0; padding-left: 1.1rem; }
.lista-simples li { margin-bottom: .45rem; }

/* Perguntas frequentes */
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-child { border-top: 1px solid var(--linha); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; font-weight: 600; position: relative;
  color: var(--petroleo);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: .75rem; font: 500 1.7rem/1 var(--fonte-texto); color: var(--petroleo);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .resposta { padding: 0 0 1.2rem; color: var(--tinta); max-width: 46em; }

/* Faixa final */
.chamada { background: var(--petroleo); color: #fff; padding: 3.5rem 0; }
.chamada .wrap { display: grid; gap: 1.5rem; align-items: center; }
.chamada h2 { color: #fff; margin: 0; }
.chamada p { margin: .5rem 0 0; color: #DCE9F5; }
.chamada .acoes { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Página de serviço */
.miolo-topo { background: var(--agua); padding: 2.5rem 0 3rem; border-bottom: 1px solid var(--linha); }
.migalhas { font-size: .92rem; color: var(--suave); margin-bottom: 1.2rem; }
.migalhas a { color: var(--suave); }
.migalhas span[aria-hidden] { margin: 0 .35rem; }
.miolo-topo h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); max-width: 16em; }
.miolo-topo .lead { font-size: 1.15rem; max-width: 40em; margin: 0; }
.servico-grade { display: grid; gap: 2.5rem; padding: 3rem 0 4rem; }
.servico-texto h2 { margin-top: 2.2rem; font-size: 2rem; }
.servico-texto h2:first-child { margin-top: 0; }
.lateral { align-self: start; }
.lateral .cartao {
  border: 1.5px solid var(--linha); border-radius: 10px; padding: 1.3rem 1.5rem; margin-top: 1.2rem; background: #fff;
}
.lateral .cartao h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.lateral .cartao p { margin: 0 0 .5rem; font-size: .97rem; }
.relacionados { border-top: 2px solid var(--petroleo); }

/* Rodapé */
.rodape { background: var(--petroleo-escuro); color: #C5D4E4; padding: 3rem 0 6rem; font-size: .97rem; }
.rodape a { color: #fff; }
.rodape .selo { background: #fff; border-radius: 8px; padding: .6rem; width: 128px; margin-bottom: 1.2rem; }
.rodape .selo img { display: block; width: 100%; height: auto; }
.rodape h2 { font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.rodape .grade { display: grid; gap: 2rem; }
.rodape .selos { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2rem 0 0; }
.rodape .selos li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; color: #fff; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: .35rem; }
.rodape .fim { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; }

/* Barra fixa no celular */
.barra-movel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: #fff;
  border-top: 1px solid var(--linha); box-shadow: 0 -4px 14px rgba(0,0,0,.12);
}
.barra-movel .botao { padding: .8rem; }
.barra-movel .botao-tel { background: var(--petroleo); color: #fff; }

/* Tela larga */
@media (min-width: 700px) {
  .servico-linha { grid-template-columns: 1.1fr 1.6fr auto; align-items: baseline; }
  .duas { grid-template-columns: 1fr 1fr; }
  .rodape .grade { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .chamada .wrap { grid-template-columns: 1.4fr auto; }
  .passos { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
}
@media (min-width: 900px) {
  .heroi .wrap { grid-template-columns: 1.15fr .85fr; }
  .servico-grade { grid-template-columns: 1.6fr 1fr; gap: 3.5rem; }
  .lateral { position: sticky; top: 1.5rem; }
  .barra-movel { display: none; }
  .rodape { padding-bottom: 3rem; }
}
@media (max-width: 899px) {
  .menu-botao { display: inline-block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--linha); z-index: 40;
  }
  .menu.aberto { display: flex; }
  .menu a:not(.botao) { padding: .9rem 0; border-bottom: 1px solid var(--linha); }
  .menu .botao { margin-top: .8rem; }
  .topo { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Foco visível sobre fundos escuros */
.heroi :focus-visible, .chamada :focus-visible, .rodape :focus-visible { outline-color: #fff; }


/* ====== Página inicial no modelo institucional ====== */
.heroi { overflow: hidden; }
.heroi::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23A8A6AB' stroke-opacity='.3'%3E%3Cellipse cx='450' cy='300' rx='420' ry='190' transform='rotate(-12 450 300)' stroke-width='22'/%3E%3Cellipse cx='450' cy='300' rx='340' ry='140' transform='rotate(-12 450 300)' stroke-width='2'/%3E%3Cpath d='M470 20L430 580' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -18% center / min(900px, 130%);
}
.heroi .wrap { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; font-weight: 600; letter-spacing: .01em; color: #F4C3C0; }
.heroi .nota a { color: #fff; }
.heroi-visual { display: grid; place-items: center; }
.selo-hero { background: #fff; border-radius: 14px; padding: 1.2rem; width: min(290px, 70%); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.selo-hero img { display: block; width: 100%; height: auto; }
.heroi-visual img.foto { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 14px 36px rgba(0,0,0,.28); max-height: 620px; }

.rotulo { margin: 0 0 .5rem; font-weight: 700; color: var(--sinal); }

.numeros { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.numeros li { border-top: 4px solid var(--sinal); padding-top: 1rem; }
.numeros strong { display: block; font: 700 clamp(3rem, 7vw, 4.6rem)/1 var(--fonte-titulo); color: var(--petroleo); margin-bottom: .4rem; }
.numeros span { color: var(--suave); max-width: 22em; display: block; }

.pilares { display: grid; gap: 1.25rem; margin-top: 2rem; }
.pilar { background: #fff; border: 1.5px solid var(--linha); border-top: 5px solid var(--petroleo); border-radius: 10px; padding: 1.6rem; }
.pilar:nth-child(2) { border-top-color: var(--sinal); }
.pilar:nth-child(3) { border-top-color: #A8A6AB; }
.pilar-icone svg { width: 44px; height: 44px; fill: none; stroke: var(--petroleo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pilar h3 { margin: .8rem 0 .5rem; }
.pilar p { color: var(--suave); }
.pilar ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.pilar li { border-top: 1px solid var(--linha); }
.pilar li a { display: block; padding: .7rem 0; font-weight: 600; }
.mais-servico { margin: 1.6rem 0 0; }

.colunas-regra, .por-que { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.colunas-regra li, .por-que li { border-top: 2px solid var(--petroleo); padding-top: 1rem; }
.colunas-regra h3, .por-que h3 { margin: 0 0 .4rem; }
.colunas-regra p, .por-que p { margin: 0; color: var(--suave); }
.logos { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.logos img { height: 48px; width: auto; filter: grayscale(1); }
.casos { display: grid; gap: 1.25rem; margin-top: 2rem; }
.caso { border: 1.5px solid var(--linha); border-radius: 10px; padding: 1.5rem; background: #fff; }

/* Janela "Pedir orçamento" */
.dialogo { border: 0; padding: 0; background: transparent; width: min(520px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); overflow: auto; color: var(--tinta); }
.dialogo::backdrop { background: rgba(5, 30, 55, .7); }
.dialogo .os { border: 0; }
.dialogo .os-cabeca { padding-right: 3.5rem; }
.dialogo .os-cabeca::before, .dialogo .os-cabeca::after { display: none; }
.dialogo .fechar { position: absolute; right: .5rem; top: .5rem; z-index: 2; width: 44px; height: 44px; border: 0; background: none; color: var(--suave); font: 400 2rem/1 var(--fonte-texto); cursor: pointer; }

@media (min-width: 700px) {
  .numeros { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .casos { grid-template-columns: repeat(3, 1fr); }
  .colunas-regra, .por-que { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
}
@media (min-width: 900px) {
  .pilares { grid-template-columns: repeat(3, 1fr); }
  .por-que { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .colunas-regra { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* Prova social (caso Supermercados BH) */
.heroi .prova { margin: 1.4rem 0 0; padding-left: 1rem; border-left: 4px solid var(--sinal); color: #fff; max-width: 34em; }
.heroi .prova a { color: #fff; font-weight: 600; }
.caixa-prova { background: var(--agua); border-left: 5px solid var(--petroleo); padding: 1.1rem 1.4rem; margin: 2.2rem 0 0; border-radius: 0 8px 8px 0; }
.caixa-prova h2 { margin: 0 0 .4rem; font-size: 1.5rem; }
.caixa-prova p { margin: 0; }
.numeros-pagina { margin: 1.2rem 0 1.8rem; gap: 1.4rem 1.6rem; grid-template-columns: repeat(2, 1fr); }
.numeros-pagina strong { white-space: nowrap; }
.numeros-pagina strong { font-size: clamp(2.4rem, 5vw, 3.2rem); }

/* Faixa "Nosso cliente" */
.faixa-cliente { background: #fff; border-bottom: 1px solid var(--linha); padding: 1.8rem 0; }
.faixa-cliente .wrap { display: grid; gap: 1.2rem; align-items: center; }
.faixa-logo { display: grid; place-items: center; min-height: 96px; padding: 1rem 1.6rem; border: 1.5px solid var(--linha); border-top: 5px solid var(--sinal); border-radius: 10px; background: #fff; }
.faixa-logo img { display: block; max-height: 72px; width: auto; max-width: 100%; }
.cliente-nome { font: 700 2rem/1.05 var(--fonte-titulo); color: var(--petroleo); text-align: center; }
.faixa-texto p { margin: 0; }
.faixa-texto .rotulo { margin-bottom: .2rem; }
.faixa-titulo { font: 700 1.7rem/1.15 var(--fonte-titulo); color: var(--petroleo); margin-bottom: .35rem !important; }
@media (min-width: 900px) {
  .faixa-cliente .wrap { grid-template-columns: 260px 1fr auto; gap: 2.2rem; }
}

/* Foto da frota */
.foto-figura { margin: 0; }
.foto-figura img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 28px rgba(5, 30, 55, .18); }
.foto-figura figcaption { margin-top: .6rem; font-size: .92rem; color: var(--suave); }

/* Galeria de trabalho em campo */
.galeria { display: grid; gap: 1.2rem; margin-top: 2rem; }
.galeria figure { margin: 0; }
.galeria img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 28px rgba(5, 30, 55, .16); }
.galeria figcaption { margin-top: .6rem; font-size: .95rem; color: var(--suave); }
@media (min-width: 700px) {
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .galeria figure:nth-child(2) { margin-top: 2rem; }
}
.foto-servico { margin: 0 0 2rem; }

/* Faixa do cliente (versão em destaque) */
.faixa-cliente { background: var(--agua); border-top: 0; border-bottom: 1px solid var(--linha); padding: 2.4rem 0; }
.faixa-logo { min-height: 132px; padding: 1.4rem 1.8rem; border: 0; border-top: 6px solid var(--sinal); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(5, 30, 55, .14); }
.faixa-logo img { max-height: 96px; }
.faixa-acao { margin: 1rem 0 0 !important; }
.faixa-loja { margin: 0; }
.faixa-loja img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 30px rgba(5, 30, 55, .18); }
@media (min-width: 900px) {
  .faixa-cliente .wrap { grid-template-columns: 280px 1fr; gap: 2.6rem; }
  .faixa-cliente.com-loja .wrap { grid-template-columns: 250px 1fr 340px; }
}


/* ==================== Versão 3: profundidade, sombreamento e movimento ==================== */
html { scroll-padding-top: 96px; }

/* Cabeçalho fixo, translúcido, com sombra ao rolar e barra de progresso */
.topo { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s ease; }
.topo.rolou { box-shadow: 0 8px 28px rgba(5,30,55,.2); }
.topo .wrap { transition: padding .25s ease; }
.topo.rolou .wrap { padding-block: .3rem; }
.marca img { transition: height .25s ease; }
.topo.rolou .marca img { height: 46px; }
.progresso { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sinal); z-index: 2; }

/* Fotos em tela cheia com camada escura e movimento de profundidade (parallax) */
.bg-parallax { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; z-index: 0;
  background-size: cover; background-position: center; will-change: transform; }
.veu { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.heroi-imersivo { background: var(--petroleo-escuro); padding: clamp(2.8rem, 6vw, 4.6rem) 0 clamp(3.4rem, 6.5vw, 5.4rem); }
.heroi-imersivo::before { z-index: 2; }
.heroi-imersivo .wrap { grid-template-columns: minmax(0, 830px); z-index: 3; }
.heroi-bg { background-image: var(--bg-m); background-position: center 65%; }
.veu-hero { background: linear-gradient(180deg, rgba(4,36,66,.9) 0%, rgba(7,83,148,.82) 60%, rgba(7,83,148,.62) 100%); }
@media (min-width: 700px) {
  .heroi-bg { background-image: var(--bg-d); background-position: center 60%; }
  .veu-hero { background: linear-gradient(100deg, rgba(4,36,66,.95) 0%, rgba(4,36,66,.78) 42%, rgba(7,83,148,.3) 100%); }
}
.heroi-imersivo h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); font-size: clamp(2.5rem, 5.6vw, 4.1rem); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; }
.chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
  padding: .45rem .95rem; font-size: .93rem; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Entrada do topo: uma única sequência ao carregar a página */
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.heroi-texto > * { animation: entrar .75s cubic-bezier(.2,.7,.2,1) both; }
.heroi-texto > :nth-child(2) { animation-delay: .07s; }
.heroi-texto > :nth-child(3) { animation-delay: .14s; }
.heroi-texto > :nth-child(4) { animation-delay: .21s; }
.heroi-texto > :nth-child(5) { animation-delay: .28s; }
.heroi-texto > :nth-child(6) { animation-delay: .35s; }

/* Botões com volume */
.botao { transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.botao:hover { transform: translateY(-2px); }
.botao-whats { box-shadow: 0 8px 22px rgba(15,122,64,.38); }
.botao-escuro { box-shadow: 0 8px 22px rgba(5,30,55,.3); }

/* Seção escura com grade tecnológica e números em vidro */
.secao-escura { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, #04243f 0%, #075394 100%); }
.secao-escura::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.secao-escura .wrap { position: relative; }
.secao-escura h2, .secao-escura .numeros strong { color: #fff; }
.secao-escura .numeros strong { white-space: nowrap; }
.secao-escura .rotulo { color: #F4C3C0; }
.secao-escura .secao-intro, .secao-escura .numeros span { color: #C9D9EA; }
.secao-escura .mais-servico, .secao-escura .mais-servico a { color: #fff; }
.secao-escura .numeros li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-top: 4px solid var(--sinal);
  border-radius: 10px; padding: 1.2rem 1.3rem 1.3rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 16px 36px rgba(0,0,0,.22); }

/* Cartões com relevo */
.pilar { box-shadow: 0 1px 2px rgba(5,30,55,.06), 0 14px 34px rgba(5,30,55,.1); }
.pilar-icone { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, #E9F0F7, #fff); box-shadow: inset 0 0 0 1px var(--linha); }
.pilar:hover, .js .pilar.revelar.visivel:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(5,30,55,.08), 0 24px 46px rgba(5,30,55,.2); }
.pilar { transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; }

/* Galeria com zoom suave */
.galeria .foto { overflow: hidden; border-radius: 10px; box-shadow: 0 14px 32px rgba(5,30,55,.2); }
.galeria img { border-radius: 0; box-shadow: none; transition: transform .7s ease; }
.galeria figure:hover img { transform: scale(1.05); }

/* Cabeçalho das páginas internas em azul profundo */
.miolo-topo { position: relative; overflow: hidden; color: #fff; padding: 3rem 0 3.4rem;
  background: linear-gradient(120deg, #04243f 0%, #075394 100%); border-bottom: 4px solid var(--sinal); }
.miolo-topo::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23A8A6AB' stroke-opacity='.28'%3E%3Cellipse cx='450' cy='300' rx='420' ry='190' transform='rotate(-12 450 300)' stroke-width='22'/%3E%3Cellipse cx='450' cy='300' rx='340' ry='140' transform='rotate(-12 450 300)' stroke-width='2'/%3E%3Cpath d='M470 20L430 580' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -14% center / 820px; }
.miolo-topo .wrap { position: relative; }
.miolo-topo h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.miolo-topo .lead { color: #DCE9F5; }
.miolo-topo .migalhas, .miolo-topo .migalhas a { color: #C9D9EA; }

/* Faixa final de contato com foto */
.chamada { position: relative; overflow: hidden; background: var(--petroleo-escuro); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.chamada .wrap { position: relative; z-index: 2; }
.veu-cta { background: linear-gradient(100deg, rgba(4,36,66,.94), rgba(7,83,148,.7)); }
.chamada .bg-parallax { background-position: center 35%; }

/* Faixa "Nosso cliente" imersiva (foto da loja) */
.faixa-imersiva { position: relative; overflow: hidden; background: var(--petroleo-escuro); border-bottom: 0; color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.faixa-imersiva .wrap { position: relative; z-index: 2; }
.veu-loja { background: linear-gradient(100deg, rgba(4,36,66,.95) 0%, rgba(4,36,66,.74) 52%, rgba(4,36,66,.35) 100%); }
.faixa-imersiva .faixa-titulo, .faixa-imersiva .faixa-texto p { color: #fff; }
.faixa-imersiva .rotulo { color: #F4C3C0; }
.faixa-imersiva .botao-escuro { background: #fff; color: var(--petroleo); }
.faixa-imersiva .faixa-logo { box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.faixa-logo img { width: 100%; max-width: 230px; max-height: 140px; height: auto; object-fit: contain; }
.faixa-imersiva .faixa-logo { min-height: 150px; }

/* Entrada suave dos blocos ao rolar (só com JavaScript) */
.js .revelar { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--atraso, 0s); }
.js .revelar.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .revelar { opacity: 1; transform: none; }
  .bg-parallax { transform: none !important; top: 0; bottom: 0; }
  .heroi-texto > * { animation: none; }
}


/* ==================== Barra "Quem confia no nosso trabalho" ==================== */
.barra-clientes { background: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0; overflow: hidden; border-bottom: 1px solid var(--linha); }
.barra-clientes .cabeca { text-align: center; margin-bottom: 2rem; }
.barra-clientes h2 { margin-bottom: .4rem; }
.barra-clientes .secao-intro { margin: 0 auto; }
.marquee { display: flex; width: 100%; overflow: hidden; padding: .8rem 0 1.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-trilho { flex: none; display: flex; gap: 1.2rem; margin: 0; padding: 0 .6rem; list-style: none; min-width: 100%; justify-content: space-around;
  animation: correr 46s linear infinite; }
.marquee:hover .marquee-trilho { animation-play-state: paused; }
@keyframes correr { to { transform: translateX(-100%); } }
.cliente-item { flex: none; display: grid; place-items: center; min-width: 210px; height: 96px; padding: 0 1.8rem;
  background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; box-shadow: 0 8px 22px rgba(5,30,55,.08);
  transition: transform .2s ease, box-shadow .2s ease; }
.cliente-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(5,30,55,.16); }
.cliente-item span { font: 700 1.4rem/1.1 var(--fonte-titulo); color: var(--petroleo); text-align: center; }
.cliente-item img { display: block; max-height: 58px; max-width: 170px; width: auto; height: auto; filter: grayscale(1); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.cliente-item:hover img { filter: none; opacity: 1; }
.clientes-lista { margin: .4rem auto 0; text-align: center; color: var(--suave); font-size: .95rem; max-width: 46rem; }
@media (prefers-reduced-motion: reduce) {
  .marquee { display: block; -webkit-mask-image: none; mask-image: none; }
  .marquee-trilho { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-copia { display: none; }
}

/* Ajustes da barra de clientes */
.cliente-item { min-width: 220px; height: 104px; }
.cliente-item img { max-height: 68px; max-width: 200px; }
.cliente-texto { display: grid; gap: .25rem; text-align: center; }
.cliente-texto small { font: 500 .82rem/1.2 var(--fonte-texto); color: var(--suave); }
.cliente-item.escuro { background: linear-gradient(135deg, #075394, #04243f); border-color: transparent; }
.cliente-item.escuro img { filter: none; opacity: 1; }

.cliente-img { display: grid; gap: .35rem; justify-items: center; }
.cliente-img img { max-height: 52px; }
.cliente-img small { font: 500 .8rem/1.2 var(--fonte-texto); color: var(--suave); }
.barra-clientes { padding-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.cliente-item.alto { padding: 0 1.4rem; min-width: 190px; }
.cliente-item.alto img { max-height: 88px; max-width: 120px; }


/* ==================== Caixinhas de serviço com imagem ==================== */
.serv-midia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #075394, #04243f); }
.serv-midia img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.serv-midia::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,36,63,0) 55%, rgba(4,36,63,.38) 100%); }
.serv-ilus svg { display: block; width: 100%; height: 100%; }

.cartoes-serv { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.cartao-serv { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--tinta); box-shadow: 0 1px 2px rgba(5,30,55,.06), 0 14px 32px rgba(5,30,55,.1);
  transition: transform .25s ease, box-shadow .25s ease, opacity .65s ease; }
.cartao-serv:hover, .js .cartao-serv.revelar.visivel:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(5,30,55,.08), 0 24px 46px rgba(5,30,55,.2); }
.cartao-serv:hover .serv-midia img, .pilar:hover .serv-midia img { transform: scale(1.06); }
.cartao-serv-corpo { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1.1rem 1.25rem 1.35rem; }
.cartao-serv h3 { margin: 0; font-size: 1.5rem; }
.cartao-serv p { margin: 0; color: var(--suave); font-size: .97rem; }
.cartao-serv .ver { margin-top: auto; padding-top: .7rem; font-weight: 600; color: var(--petroleo); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 600px) { .cartao-serv { width: calc(50% - .7rem); } }
@media (min-width: 1000px) { .cartao-serv { width: calc(25% - 1.05rem); } }

/* Frentes de atuação da página inicial com imagem no topo */
.pilar { padding: 0; overflow: hidden; }
.pilar .serv-midia { border-bottom: 1px solid var(--linha); }
.pilar-corpo { padding: 1.3rem 1.6rem 1.6rem; }
.pilar-corpo h3 { margin-top: 0; }

.nota-imagens { margin: 1.4rem 0 0; font-size: .88rem; color: var(--suave); text-align: center; }
.mais-servico + .nota-imagens { text-align: left; margin-top: .4rem; }
