/* Hydra Sistemas — site institucional */

:root {
  --fundo: #040b18;
  --fundo-2: #071326;
  --vidro: rgba(16, 34, 62, 0.55);
  --borda: rgba(120, 175, 240, 0.16);
  --borda-forte: rgba(120, 175, 240, 0.34);
  --azul: #0075d8;
  --azul-claro: #2f9bff;
  --ciano: #5fd0ff;
  --ambar: #ffb020;
  --verde: #3ddc84;
  --texto: #e9f1fb;
  --texto-suave: #93a8c4;

  --titulo: "Sora", "Segoe UI", system-ui, sans-serif;
  --corpo: "Manrope", "Segoe UI", system-ui, sans-serif;
  --suave: cubic-bezier(0.2, 0.7, 0.2, 1);

  --espaco-secao: clamp(4.5rem, 10vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--fundo);
}

body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2 {
  font-family: var(--titulo);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.9vw, 4.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

a {
  color: var(--ciano);
}

:focus-visible {
  outline: 2px solid var(--ambar);
  outline-offset: 3px;
  border-radius: 6px;
}

.largura {
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
}

.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

.pular:focus {
  top: 1rem;
}

/* Barra de progresso da leitura */

.progresso {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}

.progresso span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--azul), var(--ciano));
  transform-origin: left;
  transform: scaleX(0);
}

/* Botões */

.botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font: 600 0.975rem/1.2 var(--corpo);
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--suave), box-shadow 0.25s, background-color 0.25s, border-color 0.25s;
}

.botao--grande {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.botao--cheio {
  background: linear-gradient(135deg, var(--azul-claro), var(--azul));
  box-shadow: 0 10px 30px -10px rgba(0, 117, 216, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.botao--cheio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--suave);
}

.botao--cheio:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(47, 155, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.botao--cheio:hover::after {
  transform: translateX(120%);
}

.botao--vidro {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--borda-forte);
  backdrop-filter: blur(8px);
}

.botao--vidro:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ciano);
}

/* Topo */

.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.topo.rolando {
  background: rgba(4, 11, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--borda);
}

.topo__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.marca img {
  width: 2.75rem;
  filter: drop-shadow(0 0 12px rgba(47, 155, 255, 0.6));
}

.marca__texto {
  display: grid;
  font: 800 1.25rem/1 var(--titulo);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marca__texto small {
  margin-top: 0.2rem;
  font: 600 0.62rem/1 var(--titulo);
  letter-spacing: 0.32em;
  color: var(--azul-claro);
}

.topo__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.topo__nav a:not(.botao) {
  position: relative;
  color: var(--texto);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s;
}

.topo__nav a:not(.botao)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  background: var(--ciano);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--suave);
}

.topo__nav a:not(.botao):hover {
  opacity: 1;
}

.topo__nav a:not(.botao):hover::after {
  transform: scaleX(1);
}

.topo__menu {
  display: none;
  padding: 0.5rem 1rem;
  font: 600 0.95rem var(--corpo);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  cursor: pointer;
}

/* Abertura */

.abertura {
  position: relative;
  padding-top: clamp(6.5rem, 9vw, 7.5rem);
  overflow: hidden;
  isolation: isolate;
}

.abertura__rede {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.75;
  mask-image: linear-gradient(#000 55%, transparent);
}

.abertura__brilho {
  position: absolute;
  z-index: -1;
  top: -20rem;
  right: -12rem;
  width: 60rem;
  height: 60rem;
  background: radial-gradient(closest-side, rgba(0, 117, 216, 0.42), transparent);
  animation: respirar 9s ease-in-out infinite alternate;
}

@keyframes respirar {
  to {
    transform: translate(-6rem, 4rem) scale(1.15);
    opacity: 0.7;
  }
}

.abertura__grade {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cfe3fa;
  background: rgba(47, 155, 255, 0.1);
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  animation: surgir 0.8s var(--suave) both;
}

.selo__ponto {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulso 1.8s infinite;
}

.titulo-abertura {
  margin-top: 0;
}

.linha {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.linha > span {
  display: block;
  animation: subir 0.95s var(--suave) both;
}

.linha:nth-child(2) > span {
  animation-delay: 0.09s;
}

.linha:nth-child(3) > span {
  animation-delay: 0.18s;
}

.linha:nth-child(4) > span {
  animation-delay: 0.27s;
}

.linha--luz > span {
  background: linear-gradient(100deg, #fff 0%, var(--ciano) 45%, var(--azul-claro) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Espaço extra para o degradê alcançar a perna do "y" */
  padding-bottom: 0.12em;
}

@keyframes subir {
  from {
    transform: translateY(110%);
  }
}

@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

.abertura__apoio {
  margin-top: 1.75rem;
  max-width: 33rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--texto-suave);
  animation: surgir 0.9s 0.45s var(--suave) both;
}

.abertura__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
  animation: surgir 0.9s 0.6s var(--suave) both;
}

/* Palco: mapa da cidade em perspectiva */

.palco {
  perspective: 1400px;
  animation: surgir 1.1s 0.35s var(--suave) both;
}

.palco__plano {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--giro-y, -7deg)) rotateX(var(--giro-x, 9deg));
  transition: transform 0.5s var(--suave);
}

.monitor {
  position: relative;
  padding: 1.25rem;
  background: linear-gradient(160deg, rgba(20, 44, 80, 0.85), rgba(7, 19, 38, 0.92));
  border: 1px solid var(--borda-forte);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 50px 90px -40px rgba(0, 117, 216, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.monitor__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.monitor__titulo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font: 600 1rem var(--titulo);
}

.monitor__pulso {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--verde);
  animation: pulso 1.8s infinite;
}

.monitor.pausado .monitor__pulso {
  background: #6f8098;
  animation: none;
}

@keyframes pulso {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  }
  70% {
    box-shadow: 0 0 0 0.5rem rgba(61, 220, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0);
  }
}

.monitor__pausa {
  padding: 0.3rem 0.8rem;
  font: 500 0.82rem var(--corpo);
  color: var(--texto);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  cursor: pointer;
}

.monitor__pausa:hover {
  border-color: var(--ciano);
}

.monitor__lista {
  display: grid;
  gap: 0.5rem;
  height: 19.5rem;
  overflow: hidden;
  align-content: start;
}

.passagem {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  height: 3.5rem;
  padding: 0 0.85rem 0 0.55rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.passagem--nova {
  animation: entrar 0.5s var(--suave);
}

@keyframes entrar {
  from {
    opacity: 0;
    transform: translateY(-1rem) scale(0.97);
  }
}

.passagem--alvo {
  background: rgba(255, 176, 32, 0.13);
  border-color: rgba(255, 176, 32, 0.55);
  box-shadow: 0 0 28px -8px rgba(255, 176, 32, 0.7);
}

.placa {
  width: 6.3rem;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}

.placa__faixa {
  display: block;
  height: 0.45rem;
  background: #0b4ea2;
}

.placa__texto {
  display: block;
  padding: 0.12rem 0 0.16rem;
  font: 800 1rem/1.2 var(--corpo);
  letter-spacing: 0.09em;
  color: #0a0f18;
}

.passagem__dados {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.passagem__veiculo,
.passagem__camera {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.passagem__veiculo {
  font-weight: 600;
}

.passagem__camera {
  color: var(--texto-suave);
}

.passagem__hora {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--texto-suave);
}

.passagem--alvo .passagem__hora {
  color: var(--ambar);
  font-weight: 700;
}

.monitor__nota {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: #7489a6;
}

/* Faixa em movimento */

.faixa {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-block: 1.1rem;
  border-block: 1px solid var(--borda);
  background: rgba(7, 19, 38, 0.6);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.faixa__trilho {
  display: flex;
  width: max-content;
  animation: correr 42s linear infinite;
}

.faixa__trilho span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font: 500 1rem var(--titulo);
  color: var(--texto-suave);
  white-space: nowrap;
}

.faixa__trilho span::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--azul-claro);
  box-shadow: 0 0 10px var(--azul-claro);
}

