/* Smart Vision AI, site institucional, 3ª versão.
   v3: cartões de setor iguais, a tela do operador com vídeo real na
   demonstração e as páginas dos setores com o texto da referência (cada
   número dela com a etiqueta "não medido" colada).
   Base medida: fundo escuro quente com texto creme, barra flutuante
   arredondada, botão em pílula com degradê, cores por setor, fotos.
   Fonte: Gabarito (SIL OFL 1.1, ver assets/fonts/OFL-Gabarito.txt).
   JetBrains Mono só para dado real (placa, horário). */

@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/gabarito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/gabarito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* superfícies */
  --fundo: #1F1F28;
  --barra: #1A1A24;
  --cartao: #262636;
  --tela: #16161E;
  --tela-2: #1C1C27;
  --borda: #363649;
  --borda-forte: #4A4A63;
  --borda-campo: #6E6E8A;
  /* texto sobre o escuro */
  --texto: #F0E8E0;
  --texto-2: #D6D8DC;
  --texto-3: #BEB3A7;
  /* ação */
  --azul-1: #205CB6;
  --azul-2: #2874D2;
  --azul-link: #7BB0F4;
  --sobre-azul: #FFFFFF;
  /* seção clara */
  --claro: #EFEFEF;
  --claro-texto: #1E1F2B;
  --claro-texto-2: #474A5C;
  --claro-linha: #CBCBD3;
  --claro-link: #1D56AE;
  /* setores */
  --setor-porto: #31BF8B;
  --setor-aero: #F3C049;
  --setor-logistica: #F7A285;
  --setor-industria: #D08AFF;
  --tinta-porto: #1F3D32;
  --tinta-aero: #443718;
  --tinta-logistica: #442318;
  --tinta-industria: #331547;
  --setor-cidades: #A8D672;
  --tinta-cidades: #2C3A1B;
  --setor-transporte: #5CC8F0;
  --tinta-transporte: #183844;
  --setor-varejo: #F58BC0;
  --tinta-varejo: #45182F;
  /* etiqueta de texto da referência */
  --ref: #F3C049;
  --ref-claro: #7A5500;
  /* severidade, só na tela desenhada */
  --sev-critica: #FF8A7A;
  --sev-atencao: #F3C049;
  --sev-info: #7BB0F4;
  --sev-ok: #31BF8B;
  /* tipo */
  --fonte: "Gabarito", "Trebuchet MS", sans-serif;
  --fonte-mono: "JetBrains Mono", Consolas, monospace;
  /* medidas */
  --largura: 1400px; /* a mesma da barra do menu: o texto bate com ela */
  --largura-larga: 1400px;
  --margem: 32px;
  --raio-pilula: 9999px;
  --raio-barra: 35px;
  --raio-grande: 22px;
  --raio-foto: 16px;
  --raio-tela: 14px;
  --raio-pequeno: 12px;
  --secao: 96px;
  --altura-topo: 68px;     /* 12px de folga + a barra de 56px */
  --sobreposicao: 340px;   /* quanto a faixa de setores sobe sobre o vídeo: a 1ª
                              fileira de cartões, com o nome, cabe na 1ª tela de 1440x900 */
  --respiro: 88px;         /* dos botões do topo até a fileira de cartões */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--azul-link); outline-offset: 3px; }
.secao--clara :focus-visible { outline-color: var(--claro-link); }
.mono { font-family: var(--fonte-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.conteudo { width: min(var(--largura), 100% - 2 * var(--margem)); margin-inline: auto; }

.pular {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--texto); color: var(--claro-texto);
  padding: 10px 18px; border-radius: var(--raio-pilula); font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }

/* ---------------- tipografia */
.titulo-abertura {
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: .93;
  letter-spacing: -.035em;
  font-weight: 700;
  max-width: 13.5em;
  text-wrap: balance;
}
.abertura {
  margin-top: 28px;
  font-size: 24px; line-height: 32px;
  color: var(--texto-2);
  max-width: 34em;
}
.secao--clara .abertura { color: var(--claro-texto-2); }
.titulo-1 {
  font-size: 72px; line-height: 72px; letter-spacing: -.025em; font-weight: 700;
  text-wrap: balance;
}
.titulo-2 { font-size: 48px; line-height: 50px; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
/* sem palavra sozinha na última linha de um título ("uma plataforma / só").
   balance, não pretty, e nos títulos que não são h1-h4 também (.titulo-3 dos
   cartões, os nomes dos setores): medido nas 11 páginas a 390, 768, 1024,
   1280, 1440 e 1920 (confere_r5_v3.py, 2.346 títulos), sobravam 43 com uma
   palavra sozinha e com esta regra sobram 8 (palavra mais longa que meia
   linha, como "Peça uma / demonstração.") */
h1, h2, h3, h4, [class*="titulo"], [class*="__nome"] { text-wrap: balance; }
.titulo-3 { font-size: 30px; line-height: 36px; letter-spacing: -.015em; font-weight: 600; }
.titulo-4 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; font-weight: 600; }
.titulo-5 { font-size: 20px; line-height: 28px; font-weight: 600; }
.lead { font-size: 24px; line-height: 32px; color: var(--texto-2); max-width: 896px; }

.link-forte {
  color: var(--texto); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--azul-link);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-forte:hover { color: var(--azul-link); }
.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 32px;
  border: 0; border-radius: var(--raio-pilula);
  background: linear-gradient(90deg, var(--azul-1), var(--azul-2));
  color: var(--sobre-azul);
  font-size: 17px; line-height: 24px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 4px rgb(30 30 40);
  transition: filter .5s;
}
.botao:hover { filter: brightness(.9); }
.botao--pequeno { min-height: 36px; padding: 8px 20px; font-size: 14px; line-height: 20px; }
.botao--grande { min-height: 52px; padding: 14px 34px; font-size: 18px; }
.botao--contorno {
  background: transparent; color: var(--texto);
  box-shadow: inset 0 0 0 1.5px var(--borda-forte);
}
.botao--contorno:hover { filter: none; background: rgb(240 232 224 / .07); }
.acoes { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------------- barra flutuante */
.sv-topo { position: sticky; top: 12px; z-index: 50; padding: 12px var(--margem) 0; }
.barra {
  position: relative;
  max-width: var(--largura-larga); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  min-height: 54px; padding: 7px 8px 7px 20px;
  border-radius: var(--raio-barra);
  background: rgb(26 26 36 / .92);
  border: 1px solid rgb(54 54 73 / .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; flex: none; }
.marca__simbolo { width: 30px; height: 30px; }
.marca__nome { font-size: 18px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__lista { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 0; border-radius: var(--raio-pilula);
  background: none; color: var(--texto);
  font-size: 15px; line-height: 20px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgb(240 232 224 / .08); }
.nav__seta { width: 12px; height: 12px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .nav__seta { transform: rotate(180deg); }
.barra__botao { flex: none; }

.painel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(780px, calc(100vw - 40px));
  transform: translate(-50%, -6px);
  padding: 14px;
  border-radius: 24px;
  background: rgb(30 30 42 / .97);
  border: 1px solid var(--borda);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / .55);
  opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.painel.aberto,
html:not(.js) .nav__grupo:hover .painel,
html:not(.js) .nav__grupo:focus-within .painel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .18s, transform .18s, visibility 0s;
}
.painel__lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.painel__item {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px;
  color: var(--texto); text-decoration: none;
}
.painel__item:hover { background: rgb(240 232 224 / .06); }
.painel__nome { font-size: 16px; line-height: 22px; font-weight: 600; }
.painel__frase { font-size: 14px; line-height: 20px; color: var(--texto-3); }
.painel__lista--setores .painel__item { grid-template-columns: 10px 1fr; column-gap: 12px; }
.painel__lista--setores .painel__cor { grid-row: span 2; }
.painel__cor { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--c, var(--texto-3)); }
.painel__item--porto, .gaveta__link--porto { --c: var(--setor-porto); }
.painel__item--aero, .gaveta__link--aero { --c: var(--setor-aero); }
.painel__item--logistica, .gaveta__link--logistica { --c: var(--setor-logistica); }
.painel__item--industria, .gaveta__link--industria, .outro--industria { --c: var(--setor-industria); }
.painel__item--cidades, .gaveta__link--cidades, .outro--cidades { --c: var(--setor-cidades); }
.outro--porto { --c: var(--setor-porto); }
.outro--aero { --c: var(--setor-aero); }
.outro--logistica { --c: var(--setor-logistica); }
.painel__item--transporte, .gaveta__link--transporte, .outro--transporte { --c: var(--setor-transporte); }
.painel__item--varejo, .gaveta__link--varejo, .outro--varejo { --c: var(--setor-varejo); }
.painel__nota {
  margin: 10px 14px 4px; padding-top: 12px; border-top: 1px solid var(--borda);
  font-size: 14px; line-height: 20px; color: var(--texto-3);
}
.painel__nota a { color: var(--azul-link); }

.menu-botao {
  display: none; flex: none; margin-left: auto;
  width: 44px; height: 44px; padding: 11px;
  border: 0; border-radius: var(--raio-pilula);
  background: rgb(240 232 224 / .08); color: var(--texto); cursor: pointer;
}
.menu-botao svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-botao path { transition: transform .2s; transform-origin: 12px 12px; }
.menu-botao[aria-expanded="true"] .menu-botao__a { transform: translateY(4px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__b { transform: translateY(-4px) rotate(-45deg); }

.gaveta {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  max-height: calc(100vh - 140px); overflow: auto;
  padding: 8px 20px 20px; border-radius: 24px;
  background: rgb(30 30 42 / .98); border: 1px solid var(--borda);
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / .55);
}
.gaveta[hidden] { display: none; }
.gaveta__lista { list-style: none; }
.gaveta__link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 2px; border-bottom: 1px solid rgb(54 54 73 / .7);
  color: var(--texto); font-size: 18px; line-height: 24px; font-weight: 500; text-decoration: none;
}
.gaveta__link .painel__cor { margin-top: 0; flex: none; }
.gaveta__grupo { margin: 18px 0 2px; font-size: 14px; line-height: 20px; color: var(--texto-3); }
.gaveta__link--sub { padding: 10px 2px; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--texto-2); }
.gaveta__botao { width: 100%; margin-top: 18px; }

/* ---------------- seções */
.secao { padding-top: var(--secao); }
.secao--clara {
  margin-top: var(--secao); padding-block: 104px;
  background: var(--claro); color: var(--claro-texto);
}
.secao--clara + .secao { padding-top: var(--secao); }
.secao--clara a { color: var(--claro-link); }
/* o botão dentro da seção clara guarda a cor dele (a regra acima ganhava
   pela especificidade e deixava o texto azul sobre o azul do botão) */
.secao--clara .botao { color: var(--sobre-azul); }
.secao--clara .botao--contorno { color: var(--claro-texto); box-shadow: inset 0 0 0 1.5px var(--claro-linha); }

/* ---------------- herói com vídeo: o único movimento do site.
   O vídeo fica atrás de um véu escuro para o texto passar no contraste;
   com movimento reduzido ou sem JavaScript fica só o cartaz (um quadro
   do próprio vídeo). O visor nos cantos repete o desenho da marca. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--altura-topo));
  min-height: min(100svh, 1040px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--altura-topo) + 72px) 0 var(--hero-pe, 120px);
  background: var(--tela);
}
.hero--inicio { --hero-pe: calc(var(--sobreposicao) + var(--respiro)); padding-top: calc(var(--altura-topo) + 44px); }
.hero--setor { min-height: min(88svh, 880px); --hero-pe: 112px; }
.video-fundo { position: absolute; inset: 0; z-index: -2; }
.video-fundo__cartaz, .video-fundo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veu {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 48% at 50% 50%, rgb(18 18 26 / .52), rgb(18 18 26 / 0) 80%),
    linear-gradient(180deg, rgb(18 18 26 / .74) 0%, rgb(18 18 26 / .48) 26%, rgb(18 18 26 / .52) 66%, var(--fundo) 100%);
}
.visor {
  position: absolute; z-index: -1; pointer-events: none;
  inset: calc(var(--altura-topo) + 28px) 28px 28px;
  --cor-visor: rgb(240 232 224 / .7);
}
.hero--inicio .visor { bottom: calc(var(--sobreposicao) + 24px); }
.hero--setor .visor { --cor-visor: var(--cor-setor); }
.visor span { position: absolute; width: 44px; height: 44px; border: 0 solid var(--cor-visor); }
.visor span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 12px; }
.visor span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 12px; }
.visor span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 12px; }
.visor span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 12px; }

.hero__texto { display: flex; flex-direction: column; align-items: flex-start; }
.titulo-video {
  font-size: clamp(48px, 8.2vw, 128px); line-height: .9; letter-spacing: -.045em; font-weight: 800;
  max-width: none; text-wrap: balance;
  color: var(--texto); text-shadow: 0 2px 28px rgb(0 0 0 / .35);
}
.titulo-video--setor { font-size: clamp(42px, 7.4vw, 116px); line-height: .92; max-width: none; }
.hero__lead { margin-top: 24px; color: var(--texto); max-width: 38em; text-wrap: balance; text-shadow: 0 1px 14px rgb(0 0 0 / .55); }
.hero__texto .acoes { margin-top: 30px; }
.link-forte--claro { color: var(--texto); text-shadow: 0 1px 10px rgb(0 0 0 / .6); }
/* sobre o vídeo a trilha vai numa placa escura: a cor do setor e o texto
   passam no contraste em qualquer quadro, inclusive no vídeo claro de logística */
