/* ==========================================================================
   Grupo Engefort · v2 "Uma rede que protege" (01/12/2026)
   Identidade do folheto: azul-marinho + dourado, onda dourada como divisor.
   Cores, fonte e espaçamentos nas variáveis abaixo.
   Depois de editar este arquivo, aumente VERSION em build.py.
   ========================================================================== */

:root {
  --z: 1;
  /* v5 (01/12/2026): Paulo pediu mais preto e dourado, como o logo (águia dourada no escudo preto).
     Os nomes "marinho" ficaram por compatibilidade: agora são os pretos do logo. */
  --marinho: #111111;            /* preto principal */
  --marinho-fundo: #050505;      /* preto mais fundo: abertura, rodapé */
  --marinho-2: #1c1b19;          /* preto quente para cartões sobre fundo escuro */
  --marinho-3: #2a2824;
  --dourado: #d4a63a;            /* ouro do logo */
  --dourado-claro: #f0d58a;
  --dourado-texto: #7a5a12;      /* dourado legível sobre fundo claro */
  --texto: #121212;
  --texto-suave: #45433e;
  --fundo: #ffffff;
  --papel: #f6f3ec;
  --fundo-cinza: #f6f3ec;
  --borda: #e2ded4;
  --borda-escura: rgba(240, 213, 138, .18);

  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 1440px;
  --margem: clamp(16px, 2.4vw, 32px);
  --raio: 14px;
  --raio-p: 8px;
  --secao: clamp(72px, 9vw, 132px);
  --suave: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--fonte); color: var(--texto); background: var(--fundo);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--dourado); color: var(--marinho); }

.container { width: min(var(--largura), 100% - 2 * var(--margem)); margin-inline: auto; }
.secao { padding: var(--secao) 0; position: relative; }
.secao--cinza { background: var(--papel); }
.secao--escura { background: var(--marinho); color: #fff; }
.secao--escura .texto-suave { color: #c9c4b8; }

h1, h2, h3 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.7rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--dourado-texto); }
.secao--escura h2 em, .hero h1 em, .chamada h2 em { color: var(--dourado); }
p { margin: 0 0 1em; text-wrap: pretty; }
.texto-suave { color: var(--texto-suave); font-size: 1.08rem; max-width: 62ch; }

/* rótulo: caixa-alta espaçada com um traço dourado (estilo da casa) */
.selo {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dourado-texto);
}
.selo::before { content: ""; width: 28px; height: 2px; background: var(--dourado); }
.secao--escura .selo, .hero .selo, .rodape .selo { color: var(--dourado-claro); }
.titulo-secao { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 2px solid var(--dourado);
  transition: transform .2s var(--suave), background-color .2s, color .2s, box-shadow .2s;
}
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0) scale(.98); }
.botao--dourado { background: var(--dourado); color: var(--marinho-fundo); }
.botao--dourado:hover { background: var(--dourado-claro); }
.botao--contorno { color: var(--marinho); border-color: var(--dourado); background: transparent; }
.botao--contorno:hover { background: var(--dourado); color: var(--marinho-fundo); }
.secao--escura .botao--contorno, .hero .botao--contorno, .chamada .botao--contorno { color: #fff; border-color: var(--dourado); }
.secao--escura .botao--contorno:hover, .hero .botao--contorno:hover, .chamada .botao--contorno:hover { background: var(--dourado); color: var(--marinho-fundo); border-color: var(--dourado); }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Barra superior e cabeçalho ---------- */
.barra-topo { background: var(--marinho-fundo); color: #bdb7aa; font-size: .82rem; }
.barra-topo .container { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; flex-wrap: wrap; }
.barra-topo a { text-decoration: none; color: var(--dourado-claro); font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.barra-topo span { display: inline-flex; align-items: center; gap: 6px; }
.barra-topo a:hover { text-decoration: underline; }

.cabecalho { background: rgba(10, 10, 10, .94); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--borda-escura); }
.cabecalho .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; position: relative; }
.logo { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: .95rem; display: flex; align-items: center; gap: .45em; min-height: 44px; }
.logo img { height: 48px; width: auto; }
.logo span { color: var(--dourado); }
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.menu a { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.menu > ul > li > a:not(.botao) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; position: relative; }
.menu > ul > li > a:not(.botao)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--dourado);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--suave);
}
.menu > ul > li > a:not(.botao):hover::after, .menu > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.menu .botao.botao--dourado { color: var(--marinho-fundo); }
.menu .botao { min-height: 44px; padding: 8px 20px; margin-left: 10px; font-size: .9rem; }
.menu .submenu { position: relative; }
.menu .submenu ul {
  list-style: none; margin: 0; display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--marinho-2); padding: 10px; border-radius: 0 0 var(--raio) var(--raio);
  border-top: 2px solid var(--dourado); box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.menu .submenu ul a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 500; border-radius: var(--raio-p); }