@keyframes correr {
  to {
    transform: translateX(-50%);
  }
}

/* Seções */

.secao {
  position: relative;
  padding-block: var(--espaco-secao);
}

.secao--funda {
  background:
    radial-gradient(50rem 28rem at 10% 0%, rgba(0, 117, 216, 0.16), transparent 70%),
    var(--fundo-2);
  border-block: 1px solid var(--borda);
}

.cabeca {
  max-width: 46rem;
}

.cabeca p {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--texto-suave);
}

.cabeca--centro {
  margin-inline: auto;
  text-align: center;
}

/* Revelar ao rolar (só quando há JavaScript) */

.js [data-revelar] {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 0.9s var(--suave), transform 0.9s var(--suave), translate 0.35s var(--suave), border-color 0.35s;
}

.js [data-revelar].visivel {
  opacity: 1;
  transform: none;
}

/* Foco de luz que segue o cursor */

[data-foco] {
  position: relative;
  overflow: hidden;
}

[data-foco]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, -30%), rgba(47, 155, 255, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

[data-foco]:hover::before {
  opacity: 1;
}

[data-foco] > * {
  position: relative;
  z-index: 1;
}

/* Cenas animadas dos módulos */

.cena {
  position: relative;
  height: clamp(17rem, 30vw, 24rem);
  border: 1px solid var(--borda-forte);
  border-radius: 24px;
  box-shadow: 0 50px 100px -50px rgba(0, 117, 216, 0.8);
  overflow: hidden;
  background:
    linear-gradient(rgba(120, 175, 240, 0.07) 1px, transparent 1px) 0 0 / 100% 2rem,
    linear-gradient(90deg, rgba(120, 175, 240, 0.07) 1px, transparent 1px) 0 0 / 2rem 100%,
    radial-gradient(circle at 50% 0%, rgba(0, 117, 216, 0.3), rgba(4, 11, 24, 0.9) 75%);
}

.varredura {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--ciano);
  box-shadow: 0 0 18px 4px rgba(95, 208, 255, 0.7);
  animation: varrer 2.8s ease-in-out infinite alternate;
}

@keyframes varrer {
  from {
    top: 4%;
  }
  to {
    top: 96%;
  }
}

.cena__etiqueta {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  translate: -50% 0;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: #1c1300;
  background: var(--ambar);
  border-radius: 999px;
  animation: piscar-etiqueta 5.6s infinite;
}

@keyframes piscar-etiqueta {
  0%,
  45% {
    opacity: 0;
    scale: 0.9;
  }
  55%,
  92% {
    opacity: 1;
    scale: 1;
  }
  100% {
    opacity: 0;
  }
}

/* LPR */

.cena--lpr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 1.1rem 2rem;
}

.placa-grande {
  position: relative;
  width: 15rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 50px -6px rgba(47, 155, 255, 0.8);
}

.placa-grande__faixa {
  display: block;
  padding: 0.15rem;
  font: 700 0.7rem/1.2 var(--corpo);
  letter-spacing: 0.3em;
  color: #fff;
  background: #0b4ea2;
}

.placa-grande__texto {
  display: block;
  padding: 0.2rem 0 0.35rem;
  font: 800 2.6rem/1.15 var(--corpo);
  letter-spacing: 0.1em;
  color: #0a0f18;
}

.cena__dados {
  display: grid;
  gap: 0.4rem;
}

.cena__dados li {
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  animation: dado 5.6s infinite both;
}

.cena__dados li:nth-child(2) {
  animation-delay: 0.35s;
}

.cena__dados li:nth-child(3) {
  animation-delay: 0.7s;
}

.cena__dados--ambar {
  color: #1c1300;
  background: var(--ambar) !important;
  border-color: var(--ambar) !important;
}

@keyframes dado {
  0%,
  30% {
    opacity: 0;
    transform: translateX(-0.75rem);
  }
  40%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* Face */

.rosto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(160, 205, 255, 0.55);
  stroke-width: 2;
}

.rosto__pontos circle {
  fill: var(--ciano);
  stroke: none;
  animation: cintilar 2.4s ease-in-out infinite;
}

.rosto__pontos circle:nth-child(odd) {
  animation-delay: 0.6s;
}

.rosto__malha {
  stroke: var(--ciano);
  stroke-width: 1;
  stroke-dasharray: 220;
  animation: tracar 5.6s ease-in-out infinite;
}

@keyframes cintilar {
  50% {
    opacity: 0.25;
  }
}

@keyframes tracar {
  0% {
    stroke-dashoffset: 220;
  }
  50%,
  90% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 220;
  }
}

.mira {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 6.5rem;
  height: 6.5rem;
  translate: -50% -50%;
  background:
    linear-gradient(var(--ciano), var(--ciano)) top left / 1.1rem 2px,
    linear-gradient(var(--ciano), var(--ciano)) top left / 2px 1.1rem,
    linear-gradient(var(--ciano), var(--ciano)) top right / 1.1rem 2px,
    linear-gradient(var(--ciano), var(--ciano)) top right / 2px 1.1rem,
    linear-gradient(var(--ciano), var(--ciano)) bottom left / 1.1rem 2px,
    linear-gradient(var(--ciano), var(--ciano)) bottom left / 2px 1.1rem,
    linear-gradient(var(--ciano), var(--ciano)) bottom right / 1.1rem 2px,
    linear-gradient(var(--ciano), var(--ciano)) bottom right / 2px 1.1rem;
  background-repeat: no-repeat;
  animation: mirar 2.8s ease-in-out infinite alternate;
}

