/* ============================================================
   GOLDEOR — Hero Section
   hero.css
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #000000;
}

/* Canvas étoiles */
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Lueur bleue centrale */
.hero__glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center top, rgba(60, 120, 255, 0.45) 0%, rgba(40, 80, 200, 0.2) 35%, rgba(20, 40, 120, 0.05) 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
}

/* ── Contenu ─────────────────────────────────────────────── */

.hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badge callout — glassmorphisme + boule rouge shiny */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50px;
  padding: 9px 22px;
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Boule rouge lumineuse */
.hero__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #ff6060, #cc0000);
  box-shadow:
    0 0 5px  rgba(255,  60,  60, 0.9),
    0 0 12px rgba(255,  50,  50, 0.7),
    0 0 24px rgba(255,  80,  80, 0.45),
    0 0 40px rgba(255, 100, 100, 0.2);
  animation: redPulse 2.2s ease-in-out infinite;
}

@keyframes redPulse {
  0%, 100% {
    box-shadow:
      0 0 5px  rgba(255, 60,  60, 0.9),
      0 0 12px rgba(255, 50,  50, 0.7),
      0 0 24px rgba(255, 80,  80, 0.45),
      0 0 40px rgba(255, 100, 100, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 8px  rgba(255, 60,  60, 1),
      0 0 18px rgba(255, 50,  50, 0.9),
      0 0 36px rgba(255, 80,  80, 0.6),
      0 0 56px rgba(255, 100, 100, 0.3);
    transform: scale(1.12);
  }
}

/* H1 */
.hero__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

/* Texte standard — gradient blanc → gris */
.hero__title .line-gradient {
  display: block;
  background: var(--heading-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mots-clés — couleur accent cyan-purple */
.hero__title .line-accent {
  display: block;
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mot-clé inline (dans une ligne gradient) */
.hero__title .keyword {
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Paragraphe lead-in long */
.hero__leadin {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 400;
  color: #a8a8c0;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
  letter-spacing: 0.1px;
}

/* Lead-in / sous-titre */
.hero__subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 400;
  color: #a8a8c0;      /* gris léger teinté violet — distinct du H1 */
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
  letter-spacing: 0.1px;
}

/* Bouton CTA — même style que sticky-bar */
.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-gradient);
  border-radius: var(--btn-radius);
  border: none;
  outline: none;
  cursor: pointer;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 16px 44px;
  margin-bottom: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 12px rgba(236, 160, 192, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 8px 32px rgba(236, 160, 192, 0.45),
    0 4px 20px rgba(160, 184, 240, 0.35);
}

.hero__cta-btn:active {
  transform: translateY(0);
}

/* Micro-texte sous bouton */
.hero__micro {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  margin-bottom: 48px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__stat {
  text-align: center;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid transparent;
  border-radius: 14px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 28px rgba(0, 0, 0, 0.40);
}

.hero__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.70) 0%, rgba(200,200,230,0.25) 25%,
    rgba(120,120,160,0.08) 50%, rgba(200,200,230,0.20) 75%,
    rgba(255,255,255,0.65) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__stat-number {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero__stat-divider {
  display: none;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 1;
}

.hero__scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid rgba(255,255,255,0.2);
  border-bottom: 1.5px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 60px;
    min-height: auto;
  }

  .hero__stat-divider { display: none; }
  .hero__stats { gap: 10px; }
  .hero__title {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .hero__cta-btn {
    font-size: 13px;
    padding: 14px 32px;
  }

  .hero__atmosphere::before {
    width: 200px;
  }

  .hero__atmosphere::after {
    width: 100%;
  }
}