.menu .submenu ul a:hover, .menu .submenu ul a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--dourado-claro); }
.menu .submenu:hover ul, .menu .submenu:focus-within ul { display: block; }
.botao-menu { display: none; background: none; border: 1px solid var(--borda-escura); border-radius: var(--raio-p); color: #fff; font-size: 1.3rem; width: 48px; height: 48px; cursor: pointer; }

@media (max-width: 1080px) {
  .botao-menu { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: calc(-1 * var(--margem)); right: calc(-1 * var(--margem)); background: var(--marinho); padding: 12px var(--margem) 28px; max-height: calc(100dvh - 80px); overflow: auto; border-bottom: 2px solid var(--dourado); }
  .menu.aberto { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > ul > li > a:not(.botao) { min-height: 52px; font-size: 1.05rem; padding: 0; }
  .menu > ul > li > a:not(.botao)::after { display: none; }
  .menu .submenu ul { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 8px 14px; border-left: 1px solid var(--borda-escura); min-width: 0; }
  .menu .botao { margin: 16px 0 0; width: 100%; min-height: 52px; }
}

/* ---------- Topo das páginas internas ---------- */
.hero { background: var(--marinho); color: #fff; padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero p { font-size: 1.15rem; color: #d6d1c5; max-width: 56ch; }
.hero--interna { background:
    linear-gradient(160deg, var(--marinho-fundo), var(--marinho) 60%, var(--marinho-2)); }
.hero--interna .container { grid-template-columns: 1fr; }
/* onda dourada do folheto, na base do topo */
.hero--interna::after, .abertura::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 5vw, 72px); z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 46C240 4 520 4 760 30s460 34 680 2v40H0z' fill='%23ffffff'/%3E%3Cpath d='M0 46C240 4 520 4 760 30s460 34 680 2' fill='none' stroke='%23d4a63a' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero--interna { padding-bottom: calc(clamp(56px, 8vw, 104px) + clamp(28px, 5vw, 72px)); }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr !important; } }

/* ---------- Abertura (página inicial): ronda → drone → projetos ---------- */
.abertura { padding: 0; min-height: clamp(560px, 100svh - 94px, 900px); display: grid; background: var(--marinho-fundo); isolation: isolate; }
.abertura > * { grid-area: 1 / 1; }
.abertura__midia { position: relative; z-index: -1; overflow: hidden; }
.abertura__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.abertura__slide.ativo { opacity: 1; }
.abertura__slide video, .abertura__slide > img { width: 100%; height: 100%; object-fit: cover; }
.abertura__midia::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(5, 5, 5, .92) 0%, rgba(5, 5, 5, .62) 46%, rgba(5, 5, 5, .12) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .85), transparent 38%); }
.abertura .container.abertura__conteudo { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: clamp(48px, 7vw, 96px) 0 clamp(150px, 16vw, 210px); }
.abertura h1 { font-size: clamp(2.3rem, 6.4vw, 5.4rem); text-transform: uppercase; letter-spacing: -.025em; line-height: .98; max-width: 13ch; margin-bottom: .45em; }
.abertura h1 em { text-transform: none; letter-spacing: -.01em; font-weight: 500; }
.abertura p { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.abertura .container.abertura__base { display: flex; align-items: flex-end; align-self: end; gap: 12px; padding-bottom: clamp(52px, 8vw, 110px); }
.abertura__abas { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 14px; flex: 0 1 auto; }
.abertura__aba { appearance: none; background: none; border: 0; padding: 14px 0 0; min-height: 48px; cursor: pointer; text-align: left; color: rgba(255, 255, 255, .62); font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; position: relative; transition: color .2s; }
.abertura__aba::before, .abertura__aba::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, .25); }
.abertura__aba::after { background: var(--dourado); transform: scaleX(0); transform-origin: left; }
.abertura__aba[aria-selected="true"] { color: #fff; }
.abertura__aba[aria-selected="true"]::after { transform: scaleX(1); }
.abertura.tocando .abertura__aba[aria-selected="true"]::after { animation: progresso var(--tempo, 7s) linear forwards; }
@keyframes progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.abertura__pausa { appearance: none; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(5, 5, 5, .5); color: #fff; cursor: pointer; font-size: .8rem; transition: background-color .2s, transform .2s var(--suave); }
.abertura__pausa:hover { background: #fff; color: var(--marinho); transform: scale(1.06); }
/* entrada única ao carregar */
@media (prefers-reduced-motion: no-preference) {
  .abertura__conteudo > * { animation: subir .9s var(--suave) both; }
  .abertura__conteudo > :nth-child(2) { animation-delay: .08s; }
  .abertura__conteudo > :nth-child(3) { animation-delay: .16s; }
  .abertura__conteudo > :nth-child(4) { animation-delay: .24s; }
  @keyframes subir { from { opacity: 0; transform: translateY(26px); } }
}

/* espaços de vídeo da abertura enquanto os arquivos não chegam: arte desenhada, viva */
.midia--vazia { position: absolute; inset: 0; overflow: hidden; background: var(--marinho-fundo); }
.midia__tag { position: absolute; right: var(--margem); top: 20px; z-index: 3; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dourado-claro); border: 1px dashed rgba(240, 213, 138, .5); border-radius: 999px; padding: 6px 14px; background: rgba(5, 5, 5, .6); }
.midia--ronda { background: radial-gradient(120% 90% at 78% 100%, #2a2416 0%, var(--marinho-fundo) 62%); }
.midia--ronda::before { /* facho da lanterna varrendo */
  content: ""; position: absolute; left: 58%; bottom: 20%; width: 80vmax; height: 80vmax; transform-origin: 0 100%;
  background: conic-gradient(from 52deg at 0 100%, transparent 0deg, rgba(240, 213, 138, .5) 6deg, rgba(240, 213, 138, .12) 24deg, transparent 30deg);
  mask-image: radial-gradient(circle at 0 100%, #000 0, transparent 62%);
}
.midia--ronda::after { /* cerca / perímetro */
  content: ""; position: absolute; inset: auto 0 20% 0; height: 30%;
  background: repeating-linear-gradient(90deg, rgba(240, 213, 138, .16) 0 2px, transparent 2px 46px), linear-gradient(0deg, rgba(240, 213, 138, .2) 0 2px, transparent 2px);
  mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}
.midia--drone { background: radial-gradient(90% 90% at 70% 45%, #2a2416 0%, var(--marinho-fundo) 68%); }
.midia--drone::before { /* malha do terreno vista de cima */
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(0deg, rgba(240, 213, 138, .09) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, rgba(240, 213, 138, .09) 0 1px, transparent 1px 64px);
  transform: perspective(900px) rotateX(52deg) translateY(-6%);
}
.midia--drone::after { /* varredura do drone */
  content: ""; position: absolute; right: 18%; top: 22%; width: min(42vw, 460px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(240, 213, 138, .5);
  background: conic-gradient(from 0deg, rgba(240, 213, 138, .28), transparent 70deg), radial-gradient(circle, transparent 0 34%, rgba(240, 213, 138, .25) 34% 34.6%, transparent 35% 67%, rgba(240, 213, 138, .2) 67% 67.6%, transparent 68%);
}
.midia--projetos { background: var(--marinho-fundo); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; padding: 0; }
.midia--projetos .foto-img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
/* a foto real vem dentro de <picture> (display: contents), o espaço reservado vem direto: os dois casos */
.midia--projetos > .foto-img:nth-child(1), .midia--projetos > picture:nth-child(1) .foto-img { grid-row: span 2; }
.midia--projetos > .foto-img:nth-child(n+2), .midia--projetos > picture:nth-child(n+2) .foto-img { grid-column: span 2; }

/* ---------- Foto: espaço reservado ou foto real ---------- */
.foto-img { width: 100%; height: auto; border-radius: var(--raio); object-fit: cover; aspect-ratio: 16 / 10; background: var(--marinho-2); }
.foto-img.foto--alta { aspect-ratio: 4 / 3; }
.foto-img[data-placeholder] { object-fit: contain; background: radial-gradient(circle at 70% 20%, #2a2416, #111111); }
.foto-img.foto--logo { aspect-ratio: 3 / 1; }
.hero .foto-img { outline: 1px solid var(--borda-escura); }

/* ---------- Grades e cartões ---------- */
.grade { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grade--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 6vw, 88px); }
.grade--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grade--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.cartao {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  transition: transform .25s var(--suave), box-shadow .25s, border-color .25s;
}
.cartao > .foto-img, .cartao > picture .foto-img { margin: -24px -24px 16px; width: calc(100% + 48px); max-width: none; border-radius: 0; }
.cartao > picture { display: contents; }
.cartao h3, .cartao .h3 { margin: 0; }
.cartao p { margin: 0; color: var(--texto-suave); font-size: .98rem; }
.cartao:has(a.mais):hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(17, 17, 17, .14); border-color: var(--dourado); }
.cartao a.mais { margin-top: auto; padding-top: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--marinho); font-weight: 700; font-size: .95rem; text-decoration: none; }
.cartao a.mais::before { content: ""; position: absolute; inset: 0; }   /* o cartão inteiro é clicável */
.cartao a.mais::after { content: "→"; color: var(--dourado-texto); transition: transform .2s var(--suave); }
.cartao:hover a.mais::after { transform: translateX(5px); }
.cartao--destaque { border: 0; background: var(--marinho); color: #fff; }
.cartao--destaque p { color: #c9c4b8; }
.cartao--destaque a.mais { color: #fff; }
.cartao--destaque a.mais::after { color: var(--dourado); }
.secao--escura .cartao { background: rgba(255, 255, 255, .04); border-color: var(--borda-escura); color: #fff; }
.secao--escura .cartao p { color: #c9c4b8; }
.secao--cinza .cartao { border-color: #e4dfd2; }

/* serviços da página inicial: o destaque ocupa duas colunas */
@media (min-width: 900px) {
  .servicos-inicio { grid-template-columns: repeat(4, 1fr); }
  .servicos-inicio .cartao--destaque { grid-column: span 2; grid-row: span 3; justify-content: flex-end; padding: 32px; }
  .servicos-inicio .cartao--destaque > .foto-img, .servicos-inicio .cartao--destaque > picture .foto-img { margin: -32px -32px 24px; width: calc(100% + 64px); flex: 1; min-height: 0; aspect-ratio: auto; }
  .servicos-inicio .cartao--destaque h3 { font-size: 1.9rem; letter-spacing: -.02em; }
  .servicos-inicio .cartao--destaque p { font-size: 1.1rem; }
}

.lista-check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; }
.lista-check li { padding: 16px 0 16px 32px; position: relative; border-top: 1px solid var(--borda); }
.secao--escura .lista-check li { border-color: var(--borda-escura); }
.lista-check li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 14px; height: 8px; border-left: 2px solid var(--dourado); border-bottom: 2px solid var(--dourado); transform: rotate(-45deg) translateY(-50%); }

/* ---------- Prova: números + faixa de confiança ---------- */
.prova { padding-top: clamp(40px, 5vw, 72px); }
.numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(16px, 3vw, 48px); }
@media (min-width: 760px) { .numeros { grid-template-columns: repeat(3, 1fr); } }
.numero { padding: 22px 0 clamp(22px, 3vw, 40px); border-top: 2px solid var(--marinho); }
.numero strong { display: block; font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; font-weight: 800; color: var(--marinho); font-variant-numeric: tabular-nums; }
.numero span { display: block; margin-top: 10px; color: var(--texto-suave); font-size: .95rem; font-weight: 500; }
.secao--escura .numero { border-color: var(--dourado); }
.secao--escura .numero strong { color: var(--dourado); }
.secao--escura .numero span { color: #c9c4b8; }
.faixa-confianca { margin-top: clamp(36px, 5vw, 64px); }
.faixa-confianca .container { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; overflow: hidden; }
.faixa-confianca .container > div { padding: 24px; font-weight: 700; color: var(--marinho); border-left: 1px solid var(--borda); margin-left: -1px; border-top: 1px solid var(--borda); margin-top: -1px; }
.faixa-confianca small { display: block; margin-top: 4px; font-weight: 500; font-size: .88rem; color: var(--texto-suave); }

/* ---------- A rede: cena interativa ---------- */
.rede { background: var(--marinho-fundo); color: #fff; overflow: hidden; }
.rede__grade { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.rede__lado { display: flex; flex-direction: column; }
.rede__passos { list-style: none; margin: 0; padding: 0; display: grid; flex: 1; counter-reset: passo; }
.rede__passo { border-top: 1px solid var(--borda-escura); }
.rede__passo button { appearance: none; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 18px 0 18px 54px; position: relative; min-height: 60px; }
.rede__passo button::before { counter-increment: passo; content: "0" counter(passo); position: absolute; left: 0; top: 20px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--dourado-claro); opacity: .7; }
.rede__passo strong { display: block; font-size: 1.25rem; letter-spacing: -.01em; color: rgba(255, 255, 255, .6); transition: color .3s; }
.rede__passo .rede__det { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--suave); }
.rede__passo .rede__det > span { overflow: hidden; display: block; }
.rede__passo .rede__txt { display: block; margin: 8px 0 6px; color: #c9c4b8; font-size: .98rem; }
.rede__passo .rede__det small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-claro); }
.rede__passo.ativo strong { color: #fff; }
.rede__passo.ativo .rede__det { grid-template-rows: 1fr; }
.rede__passo.ativo button::before { opacity: 1; color: var(--dourado); }
.rede__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.rede__nota { font-size: .82rem; color: #a39d90; margin: 18px 0 0; }
.rede__priv { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--dourado); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rede__priv:hover { color: #fff; }
.rede__dialogo { max-width: min(520px, calc(100vw - 32px)); padding: 28px; border-radius: var(--raio); border: 1px solid var(--dourado); background: var(--marinho-fundo); color: #fff; }
.rede__dialogo::backdrop { background: rgba(0, 0, 0, .7); }
.rede__dialogo h3 { margin: 0 0 12px; }
.rede__dialogo p { color: #c9c4b8; margin: 0 0 12px; }
.rede__dialogo a { color: var(--dourado); }
.rede__dialogo .botao { margin-top: 8px; }
@media (max-width: 900px) { .rede__grade { grid-template-columns: 1fr; } }

/* ---------- Divisões (Servtronica) ---------- */
.divisao { padding: clamp(28px, 4vw, 48px); border-radius: var(--raio); background: var(--papel); margin-bottom: clamp(24px, 3vw, 40px); }
.divisao:first-of-type { background: var(--marinho); color: #fff; }
.divisao:first-of-type .selo { color: var(--dourado-claro); }
.divisao:first-of-type h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.divisao:first-of-type .texto-suave { color: #c9c4b8; }
.divisao:first-of-type .cartao { background: rgba(255, 255, 255, .05); border-color: var(--borda-escura); color: #fff; }
.divisao:first-of-type .cartao p { color: #c9c4b8; }
.divisao .grade { margin-top: 28px; }
.divisao:last-child { margin-bottom: 0; }

/* ---------- Vídeo ---------- */
.video { border-radius: var(--raio); overflow: hidden; background: #000; outline: 1px solid var(--borda-escura); }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Mapa esquemático ---------- */
.mapa { border-radius: var(--raio); background: var(--marinho); border: 1px solid var(--borda-escura); padding: clamp(12px, 2vw, 24px); }
.mapa svg { width: 100%; height: auto; }
.container > .mapa { max-width: 760px; margin-inline: auto; }
.mapa .elo { stroke: rgba(240, 213, 138, .35); stroke-width: 1.2; stroke-dasharray: 3 6; }
.mapa .ponto { fill: var(--dourado); }
.mapa .anel { fill: none; stroke: var(--dourado); stroke-width: 1.5; opacity: .7; }
.mapa text { font: 600 15px var(--fonte); fill: #fff; }
.mapa text.matriz { font-weight: 800; fill: var(--dourado-claro); }
.mapa .malha { stroke: rgba(255, 255, 255, .05); }

/* ---------- Unidades ---------- */
.unidade h3 { margin-bottom: 4px; }
.unidade .tag, .tag { font-size: .75rem; background: var(--dourado); color: var(--marinho-fundo); padding: 4px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }
.unidade a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.unidade a:hover { color: var(--dourado-texto); }
.pendente { background: #fff4d6; color: #5a430a; border-bottom: 2px dotted var(--dourado); padding: 0 4px; border-radius: 3px; font-size: .9em; }

/* ---------- Formulário ---------- */
.formulario { display: grid; gap: 16px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; box-shadow: 0 30px 70px rgba(17, 17, 17, .08); }
.formulario h2 { font-size: 1.6rem; margin-bottom: 4px; }
.formulario label { font-weight: 600; font-size: .92rem; display: grid; gap: 8px; }
.formulario input, .formulario select, .formulario textarea {
  font: inherit; padding: 14px 16px; min-height: 52px; border: 1px solid #c9c4b8; border-radius: var(--raio-p); width: 100%; background: #fff; color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
}
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: 0; border-color: var(--marinho); box-shadow: 0 0 0 4px rgba(212, 166, 58, .3); }
.formulario textarea { min-height: 130px; resize: vertical; }
.formulario .botao { justify-self: start; }

/* ---------- Chamada final ---------- */
.chamada { background:
    linear-gradient(160deg, var(--marinho-fundo), var(--marinho) 60%, var(--marinho-2)); color: #fff; text-align: center; overflow: hidden; }
.chamada h2 { font-size: clamp(2rem, 5vw, 4rem); text-transform: uppercase; letter-spacing: -.025em; line-height: 1; max-width: 16ch; margin-inline: auto; }
.chamada p { color: #d6d1c5; max-width: 52ch; margin-inline: auto; font-size: 1.1rem; }
.chamada .botoes { justify-content: center; margin-top: 28px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--marinho-fundo); color: #bdb7aa; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .92rem; border-top: 2px solid var(--dourado); }
.rodape .grade { grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.rodape__titulo { color: #fff; margin: 0 0 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.rodape__titulo--sep { margin-top: 28px; }
.rodape .grade > div:first-child .rodape__titulo { font-size: 1.05rem; letter-spacing: .14em; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.rodape li { min-height: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rodape a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; transition: color .2s; }
.rodape a:hover { color: var(--dourado-claro); }
.rodape .final { border-top: 1px solid var(--borda-escura); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; font-size: .84rem; }
@media (max-width: 900px) { .rodape .grade { grid-template-columns: 1fr 1fr; } .rodape li, .rodape a { min-height: 44px; } }
@media (max-width: 560px) { .rodape .grade { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 52px;
  background: #0f7a3f; color: #fff; border-radius: 999px; padding: 0 22px;
  font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .2s var(--suave);
}
.whatsapp:hover { transform: translateY(-3px); }

@media (max-width: 640px) {
  .botoes .botao { width: 100%; }
  .midia--projetos { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .midia--projetos > .foto-img:nth-child(n), .midia--projetos > picture:nth-child(n) .foto-img { grid-column: auto; grid-row: auto; }
  .abertura .container.abertura__base { padding-bottom: 96px; }
  .abertura .container.abertura__conteudo { padding-bottom: 190px; }
  .abertura__abas { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .abertura__aba { font-size: .75rem; letter-spacing: .08em; }
  .abertura__midia::after { background: linear-gradient(0deg, rgba(5, 5, 5, .95) 8%, rgba(5, 5, 5, .7) 60%, rgba(5, 5, 5, .45)); }
  .midia__tag { top: 12px; font-size: .75rem; }
}

/* ==========================================================================
   v3 (01/12/2026): trilho, credenciais, unidades com mapa vivo, pedido em 4 passos, dúvidas
   ========================================================================== */
.elo { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--marinho); background: linear-gradient(var(--dourado), var(--dourado)) 0 calc(100% - 10px) / 100% 2px no-repeat; }
.elo::after { content: "→"; color: var(--dourado-texto); transition: transform .2s var(--suave); }
.elo:hover::after { transform: translateX(4px); }

/* ---------- Trilho: como começa um contrato ---------- */
.trilho { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; counter-reset: trilho; }
.trilho li { counter-increment: trilho; position: relative; padding: 32px clamp(16px, 2.4vw, 32px) 0 0; border-top: 2px solid var(--marinho); }
.trilho li::before { content: "0" counter(trilho); display: block; margin-bottom: 20px; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--dourado-texto); font-variant-numeric: tabular-nums; }
.trilho li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 0 4px #fff; }
.trilho h3 { font-size: 1.3rem; }
.trilho p { color: var(--texto-suave); margin: 0 0 24px; }

/* ---------- Credenciais ---------- */
.credenciais__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid #d9d3c3; }
.credenciais__lista li { padding: 24px 24px 24px 0; border-bottom: 1px solid #d9d3c3; display: grid; gap: 4px; }
.credenciais__lista strong { font-size: 1.5rem; letter-spacing: -.02em; color: var(--marinho); }
.credenciais__lista span { color: var(--texto-suave); font-size: .95rem; }
.credenciais__nota { margin: 20px 0 0; font-size: .9rem; color: var(--texto-suave); }

/* ---------- Onde atuamos: mapa fixo + lista ---------- */
.unidades { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.unidades__mapa { position: sticky; top: 96px; display: grid; gap: 16px; justify-items: start; }
.unidades__mapa .mapa { width: 100%; }
.unidades__nota { margin: 0; font-size: .86rem; color: var(--texto-suave); }
.unidades__lista { list-style: none; margin: 0; padding: 0; counter-reset: uni; }
.unidades__lista .unidade { counter-increment: uni; position: relative; padding: 24px 16px 24px 64px; border-top: 1px solid var(--borda); scroll-margin-top: 110px; transition: background-color .25s; }
.unidades__lista .unidade:last-child { border-bottom: 1px solid var(--borda); }
.unidades__lista .unidade::before { content: "0" counter(uni); position: absolute; left: 16px; top: 28px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--dourado-texto); }
.unidades__lista .unidade.ativa { background: var(--papel); box-shadow: inset 3px 0 0 var(--dourado); }
.unidades__lista h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 6px; }
.unidade__end { margin: 0; color: var(--texto-suave); }
.unidade__acoes { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; }
.unidade__acoes > a:first-child { font-size: 1.15rem; font-weight: 800; color: var(--marinho); font-variant-numeric: tabular-nums; }
.unidade .perto { display: inline-block; margin-left: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dourado-texto); vertical-align: middle; }
.mapa .mapa__u { cursor: pointer; }
.mapa .alvo { fill: transparent; }
.mapa .mapa__u .ponto { transition: r .2s, fill .2s; }
.mapa .mapa__u.ativa .ponto { fill: #fff; r: 9px; }
.mapa .mapa__u.ativa text { fill: var(--dourado-claro); }
.mapa .mapa__u.ativa .alvo { fill: rgba(240, 213, 138, .16); }
.marco { padding-top: 28px; border-top: 2px solid var(--dourado); }
.marco h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
@media (max-width: 900px) { .unidades { grid-template-columns: 1fr; } .unidades__mapa { position: static; } }

/* ---------- Contato: pedido em 4 passos ---------- */
.contato { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.pedido { gap: 24px; }
.pedido__topo { display: grid; gap: 16px; }
.pedido__trilha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: et; }
.pedido__trilha li { counter-increment: et; padding-top: 12px; border-top: 3px solid var(--borda); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6f6a60; transition: border-color .3s, color .3s; }
.pedido__trilha li::before { content: counter(et) ". "; }
.pedido__trilha li.ativo { border-color: var(--dourado); color: var(--marinho); }
.pedido__trilha li.feito { border-color: var(--marinho); color: var(--marinho); }
.pedido__etapa { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.pedido.vivo .pedido__etapa:not(.ativo) { display: none; }
.pedido__etapa legend { padding: 0; margin-bottom: 16px; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.pedido__etapa legend small { display: block; margin-top: 6px; font-size: .92rem; font-weight: 500; letter-spacing: 0; color: var(--texto-suave); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.formulario .chip { display: block; position: relative; font-weight: 600; font-size: 1rem; cursor: pointer; }
.formulario .chip input { position: absolute; opacity: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1.5px solid #c9c4b8; border-radius: 999px; transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--suave); }
.chip:hover span { border-color: var(--marinho); }
.chip input:checked + span { background: var(--marinho); border-color: var(--marinho); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--dourado); outline-offset: 3px; }
.chip:active span { transform: scale(.97); }
.pedido__acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.pedido__erro { margin: 0; padding: 12px 16px; border-radius: var(--raio-p); background: #fdecea; color: #8a1c13; font-weight: 600; font-size: .95rem; }
.pedido__nota { margin: 0; font-size: .86rem; color: var(--texto-suave); }
.contato__lado { display: grid; gap: 0; }
.contato__central { background: var(--marinho); color: #fff; border-radius: var(--raio); padding: clamp(24px, 3vw, 36px); }
.contato__central .selo { color: var(--dourado-claro); }
.contato__central p { margin: 0 0 8px; color: #c9c4b8; }
.contato__central .contato__fone { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.contato__fone a { color: #fff; text-decoration: none; display: inline-flex; min-height: 48px; align-items: center; }
.contato__fone a:hover { color: var(--dourado-claro); }
.contato__bloco { padding: 28px 0; border-bottom: 1px solid var(--borda); }
.contato__bloco p { margin: 0 0 8px; color: var(--texto-suave); }
@media (max-width: 900px) { .contato { grid-template-columns: 1fr; } }

/* ---------- Dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.duvidas .titulo-secao { margin: 0; position: sticky; top: 110px; }
.duvidas details { border-top: 1px solid #d9d3c3; }
.duvidas details:last-child { border-bottom: 1px solid #d9d3c3; }
.duvidas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 12px 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--marinho); font-weight: 500; font-size: 1.2rem; transition: transform .25s var(--suave), background-color .2s, color .2s; }
.duvidas details[open] summary::after { transform: rotate(45deg); background: var(--marinho); color: #fff; }
.duvidas details p { margin: 0 0 24px; max-width: 60ch; color: var(--texto-suave); }
@media (max-width: 900px) { .duvidas { grid-template-columns: 1fr; } .duvidas .titulo-secao { position: static; } }

[hidden] { display: none !important; }

/* ==========================================================================
   v4 (01/12/2026): fatos por serviço, outros serviços, ficha do Engefort 8000, rede de totens,
   integrações, barra de contato no celular
   ========================================================================== */
.barra-topo__links { display: inline-flex; gap: 24px; }
.fatos { padding: clamp(32px, 4vw, 56px) 0 0; }
.fatos + .secao { padding-top: clamp(48px, 6vw, 88px); }

.outros { border-top: 1px solid var(--borda); }
.outros__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.outros__lista a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 0; min-height: 72px; border-top: 1px solid var(--borda); text-decoration: none; transition: padding .25s var(--suave); }
.outros__lista a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; color: var(--dourado-texto); font-weight: 700; transition: transform .2s var(--suave); }
.outros__lista a:hover::after { transform: translateX(6px); }
.outros__lista strong { font-size: 1.2rem; letter-spacing: -.01em; color: var(--marinho); }
.outros__lista span { grid-column: 1; color: var(--texto-suave); font-size: .95rem; }
.outros__lista a:hover strong { color: var(--dourado-texto); }

.ficha { margin: 0; border-top: 2px solid var(--marinho); }
.ficha > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #d9d3c3; }
.ficha dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-texto); padding-top: 4px; }
.ficha dd { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--marinho); }

.rede-t svg { width: 100%; height: auto; }
.rede-t__elo { stroke: var(--marinho); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: .45; }
.rede-t__central { fill: var(--marinho); stroke: var(--dourado); stroke-width: 3; }
.rede-t text { font: 700 15px var(--fonte); fill: #fff; letter-spacing: .04em; }
.rede-t__no circle { fill: #fff; stroke: var(--marinho); stroke-width: 2; }
.rede-t__no rect { fill: var(--marinho); }
.rede-t__no--novo circle { fill: var(--dourado); stroke: var(--dourado); }

.integra { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 2px solid var(--dourado); }
.integra li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--borda-escura); }
.integra strong { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.integra span { display: block; margin-top: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-claro); }
.integra p { margin: 12px 0 0; color: #c9c4b8; font-size: .98rem; }

.barra-acao { display: none; }
@media (max-width: 640px) {
  .barra-acao { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--marinho-fundo); border-top: 2px solid var(--dourado); padding-bottom: env(safe-area-inset-bottom); }
  .barra-acao a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; border-left: 1px solid var(--borda-escura); }
  .barra-acao a:first-child { border-left: 0; }
  .barra-acao .barra-acao__principal { background: var(--dourado); color: var(--marinho-fundo); }
  .whatsapp { display: none; }
  body { padding-bottom: 58px; }
  .barra-topo .barra-topo__links { display: none; }
  .abertura .container.abertura__base { padding-bottom: 28px; }
  .abertura .container.abertura__conteudo { padding-bottom: 130px; }
  .abertura { min-height: calc(100svh - 104px - 58px); }
  .ficha > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   audit fixes (01/12/2026): focus on dark cards, room for the WhatsApp button, contract section, icon buttons
   ========================================================================== */
.cartao:has(a.mais:focus-visible) { outline: 3px solid var(--dourado); outline-offset: 3px; }
.cartao a.mais:focus-visible { outline: 0; }
.botao-menu, .abertura__pausa { display: inline-grid; place-items: center; }
@media (max-width: 1080px) { .botao-menu { display: inline-grid; } }
@media (min-width: 1081px) { .botao-menu { display: none; } }
@media (min-width: 641px) { .rodape { padding-bottom: 96px; } }

/* ---------- logo (escudo com a águia, 01/12/2026) ---------- */
.logo { gap: 12px; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.logo__nome { font-size: .9rem; letter-spacing: .16em; }
.logo__nome span { color: var(--dourado); }
.rodape__logo { width: 72px; height: auto; margin-bottom: 20px; }
.chamada__selo { width: clamp(88px, 9vw, 120px); height: auto; margin: 0 auto 28px; }
@media (max-width: 400px) { .logo__nome { display: none; } }

/* ---------- larguras (01/12/2026): margens laterais menores, texto em colunas legíveis ---------- */
.titulo-secao { max-width: 880px; }
.hero--interna .container > div { max-width: 920px; }
.grade--2 { gap: clamp(32px, 5vw, 96px); }
@media (min-width: 1200px) {
  .grade--4 { grid-template-columns: repeat(4, 1fr); }
  .servicos-inicio { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- site 10% menor no computador (01/12/2026). Só a partir de 1024px: no celular os toques ficam com 44px ---------- */
@media (min-width: 1024px) {
  :root { --z: .8; }       /* 02/12/2026: 80% (was 90%). Everything that measures the window divides by --z */
  html { zoom: .8; }
  .abertura { min-height: clamp(560px, calc(100svh / var(--z) - 94px), 1150px); }
}

/* ---------- Como começa um contrato v2: linha do tempo da troca (01/12/2026) ---------- */
.contrato__topo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.contrato__topo h2 { margin: 0; }
.contrato__topo .texto-suave { margin: 0; font-size: 1.15rem; }
.linha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr .9fr 1fr 1fr; position: relative; }
.linha::before { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: var(--marinho); }
.linha > li { position: relative; padding: 0 clamp(14px, 1.8vw, 28px) 0 0; }
.linha__fase { display: block; height: 32px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); }
.linha__passo::before { content: ""; position: absolute; left: 0; top: 38px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--marinho); }
.linha__passo h3 { margin: 44px 0 10px; font-size: 1.25rem; display: flex; align-items: baseline; gap: 10px; }
.linha__n { font-size: .85rem; font-weight: 700; color: var(--dourado-texto); font-variant-numeric: tabular-nums; }
.linha__passo p { margin: 0 0 12px; color: var(--texto-suave); font-size: .98rem; }
.linha__seq { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; font-weight: 600; color: var(--marinho); }
.linha__seq li + li::before { content: "→"; margin: 0 8px; color: var(--dourado-texto); }
.linha__tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--texto-suave); }
.linha__tags b { display: inline-block; min-width: 56px; margin-right: 8px; padding: 2px 8px; border: 1px solid var(--marinho); border-radius: 4px; font-size: .78rem; letter-spacing: .08em; color: var(--marinho); text-align: center; }
/* o momento da troca: o que o comprador teme, em destaque */
.linha__troca { background: var(--marinho); color: #fff; border-radius: var(--raio); padding: 0 24px 24px !important; margin: -8px 28px 0 0; align-self: start; z-index: 1; }
.linha__troca .linha__fase { height: auto; padding: 16px 0 0; color: var(--dourado-claro); }
.linha__troca::before { content: ""; position: absolute; left: 24px; top: 44px; width: 18px; height: 18px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 0 6px rgba(212, 166, 58, .25); }
.linha__troca strong { display: block; margin-top: 40px; font-size: 1.3rem; letter-spacing: -.01em; }
.linha__troca p { margin: 8px 0 0; color: #d6d1c5; font-size: .98rem; }
@media (max-width: 1100px) {
  .contrato__topo { grid-template-columns: 1fr; }
  .linha { grid-template-columns: 1fr; gap: 0; }
  .linha::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .linha > li { padding: 0 0 32px 40px; }
  .linha__passo::before { left: 0; top: 4px; }
  .linha__fase { height: auto; margin-bottom: 4px; }
  .linha__passo h3 { margin-top: 0; }
  .linha__troca { margin: 0 0 32px 32px; padding: 0 20px 20px 20px !important; }
  .linha__troca::before { left: -35px; top: 18px; }
  .linha__troca strong { margin-top: 8px; }
}

/* ---------- Como a rede protege: palco 3D (poster + canvas), pinos, relógio, pontos e cartão (01/12/2026) ---------- */
.rede__esq { display: grid; gap: 16px; align-content: start; min-width: 0; }
.rede__palco { position: relative; aspect-ratio: 16 / 10; border-radius: var(--raio); overflow: hidden; background: #050505; border: 1px solid var(--borda-escura); }
.rede__palco picture, .rede__poster, .rede__tela { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rede__poster { object-fit: cover; transition: opacity .5s ease; }
.rede__tela { opacity: 0; transition: opacity .5s ease; touch-action: pan-y; }
.rede__palco.pronto .rede__tela { opacity: 1; }
.rede__palco.pronto .rede__poster { opacity: 0; }
.rede__pinos { position: absolute; inset: 0; pointer-events: none; }
.rede__pinos:empty { display: none; }
.rede__pino { position: absolute; left: 0; top: 0; appearance: none; border: 0; background: none; padding: 0; width: 0; height: 0; cursor: pointer; pointer-events: auto; color: #fff; font: inherit; }
.rede__pino::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 0 4px rgba(212, 166, 58, .28); transition: transform .2s var(--suave); }
.rede__pino::after { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; }
.rede__pino span { position: absolute; left: 14px; top: -14px; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: rgba(5, 5, 5, .85); border: 1px solid var(--borda-escura); font-size: .78rem; font-weight: 700; letter-spacing: .04em; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--suave); }
.rede__pino:hover span, .rede__pino.ativo span { opacity: 1; transform: none; }
.rede__pino:hover::before, .rede__pino.ativo::before { transform: scale(1.25); }
.rede__relogio { position: absolute; right: 12px; bottom: 12px; display: flex; padding: 4px; border-radius: 999px; background: rgba(5, 5, 5, .78); border: 1px solid var(--borda-escura); }
.rede__relogio button { appearance: none; border: 0; background: none; color: #c9c4b8; font: inherit; font-size: .82rem; font-weight: 700; min-height: 40px; min-width: 52px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-variant-numeric: tabular-nums; }
.rede__relogio button[aria-pressed="true"] { background: var(--dourado); color: var(--marinho-fundo); }
.rede__chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* "Qual é o seu local?" */
.rede__local { display: grid; gap: 10px; }
.rede__local-t { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dourado); }
.rede__local-bts { display: inline-flex; justify-self: start; max-width: 100%; padding: 4px; border-radius: 999px; border: 1px solid var(--borda-escura); background: rgba(255, 255, 255, .02); overflow-x: auto; scrollbar-width: none; }
.rede__local-bts button { appearance: none; flex: none; border: 0; background: none; color: #c9c4b8; font: inherit; font-size: .9rem; font-weight: 600; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.rede__local-bts button:hover { color: #fff; }
.rede__local-bts button[aria-pressed="true"] { background: var(--dourado); color: var(--marinho-fundo); }
.rede__local-txt { margin: 0; min-height: 1.5em; color: #c9c4b8; font-size: .95rem; }
.rede__local-txt:empty { display: none; }
/* Verificar: the camera image the central is looking at */
.rede__ve { position: absolute; top: 12px; right: 12px; width: min(36%, 320px); margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--dourado); background: #050505;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .35s var(--suave), transform .35s var(--suave), visibility 0s .35s; }
.rede__ve img { display: block; width: 100%; height: auto; }
.rede__ve figcaption { padding: 6px 10px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #c9c4b8; background: rgba(5, 5, 5, .9); }
.rede[data-passo="3"] .rede__ve { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--suave) .5s, transform .35s var(--suave) .5s, visibility 0s .5s; }
.rede__filme-bt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--dourado); background: rgba(5, 5, 5, .82); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer; }
.rede__filme-bt[hidden] { display: none; }
.rede__filme-bt span { color: var(--dourado); }
.rede__filme-bt small { font-weight: 600; color: #c9c4b8; font-size: .8rem; }
.rede__filme-bt:hover { background: rgba(5, 5, 5, .95); }
.rede__filme { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #050505; z-index: 2; }
.rede__pino.quase span { opacity: 1; transform: none; }
.rede__pino.quase::before { transform: scale(1.25); }
.rede__chip { appearance: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--borda-escura); background: transparent; color: #fff; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.rede__chip:hover { border-color: var(--dourado); }
.rede__chip[aria-pressed="true"] { background: var(--dourado); border-color: var(--dourado); color: var(--marinho-fundo); }
.rede__cartao { padding: 18px 20px; border-radius: var(--raio); background: var(--marinho-2); border: 1px solid var(--borda-escura); }
.rede__cartao small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-claro); }
.rede__cartao strong { display: block; margin-top: 4px; font-size: 1.2rem; }
.rede__cartao p { margin: 6px 0 4px; color: #c9c4b8; }
.rede__cartao .elo { color: #fff; }
@media (max-width: 700px) {
  .rede__palco { aspect-ratio: 4 / 5; }
  .rede__pino span { display: none; }
  .rede__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .rede__chip { flex: none; }
}
.rede__pausa { position: absolute; left: 12px; bottom: 12px; appearance: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--borda-escura); background: rgba(5, 5, 5, .78); color: #c9c4b8; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.rede__pausa:hover, .rede__pausa[aria-pressed="true"] { color: #fff; border-color: var(--dourado); }

/* ---------- Como a rede protege · fase 1 (01/12/2026): prova, player do incidente, orçamento ---------- */
.rede__prova { margin: 4px 0 0; font-size: .86rem; font-weight: 600; letter-spacing: .02em; color: var(--dourado-claro); font-variant-numeric: tabular-nums; }
.rede__pontos { display: inline-flex; gap: 6px; align-items: center; }
.rede__pontos i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background-color .3s; }
.rede__pontos i.on { background: var(--dourado); }
.rede__agora { min-height: 1.4em; margin: 10px 0 0; font-size: .86rem; color: #c9c4b8; }
.rede__agora:empty { display: none; }
.rede__orcamento { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--borda-escura); display: grid; gap: 8px; justify-items: start; }
.rede__orcamento p { margin: 0; font-size: .92rem; color: #c9c4b8; }
.rede__orcamento a[href^="tel:"] { color: #fff; font-weight: 700; text-decoration: none; }
.rede__orcamento .elo { color: #fff; min-height: 32px; }
.rede__cartao .elo + .elo { margin-left: 16px; }
@media (pointer: coarse) { .rede__pino:not(.ativo) span { display: none; } .rede__pino:not(.ativo)::before { transform: scale(.75); opacity: .85; } }
.rede__palco.so-poster .rede__pausa { display: none; }
@media (max-width: 700px) {
  .rede__pausa { top: 12px; bottom: auto; }
  .rede__ve { top: 62px; width: 46%; }
  .rede__ve figcaption { font-size: .68rem; padding: 5px 8px; }
  .rede__local-bts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; background: none; }
  .rede__local-bts button { border: 1px solid var(--borda-escura); min-height: 40px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .rede__ve { transition: none; } .rede[data-passo="3"] .rede__ve { transition: none; } }

/* ---------- Como a rede protege · v4 (02/12/2026): palco de ponta a ponta, controles sobre a cena ----------
   Telas largas: o palco ocupa a largura toda da janela e a altura de uma tela; o seletor de local, os pontos, o relógio
   e o painel dos passos ficam por cima dele. A maquete é enquadrada na área livre à esquerda do painel (o viewer mede
   o painel; o poster usa a mesma conta em --rede-livre). Telas estreitas: tudo empilhado, palco de borda a borda. */
.rede .titulo-secao { margin-bottom: clamp(20px, 3vw, 36px); }
.rede__rodape { display: grid; gap: 4px; }
.rede__rodape .rede__nota { margin: 0; }
.rede__pino.fora { opacity: 0; pointer-events: none; }
.rede__pino { transition: opacity .3s; }
.rede__dica { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(5, 5, 5, .72); border: 1px solid var(--borda-escura); color: #c9c4b8; font-size: .78rem; font-weight: 600; letter-spacing: .04em; pointer-events: none; opacity: 0; transition: opacity .5s; white-space: nowrap; }
.rede__dica.on { opacity: 1; }
@media (max-width: 700px) {
  .rede__palco { margin-inline: calc(-1 * var(--margem)); border-radius: 0; border-inline: 0; }
  .rede__dica { display: none; }
}
@media (min-width: 1100px) {
  /* --rede-livre: from the window's left edge to the panel's left edge, as seen from inside the stage (50% = half the container) */
  /* the page is zoomed (--z) from 1024px up, so one window width is 100vw / --z here */
  .rede { --rede-vw: calc(100vw / var(--z)); --rede-painel: 364px; --rede-livre: calc(var(--rede-vw) / 2 + 50% - var(--rede-painel)); --rede-alto: clamp(600px, 100svh / var(--z) - 130px, 900px); }
  .rede__grade { grid-template-columns: minmax(0, 1fr) var(--rede-painel); grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 0; align-items: start; position: relative; }
  .rede__esq { display: contents; }
  .rede__palco { grid-column: 1 / -1; grid-row: 1 / 4; height: var(--rede-alto); aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  /* the picture layers (poster, canvas, pins) run the full width of the window; the controls stay on the container */
  .rede__palco .rede__tela, .rede__palco .rede__pinos, .rede__palco picture { left: calc(50% - var(--rede-vw) / 2); right: auto; width: var(--rede-vw); }
  /* the poster sits exactly where the 3D will frame the model: fitted to the free width, centred in the height */
  .rede__palco picture { width: var(--rede-livre); }
  .rede__poster { object-fit: contain; -webkit-mask-image: linear-gradient(#0000, #000 12%, #000 88%, #0000); mask-image: linear-gradient(#0000, #000 12%, #000 88%, #0000); }
  .rede__local, .rede__chips, .rede__cartao, .rede__lado { position: relative; z-index: 2; }
  .rede__local { grid-column: 1; grid-row: 1; padding-top: 22px; justify-self: start; }
  .rede__local-bts { background: rgba(5, 5, 5, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .rede__local-txt { max-width: 44ch; text-shadow: 0 1px 12px #050505; }
  .rede__cartao { grid-column: 1; grid-row: 2; align-self: end; justify-self: start; width: min(400px, 100%); margin-bottom: 12px; background: rgba(16, 15, 14, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .rede__chips { grid-column: 1; grid-row: 3; align-self: end; padding-bottom: 22px; max-width: calc(100% - 190px); }
  .rede__chip { background: rgba(5, 5, 5, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .rede__lado { grid-column: 2; grid-row: 1 / 4; align-self: center; max-height: calc(var(--rede-alto) - 40px); overflow: auto; scrollbar-width: thin; padding: 6px 24px 22px; border-radius: var(--raio); border: 1px solid var(--borda-escura); background: rgba(12, 12, 11, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .rede__passo:first-child { border-top: 0; }
  .rede__passo button { padding-block: 15px; min-height: 54px; }
  .rede__passo button::before { top: 17px; }
  .rede__passo strong { font-size: 1.15rem; }
  .rede__acoes { margin-top: 14px; }
  .rede__orcamento { margin-top: 16px; padding-top: 16px; gap: 4px; }
  .rede__prova { grid-column: 1 / -1; grid-row: 4; margin-top: 18px; }
  .rede__rodape { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; }
  /* controls inside the full-width stage line up with the page container and stop at the panel */
  .rede__relogio { top: 22px; bottom: auto; right: calc(var(--rede-painel) + 20px); background: rgba(5, 5, 5, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .rede__pausa { bottom: 24px; left: auto; right: calc(var(--rede-painel) + 20px); }
  .rede__ve { top: 84px; right: calc(var(--rede-painel) + 20px); width: min(300px, 26vw); }
  .rede__filme-bt, .rede__dica { left: calc(50% - var(--rede-vw) / 2 + var(--rede-livre) / 2); }
  .rede__dica { bottom: 84px; }
  /* the film stops above the row of service buttons, so its own controls stay reachable */
  .rede__filme { left: calc(50% - var(--rede-vw) / 2); width: var(--rede-livre); height: calc(100% - 76px); }
}
/* callouts: on screens with a pointer, every service carries its name on a short gold leader */
@media (hover: hover) and (min-width: 1100px) {
  .rede__pino::before { left: -4px; top: -4px; width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(212, 166, 58, .22); }
  .rede__pino { --h: 30px; }
  .rede__pino[data-id="camera"] { --h: 64px; }
  .rede__pino[data-id="vigilante"] { --h: 18px; }
  .rede__pino[data-id="central"] { --h: 40px; }
  .rede__pino[data-id="drone"] { --h: 22px; }
  .rede__pino span { left: 0; top: calc(-28px - var(--h)); transform: translateX(-50%); opacity: .94; padding: 5px 11px; background: rgba(5, 5, 5, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
  .rede__pino span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--h); background: linear-gradient(var(--dourado), rgba(212, 166, 58, 0)); }
  .rede__pino:hover span, .rede__pino.ativo span, .rede__pino.quase span { opacity: 1; transform: translateX(-50%); border-color: var(--dourado); color: var(--dourado-claro); }
  .rede:not([data-passo="1"]) .rede__pino:not(.ativo) { opacity: 0; pointer-events: none; }
}
/* between 1100 and 1280px the service buttons wrap to two rows and would sit under the hint */
@media (max-width: 1279px) { .rede__dica { display: none; } }
@media (prefers-reduced-motion: reduce) { .rede__pino, .rede__dica { transition: none; } }

/* ---------- O que a central vê · v5 (02/12/2026): moldura vermelha de alerta na imagem da câmera ----------
   A imagem já traz os cantos vermelhos em volta da pessoa; a moldura da tela inteira é desenhada aqui (e na parede de
   telas da maquete, pelo viewer). Pisca devagar; parada para quem pede menos movimento. */
.rede__ve { --alerta: #e23e34; }
.rede[data-passo="3"] .rede__ve { border: 2px solid var(--alerta); box-shadow: 0 0 0 1px rgba(226, 62, 52, .35), 0 0 22px rgba(226, 62, 52, .38), inset 0 0 0 1px rgba(226, 62, 52, .5); animation: rede-alerta 1.3s ease-in-out infinite; }
.rede[data-passo="3"] .rede__ve figcaption { border-top: 1px solid rgba(226, 62, 52, .55); }
.rede[data-passo="3"] .rede__ve figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--alerta); vertical-align: 1px; }
@keyframes rede-alerta { 50% { border-color: rgba(226, 62, 52, .45); box-shadow: 0 0 0 1px rgba(226, 62, 52, .15), 0 0 10px rgba(226, 62, 52, .16), inset 0 0 0 1px rgba(226, 62, 52, .2); } }
@media (min-width: 1100px) { .rede__ve { width: min(360px, 28vw); } }
@media (prefers-reduced-motion: reduce) { .rede[data-passo="3"] .rede__ve { animation: none; } }
/* the place's one-line description only at rest: during an incident the model is close behind it */
@media (min-width: 1100px) { .rede:not([data-passo="1"]) .rede__local-txt { opacity: 0; transition: opacity .3s; } }

/* the second camera picture: the moment he is stopped (Agir), in a calm gold frame */
.rede[data-passo="4"][data-pego="1"] .rede__ve { opacity: 1; visibility: visible; transform: none; border: 2px solid var(--dourado); box-shadow: 0 0 20px rgba(212, 166, 58, .3);
  transition: opacity .35s var(--suave), transform .35s var(--suave), visibility 0s; }
.rede[data-passo="4"][data-pego="1"] .rede__ve figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--dourado); vertical-align: 1px; }

/* ---------- O que fazemos · índice (02/12/2026): lista numerada + uma foto grande que troca com o item ---------- */
.indice { display: grid; gap: 28px; }
.indice__lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ddd6c6; }
.indice__item { border-bottom: 1px solid #ddd6c6; }
.indice__item a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 18px 4px; color: inherit; text-decoration: none; }
.indice__n { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: #a39d90; font-variant-numeric: tabular-nums; transition: color .25s; }
.indice__corpo { display: grid; gap: 3px; }
.indice__corpo strong { font-size: clamp(1.15rem, 1.6vw, 1.55rem); letter-spacing: -.01em; line-height: 1.2; }
.indice__corpo span { color: #5f5a50; font-size: .95rem; }
.indice__seta { color: var(--dourado-escuro, #8a6a1f); font-size: 1.2rem; opacity: .35; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.indice__item.ativo .indice__n, .indice__item a:focus-visible .indice__n { color: var(--dourado-escuro, #8a6a1f); }
.indice__item.ativo .indice__seta, .indice__item a:focus-visible .indice__seta { opacity: 1; transform: none; }
.indice__foto-m { margin: 0 0 18px; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; }
.indice__fotos { display: none; }
@media (min-width: 960px) {
  .indice { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .indice__foto-m { display: none; }
  .indice__item a { padding-block: 20px; }
  .indice__fotos { display: block; position: sticky; top: 100px; aspect-ratio: 4 / 5; max-height: calc(100svh / var(--z, 1) - 140px); width: 100%; border-radius: var(--raio); overflow: hidden; background: #111; }
  .indice__foto { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--suave); }
  .indice__foto.ativo { opacity: 1; }
  .indice__foto > *, .indice__foto img { width: 100%; height: 100%; margin: 0; object-fit: cover; aspect-ratio: auto; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .indice__foto, .indice__seta { transition: none; } }