@keyframes mirar {
  from {
    scale: 1.18;
    opacity: 0.6;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

/* Vision */

.caixa {
  position: absolute;
  border: 2px solid var(--ciano);
  border-radius: 6px;
  background: rgba(95, 208, 255, 0.08);
  animation: detectar 6s infinite both;
}

.caixa em {
  position: absolute;
  left: -2px;
  top: -1.45rem;
  padding: 0.05rem 0.5rem;
  font: 600 0.75rem/1.4 var(--corpo);
  color: #04121f;
  background: var(--ciano);
  border-radius: 4px 4px 4px 0;
}

.caixa--1 {
  left: 12%;
  top: 30%;
  width: 16%;
  height: 52%;
}

.caixa--2 {
  left: 38%;
  top: 44%;
  width: 34%;
  height: 36%;
  border-color: var(--azul-claro);
  animation-delay: 0.8s;
}

.caixa--2 em {
  background: var(--azul-claro);
}

.caixa--3 {
  left: 78%;
  top: 60%;
  width: 13%;
  height: 22%;
  border-color: var(--ambar);
  animation-delay: 1.6s;
}

.caixa--3 em {
  background: var(--ambar);
}

@keyframes detectar {
  0%,
  8% {
    opacity: 0;
    scale: 1.25;
  }
  18%,
  85% {
    opacity: 1;
    scale: 1;
  }
  95%,
  100% {
    opacity: 0;
    scale: 1;
  }
}

/* Cam: mural de câmeras ao vivo com linha do tempo das gravações */

.cena--cam {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.6rem;
}

.mural {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
}

.tela-cam {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: #0b1626;
}

.tela-cam--destaque {
  grid-row: span 2;
}

/* Textura de vídeo: linhas finas e bordas escurecidas */
.tela-cam::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.vista {
  position: absolute;
  inset: 0;
}

.vista i {
  position: absolute;
  display: block;
}

.tela-cam__nome {
  position: absolute;
  z-index: 2;
  left: 0.4rem;
  bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.5;
  color: #e9f1fb;
  background: rgba(4, 11, 24, 0.78);
  border-radius: 5px;
}

.tela-cam__nome::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #ff4d5e;
  animation: cintilar 1.4s infinite;
}

.tela-cam__aovivo {
  position: absolute;
  z-index: 2;
  top: 0.4rem;
  right: 0.4rem;
  padding: 0.05rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  background: #e5484d;
  border-radius: 4px;
}

/* Elementos comuns */

.veiculo {
  width: 1.5rem;
  height: 0.75rem;
  background: var(--cor, #e9f1fb);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.pedestre {
  width: 0.38rem;
  height: 0.38rem;
  background: #dfe9f6;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(223, 233, 246, 0.6);
}

/* Avenida: duas faixas com carros em sentidos opostos e pedestres nas calçadas */

.vista--rua {
  background:
    radial-gradient(circle at 10% 11%, #15463a 0 0.55rem, transparent 0.6rem),
    radial-gradient(circle at 34% 9%, #15463a 0 0.5rem, transparent 0.55rem),
    radial-gradient(circle at 63% 12%, #15463a 0 0.6rem, transparent 0.65rem),
    radial-gradient(circle at 88% 9%, #15463a 0 0.5rem, transparent 0.55rem),
    radial-gradient(circle at 22% 91%, #15463a 0 0.55rem, transparent 0.6rem),
    radial-gradient(circle at 74% 90%, #15463a 0 0.55rem, transparent 0.6rem),
    #0d1828;
}

.rua__calcada {
  left: 0;
  right: 0;
  height: 7%;
  background: #22324a;
}

.rua__calcada--cima {
  top: 23%;
}

.rua__calcada--baixo {
  top: 70%;
}

.rua__pista {
  left: 0;
  right: 0;
  top: 30%;
  height: 40%;
  background: #18222f;
}

.rua__faixa {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(233, 241, 251, 0.5) 0 0.9rem, transparent 0.9rem 1.6rem);
}

.vista--rua .veiculo--1 {
  top: 35%;
  left: 18%;
  --cor: #e9f1fb;
  animation: rua-ida 5s linear infinite;
}

.vista--rua .veiculo--2 {
  top: 35%;
  left: 64%;
  --cor: #f2c166;
  animation: rua-ida 5s linear -2.6s infinite;
}

.vista--rua .veiculo--3 {
  top: 56%;
  left: 40%;
  --cor: #8fb6e8;
  animation: rua-volta 6.5s linear infinite;
}

.vista--rua .veiculo--4 {
  top: 56%;
  left: 82%;
  --cor: #7fd3c0;
  animation: rua-volta 6.5s linear -3.4s infinite;
}

.vista--rua .pedestre--1 {
  top: 25%;
  left: 30%;
  animation: rua-ida 16s linear infinite;
}

.vista--rua .pedestre--2 {
  top: 72%;
  left: 70%;
  animation: rua-volta 19s linear -6s infinite;
}

@keyframes rua-ida {
  from {
    left: -12%;
  }
  to {
    left: 108%;
  }
}

@keyframes rua-volta {
  from {
    left: 108%;
  }
  to {
    left: -12%;
  }
}

/* Portaria: o carro chega, a cancela abre e ele passa */

.vista--portaria {
  background: #0d1828;
}

.portaria__via {
  left: 30%;
  width: 40%;
  top: 0;
  bottom: 0;
  background: #18222f;
}

.portaria__guarita {
  left: 74%;
  top: 34%;
  width: 18%;
  height: 24%;
  background: #22324a;
  border: 1px solid rgba(120, 175, 240, 0.3);
  border-radius: 3px;
}

.portaria__cancela {
  left: 30%;
  top: 46%;
  width: 40%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #ff4d5e 0 0.4rem, #f4f7fb 0.4rem 0.8rem);
  border-radius: 2px;
  transform-origin: 100% 50%;
  animation: cancela 6s ease-in-out infinite;
}

.vista--portaria .veiculo {
  left: 50%;
  top: 56%;
  width: 0.8rem;
  height: 1.5rem;
  translate: -50% 0;
  animation: portaria-carro 6s ease-in-out infinite;
}

@keyframes cancela {
  0%,
  38% {
    rotate: 0deg;
  }
  48%,
  78% {
    rotate: 80deg;
  }
  90%,
  100% {
    rotate: 0deg;
  }
}

@keyframes portaria-carro {
  0% {
    top: 110%;
  }
  32%,
  46% {
    top: 56%;
  }
  76%,
  100% {
    top: -30%;
  }
}

/* Praça: caminhos cruzados, fonte no centro e pessoas andando */

.vista--praca {
  background:
    radial-gradient(circle at 20% 22%, #15463a 0 0.6rem, transparent 0.65rem),
    radial-gradient(circle at 80% 78%, #15463a 0 0.6rem, transparent 0.65rem),
    radial-gradient(circle at 82% 20%, #15463a 0 0.45rem, transparent 0.5rem),
    #0c201f;
}

.praca__caminho--h {
  left: 0;
  right: 0;
  top: 42%;
  height: 16%;
  background: #22324a;
}

.praca__caminho--v {
  top: 0;
  bottom: 0;
  left: 43%;
  width: 14%;
  background: #22324a;
}

.praca__fonte {
  left: 50%;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(95, 208, 255, 0.55), #0b2a44 70%);
  border: 2px solid #3a5676;
  border-radius: 50%;
}

.vista--praca .pedestre--3 {
  top: 45%;
  left: 20%;
  animation: rua-ida 9s linear infinite;
}

.vista--praca .pedestre--4 {
  top: 52%;
  left: 75%;
  animation: rua-volta 12s linear -4s infinite;
}

.vista--praca .pedestre--5 {
  left: 46%;
  top: 25%;
  animation: praca-descer 10s linear -2s infinite;
}

@keyframes praca-descer {
  from {
    top: -8%;
  }
  to {
    top: 108%;
  }
}

/* Linha do tempo das gravações */

.linha-tempo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.15rem 0.3rem 0.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--texto-suave);
}

.linha-tempo__barra {
  position: relative;
  flex: 1;
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.linha-tempo__barra i {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(61, 220, 132, 0.55);
  border-radius: 999px;
}

.linha-tempo__barra .trecho--1 {
  left: 0;
  width: 36%;
}

.linha-tempo__barra .trecho--2 {
  left: 40%;
  width: 31%;
}

.linha-tempo__barra .trecho--3 {
  left: 75%;
  width: 25%;
}

.linha-tempo__cursor {
  position: absolute;
  top: -0.3rem;
  bottom: -0.3rem;
  left: 62%;
  width: 2px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px #fff;
  animation: cursor-gravacao 14s linear infinite;
}

@keyframes cursor-gravacao {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

/* Inteligência (miniatura) */

.cena--intel svg {
  width: 100%;
  height: 100%;
  padding: 1rem;
  fill: none;
  overflow: visible;
}

.grafo__base {
  stroke: rgba(160, 205, 255, 0.25);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.grafo__rota {
  stroke: var(--ciano);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 420;
  filter: drop-shadow(0 0 6px var(--ciano));
  animation: rota 5s ease-in-out infinite;
}

.grafo__nos circle {
  fill: var(--fundo);
  stroke: var(--azul-claro);
  stroke-width: 2.5;
}

@keyframes rota {
  0% {
    stroke-dashoffset: 420;
  }
  60%,
  85% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* Fly: pista do aeroporto vista de cima, com a aeronave em solo */

.cena--fly {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 117, 216, 0.2), transparent 70%),
    repeating-linear-gradient(135deg, rgba(120, 175, 240, 0.035) 0 2px, transparent 2px 14px),
    #061224;
}

.aero__pista {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 31%;
  height: 38%;
  background: #18222f;
  border-block: 2px solid rgba(233, 241, 251, 0.35);
}

/* Faixa central tracejada da pista */
.aero__pista::before {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  top: 50%;
  height: 2px;
  translate: 0 -50%;
  background: repeating-linear-gradient(90deg, rgba(233, 241, 251, 0.55) 0 1.4rem, transparent 1.4rem 2.5rem);
}

/* Marcas de cabeceira nas duas pontas */
.aero__cabeceira {
  position: absolute;
  left: 4%;
  top: 14%;
  bottom: 14%;
  width: 4.5%;
  background: repeating-linear-gradient(180deg, rgba(233, 241, 251, 0.55) 0 3px, transparent 3px 8px);
}

.aero__cabeceira--fim {
  left: auto;
  right: 4%;
}

/* Linha de detecção marcada na imagem */
.aero__linha {
  position: absolute;
  left: 62%;
  top: 25%;
  bottom: 25%;
  border-left: 2px dashed var(--ambar);
  animation: cruzou 6s infinite;
}

/* Câmera instalada ao lado da pista, olhando para a linha */
.aero__camera {
  position: absolute;
  left: 62%;
  bottom: 5%;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: #fff;
  background: #071326;
  border: 2px solid var(--ciano);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(95, 208, 255, 0.6);
}

.aero__cone {
  position: absolute;
  left: 62%;
  bottom: calc(5% + 1.1rem);
  width: 10rem;
  height: 64%;
  translate: -50% 0;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(0deg, rgba(95, 208, 255, 0.3), rgba(95, 208, 255, 0.03));
}

/* Aeronave rodando pela pista, com sombra no chão */
.aero__aeronave {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3rem;
  height: 3rem;
  translate: -50% -50%;
  animation: taxiar 6s linear infinite;
}

.aero__aeronave .aviao {
  width: 100%;
  height: 100%;
  color: #e9f1fb;
  rotate: 90deg;
  filter: drop-shadow(-5px 4px 2px rgba(0, 0, 0, 0.6));
}

/* Moldura de rastreamento que aparece quando a aeronave cruza a linha */
.aero__alvo {
  position: absolute;
  inset: -0.4rem;
  border: 2px solid var(--ciano);
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(95, 208, 255, 0.6);
  opacity: 0;
  animation: alvo-fly 6s infinite;
}

.cena__etiqueta--fly {
  top: 0.8rem;
  bottom: auto;
  left: 62%;
  animation: etiqueta-fly 6s infinite;
}

/* A aeronave cruza a linha (62%) em 60% do ciclo */
@keyframes taxiar {
  from {
    left: -8%;
  }
  to {
    left: 108%;
  }
}

@keyframes cruzou {
  0%,
  58% {
    filter: none;
    opacity: 0.6;
  }
  61%,
  76% {
    filter: drop-shadow(0 0 10px var(--ambar));
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes alvo-fly {
  0%,
  57% {
    opacity: 0;
    scale: 1.3;
  }
  61%,
  76% {
    opacity: 1;
    scale: 1;
  }
  84%,
  100% {
    opacity: 0;
    scale: 1;
  }
}

@keyframes etiqueta-fly {
  0%,
  59% {
    opacity: 0;
    scale: 0.9;
  }
  63%,
  90% {
    opacity: 1;
    scale: 1;
  }
  97%,
  100% {
    opacity: 0;
  }
}

/* Investigação interativa */

.investigacao {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: 3.5rem;
}

.pergunta {
  position: relative;
  border-top: 1px solid var(--borda);
}

.pergunta:last-child {
  border-bottom: 1px solid var(--borda);
}

.pergunta button {
  display: block;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font: 600 clamp(1.1rem, 1.9vw, 1.4rem) / 1.3 var(--titulo);
  letter-spacing: -0.01em;
  color: var(--texto-suave);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.3s;
}

.pergunta button:hover,
.pergunta.ativa button {
  color: #fff;
}

.pergunta p {
  color: var(--texto-suave);
  padding-bottom: 1.5rem;
  max-width: 34rem;
}

.js .pergunta p {
  display: grid;
  max-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--suave), opacity 0.4s, padding 0.5s var(--suave);
}

.js .pergunta.ativa p {
  max-height: 12rem;
  padding-bottom: 1.5rem;
  opacity: 1;
}

.pergunta__tempo {
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--azul), var(--ciano));
  transform: scaleX(0);
  transform-origin: left;
}

.pergunta.ativa .pergunta__tempo {
  transform: scaleX(var(--tempo, 1));
}

.mapa {
  position: relative;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(18, 38, 70, 0.8), rgba(4, 11, 24, 0.9));
  border: 1px solid var(--borda-forte);
  border-radius: 24px;
  box-shadow: 0 50px 100px -50px rgba(0, 117, 216, 0.8);
}

.mapa svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.mapa__ruas path {
  fill: none;
  stroke: rgba(120, 175, 240, 0.1);
  stroke-width: 10;
}

.mapa__rota-base {
  fill: none;
  stroke: rgba(160, 205, 255, 0.28);
  stroke-width: 3;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}

.mapa__rota-trilha {
  fill: none;
  stroke: var(--ciano);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px var(--ciano));
}

.mapa__nos circle {
  fill: var(--fundo);
  stroke: #5b7ba3;
  stroke-width: 3;
  transition: stroke 0.3s, fill 0.3s;
}

.mapa__nos .aceso circle {
  stroke: var(--ciano);
  fill: #0d3a66;
}

.mapa__nos text {
  fill: var(--texto-suave);
  font: 600 13px var(--corpo);
  text-anchor: middle;
}

.mapa__ponto {
  fill: #fff;
  filter: drop-shadow(0 0 10px #fff);
}

.mapa__ponto--b {
  fill: var(--ambar);
  filter: drop-shadow(0 0 10px var(--ambar));
  opacity: 0;
}

.mapa[data-modo="comboio"] .mapa__ponto--b,
.mapa[data-modo="batedor"] .mapa__ponto--b {
  opacity: 1;
}

.mapa__rosto {
  fill: none;
  stroke: var(--ambar);
  stroke-width: 2.5;
  stroke-dasharray: 5 6;
  opacity: 0;
  transform-origin: 370px 110px;
}

.mapa[data-modo="pessoa"] .mapa__rosto.aceso {
  opacity: 1;
  animation: girar 4s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

.mapa__legenda {
  margin: 0.25rem 0.5rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #cfe3fa;
}

.mapa__relogio {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  padding: 0.2rem 0.85rem;
  font: 700 1.05rem var(--titulo);
  font-variant-numeric: tabular-nums;
  color: #04121f;
  background: var(--ciano);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s;
}

.mapa[data-modo="tempo"] .mapa__relogio {
  opacity: 1;
}

.aviso {
  margin-top: 2.75rem;
  max-width: 46rem;
  padding: 1rem 1.25rem;
  color: #fff;
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.4);
  border-left: 3px solid var(--ambar);
  border-radius: 12px;
}

/* Como funciona */

.passos {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.passos__cabeca {
  position: sticky;
  top: 7rem;
}

.passos__lista {
  position: relative;
  display: grid;
  gap: 3.25rem;
  padding-left: 4.5rem;
  counter-reset: passo;
}

.passos__lista::before,
.passos__lista::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--borda-forte);
}

.passos__lista::after {
  background: linear-gradient(var(--ciano), var(--azul));
  box-shadow: 0 0 14px var(--azul-claro);
  transform-origin: top;
  transform: scaleY(var(--avanco, 0));
}

.passos__lista li {
  position: relative;
  counter-increment: passo;
}

.passos__lista li::before {
  content: counter(passo);
  position: absolute;
  left: -4.5rem;
  top: -0.35rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  font: 700 1.1rem var(--titulo);
  color: #fff;
  background: var(--fundo);
  border: 2px solid var(--azul-claro);
  border-radius: 50%;
  box-shadow: 0 0 22px -4px var(--azul-claro);
}

.passos__lista h3 {
  font-size: 1.5rem;
}

.passos__lista p {
  margin-top: 0.5rem;
  max-width: 30rem;
  color: var(--texto-suave);
}

/* Gestão */

.recursos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.recursos li {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--borda);
  border-radius: 20px;
  transition: border-color 0.35s, translate 0.35s var(--suave), opacity 0.9s var(--suave), transform 0.9s var(--suave);
}

.recursos li:hover {
  border-color: var(--borda-forte);
  translate: 0 -0.3rem;
}

.recursos svg {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  margin-bottom: 1.1rem;
  fill: none;
  stroke: var(--ciano);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(47, 155, 255, 0.12);
  border: 1px solid var(--borda-forte);
  border-radius: 12px;
}

.recursos p {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: var(--texto-suave);
}

.ti {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  color: #cfe3fa;
  border: 1px dashed var(--borda-forte);
  border-radius: 16px;
}

/* Contato */

.contato__caixa {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(40rem 24rem at 0% 0%, rgba(47, 155, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #0d2a52, #071326);
  border: 1px solid var(--borda-forte);
  border-radius: 32px;
  overflow: hidden;
}

.contato__texto p {
  margin-top: 1.25rem;
  font-size: 1.12rem;
  color: #c3d6ee;
}

.formulario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}

.campo {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.campo--inteiro {
  grid-column: 1 / -1;
}

.campo > label,
.campo legend {
  padding: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #cfe3fa;
}

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="tel"],
.campo textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: 400 1rem var(--corpo);
  color: #fff;
  background: rgba(4, 11, 24, 0.55);
  border: 1px solid var(--borda-forte);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--ciano);
  box-shadow: 0 0 0 4px rgba(95, 208, 255, 0.18);
}

.campo [aria-invalid="true"] {
  border-color: var(--ambar);
}

.opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.opcoes input {
  position: absolute;
  opacity: 0;
}

.opcoes span {
  display: block;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.opcoes span:hover {
  border-color: var(--ciano);
}

.opcoes input:checked + span {
  color: #04121f;
  background: var(--ciano);
  border-color: var(--ciano);
}

.opcoes input:focus-visible + span {
  outline: 2px solid var(--ambar);
  outline-offset: 3px;
}

.formulario .botao {
  justify-self: start;
}

.formulario__retorno {
  margin-top: 0.75rem;
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--ambar);
}

/* Rodapé */

.rodape {
  padding-block: 2.5rem;
  border-top: 1px solid var(--borda);
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.rodape__linha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.rodape__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.rodape__nav a {
  color: var(--texto);
  text-decoration: none;
  opacity: 0.8;
}

.rodape__nav a:hover {
  opacity: 1;
}

.rodape__direitos {
  flex-basis: 100%;
}

/* Telas menores */

@media (max-width: 64rem) {
  .abertura__grade,
  .investigacao,
  .passos,
  .contato__caixa {
    grid-template-columns: 1fr;
  }

  .palco {
    max-width: 34rem;
    margin: 2rem auto 0;
    width: 100%;
  }

  .palco__plano {
    transform: none;
  }

  .recursos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passos__cabeca {
    position: static;
  }

  .topo__menu {
    display: block;
  }

  .topo__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    background: var(--fundo);
    border-bottom: 1px solid var(--borda);
  }

  .topo__nav.aberto {
    display: flex;
  }

  .topo__nav a:not(.botao) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--borda);
    font-size: 1.05rem;
  }

  .topo__nav a:not(.botao)::after {
    display: none;
  }

  .topo__nav .botao {
    margin-top: 1.25rem;
  }
}

@media (max-width: 40rem) {
  .recursos,
  .formulario {
    grid-template-columns: 1fr;
  }

  .abertura__acoes .botao,
  .formulario .botao {
    width: 100%;
  }

  .placa {
    width: 5.5rem;
  }

  .placa__texto {
    font-size: 0.9rem;
  }

  .placa-grande {
    width: 12rem;
  }

  .placa-grande__texto {
    font-size: 2rem;
  }

  .cena__dados {
    display: flex;
  }

  .passos__lista {
    padding-left: 3.75rem;
  }

  .passos__lista::before,
  .passos__lista::after {
    left: 1.15rem;
  }

  .passos__lista li::before {
    left: -3.75rem;
    width: 2.4rem;
    height: 2.4rem;
  }
}

/* Quem prefere menos movimento vê tudo parado e já visível */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-revelar] {
    opacity: 1;
    transform: none;
  }

  .cena__etiqueta,
  .cena__dados li,
  .caixa {
    opacity: 1;
  }

  .grafo__rota,
  .rosto__malha {
    stroke-dasharray: none;
  }

  .aero__aeronave {
    left: 40%;
  }

  .aero__alvo {
    opacity: 0;
  }

  .palco__plano {
    transform: none;
  }
}


/* ===== Mapa da cidade (abertura) ===== */

.cidade__mapa {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 540;
  filter: drop-shadow(0 40px 50px rgba(0, 117, 216, 0.45));
}

.cidade__rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.cidade__nota {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #7489a6;
}

.cidade__legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.8rem;
  color: var(--texto-suave);
}