.migalha--video {
  display: inline-flex; gap: 6px; padding: 5px 14px; border-radius: 12px;
  background: rgb(22 22 31 / .86); color: var(--texto-2);
}
.migalha--video a { color: var(--texto); }
.hero__credito {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  padding: 5px 14px; border-radius: var(--raio-pilula); white-space: nowrap;
  background: rgb(26 26 36 / .88); color: var(--texto-2);
  font-size: 13px; line-height: 18px; font-weight: 500;
}

/* ---------------- faixa de setores, logo abaixo do vídeo */
.faixa { position: relative; z-index: 2; margin-top: calc(-1 * var(--sobreposicao)); }
.faixa__lista {
  list-style: none;
  width: min(var(--largura-larga), 100% - 2 * var(--margem)); margin-inline: auto;
  /* v3: cartões iguais. Toda fileira tem a altura da mais alta (1fr numa
     grade de altura livre) e o cartão estica até o fim da célula: largura,
     altura e topo saem iguais por construção, e confere_v3.py mede. A foto
     fica em cima com proporção fixa (16:10) e o texto embaixo, fora dela:
     frase mais longa não encolhe a foto de um cartão só. */
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px;
}
.faixa__item { min-width: 0; display: flex; }
.faixa__cabeca {
  margin-top: 48px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px;
}
.faixa__cabeca p:last-child { color: var(--texto-2); }
.faixa__nota { margin-top: 28px; font-size: 16px; line-height: 24px; color: var(--texto-3); }
.faixa__nota span { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; }
/* o título e a nota da faixa na largura dos cartões: com a do miolo, a
   1920 px ficavam 40 px para dentro dos cartões de cada lado (r5) */
.faixa .conteudo { width: min(var(--largura-larga), 100% - 2 * var(--margem)); }

.setor {
  position: relative; overflow: hidden; flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  border-radius: var(--raio-foto); background: var(--tinta, var(--cartao));
  color: var(--texto); text-decoration: none;
  box-shadow: 0 32px 64px -32px rgb(0 0 0 / .8);
}
/* a prévia (16x10 embutida no HTML) é o fundo: aparece antes da foto e fica
   se a foto não chegar */
