/* ============================================
   SOLAZER — Home: Banner Principal (Hero)
   ============================================ */

body { background: var(--navy-950); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease-in-out);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: hero-kenburns 5.6s ease-out forwards;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,14,26,0.78) 0%, rgba(8,17,30,0.55) 32%, rgba(9,18,32,0.72) 78%, rgba(6,13,24,0.94) 100%),
    linear-gradient(90deg, rgba(6,12,22,0.55) 0%, rgba(6,12,22,0.05) 55%, rgba(6,12,22,0.35) 100%);
}

/* ---------- Indicadores do carrossel (dots) ---------- */
.hero-slide-nav {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-12);
}
.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast);
  padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,0.5); }
.hero-dot.is-active { background: var(--gold-400); }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 84px;
  padding-bottom: var(--space-32);
  max-width: 780px;
}

.eyebrow-on-dark {
  color: var(--cyan-signal);
}
.eyebrow-on-dark::before {
  background: var(--cyan-signal);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 8vw, var(--fs-4xl));
  letter-spacing: -0.02em;
  margin-top: var(--space-5);
  line-height: 0.98;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, var(--fs-xl));
  color: rgba(255,255,255,0.92);
  margin-top: var(--space-5);
  max-width: 620px;
  line-height: var(--lh-snug);
}

.hero-lead {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.68);
  margin-top: var(--space-5);
  max-width: 520px;
  line-height: var(--lh-normal);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.hero-actions .btn-primary svg { width: 18px; height: 18px; }
.hero-actions .btn-on-dark svg { width: 16px; height: 16px; }

/* ---------- Painel técnico flutuante (assinatura) ---------- */
.hero-panel {
  position: absolute;
  z-index: 2;
  left: var(--space-8);
  bottom: var(--space-12);
  width: 320px;
  background: rgba(13, 29, 51, 0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 15px;
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-signal);
  box-shadow: 0 0 0 0 rgba(232,193,88,0.55);
  animation: live-pulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,193,88,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(232,193,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,193,88,0); }
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.hero-panel-item { display: flex; flex-direction: column; gap: 4px; }
.hero-panel-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.5);
}
.hero-panel-value {
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--white);
}
.hero-panel-value small {
  font-size: var(--fs-2xs);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.hero-panel-photo {
  margin-top: var(--space-4);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/8;
}
.hero-panel-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Scroll cue ---------- */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
.hero-scroll-cue svg { width: 16px; height: 16px; }
@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .hero-panel { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 110px; padding-bottom: var(--space-16); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transition: opacity 0.3s linear; }
}