/* =====================================================================
   FLUXO — layout do rebrand (out/2026)
   ---------------------------------------------------------------------
   A página é um encanamento vivo: um tubo desce pela página e a água
   avança conforme a rolagem; cada seção é uma conexão que acende quando
   a água chega. Hero com luz líquida e tipografia gigante.
   Paleta: azul-petróleo profundo, água ciano, amarelo de sinalização.
   Tipos: Unbounded (títulos), Manrope (texto).
   Tudo que se move respeita prefers-reduced-motion.
   ===================================================================== */

/* Fontes hospedadas no próprio site e pré-carregadas no <head>: chegam antes
   da primeira pintura e o título não "pula" quando a fonte troca (CLS). */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/public/fonts/unbounded-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/public/fonts/manrope-latin.woff2) format('woff2'); }

:root {
  --abismo: #030B16;
  --fundo: #061426;
  --fundo2: #0A1D36;
  --painel: rgba(233, 251, 255, .045);
  --painel-borda: rgba(140, 200, 255, .14);
  --linha: rgba(140, 200, 255, .12);
  --agua: #3BE0FF;
  --agua2: #1E7BFF;
  --luz: #E9FBFF;
  --texto: #C6D7EA;
  --mut: #8FA6C2;
  --sinal: #FFD32A;
  --zap: #21D07A;
  --brasa: #FF5A36;

  --disp: 'Unbounded', system-ui, sans-serif;
  --txt: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --conteudo: 1240px;
  --gutter: 20px;
  --recuo: 0px;          /* distância do tubo até o texto */
  --topo: 92px;          /* altura reservada pro header flutuante */
}
@media (min-width: 981px) { :root { --recuo: 96px; } }
@media (max-width: 980px) { :root { --recuo: 40px; --topo: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topo); }
body {
  margin: 0; background: var(--abismo); color: var(--luz);
  font-family: var(--txt); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (max-width: 780px) { body { padding-bottom: 88px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--agua); color: var(--abismo); }
:focus-visible { outline: 3px solid var(--sinal); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sinal); color: #151100; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.pular:focus { top: 12px; }

/* grão de filme sutil */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grao 1.2s steps(6) infinite;
}
@keyframes grao { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

.wrap { width: min(var(--conteudo), calc(100% - 2 * var(--gutter))); margin: 0 auto; }

/* ------------------------------------------------------------- tipos */
.t-h1 {
  font-family: var(--disp); font-weight: 900; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(32px, 8.2vw, 120px); margin: 0; overflow-wrap: break-word; hyphens: manual;
}
.t-h1--longo { font-size: clamp(30px, 5.6vw, 84px); line-height: .96; }
.t-h1 .p { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.t-h1 .p > span { display: inline-block; transform: translateY(105%); animation: sobe .95s cubic-bezier(.2,.9,.1,1) forwards; }
.t-h1 em { font-style: normal; background: linear-gradient(100deg, var(--luz) 0%, var(--agua) 35%, var(--agua2) 70%, var(--luz) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brilho 7s linear infinite; }
@keyframes sobe { to { transform: none; } }
@keyframes brilho { to { background-position: -200% 0; } }

.t-h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 4vw, 60px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 22px; max-width: 980px; overflow-wrap: normal; word-break: normal; hyphens: none; }
.faixa .t-h2, .split .t-h2, .duvidas .t-h2 { font-size: clamp(26px, 3.1vw, 48px); }
.t-h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(19px, 1.4vw, 24px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 10px; }
.t-lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: var(--texto); max-width: 680px; }

/* traço de conexão acima do título (decorativo, sem texto) */
.conexao { display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--agua); box-shadow: 0 0 12px var(--agua); margin-bottom: 22px; }

