﻿:root {
  --bg: #040b14;
  --bg-2: #09192b;
  --line: #10304c;
  --cyan: #00c6ff;
  --cyan-2: #1a88ff;
  --text: #ecf5ff;
  --muted: #9fb6cb;
  --card: rgba(8, 30, 52, 0.7);
  --card-border: rgba(60, 164, 255, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #0b2038 0%, var(--bg) 45%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.28;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 48%, rgba(4, 179, 255, 0.03) 50%, transparent 52%);
  background-size: 100% 6px;
  animation: moveScan 12s linear infinite;
}

@keyframes moveScan {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 0 88px;
  background: linear-gradient(160deg, rgba(3, 15, 28, 0.95), rgba(5, 26, 46, 0.78)),
    url("assets/hero-bg-opt.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(94, 171, 246, 0.3);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  display: block;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.top-actions a {
  border: 1px solid rgba(110, 191, 255, 0.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.87rem;
  background: rgba(7, 28, 45, 0.65);
}

.hero-layout {
  margin-top: 92px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.chip {
  display: block;
  margin: 0;
  width: auto;
  min-width: 0;
  height: auto;
  line-height: 1.3;
  padding: 0;
  font-weight: 700;
  color: #1098d4;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  text-shadow: none;
  animation: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 14px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.3px;
  height: 3.9em;
  overflow: hidden;
}

h1 span {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 198, 255, 0.45);
}

.typed-headline {
  display: inline;
  line-height: inherit;
  white-space: normal;
  overflow-wrap: normal;
  border-right: 3px solid rgba(154, 227, 255, 0.95);
  vertical-align: bottom;
  margin-left: 0.1ch;
}

.hero-copy {
  margin-top: 14px;
  max-width: 700px;
  color: var(--muted);
}

.status-panel {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(6, 35, 60, 0.84), rgba(5, 22, 38, 0.84));
  box-shadow: inset 0 0 0 1px rgba(0, 221, 255, 0.1), 0 24px 36px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hud-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(126, 214, 255, 0.15) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.08;
  animation: noiseShift 0.3s steps(2) infinite;
  pointer-events: none;
}

@keyframes noiseShift {
  50% { transform: translate(1px, -1px); }
}

.hud-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 230, 255, 0.16) 46%,
    rgba(0, 230, 255, 0.28) 50%,
    rgba(0, 230, 255, 0.16) 54%,
    transparent 100%
  );
  transform: translateY(-100%);
  animation: hudSweep 3.5s linear infinite;
  pointer-events: none;
}

@keyframes hudSweep {
  to {
    transform: translateY(100%);
  }
}

.panel-title {
  font-family: "Rajdhani", sans-serif;
  color: #9adfff;
  letter-spacing: 1.2px;
  font-size: 0.92rem;
}

.status-item {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(91, 173, 230, 0.28);
  background: rgba(3, 18, 31, 0.65);
}

.status-item span {
  color: #c8e9ff;
}

.status-item strong {
  color: var(--cyan);
  font-family: "Rajdhani", sans-serif;
}

.status-item strong.online {
  text-shadow: 0 0 10px rgba(0, 198, 255, 0.7);
}

.status-item strong.pulse {
  animation: textPulse 1.3s ease-in-out infinite;
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 198, 255, 0.5);
  }
  50% {
    opacity: 0.55;
    text-shadow: 0 0 16px rgba(0, 198, 255, 0.95);
  }
}

.hud-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hud-core {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
}

.radar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 198, 255, 0.5);
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15), rgba(0, 0, 0, 0.5));
  overflow: hidden;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(106, 209, 255, 0.35);
  border-radius: 50%;
  inset: 8px;
}

.radar-ring.r2 { inset: 24px; }
.radar-ring.r3 { inset: 40px; }

.radar-sweep {
  position: absolute;
  inset: -10%;
  background: conic-gradient(from 0deg, rgba(0, 220, 255, 0.0) 0deg, rgba(0, 220, 255, 0.48) 55deg, rgba(0, 220, 255, 0) 100deg);
  animation: spin 2.6s linear infinite;
}

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

.radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9be6ff;
  box-shadow: 0 0 10px rgba(87, 217, 255, 0.9);
  animation: ping 1.8s ease-in-out infinite;
}

