/* ==========================================================
   WIDE VISION — hero.css
   Section hero · Rings · Particules · Glow · Métriques
   ========================================================== */

/* ══════════════════════════════════════════
   HERO WRAPPER
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

/* ══════════════════════════════════════════
   ARRIÈRE-PLAN — couches superposées
══════════════════════════════════════════ */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient radial central — lueur or subtile */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.10) 0%,
    rgba(201, 168, 76, 0.04) 35%,
    transparent 70%
  );
  pointer-events: none;
}

/* Gradient de fondu bas */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* Grille de points décorative — style ReachFlow */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 0%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 0%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.5;
}

/* ══════════════════════════════════════════
   RINGS DÉCORATIFS
══════════════════════════════════════════ */
.hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
}

.hero__ring--1 {
  width: 360px; height: 360px;
  top: 6%; right: 2%;
  animation: spin-slow 45s linear infinite;
  opacity: 0.55;
}

.hero__ring--2 {
  width: 220px; height: 220px;
  top: 14%; right: 8%;
  border-color: var(--gold-dim-md);
  animation: spin-slow-reverse 30s linear infinite;
  opacity: 0.75;
}

.hero__ring--3 {
  width: 110px; height: 110px;
  top: 21%; right: 14%;
  border-color: var(--gold-dim-hi);
  animation: spin-slow 20s linear infinite;
}

/* Point central des rings */
.hero__ring-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   CONTENU PRINCIPAL
══════════════════════════════════════════ */
.hero__body {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: var(--sp-24) var(--pad) var(--sp-20);
}

/* ── Badge eyebrow ── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.32rem 0.9rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  background: var(--gold-dim);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: var(--sp-6);
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Titre H1 ── */
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8.5vw, 6.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--white);
  max-width: 860px;
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
  /* Léger gradient sur l'italique */
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Caret typewriter */
.hero__caret {
  display: inline-block;
  width: 4px;
  height: 0.8em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 2px;
  animation: caret-blink 0.85s step-end infinite;
}

/* ── Sous-titre ── */
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 580px;
  margin-bottom: var(--sp-10);
}

/* ── CTAs ── */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-16);
}

.hero__ctas .btn--lg {
  position: relative;
}

/* Halo derrière le bouton gold principal */
.hero__ctas .btn--gold::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-sm) + 6px);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.2), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow);
  z-index: -1;
}
.hero__ctas .btn--gold:hover::before { opacity: 1 }

/* ── Métriques ── */
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-10);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero__metric-value {
  font-family: var(--f-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__metric-label {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__metric-divider {
  width: 1px;
  height: 48px;
  background: var(--gold-border);
  align-self: center;
}

/* ══════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════ */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-lo);
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--gold-border-hi), transparent);
  animation: scroll-hint 2.2s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   LOGOS CLIENTS — social proof sous le hero
══════════════════════════════════════════ */
.hero__proof {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--gold-border);
  background: var(--bg);
}

.hero__proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.hero__proof-label {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__proof-divider {
  width: 1px;
  height: 20px;
  background: var(--gold-border);
  flex-shrink: 0;
}

.hero__proof-sectors {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.hero__proof-sector {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  transition: color var(--t-base);
  white-space: nowrap;
}
.hero__proof-sector:hover { color: var(--gold) }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero__ring--1 { width: 260px; height: 260px; top: 4%; right: -4% }
  .hero__ring--2 { width: 160px; height: 160px; top: 10%; right: 1% }
  .hero__ring--3 { display: none }

  .hero__metric-divider { display: none }
  .hero__metrics { gap: var(--sp-8) }
}

@media (max-width: 640px) {
  .hero__body {
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-16);
  }

  .hero__title {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__ring--1,
  .hero__ring--2 { display: none }

  .hero__scroll { display: none }

  .hero__proof-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }

  .hero__proof-divider { display: none }
}
