/**
 * hero.css — Styles de la section héro
 * Animation d'entrée en cascade, particules, illustration flottante
 */

/* ═══════════════════════════════════════════════
   SECTION HÉRO — LAYOUT
   ═══════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0158A7 0%,
    #023E7D 40%,
    #01326A 70%,
    #012756 100%
  );
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 50%,
    rgba(245, 166, 35, 0.08) 0%,
    transparent 60%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   CONTENU HÉRO
   ═══════════════════════════════════════════════ */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

/* Badge animé */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease 0.1s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC9A;
  animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════════
   TITRE HÉRO — Animation en cascade
   ═══════════════════════════════════════════════ */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  color: white;
  margin: 0 0 24px;
}

.hero-title .title-line {
  display: block;
}

.hero-title .title-line-1 {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-title .title-line-2 {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-title .title-line-3 {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-title .accent {
  color: #F5A623;
  font-style: italic;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   TAGLINE & CITATION
   ═══════════════════════════════════════════════ */
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
  line-height: 1.6;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero-tagline strong {
  color: #F5A623;
  font-weight: 700;
}

.hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 48px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.quote-source {
  display: block;
  font-size: 13px;
  font-family: var(--font-body);
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   ILLUSTRATION PRINCIPALE — Place d'honneur
   ═══════════════════════════════════════════════ */
.hero-image-container {
  position: relative;
  margin: 0 auto 48px;
  max-width: 620px;
}

.hero-illustration {
  width: 100%;
  border-radius: 24px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.1);
  animation: floatIllustration 6s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: 32px;
  background: radial-gradient(
    ellipse at center,
    rgba(245, 166, 35, 0.15) 0%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

@keyframes floatIllustration {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════
   CTA HÉRO
   ═══════════════════════════════════════════════ */
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

/* ═══════════════════════════════════════════════
   STATS HÉRO
   ═══════════════════════════════════════════════ */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #F5A623;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════
   INDICATEUR DE SCROLL
   ═══════════════════════════════════════════════ */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 1px;
  animation: fadeIn 1s ease 2s both;
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  margin: 8px auto 0;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(-45deg);
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50%      { transform: rotate(-45deg) translateY(6px); }
}