.radar-dot.d1 { top: 30%; left: 68%; animation-delay: 0.1s; }
.radar-dot.d2 { top: 58%; left: 26%; animation-delay: 0.5s; }
.radar-dot.d3 { top: 70%; left: 58%; animation-delay: 0.9s; }

@keyframes ping {
  0%, 100% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.telemetry {
  border: 1px solid rgba(81, 180, 238, 0.34);
  border-radius: 10px;
  padding: 8px;
  background: rgba(2, 16, 28, 0.65);
}

.telemetry p {
  margin: 4px 0;
  font-size: 0.83rem;
  color: #9fc3da;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.telemetry strong {
  color: #88ddff;
  font-family: "Rajdhani", sans-serif;
}

.flicker {
  animation: flicker 1.4s linear infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 62%, 64%, 100% { opacity: 1; }
  20%, 63% { opacity: 0.35; }
}

.metric-box {
  border: 1px solid rgba(78, 177, 243, 0.28);
  border-radius: 9px;
  padding: 8px;
  background: rgba(3, 20, 34, 0.72);
}

.metric-box small {
  color: #95bfd8;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-box p {
  margin-top: 5px;
  color: #d6f2ff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.signal-bars {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 20px;
}

.signal-bars span {
  width: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, #59d8ff, #0c77d6);
  animation: signal 1.1s ease-in-out infinite;
}

.signal-bars span:nth-child(1) { height: 6px; animation-delay: 0.05s; }
.signal-bars span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.signal-bars span:nth-child(3) { height: 14px; animation-delay: 0.25s; }
.signal-bars span:nth-child(4) { height: 18px; animation-delay: 0.35s; }
.signal-bars span:nth-child(5) { height: 20px; animation-delay: 0.45s; }

@keyframes signal {
  0%, 100% {
    transform: scaleY(0.7);
    opacity: 0.65;
  }
  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

.hud-log {
  margin-top: 10px;
  border: 1px solid rgba(65, 161, 222, 0.35);
  background: rgba(2, 14, 24, 0.74);
  border-radius: 9px;
  min-height: 62px;
  max-height: 62px;
  overflow: hidden;
  padding: 8px;
}

.hud-log p {
  margin: 0;
  font-size: 0.76rem;
  color: #90c7e5;
  opacity: 0;
  transform: translateY(6px);
  animation: logIn 0.35s ease forwards;
}

.hud-log p + p {
  margin-top: 5px;
}

.hud-log span {
  color: #6fddff;
}

@keyframes logIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-row {
  display: flex;
  gap: 11px;
  margin-top: 22px;
}

.cta-row.wrap {
  flex-wrap: wrap;
}

.btn {
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  padding: 12px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  background: #1098d4;
  color: #ffffff;
  border-color: #1098d4;
  box-shadow: 0 8px 18px rgba(16, 152, 212, 0.35);
}

.btn-ghost {
  background: #1098d4;
  color: #ffffff;
  border-color: #1098d4;
  box-shadow: 0 8px 18px rgba(16, 152, 212, 0.35);
}

.cta-row .btn-ghost {
  border-color: rgba(121, 204, 255, 0.42);
  background: rgba(7, 29, 48, 0.62);
  color: #ffffff;
  box-shadow: none;
}

.btn-alt {
  background: #1098d4;
  color: #ffffff;
  border-color: #1098d4;
  box-shadow: 0 8px 18px rgba(16, 152, 212, 0.35);
}

.btn-mini {
  margin-top: 14px;
  width: 100%;
  background: rgba(13, 164, 255, 0.2);
  border-color: rgba(13, 164, 255, 0.46);
}

.split-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-nav a {
  padding: 14px;
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.6px;
  border-top: 1px solid rgba(89, 176, 239, 0.38);
  border-bottom: 1px solid rgba(89, 176, 239, 0.38);
  background: linear-gradient(180deg, rgba(8, 29, 48, 0.9), rgba(6, 18, 29, 0.9));
}

.service-block {
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.9), rgba(4, 14, 24, 0.94));
  content-visibility: auto;
  contain-intrinsic-size: auto 920px;
}

.service-block.alt {
  background: linear-gradient(180deg, rgba(6, 24, 41, 0.94), rgba(5, 12, 22, 0.97));
}

.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.service-feature.reverse .feature-text {
  order: 2;
}

.service-feature.reverse .feature-media {
  order: 1;
}

