/* Tema do Kit Segurança: tech escuro. Fundo azul-noite com grade fina, Space
 * Grotesk nos títulos, radar e alertas animados no hero. O destaque da
 * empresa é o acento de botões, pulsos e radar; a primária costuma ser escura
 * (azul-marinho) e some no fundo, então o tema usa o destaque onde a base
 * usaria a primária. */

:root {
  --fundo: #0b1220;
  --superficie: #111a2e;
  --superficie-2: #0e1628;
  --texto: #e6ecf5;
  --texto-suave: #94a3b8;
  --borda: rgb(148 163 184 / 0.16);
  --fonte-titulo: 'Space Grotesk', system-ui, sans-serif;
  --raio: 12px;
  --raio-grande: 22px;
  --sombra: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 20px 40px -24px rgb(0 0 0 / 0.8);
  --sombra-alta: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 30px 60px -28px rgb(0 0 0 / 0.9);
  --primaria-suave: color-mix(in srgb, var(--cor-destaque) 14%, transparent);
  --brilho: color-mix(in srgb, var(--cor-destaque) 55%, transparent);
}

body {
  background:
    linear-gradient(rgb(148 163 184 / 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgb(148 163 184 / 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--fundo);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.sobretitulo { color: var(--cor-destaque); }
.topo .conteiner { background: color-mix(in srgb, var(--superficie) 78%, transparent); }
.logo { font-family: var(--fonte-titulo); font-weight: 700; letter-spacing: -0.02em; }
.botao-secundario { border-color: rgb(148 163 184 / 0.3); }

/* Selo "ao vivo" com ponto que pulsa. */
.ao-vivo {
  display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 14px 8px 12px;
  border-radius: 999px; border: 1px solid var(--borda); background: rgb(17 26 46 / 0.7);
  font-size: 0.85rem; font-weight: 600; color: var(--texto);
}
.ponto { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.ponto::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
  animation: pulso 1.8s ease-out infinite;
}
@keyframes pulso { to { transform: scale(3.2); opacity: 0; } }

/* Hero: brilho radial atrás do radar. */
.abertura { background: radial-gradient(55% 60% at 78% 45%, color-mix(in srgb, var(--cor-destaque) 16%, transparent), transparent 70%); }
.abertura-visual { display: grid; place-items: center; min-height: 440px; }

/* Radar: anéis, feixe girando e pontos que pulsam. A capa vira fundo esmaecido. */
.radar {
  position: relative; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cor-destaque) 35%, transparent);
  background: radial-gradient(circle, rgb(17 26 46 / 0.4), rgb(11 18 32 / 0.95) 70%);
  box-shadow: 0 0 80px -20px var(--brilho), inset 0 0 60px rgb(0 0 0 / 0.6);
}
.radar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; mix-blend-mode: screen; }
.radar-aneis {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 17%, color-mix(in srgb, var(--cor-destaque) 28%, transparent) 17% calc(17% + 1px)),
    linear-gradient(transparent calc(50% - 0.5px), color-mix(in srgb, var(--cor-destaque) 20%, transparent) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(90deg, transparent calc(50% - 0.5px), color-mix(in srgb, var(--cor-destaque) 20%, transparent) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.radar-feixe {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--cor-destaque) 55%, transparent), transparent 70deg);
  animation: girar 4.5s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.radar-ponto {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cor-destaque);
  box-shadow: 0 0 12px var(--cor-destaque); animation: piscar 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 1.3s);
}
.radar-ponto:nth-of-type(3) { top: 28%; left: 62%; }
.radar-ponto:nth-of-type(4) { top: 60%; left: 30%; }
.radar-ponto:nth-of-type(5) { top: 70%; left: 68%; }
@keyframes piscar { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 12% { opacity: 1; transform: scale(1.3); } }

/* Mock do celular com os alertas. */
.celular {
  position: absolute; left: 0; bottom: -8px; z-index: 2; width: 250px; padding: 10px;
  border-radius: 34px; background: #05080f; border: 1px solid rgb(148 163 184 / 0.25);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9), 0 0 0 6px rgb(255 255 255 / 0.03);
}
.celular-tela { border-radius: 26px; padding: 18px 12px 14px; background: linear-gradient(180deg, #131d33, #0b1220); }
.celular-app { margin: 0 4px 12px; font-size: 0.72rem; font-weight: 600; color: var(--texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.celular ul { display: grid; gap: 8px; }
.notificacao {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.06);
  transition: opacity 0.5s var(--curva), transform 0.5s var(--curva);
}
.js .notificacao { opacity: 0; transform: translateY(10px) scale(0.97); }
.js .notificacao.visivel { opacity: 1; transform: none; }
.notificacao .icone { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--primaria-suave); color: var(--cor-destaque); }
.notificacao div { display: grid; min-width: 0; }
.notificacao strong { font-size: 0.8rem; line-height: 1.3; }
.notificacao span { font-size: 0.7rem; color: var(--texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nota-cartao { left: auto; right: 0; bottom: auto; top: 0; }

/* Números e passos com o destaque no lugar da primária. */
.numeros { background: rgb(17 26 46 / 0.6); }
.numeros strong { color: var(--texto); }
.numeros strong span { color: var(--cor-destaque); }
.passo-numero { background: var(--cor-destaque); color: var(--cor-sobre-destaque); box-shadow: 0 0 0 8px var(--fundo), 0 0 24px -4px var(--brilho); }
.diferenciais li > .icone, .selo, .info .icone { color: var(--cor-destaque); }

/* Serviços com borda que acende e brilho que segue o cursor. */
.cartao { background: linear-gradient(180deg, rgb(255 255 255 / 0.03), transparent), var(--superficie); }
.cartao:hover { border-color: color-mix(in srgb, var(--cor-destaque) 55%, transparent); }
.cartao h3 { font-size: 1.2rem; }

/* Comparativo: a coluna "com" brilha no destaque. */
.coluna-sem { background: transparent; }
.coluna-sem .icone { color: #f87171; }
.coluna-com { background: linear-gradient(180deg, var(--primaria-suave), transparent 60%), var(--superficie); }

.depoimento figure, .faq details, .faixa-trilho li { background: var(--superficie); }
.faq summary::after { color: var(--cor-destaque); }
.duvidas { background: rgb(14 22 40 / 0.6); }

/* Orçamento: cartão claro sobre o fundo escuro, para preencher sem esforço. */
.agendar { background: radial-gradient(60% 80% at 80% 50%, color-mix(in srgb, var(--cor-destaque) 10%, transparent), transparent 70%); }
.formulario { background: #f8fafc; border-color: transparent; }
.formulario input, .formulario textarea { background: #fff; }
.formulario input:focus, .formulario textarea:focus { border-color: var(--cor-destaque); box-shadow: 0 0 0 4px var(--primaria-suave); }
.agendar-ligar a { color: var(--cor-destaque); }
#retorno:not(:empty) { color: #1b1917; }

.barra-mobile { background: rgb(17 26 46 / 0.85); }
/* Rodapé noturno, mais escuro que a página, em vez de inverter para claro. */
.rodape { --rodape-fundo: #060b15; --rodape-texto: #e6ecf5; border-top: 1px solid var(--borda); }

@media (min-width: 960px) {
  .abertura-visual { min-height: 520px; }
  .cartoes { grid-template-columns: repeat(3, 1fr); }
  .celular { left: -24px; bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .radar-feixe { transform: rotate(35deg); }
  .radar-ponto { opacity: 1; }
}
