/* DryLive — visual do site (versão 2: maquete interativa e fotos).
   Celular primeiro; os blocos @media abrem o layout em telas maiores.
   Cores: azul-petróleo escuro (fundo), azul do logo, amarelo de faixa de demarcação (ação). */

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --noite: #0a2329;
  --noite-2: #0f3138;
  --noite-3: #16414a;
  --azul: #12648a;
  --azul-escuro: #0c4a68;
  --azul-claro: #0b95d0;
  --ceu: #4fc8f0;
  --faixa: #ffc21f;
  --faixa-clara: #ffd04d;
  --concreto: #f3f2ed;
  --concreto-2: #e4e2d9;
  --papel: #ffffff;
  --tinta: #0f2228;
  --texto: #33474d;
  --linha: #d5dbd8;
  --raio: 18px;
  --largura: 1200px;
  --topo-h: 64px;
  --titulo: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --suave: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 1.75rem); }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--azul-escuro); }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titulo); font-stretch: 88%; line-height: 1.05; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 8.6vw, 4rem); font-weight: 800; line-height: .98; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; font-stretch: 95%; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.miolo { width: min(100% - 2rem, var(--largura)); margin-inline: auto; }
.estreito { max-width: 760px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 0; background: var(--tinta); color: #fff; padding: .6rem 1rem; z-index: 60; }
.pular:focus { left: .5rem; top: .5rem; }
.icone { width: 1.25em; height: 1.25em; flex: none; }

.olho {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem;
  font: 700 .8rem/1.2 var(--titulo); font-stretch: 108%; letter-spacing: .14em; text-transform: uppercase; color: var(--azul);
}
.olho::before { content: ""; flex: none; width: 2rem; height: 3px; background: var(--faixa); }
.olho a { color: inherit; }
.lide { font-size: 1.12rem; max-width: 62ch; margin-bottom: 1.6rem; }
.link-seta { font-weight: 700; text-decoration: none; }
.link-seta::after, .seta::after { content: " →"; display: inline-block; margin-left: .25em; transition: transform .2s; }
.link-seta:hover::after, a:hover .seta::after { transform: translateX(4px); }
.seta { margin-top: auto; font: 700 .95rem var(--titulo); color: var(--azul); }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 12px;
  font: 750 1rem/1.15 var(--titulo); letter-spacing: .005em; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.botao .icone { width: 1.15em; height: 1.15em; transition: transform .2s; }
.botao:hover .icone { transform: translateX(3px); }
.botao:active { transform: translateY(1px); }
.botao-faixa { background: var(--faixa); color: var(--tinta); box-shadow: 0 10px 26px -12px rgb(255 194 31 / .75); }
.botao-faixa:hover { background: var(--faixa-clara); color: var(--tinta); transform: translateY(-2px); }
.botao-vidro { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .36); color: #fff; }
.botao-vidro:hover { background: rgb(255 255 255 / .16); border-color: #fff; color: #fff; }
.botao-escuro { background: var(--tinta); color: #fff; }
.botao-escuro:hover { background: var(--azul-escuro); color: #fff; transform: translateY(-2px); }
.botao-linha { background: transparent; border-color: currentColor; color: inherit; }
.botao-linha:hover { background: rgb(15 34 40 / .08); color: inherit; }
.botao-pequeno { min-height: 44px; padding: .5rem 1rem; font-size: .94rem; }
.botao-largo { width: 100%; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Topo: cápsula clara que flutua sobre a página */
.topo { position: fixed; top: .6rem; left: 0; right: 0; z-index: 40; pointer-events: none; }
.topo-capsula {
  pointer-events: auto;
  width: min(100% - 1.2rem, var(--largura)); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem;
  min-height: var(--topo-h); padding: .45rem .55rem .45rem 1rem;
  border-radius: 16px; background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px rgb(4 20 24 / .2), 0 0 0 1px rgb(15 34 40 / .06);
  transition: box-shadow .3s;
}
.marca img { width: 138px; }
.menu-botao {
  display: none; align-items: center; gap: .6rem; min-height: 46px; padding: .4rem .95rem;
  border: 0; border-radius: 11px; background: var(--tinta); color: #fff; font: 700 .95rem var(--titulo); cursor: pointer;
}
.menu-icone { position: relative; width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; }
.menu-icone::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
.menu { width: 100%; padding: .2rem 0 .4rem; }
.menu ul { display: flex; flex-direction: column; gap: .1rem; }
.menu a:not(.botao) { display: flex; align-items: center; min-height: 48px; padding: .4rem .3rem; color: var(--tinta); font: 650 1rem var(--titulo); text-decoration: none; border-bottom: 1px solid var(--linha); }
.menu a:not(.botao):hover, .menu a[aria-current="page"] { color: var(--azul); }
.menu .botao { margin-top: .7rem; width: 100%; }
.js .menu-botao { display: inline-flex; }
.js .menu { display: none; }
.js .menu.aberto { display: block; }

/* Abertura: a maquete */
.abertura {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--noite); color: #fff;
  padding-top: calc(var(--topo-h) + 2.2rem);
  /* lidos pelo JavaScript: aproximação, ponto de foco no visor e se a ficha cobre parte do visor */
  --zoom: 2; --foco-x: .5; --foco-y: .5; --livre: 0;
}
.abertura-fundo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 70% 45%, #1e4249 0%, #133439 46%, var(--noite) 100%); }
.abertura-fundo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 70% at 22% 28%, #000, transparent 78%); mask-image: radial-gradient(75% 70% at 22% 28%, #000, transparent 78%);
}
.abertura-grade { display: grid; gap: 1.3rem; }
.abertura-texto { order: 1; padding-inline: 1rem; }
.abertura .olho { color: var(--ceu); font-size: .7rem; letter-spacing: .1em; gap: .55rem; }
.abertura .olho::before { width: 1.4rem; }
.abertura .lide { margin-bottom: 1.2rem; }
.destaque-responsavel {
  margin: 0 0 .55rem; padding-left: .8rem; border-left: 4px solid var(--faixa);
  font: 750 1.12rem/1.3 var(--titulo); font-stretch: 95%; color: #fff;
}
.abertura-texto .botao-vidro { display: none; }
.abertura h1 em { font-style: normal; color: var(--faixa); }
.abertura .lide { color: #cfe1e3; max-width: 34rem; }
.palco { display: contents; }
.visor {
  order: 2; position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 93%, transparent);
  mask-composite: intersect;
}
.inclina {
  position: absolute; inset: 0;
  transform: perspective(1400px) rotateX(calc(var(--ry, 0) * 1deg)) rotateY(calc(var(--rx, 0) * 1deg));
  transition: transform .6s var(--suave);
  animation: chega 1.4s var(--suave) both;
}
.camera {
  position: absolute; inset: 0; transform-origin: 0 0;
  transform: translate(calc(var(--tx, 0) * 1%), calc(var(--ty, 0) * 1%)) scale(var(--z, 1));
  transition: transform 1.15s cubic-bezier(.3, .75, .2, 1);
  will-change: transform;
}
.maquete {
  width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 92%, transparent);
  mask-composite: intersect;
}
.visor::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(circle at calc(var(--luz-x, 50) * 1%) calc(var(--luz-y, 50) * 1%), transparent 0, transparent 15%, rgb(5 22 26 / .66) 54%);
}
.focado .visor::after { opacity: 1; }
.visor .selo-ilustra { left: 1rem; right: auto; bottom: .9rem; }

.pontos { position: absolute; inset: 0; }
.ponto {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 1.7rem; height: 1.7rem; margin: -.85rem 0 0 -.85rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgb(10 35 41 / .88); border: 2px solid var(--faixa); color: #fff;
  font: 800 .78rem/1 var(--titulo); text-decoration: none;
  box-shadow: 0 4px 14px rgb(0 0 0 / .45);
  transform: scale(calc(1 / var(--z, 1)));
  transition: background .25s, color .25s, opacity .4s, box-shadow .25s, transform 1.15s cubic-bezier(.3, .75, .2, 1);
  animation: surge .5s var(--suave) backwards; animation-delay: calc(.7s + var(--i) * .07s);
}
.ponto::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--faixa);
  animation: pulsa 2.6s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: calc(var(--i) * .28s);
}
.ponto::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.ponto:hover, .ponto:focus-visible { background: var(--faixa); color: var(--tinta); z-index: 3; }
.ponto[aria-current="true"] { background: var(--faixa); color: var(--tinta); z-index: 2; box-shadow: 0 0 0 7px rgb(255 194 31 / .26), 0 4px 14px rgb(0 0 0 / .45); }
.focado .ponto:not([aria-current="true"]) { opacity: .55; }
.focado .ponto:not([aria-current="true"])::before { animation: none; opacity: 0; }
.ponto-rotulo {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px);
  padding: .42rem .7rem; border-radius: 8px; background: #fff; color: var(--tinta);
  font: 700 .82rem/1.2 var(--titulo); white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .2s, transform .2s; box-shadow: 0 8px 20px rgb(0 0 0 / .35);
}
.ponto-rotulo small { font: inherit; font-weight: 500; color: var(--texto); }
.ponto[data-lado="d"] .ponto-rotulo { left: auto; right: -10px; transform: translate(0, 6px); }
.ponto[data-lado="e"] .ponto-rotulo { left: -10px; transform: translate(0, 6px); }
@media (hover: hover) {
  .ponto:hover .ponto-rotulo, .ponto:focus-visible .ponto-rotulo { opacity: 1; transform: translate(-50%, 0); }
  .ponto[data-lado="d"]:hover .ponto-rotulo, .ponto[data-lado="d"]:focus-visible .ponto-rotulo,
  .ponto[data-lado="e"]:hover .ponto-rotulo, .ponto[data-lado="e"]:focus-visible .ponto-rotulo { transform: none; }
}