.feature-text h2 {
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.service-feature .eyebrow {
  color: #1098d4;
}

.feature-text > p {
  margin-top: 12px;
  color: #b4cada;
  max-width: 560px;
  line-height: 1.55;
}

.feature-highlight {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(103, 196, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 33, 55, 0.6), rgba(5, 22, 37, 0.6));
}

.feature-highlight h3 {
  margin: 0;
  color: #8dd8ff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
}

.feature-highlight p {
  margin-top: 8px;
  color: #c6deee;
  line-height: 1.52;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
  color: #d9ecf9;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #001625;
  font-weight: 800;
  background: linear-gradient(180deg, #20c6ff, #1098d4);
}

.feature-closing {
  margin: 20px 0 22px;
  padding: 12px 14px;
  border-left: 3px solid #1098d4;
  background: rgba(5, 28, 48, 0.46);
  color: #d4e9f7;
  line-height: 1.56;
  border-radius: 4px;
}

/* Refinamento visual dedicado ao bloco de Portaria Remota */
#portaria-remota .service-feature {
  align-items: center;
}

#portaria-remota .feature-text {
  max-width: 680px;
}

#portaria-remota .feature-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

#portaria-remota .feature-text > p {
  font-size: 1.07rem;
  line-height: 1.68;
  color: #c0d7e8;
}

#portaria-remota .feature-highlight {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 35, 59, 0.72), rgba(5, 23, 39, 0.72));
}

#portaria-remota .feature-highlight h3 {
  font-size: 1.2rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#portaria-remota .feature-highlight p {
  font-size: 1.03rem;
  line-height: 1.65;
}

#portaria-remota .feature-list {
  margin-top: 18px;
  gap: 12px 16px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

#portaria-remota .feature-list li {
  font-size: 1.03rem;
  line-height: 1.56;
}

#portaria-remota .feature-list li {
  opacity: 0;
  transform: scale(0.88);
}

#portaria-remota.anim-ready .feature-list li {
  animation: checkZoomIn 0.45s ease forwards;
}

#portaria-remota.anim-ready .feature-list li:nth-child(1) { animation-delay: 0.08s; }
#portaria-remota.anim-ready .feature-list li:nth-child(2) { animation-delay: 0.16s; }
#portaria-remota.anim-ready .feature-list li:nth-child(3) { animation-delay: 0.24s; }
#portaria-remota.anim-ready .feature-list li:nth-child(4) { animation-delay: 0.32s; }
#portaria-remota.anim-ready .feature-list li:nth-child(5) { animation-delay: 0.40s; }
#portaria-remota.anim-ready .feature-list li:nth-child(6) { animation-delay: 0.48s; }
#portaria-remota.anim-ready .feature-list li:nth-child(7) { animation-delay: 0.56s; }
#portaria-remota.anim-ready .feature-list li:nth-child(8) { animation-delay: 0.64s; }
#portaria-remota.anim-ready .feature-list li:nth-child(9) { animation-delay: 0.72s; }

@keyframes checkZoomIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#portaria-remota .feature-closing {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.66;
  border-left-width: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 35, 59, 0.72), rgba(5, 23, 39, 0.72));
  border: 1px solid rgba(103, 196, 255, 0.28);
  padding: 16px;
}

.portaria-insights {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portaria-bottom {
  margin-top: 14px;
}

.monitoramento-bottom {
  margin-top: 16px;
}

.portaria-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Refinamento visual dedicado ao bloco de Monitoramento */
#monitoramento .service-feature {
  align-items: start;
}

#monitoramento .feature-text {
  max-width: 700px;
}

#monitoramento .feature-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

#monitoramento .feature-text > p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #c0d7e8;
}

#monitoramento .feature-highlight {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 35, 59, 0.72), rgba(5, 23, 39, 0.72));
}

#monitoramento .feature-highlight h3 {
  font-size: 1.15rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#monitoramento .feature-highlight p {
  font-size: 1.01rem;
  line-height: 1.62;
}

#monitoramento .feature-list {
  margin-top: 18px;
  gap: 12px 16px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

#monitoramento .feature-list li {
  font-size: 1.01rem;
  line-height: 1.55;
}

#monitoramento .feature-closing {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.66;
  border-left-width: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 35, 59, 0.72), rgba(5, 23, 39, 0.72));
  border: 1px solid rgba(103, 196, 255, 0.28);
  padding: 16px;
  text-align: center;
}

.monitoramento-checks {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 12px 16px;
}

.monitoramento-flex {
  margin-top: 16px;
}