/* ------------------------------------------------------------- botões */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--txt); font-weight: 700; font-size: 15px; line-height: 1.15; text-align: center;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--zap { background: var(--zap); color: #032414; animation: pulso 2.8s infinite; }
.btn--zap:hover { background: #2BE58A; }
.btn--sinal, .btn--amarelo { background: var(--sinal); color: #151100; }
.btn--sinal:hover, .btn--amarelo:hover { background: #FFE05C; }
.btn--vidro, .btn--linha { background: rgba(233,251,255,.06); border-color: rgba(233,251,255,.2); color: var(--luz); }
.btn--vidro:hover, .btn--linha:hover { background: rgba(233,251,255,.12); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
@keyframes pulso { 0%{box-shadow:0 0 0 0 rgba(33,208,122,.45)} 70%{box-shadow:0 0 0 16px rgba(33,208,122,0)} 100%{box-shadow:0 0 0 0 rgba(33,208,122,0)} }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .botoes .btn { flex: 1 1 100%; white-space: normal; } }

/* ------------------------------------------------------------- header */
.topo {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--conteudo), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(6,20,38,.62); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--linha);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.marca__logo { height: 34px; width: auto; max-width: 84px; object-fit: contain; border-radius: 8px; flex: none; }
.marca__nome { font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu { display: none; gap: 24px; font-size: 14px; color: var(--mut); }
.menu a { text-decoration: none; }
.menu a:hover { color: var(--luz); }
@media (min-width: 1100px) { .menu { display: flex; } }
.topo__acoes { display: flex; gap: 8px; flex: none; }
.tel-topo { display: none; }
@media (min-width: 760px) { .tel-topo { display: inline-flex; } }

/* barra de contato fixa no celular */
.barra-contato {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 26px;
  background: rgba(6,20,38,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--linha);
}
@media (max-width: 780px) { .barra-contato { display: grid; } }
.barra-contato .btn { animation: none; }

/* ------------------------------------------------------------- migalhas */
.migalhas ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--mut); }
.migalhas li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.migalhas a { text-decoration: none; }
.migalhas a:hover { color: var(--agua); }
.migalhas [aria-current] { color: var(--agua); }

/* ------------------------------------------------------------- HERO */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.caustica { position: absolute; inset: -10%; z-index: -2; filter: url(#liquido) saturate(140%); }
.caustica b { position: absolute; border-radius: 50%; filter: blur(40px); mix-blend-mode: screen; opacity: .85; }
.caustica b:nth-child(1) { width: 60vw; height: 60vw; left: -10vw; top: -15vw; background: radial-gradient(circle, #1E7BFF 0%, transparent 65%); animation: deriva1 18s ease-in-out infinite alternate; }
.caustica b:nth-child(2) { width: 50vw; height: 50vw; right: -12vw; top: 10vh; background: radial-gradient(circle, #3BE0FF 0%, transparent 62%); animation: deriva2 22s ease-in-out infinite alternate; }
.caustica b:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #0E4FD8 0%, transparent 60%); animation: deriva3 16s ease-in-out infinite alternate; }
@keyframes deriva1 { to { transform: translate(18vw,12vh) scale(1.2); } }
@keyframes deriva2 { to { transform: translate(-20vw,18vh) scale(.85); } }
@keyframes deriva3 { to { transform: translate(-14vw,-22vh) scale(1.3); } }
@media (max-width: 780px) { .caustica { filter: none; } .caustica b { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 120%, var(--abismo) 20%, transparent 60%), linear-gradient(180deg, rgba(3,11,22,.25), rgba(3,11,22,.55) 70%, var(--abismo)); }
.hero__in { width: min(var(--conteudo), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: calc(var(--topo) + 40px) 0 72px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); column-gap: 56px; row-gap: 36px; align-items: end; }
.hero__titulo { grid-column: 1 / -1; min-width: 0; }
.hero__in > :not(.hero__titulo) { align-self: center; min-width: 0; }
@media (max-width: 980px) { .hero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; } }
.hero .t-lead { opacity: 0; animation: aparece .9s .5s forwards; margin: 0; }
.hero .botoes { opacity: 0; animation: aparece .9s .65s forwards; }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ramais: links pras páginas irmãs */
.ramais { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; opacity: 0; animation: aparece .9s .8s forwards; }
.ramais a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--painel-borda); background: var(--painel); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--texto); }
.ramais a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 8px var(--agua); flex: none; }
.ramais a:hover { color: var(--luz); border-color: var(--agua); }

/* cartão do hero: foto + anel de 20 min */
.despacho { position: relative; border-radius: 30px; padding: 14px; background: linear-gradient(160deg, rgba(233,251,255,.10), rgba(233,251,255,.02)); border: 1px solid rgba(233,251,255,.16); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; animation: aparece 1s .75s forwards; }
.despacho__foto { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #0B2A4F, #06162B); }
.despacho__foto img { width: 100%; height: 100%; object-fit: cover; }
.anel { display: flex; align-items: center; gap: 18px; padding: 18px 10px 6px; }
.anel svg { width: 92px; height: 92px; flex: none; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 8; }
.anel .trilho { stroke: rgba(233,251,255,.1); }
.anel .giro { stroke: url(#gAgua); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; animation: enche 3s 1.1s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes enche { to { stroke-dashoffset: 52; } }
.anel strong { font-family: var(--disp); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.anel strong small { font-size: 16px; margin-left: 4px; color: var(--agua); }
.anel p { margin: 6px 0 0; color: var(--mut); font-size: 14px; }

/* ------------------------------------------------- O TUBO da página */
.rede { position: relative; }
.tubo { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; overflow: visible; }
.tubo .casca { fill: none; stroke: #0E2442; stroke-width: 24; stroke-linecap: round; }
.tubo .brilho { fill: none; stroke: rgba(233,251,255,.06); stroke-width: 4; stroke-linecap: round; transform: translate(-5px, -2px); }
.tubo .agua { fill: none; stroke: url(#gAguaV); stroke-width: 11; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(59,224,255,.7)); }
.tubo .junta .flange { fill: #071629; stroke: #14335A; stroke-width: 6; transition: stroke .5s; }
.tubo .junta .nucleo { fill: #0E2442; transition: fill .5s; }
.tubo .junta.cheia .flange { stroke: #1E7BFF; }
.tubo .junta.cheia .nucleo { fill: #3BE0FF; }
.gota { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(circle at 35% 35%, #fff, var(--agua) 45%, var(--agua2)); box-shadow: 0 0 22px 6px rgba(59,224,255,.6); }

/* ------------------------------------------------------------- seções */
.secao { position: relative; z-index: 3; padding: clamp(64px, 8vw, 112px) 0; }
.secao > .wrap { padding-left: var(--recuo); }
.secao--compacta { padding: 40px 0; }
.cabeca { margin-bottom: 40px; max-width: 900px; }
.cabeca--larga { max-width: none; }
.cabeca .t-lead + .t-lead { margin-top: 14px; }
.js .revela { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.js .revela.on { opacity: 1; transform: none; }

/* ---------------------------------------------- números que giram */
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); margin: 0; padding: 0; list-style: none; }
@media (max-width: 780px) { .numeros { grid-template-columns: 1fr; } }
.numero { padding: 40px 28px 40px 0; min-width: 0; }
.numero + .numero { padding-left: 28px; border-left: 1px solid var(--linha); }
@media (max-width: 780px) { .numero + .numero { border-left: 0; border-top: 1px solid var(--linha); padding-left: 0; } .numero { padding: 28px 0; } }
.numero__v { display: flex; align-items: flex-start; font-family: var(--disp); font-weight: 800; font-size: clamp(52px, 6vw, 96px); letter-spacing: -.05em; line-height: 1; height: 1em; overflow: hidden; }
.numero__v small { font-size: .32em; color: var(--agua); margin: .25em 0 0 .2em; letter-spacing: 0; }
.numero__v--nome { height: auto; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.05; overflow-wrap: anywhere; padding-top: .35em; }
.rolo { display: inline-block; transition: transform 1.6s cubic-bezier(.15,.9,.1,1); }
.rolo span { display: block; height: 1em; }
.numero__t { margin: 14px 0 0; color: var(--mut); font-size: 16px; }

/* ---------------------------------------------- serviços: trilho lateral
   Com JS (.trilho-h--lateral): a área dos cards fica presa na tela (sticky) e
   a rolagem vertical empurra os cards para o lado; cada card entra pela
   direita (o JS escreve --p de 0 a 1 em cada um).
   Sem JS, com movimento reduzido ou tela baixa: grade comum, tudo parado. */
.trilho-h { position: relative; z-index: 3; padding: clamp(64px, 8vw, 112px) 0; }
.trilho-h__cab > .wrap { padding-left: var(--recuo); }
.cards-h {
  display: grid; gap: 22px; margin: 0 auto; list-style: none;
  width: min(var(--conteudo), calc(100% - 2 * var(--gutter)));
  padding: 8px 0 0 var(--recuo);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .cards-h { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.card-s {
  --p: 1;
  position: relative; overflow: hidden; border-radius: 34px; border: 1px solid var(--linha);
  background: linear-gradient(170deg, #0D2748, #06162B 70%);
  min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; isolation: isolate;
}
@media (min-width: 760px) { .card-s { min-height: 600px; padding: 36px; } }
.card-s__foto { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.card-s__foto img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.card-s:hover .card-s__foto img { filter: brightness(1.08); }
.card-s__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,11,22,.05) 0%, rgba(3,11,22,.2) 40%, rgba(3,11,22,.94) 76%); }
.card-s__ico { position: absolute; top: 26px; left: 26px; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: rgba(3,11,22,.5); border: 1px solid rgba(59,224,255,.45); color: var(--agua); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card-s__ico svg { width: 34px; height: 34px; }
.card-s__n { position: absolute; right: 22px; top: 8px; font-family: var(--disp); font-weight: 900; font-size: clamp(90px, 9vw, 150px); line-height: 1; color: rgba(233,251,255,.1); letter-spacing: -.06em; }
.card-s .t-h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; margin-bottom: 14px; max-width: 18ch; }
.card-s p { margin: 0; color: #D3DFEE; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; max-width: 46ch; }
.trilho-h__rodape { display: none; }

/* --- modo lateral */
.trilho-h--lateral { padding-bottom: 0; }
.trilho-h--lateral .trilho-h__vista {
  position: sticky; top: var(--topo); height: calc(100vh - var(--topo));
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px); mask-image: linear-gradient(90deg, transparent 0, #000 56px);
  /* a janela começa na linha do conteúdo: os cards somem antes de chegar ao tubo */
  margin-left: calc(max(var(--gutter), (100% - var(--conteudo)) / 2) + var(--recuo));
}
.trilho-h--lateral .cards-h {
  display: flex; gap: 28px; width: max-content; margin: 0;
  /* começa deslocado: só o 1º card inteiro, os outros entram um a um;
     termina com o último card alinhado à coluna do conteúdo */
  padding: 0 max(var(--gutter), (100vw - var(--conteudo)) / 2) 0 30%;
  will-change: transform;
}
.trilho-h--lateral .card-s {
  flex: 0 0 auto; width: min(580px, 42vw); min-height: 0;
  height: clamp(440px, calc(100vh - var(--topo) - 110px), 660px);
  opacity: calc(.08 + .92 * var(--p));
  transform: translate3d(calc((1 - var(--p)) * 160px), calc((1 - var(--p)) * 36px), 0) scale(calc(.84 + .16 * var(--p)));
  transform-origin: 0 100%;
  will-change: transform, opacity;
}
.trilho-h--lateral .card-s__foto img { transform: translate3d(calc((1 - var(--p)) * -60px), 0, 0) scale(1.12); }
.trilho-h--lateral .trilho-h__rodape {
  display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter) 0 56px; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--mut);
}
.trilho-h__conta b { color: var(--agua); font-weight: 800; }
.trilho-h__barra { position: relative; flex: 0 1 260px; height: 3px; border-radius: 3px; background: rgba(233,251,255,.12); overflow: hidden; }
.trilho-h__barra i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--agua), #7CF3FF); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }
@media (max-width: 759px) {
  .trilho-h--lateral .cards-h { gap: 16px; padding-left: 0; }
  .trilho-h--lateral .trilho-h__rodape { padding-left: 28px; }
  .trilho-h--lateral .trilho-h__vista { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px); mask-image: linear-gradient(90deg, transparent 0, #000 24px); }
  .trilho-h--lateral .card-s { width: min(82vw, 380px); height: clamp(440px, calc(100vh - var(--topo) - 100px), 560px); padding: 26px; }
  .trilho-h--lateral .card-s { transform: translate3d(calc((1 - var(--p)) * 70px), calc((1 - var(--p)) * 24px), 0) scale(calc(.9 + .1 * var(--p))); }
}

/* ---------------------------------------------- texto + foto */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; } .split--inverso .split__midia { order: -1; } }
.split .cabeca { margin-bottom: 0; }
.split__midia { position: relative; border-radius: 30px; padding: 12px; border: 1px solid var(--painel-borda); background: var(--painel); }
.split__midia img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }

/* ---------------------------------------------- faixa de emergência (sirene) */
.faixa { position: relative; z-index: 3; padding: 30px 0; }
/* mesma coluna das outras seções: começa depois do tubo, nunca por cima dele */
.faixa__trilho { width: min(var(--conteudo), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-left: var(--recuo); }
.faixa__caixa { position: relative; isolation: isolate; overflow: hidden; border-radius: 44px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: linear-gradient(135deg, #1A0B12, #2B0F12 50%, #12081A); }
.faixa__caixa::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,90,54,.6) 80%, transparent 90%); animation: sirene 3.6s linear infinite; }
.faixa__caixa::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 42px; background: radial-gradient(60% 80% at 15% 0%, rgba(255,90,54,.20), transparent 60%), linear-gradient(135deg, #1A0B12 0%, #200C12 60%, #12081A); }
@keyframes sirene { to { transform: rotate(360deg); } }
.faixa__texto { padding: clamp(40px, 6vw, 88px); min-width: 0; }
.faixa__texto .conexao { background: #FF8A6B; box-shadow: 0 0 12px var(--brasa); }
.faixa__texto .t-lead { color: #E8D6D6; }
.faixa__foto { position: relative; margin: 14px 14px 14px 0; border-radius: 32px; overflow: hidden; min-height: 320px; }
.faixa__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faixa__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,12,18,.55), transparent 40%); }
@media (max-width: 900px) { .faixa__caixa { grid-template-columns: 1fr; border-radius: 30px; } .faixa__caixa::after { border-radius: 28px; } .faixa__foto { margin: 0 14px 14px; min-height: 240px; } }
.faixa .par, .faixa .passo { border-color: rgba(255,138,107,.3); }
/* dentro da faixa a coluna de texto é estreita: passos e pares um embaixo do outro */
.faixa .passos, .faixa .pares { grid-template-columns: 1fr; }
.faixa .passo { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.faixa .passo::before { grid-row: span 2; margin: 0; font-size: 34px; }
.faixa .indice a { color: #E8D6D6; }

/* ---------------------------------------------- cartões com foto (bento) */
.bento { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .bento--2 { grid-template-columns: 1fr 1fr; } .bento--3 { grid-template-columns: 1.25fr 1fr; } .bento--3 > :first-child { grid-row: span 2; } }
.cartao { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; border: 1px solid var(--painel-borda); background: var(--painel); }
.cartao__midia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cartao__midia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.cartao:hover .cartao__midia img { transform: scale(1.04); }
@media (min-width: 760px) { .bento--3 > :first-child .cartao__midia { flex: 1; aspect-ratio: auto; min-height: 300px; } }
/* ícone dentro da foto, no canto (antes ficava metade pra fora e era cortado) */
.cartao__selo { position: absolute; left: 16px; top: 16px; z-index: 2; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(3,11,22,.55); border: 1px solid rgba(59,224,255,.45); color: var(--agua); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cartao__selo svg { width: 28px; height: 28px; }
.cartao__corpo { padding: 22px 22px 24px; }
.cartao__corpo p { color: var(--texto); margin: 0; font-size: 16px; }
.lista-simples { list-style: none; margin: 0; padding: 0; font-family: var(--disp); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; }

/* ---------------------------------------------- pares / passos */
.pares { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 760px) { .pares { grid-template-columns: 1fr 1fr; } }
.par { padding: 26px; border-radius: 24px; border: 1px solid var(--painel-borda); background: rgba(233,251,255,.035); }
.par p { color: var(--texto); margin: 0; }

.passos { counter-reset: passo; display: grid; gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .passos { grid-template-columns: repeat(3, 1fr); } }
.passo { counter-increment: passo; padding: 26px; border-radius: 24px; border: 1px solid var(--painel-borda); background: rgba(233,251,255,.035); }
.passo::before { content: counter(passo, decimal-leading-zero); display: block; font-family: var(--disp); font-weight: 900; font-size: 44px; line-height: 1; color: var(--agua); margin-bottom: 18px; letter-spacing: -.05em; }
.passo p { color: var(--texto); margin: 0; }

.medidores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.medidor { padding: 20px; border-radius: 20px; border: 1px solid var(--painel-borda); background: var(--painel); min-width: 0; }
.medidor__n { font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.04em; color: var(--agua); }
.medidor__r { color: var(--mut); margin: 4px 0 0; }
.embed { margin-top: 28px; }

/* ---------------------------------------------- depoimentos */
.depoimentos-wrap { display: grid; gap: 22px; }
@media (min-width: 1000px) { .depoimentos-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: stretch; } }
.depoimentos-wrap .split__midia img { aspect-ratio: 16 / 11; }
@media (min-width: 1000px) { .depoimentos-wrap .split__midia img { aspect-ratio: auto; height: 100%; min-height: 300px; } }
.depoimentos { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .depoimentos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.depoimento { position: relative; height: 100%; margin: 0; padding: 64px 26px 26px; border-radius: 28px; border: 1px solid var(--painel-borda); background: var(--painel); }
.depoimento::before { content: "\201C"; position: absolute; left: 22px; top: 2px; font-family: var(--disp); font-weight: 900; font-size: 84px; line-height: 1; color: var(--agua); text-shadow: 0 0 24px rgba(59,224,255,.5); }
.depoimento blockquote { margin: 0 0 16px; font-size: 17px; line-height: 1.6; color: var(--luz); }
.depoimento figcaption { color: var(--mut); font-weight: 600; font-size: 14px; }

/* ---------------------------------------------- dúvidas */
.duvidas { display: grid; gap: 36px; }
@media (min-width: 980px) { .duvidas { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } .duvidas__lado { position: sticky; top: calc(var(--topo) + 20px); } }
.duvidas__lado .split__midia { margin-top: 26px; }
.duvidas__lado .split__midia img { aspect-ratio: 16 / 11; }
.perguntas { display: grid; gap: 12px; }
.pergunta { border-radius: 22px; border: 1px solid var(--painel-borda); background: var(--painel); transition: border-color .3s; }
.pergunta[open] { border-color: rgba(59,224,255,.45); }
.pergunta summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px; }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta__q { margin: 0; font-family: var(--disp); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.pergunta__mais { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--painel-borda); }
.pergunta__mais::before, .pergunta__mais::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--agua); transform: translate(-50%, -50%); transition: transform .25s; }
.pergunta__mais::after { transform: translate(-50%, -50%) rotate(90deg); }
.pergunta[open] .pergunta__mais::after { transform: translate(-50%, -50%) rotate(0); }
.pergunta__resp { padding: 0 24px 24px; color: var(--texto); }

/* ---------------------------------------------- índices (bairros, cidades, vias) */
.correnteza { position: relative; z-index: 3; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.correnteza__fita { display: flex; gap: 12px; width: max-content; animation: corre 60s linear infinite; }
.correnteza--volta .correnteza__fita { animation-direction: reverse; animation-duration: 72s; }
.correnteza span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--linha); background: rgba(233,251,255,.03); font-weight: 600; font-size: 17px; white-space: nowrap; color: var(--texto); }
.correnteza span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 10px var(--agua); }
@keyframes corre { to { transform: translateX(-50%); } }
.correntezas { margin: 8px 0 34px; }

.indice { columns: 2 12rem; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .indice { columns: 4 13rem; } }
.indice li { break-inside: avoid; padding: 6px 0; line-height: 1.35; }
.indice a { color: var(--texto); text-decoration: none; font-weight: 600; }
.indice a:hover { color: var(--agua); }
.rolagem { max-height: 26rem; overflow-y: auto; padding: 22px 24px; border-radius: 24px; border: 1px solid var(--painel-borda); background: var(--painel); scrollbar-color: var(--agua) transparent; }

/* índice A–Z da UF */
.letras { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.letras a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--painel-borda); background: var(--painel); font-family: var(--disp); font-weight: 800; text-decoration: none; }
.letras a:hover { border-color: var(--agua); color: var(--agua); }
.letra-grupo { padding-top: 22px; margin-top: 14px; border-top: 1px solid var(--linha); }
.letra-grupo__l { font-family: var(--disp); font-weight: 900; font-size: 40px; line-height: 1; color: var(--agua); margin: 0 0 12px; text-shadow: 0 0 24px rgba(59,224,255,.4); }

/* estados (home) */
.regioes { display: grid; gap: 34px; }
.regiao__t { margin-bottom: 14px; }
.ufs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ufs a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--painel-borda); background: var(--painel); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .25s; }
.ufs a:hover { border-color: var(--agua); transform: translateY(-2px); }
.ufs__sigla { font-family: var(--disp); font-weight: 800; color: var(--agua); min-width: 2em; }

/* ---------------------------------------------- rodapé */
.rodape { position: relative; z-index: 3; margin-top: 60px; padding: 64px 0 36px; border-top: 1px solid var(--linha); background: linear-gradient(180deg, transparent, rgba(30,123,255,.06)); }
.rodape__grid { display: grid; gap: 34px; }
@media (min-width: 860px) { .rodape__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.rodape .marca__nome { font-size: 17px; }
.rodape__aviso { color: var(--mut); margin-top: 18px; font-size: 15px; max-width: 460px; }
.rodape__cnpj { color: var(--mut); font-size: 14px; }
.rodape__rotulo { font-size: 13px; letter-spacing: .04em; color: var(--mut); margin-bottom: 8px; }
.rodape__tel { font-family: var(--disp); font-weight: 800; font-size: 24px; text-decoration: none; letter-spacing: -.03em; }
.rodape__zap { color: var(--zap); text-decoration: none; font-weight: 600; }
.rodape__horario { font-weight: 700; margin-bottom: 2px; }
.rodape__sub { color: var(--mut); font-size: 15px; }
.rodape__grid a:not(.marca):not(.rodape__tel):not(.rodape__zap) { color: var(--texto); text-decoration: none; }
.rodape__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--mut); }

/* ---------------------------------------------- 404 / quem somos */
.hero--curto { min-height: 72svh; }

/* ---------------------------------------------- movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .t-h1 .p > span, .hero .t-lead, .hero .botoes, .ramais, .despacho { transform: none !important; opacity: 1 !important; }
  .anel .giro { stroke-dashoffset: 52; }
  .js .revela { opacity: 1; transform: none; }
}