.cidade__legenda li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cidade__legenda li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.legenda--lpr::before {
  color: var(--ciano);
}

.legenda--face::before {
  color: var(--ambar);
}

.legenda--vision::before {
  color: var(--verde);
}

.cidade__eventos {
  display: grid;
  gap: 0.35rem;
  height: 4.05rem;
  margin-top: 0.75rem;
  overflow: hidden;
  align-content: start;
}

.evento {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  height: 1.85rem;
  padding: 0 0.7rem;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
}

.evento--novo {
  animation: entrar 0.45s var(--suave);
}

.evento i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cor);
  box-shadow: 0 0 8px var(--cor);
}

.evento span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evento time {
  color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
}

.evento--alerta {
  background: rgba(255, 176, 32, 0.16);
  color: #ffd98a;
}

/* ===== Índice dos módulos ===== */

.secao--indice {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.indice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.indice a {
  display: block;
  height: 100%;
  padding: 1.4rem 1.5rem;
  color: var(--texto);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--borda);
  border-radius: 18px;
  transition: border-color 0.3s, translate 0.3s var(--suave);
}

.indice a:hover {
  border-color: var(--ciano);
  translate: 0 -0.3rem;
}

.indice strong {
  display: block;
  font: 700 1.35rem var(--titulo);
  color: var(--ciano);
}

