/* ============================================================
   PG Segurança e Monitoramento — Landing Page
   Visual claro inspirado em verkada.com
   ============================================================ */

:root {
  --navy: #0e1b2c;
  --navy-soft: #16263c;
  --text: #1c2b3a;
  --text-muted: #5a6b7d;
  --green: #7ac143;          /* verde da logo */
  --green-dark: #5fa32e;
  --green-soft: #eef7e6;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e4e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 27, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 27, 44, 0.14);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.18rem; font-weight: 700; }

p { color: var(--text-muted); }

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

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: all 0.22s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(95, 163, 46, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(14, 27, 44, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo {
  width: auto;
  height: 46px;
}
.nav-brand-text {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-brand-text strong { font-weight: 800; }

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #f2f6fa 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-photo {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  max-width: 760px;
  z-index: 1;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: auto;
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 55%, transparent 98%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 55%, transparent 98%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
/* Intelbras tag na seção da Intelbras */
.intelbras-tag-img {
  height: 92px;
  width: auto;
  display: block;
  margin: 14px auto 0;
  background: #009a38;
  border-radius: 12px;
  padding: 8px 22px;
}

/* Intelbras tag na navbar */
.nav-intelbras-tag {
  height: 48px;
  width: auto;
  display: block;
  background: #009a38;
  border-radius: 8px;
  padding: 4px 12px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(122, 193, 67, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(122, 193, 67, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(122, 193, 67, 0.08); }
}

.hero-sub {
  font-size: 1.08rem;
  margin: 16px 0 28px;
  max-width: 560px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  display: inline;
}
.hero-stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; max-width: 170px; }
.stat-label {
  width: 100%;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-suffix { color: var(--green-dark); }

.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #fff);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar {
  background: #fff;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.trustbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item::first-letter { color: var(--green-dark); }

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head p { margin-top: 18px; font-size: 1.08rem; }

.section-tag {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tag-light { background: rgba(122, 193, 67, 0.16); color: var(--green); }

/* ===== Cards de soluções ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(122, 193, 67, 0.5);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ===== Split sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-content h2 { margin-bottom: 18px; }
.split-content > p { font-size: 1.05rem; margin-bottom: 26px; }

.check-list {
  list-style: none;
  margin-bottom: 34px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 32px;
}
.mini-feature {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.mini-feature h4 { margin-bottom: 6px; font-size: 1rem; }
.mini-feature p { font-size: 0.9rem; }

/* ===== Mockups visuais ===== */
.media-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.media-cam {
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
}
.cam-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe0c2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 18px;
}
.rec-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff5252;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 14px;
}
.cam-cell {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #1d3450 0%, #14253c 60%, #0f1e31 100%);
  overflow: hidden;
}
.cam-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
.detect-box {
  position: absolute;
  left: 18%; top: 22%;
  width: 34%; height: 52%;
  border: 1.5px solid var(--green);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(122, 193, 67, 0.45);
  animation: scan 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.detect-box.alt { left: 48%; top: 30%; width: 28%; height: 44%; }
.detect-box::before {
  content: "PESSOA 98%";
  position: absolute;
  top: -18px; left: -1px;
  background: var(--green);
  color: var(--navy);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.detect-box.alt::before { content: "VEÍCULO 96%"; }
@keyframes scan {
  0%, 100% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(26%); opacity: 1; }
  55% { opacity: 0.4; }
  70% { opacity: 1; }
}

.cam-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  color: #e8f1de;
  font-size: 0.82rem;
  font-weight: 600;
}
.cam-time {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.access-panel { display: flex; flex-direction: column; gap: 12px; }
.access-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.access-row strong { display: block; color: var(--navy); font-size: 0.95rem; }
.access-row span:last-child { font-size: 0.82rem; color: var(--text-muted); }
.access-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.access-row.granted .access-icon { background: var(--green-soft); color: var(--green-dark); }
.access-row.denied .access-icon { background: #fdeaea; color: #d64545; }

/* ============================================================
   INTELBRAS (seção escura)
   ============================================================ */
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, #122a45 100%);
}
.section-dark h2 { color: #fff; }
.section-dark .accent { color: var(--green); }
.intelbras-inner { text-align: center; max-width: 880px; }
.intelbras-text {
  color: #b9c6d4;
  font-size: 1.08rem;
  margin: 22px auto 52px;
  max-width: 760px;
}
.intelbras-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.ipoint {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: background 0.25s, transform 0.25s;
}
.ipoint:hover { background: rgba(122, 193, 67, 0.1); transform: translateY(-4px); }
.ipoint strong { display: block; color: #fff; margin-bottom: 6px; font-size: 0.98rem; }
.ipoint span { color: #9fb0c0; font-size: 0.86rem; }

/* ============================================================
   PASSOS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; font-size: 1.06rem; }
.step p { font-size: 0.9rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background:
    radial-gradient(ellipse 70% 120% at 80% 10%, rgba(122, 193, 67, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #122a45 100%);
  padding: 96px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p {
  color: #b9c6d4;
  font-size: 1.12rem;
  margin: 16px 0 36px;
}
.cta-inner .btn-light {
  background: var(--green);
  color: var(--navy);
}
.cta-inner .btn-light:hover {
  background: #8ed05c;
  box-shadow: 0 14px 32px rgba(122, 193, 67, 0.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: #b9c6d4;
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-logo {
  width: 76px;
  margin-bottom: 18px;
}
.footer-brand p { color: #8fa1b3; font-size: 0.95rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: #8fa1b3;
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 0.85rem;
  color: #748699;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whats-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatPulse 2.6s infinite;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
  animation: none;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  60% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================================
   ANIMAÇÕES DE SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .hero-photo { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .intelbras-points { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(14, 27, 44, 0.1);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-content { order: 1; }
  .split-reverse .split-media { order: 2; }

  .section { padding: 80px 0; }
  .hero { padding: 120px 0 70px; }
  .hero-stats { gap: 28px; }
  .trustbar-inner { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .intelbras-points { grid-template-columns: 1fr; }
  .mini-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-ctas .btn { width: 100%; }
  .whats-float { right: 18px; bottom: 18px; width: 56px; height: 56px; }
}
