/* ── Hero Section ── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bleu-profond);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--bleu-profond-rgb), 0.3) 0%,
    rgba(var(--bleu-profond-rgb), 0.5) 50%,
    rgba(var(--bleu-profond-rgb), 0.8) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--corail);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out-expo) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--blanc-casse);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s var(--ease-out-expo) 0.5s forwards;
}

.hero__title em {
  font-style: normal;
  color: var(--corail);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(var(--blanc-casse-rgb), 0.75);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--blanc-casse-rgb), 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    180deg,
    rgba(var(--blanc-casse-rgb), 0.4) 0%,
    transparent 100%
  );
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}