.indice span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--texto-suave);
}

/* ===== Seção de cada módulo ===== */

.modulo__grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.modulo--inverso .modulo__visual {
  order: -1;
}

.modulo__texto--largo {
  max-width: 50rem;
}

.modulo__nome {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  font-size: 0.9rem;
  color: #cfe3fa;
  background: rgba(47, 155, 255, 0.1);
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
}

.modulo__nome strong {
  padding: 0.2rem 0.8rem;
  font: 700 0.85rem var(--titulo);
  color: #04121f;
  background: linear-gradient(135deg, var(--ciano), var(--azul-claro));
  border-radius: 999px;
}

.modulo__apoio {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: #b9cbe2;
}

.pratica {
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  background: rgba(47, 155, 255, 0.08);
  border: 1px solid var(--borda-forte);
  border-left: 3px solid var(--ciano);
  border-radius: 14px;
}

.pratica h3 {
  font-size: 1rem;
  color: var(--ciano);
}

.pratica p {
  margin-top: 0.4rem;
  color: var(--texto);
}

.funcoes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.funcoes li {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--borda-forte);
}

.funcoes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 2.5rem;
  height: 2px;
  background: var(--ciano);
  box-shadow: 0 0 10px var(--ciano);
}

.funcoes h3 {
  font-size: 1.1rem;
}