.monitoramento-flex .feature-highlight {
  max-width: 100%;
}

/* Sequência animada do Monitoramento */
#monitoramento .monitoramento-checks li {
  opacity: 0;
  transform: scale(0.88);
}

#monitoramento.anim-ready-monitor .monitoramento-checks li {
  animation: checkZoomIn 0.45s ease forwards;
}

#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(1) { animation-delay: 0.08s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(2) { animation-delay: 0.16s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(3) { animation-delay: 0.24s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(4) { animation-delay: 0.32s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(5) { animation-delay: 0.40s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(6) { animation-delay: 0.48s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(7) { animation-delay: 0.56s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(8) { animation-delay: 0.64s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(9) { animation-delay: 0.72s; }
#monitoramento.anim-ready-monitor .monitoramento-checks li:nth-child(10) { animation-delay: 0.80s; }

#monitoramento .monitoramento-flex .feature-highlight,
#monitoramento .monitoramento-bottom .feature-closing {
  opacity: 0;
  transform: scale(0.9);
}

#monitoramento.anim-ready-monitor .monitoramento-flex .feature-highlight,
#monitoramento.anim-ready-monitor .monitoramento-bottom .feature-closing {
  animation: zoomInCard 0.62s ease forwards;
  animation-delay: 1.25s;
}

#monitoramento .monitoramento-bottom .portaria-cta {
  opacity: 0;
  transform: scale(0.88);
}

#monitoramento.anim-ready-monitor .monitoramento-bottom .portaria-cta {
  animation: zoomInCta 0.55s ease forwards;
  animation-delay: 1.95s;
}

@keyframes zoomInCard {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Sequência animada dos 3 quadrinhos + botão */
#portaria-remota .portaria-insights .feature-highlight,
#portaria-remota .portaria-bottom .feature-closing {
  opacity: 0;
}

#portaria-remota .portaria-insights .feature-highlight:first-child {
  transform: translateX(-120px);
}

#portaria-remota .portaria-insights .feature-highlight:last-child {
  transform: translateX(120px);
}

#portaria-remota .portaria-bottom .feature-closing {
  transform: translateY(92px);
  text-align: center;
}

#portaria-remota .portaria-cta {
  opacity: 0;
  transform: scale(0.88);
}

#portaria-remota.anim-ready .portaria-insights .feature-highlight:first-child {
  animation: slideInLeftCard 1.45s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

#portaria-remota.anim-ready .portaria-insights .feature-highlight:last-child {
  animation: slideInRightCard 1.45s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

#portaria-remota.anim-ready .portaria-bottom .feature-closing {
  animation: slideInUpCard 1.45s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
  animation-delay: 0s;
}

#portaria-remota.anim-ready .portaria-cta {
  animation: zoomInCta 0.55s ease forwards;
  animation-delay: 1s;
}

@keyframes slideInLeftCard {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRightCard {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomInCta {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.feature-media img {
  width: 100%;
  height: min(620px, 68vh);
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(122, 201, 255, 0.35);
}

.dual-media {
  position: relative;
  height: min(620px, 68vh);
}

.dual-media .media-a,
.dual-media .media-b {
  position: absolute;
  width: 62%;
  height: 84%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(122, 201, 255, 0.35);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease, filter 1.1s ease, box-shadow 1.1s ease;
}

.dual-media .media-a {
  left: 0;
  top: 0;
  z-index: 1;
  transform: scale(0.95);
  opacity: 0.78;
  filter: saturate(0.9) brightness(0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  animation: mediaDriftA 6s ease-in-out infinite;
}

.dual-media .media-b {
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: scale(1);
  opacity: 1;
  filter: saturate(1) brightness(1);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.4);
  animation: mediaDriftB 6.5s ease-in-out infinite;
}

.dual-media.swap .media-a {
  z-index: 2;
  transform: scale(1);
  opacity: 1;
  filter: saturate(1) brightness(1);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.4);
  animation: mediaDriftB 6.5s ease-in-out infinite;
}

.dual-media.swap .media-b {
  z-index: 1;
  transform: scale(0.95);
  opacity: 0.78;
  filter: saturate(0.9) brightness(0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  animation: mediaDriftA 6s ease-in-out infinite;
}

@keyframes mediaDriftA {
  0%, 100% {
    transform: translateY(0) scale(0.95);
  }
  50% {
    transform: translateY(-8px) scale(0.965);
  }
}

@keyframes mediaDriftB {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(8px) scale(1.015);
  }
}

.media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #0d2dff;
  border: 2px solid #dbe9ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.media-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

.head .eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  color: #6ecfff;
  font-weight: 700;
}

.head h2 {
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.head p {
  margin-top: 8px;
  max-width: 850px;
  color: var(--muted);
}

.content-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.small-gap {
  gap: 10px;
}

.tech-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.28), transparent 70%);
}

