/* Accueil — styles actifs. Anciennes variantes et modules non chargés supprimés. */

/* Le grand visuel reste en place pendant que l'éditorial défile devant lui. */
.hero {
  position:sticky;
  top:0;
  z-index:0;
  background:var(--home-deep);
}

/* Le chevron de descente est créé par le CORE : neutraliser uniquement
   son surlignage tactile natif sur l'accueil, sans toucher à l'animation. */
.page-home .hero > .hero-scroll-cue {
  -webkit-tap-highlight-color:transparent;
}

.hero-media-shell {
  position:relative;
  display:block;
  height:100svh;
  min-height:760px;
  overflow:hidden;
  background:var(--home-deep);
}

.hero-picture,
.hero-picture img {
  display:block;
  width:100%;
  height:100%;
}

.hero-picture img {
  object-fit:cover;
  object-position:50% 48%;
}

.hero-media-shell::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,16,21,.04) 0%,rgba(7,16,21,.015) 42%,rgba(10,22,29,.08) 72%,rgba(13,29,37,.34) 88%,rgba(13,29,37,.76) 100%),
    linear-gradient(90deg,rgba(9,20,26,.40) 0%,rgba(9,20,26,.14) 30%,rgba(9,20,26,0) 60%);
  pointer-events:none;
}

.hero-mobile-overlay {
  display:none;
}

.home-hero-editorial {
  position:absolute;
  z-index:5;
  left:clamp(160px,12vw,205px);
  top:clamp(190px,22vh,225px);
  color:var(--home-ivory);
  text-align:left;
  pointer-events:none;
}

.home-hero-title-wrap {
  width:100%;
  max-width:min(50vw,650px);
  margin:0;
}

.home-hero-name {
  margin:0;
  width:100%;
  color:var(--home-ivory);
  font-family:var(--font-sans);
  font-size:clamp(3.75rem,5.55vw,5.6rem);
  font-weight:100;
  font-variation-settings:"wght" 100;
  font-synthesis:none;
  line-height:.88;
  text-transform:uppercase;
  text-shadow:0 2px 10px rgba(0,0,0,.20),0 1px 1px rgba(0,0,0,.10);
  white-space:normal;
}

.home-hero-name > span {
  display:block;
  width:max-content;
  max-width:100%;
  margin:0;
  white-space:nowrap;
  font-weight:100;
  font-variation-settings:"wght" 100;
}

.home-hero-given {
  font-size:1em;
  letter-spacing:.055em;
}

.home-hero-surname {
  margin-top:.10em;
  font-size:1.065em;
  letter-spacing:.085em;
}

.home-hero-agenda {
  display:none;
}

@media (min-width:1600px) {
  .home-hero-given {
    letter-spacing:.065em;
  }

  .home-hero-surname {
    margin-top:.16em;
    letter-spacing:.098em;
  }
}

@media (max-width:1180px) {
  .hero-media-shell {
    min-height:700px;
  }

  .home-hero-editorial {
    left:clamp(100px,9vw,132px);
    top:clamp(150px,18vh,178px);
  }

  .home-hero-name {
    font-size:clamp(3.25rem,5.8vw,4.55rem);
  }
}

@media (max-width:900px) {
  .hero-media-shell {
    min-height:100svh;
    height:100svh;
  }

  .home-hero-editorial {
    left:32px;
    top:118px;
  }

  .home-hero-title-wrap {
    max-width:100%;
  }

  .home-hero-name {
    font-size:clamp(2.65rem,7.2vw,3.65rem);
    line-height:.9;
  }
}

@media (max-width:760px) {
  .hero-picture img {
    object-position:center center;
  }

  .hero-mobile-overlay {
    display:block;
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(5,12,18,.05) 0%,rgba(5,12,18,0) 42%,rgba(5,12,18,.10) 72%,rgba(5,12,18,.28) 88%,rgba(5,12,18,.48) 100%);
    pointer-events:none;
  }

  .home-hero-editorial {
    left:20px;
    right:20px;
    top:auto;
    bottom:86px;
  }

  .home-hero-name {
    font-size:clamp(2.55rem,10.8vw,3.8rem);
  }
}