.funcoes p {
  margin-top: 0.4rem;
  font-size: 0.98rem;
  color: var(--texto-suave);
}

.modulo__nota {
  margin-top: 2.25rem;
  font-size: 0.95rem;
  color: var(--texto-suave);
}

.monitor__alerta {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #1c1300;
  background: var(--ambar);
  border-radius: 12px;
  opacity: 0.25;
  transition: opacity 0.4s;
}

.monitor__alerta.ativo {
  opacity: 1;
}

/* Ícones dentro das caixas do Vision */

.caixa svg {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}

.caixa--1 {
  color: var(--ciano);
}

.caixa--2 {
  color: var(--azul-claro);
}

.caixa--3 {
  color: var(--ambar);
}

.caixa em {
  color: #04121f;
}

@media (max-width: 64rem) {
  .modulo__grade {
    grid-template-columns: 1fr;
  }

  .modulo--inverso .modulo__visual {
    order: 0;
  }

  .indice,
  .funcoes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .indice,
  .funcoes {
    grid-template-columns: 1fr;
  }

  .cidade__legenda {
    font-size: 0.74rem;
  }
}

/* Título da abertura um pouco menor, para o mapa ganhar espaço */

.titulo-abertura {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

@media (max-width: 64rem) {
  .palco {
    max-width: 40rem;
  }
}

/* ===== Menu do site com submenu de módulos ===== */

.submenu {
  position: relative;
}

.submenu__botao {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  font: 500 0.95rem var(--corpo);
  color: var(--texto);
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.2s;
}

.submenu__botao::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--suave);
}

.submenu__botao:hover,
.submenu__botao.ativo,
.submenu.aberto .submenu__botao {
  opacity: 1;
}

.submenu__botao.ativo {
  color: var(--ciano);
}

.submenu.aberto .submenu__botao::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.submenu__painel {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  translate: -50% 0;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  width: 30rem;
  padding: 0.6rem;
  background: rgba(7, 19, 38, 0.97);
  border: 1px solid var(--borda-forte);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

/* Faixa invisível que liga o botão ao painel, para o mouse não "cair" no vão */
.submenu__painel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1rem;
  height: 1rem;
}

.submenu.aberto .submenu__painel {
  display: grid;
  animation: surgir 0.25s var(--suave);
}

.submenu__painel a {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.9rem;
  color: var(--texto);
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 0.2s;
}

.submenu__painel a::after {
  display: none;
}

.submenu__painel a:hover,
.submenu__painel a[aria-current="page"] {
  background: rgba(47, 155, 255, 0.12);
}

.submenu__painel strong {
  font: 600 1rem var(--titulo);
}

.submenu__painel a[aria-current="page"] strong {
  color: var(--ciano);
}

.submenu__painel span {
  font-size: 0.85rem;
  color: var(--texto-suave);
}

.topo__nav a[aria-current="page"]:not(.botao) {
  opacity: 1;
  color: var(--ciano);
}

@media (hover: hover) and (min-width: 64.01rem) {
  .submenu:hover .submenu__painel {
    display: grid;
  }

  .submenu:hover .submenu__botao {
    opacity: 1;
  }
}

/* ===== Páginas de módulo ===== */

.pagina-modulo .trilha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  padding-top: clamp(6.5rem, 9vw, 7.5rem);
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.trilha a {
  color: var(--texto-suave);
  text-decoration: none;
}

.trilha a:hover {
  color: var(--texto);
}

.trilha > * + *::before {
  content: "/";
  margin-right: 0.6rem;
  color: rgba(147, 168, 196, 0.5);
}

.trilha span {
  color: var(--texto);
}

