/* ============================================================
   HERO (home) — impacto, 100vh, título split + painel/dashboard
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 14vh, 9rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
}

/* ---- coluna texto ---- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.6);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.7rem;
}
.hero__title .line { display: block; }
.hero__title .accent { color: var(--purple-light); }

.hero__subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero__subtitle [data-fade] { transition-delay: 0.5s; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.hero__trust svg { width: 17px; height: 17px; color: var(--purple-light); flex-shrink: 0; }

/* ---- coluna visual: painel/dashboard ---- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
}

.device {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1b1726, #0c0b10);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card), var(--glow-soft);
  overflow: hidden;
}
.device__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.device__bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(157, 78, 221, 0.4);
}
.device__bar i:nth-child(2) { background: rgba(157, 78, 221, 0.6); }
.device__bar i:nth-child(3) { background: var(--purple-light); }
.device__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.device__screen {
  position: relative;
  overflow: hidden;
}
.device__screen img { width: 100%; display: block; }
/* linha de varredura sutil */
.device__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(157, 78, 221, 0.18), transparent);
  animation: scan 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* chips flutuantes ao redor do painel */
.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(20, 18, 28, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
}
.hero__chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #46d39a; }
.hero__chip--rec  { top: 12%;  left: -8%;  animation-delay: 0s; }
.hero__chip--rec .dot { background: #ff5470; }
.hero__chip--face { bottom: 18%; left: -10%; animation-delay: 1.2s; }
.hero__chip--lpr  { bottom: 8%;  right: -6%; animation-delay: 0.6s; }

.hero__scrollcue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scrollcue .bar {
  width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--purple-light), transparent);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__chip--rec  { left: 2%; }
  .hero__chip--face { left: 0%; }
  .hero__chip--lpr  { right: 2%; }
  .hero__scrollcue { display: none; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__chip { display: none; }
}
