/* Navigation transparente sur la photographie, bleue après la hero. */
body #site-header,
body .site-header.is-on-hero,
body .site-header.is-scrolled {
  position: relative; top: auto; z-index: 80;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body #site-header.has-passed-hero { position: sticky; top: 0; background: #040F20; }
#accueil,
body.clients-page main#contenu > .client-hero {
  position: relative; isolation: isolate; overflow: visible;
  background: #040F20;
  min-height: calc(100svh - var(--header-h) - var(--hero-announcement-height,34px) + 2px) !important;
  border: 0;
}
#accueil::before,
body.clients-page main#contenu > .client-hero::before {
  content: ""; position: absolute;
  inset: calc(-1 * var(--header-h)) 0 0;
  width: auto; height: auto; max-width: none; max-height: none;
  z-index: 0; pointer-events: none; opacity: 1;
  background: linear-gradient(rgba(4,15,32,.80),rgba(4,15,32,.80)),url("assets/hero/hall-historique.png") center / cover no-repeat;
  mask: none; -webkit-mask: none;
}
#accueil > .container,
.clients-page .client-hero > .client-shell { position: relative; z-index: 1; }

/* Centrage vertical identique pour les deux compositions hero. */
#accueil{padding-block:clamp(64px,8vh,100px)!important;grid-template-rows:auto;align-content:center}
#accueil>.hero-grid{align-self:center;align-content:center}
#accueil .hero-copy{top:0}
@media(max-width:767px){#accueil{padding-block:48px!important}}