.setor__foto {
  position: relative; display: block; flex: none; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--previa, none) center / cover no-repeat, var(--cartao);
}
.setor__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.setor::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 6px; background: var(--cor); }
.setor--porto { --cor: var(--setor-porto); --tinta: var(--tinta-porto); }
.setor--industria { --cor: var(--setor-industria); --tinta: var(--tinta-industria); }
.setor--aero { --cor: var(--setor-aero); --tinta: var(--tinta-aero); }
.setor--logistica { --cor: var(--setor-logistica); --tinta: var(--tinta-logistica); }
.setor--cidades { --cor: var(--setor-cidades); --tinta: var(--tinta-cidades); }
.setor--transporte { --cor: var(--setor-transporte); --tinta: var(--tinta-transporte); }
.setor--varejo { --cor: var(--setor-varejo); --tinta: var(--tinta-varejo); }
/* o 8º cartão, sem foto: a chamada da referência para quem não achou o setor */
.setor--comecar {
  --cor: var(--azul-link); --tinta: transparent; justify-content: center;
  background: linear-gradient(160deg, #26344F 0%, var(--cartao) 70%); border: 1px solid var(--borda);
}
.setor--comecar .setor__texto { flex: none; }
.setor--comecar .setor__nome { font-size: 26px; line-height: 30px; }
.setor__texto {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px;
}
.setor__nome { font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -.015em; }
.setor__frase { font-size: 14px; line-height: 20px; color: var(--texto-2); }
.setor__ver {
  margin-top: auto; padding-top: 6px; font-size: 14px; line-height: 18px; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--cor); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.setor:hover .setor__ver { color: var(--cor); }

/* ---------------- tela desenhada */
.tela { margin-top: 64px; }
.tela__janela {
  background: var(--tela); border: 1px solid #3A3A50; border-radius: var(--raio-tela); overflow: hidden;
  box-shadow: 0 48px 96px -40px rgb(0 0 0 / .7), 0 0 0 6px rgb(240 232 224 / .03);
}
.tela__barra {
  display: flex; justify-content: space-between; align-items: center;
  height: 44px; padding: 0 18px; background: var(--barra); border-bottom: 1px solid #2C2C3C;
}
.tela__nome { font-size: 14px; line-height: 20px; font-weight: 600; }
.tela__relogio { font-size: 13px; color: var(--texto-2); }
.tela__corpo { display: grid; grid-template-columns: 200px minmax(0, 1fr) 360px; }
.tela__menu { border-right: 1px solid #2C2C3C; padding: 14px 12px; }
.tela__grupo { margin: 10px 10px 6px; font-size: 12px; line-height: 16px; color: var(--texto-3); }
.tela__menu ul { list-style: none; display: grid; gap: 2px; }
.tela__menu li { padding: 7px 10px; border-radius: 8px; font-size: 14px; line-height: 20px; color: var(--texto-2); }
.tela__menu li.ativo { background: #24345A; color: #FFFFFF; font-weight: 600; }
.tela__centro { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.tela__quadros { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quadro { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14141C; }
.cena { width: 100%; height: 100%; }
.quadro__nome, .quadro__estado, .mini__nome, .resultado__local, .resultado__hora {
  position: absolute; background: rgb(14 14 20 / .85); color: var(--texto);
  border-radius: 6px; padding: 2px 8px; font-size: 12px; line-height: 18px;
}
.quadro__nome { left: 8px; top: 8px; font-weight: 600; }
.quadro__estado { right: 8px; bottom: 8px; font-size: 11px; color: var(--texto-2); }
.linha-tempo { background: var(--barra); border: 1px solid #2C2C3C; border-radius: 10px; padding: 12px 14px; }
.linha-tempo__topo { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; color: var(--texto-2); }
.linha-tempo__trilho { position: relative; height: 28px; margin: 10px 0 6px; background: #22222E; border-radius: 6px; }
.linha-tempo__gravado { position: absolute; top: 9px; height: 10px; background: #3A4A6A; border-radius: 3px; }
.linha-tempo__marca { position: absolute; top: 4px; width: 4px; height: 20px; border-radius: 2px; transform: translateX(-50%); }
.linha-tempo__marca--info { background: var(--sev-info); }
.linha-tempo__marca--atencao { background: var(--sev-atencao); }
.linha-tempo__marca--critica { background: var(--sev-critica); }
.linha-tempo__agulha { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--texto); transform: translateX(-50%); }
.linha-tempo__horas { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--texto-3); }
.tela__fila { border-left: 1px solid #2C2C3C; padding: 16px 14px; min-width: 0; }
.tela__fila-titulo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; line-height: 20px; }
.tela__fila-titulo span { font-size: 12px; color: var(--texto-3); }
.fila { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.ocorrencia {
  --sev: var(--sev-info);
  display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 12px;
  padding: 11px 12px; border-radius: 10px; background: var(--tela-2); border: 1px solid #2A2A3A;
}
.ocorrencia--critica { --sev: var(--sev-critica); }
.ocorrencia--atencao { --sev: var(--sev-atencao); }
.ocorrencia--ok { --sev: var(--sev-ok); }
.ocorrencia--selecionada { border-color: var(--sev); background: #26222E; }
.ocorrencia__sev { border-radius: 2px; background: var(--sev); }
.ocorrencia__texto { display: grid; gap: 1px; min-width: 0; }
.ocorrencia__texto strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.ocorrencia__texto span { font-size: 13px; line-height: 18px; color: var(--texto-3); }
.ocorrencia__hora { font-size: 12px; line-height: 20px; color: var(--texto-3); white-space: nowrap; }
.tela__aviso { margin-top: 14px; text-align: center; font-size: 14px; line-height: 20px; color: var(--texto-3); }

/* a tela do operador (v3): vídeo real de banco de imagem, com a barra da
   câmera e o relógio, a linha do tempo com a agulha, a ficha da ocorrência
   e, ao lado, os momentos do trecho e a conversa. O relógio e a agulha são
   do site.js; sem ele (ou com movimento reduzido) ficam parados no quadro
   do cartaz. A transcrição completa fica no figcaption, para leitor de tela. */
.op { margin-top: 56px; }
.op__janela {
  background: var(--tela); border: 1px solid #3A3A50; border-radius: var(--raio-tela); overflow: hidden;
  box-shadow: 0 48px 96px -40px rgb(0 0 0 / .7), 0 0 0 6px rgb(240 232 224 / .03);
}
.op__topo {
  display: flex; align-items: center; gap: 24px; min-height: 48px; padding: 8px 18px;
  background: var(--barra); border-bottom: 1px solid #2C2C3C;
}
.op__marca { font-size: 14px; line-height: 20px; font-weight: 700; }
.op__abas { list-style: none; display: flex; gap: 4px; }
.op__abas li { padding: 4px 12px; border-radius: 8px; font-size: 13px; line-height: 20px; color: var(--texto-3); }
.op__abas .op__aba--ativa { background: #24345A; color: #FFFFFF; font-weight: 600; }
.op__aberto { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--texto-2); }
.op__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--sev-critica); }
.op__corpo { display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.op__camera { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.op__camera-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; line-height: 20px; }
.op__camera-nome { font-size: 14px; font-weight: 600; }
.op__modo { padding: 1px 8px; border-radius: 6px; background: #22222E; color: var(--texto-2); font-size: 12px; line-height: 18px; }
.op__camera-hora { margin-left: auto; color: var(--texto); font-size: 13px; }
.op__video-caixa { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0E0E14; }
.op__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.op__selo {
  position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 6px;
  background: rgb(14 14 20 / .86); color: var(--texto); font-size: 12px; line-height: 18px; font-weight: 700;
}
.op__linha { background: var(--barra); border: 1px solid #2C2C3C; border-radius: 10px; padding: 12px 14px; }
.op__linha-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 13px; line-height: 18px; color: var(--texto-2); }
.op__trilho { position: relative; height: 28px; margin: 10px 0 6px; background: #22222E; border-radius: 6px; cursor: pointer; }
.op__gravado { position: absolute; left: 0; right: 0; top: 9px; height: 10px; background: #3A4A6A; border-radius: 3px; }
.op__marca-evento { position: absolute; top: 4px; width: 4px; height: 20px; border-radius: 2px; transform: translateX(-50%); }
.op__marca-evento--critica { background: var(--sev-critica); }
.op__marca-evento--atencao { background: var(--sev-atencao); }
.op__marca-evento--info { background: var(--sev-info); }
.op__agulha { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--texto); transform: translateX(-50%); }
.op__horas { position: relative; height: 16px; font-size: 12px; line-height: 16px; color: var(--texto-3); }
.op__horas span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.op__horas span:first-child { transform: none; }
.op__ficha { background: var(--tela-2); border: 1px solid #2A2A3A; border-radius: 10px; padding: 14px 16px; }
.op__ficha-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.op__ficha-titulo { font-size: 16px; line-height: 22px; font-weight: 700; }
.op__ficha-estado {
  padding: 1px 10px; border-radius: var(--raio-pilula); border: 1px solid var(--sev-critica);
  color: var(--sev-critica); font-size: 12px; line-height: 18px; font-weight: 600;
}
.op__dados { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; margin-top: 12px; }
.op__dados div { min-width: 0; }
.op__dados dt { font-size: 12px; line-height: 16px; color: var(--texto-3); }
.op__dados dd { margin: 2px 0 0; font-size: 14px; line-height: 20px; }
.op__lado { border-left: 1px solid #2C2C3C; display: flex; flex-direction: column; min-width: 0; }
.op__momentos { padding: 16px; border-bottom: 1px solid #2C2C3C; }
.op__sub { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .02em; color: var(--texto-3); }
.op__eventos { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.op__evento {
  --sev: var(--sev-info);
  width: 100%; display: grid; grid-template-columns: 4px auto minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 8px; background: var(--tela-2); border: 1px solid #2A2A3A;
  color: var(--texto); text-align: left; font-size: 13px; line-height: 18px; cursor: pointer;
}
.op__evento:hover { border-color: var(--sev); }
.op__evento--critica { --sev: var(--sev-critica); }
.op__evento--atencao { --sev: var(--sev-atencao); }
.op__evento-sev { align-self: stretch; border-radius: 2px; background: var(--sev); }
.op__evento .mono { font-size: 12px; color: var(--texto-2); }
.op__conversa { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.op__msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 21px; }
.op__msg--pessoa { align-self: flex-end; max-width: 85%; background: #24345A; color: #FFFFFF; }
.op__msg--sistema { background: var(--tela-2); border: 1px solid #2A2A3A; color: var(--texto-2); }
.op__quem { display: block; margin-bottom: 2px; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .04em; color: var(--texto-3); }
.op__msg--pessoa .op__quem { color: #D5DEEE; }
.op__ir {
  margin-top: 10px; padding: 5px 12px; border-radius: var(--raio-pilula); border: 1px solid var(--borda-forte);
  background: transparent; color: var(--texto); font-size: 13px; line-height: 18px; font-weight: 600; cursor: pointer;
}
.op__ir:hover { border-color: var(--texto-3); }
.op__campo { margin-top: auto; padding: 9px 14px; border-radius: var(--raio-pilula); border: 1px solid #2C2C3C; color: var(--texto-3); font-size: 13px; line-height: 18px; }
.op__legenda { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.op__nota { flex: 1 1 320px; font-size: 15px; line-height: 22px; color: var(--texto-3); }
/* O botão de pausa fica na barra da câmera, logo acima do vídeo: na
   legenda ele ficava 324 px abaixo do vídeo a 1440 e 1191 px a 390, e quem
   rolava até ele deixava o vídeo fora da tela (confere_v3, 23/10). */
.op__pausa {
  padding: 3px 14px; border: 1px solid var(--borda-forte); border-radius: var(--raio-pilula);
  background: var(--cartao); color: var(--texto); font: inherit; font-size: 13px; line-height: 18px; font-weight: 600; cursor: pointer;
}
.op__pausa:hover { border-color: var(--texto-3); }
.fila-intro { margin-top: 112px; }
.fila-intro p { margin-top: 14px; max-width: 40em; color: var(--texto-2); font-size: 20px; line-height: 30px; }

/* ---------------- problema: bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { min-width: 0; }
.bento p { margin-top: 10px; color: var(--texto-2); }
.bento__alto {
  grid-column: 1 / 5; grid-row: 1 / 3;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 36px; border-radius: var(--raio-grande); background: var(--cartao);
}
/* a parede de 24 telas e a única em foco: o que o texto diz, desenhado */
/* as duas metades do cartão alto são dois problemas: a linha entre elas diz
   isso (sem ela, liam como dois cartões fundidos; capturas r5 de 23/10) */
.bento__alto > div:last-child { padding-top: 24px; border-top: 1px solid var(--borda); }
.telas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; max-width: 300px; }
.telas span { aspect-ratio: 16 / 10; border-radius: 3px; background: var(--borda); }
.telas .telas__foco { background: var(--azul-2); box-shadow: 0 0 0 3px rgb(40 116 210 / .28); }
/* a legenda fica embaixo da foto, sobre fundo liso, e não por cima dela: a
   foto desfocada tem formas redondas (os monitores) que o título cobria */
.bento__foto {
  grid-column: 5 / 13; grid-row: 1 / 2; display: flex; flex-direction: column;
  border-radius: var(--raio-grande); overflow: hidden; background: var(--cartao);
}
.bento__foto img { display: block; flex: 1 1 0; min-height: 240px; width: 100%; object-fit: cover; }
.bento__sobre { flex: none; padding: 24px 32px 28px; border-top: 1px solid var(--borda); }
.bento__sobre p { max-width: 34em; }
.bento__p { padding: 24px 26px; border-radius: var(--raio-pequeno); border: 1px solid var(--borda); }
.bento__p p { font-size: 17px; line-height: 26px; }
.bento__p--a { grid-column: 5 / 9; grid-row: 2; }
.bento__p--b { grid-column: 9 / 13; grid-row: 2; }
.bento__p--c { grid-column: 1 / 5; grid-row: 3; }
.bento__p--d { grid-column: 5 / 9; grid-row: 3; }
.bento__resposta {
  grid-column: 9 / 13; grid-row: 3;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--raio-pequeno);
  background: linear-gradient(90deg, var(--azul-1), var(--azul-2));
  color: var(--sobre-azul); text-decoration: none;
}
.bento__resposta-link { margin-top: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* ---------------- passos (seção clara) */
.passos { list-style: none; margin-top: 64px; border-top: 1px solid var(--claro-linha); }
.passo {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--claro-linha);
}
.passo__nome { font-size: clamp(48px, 6vw, 88px); line-height: .95; letter-spacing: -.04em; font-weight: 700; }
.passo__faz { font-size: 20px; line-height: 30px; }
.passo__ganha { margin-top: 10px; color: var(--claro-texto-2); }

/* ---------------- plataforma */
.capacidades { margin-top: 80px; display: grid; gap: 120px; }
.capacidade { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.capacidade > * { min-width: 0; }
.capacidade--inverte .capacidade__texto { order: 2; }
.capacidade__nome { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.022em; font-weight: 700; }
.capacidade__frase { margin: 12px 0 16px; font-size: 24px; line-height: 32px; color: var(--texto); font-weight: 500; }
.capacidade__texto > p:not(.capacidade__frase) { color: var(--texto-2); }
.lista-ponto { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.lista-ponto li { position: relative; padding-left: 22px; color: var(--texto-2); font-size: 17px; line-height: 26px; }
.lista-ponto li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--texto-3); }
.capacidade__detalhe { padding: 28px; border-radius: var(--raio-grande); background: var(--cartao); border: 1px solid var(--borda); }
.detalhe__titulo { margin-bottom: 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--texto-2); }
.detalhe__nota { margin-top: 14px; font-size: 13px; line-height: 18px; color: var(--texto-3); }

.mini-mosaico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14141C; }
.mini__nome { left: 6px; top: 6px; font-size: 11px; line-height: 16px; padding: 2px 6px; font-weight: 600; }
.mini__estado {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  padding: 3px 6px; border-radius: 5px; background: rgb(14 14 20 / .9);
  font-size: 11px; line-height: 15px; color: var(--texto-2);
}
.mini__estado--alerta { color: var(--sev-atencao); }
.mini--indisponivel { outline: 2px solid var(--sev-atencao); outline-offset: -2px; }

.gate { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.gate > * { min-width: 0; }
.gate__placas ul { list-style: none; }
/* flex com quebra, não grade: a 1280 px o selo "Não foi possível consultar"
   (sem quebra de linha) não cabia ao lado da placa e invadia a coluna da
   ficha (visto nas capturas r4 de 23/10). Agora, se não couber, ele desce
   para a linha de baixo da placa. */
.placa {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding: 11px 0; border-bottom: 1px solid var(--borda);
}
.placa__numero {
  padding: 2px 8px; border-radius: 5px;
  background: var(--texto); color: var(--claro-texto); font-size: 14px; line-height: 20px; font-weight: 600;
}
.placa__desc { order: 2; flex: 1 0 100%; font-size: 14px; line-height: 20px; color: var(--texto-3); }
.placa .selo { order: 1; margin-left: auto; max-width: 100%; }
.selo {
  display: inline-block; padding: 2px 10px; border-radius: var(--raio-pilula);
  font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap;
}
.selo--ok { color: var(--sev-ok); background: rgb(49 191 139 / .14); }
.selo--critica { color: var(--sev-critica); background: rgb(255 138 122 / .14); }
.selo--atencao { color: var(--sev-atencao); background: rgb(243 192 73 / .14); }
.selo--info { color: var(--sev-info); background: rgb(123 176 244 / .14); }
.gate__ficha dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--borda); }
.gate__ficha dt { font-size: 14px; line-height: 20px; color: var(--texto-3); }
.gate__ficha dd { font-size: 14px; line-height: 20px; font-weight: 500; text-align: right; }

.cadeia { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cadeia li { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: var(--raio-pequeno); background: var(--tela-2); border: 1px solid var(--borda); }
.cadeia li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 12px; height: 2px; background: var(--borda-forte); }
.cadeia strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.cadeia span { font-size: 13px; line-height: 18px; color: var(--texto-3); }
.evento { margin-top: 16px; padding: 18px; border-radius: var(--raio-tela); background: var(--tela-2); border: 1px solid rgb(255 138 122 / .45); }
.evento__topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.evento__titulo { font-size: 18px; line-height: 24px; font-weight: 600; }
.evento__dados { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.evento__dados dt { font-size: 13px; line-height: 18px; color: var(--texto-3); }
.evento__dados dd { margin-top: 2px; font-size: 15px; line-height: 22px; }

.busca__caixa {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--raio-pilula);
  background: var(--tela-2); border: 1px solid var(--borda-forte); font-size: 16px; line-height: 22px;
}
.busca__caixa svg { width: 18px; height: 18px; flex: none; color: var(--texto-3); }
.busca__info { margin: 12px 4px 14px; font-size: 13px; line-height: 18px; color: var(--texto-3); }
.busca__resultados { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.resultado { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #14141C; }
.resultado__local { left: 8px; top: 8px; font-weight: 600; }
.resultado__hora { left: 8px; bottom: 8px; font-size: 11px; }

.fluxo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fluxo__coluna { position: relative; padding: 14px; border-radius: var(--raio-pequeno); background: var(--tela-2); border: 1px solid var(--borda); }
.fluxo__coluna:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: var(--azul-2); }
.fluxo__titulo { margin-bottom: 10px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--texto-3); }
.fluxo ul { list-style: none; display: grid; gap: 8px; }
.fluxo li { padding: 8px 10px; border-radius: 8px; background: #2A2A3C; font-size: 14px; line-height: 19px; }
.fluxo__rodape { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; line-height: 18px; color: var(--texto-3); }

.mais { margin-top: 128px; padding-top: 64px; border-top: 1px solid var(--borda); }
.mais__texto { margin-top: 16px; color: var(--texto-3); max-width: 40em; }
.mais__lista { list-style: none; margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 72px; }
.mais__lista p { margin-top: 6px; font-size: 17px; line-height: 26px; color: var(--texto-2); max-width: 34em; }

.integracoes { margin-top: 72px; }
.integracoes__lista { list-style: none; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.integracoes__lista li { padding: 8px 16px; border-radius: var(--raio-pilula); border: 1px solid var(--borda-forte); font-size: 15px; line-height: 20px; color: var(--texto-2); }

/* ---------------- arquitetura */
.pecas { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.peca { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--raio-pequeno); border: 1px solid var(--borda); }
.peca p { color: var(--texto-2); font-size: 17px; line-height: 26px; }
.peca--no { background: var(--cartao); border-color: var(--borda-forte); }
.peca__icone { width: 40px; height: 40px; fill: none; stroke: var(--texto-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.peca--no .peca__icone { stroke: var(--azul-link); }
.nota-borda { margin-top: 44px; max-width: 44em; font-size: 20px; line-height: 30px; color: var(--texto); }

.modos { margin-top: 128px; }
.modos__texto { margin-top: 16px; color: var(--texto-3); max-width: 40em; }
.abas {
  margin-top: 32px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px;
  border-radius: var(--raio-pilula); background: var(--barra); border: 1px solid var(--borda); max-width: 100%;
}
.aba {
  padding: 10px 18px; border: 0; border-radius: var(--raio-pilula);
  background: transparent; color: var(--texto-2); font-size: 15px; line-height: 20px; font-weight: 600; cursor: pointer;
}
.aba:hover { background: rgb(240 232 224 / .06); }
.aba[aria-selected="true"] { background: linear-gradient(90deg, var(--azul-1), var(--azul-2)); color: var(--sobre-azul); }
.modo { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; border-radius: var(--raio-grande); background: var(--cartao); }
.modo[hidden] { display: none; }
.modo__titulo { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--texto-3); }
.modo__texto { margin-top: 8px; font-size: 20px; line-height: 30px; }

/* ---------------- números */
.numeros__texto { margin-top: 16px; color: var(--texto-3); max-width: 40em; }
.numeros { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--raio-grande); background: var(--cartao); border: 1px solid var(--borda); }
.numero { padding: 32px 28px; }
.numero + .numero { border-left: 1px solid var(--borda); }
/* clamp: a 1024 px, com 60 px, "até 10.000" passava 21 px da caixa (varre_transbordo_v3, 23/10) */
.numero__valor { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; white-space: nowrap; }
.numero__prefixo { font-size: 22px; letter-spacing: 0; font-weight: 500; color: var(--texto-3); }
.numero__nome { margin-top: 10px; font-size: 18px; line-height: 26px; font-weight: 600; }
.numero__origem { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--texto-3); }

/* ---------------- privacidade (resumo) */
.privacidade { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.privacidade > * { min-width: 0; }
.privacidade__cabeca p { margin: 16px 0 24px; color: var(--texto-2); }
.privacidade__lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.privacidade__lista p { margin-top: 6px; font-size: 17px; line-height: 26px; color: var(--texto-2); }

/* ---------------- chamada */
.chamada { padding: 144px 0 128px; }
.chamada .conteudo { display: flex; flex-direction: column; align-items: flex-start; }
.chamada__titulo { max-width: 11em; }
.chamada__lista { list-style: none; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.chamada__lista li { display: flex; align-items: center; gap: 10px; text-align: left; }
.check { width: 22px; height: 22px; flex: none; color: var(--azul-link); }

/* ---------------- rodapé */
.rodape { padding: 64px 0 32px; background: var(--barra); border-top: 1px solid var(--borda); }
.rodape__grade { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.rodape__marca p { margin-top: 14px; font-size: 16px; line-height: 24px; color: var(--texto-3); max-width: 22em; }
.rodape__titulo { margin-bottom: 14px; font-size: 15px; line-height: 20px; font-weight: 600; }
.rodape__lista { list-style: none; display: grid; gap: 10px; }
.rodape__lista a, .rodape__lista li { font-size: 15px; line-height: 22px; color: var(--texto-3); text-decoration: none; }
.rodape__lista a:hover { color: var(--texto); text-decoration: underline; }
.rodape__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--borda); display: flex; flex-wrap: wrap; gap: 8px 32px; }
.rodape__base p { font-size: 14px; line-height: 20px; color: var(--texto-3); }

/* ---------------- páginas internas */
body[data-setor="porto"] { --cor-setor: var(--setor-porto); }
body[data-setor="aero"] { --cor-setor: var(--setor-aero); }
body[data-setor="logistica"] { --cor-setor: var(--setor-logistica); }
body[data-setor="industria"] { --cor-setor: var(--setor-industria); }
body[data-setor="cidades"] { --cor-setor: var(--setor-cidades); }
/* sem estas duas, Transporte e Varejo ficavam sem a cor do setor: o visor
   dos cantos do topo sumia e a migalha perdia a cor (capturas r5 de 23/10) */
body[data-setor="transporte"] { --cor-setor: var(--setor-transporte); }
body[data-setor="varejo"] { --cor-setor: var(--setor-varejo); }

.pagina-hero { padding-top: 72px; }
.pagina-hero .conteudo { display: flex; flex-direction: column; align-items: flex-start; }
.pagina-hero .titulo-1 { max-width: 13em; }
.pagina-hero .lead { margin-top: 24px; }
.migalha { margin-bottom: 28px; font-size: 15px; line-height: 20px; color: var(--texto-3); }
.migalha a { color: var(--texto-2); text-underline-offset: 3px; }
.migalha [aria-current] { color: var(--cor-setor, var(--texto)); font-weight: 600; }

.outros { padding-bottom: 72px; }
.outros .conteudo { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 32px; border-top: 1px solid var(--borda); }
.outros__lista { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.outro {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--raio-pilula); background: var(--cartao); border: 1px solid var(--borda);
  color: var(--texto); font-size: 16px; line-height: 22px; font-weight: 600; text-decoration: none;
}
.outro:hover { border-color: var(--c); }
.outro .painel__cor { margin-top: 0; flex: none; }

.resolve { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.resolve__item { min-width: 0; }
.resolve__item p { margin-top: 12px; color: var(--texto-2); }
.resolve__item--g { grid-column: span 7; grid-row: span 2; padding: 44px 40px; border-radius: var(--raio-grande); background: var(--cartao); box-shadow: inset 0 4px 0 var(--cor-setor); }
.resolve__item--g p { font-size: 20px; line-height: 30px; max-width: 30em; }
.resolve__item--g { display: flex; flex-direction: column; overflow: hidden; }
/* o quadro do meio do vídeo do setor encosta nas bordas do cartão grande e
   ocupa o que sobra da altura dele */
/* max-width: none porque a regra geral de img (max-width: 100%) cortava a
   largura de volta ao miolo e deixava 80 px de cartão vazio à direita da foto
   (visto nas capturas de 23/10; medido em mede_defeitos_v3, "resolve"). */
.resolve__foto {
  flex: 1 1 0; min-height: 170px; width: calc(100% + 80px); max-width: none; margin: 32px -40px -44px;
  object-fit: cover; border-radius: 0 0 var(--raio-grande) var(--raio-grande);
}
.resolve__item--m { grid-column: span 5; padding: 28px; border-radius: var(--raio-foto); border: 1px solid var(--borda-forte); }
.resolve__item--p { grid-column: span 4; padding: 24px; border-radius: var(--raio-pequeno); border: 1px solid var(--borda); }
.resolve__item--p2 { grid-column: span 6; padding: 24px; border-radius: var(--raio-pequeno); border: 1px solid var(--borda); }
.resolve__item--p p, .resolve__item--p2 p { font-size: 17px; line-height: 26px; }

.junto__texto { margin-top: 16px; color: var(--texto-3); max-width: 40em; }
.junto { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.junto li { padding-top: 20px; border-top: 2px solid var(--cor-setor, var(--borda-forte)); }
.junto p { margin-top: 8px; font-size: 17px; line-height: 26px; color: var(--texto-2); }

.declaracao { max-width: 1100px; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; text-wrap: pretty; }

.razoes { list-style: none; margin-top: 56px; }
.razao { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--claro-linha); }
.razao:last-child { border-bottom: 1px solid var(--claro-linha); }
.razao__nome { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.razao p { font-size: 19px; line-height: 30px; color: var(--claro-texto-2); }

.principios { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principio { padding: 28px; border-radius: var(--raio-pequeno); border: 1px solid var(--borda); }
.principio p { margin-top: 10px; color: var(--texto-2); }
.principio--primeiro { grid-column: 1 / -1; padding: 48px; border-radius: var(--raio-grande); background: var(--cartao); border: 0; }
.principio--primeiro p { font-size: 22px; line-height: 32px; max-width: 36em; margin-top: 16px; }

/* sem a foto e sem a história (o dono ainda não passou: README.md), o bloco é
   só o texto, numa coluna de leitura, e não uma grade com a metade vazia */
.quem > div { max-width: 46em; }
.quem__texto { margin-top: 16px; color: var(--texto-2); }

.secao--leitura { margin-top: 72px; padding-block: 88px; }
.leitura { max-width: 760px; }
.leitura h2 { margin-top: 48px; }
.leitura h2:first-child { margin-top: 0; }
.leitura p { margin-top: 16px; font-size: 19px; line-height: 31px; }
.leitura__lista { margin-top: 16px; padding-left: 22px; display: grid; gap: 12px; }
.leitura__lista li { font-size: 18px; line-height: 29px; }

.pagina-hero--curta { padding-bottom: 0; }
.secao--colada { padding-top: 56px; padding-bottom: 32px; }
.demo { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.demo > * { min-width: 0; }
.formulario { padding: 36px; border-radius: var(--raio-grande); background: var(--cartao); border: 1px solid var(--borda); }
.formulario__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.campo { display: grid; gap: 8px; min-width: 0; }
.campo > span { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--texto-2); }
.campo--largo { grid-column: 1 / -1; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--borda-campo); border-radius: var(--raio-pequeno);
  background: var(--tela-2); color: var(--texto); font-size: 17px; line-height: 24px;
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul-link); outline: 2px solid var(--azul-link); outline-offset: 1px; }
.formulario__aviso { margin: 20px 0; font-size: 15px; line-height: 22px; color: var(--texto-3); }
.formulario__aviso a, .formulario__status a { color: var(--azul-link); }
.formulario__status:empty { display: none; }
.formulario__status { margin-top: 20px; display: grid; gap: 10px; font-size: 16px; line-height: 24px; }
.formulario__status textarea {
  width: 100%; min-height: 180px; padding: 12px 14px;
  border: 1.5px solid var(--borda-campo); border-radius: var(--raio-pequeno);
  background: var(--tela-2); color: var(--texto); font-size: 15px; line-height: 22px;
}
.etapas .titulo-3 { margin-bottom: 20px; }
.etapas__lista { list-style: none; }
.etapa { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--borda); }
.etapa__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--borda-forte); font-size: 15px; font-weight: 600; color: var(--texto-2); }
.etapa p { margin-top: 4px; font-size: 16px; line-height: 25px; color: var(--texto-3); }

/* ---------------- texto da referência (v3)
   Cada número da referência sai colado na etiqueta "não medido" (o par não
   quebra), e cada promessa que não vale para nós sai com a etiqueta do motivo. */
.ref-tag {
  display: inline-block; vertical-align: middle; padding: 1px 8px; border-radius: 6px;
  border: 1px dashed rgb(243 192 73 / .55); background: rgb(243 192 73 / .12); color: var(--ref);
  font-family: var(--fonte); font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0;
  text-transform: none; text-shadow: none; white-space: normal;
}
.secao--clara .ref-tag { color: var(--ref-claro); border-color: #B58A1C; background: rgb(243 192 73 / .2); }
.par-ref { white-space: nowrap; }
.par-ref .ref-tag { white-space: nowrap; }
.sobrelinha {
  margin-bottom: 14px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .02em;
  color: var(--cor-setor, var(--texto-3));
}
.secao--clara .sobrelinha { color: var(--claro-texto-2); }
.ref-dupla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px 64px; align-items: start; }
.ref-dupla--foto { align-items: center; }
.ref-dupla__texto { font-size: 20px; line-height: 31px; color: var(--texto-2); }
.ref-dupla--foto .ref-dupla__texto { margin-top: 20px; }
.secao--clara .ref-dupla__texto, .secao--clara .ref-sub { color: var(--claro-texto-2); }
.casos { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.caso { padding: 28px; border-radius: var(--raio-grande); background: #FFFFFF; border: 1px solid var(--claro-linha); }
.caso__n { font-size: 13px; line-height: 18px; color: var(--claro-texto-2); }
.caso h3 { margin-top: 12px; }
.caso p { margin-top: 10px; font-size: 17px; line-height: 26px; color: var(--claro-texto-2); }
.casos__nota { margin-bottom: 20px; }
.secao--clara .detalhe__nota { color: var(--claro-texto-2); }
.numeros--ref { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numeros--ref .numero__valor { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.15; }
.ref-fecho { margin-top: 24px; max-width: 46em; color: var(--texto-2); }
.ref-sub { margin-top: 14px; font-size: 20px; line-height: 30px; color: var(--texto-2); }
.resultado-ref {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); margin-top: 40px;
  border-radius: var(--raio-grande); overflow: hidden; background: #FFFFFF; border: 1px solid var(--claro-linha);
}
.resultado-ref__destaque { padding: 36px; background: var(--claro-texto); color: var(--texto); }
.resultado-ref__destaque .sobrelinha { color: var(--cor-setor, var(--texto-3)); }
.resultado-ref__destaque .ref-tag { color: var(--ref); border-color: rgb(243 192 73 / .55); background: rgb(243 192 73 / .12); }
.resultado-ref__valor { margin-top: 18px; font-size: 52px; line-height: 58px; letter-spacing: -.03em; font-weight: 700; }
.resultado-ref__nome { margin-top: 10px; font-size: 17px; line-height: 25px; color: var(--texto-2); }
.resultado-ref__corpo { padding: 36px; }
.resultado-ref__dados { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.resultado-ref__dados li { display: grid; gap: 4px; padding: 16px; border-radius: var(--raio-pequeno); background: var(--claro); }
.resultado-ref__dado { font-size: 22px; line-height: 28px; font-weight: 700; }
/* só o span filho do li (a legenda): ".resultado-ref__dados span" pegava
   também o par número+etiqueta dentro do strong, e "100%" saía a 15 px,
   menor que a etiqueta "não medido" ao lado (capturas r5 de 23/10) */
.resultado-ref__dados li > span { font-size: 15px; line-height: 22px; color: var(--claro-texto-2); }
.secao--clara .lista-ponto li { color: var(--claro-texto-2); }
.secao--clara .lista-ponto li::before { background: var(--claro-texto-2); }
.ref-foto__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raio-foto); }
.hero__confianca { margin-top: 26px; font-size: 15px; line-height: 22px; color: var(--texto-2); text-shadow: 0 1px 10px rgb(0 0 0 / .6); }
.chamada__lista--ref { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: center; gap: 14px 40px; }
.chamada__confianca { margin-top: 32px; font-size: 15px; line-height: 22px; color: var(--texto-3); }

/* ---------------- larguras */
/* 1024 a 1279 px: a grade de 4 colunas do Vision Flow e as 2 colunas do gate
   ficavam estreitas demais e o texto saía da caixa (27 px em "Permanência,";
   2 px em "Hoje, 15h"), medido em varre_transbordo_v3 em 23/10. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .fluxo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fluxo__coluna::after { display: none; }
  .gate { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 1180px) {
  .op__corpo { grid-template-columns: minmax(0, 1fr) 330px; }
  .op__dados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tela__corpo { grid-template-columns: minmax(0, 1fr) 320px; }
  .tela__menu { display: none; }
}

@media (max-width: 1023px) {
  :root { --margem: 24px; --secao: 88px; }
  .fila-intro { margin-top: 88px; }
  .nav, .barra__botao { display: none; }
  .menu-botao { display: block; }
  :root { --sobreposicao: 150px; --respiro: 64px; }
  .faixa__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op__corpo { grid-template-columns: 1fr; }
  .op__lado { border-left: 0; border-top: 1px solid #2C2C3C; }
  .op__dados { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ref-dupla, .resultado-ref { grid-template-columns: 1fr; }
  .numeros--ref { grid-template-columns: 1fr; }
  .numeros--ref .numero + .numero { border-left: 0; border-top: 1px solid var(--borda); }
  .barra { justify-content: space-between; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento__alto { grid-column: 1 / 4; grid-row: 2 / 4; }
  .bento__foto { grid-column: 1 / -1; grid-row: 1; }
  .bento__p--a { grid-column: 4 / 7; grid-row: 2; }
  .bento__p--b { grid-column: 4 / 7; grid-row: 3; }
  .bento__p--c { grid-column: 1 / 4; grid-row: 4; }
  .bento__p--d { grid-column: 4 / 7; grid-row: 4; }
  .bento__resposta { grid-column: 1 / -1; grid-row: 5; }
  .capacidade, .capacidade--inverte { grid-template-columns: 1fr; gap: 32px; }
  .capacidade--inverte .capacidade__texto { order: 0; }
  .pecas { grid-template-columns: 1fr; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numero + .numero { border-left: 0; }
  .numero:nth-child(even) { border-left: 1px solid var(--borda); }
  .numero:nth-child(n + 3) { border-top: 1px solid var(--borda); }
  /* os três números da referência numa coluna só: a regra de 1 coluna, mais
     acima, perdia para ".numeros" (mesmo peso, vem depois), e a 768 px saíam
     três números numa grade 2x2 com uma casa vazia (capturas r5 de 23/10) */
  .numeros.numeros--ref { grid-template-columns: 1fr; }
  .numeros--ref .numero:nth-child(even) { border-left: 0; }
  .numeros--ref .numero + .numero { border-top: 1px solid var(--borda); }
  .privacidade { grid-template-columns: 1fr; gap: 32px; }
  .rodape__grade { grid-template-columns: 1fr 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
  .resolve__item--g { grid-column: 1 / -1; grid-row: auto; }
  .resolve__foto { flex: none; min-height: 0; aspect-ratio: 16 / 7; height: auto; }
  .resolve__item--m { grid-column: span 6; }
  /* o cartão grande ocupa a 1ª fileira e os outros vão aos pares: o último
     em posição par fica sozinho, e ganha a fileira inteira em vez de deixar
     a casa da direita vazia (Portos e Logística, capturas r5 de 23/10) */
  .resolve__item:last-child:nth-child(even) { grid-column: 1 / -1; }
  .resolve__item--p, .resolve__item--p2 { grid-column: span 6; }
  .demo { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .tela__corpo { grid-template-columns: 1fr; }
  .tela__fila { border-left: 0; border-top: 1px solid #2C2C3C; }
}

@media (max-width: 767px) {
  :root { --margem: 20px; --secao: 80px; }
  body { font-size: 17px; line-height: 26px; }
  .titulo-abertura { font-size: 44px; line-height: 46px; letter-spacing: -.03em; }
  .abertura { margin-top: 20px; font-size: 19px; line-height: 28px; }
  .titulo-1 { font-size: 46px; line-height: 48px; letter-spacing: -.02em; }
  .titulo-2 { font-size: 34px; line-height: 38px; }
  .titulo-3 { font-size: 24px; line-height: 30px; }
  .titulo-4 { font-size: 21px; line-height: 28px; }
  .lead { font-size: 19px; line-height: 28px; }
  .sv-topo { padding: 10px var(--margem) 0; top: 8px; }
  .barra { padding: 6px 6px 6px 16px; }
  :root { --sobreposicao: 56px; --respiro: 48px; }
  .hero { min-height: 100svh; padding-top: calc(var(--altura-topo) + 48px); }
  .hero--setor { min-height: 640px; --hero-pe: 88px; }
  .hero--inicio { min-height: 0; padding-top: calc(var(--altura-topo) + 64px); }
  .visor { inset: calc(var(--altura-topo) + 14px) 12px 14px; }
  .hero--inicio .visor { bottom: calc(var(--sobreposicao) + 14px); }
  .visor span { width: 30px; height: 30px; }
  .titulo-video { font-size: 52px; line-height: 50px; letter-spacing: -.04em; }
  .titulo-video--setor { font-size: 42px; line-height: 42px; }
  .hero__lead { margin-top: 22px; }
  /* no celular o texto ocupa a largura toda: o véu não pode depender do centro */
  .hero__veu { background: linear-gradient(180deg, rgb(18 18 26 / .76) 0%, rgb(18 18 26 / .6) 24%, rgb(18 18 26 / .62) 72%, var(--fundo) 100%); }
  /* v5: a frase do crédito próprio é mais longa e, sem quebra, saía cortada
     nas duas pontas a 390 px (JS_CORTADO em capturas_v5.py pegou nas 7) */
  .hero__credito { bottom: 16px; font-size: 12px; white-space: normal; text-align: center;
                   width: max-content; max-width: calc(100% - 2 * var(--margem)); }
  /* no celular: uma coluna, cartões deitados (foto à esquerda), todos da
     mesma altura pela mesma regra do 1fr, e todas as frases à mostra */
  .faixa__lista { grid-template-columns: 1fr; grid-auto-rows: minmax(128px, 1fr); gap: 10px; }
  .setor { padding-left: 112px; }
  .setor__foto { position: absolute; left: 0; top: 0; bottom: 0; width: 112px; aspect-ratio: auto; }
  .setor__texto { justify-content: center; padding: 14px 16px; gap: 4px; }
  .setor__ver { margin-top: 0; padding-top: 4px; }
  .setor--comecar { padding-left: 0; }
  .setor__nome, .setor--comecar .setor__nome { font-size: 19px; line-height: 24px; }
  .setor__ver { font-size: 14px; }
  .faixa__cabeca { margin-top: 36px; }
  .op__topo { gap: 12px; padding: 8px 12px; }
  .op__abas { display: none; }
  .op__camera { padding: 12px; }
  .op__dados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op__momentos, .op__conversa { padding: 14px 12px; }
  /* 14:21:00 (à esquerda) e 14:21:05 (centrado em 29%) se encostam abaixo de
     ~430 px de trilho: fica uma hora sim, outra não (medido em mede_defeitos_v3). */
  .op__horas span:nth-child(2) { display: none; }
  .casos { grid-template-columns: 1fr; margin-top: 40px; }
  .caso { padding: 24px 20px; }
  .resultado-ref__destaque, .resultado-ref__corpo { padding: 26px 20px; }
  .resultado-ref__valor { font-size: 42px; line-height: 48px; }
  .resultado-ref__dados { grid-template-columns: 1fr; }
  .chamada__lista--ref { grid-template-columns: 1fr; justify-content: start; }
  .ref-dupla__texto { font-size: 18px; line-height: 28px; }
  .faixa__nota { text-align: left; }
  .acoes { flex-direction: column; gap: 18px; }
  .acoes--chamada .botao { width: 100%; max-width: 360px; }
  .tela { margin-top: 40px; }
  .tela__centro { padding: 12px; }
  .tela__fila { padding: 14px 12px; }
  .linha-tempo__topo { font-size: 12px; }
  .bento { grid-template-columns: 1fr; margin-top: 40px; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .bento__alto { padding: 28px 24px; gap: 28px; }
  .bento__foto img { flex: none; min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .bento__sobre { padding: 20px 22px 22px; }
  .passos { margin-top: 40px; }
  .passo { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .passo__nome { font-size: 44px; }
  .passo__faz { font-size: 18px; line-height: 27px; }
  .capacidades { margin-top: 56px; gap: 80px; }
  .capacidade__frase { font-size: 20px; line-height: 28px; }
  .capacidade__detalhe { padding: 18px; border-radius: 18px; }
  .mini-mosaico { grid-template-columns: 1fr 1fr; }
  .gate { grid-template-columns: 1fr; }
  .cadeia { grid-template-columns: 1fr 1fr; }
  .cadeia li::after { display: none; }
  .evento__dados { grid-template-columns: 1fr; }
  .busca__resultados { grid-template-columns: 1fr 1fr; }
  .busca__resultados li:nth-child(3) { display: none; }
  .fluxo { grid-template-columns: 1fr 1fr; }
  .fluxo__coluna::after { display: none; }
  .mais { margin-top: 88px; padding-top: 48px; }
  .mais__lista { grid-template-columns: 1fr; gap: 28px; }
  .modos { margin-top: 88px; }
  .abas { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .aba { border-radius: 16px; padding: 10px 12px; }
  .modo { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .modo__texto { font-size: 18px; line-height: 27px; }
  .numeros { grid-template-columns: 1fr; }
  .numero:nth-child(even) { border-left: 0; }
  .numero + .numero { border-top: 1px solid var(--borda); }
  .numero__valor { font-size: 48px; line-height: 52px; }
  .privacidade__lista { grid-template-columns: 1fr; gap: 24px; }
  .chamada { padding: 104px 0 96px; }
  .chamada__lista { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rodape__grade { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .rodape__base { flex-direction: column; }
  .pagina-hero { padding-top: 48px; }
  .resolve { grid-template-columns: 1fr; margin-top: 40px; }
  .resolve__item--g, .resolve__item--m, .resolve__item--p, .resolve__item--p2 { grid-column: 1 / -1; }
  .resolve__item--g { padding: 32px 24px; }
  .resolve__foto { width: calc(100% + 48px); margin: 28px -24px -32px; aspect-ratio: 16 / 10; }
  .resolve__item--g p { font-size: 18px; line-height: 27px; }
  .junto { grid-template-columns: 1fr; gap: 28px; }
  .razao { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .razao p { font-size: 17px; line-height: 27px; }
  .principios { grid-template-columns: 1fr; }
  .principio--primeiro { padding: 32px 24px; }
  .principio--primeiro p { font-size: 19px; line-height: 29px; }
  .secao--clara { padding-block: 80px; }
  .formulario { padding: 24px 20px; }
  .formulario__grade { grid-template-columns: 1fr; }
  .formulario .botao { width: 100%; }
}


.credito-dn { display: none; }
.videos-dn .credito-dn { display: inline; }
.videos-dn .credito-nosso { display: none; }
.hero__credito .ref-tag { margin-right: 4px; }
.videos-dn #em-acao .ref-foto--nossa { display: none; }
.videos-dn #em-acao .ref-dupla--foto { grid-template-columns: minmax(0, 1fr); }
.videos-dn #em-acao .ref-dupla__texto { max-width: 46em; }
html:not(.videos-dn) .ref-videos { display: none; }
/* v5: vídeos próprios (classe videos-pr, padrão do interruptor). A grade
   sai de um <template> só com a classe; o crédito diz de onde vem a cena. */
.credito-pr { display: none; }
.videos-pr .credito-pr { display: inline; }
.videos-pr .credito-nosso { display: none; }
.videos-pr #em-acao .ref-foto--nossa { display: none; }
.videos-pr #em-acao .ref-dupla--foto { grid-template-columns: minmax(0, 1fr); }
.videos-pr #em-acao .ref-dupla__texto { max-width: 46em; }
html:not(.videos-pr) .pr-videos { display: none; }
.pr-videos { margin-top: 48px; }
.pr-tag { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: #fff; border: 1px solid rgb(255 255 255 / .35); }
.ref-videos { margin-top: 48px; }
.ref-videos__grade { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.ref-video__quadro { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio-foto); overflow: hidden; background: #000; }
.ref-video__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ref-video__tag { position: absolute; top: 12px; left: 12px; background: rgb(22 22 31 / .88); }
.ref-video__legenda { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--texto-2); }
.ref-videos__nota { margin-top: 28px; }
@media (max-width: 767px) {
  .ref-videos, .pr-videos { margin-top: 36px; }
  .ref-videos__grade { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------------- v6 (24/10): celular de verdade
   Medido com emulação de aparelho (toque, densidade, user agent) em iPhone 13,
   Pixel 7, Android 360, iPhone deitado e tablet 768 (v6/scripts/celular.py):
   a página rolava por baixo do menu aberto, 20 a 28 alvos de toque por página
   tinham menos de 44 px (marca, links fortes, trilha, rodapé, abas, botões da
   demonstração) e as notas saíam com 12 e 13 px. */
.gaveta { overscroll-behavior: contain; }
html.gaveta-aberta, html.gaveta-aberta body { overflow: hidden; }
.gaveta__link { min-height: 44px; }
@media (max-width: 1023px), (pointer: coarse) {
  .marca { min-height: 44px; }
  .link-forte { display: inline-flex; align-items: center; min-height: 44px; }
  .migalha a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .migalha--video { align-items: center; padding-top: 0; padding-bottom: 0; }
  .rodape__lista { gap: 0; }
  .rodape__lista a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .aba, .op__evento, .op__ir, .op__pausa { min-height: 44px; }
  .op__pausa { min-width: 44px; }
  .detalhe__nota, .busca__info, .fluxo__rodape { font-size: 14px; line-height: 20px; }
  .ref-tag { font-size: 14px; line-height: 20px; }
  .hero__credito { font-size: 14px; line-height: 20px; }
}

/* ---------- v7 (24/10): o vídeo do topo toca sempre, com botão de pausa ----------
   O botão é criado por video-topo.js (topo) e site.js (grade "Veja em
   ação"), fora do .video-fundo, que é aria-hidden. 44x44 em qualquer tela.
   No topo ele fica no canto de baixo, à direita, dentro do visor; no
   início, acima da faixa dos setores que sobe sobre o vídeo. */
.video-pausa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgb(240 232 224 / .55); background: rgb(22 22 31 / .72);
  color: var(--texto); cursor: pointer;
}
.video-pausa svg { fill: currentColor; }
.video-pausa:hover { border-color: var(--texto); background: rgb(22 22 31 / .9); }
.video-pausa--topo { position: absolute; z-index: 2; right: 40px; bottom: 40px; }
.hero--inicio .video-pausa--topo { bottom: calc(var(--sobreposicao) + 36px); }
.video-pausa--quadro { position: absolute; right: 12px; bottom: 12px; }
@media (max-width: 767px) {
  .video-pausa--topo { right: 20px; bottom: 20px; }
  .hero--inicio .video-pausa--topo { bottom: calc(var(--sobreposicao) + 22px); }
  /* no celular o crédito quebra em duas linhas e ocupava a largura toda:
     vai para a esquerda e deixa o canto do botão livre */
  .hero--setor .hero__credito { left: var(--margem); transform: none; text-align: left;
                                max-width: calc(100% - 2 * var(--margem) - 56px); }
}

/* Movimento reduzido: desde a v7 o vídeo do topo, a grade e a demonstração
   tocam assim mesmo (o pedido de 24/10), e o botão de pausa é o controle;
   as outras animações e transições continuam desligadas. */
/* (regra que desligava todas as animações com movimento reduzido removida: o cliente quer as telas vivas em qualquer computador) */

/* ---------- v7b (24/10): Physical AI na frente ----------
   A pergunta em português com a resposta interpretada (.pr) e o desenho
   "tudo se comunicando" (.dg). Nada aqui anima: a resposta aparece inteira
   de uma vez, com ou sem "menos movimento". */
.hero__rotulo {
  display: block; width: fit-content; margin-bottom: 18px; padding: 6px 14px;
  font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--texto); text-shadow: none;
  background: rgb(22 22 30 / .62); border: 1px solid rgb(240 232 224 / .35); border-radius: 999px;
}
.titulo-video--pergunta { font-size: clamp(46px, 7.4vw, 116px); line-height: .92; }
/* alvo de 44 px também com mouse (o link do topo tinha 28 px de altura no computador, desde a v6) */
.hero__texto .acoes .link-forte { display: inline-flex; align-items: center; min-height: 44px; }

.pr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; margin-top: 48px; align-items: start; }
.pr__lista { display: flex; flex-direction: column; gap: 10px; }
.pr__rotulo {
  margin: 0 0 10px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--texto-3);
}
.pr__pergunta {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 56px; margin: 0;
  padding: 14px 18px 14px 22px; text-align: left; cursor: pointer;
  font: inherit; font-size: 18px; line-height: 26px; color: var(--texto-2);
  background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio-pequeno);
}
.pr__pergunta:hover { color: var(--texto); border-color: var(--borda-forte); }
.pr__pergunta[aria-selected="true"] {
  color: var(--texto); background: var(--tela-2); border-color: var(--azul-link);
  box-shadow: inset 4px 0 0 var(--azul-link);
}
.pr__pergunta:focus-visible { outline-offset: 3px; }
/* sem JavaScript as abas não fazem nada: some a lista, e cada resposta traz a sua pergunta */
html:not(.js) .pr { display: block; }
html:not(.js) .pr__perguntas { display: none; }
.js .pr:not(.pr--pronto) .pr__resposta + .pr__resposta { display: none; }
.pr__resposta {
  padding: 28px; background: var(--tela); border: 1px solid var(--borda); border-radius: var(--raio-grande);
}
.pr__resposta + .pr__resposta { margin-top: 24px; }
.pr--pronto .pr__resposta + .pr__resposta { margin-top: 0; }
.pr__resposta[hidden] { display: none; }
.pr__resposta:focus-visible { outline-offset: 3px; }
.pr__eco {
  display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 20px; padding-bottom: 16px;
  font-size: 16px; line-height: 24px; color: var(--texto-2); border-bottom: 1px solid var(--borda);
}
.pr__eco-quem { font-weight: 700; color: var(--texto-3); }
.pr__texto { margin: 0 0 26px; font-size: 21px; line-height: 31px; color: var(--texto); }
.pr__ordem { list-style: none; margin: 0 0 24px; padding: 0 0 0 4px; }
.pr__passo {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 12px;
  align-items: baseline; padding: 0 0 16px 22px; border-left: 2px solid var(--borda-forte);
}
.pr__passo:last-child { border-left-color: transparent; padding-bottom: 0; }
.pr__passo::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--tela); border: 2px solid var(--pr-cor, var(--azul-link));
}
.pr__hora { font-size: 15px; line-height: 22px; color: var(--texto-2); }
.pr__fonte {
  justify-self: start; padding: 0 9px; font-size: 13px; line-height: 22px; font-weight: 700; white-space: nowrap;
  color: var(--pr-cor, var(--texto-2)); border: 1px solid currentColor; border-radius: 999px;
}
.pr__fato { font-size: 16px; line-height: 24px; color: var(--texto-2); }
.pr__fato strong { color: var(--texto); font-weight: 700; }
.pr__passo--camera { --pr-cor: var(--azul-link); }
.pr__passo--sensor { --pr-cor: var(--setor-porto); }
.pr__passo--rastreador { --pr-cor: var(--setor-aero); }
.pr__passo--sistema { --pr-cor: var(--setor-logistica); }
.pr__passo--ia { --pr-cor: var(--setor-industria); }
.pr__separa { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 20px; }
.pr__separa > div { padding: 14px 16px; background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio-pequeno); }
.pr__separa dt { margin-bottom: 4px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--texto); }
.pr__separa dd { margin: 0; font-size: 16px; line-height: 24px; color: var(--texto-2); }
.pr__rodape { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: 14px; line-height: 22px; color: var(--texto-3); }
.pr__rodape strong { color: var(--texto-2); margin-right: 6px; }
.pr__aviso { margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--texto-3); max-width: 60em; }

.dg { margin: 48px 0 0; }
.dg__svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.dg__svg--largo { max-width: 1100px; }
.dg__svg--estreito { display: none; max-width: 440px; }
.dg__caixa rect { fill: var(--cartao); stroke: var(--borda-forte); stroke-width: 1; }
.dg__servidor-fundo { fill: var(--tela); stroke: var(--azul-link); stroke-width: 1.5; }
.dg__passo rect { fill: var(--tela-2); }
.dg__nota rect { fill: none; stroke: var(--setor-porto); stroke-dasharray: 5 4; }
.dg__titulo { fill: var(--texto); font-weight: 700; }
.dg__titulo--servidor { fill: var(--azul-link); }
.dg__titulo--volta { fill: var(--texto-2); font-weight: 400; }
.dg__sub { fill: var(--texto-3); }
.dg__cabeca { fill: var(--texto-3); font-weight: 700; letter-spacing: .08em; }
.dg__seta { stroke: var(--azul-link); stroke-width: 1.5; fill: none; }
.dg__seta--volta { stroke: var(--setor-porto); stroke-dasharray: 5 4; }
.dg__ponta { fill: var(--azul-link); }
.dg__ponta--volta { fill: var(--setor-porto); }
.dg__legenda { margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--texto-3); text-align: center; }

@media (max-width: 1023px) {
  .dg__svg--largo { display: none; }
  .dg__svg--estreito { display: block; }
  .dg__legenda { text-align: left; }
}
@media (max-width: 860px) {
  .pr { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
}
@media (max-width: 767px) {
  .hero__rotulo { margin-bottom: 14px; padding: 4px 12px; font-size: 15px; line-height: 22px; }
  .titulo-video--pergunta { font-size: 46px; line-height: 46px; }
  .pr__pergunta { padding: 12px 14px 12px 18px; font-size: 17px; line-height: 25px; }
  .pr__resposta { padding: 20px 18px; border-radius: var(--raio-tela); }
  .pr__texto { font-size: 19px; line-height: 28px; }
  .pr__passo { grid-template-columns: auto minmax(0, 1fr); padding-left: 18px; }
  .pr__fato { grid-column: 1 / -1; }
}

/* =====================================================================
   TEMA OMNISYSTEMS: o Smart Vision no mesmo visual dos produtos do site
   (CFS, Smart Ports, VisionAI). Preto azulado, ciano e verde-limão em
   neon, cantos de HUD, Rajdhani nos títulos, Archivo no texto.
   Só troca tokens e acabamento; a estrutura das páginas fica igual.
   ===================================================================== */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-300-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-300-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/rajdhani-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/rajdhani-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/rajdhani-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/rajdhani-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rajdhani-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rajdhani-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fundo: #03080d;
  --barra: #040b11;
  --cartao: rgba(8, 26, 36, 0.78);
  --tela: #020a0f;
  --tela-2: #06141c;
  --borda: rgba(120, 200, 220, 0.18);
  --borda-forte: rgba(46, 230, 255, 0.42);
  --borda-campo: rgba(46, 230, 255, 0.55);
  --texto: #e6f6fb;
  --texto-2: #b8d0d8;
  --texto-3: #8fadb8;
  --azul-1: #b6f23a;
  --azul-2: #d4ff6e;
  --azul-link: #2ee6ff;
  --sobre-azul: #041006;
  /* a antiga seção clara vira um painel escuro mais frio */
  --claro: #051019;
  --claro-texto: #e6f6fb;
  --claro-texto-2: #a9c4ce;
  --claro-linha: rgba(46, 230, 255, 0.2);
  --claro-link: #2ee6ff;
  --ciano: #2ee6ff;
  --lima: #b6f23a;
  --fonte: "Archivo", "Segoe UI", sans-serif;
  --fonte-titulo: "Rajdhani", "Archivo", sans-serif;
  --raio-pilula: 3px;
  --raio-barra: 4px;
  --raio-grande: 4px;
  --raio-foto: 3px;
  --raio-tela: 3px;
  --raio-pequeno: 3px;
}
body {
  background:
    radial-gradient(1200px 700px at 85% -5%, rgba(46, 230, 255, 0.07), transparent 60%),
    radial-gradient(900px 600px at -10% 45%, rgba(182, 242, 58, 0.04), transparent 60%),
    linear-gradient(rgba(46, 230, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(46, 230, 255, 0.03) 1px, transparent 1px) 0 0 / 64px 100%,
    var(--fundo);
  font-size: 17px;
}
::selection { background: var(--lima); color: #041006; }

/* títulos em Rajdhani: mais técnico, um pouco maior para compensar a letra estreita */
h1, h2, h3, h4, .titulo-abertura, .titulo-1, .titulo-2, .titulo-3, .titulo-4, .titulo-5,
.passo__nome, .capacidade__nome, .numero__valor, .marca__nome, .painel__nome, [class*="__nome"] {
  font-family: var(--fonte-titulo); letter-spacing: -0.005em;
}
.titulo-abertura { font-size: clamp(48px, 7.6vw, 112px); line-height: 0.92; font-weight: 700; color: #fff; text-shadow: 0 0 34px rgba(46, 230, 255, 0.22); }
.titulo-1 { font-size: 76px; line-height: 0.98; }
.titulo-2 { font-size: 52px; line-height: 1.02; font-weight: 700; }
.titulo-3 { font-size: 32px; line-height: 1.1; font-weight: 600; }
.titulo-4 { font-size: 26px; line-height: 1.15; }
.titulo-5 { font-size: 21px; }
.passo__nome { font-size: clamp(52px, 6.4vw, 92px); letter-spacing: 0; color: var(--ciano); text-shadow: 0 0 26px rgba(46, 230, 255, 0.35); }
.capacidade__nome { font-size: clamp(36px, 3.6vw, 52px); }
.numero__valor { color: var(--lima); text-shadow: 0 0 18px rgba(182, 242, 58, 0.4); letter-spacing: 0; }
.marca__nome { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.mono, code, kbd { font-family: var(--fonte-mono); }

/* botões: o primário em verde-limão, como nas páginas de produto */
.botao {
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 18px; letter-spacing: 0.03em;
  background: linear-gradient(180deg, #d4ff6e, var(--lima) 55%, #7fcf12);
  color: var(--sobre-azul); box-shadow: 0 0 26px rgba(182, 242, 58, 0.32);
  transition: box-shadow 0.25s, filter 0.25s, transform 0.12s;
}
.botao:hover { filter: none; box-shadow: 0 0 42px rgba(182, 242, 58, 0.58); }
.botao:active { transform: scale(0.98); }
.botao--contorno { background: rgba(3, 8, 13, 0.4); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.botao--contorno:hover { background: rgba(46, 230, 255, 0.08); box-shadow: inset 0 0 0 1px var(--ciano), 0 0 18px rgba(46, 230, 255, 0.2); }
.secao--clara .botao { color: var(--sobre-azul); }
.secao--clara .botao--contorno { color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.link-forte { text-decoration-color: var(--ciano); }
.link-forte:hover { color: var(--ciano); }
:focus-visible { outline-color: var(--ciano); }

/* barra do topo: vidro escuro com fio ciano */
.barra { background: rgba(3, 10, 15, 0.88); border-color: rgba(46, 230, 255, 0.22); box-shadow: 0 10px 30px -18px rgba(46, 230, 255, 0.35); }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(46, 230, 255, 0.08); }
.painel { background: rgba(4, 12, 18, 0.97); border-color: rgba(46, 230, 255, 0.25); }
.painel__item:hover { background: rgba(46, 230, 255, 0.07); }

/* seção que era clara: painel escuro com grade e fios ciano */
.secao--clara {
  background:
    linear-gradient(rgba(46, 230, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(46, 230, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 100%,
    var(--claro);
  border-block: 1px solid rgba(46, 230, 255, 0.18);
}

/* números e cartões com cantos de HUD */
.numeros { background: var(--cartao); border-color: rgba(46, 230, 255, 0.28); position: relative; }
.numeros::after, .chamada .conteudo::after {
  --k: var(--ciano);
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--k), var(--k)) top left / 18px 2px no-repeat, linear-gradient(var(--k), var(--k)) top left / 2px 18px no-repeat,
    linear-gradient(var(--k), var(--k)) top right / 18px 2px no-repeat, linear-gradient(var(--k), var(--k)) top right / 2px 18px no-repeat,
    linear-gradient(var(--k), var(--k)) bottom left / 18px 2px no-repeat, linear-gradient(var(--k), var(--k)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--k), var(--k)) bottom right / 18px 2px no-repeat, linear-gradient(var(--k), var(--k)) bottom right / 2px 18px no-repeat;
  filter: drop-shadow(0 0 6px var(--k));
}
.check { color: var(--lima); }

/* rodapé */
.rodape { background: #02070b; border-top-color: rgba(46, 230, 255, 0.2); }
.rodape__titulo { font-family: var(--fonte-titulo); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ciano); }
.rodape__lista a:hover { color: var(--ciano); }

/* destaque do bento: vidro ciano em vez do bloco cheio */
.bento__resposta {
  background: linear-gradient(160deg, rgba(46, 230, 255, 0.16), rgba(46, 230, 255, 0.04));
  color: var(--texto); border: 1px solid rgba(46, 230, 255, 0.55);
  box-shadow: 0 0 34px -10px rgba(46, 230, 255, 0.45), inset 0 0 30px rgba(46, 230, 255, 0.06);
}
.bento__resposta-link { color: var(--ciano); }
.bento__alto, .bento__foto { border: 1px solid var(--borda); }
.telas .telas__foco { background: var(--ciano); box-shadow: 0 0 0 3px rgba(46, 230, 255, 0.28), 0 0 14px rgba(46, 230, 255, 0.6); }
.fluxo__coluna:not(:last-child)::after { background: var(--ciano); }
.aba[aria-selected="true"] { background: var(--ciano); color: #031014; }

/* cartões de setor: todos em vidro escuro; a cor do setor fica só no fio de cima */
.setor { background: linear-gradient(180deg, rgba(8, 26, 36, 0.92), rgba(3, 10, 15, 0.96)); border: 1px solid var(--borda); }
@media (hover: hover) { .setor:hover { border-color: var(--cor, var(--ciano)); box-shadow: 0 0 30px -8px var(--cor, var(--ciano)); } }

/* cartões que tinham fundo branco fixo (casos e "como fica na prática") */
.caso { background: var(--cartao); border-color: var(--borda); }
.caso h3 { color: var(--texto); }
.resultado-ref { background: var(--cartao); border-color: rgba(46, 230, 255, 0.28); }
.resultado-ref__destaque { background: linear-gradient(160deg, rgba(46, 230, 255, 0.14), rgba(46, 230, 255, 0.03)); color: var(--texto); border-right: 1px solid rgba(46, 230, 255, 0.22); }
.resultado-ref__valor { font-family: var(--fonte-titulo); color: var(--lima); letter-spacing: 0; text-shadow: 0 0 18px rgba(182, 242, 58, 0.35); }
.resultado-ref__dados li { background: rgba(46, 230, 255, 0.05); border: 1px solid var(--borda); }
.resultado-ref__dado { font-family: var(--fonte-titulo); color: var(--texto); }

/* celular: título da abertura cabe na tela e nada sobra para o lado */

.titulo-abertura { font-size: clamp(38px, 10.6vw, 112px); overflow-wrap: anywhere; hyphens: manual; }
.titulo-1 { font-size: clamp(40px, 9vw, 76px); }
@media (max-width: 760px) { .titulo-2 { font-size: clamp(34px, 8.6vw, 52px); } }

/* ---------- correções do QA (tema Omnisystems) ---------- */
.placa__numero { background: rgba(46, 230, 255, 0.12); color: var(--ciano); border: 1px solid rgba(46, 230, 255, 0.45); border-radius: 2px; font-family: var(--fonte-mono); }
.pular { background: var(--lima); color: #041006; border-radius: 2px; }

/* telas desenhadas: sai o cinza-roxo do tema antigo */
.quadro, .mini, .resultado, .op__video-caixa { background: #06141c; }
.tela__menu li.ativo, .op__abas .op__aba--ativa { background: rgba(46, 230, 255, 0.14); color: var(--ciano); box-shadow: inset 2px 0 0 var(--ciano); }
.op__msg--pessoa { background: rgba(182, 242, 58, 0.12); color: var(--texto); border: 1px solid rgba(182, 242, 58, 0.4); }
.op__trilho, .linha-tempo__trilho, .op__modo { background: #0a1d27; }
.op__gravado, .linha-tempo__gravado { background: rgba(46, 230, 255, 0.35); }
.tela, .op, .op__linha, .linha-tempo, .op__ficha, .op__evento, .ocorrencia, .op__campo, .tela__barra, .op__topo, .op__lado, .op__momentos, .tela__menu, .tela__fila { border-color: var(--borda) !important; }
.ocorrencia--selecionada { background: rgba(255, 138, 122, 0.08); }
.fluxo li { background: rgba(46, 230, 255, 0.07); border: 1px solid var(--borda); }
.quadro__nome, .quadro__estado, .mini__estado, .op__selo { background: rgba(3, 10, 15, 0.85); }

/* menu: painéis e gaveta do celular */
.gaveta { background: rgba(4, 12, 18, 0.98); border-color: rgba(46, 230, 255, 0.25); border-radius: 2px; }
.gaveta__link { border-bottom-color: var(--borda); font-family: var(--fonte-titulo); font-size: 20px; }
.gaveta__link--sub { font-family: var(--fonte); font-size: 16px; }
.painel, .painel__item { border-radius: 2px; }

/* símbolo da marca nas cores Omnisystems */
.marca__simbolo rect { fill: #06141c; stroke: rgba(46, 230, 255, 0.5); }
.marca__simbolo path { stroke: var(--ciano); }
.marca__simbolo circle { fill: var(--lima); }

/* sem pílulas e sem o creme do tema antigo */
.hero__rotulo, .pr__fonte, .migalha--video, .abas, .aba, .capacidade__detalhe { border-radius: 2px !important; }
.hero__rotulo { background: rgba(3, 10, 15, 0.7); border-color: rgba(46, 230, 255, 0.45); color: var(--ciano); font-family: var(--fonte-mono); font-size: 14px; letter-spacing: 0.14em; }
.video-pausa { background: rgba(3, 10, 15, 0.7); border-color: rgba(46, 230, 255, 0.45); }
.video-pausa:hover { border-color: var(--ciano); background: rgba(3, 10, 15, 0.9); }
.visor span { border-radius: 0 !important; }

/* etiquetas acima dos títulos no padrão "[ … ]" das páginas de produto */
.sobrelinha { font-family: var(--fonte-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ciano); }
.sobrelinha::before { content: "[ "; }
.sobrelinha::after { content: " ]"; }
.secao--clara .sobrelinha, .resultado-ref__destaque .sobrelinha { color: var(--ciano); }
h2.titulo-abertura { text-shadow: none; }

/* cores de setor dentro da paleta: ciano, lima e âmbar */
:root {
  --setor-porto: #2ee6ff; --setor-transporte: #2ee6ff;
  --setor-aero: #ffc547; --setor-logistica: #ffc547;
  --setor-industria: #b6f23a; --setor-varejo: #b6f23a; --setor-cidades: #b6f23a;
}

/* vídeo do topo das soluções: véu mais firme atrás do título */
.hero--setor .hero__veu { background: linear-gradient(180deg, rgba(3, 8, 13, 0.55) 0, rgba(3, 8, 13, 0) 22%, rgba(3, 8, 13, 0) 70%, var(--fundo) 100%), linear-gradient(90deg, rgba(3, 8, 13, 0.94) 0, rgba(3, 8, 13, 0.86) 52%, rgba(3, 8, 13, 0.4) 78%, rgba(3, 8, 13, 0.12)); }

/* rodada 2 do QA */
.chamada .conteudo { position: relative; }
.mini__nome { background: rgba(3, 10, 15, 0.85); }
.op__janela, .tela__janela, .op__msg { border-color: var(--borda); }
.visor span { border-color: rgba(46, 230, 255, 0.75); }
nav.migalha, .migalha--video { background: rgba(3, 10, 15, 0.8); border: 1px solid var(--borda); }

/* ---------- escala tipográfica igual à das páginas de produto Omnisystems ---------- */
.titulo-abertura, .titulo-video--pergunta { font-size: clamp(36px, 5.4vw, 80px); line-height: 0.98; }
.titulo-1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1; }
.titulo-2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.05; }
.titulo-3 { font-size: 25px; line-height: 1.15; }
.titulo-4 { font-size: 21px; line-height: 1.2; }
.titulo-5 { font-size: 18px; line-height: 1.3; }
.lead, .abertura { font-size: 19px; line-height: 1.55; }
.passo__nome { font-size: clamp(38px, 4.6vw, 62px); }
.capacidade__nome { font-size: clamp(28px, 2.8vw, 38px); }
.capacidade__frase { font-size: 20px; line-height: 1.45; }
.numero__valor { font-size: clamp(32px, 3.2vw, 46px); }
.resultado-ref__valor { font-size: 40px; line-height: 1.1; }
.hero__rotulo { font-size: 12px; }
@media (max-width: 760px) {
  .titulo-abertura, .titulo-video--pergunta { font-size: clamp(32px, 8.6vw, 44px); }
  .titulo-1 { font-size: clamp(30px, 8vw, 40px); }
  .titulo-2 { font-size: clamp(26px, 7vw, 34px); }
  .lead, .abertura { font-size: 17px; }
}

/* vídeo de análise nas miniaturas dos setores (assets/js/setores-video.js) */
.setor__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.setor__video.tocando { opacity: 1; }

/* =====================================================================
   TELAS VIVAS (K038): movimento e interação das telas desenhadas
   (assets/js/telas-vivas.js). Só acrescenta: as cores são as do tema.
   As animações contínuas só correm com a peça à vista (classe .vivo,
   posta pelo IntersectionObserver) e somem com "menos movimento" (a regra
   global acima zera animation e transition); os cliques continuam.
   ===================================================================== */
@keyframes sv-pisca { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes sv-borda { 0%, 100% { outline-color: var(--sev-atencao); } 50% { outline-color: rgba(243, 192, 73, 0.3); } }
@keyframes sv-onda { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
@keyframes sv-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sv-varre { from { transform: translateY(-70%); } to { transform: translateY(70%); } }
@keyframes sv-fio { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes sv-linha { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@keyframes sv-nova { 0% { box-shadow: 0 0 0 0 var(--sev); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes sv-muda { from { background-color: rgba(46, 230, 255, 0.2); } to { background-color: transparent; } }
@keyframes sv-cursor { 50% { opacity: 0; } }

/* botões que eram texto desenhado: herdam o desenho e ganham foco */
.tela__item, button.ocorrencia, button.placa { font: inherit; color: inherit; cursor: pointer; text-align: left; }
.tela__item:focus-visible, button.ocorrencia:focus-visible, button.placa:focus-visible { outline: 2px solid var(--ciano); outline-offset: -2px; }

/* central de operação: menu lateral */
.tela--viva .tela__menu li { padding: 0; }
.tela__item { display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: inherit; background: none; transition: background .2s, color .2s; }
.tela__item:hover { background: rgba(46, 230, 255, 0.06); color: var(--texto); }
@media (max-width: 1180px) {
  /* abaixo de 1180 px o menu era escondido: vira uma faixa de botões acima das vistas */
  .tela--viva .tela__menu { display: flex; grid-column: 1 / -1; gap: 4px; min-width: 0; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--borda); overflow-x: auto; scrollbar-width: thin; }
  .tela--viva .tela__grupo { display: none; }
  .tela--viva .tela__menu ul { display: flex; gap: 4px; }
  .tela--viva .tela__menu li { flex: none; }
  .tela--viva .tela__item { white-space: nowrap; }
}

/* vistas da central */
.tela__vista { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tela__vista[hidden] { display: none; }
.tela__vista-topo { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; color: var(--texto-3); }
.tela__vista-topo strong { color: var(--texto); font-weight: 600; }
.tela__fluxo .fluxo__rodape { margin-top: 14px; }
.mapa-tela { display: block; width: 100%; height: auto; border: 1px solid var(--borda); border-radius: 3px; }
.mapa__onda { transform-box: fill-box; transform-origin: center; opacity: 0; }
.mapa-tela.vivo .mapa__onda { animation: sv-onda 1.9s ease-out infinite; }
.cams, .regras { list-style: none; display: grid; gap: 6px; }
.cams__linha { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--borda); border-radius: 3px; background: var(--tela-2); }
.cams__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--sev-ok); }
.cams__linha--atencao .cams__ponto { background: var(--sev-atencao); }
.cams__linha--critica .cams__ponto { background: var(--sev-critica); }
.cams.vivo .cams__linha--ok .cams__ponto { animation: sv-pisca 2.4s ease-in-out infinite; }
.cams__texto { display: grid; min-width: 0; }
.cams__texto strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.cams__texto span { font-size: 13px; line-height: 18px; color: var(--texto-3); }
.cams__linha .selo { max-width: 14em; white-space: normal; text-align: right; }
.regra { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 3px; background: var(--tela-2); }
.regra__topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.regra__topo strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.regra__onde, .regra__conta { font-size: 13px; line-height: 18px; color: var(--texto-3); }
.regra__conta b { color: var(--texto); font-weight: 600; }
.regra__conta.muda { animation: sv-muda 1.2s ease-out; }

/* central: fila de ocorrências clicável */
.fila__item { min-width: 0; }
button.ocorrencia { width: 100%; transition: background .25s, box-shadow .25s; }
button.ocorrencia:hover { border-color: var(--sev) !important; }
.tela--viva .ocorrencia--selecionada { box-shadow: inset 0 0 0 1px var(--sev); }
.ocorrencia--nova { animation: sv-nova 1.1s ease-out 2; }

/* central: câmera em destaque ao clicar numa ocorrência */
.tela__quadros--foco { grid-template-columns: 2fr 1fr; }
.tela__quadros--foco .quadro--foco { order: -1; grid-row: span 3; aspect-ratio: auto; outline: 2px solid var(--sev, var(--ciano)); outline-offset: -2px; }

/* quadros de câmera: faixa de varredura discreta, o vídeo segue */
.quadro::after, .mini::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent 38%, rgba(46, 230, 255, 0.07) 50%, transparent 62%); }
.vivo .quadro::after, .mini-mosaico.vivo .mini::after { opacity: 1; animation: sv-varre 4.5s linear infinite; }
.mini-mosaico .mini:nth-child(2n)::after { animation-delay: -1.7s; }
.mini-mosaico .mini:nth-child(3n)::after { animation-delay: -3.1s; }
.cena__rotulo { font-family: var(--fonte-mono); }
.mini__rec { position: absolute; top: 9px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--sev-critica); box-shadow: 0 0 6px rgba(255, 138, 122, 0.8); }
.mini-mosaico.vivo .mini__rec { animation: sv-pisca 1.6s ease-in-out infinite; }
.mini-mosaico.vivo .mini__estado--alerta { animation: sv-pisca 1.3s ease-in-out infinite; }
.mini-mosaico.vivo .mini--indisponivel { animation: sv-borda 1.3s ease-in-out infinite; }

/* central do topo (vídeo real): o ponto da ocorrência aberta pulsa */
.op.vivo .op__ponto { animation: sv-pisca 1.5s ease-in-out infinite; }

/* gate e placa */
.gate__item { list-style: none; }
button.placa { width: calc(100% + 16px); margin: 0 -8px; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--borda); background: none; transition: background .25s, box-shadow .25s; }
button.placa:hover { background: rgba(46, 230, 255, 0.05); }
.gate--vivo .placa__numero { display: inline-block; min-width: calc(7ch + 18px); min-height: 22px; text-align: center; }
.placa--atual { background: rgba(46, 230, 255, 0.07); box-shadow: inset 2px 0 0 var(--ciano); }
.placa--lendo .placa__numero { background-image: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.5), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: sv-linha .8s linear infinite; }
.selo--consulta { color: var(--texto-3); background: rgba(143, 173, 184, 0.12); }
.placa--lendo .selo--consulta { animation: sv-pisca 1s ease-in-out infinite; }
.gate__ficha dd.muda { animation: sv-muda 1.1s ease-out; }

/* sensores e câmeras juntos: a ocorrência se monta */
.cad--anim .cadeia li { opacity: .45; transition: opacity .4s, border-color .4s, box-shadow .4s; }
.cad--anim .cadeia li.aceso { opacity: 1; border-color: var(--borda-forte); box-shadow: 0 0 18px -6px rgba(46, 230, 255, 0.6); }
.cad--anim .cadeia li::after { transition: background .4s, box-shadow .4s; }
.cad--anim .cadeia li.aceso:not(:last-child)::after { background: var(--ciano); box-shadow: 0 0 6px var(--ciano); }
.cad--anim .evento { border-color: var(--borda); transition: border-color .4s, box-shadow .4s; }
.cad--anim .evento.monta { border-color: rgb(255 138 122 / .6); box-shadow: 0 0 28px -10px rgba(255, 138, 122, 0.7); }
.cad--anim .evento__topo, .cad--anim .evento__dados > div { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.cad--anim .evento__topo.vis, .cad--anim .evento__dados > div.vis { opacity: 1; transform: none; }
.aguarda::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--sev-atencao); vertical-align: 1px; }
.vivo .aguarda::after { animation: sv-pisca 1.1s ease-in-out infinite; }

/* investigação: a busca é digitada */
.busca__cursor { display: inline-block; flex: none; width: 2px; height: 18px; margin-left: -8px; background: var(--ciano); opacity: 0; }
.busca--digita .busca__cursor { opacity: 1; animation: sv-cursor .9s steps(1) infinite; }
.busca--anim .busca__info { transition: opacity .4s; }
.busca--anim:not(.busca--info) .busca__info { opacity: 0; }
.busca--anim .resultado { transition: opacity .45s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.busca--anim .resultado:not(.vis) { opacity: 0; transform: translateY(10px) scale(.97); }

/* vision flow: acende etapa por etapa */
.fluxo--anim .fluxo__coluna { transition: border-color .4s, box-shadow .4s; }
.fluxo--anim .fluxo li { color: var(--texto-2); transition: border-color .35s, background-color .35s, color .35s, box-shadow .35s; }
.fluxo--anim .fluxo__coluna.aceso { border-color: var(--borda-forte); box-shadow: 0 0 22px -8px rgba(46, 230, 255, 0.6); }
.fluxo--anim .fluxo li.aceso { color: var(--texto); border-color: rgba(46, 230, 255, 0.6); background-color: rgba(46, 230, 255, 0.14); box-shadow: 0 0 12px -4px rgba(46, 230, 255, 0.7); }
.fluxo--anim .fluxo__coluna:not(:last-child)::after { opacity: .3; transition: opacity .3s, box-shadow .3s; }
.fluxo--anim .fluxo__coluna.aceso:not(:last-child)::after { opacity: 1; box-shadow: 0 0 8px var(--ciano); }
.fluxo--anim .fluxo__rodape span { transition: color .4s; }
.fluxo--anim .fluxo__rodape span.aceso { color: var(--lima); }

/* parede de telas do problema: o foco anda, e o resto passa batido */
.telas span { transition: background-color .5s, box-shadow .5s; }
.telas .telas__alerta { background: var(--sev-atencao); box-shadow: 0 0 10px rgba(243, 192, 73, 0.55); }

/* diagrama "conversando": pulsos nos fios, entrada das caixas, passos do servidor */
.dg__pulso { fill: none; stroke: var(--ciano); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; pointer-events: none; }
.dg__pulso--volta { stroke: var(--lima); }
.dg__svg.vivo .dg__pulso { opacity: .95; animation: sv-fio 1.9s linear infinite; }
.dg__passo rect { transition: stroke .5s, fill .5s; }
.dg__passo--ativo rect { stroke: var(--ciano); fill: rgba(46, 230, 255, 0.08); }
.dg--entra .dg__caixa { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.dg--entra.dg--dentro .dg__caixa { opacity: 1; transform: none; }

/* cinco passos: entrada ao rolar e um pulso correndo em cada fio */
.passo { position: relative; }
.passos--anim .passo { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.passos--anim .passo.dentro { opacity: 1; transform: none; }
.passos--anim .passo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, var(--ciano), transparent) no-repeat; background-size: 24% 100%; background-position: -40% 0; }
.passos.vivo .passo.dentro::after { opacity: 1; animation: sv-linha 3.4s linear infinite; }
.passos .passo:nth-child(2)::after { animation-delay: .55s; }
.passos .passo:nth-child(3)::after { animation-delay: 1.1s; }
.passos .passo:nth-child(4)::after { animation-delay: 1.65s; }
.passos .passo:nth-child(5)::after { animation-delay: 2.2s; }

/* a resposta das perguntas entra em ordem ao trocar a pergunta */
.pr--pronto .pr__resposta:not([hidden]) .pr__texto,
.pr--pronto .pr__resposta:not([hidden]) .pr__passo { animation: sv-entra .45s cubic-bezier(.2, .7, .2, 1) both; }
.pr--pronto .pr__resposta:not([hidden]) .pr__passo:nth-child(1) { animation-delay: .08s; }
.pr--pronto .pr__resposta:not([hidden]) .pr__passo:nth-child(2) { animation-delay: .16s; }
.pr--pronto .pr__resposta:not([hidden]) .pr__passo:nth-child(3) { animation-delay: .24s; }
.pr--pronto .pr__resposta:not([hidden]) .pr__passo:nth-child(4) { animation-delay: .32s; }
.pr--pronto .pr__resposta:not([hidden]) .pr__passo:nth-child(5) { animation-delay: .4s; }

/* =====================================================================
   K039: nova entrada (Physical AI). Abertura sem a faixa por cima,
   "O que é o Smart Vision" com os 4 pilares, a central ao vivo e o link
   para a página Plataforma. A órbita dos setores está em orbita-setores.css.
   ===================================================================== */
.hero--entrada { --hero-pe: clamp(72px, 9vw, 128px); min-height: min(100svh, 960px); }
.hero--entrada .visor { bottom: 28px; }
.hero--entrada .video-pausa--topo { bottom: 40px; }
.hero__rotulo--entrada { font-size: 13px; letter-spacing: 0.22em; padding: 7px 14px; box-shadow: 0 0 22px -6px rgba(46, 230, 255, 0.55); }
.hero__rotulo--entrada::before { content: "[ "; color: var(--lima); }
.hero__rotulo--entrada::after { content: " ]"; color: var(--lima); }
.titulo-entrada { max-width: 15.5em; }
.titulo-entrada__luz { color: var(--ciano); text-shadow: 0 0 34px rgba(46, 230, 255, 0.45); }
.hero--entrada .hero__lead { max-width: 44em; font-size: 20px; line-height: 1.55; text-wrap: pretty; }
@media (max-width: 767px) {
  .hero--entrada .visor { bottom: 14px; }
  .hero--entrada .video-pausa--topo { bottom: 22px; }
  .hero--entrada .hero__lead { font-size: 17px; }
  .hero--entrada .acoes { align-items: flex-start; }
  .hero--entrada .acoes--chamada .link-forte { width: 100%; max-width: 360px; }
}

/* O que é o Smart Vision + 4 pilares */
.sv-oque__cabeca { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 64px; align-items: end; }
.sv-oque__cabeca .sobrelinha { grid-column: 1 / -1; }
.sv-oque__cabeca .titulo-2 { color: #fff; }
.sv-oque__texto { font-size: 20px; line-height: 1.6; color: var(--texto); max-width: 40em; }
.pilares { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: pilar; position: relative; }
.pilares::before { /* fio que liga os pilares, com um pulso correndo */
  content: ""; position: absolute; left: 0; right: 0; top: 90px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.35) 8%, rgba(46, 230, 255, 0.35) 92%, transparent);
}
.pilares::after {
  content: ""; position: absolute; left: 0; right: 0; top: 89px; height: 3px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--lima), transparent) no-repeat; background-size: 14% 100%; background-position: -20% 0;
  filter: drop-shadow(0 0 6px var(--lima));
}
.pilares.vivo::after { opacity: 1; animation: sv-linha 5.2s linear infinite; }
.pilar {
  position: relative; display: grid; align-content: start; gap: 14px; padding: 26px 24px 28px;
  background: linear-gradient(180deg, rgba(8, 26, 36, 0.86), rgba(3, 10, 15, 0.92));
  border: 1px solid var(--borda); border-radius: 3px;
  transition: border-color .4s, box-shadow .4s, transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s cubic-bezier(.2, .7, .2, 1);
}
.pilar::after { /* cantos de HUD */
  --k: var(--ciano);
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--k), var(--k)) top left / 14px 2px no-repeat, linear-gradient(var(--k), var(--k)) top left / 2px 14px no-repeat,
    linear-gradient(var(--k), var(--k)) bottom right / 14px 2px no-repeat, linear-gradient(var(--k), var(--k)) bottom right / 2px 14px no-repeat;
  filter: drop-shadow(0 0 4px var(--k));
}
.js .pilares:not(.entrou) .pilar { opacity: 0; transform: translateY(18px); }
.pilar:nth-child(2) { transition-delay: .08s; } .pilar:nth-child(3) { transition-delay: .16s; } .pilar:nth-child(4) { transition-delay: .24s; }
@media (hover: hover) { .pilar:hover { border-color: rgba(46, 230, 255, 0.55); box-shadow: 0 0 34px -12px rgba(46, 230, 255, 0.6); } }
.pilar__num { font-family: var(--fonte-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lima); }
.pilar__num::before { content: "[ "; } .pilar__num::after { content: " ]"; }
.pilar__icone { width: 64px; height: 64px; overflow: visible; fill: none; stroke: var(--ciano); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(46, 230, 255, 0.45)); }
.pilar__nome { font-size: 25px; line-height: 1.1; font-weight: 700; color: #fff; }
.pilar__texto { color: var(--texto-2); font-size: 16px; line-height: 1.55; }
/* ícones vivos */
.pilar__varre { fill: rgba(46, 230, 255, 0.18); stroke: none; transform-origin: 32px 32px; }
.pilar__alvo { fill: var(--lima); stroke: none; opacity: .3; }
.pilar__deteccao { stroke: var(--lima); transform-origin: 32px 33px; }
.pilar__linha { stroke: rgba(46, 230, 255, 0.6); stroke-width: 1; }
.pilar__onda { stroke: var(--sev-atencao); opacity: 0; transform-origin: 32px 34px; }
.pilar__icone--alerta path { stroke: var(--sev-atencao); }
.pilar__pulso { stroke: var(--lima); stroke-width: 3; stroke-dasharray: 6 30; stroke-dashoffset: 36; opacity: 0; }
@keyframes pilar-gira { to { transform: rotate(360deg); } }
@keyframes pilar-alvo { 0%, 60%, 100% { opacity: .25; } 70%, 85% { opacity: 1; } }
@keyframes pilar-caixa { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .55; } }
@keyframes pilar-linha { 0% { transform: translateY(-20px); } 100% { transform: translateY(20px); } }
@keyframes pilar-onda { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
@keyframes pilar-pulso { to { stroke-dashoffset: 0; } }
.pilares.vivo .pilar__varre { animation: pilar-gira 3.2s linear infinite; }
.pilares.vivo .pilar__alvo { animation: pilar-alvo 3.2s linear infinite; }
.pilares.vivo .pilar__deteccao { animation: pilar-caixa 2.4s ease-in-out infinite; }
.pilares.vivo .pilar__linha { animation: pilar-linha 2.4s ease-in-out infinite alternate; }
.pilares.vivo .pilar__onda { animation: pilar-onda 1.8s ease-out infinite; }
.pilares.vivo .pilar__pulso { opacity: 1; animation: pilar-pulso 1.1s linear infinite; }
@media (max-width: 1100px) { .pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pilares::before, .pilares::after { display: none; } }
@media (max-width: 760px) {
  .sv-oque__cabeca { grid-template-columns: 1fr; }
  .sv-oque__texto { font-size: 18px; }
  .pilares { grid-template-columns: 1fr; margin-top: 36px; gap: 12px; }
  .pilar { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 20px 18px; }
  .pilar__num { grid-column: 1 / -1; }
  .pilar__icone { grid-row: span 2; width: 52px; height: 52px; }
  .pilar__nome { font-size: 22px; }
}

/* A central ao vivo: a fila de ocorrências chama a pessoa */
.sv-proativo .titulo-2 { margin-top: 14px; color: #fff; max-width: 17em; }
.sv-proativo__texto { margin-top: 16px; max-width: 42em; color: var(--texto-2); font-size: 19px; line-height: 1.55; }
.sv-proativo .tela { margin-top: 44px; }
.sv-proativo__mais { margin-top: 28px; }
.sv-mais {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; color: var(--ciano);
  text-decoration: none; border-bottom: 1px solid rgba(46, 230, 255, 0.45);
}
.sv-mais span { transition: transform .2s var(--ease-out); }
@media (hover: hover) { .sv-mais:hover { color: #fff; border-color: var(--ciano); } .sv-mais:hover span { transform: translateX(5px); } }
.sv-caso .cm-case__cartao { position: relative; }

/* setores Escolas e Terminal de passageiros (K040), na paleta ciano, lima e âmbar */
:root { --setor-escolas: #b6f23a; --setor-terminal: #ffc547; }
.painel__item--escolas, .gaveta__link--escolas, .outro--escolas { --c: var(--setor-escolas); }
.painel__item--terminal, .gaveta__link--terminal, .outro--terminal { --c: var(--setor-terminal); }
body[data-setor="escolas"] { --cor-setor: var(--setor-escolas); }
body[data-setor="terminal"] { --cor-setor: var(--setor-terminal); }

/* Envio pelo servidor: campo-armadilha fora da tela, estado de envio e erro */
.formulario { position: relative; }
.formulario__arm { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario[aria-busy="true"] button[type="submit"] { opacity: 0.6; cursor: progress; }
.formulario__erro { color: #ffb4a8; }
