/* Cartão de estatísticas do hero — LPs de análise (BR e PT). Não usar nas LPs do robô. */

.hero-pulse {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 2rem auto 0;
  max-width: 36rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background:
    linear-gradient(180deg, rgba(32, 27, 48, 0.96), rgba(14, 12, 22, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 50px rgba(0, 0, 0, 0.38);
  color: #f3f3f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: 0.015em !important;
  word-spacing: 0.14em !important;
  text-align: center;
  animation: hero-pulse-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-pulse *,
.hero-pulse *::before,
.hero-pulse *::after {
  font-family: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: inherit !important;
}

.hero-pulse__glow {
  position: absolute;
  inset: -42% -18% auto;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.32), transparent 70%);
  pointer-events: none;
  animation: hero-pulse-glow 3.4s ease-in-out infinite;
}

.hero-pulse__live {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em !important;
  word-spacing: 0.16em !important;
}

.hero-pulse__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: hero-pulse-dot 1.6s ease-out infinite;
}

.hero-pulse__lead {
  position: relative;
  margin: 1.05rem 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #d8d8e2;
}

.hero-pulse__hit {
  display: inline-block;
  padding: 0 0.12em;
  color: #4ade80;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

.hero-pulse__hit--muted {
  color: #f0f0f5;
  text-shadow: none;
}

.hero-pulse__of {
  display: inline;
  padding: 0 0.28em;
  color: #b8b8c4;
}

.hero-pulse__bar {
  position: relative;
  margin: 1rem auto 0;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2833;
}

.hero-pulse__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #a78bfa);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.5);
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-pulse__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-pulse__stat {
  padding: 0.72rem 0.35rem 0.66rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-pulse__stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  color: #f5f5f7;
}

.hero-pulse__stat span {
  display: block;
  margin-top: 0.38rem;
  font-size: 11.5px;
  line-height: 1.3;
  color: #b7b7c4;
  letter-spacing: 0.01em !important;
  word-spacing: 0.1em !important;
}

.hero-pulse__stat--ok strong {
  color: #4ade80;
}

.hero-pulse__stat--bad strong {
  color: #fb7185;
}

.hero-pulse__tag {
  position: relative;
  margin: 1.05rem 0 0;
  font-size: 13px;
  font-weight: 650;
  color: #c4b5fd;
  letter-spacing: 0.02em !important;
  word-spacing: 0.16em !important;
  text-transform: none;
}

.hero-pulse__note {
  position: relative;
  margin: 0.7rem 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #c9c9d4;
}

@keyframes hero-pulse-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

@keyframes hero-pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (max-width: 520px) {
  .hero-pulse {
    padding: 1.15rem 1rem 1.05rem;
  }

  .hero-pulse__lead {
    font-size: 15.5px;
  }

  .hero-pulse__stat strong {
    font-size: 1.25rem;
  }

  .hero-pulse__stats {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pulse,
  .hero-pulse__glow,
  .hero-pulse__dot,
  .hero-pulse__bar i {
    animation: none !important;
    transition: none !important;
  }
}