.modulo--pagina {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.modulo__titulo {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
}

.indice a {
  display: flex;
  flex-direction: column;
}

.indice__mais {
  margin-top: auto;
  padding-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--texto);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.indice a:hover .indice__mais {
  opacity: 1;
  color: var(--ciano);
}

.outros {
  border-top: 1px solid var(--borda);
  background: var(--fundo-2);
}

.indice--compacto {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.indice--compacto strong {
  font-size: 1.15rem;
}

.indice--compacto span {
  font-size: 0.9rem;
}

.chamada__caixa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background:
    radial-gradient(40rem 24rem at 0% 0%, rgba(47, 155, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #0d2a52, #071326);
  border: 1px solid var(--borda-forte);
  border-radius: 28px;
}

.chamada__caixa h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 34rem;
}

.chamada__caixa p {
  margin-top: 0.75rem;
  color: #c3d6ee;
}

/* Rodapé com dois grupos de links */

.rodape__linha .rodape__nav + .rodape__nav {
  margin-left: auto;
}

@media (max-width: 64rem) {
  .submenu__botao {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--borda);
  }

  .submenu__painel {
    position: static;
    translate: none;
    width: auto;
    margin: 0.5rem 0;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    backdrop-filter: none;
  }

  .submenu__painel::before {
    display: none;
  }

  .topo__nav .submenu__painel a {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    border-bottom: 0;
  }

  .topo__nav {
    max-height: calc(100vh - 4.75rem);
    overflow-y: auto;
  }

  .indice--compacto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rodape__linha .rodape__nav + .rodape__nav {
    margin-left: 0;
  }
}

@media (max-width: 40rem) {
  .indice--compacto,
  .submenu__painel {
    grid-template-columns: 1fr;
  }

  .chamada__caixa .botao {
    width: 100%;
  }
}

/* ===== Home: mosaico "Uma plataforma, seis módulos" ===== */

.plataforma {
  position: relative;
  overflow: hidden;
}

.plataforma::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 30%;
  width: 70rem;
  height: 40rem;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(0, 117, 216, 0.18), transparent);
  pointer-events: none;
}

.plataforma__cabeca {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.plataforma__cabeca p {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--texto-suave);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.bento__item--lpr,
.bento__item--intel {
  grid-column: span 4;
}

.bento__item--face,
.bento__item--vision {
  grid-column: span 2;
}

.bento__item--cam,
.bento__item--fly {
  grid-column: span 3;
}

/* O Inteligência fica à direita na segunda linha, alternando com o LPR */
.bento__item--vision {
  order: 3;
}

.bento__item--intel {
  order: 4;
}

.bento__item--cam {
  order: 5;
}

.bento__item--fly {
  order: 6;
}

.bento__cartao {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.45rem;
  color: var(--texto);
  text-decoration: none;
  background: linear-gradient(170deg, rgba(18, 38, 70, 0.75), rgba(8, 20, 40, 0.75));
  border: 1px solid var(--borda-forte);
  border-radius: 20px;
  transition: border-color 0.35s, translate 0.35s var(--suave), box-shadow 0.35s;
}

.bento__cartao:hover {
  border-color: var(--borda-forte);
  translate: 0 -0.35rem;
  box-shadow: 0 40px 70px -40px rgba(0, 117, 216, 0.8);
}

.bento__cartao .bento__visual {
  height: 9.5rem;
  border-radius: 15px;
  box-shadow: none;
  transition: border-color 0.35s;
}

.bento__cartao:hover .bento__visual {
  border-color: rgba(95, 208, 255, 0.5);
}

.bento__texto {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 0.8rem 0.55rem;
}

.bento__marca {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ciano);
}

.bento__texto h3 {
  margin-top: 0.1rem;
  font-size: 1.15rem;
}

.bento__texto h3 + p {
  margin-top: 0.35rem;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--texto-suave);
}

.bento__mais {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.bento__mais::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.3s var(--suave);
}

.bento__cartao:hover .bento__mais {
  color: var(--ciano);
}

.bento__cartao:hover .bento__mais::after {
  translate: 0.25rem 0;
}

/* Ajustes das cenas dentro dos cartões */

.bento .cena--intel svg {
  padding: 1.5rem 2rem;
}

@media (max-width: 64rem) {
  .plataforma__cabeca {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento__item--lpr,
  .bento__item--intel {
    grid-column: span 2;
  }

  .bento__item--face,
  .bento__item--vision,
  .bento__item--cam,
  .bento__item--fly {
    grid-column: span 1;
  }
}

@media (max-width: 40rem) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento__item--lpr,
  .bento__item--intel,
  .bento__item--face,
  .bento__item--vision,
  .bento__item--cam,
  .bento__item--fly {
    grid-column: span 1;
  }

  .bento__cartao .bento__visual {
    height: 9rem;
  }
}

/* Cenas menores dentro do mosaico da home */

.bento .placa-grande {
  width: 11rem;
}

.bento .placa-grande__texto {
  font-size: 1.9rem;
}

.bento .cena--lpr {
  gap: 0.75rem 1.5rem;
}

.bento .cena__dados li {
  padding: 0.15rem 0.65rem;
  font-size: 0.75rem;
}

.bento .mira {
  width: 4.75rem;
  height: 4.75rem;
}

.bento .cena--cam {
  gap: 0.4rem;
  padding: 0.45rem;
}

.bento .mural {
  gap: 0.35rem;
}

.bento .tela-cam__nome {
  font-size: 0.6rem;
}

.bento .linha-tempo {
  font-size: 0.65rem;
}

.bento .aero__aeronave {
  width: 2.4rem;
  height: 2.4rem;
}

.bento .aero__camera {
  width: 1.8rem;
  height: 1.8rem;
}

.bento .cena__etiqueta {
  font-size: 0.7rem;
}

/* ===== Botão de modo claro e escuro ===== */

.tema {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 1rem;
  padding: 0;
  color: var(--texto);
  background: transparent;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.tema:hover {
  border-color: var(--ciano);
  background: rgba(47, 155, 255, 0.1);
}

.tema svg {
  transition: rotate 0.5s var(--suave);
}

.tema:hover svg {
  rotate: 25deg;
}

.tema__lua,
:root[data-tema="claro"] .tema__sol {
  display: none;
}

:root[data-tema="claro"] .tema__lua {
  display: block;
}

@media (max-width: 64rem) {
  .topo__linha {
    gap: 0.75rem;
  }

  .topo__menu {
    margin-left: auto;
  }

  .tema {
    margin-left: 0;
  }
}

/* Troca suave entre os temas, só enquanto acontece */
.trocando-tema,
.trocando-tema *,
.trocando-tema *::before,
.trocando-tema *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}

/* ===== Modo claro ===== */

:root {
  color-scheme: dark;
}

:root[data-tema="claro"] {
  color-scheme: light;
  --fundo: #f3f7fc;
  --fundo-2: #e8f0f9;
  --vidro: rgba(255, 255, 255, 0.7);
  --borda: rgba(15, 55, 105, 0.12);
  --borda-forte: rgba(15, 55, 105, 0.22);
  --azul: #0075d8;
  --azul-claro: #1f8ef1;
  --ciano: #0369a8;
  --verde: #16a34a;
  --texto: #0b1f36;
  --texto-suave: #4b6078;
}

/* Telas de produto continuam escuras, como um monitor dentro da página */
:root[data-tema="claro"] :is(.monitor, .cena, .mapa, .contato__caixa, .chamada__caixa) {
  --fundo: #040b18;
  --fundo-2: #071326;
  --borda: rgba(120, 175, 240, 0.16);
  --borda-forte: rgba(120, 175, 240, 0.34);
  --azul-claro: #2f9bff;
  --ciano: #5fd0ff;
  --verde: #3ddc84;
  --texto: #e9f1fb;
  --texto-suave: #93a8c4;
  color: var(--texto);
}

:root[data-tema="claro"] .topo.rolando {
  background: rgba(243, 247, 252, 0.88);
}

:root[data-tema="claro"] .marca {
  color: var(--texto);
}

:root[data-tema="claro"] .marca img {
  filter: drop-shadow(0 0 8px rgba(0, 117, 216, 0.25));
}