.selo-ilustra {
  position: absolute; right: .7rem; bottom: .6rem; z-index: 2; margin: 0; padding: .28rem .6rem;
  border-radius: 6px; background: rgb(8 28 33 / .68); color: #d7e6e8;
  font: 600 .66rem/1.3 var(--titulo); letter-spacing: .08em; text-transform: uppercase;
}
.selo-ilustra span { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Fichas dos serviços (aparecem quando um ponto é escolhido) */
.fichas { order: 4; padding: 0 1rem 2rem; }
.ficha-dica {
  display: flex; align-items: center; gap: .7rem; margin: 0; padding: .9rem 1rem;
  border: 1px dashed rgb(255 255 255 / .3); border-radius: 14px; color: #cfe1e3; font-size: .95rem; line-height: 1.4;
}
.ficha-dica .icone { color: var(--faixa); width: 1.5rem; height: 1.5rem; }
.focado .ficha-dica { display: none; }
.ficha {
  display: grid; overflow: hidden; border-radius: var(--raio);
  background: rgb(9 32 38 / .94); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
  animation: ficha-entra .55s var(--suave) both;
}
.ficha-foto { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--noite-2); }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; animation: foto-entra 1.6s var(--suave) both; }
.ficha-corpo { padding: 1rem 1.1rem 1.2rem; }
.ficha-area { margin: 0 0 .45rem; font: 700 .74rem/1.2 var(--titulo); letter-spacing: .12em; text-transform: uppercase; color: var(--ceu); }
.ficha-area b { color: var(--faixa); margin-right: .45rem; }
.ficha h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.ficha-corpo > p:not(.ficha-area) { margin: 0 0 .95rem; color: #cfe1e3; font-size: .97rem; line-height: 1.5; }
.ficha-acoes { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Botões de marcar serviço */
.pedido-icone { display: grid; place-items: center; }
.marca-pedido .icone-certo { display: none; }
.marca-pedido[aria-pressed="true"] .icone-certo { display: block; }
.marca-pedido[aria-pressed="true"] .icone-mais { display: none; }
.botao.marca-pedido[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--tinta); }

/* Trilho: a lista das áreas, que também marca o andamento da visita guiada */
.trilho { order: 3; min-width: 0; }
.trilho-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 0 1rem .6rem; }
.trilho-titulo { margin: 0; font: 700 .76rem/1.2 var(--titulo); letter-spacing: .14em; text-transform: uppercase; color: #9fc3c8; }
.trilho-controles { margin-left: auto; }
.focado .trilho-titulo { display: none; }
.controle-destaque { border-color: var(--faixa); color: var(--faixa); }
.controle-destaque:hover { background: rgb(255 194 31 / .14); }
@media (max-width: 639px) {
  .trilho-titulo { display: none; }
  .ponto { width: 1.45rem; height: 1.45rem; margin: -.725rem 0 0 -.725rem; font-size: .7rem; }
  /* abertura mais curta, para a maquete aparecer logo depois da apresentação e do botão de orçamento */
  .abertura { padding-top: calc(var(--topo-h) + 1.3rem); }
  .abertura h1 { font-size: 1.95rem; margin-bottom: .45em; }
  .destaque-responsavel { font-size: 1rem; margin-bottom: .4rem; }
  .abertura .lide { font-size: .98rem; line-height: 1.5; margin-bottom: .9rem; }
  .abertura-grade { gap: 1rem; }
  /* aviso de cookies compacto: não cobre a maquete inteira e mantém os dois botões à mão */
  body .cookies { left: .6rem; right: .6rem; bottom: .6rem; padding: .7rem .85rem; font-size: .88rem; line-height: 1.4; }
  body .cookies p { margin-bottom: .5rem; }
}
.trilho-controles { display: flex; gap: .4rem; }
.controle {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; min-height: 44px; padding: 0 .7rem;
  border: 1px solid rgb(255 255 255 / .3); border-radius: 10px; background: rgb(255 255 255 / .06); color: #fff;
  font: 700 .86rem var(--titulo); white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.controle .icone { width: 1.1rem; height: 1.1rem; }
.controle:hover { background: rgb(255 255 255 / .18); }
[data-visita] .icone-pausar { display: none; }
[data-visita][aria-pressed="true"] .icone-pausar { display: block; }
[data-visita][aria-pressed="true"] .icone-tocar { display: none; }
[data-visita][aria-pressed="true"] { background: var(--faixa); border-color: var(--faixa); color: var(--tinta); }
[data-geral] span { display: none; }
.trilho-lista {
  display: flex; gap: .5rem; padding: 0 1rem .7rem; overflow-x: auto;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.trilho-lista::-webkit-scrollbar { display: none; }
.trilho-item {
  position: relative; display: flex; align-items: center; gap: .5rem; overflow: hidden;
  min-height: 48px; padding: .5rem .95rem; border-radius: 10px;
  background: rgb(255 255 255 / .08); color: #dcebed;
  font: 650 .9rem/1.15 var(--titulo); text-decoration: none; white-space: nowrap; scroll-snap-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.trilho-item b { color: var(--faixa); font-weight: 800; }
.trilho-item:hover { color: #fff; background: rgb(255 255 255 / .16); }
.trilho-item[aria-current="true"] { background: #fff; color: var(--tinta); }
.trilho-item[aria-current="true"] b { color: var(--azul); }
.trilho-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.trilho-barra i { display: block; height: 100%; background: var(--faixa); transform: scaleX(0); transform-origin: left; }
.trilho-item[aria-current="true"] .trilho-barra i { transform: scaleX(1); }
.em-visita .trilho-item[aria-current="true"] .trilho-barra i { animation: enche var(--tempo, 6s) linear both; }
.em-visita.pausada .trilho-barra i { animation-play-state: paused; }

/* Seções */
.secao { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.secao-concreto { background: var(--concreto); }
.secao-noite { background: var(--noite); color: #fff; }
.secao-noite .olho { color: var(--ceu); }
.secao-noite p { color: #cfe1e3; }
.secao-noite a:not(.botao) { color: var(--faixa); }
.secao-cabeca { max-width: 46rem; margin-bottom: 2rem; }
.secao-cabeca h2 { margin-bottom: .4em; }
.secao-lide { font-size: 1.1rem; color: var(--texto); margin: 0; }
.duas { display: grid; gap: 2rem; }
.nota { margin: 1.75rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--faixa); background: var(--concreto); border-radius: 0 12px 12px 0; }
.secao-concreto .nota { background: #fff; }
.titulo-menor { font-size: 1.35rem; margin: 3rem 0 1rem; }

/* Situações (atalhos para montar o pedido) */
.situacoes {
  display: flex; gap: .7rem; margin: 0 -1rem 1.6rem; padding: .3rem 1rem .9rem;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.situacoes::-webkit-scrollbar { display: none; }
.situacao {
  flex: 0 0 15.5rem; scroll-snap-align: start; display: flex; flex-direction: column; gap: .35rem;
  padding: 1rem 1.1rem 1.05rem; text-align: left;
  border: 2px solid transparent; border-radius: 16px; background: #fff; color: var(--tinta); cursor: pointer;
  box-shadow: 0 1px 0 rgb(15 34 40 / .05), 0 12px 26px -18px rgb(15 34 40 / .45);
  transition: transform .2s, border-color .2s, background .25s, color .25s;
}
.situacao b { font: 750 1.08rem/1.15 var(--titulo); font-stretch: 95%; }
.situacao span { font-size: .92rem; line-height: 1.4; color: var(--texto); }
.situacao small { margin-top: auto; padding-top: .55rem; font: 650 .74rem/1.45 var(--titulo); color: var(--azul); }
.situacao:hover { transform: translateY(-3px); border-color: var(--concreto-2); }
.situacao[aria-pressed="true"] { background: var(--tinta); color: #fff; border-color: var(--faixa); }
.situacao[aria-pressed="true"] span { color: #cfe1e3; }
.situacao[aria-pressed="true"] small { color: var(--faixa); }

/* Catálogo de serviços */
.catalogo { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.azulejo {
  position: relative; overflow: hidden; border-radius: var(--raio); background: #fff;
  outline: 3px solid transparent; outline-offset: -3px;
  box-shadow: 0 1px 0 rgb(15 34 40 / .06), 0 16px 34px -22px rgb(15 34 40 / .45);
  transition: transform .3s var(--suave), box-shadow .3s, outline-color .2s;
}
.azulejo:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgb(15 34 40 / .06), 0 26px 44px -22px rgb(15 34 40 / .55); }
.azulejo.marcado { outline-color: var(--faixa); }
.azulejo-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.azulejo-link:hover { color: inherit; }
.azulejo-foto { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--noite-2); }
.azulejo-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.azulejo:hover .azulejo-foto img { transform: scale(1.06); }
.azulejo-n { position: absolute; left: .8rem; bottom: .7rem; padding: .22rem .5rem; border-radius: 6px; background: rgb(10 35 41 / .78); color: var(--faixa); font: 800 .78rem/1.2 var(--titulo); letter-spacing: .06em; }
.azulejo-corpo { display: flex; flex-direction: column; flex: 1; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.azulejo-corpo h3 { margin: 0; }
.azulejo-texto { margin: 0 0 .5rem; color: var(--texto); font-size: .96rem; line-height: 1.45; }
/* o botão de marcar fica no pé do cartão, ao lado de "Ver o serviço", para não cobrir a foto */
.marca-azulejo {
  position: absolute; right: .8rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .35rem .9rem .35rem .6rem;
  border: 1.5px solid var(--linha); border-radius: 999px; background: #fff; color: var(--tinta);
  font: 700 .84rem var(--titulo); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.marca-azulejo .icone { width: 1.05rem; height: 1.05rem; }
.marca-azulejo:hover { border-color: var(--tinta); transform: translateY(-1px); }
.marca-azulejo[aria-pressed="true"] { background: var(--faixa); border-color: var(--faixa); }
.js .azulejo-corpo { padding-bottom: 1.35rem; }
.js .azulejo .seta { min-height: 30px; display: flex; align-items: center; }
.catalogo-nota { margin: .9rem 0 0; font-size: .85rem; color: var(--texto); }
.junto-acao { margin: 1.6rem 0 0; }

/* Um só contato: o desenho do modelo de trabalho */
.fluxo-grade { display: grid; gap: 2.5rem; align-items: center; }
.fluxo-caixa { padding: 1.1rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 22px; background: rgb(255 255 255 / .04); }
.alternador { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .3rem; margin-bottom: 1.2rem; border-radius: 12px; background: rgb(0 0 0 / .3); }
.alternador button { min-height: 44px; padding: .3rem .5rem; border: 0; border-radius: 9px; background: transparent; color: #cfe1e3; font: 700 .88rem/1.15 var(--titulo); cursor: pointer; transition: background .25s, color .25s; }
.alternador button[aria-pressed="true"] { background: #fff; color: var(--tinta); }
.fluxo { position: relative; display: grid; grid-template-columns: 24% 10% 22% 10% 34%; align-items: center; height: clamp(18rem, 44vw, 22rem); }
.fluxo-linhas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fluxo-linhas path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.linhas-separado path { stroke: #9db4b8; stroke-width: 1.6; stroke-dasharray: 5 6; opacity: 0; transition: opacity .45s; }
.linhas-drylive path { stroke: var(--ceu); stroke-width: 1.8; opacity: 1; transition: opacity .45s; }
.linha-unica { stroke: var(--faixa); stroke-width: 6; transform-box: fill-box; transform-origin: left center; transition: transform .6s var(--suave); }
.no {
  position: relative; z-index: 1; display: grid; place-items: center; margin: 0; min-height: 38px; padding: .4rem .5rem;
  border-radius: 10px; background: var(--noite-3); border: 1px solid rgb(255 255 255 / .16); color: #fff;
  font: 700 .86rem/1.15 var(--titulo); text-align: center;
}
.secao-noite .no { color: #fff; }
.fluxo .no-empresa { grid-column: 1; min-height: 4.2rem; background: #fff; border-color: #fff; }
.secao-noite .no-empresa { color: var(--tinta); }
.fluxo .no-hub {
  grid-column: 3; min-height: 4.6rem; background: var(--faixa); border-color: var(--faixa);
  padding-inline: .2rem; font-size: .92rem; font-weight: 800; box-shadow: 0 0 0 8px rgb(255 194 31 / .16);
  transition: opacity .4s, transform .55s cubic-bezier(.3, 1.4, .4, 1);
}
.secao-noite .no-hub { color: var(--tinta); }
.nos-oficios { grid-column: 5; align-self: stretch; display: grid; grid-template-rows: repeat(6, 1fr); }
.nos-oficios .no { align-self: center; }
.fluxo-legenda { margin: 1.1rem 0 0; min-height: 3.2em; font-size: .98rem; line-height: 1.5; }
.legenda-separado { display: none; }
[data-modo="separado"] .legenda-separado { display: block; }
[data-modo="separado"] .legenda-drylive { display: none; }
[data-modo="separado"] .linhas-separado path { opacity: 1; }
[data-modo="separado"] .linhas-drylive path { opacity: 0; }
[data-modo="separado"] .linha-unica { transform: scaleX(0); }
[data-modo="separado"] .no-hub { opacity: 0; transform: scale(.6); }
[data-modo="drylive"] .linhas-drylive path:nth-child(1) { transition-delay: .35s; }
[data-modo="drylive"] .linhas-drylive path:nth-child(2) { transition-delay: .42s; }
[data-modo="drylive"] .linhas-drylive path:nth-child(3) { transition-delay: .49s; }
[data-modo="drylive"] .linhas-drylive path:nth-child(4) { transition-delay: .56s; }
[data-modo="drylive"] .linhas-drylive path:nth-child(5) { transition-delay: .63s; }
[data-modo="drylive"] .linhas-drylive path:nth-child(6) { transition-delay: .7s; }

/* Como funciona: a faixa amarela avança com a rolagem */
.passos { position: relative; display: grid; gap: 1.7rem; counter-reset: passo; --p: 1; }
.passos::before, .passos::after {
  content: ""; position: absolute; left: 1.35rem; top: .6rem; bottom: .6rem; width: 4px; margin-left: -2px; border-radius: 2px;
  background: rgb(15 34 40 / .12);
}
.passos::after { background: var(--faixa); transform: scaleY(var(--p)); transform-origin: top; }
.passos li { position: relative; z-index: 1; counter-increment: passo; padding-left: 4.1rem; min-height: 2.7rem; }
.passos li::before {
  content: counter(passo, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 10px;
  background: var(--faixa); color: var(--tinta); font: 800 .95rem var(--titulo);
  transition: background .35s, color .35s, transform .35s var(--suave);
}
.js .passos li:not(.feito)::before { background: var(--concreto-2); color: var(--texto); transform: scale(.9); }
.passos h3 { margin: .1rem 0 .3rem; font-size: 1.3rem; }
.passos p { margin: 0; color: var(--texto); }

/* Dois caminhos */
.caminhos { display: grid; gap: 1rem; }
.caminho {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 21rem; padding: 1.5rem; border-radius: var(--raio); color: #fff; text-decoration: none;
}
.caminho:hover { color: #fff; }
.caminho img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--suave); }
.caminho::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(8 28 33 / .95) 12%, rgb(8 28 33 / .5) 55%, rgb(8 28 33 / .12)); }
.caminho:hover img { transform: scale(1.05); }
.caminho h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; font-stretch: 88%; margin-bottom: .35rem; }
.caminho p { margin: 0 0 .8rem; color: #dcebed; max-width: 32rem; }
.caminho .seta { color: var(--faixa); margin-top: 0; }

/* Chamada final: uma faixa de demarcação */
.faixa-chamada { position: relative; background: var(--faixa); color: var(--tinta); padding: clamp(3rem, 7vw, 5rem) 0; }
.faixa-chamada::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(-45deg, var(--tinta) 0 14px, transparent 14px 28px); }
.chamada { display: grid; gap: 1.5rem; align-items: center; }
.chamada h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin-bottom: .3em; }
.chamada p { margin: 0; font-size: 1.1rem; max-width: 40rem; }

/* Cabeçalho das páginas internas */
.cabeca { position: relative; isolation: isolate; overflow: clip; background: var(--noite); color: #fff; padding: calc(var(--topo-h) + 3.2rem) 0 3rem; }
.cabeca-fundo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 100% at 88% 10%, #1e4249, transparent 70%); }
.cabeca-fundo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 100% at 85% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 100% at 85% 0%, #000, transparent 75%);
}
.cabeca .olho { color: var(--ceu); }
.cabeca h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); max-width: 20ch; }
.cabeca .lide { color: #cfe1e3; max-width: 38rem; }
.cabeca .lide:last-child { margin-bottom: 0; }
.cabeca-com-foto { padding-top: 0; }
.cabeca-imagem { position: relative; aspect-ratio: 4 / 3; margin-bottom: 1.8rem; }
.cabeca-imagem img { width: 100%; height: 100%; object-fit: cover; }
.cabeca-imagem::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgb(10 35 41 / .45), transparent 28%, transparent 62%, var(--noite)); }
.cabeca-imagem .selo-ilustra { bottom: 1.4rem; }

/* Quadros de conteúdo */
.quadros { display: grid; gap: 1rem; }
.quadro { position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: var(--raio); background: var(--concreto); border-top: 4px solid var(--tinta); }
.quadro-destaque { background: var(--tinta); color: #fff; border-top-color: var(--faixa); }
.quadro-n { margin: 0 0 .8rem; font: 800 .85rem var(--titulo); letter-spacing: .12em; color: var(--azul); }
.quadro-destaque .quadro-n { color: var(--faixa); }
.quadro h2 { font-size: 1.45rem; }
.quadro-pe { margin: 1.1rem 0 0; }
.quadro-destaque a { color: var(--faixa); }

/* Listas */
.marcas li { position: relative; padding: .38rem 0 .38rem 1.6rem; line-height: 1.45; }
.marcas li::before { content: ""; position: absolute; left: .1rem; top: .85rem; width: .6rem; height: .6rem; border-radius: 2px; background: var(--azul-claro); transform: rotate(45deg); }
.quadro-destaque .marcas li::before, .lateral .marcas li::before { background: var(--faixa); }
.links-servicos { display: flex; flex-wrap: wrap; gap: .6rem; }
.links-servicos.coluna { flex-direction: column; align-items: flex-start; }
.links-servicos a {
  display: inline-flex; align-items: center; min-height: 46px; padding: .4rem 1.05rem;
  border: 1.5px solid var(--linha); border-radius: 10px; background: #fff; color: var(--tinta);
  font: 650 .95rem var(--titulo); text-decoration: none; transition: border-color .2s, background .2s, transform .2s;
}
.links-servicos a:hover { border-color: var(--tinta); transform: translateY(-2px); }

/* Serviço anterior e próximo */
.vizinhos { display: grid; }
.vizinho {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
  min-height: 13rem; padding: 1.6rem clamp(1rem, 4vw, 3rem); color: #fff; text-decoration: none;
}
.vizinho:hover { color: #fff; }
.vizinho img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 1s var(--suave), filter .4s; }
.vizinho::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(8 28 33 / .92), rgb(8 28 33 / .45)); }
.vizinho:hover img { transform: scale(1.05); filter: none; }
.vizinho-rotulo { font: 700 .76rem var(--titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--faixa); }
.vizinho strong { font: 800 1.6rem/1.1 var(--titulo); font-stretch: 88%; }

/* Formulário de orçamento */
.orcamento-grade { display: grid; gap: 2rem; }
.formulario fieldset, .opcionais { min-width: 0; margin: 0 0 1rem; padding: 1.3rem 1.2rem .6rem; border: 0; border-radius: var(--raio); background: var(--concreto); }
.formulario legend, .opcionais summary { display: flex; align-items: center; gap: .7rem; width: 100%; padding: 0; font: 800 1.25rem/1.2 var(--titulo); font-stretch: 92%; }
.formulario legend { float: left; margin-bottom: .9rem; }
.formulario legend + * { clear: both; }
.passo-n { display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: var(--tinta); color: var(--faixa); font: 800 .95rem var(--titulo); }
.opcionais { padding-bottom: 1.3rem; }
.opcionais summary { cursor: pointer; list-style: none; }
.opcionais summary::-webkit-details-marker { display: none; }
.opcionais summary::after { content: "+"; margin-left: auto; font-size: 1.6rem; font-weight: 500; line-height: 1; }
.opcionais[open] summary { margin-bottom: 1rem; }
.opcionais[open] summary::after { content: "−"; }
.opcionais[open] { padding-bottom: .6rem; }
.opcoes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.3rem; }
.opcao {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px;
  background: #fff; border: 2px solid transparent; cursor: pointer;
  box-shadow: 0 1px 0 rgb(15 34 40 / .08); transition: border-color .2s, transform .2s;
}
.opcao:hover { transform: translateY(-2px); }
.opcao input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcao-foto { aspect-ratio: 3 / 2; overflow: hidden; background: var(--concreto-2); }
.opcao-foto img { width: 100%; height: 100%; object-fit: cover; }
.opcao-nome { padding: .55rem .65rem .65rem; font: 700 .88rem/1.2 var(--titulo); }
.opcao-marca { position: absolute; top: .4rem; right: .4rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgb(255 255 255 / .92); border: 2px solid rgb(15 34 40 / .3); color: transparent; }
.opcao-marca .icone { width: 1rem; height: 1rem; }
.opcao.marcada { border-color: var(--tinta); }
.opcao.marcada .opcao-marca { background: var(--faixa); border-color: var(--faixa); color: var(--tinta); }
.opcao:focus-within { outline: 3px solid var(--azul-claro); outline-offset: 2px; }
.opcao-simples { justify-content: center; min-height: 3.6rem; padding-right: 2.3rem; }
.opcoes[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 6px; border-radius: 12px; }
.campos-dois { display: grid; gap: 0 1rem; }
.campo { margin-bottom: 1rem; }
.campo label { display: block; font-weight: 650; margin-bottom: .3rem; }
.opcional { font-weight: 400; color: var(--texto); font-size: .92em; }
.campo input[type="text"], .campo textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem;
  border: 1.5px solid #b4c0be; border-radius: 10px; background: #fff; color: var(--tinta); font: inherit;
}
.campo textarea { resize: vertical; }
.campo input[type="text"]:focus, .campo textarea:focus { border-color: var(--azul); outline: 3px solid rgb(11 149 208 / .3); outline-offset: 0; }
.campo [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.dica { margin: .3rem 0 0; font-size: .92rem; color: var(--texto); }
.formulario fieldset > .dica { margin: 0 0 .9rem; }
.campo-aceite { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin-top: 1.3rem; }
.campo-aceite input { width: 1.5rem; height: 1.5rem; margin-top: .15rem; accent-color: var(--tinta); }
.campo-aceite label { font-weight: 400; margin: 0; }
.erro { padding: .8rem 1rem; border-radius: 10px; background: #fff0ee; color: #8c1d18; font-weight: 600; }
.lateral { padding: 1.4rem; border-radius: var(--raio); background: var(--noite); color: #fff; }
.lateral h2 { font-size: 1.25rem; }
.lateral h2:not(:first-child) { margin-top: 1.6rem; }
.lateral p { color: #cfe1e3; }
.lateral a:not(.botao) { color: var(--ceu); }
.lateral .dica { color: #9fc3c8; }
.previa { margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
.balao {
  position: relative; margin: 0 0 .6rem; padding: .8rem .95rem; max-height: 19rem; overflow: auto;
  border-radius: 4px 14px 14px 14px; background: #d9fdd3; color: #10261a;
  font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.lateral .balao { color: #10261a; }

.texto h2 { font-size: 1.5rem; margin-top: 1.7em; }
.texto h2:first-child { margin-top: 0; }

/* Rodapé */
.rodape { background: #071a1f; color: #b9cdd0; padding: 0 0 6.5rem; font-size: .96rem; }
.rodape::before { content: ""; display: block; height: 10px; margin-bottom: 3rem; background: repeating-linear-gradient(-45deg, var(--faixa) 0 14px, #071a1f 14px 28px); }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape-grade { display: grid; gap: 2rem; }
.rodape h2 { margin-bottom: .8rem; font: 700 .78rem var(--titulo); font-stretch: 108%; letter-spacing: .14em; text-transform: uppercase; color: var(--ceu); }
.rodape li a { display: inline-block; padding: .3rem 0; }
.rodape-marca { display: inline-block; margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 12px; background: #fff; }
.rodape-marca img { width: 170px; }
.rodape-sobre p:last-child { max-width: 22rem; }
.rodape-fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgb(255 255 255 / .12); color: #8fa9ad; font-size: .88rem; }
.rodape-fim p { margin: 0; }

.zap-fixo {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .6rem 1.15rem;
  border-radius: 14px; background: #128c4a; color: #fff; font: 800 .95rem var(--titulo); text-decoration: none;
  box-shadow: 0 12px 28px rgb(0 0 0 / .32); transition: transform .2s, background .2s;
}
.zap-fixo:hover { background: #0e7340; color: #fff; transform: translateY(-2px); }
.com-pedido .zap-fixo { display: none; }

/* Barra do pedido */
.barra-pedido {
  position: fixed; left: 50%; bottom: 1rem; z-index: 35; transform: translateX(-50%);
  width: min(100% - 1.2rem, 38rem); display: flex; align-items: center; gap: .7rem;
  padding: .6rem .5rem .6rem 1.2rem; overflow: hidden; border-radius: 16px; background: var(--tinta); color: #fff;
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .1);
  animation: barra-sobe .45s var(--suave) both;
}
.barra-pedido::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: repeating-linear-gradient(-45deg, var(--faixa) 0 6px, var(--tinta) 6px 12px); }
.barra-texto { flex: 1; min-width: 0; }
.barra-conta { margin: 0; font: 700 .98rem/1.2 var(--titulo); }
.barra-conta b { color: var(--faixa); font-size: 1.15rem; }
.barra-nomes { margin: .15rem 0 0; font-size: .8rem; color: #a9c4c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-limpar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #a9c4c8; cursor: pointer; }
.barra-limpar:hover { background: rgb(255 255 255 / .12); color: #fff; }

.cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 45; max-width: 560px; padding: 1rem 1.1rem; border-radius: var(--raio); background: #fff; border: 1px solid var(--linha); box-shadow: 0 12px 34px rgb(0 0 0 / .22); }
.cookies-botoes { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Entrada suave dos blocos ao rolar (só com JavaScript) */
.js [data-revela] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--suave), transform .7s var(--suave); transition-delay: calc(var(--ordem, 0) * 70ms); }
.js [data-revela].visto { opacity: 1; transform: none; }

@keyframes chega { from { transform: perspective(1400px) scale(1.06) translateY(14px); } }
@keyframes surge { from { transform: scale(.55); } }
@keyframes pulsa { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ficha-entra { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes foto-entra { from { transform: scale(1.12); } }
@keyframes enche { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes barra-sobe { from { opacity: 0; transform: translate(-50%, 120%); } }

@media (min-width: 640px) {
  .catalogo { grid-template-columns: repeat(2, 1fr); }
  .duas { grid-template-columns: repeat(2, 1fr); }
  .opcoes { grid-template-columns: repeat(3, 1fr); }
  .campos-dois { grid-template-columns: 1fr 1fr; }
  .rodape-grade { grid-template-columns: repeat(2, 1fr); }
  .ficha { grid-template-columns: 44% 1fr; }
  .ficha-foto { aspect-ratio: auto; min-height: 100%; }
  [data-geral] span { display: inline; }
}

@media (min-width: 800px) {
  .caminhos { grid-template-columns: 1fr 1fr; }
  .caminho { min-height: 26rem; padding: 2rem; }
  .vizinhos { grid-template-columns: 1fr 1fr; }
  .vizinho { min-height: 15rem; }
  .vizinho-proximo { align-items: flex-end; text-align: right; }
  .chamada { grid-template-columns: 1fr auto; gap: 2.5rem; }
  .quadros-dois { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  :root { --topo-h: 72px; }
  body { font-size: 1.09rem; }
  .topo { top: .9rem; }
  .topo-capsula { flex-wrap: nowrap; padding: .5rem .6rem .5rem 1.3rem; }
  .marca img { width: 168px; }
  .menu-botao, .js .menu-botao { display: none; }
  .menu, .js .menu { display: block; width: auto; padding: 0; }
  .menu ul { flex-direction: row; align-items: center; gap: 1.7rem; }
  .menu a:not(.botao) { min-height: 44px; padding: 0; border: 0; font-size: .98rem; }
  .menu .botao { margin: 0 0 0 .3rem; width: auto; }

  .abertura { padding-top: calc(var(--topo-h) + 2.4rem); --zoom: 1.55; --foco-x: .3; --foco-y: .5; --livre: 1; }
  .abertura-grade { width: min(100% - 3rem, 1480px); margin-inline: auto; grid-template-columns: minmax(0, 29rem) minmax(0, 1fr); column-gap: 1rem; row-gap: 1.4rem; align-items: center; }
  .abertura-texto { grid-column: 1; grid-row: 1; padding: 0; }
  .abertura .olho { font-size: .8rem; letter-spacing: .14em; gap: .7rem; }
  .abertura .olho::before { width: 2rem; }
  .abertura .lide { margin-bottom: 1.6rem; }
  .destaque-responsavel { font-size: 1.3rem; margin-bottom: .7rem; }
  .abertura-texto .botao-vidro { display: inline-flex; }
  .abertura h1 { font-size: clamp(2.5rem, 3.75vw, 3.8rem); }
  .palco { display: block; position: relative; grid-column: 2; grid-row: 1; }
  /* o visor encolhe em telas baixas para a abertura inteira caber sem rolar */
  .visor {
    width: min(100%, calc((100svh - var(--topo-h) - 15.5rem) * 1.5)); min-width: 30rem; margin-left: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 93%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 93%, transparent);
  }
  .visor .selo-ilustra { left: 1.6rem; bottom: 1.4rem; }
  .ponto { width: 2.1rem; height: 2.1rem; margin: -1.05rem 0 0 -1.05rem; font-size: .9rem; }
  .fichas { position: absolute; right: 0; top: 50%; z-index: 3; width: min(21.5rem, 44%); padding: 0; transform: translateY(-50%); pointer-events: none; }
  .ficha { grid-template-columns: 1fr; pointer-events: auto; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .ficha-foto { aspect-ratio: 3 / 2; min-height: 0; }
  .ficha-dica { display: none; }
  .trilho { grid-column: 1 / -1; padding-bottom: 1.2rem; }
  .trilho-topo { padding: 0 0 .8rem; }
  .focado .trilho-titulo { display: block; }
  .trilho-lista { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0; padding: 0; overflow: visible; }
  .trilho-item {
    flex-direction: column; align-items: flex-start; gap: .3rem; overflow: visible; white-space: normal;
    min-height: 66px; padding: .8rem .7rem .4rem 0; border-radius: 0; background: none;
    border-top: 3px solid rgb(255 255 255 / .18); font-size: .9rem;
  }
  .trilho-item:hover { background: none; border-top-color: rgb(255 255 255 / .55); }
  .trilho-item[aria-current="true"] { background: none; color: #fff; }
  .trilho-item[aria-current="true"] b { color: var(--faixa); }
  .trilho-barra { top: -3px; bottom: auto; }

  .situacoes { display: grid; grid-template-columns: repeat(3, 1fr); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .catalogo { grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
  .catalogo .azulejo { grid-column: span 4; }
  .catalogo-bento .azulejo:nth-child(-n+2) { grid-column: span 6; }
  .catalogo-bento .azulejo:nth-child(-n+2) .azulejo-foto { aspect-ratio: 16 / 9; }
  .catalogo-bento .azulejo:nth-child(-n+2) h3 { font-size: 1.5rem; }
  .catalogo-bento .azulejo:nth-child(n+3) { grid-column: span 3; }
  .catalogo-junto { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  .catalogo-junto .azulejo { grid-column: auto; }

  .fluxo-grade { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
  .fluxo-caixa { padding: 1.5rem; }
  .no { font-size: .95rem; min-height: 42px; }
  .fluxo .no-hub { font-size: 1.1rem; }

  .passos { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .passos::before, .passos::after { left: .6rem; right: 12%; top: 1.35rem; bottom: auto; width: auto; height: 4px; margin: -2px 0 0; }
  .passos::after { transform: scaleX(var(--p)); transform-origin: left; }
  .passos li { padding: 3.8rem 0 0; }

  .cabeca { padding: calc(var(--topo-h) + 4.5rem) 0 4.5rem; }
  .cabeca-com-foto { display: grid; align-items: center; min-height: 36rem; padding: calc(var(--topo-h) + 4rem) 0 4rem; }
  .cabeca-imagem { position: absolute; inset: 0 0 0 auto; width: 52%; aspect-ratio: auto; margin: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .cabeca-imagem::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--faixa); clip-path: polygon(14% 0, calc(14% + 9px) 0, 9px 100%, 0 100%); }
  .cabeca-imagem::after { background: linear-gradient(to right, rgb(10 35 41 / .55), transparent 40%), linear-gradient(to bottom, rgb(10 35 41 / .45), transparent 30%); }
  .cabeca-imagem .selo-ilustra { right: 1.2rem; bottom: 1.2rem; }
  .cabeca-com-foto .cabeca-conteudo > * { max-width: min(100%, 31.5rem); }
  .cabeca-com-foto h1 { font-size: clamp(2.2rem, 3.7vw, 3.3rem); }

  .quadros { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .quadros-dois { grid-template-columns: 1fr 1fr; }
  .orcamento-grade { grid-template-columns: 1.55fr 1fr; gap: 3rem; align-items: start; }
  .lateral { position: sticky; top: calc(var(--topo-h) + 2rem); }
  .rodape-grade { grid-template-columns: 1.3fr 1fr 1.3fr .9fr; gap: 3rem; }
  .rodape { padding-bottom: 3rem; }
  .zap-fixo { display: none; }
}

@media (min-width: 1300px) {
  .abertura-grade { grid-template-columns: minmax(0, 32rem) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-revela] { opacity: 1; transform: none; }
}
