/* Hero home — image plein écran + overlay marine + slogan + chapeau.
   Hauteur = viewport - barres au-dessus (topbar + header desktop, header seul mobile).
   `dvh` (dynamic viewport height) = s'adapte à la barre d'URL des navigateurs mobiles. */
.hero-home {
  position: relative;
  height: calc(100dvh - var(--topbar-h) - var(--header-h));
  min-height: 540px;
  background: #0a1828;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Mobile : la topbar est masquée, on retire sa hauteur du calcul. */
@media (max-width: 920px) {
  .hero-home {
    height: calc(100dvh - var(--header-h));
  }
}
.hero-home__media { position: absolute; inset: 0; z-index: 0; }
.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero-home__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 31, 63, 0.55) 0%, rgba(1, 31, 63, 0.35) 35%, rgba(1, 31, 63, 0.75) 100%),
    linear-gradient(180deg, rgba(18, 126, 165, 0.18), rgba(18, 126, 165, 0.18));
  mix-blend-mode: multiply;
}
.hero-home__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 1.5rem;
}
.hero-home__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-home__eyebrow::before,
.hero-home__eyebrow::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.hero-home h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero-home__chapeau {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}
.hero-home__chapeau strong { color: #fff; font-weight: 700; }

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}