.tech-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
}

.tech-card p {
  margin-top: 8px;
  color: #b1c7da;
  line-height: 1.5;
}

.timeline {
  margin-top: 16px;
  border: 1px solid rgba(73, 168, 234, 0.34);
  border-radius: 14px;
  padding: 14px;
  background: rgba(6, 24, 42, 0.6);
}

.timeline-title {
  color: #9edfff;
  font-weight: 700;
  margin-bottom: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.steps div {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(70, 162, 226, 0.34);
  background: rgba(3, 16, 29, 0.7);
}

.steps strong {
  color: var(--cyan);
  margin-right: 6px;
}

.models {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.model-card {
  border: 1px solid rgba(78, 172, 235, 0.35);
  border-radius: 12px;
  padding: 14px;
  background: rgba(3, 20, 34, 0.74);
}

.model-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
}

.model-card p {
  margin-top: 7px;
  color: #a9c4d9;
}

.video-zone,
.lead-zone {
  padding: 64px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.video-zone {
  background: linear-gradient(180deg, rgba(7, 18, 31, 0.96), rgba(8, 26, 45, 0.95));
}

.video-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(76, 176, 244, 0.45);
  background: #081727;
}

.lead-zone {
  background: linear-gradient(180deg, rgba(5, 20, 35, 0.95), rgba(3, 11, 20, 0.95));
  border-top: 1px solid rgba(89, 172, 236, 0.35);
}

.lead-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
}

