/**
 * hero.css
 * Hero plein écran premium avec image de fond,
 * grand titre bold et CTA orange.
 */

/* ── Conteneur hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0A1628;
}

/* ── Image de fond hero ──────────────────────────────────────────────────── */
.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* ── Overlay gradient ─────────────────────────────────────────────────────── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.2) 0%,
    rgba(10, 22, 40, 0.35) 40%,
    rgba(10, 22, 40, 0.65) 100%
  );
}

/* ── Contenu texte ────────────────────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--space-lg);
  max-width: 900px;
}

.hero__surtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  margin-bottom: var(--space-lg);
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255, 179, 71, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 179, 71, 0.1);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__title-accent {
  display: block;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  max-width: 550px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__subtitle {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

/* ── Indicateur scroll ────────────────────────────────────────────────────── */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-signature);
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
  0%   { top: -100%; }
  50%  { top: 0; }
  100% { top: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after {
    animation: none;
    top: 0;
  }
}