:root[data-tema="claro"] .topo__menu {
  color: var(--texto);
  background: rgba(11, 31, 54, 0.04);
}

:root[data-tema="claro"] .submenu__painel {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 60px -25px rgba(15, 55, 105, 0.35);
}

:root[data-tema="claro"] .submenu__painel a:hover,
:root[data-tema="claro"] .submenu__painel a[aria-current="page"] {
  background: rgba(0, 117, 216, 0.08);
}

:root[data-tema="claro"] .linha--luz > span {
  background: linear-gradient(100deg, #0b3a6e 0%, var(--azul) 50%, #149be0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-tema="claro"] .abertura__brilho {
  opacity: 0.45;
}

:root[data-tema="claro"] .abertura__rede {
  opacity: 0.45;
}

:root[data-tema="claro"] .botao--vidro {
  color: var(--texto);
  background: rgba(255, 255, 255, 0.7);
}

:root[data-tema="claro"] .botao--vidro:hover {
  background: #fff;
}

:root[data-tema="claro"] .faixa {
  background: rgba(255, 255, 255, 0.65);
}

:root[data-tema="claro"] .evento {
  background: rgba(11, 31, 54, 0.05);
}

:root[data-tema="claro"] .evento--alerta {
  color: #7a4d00;
  background: rgba(255, 176, 32, 0.22);
}

:root[data-tema="claro"] :is(.bento__cartao, .indice a, .recursos li) {
  background: #fff;
  box-shadow: 0 18px 40px -30px rgba(15, 55, 105, 0.35);
}

:root[data-tema="claro"] .bento__cartao:hover {
  box-shadow: 0 30px 60px -35px rgba(0, 117, 216, 0.55);
}

:root[data-tema="claro"] .modulo__nome {
  color: var(--texto);
  background: rgba(0, 117, 216, 0.07);
}

:root[data-tema="claro"] .modulo__nome strong {
  color: #fff;
  background: linear-gradient(135deg, #0a84c6, var(--azul));
}

:root[data-tema="claro"] .modulo__apoio {
  color: #33475f;
}

:root[data-tema="claro"] .pratica {
  background: rgba(0, 117, 216, 0.06);
}

:root[data-tema="claro"] :is(.pergunta button:hover, .pergunta.ativa button) {
  color: var(--texto);
}

:root[data-tema="claro"] .aviso {
  color: var(--texto);
  background: rgba(255, 176, 32, 0.12);
  border-color: rgba(224, 142, 0, 0.45);
}

:root[data-tema="claro"] .passos__lista li::before {
  color: var(--azul);
  background: #fff;
  border-color: var(--azul);
  box-shadow: 0 0 18px -6px rgba(0, 117, 216, 0.6);
}

:root[data-tema="claro"] .secao--funda {
  background:
    radial-gradient(50rem 28rem at 10% 0%, rgba(0, 117, 216, 0.08), transparent 70%),
    var(--fundo-2);
}

:root[data-tema="claro"] .cidade__mapa {
  filter: drop-shadow(0 30px 40px rgba(15, 55, 105, 0.25));
}

@media (max-width: 64rem) {
  :root[data-tema="claro"] .submenu__painel {
    background: rgba(11, 31, 54, 0.03);
    box-shadow: none;
  }
}

/* As cenas usam degradês translúcidos; no modo claro ganham fundo escuro sólido por baixo */
:root[data-tema="claro"] :is(.cena, .monitor, .mapa) {
  background-color: #040b18;
}

/* ===== Canais de contato ===== */

.contato__canais {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contato__canais li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contato__canais svg {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.6rem;
  color: var(--ciano);
  background: rgba(95, 208, 255, 0.1);
  border: 1px solid var(--borda-forte);
  border-radius: 12px;
}

.contato__canais span {
  display: grid;
  color: var(--texto);
}

.contato__canais strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto-suave);
}

.contato__canais a {
  color: var(--texto);
  text-decoration: none;
}

.contato__canais a:hover {
  color: var(--ciano);
  text-decoration: underline;
}

.rodape__contato {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  flex-basis: 100%;
  color: var(--texto-suave);
}

.rodape__contato a {
  color: var(--texto-suave);
  text-decoration: none;
}

.rodape__contato a:hover {
  color: var(--texto);
}

/* Campo invisível que só robôs preenchem */
.formulario__armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulario__retorno--sucesso {
  color: var(--verde);
}

/* ===== Home: vantagens ===== */

.vantagens__lista {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--borda-forte);
  border: 1px solid var(--borda-forte);
  border-radius: 24px;
}

.vantagens__lista li {
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  background: linear-gradient(170deg, #0c1d36, #071326);
}

.vantagens__icone {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.25rem;
  color: var(--ciano);
  background: rgba(47, 155, 255, 0.12);
  border: 1px solid var(--borda-forte);
  border-radius: 14px;
}

/* Anel que se expande quando o mouse passa pelo item */
.vantagens__icone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ciano);
  border-radius: inherit;
  opacity: 0;
}

.vantagens__lista li:hover .vantagens__icone::after {
  animation: anel-vantagem 1s var(--suave);
}

@keyframes anel-vantagem {
  from {
    opacity: 0.9;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 1.5;
  }
}

.vantagens__lista h3 {
  font-size: 1.15rem;
}

.vantagens__lista p {
  margin-top: 0.5rem;
  font-size: 0.97rem;
  color: var(--texto-suave);
}

/* ===== Home: clientes e números ===== */

.confianca__grade {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.confianca__apoio {
  margin-top: 1.1rem;
  max-width: 30rem;
  font-size: 1.15rem;
  color: var(--texto-suave);
}

.confianca__numeros {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 2.5rem 0 0;
}

.confianca__numeros div {
  padding-top: 1rem;
  border-top: 2px solid var(--azul-claro);
}

.confianca__numeros dt {
  font: 800 clamp(3rem, 6vw, 4.5rem) / 1 var(--titulo);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--texto) 30%, var(--azul-claro));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.confianca__mais {
  margin-right: 0.05em;
}

.confianca__numeros dd {
  margin: 0.5rem 0 0;
  max-width: 12rem;
  color: var(--texto-suave);
}

.clientes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Logos sobre fundo branco nos dois temas, para manter as cores oficiais */
.clientes li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.4rem 1rem 1rem;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.6);
  transition: translate 0.35s var(--suave), box-shadow 0.35s, opacity 0.9s var(--suave), transform 0.9s var(--suave);
}

.clientes li:hover {
  translate: 0 -0.3rem;
  box-shadow: 0 30px 50px -30px rgba(0, 117, 216, 0.7);
}

.clientes img {
  width: auto;
  height: 5.75rem;
  object-fit: contain;
}

.clientes span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #33475f;
}

:root[data-tema="claro"] .vantagens__lista li {
  background: #fff;
}

:root[data-tema="claro"] .clientes li {
  box-shadow: 0 18px 40px -28px rgba(15, 55, 105, 0.45);
  outline: 1px solid var(--borda);
}

@media (max-width: 64rem) {
  .vantagens__lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .confianca__grade {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .vantagens__lista {
    grid-template-columns: 1fr;
  }

  .clientes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clientes img {
    height: 4.5rem;
  }
}