.lead-head {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.mini-ctas {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.mini-ctas a {
  border: 1px solid rgba(105, 192, 255, 0.37);
  border-radius: 999px;
  padding: 8px 12px;
  color: #a7dfff;
  background: rgba(8, 35, 59, 0.6);
  font-size: 0.89rem;
}

.lead-form {
  border: 1px solid rgba(74, 174, 243, 0.38);
  border-radius: 14px;
  padding: 18px;
  background: rgba(6, 29, 49, 0.72);
  display: grid;
  gap: 7px;
}

.lead-form-tech {
  position: relative;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(107, 196, 255, 0.46);
  background:
    linear-gradient(180deg, rgba(8, 36, 60, 0.86), rgba(6, 25, 43, 0.86)),
    repeating-linear-gradient(
      0deg,
      rgba(89, 186, 245, 0.06) 0px,
      rgba(89, 186, 245, 0.06) 1px,
      transparent 1px,
      transparent 14px
    );
  box-shadow: inset 0 0 0 1px rgba(0, 198, 255, 0.12), 0 16px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.lead-form-tech::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(
    120deg,
    rgba(16, 152, 212, 0.0) 0%,
    rgba(16, 152, 212, 0.5) 35%,
    rgba(16, 152, 212, 0.0) 65%
  );
  transform: translateX(-70%);
  animation: formSweep 3.2s linear infinite;
  pointer-events: none;
}

.lead-form-tech::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(130, 213, 255, 0.2);
  border-radius: 9px;
  pointer-events: none;
}

@keyframes formSweep {
  to {
    transform: translateX(90%);
  }
}

.lead-form-tech input {
  background: rgba(3, 15, 26, 0.88);
  border-color: rgba(109, 198, 255, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form-tech input:focus {
  border-color: #62d3ff;
  box-shadow: 0 0 0 2px rgba(98, 211, 255, 0.2), 0 0 20px rgba(30, 170, 236, 0.22);
  background: rgba(4, 21, 36, 0.95);
}

.lead-form-tech label,
.lead-form-tech .btn {
  position: relative;
  z-index: 1;
}

.lead-form-tech input {
  position: relative;
  z-index: 1;
}

.btn-footer {
  background: #1098d4;
  color: #ffffff;
  border-color: #1098d4;
  box-shadow: 0 8px 18px rgba(16, 152, 212, 0.35);
}

.btn-primary,
.btn-secondary,
.btn-outline {
  background: #1098d4;
  color: #ffffff;
  border-color: #1098d4;
  box-shadow: 0 8px 18px rgba(16, 152, 212, 0.35);
}

label {
  color: #d2ecff;
  font-size: 0.92rem;
}

input {
  border: 1px solid rgba(102, 190, 250, 0.38);
  border-radius: 10px;
  background: rgba(4, 15, 27, 0.78);
  color: #eff9ff;
  padding: 11px;
  outline: none;
}

input:focus {
  border-color: var(--cyan);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(130deg, #00d97e, #00b76b);
  color: #ffffff;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.24);
}

.floating-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.45);
  animation: waPulse 1.9s ease-out infinite;
}

.floating-cta svg {
  width: 62px;
  height: 62px;
}

@keyframes waPulse {
  0% {
    opacity: 0.72;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.42);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

footer {
  border-top: 1px solid rgba(176, 234, 255, 0.35);
  background: #1098d4;
  padding: 96px 0 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

.footer-bottom {
  margin-top: 72px;
  border-top: 1px solid rgba(229, 248, 255, 0.55);
  padding: 20px 0 22px;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: #f4fcff;
  font-weight: 500;
}

.footer-brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  display: block;
}

.social-wrap {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-wrap p {
  margin: 0;
  color: #ffffff;
  border-left: 2px solid rgba(229, 248, 255, 0.75);
  padding-left: 10px;
  max-width: 120px;
  line-height: 1.2;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.social-links a svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

.social-links a svg circle[fill="#fff"],
.social-links a svg path[fill="#fff"] {
  fill: transparent;
}

.social-links .icon-ig circle {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 8px;
}

.footer-contact h3,
.footer-address h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 0.9;
  font-family: "Rajdhani", sans-serif;
}

.footer-contact p,
.footer-address p {
  margin: 0 0 8px;
  color: #ffffff;
  max-width: 330px;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .top-actions {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 20px 0 34px;
  }

  .hero-layout {
    margin-top: 18px;
  }

  .status-panel {
    margin-top: 8px;
  }

  .mini-ctas {
    display: none;
  }

  h1 {
    height: auto;
    min-height: 4em;
    overflow: visible;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 6px;
  }

  .typed-headline {
    display: inline;
    min-height: 0;
  }

  #portaria-remota .portaria-insights .feature-highlight,
  #portaria-remota .portaria-insights .feature-highlight:first-child,
  #portaria-remota .portaria-insights .feature-highlight:last-child {
    text-align: center;
    transform: none;
    opacity: 1;
    animation: none;
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 520px);
    max-width: min(100%, 520px);
    box-sizing: border-box;
  }

  .portaria-insights,
  .portaria-bottom {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .portaria-bottom .feature-highlight,
  .portaria-bottom .portaria-cta {
    width: min(100%, 520px);
    max-width: min(100%, 520px);
    margin-left: auto;
    margin-right: auto;
  }

  .portaria-insights .feature-highlight h3,
  .portaria-insights .feature-highlight p,
  .portaria-bottom .feature-highlight h3,
  .portaria-bottom .feature-highlight p {
    text-align: left;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  #portaria-remota .feature-list li,
  #portaria-remota .portaria-insights .feature-highlight,
  #portaria-remota .portaria-bottom .feature-closing,
  #portaria-remota .portaria-cta,
  #monitoramento .monitoramento-checks li,
  #monitoramento .monitoramento-flex .feature-highlight,
  #monitoramento .monitoramento-bottom .feature-closing,
  #monitoramento .monitoramento-bottom .portaria-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-layout,
  .service-feature,
  .content-grid,
  .steps,
  .video-grid,
  .models {
    grid-template-columns: 1fr;
  }

  .service-feature.reverse .feature-text,
  .service-feature.reverse .feature-media {
    order: initial;
  }

  #portaria-remota .feature-list {
    grid-template-columns: 1fr;
  }

  #monitoramento .feature-list {
    grid-template-columns: 1fr;
  }

  .monitoramento-checks {
    grid-template-columns: 1fr;
  }

  .portaria-insights {
    grid-template-columns: 1fr;
  }

  .dual-media {
    height: 460px;
  }

  .topbar,
  .top-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .split-nav {
    grid-template-columns: 1fr;
  }

  .btn,
  .top-actions a {
    width: 100%;
    text-align: center;
  }

  video {
    aspect-ratio: 9 / 16;
    height: auto;
  }
}
