.editorial-hero{
  position:relative;
  height:calc(100svh + 32px);
  min-height:0;
  overflow:hidden;
  background:#151311;
  color:#fff;
}
.editorial-hero img,
.editorial-hero picture{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.editorial-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,8,8,.12) 0%,rgba(8,8,8,.02) 48%,rgba(8,8,8,.46) 100%);
  pointer-events:none;
}
.editorial-hero-inner{position:absolute;z-index:2;left:0;right:0;bottom:clamp(92px,9.2vh,112px);}
.editorial-hero h1{
  margin:0;font-family:var(--font-sans);font-size:var(--page-hero-title-size);line-height:var(--page-hero-title-leading);
  font-weight:var(--page-hero-title-weight);font-variation-settings:"wght" var(--page-hero-title-weight);font-synthesis:none;letter-spacing:var(--page-hero-title-spacing);color:rgba(255,250,244,.98);will-change:opacity;
  text-shadow:0 1px 0 rgba(255,255,255,.18),0 -1px 0 rgba(24,18,14,.44),0 8px 28px rgba(0,0,0,.24);
}
.editorial-hero picture{position:absolute;inset:0;width:100%;height:100%;display:block;}
.editorial-hero picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
@media(max-width:760px){
  .editorial-hero{height:calc(100svh + 22px);min-height:0;}
  .editorial-hero-inner{bottom:82px;}
}

.hero-scroll-cue{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:max(42px,calc(env(safe-area-inset-bottom) + 10px));
  width:56px;
  height:32px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.88);
  opacity:.9;
  cursor:pointer;
  transform:translateX(-50%);
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.24));
  transition:opacity .18s ease,color .18s ease,filter .18s ease;
}
.hero-scroll-cue::before,
.hero-scroll-cue::after{
  content:"";
  position:absolute;
  top:12px;
  width:18px;
  height:3px;
  background:currentColor;
  border-radius:999px;
}
.hero-scroll-cue::before{
  left:50%;
  transform-origin:right center;
  transform:translateX(-100%) rotate(40deg);
}
.hero-scroll-cue::after{
  left:50%;
  transform-origin:left center;
  transform:rotate(-40deg);
}
.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible{
  color:rgba(255,255,255,.98);
  opacity:1;
  outline:none;
  filter:drop-shadow(0 2px 9px rgba(0,0,0,.30));
}

@keyframes hero-scroll-cue-float{
  0%,100%{transform:translate(-50%,0);}
  50%{transform:translate(-50%,4px);}
}

@media(max-width:760px){
  .hero-scroll-cue{
    display:block;
    animation:hero-scroll-cue-float 2.8s ease-in-out infinite;
  }
}

@media(min-width:761px){
  .hero-scroll-cue{
    display:block;
    bottom:34px;
    width:50px;
    opacity:.72;
    animation:hero-scroll-cue-float 3.4s ease-in-out infinite;
  }
  .hero-scroll-cue::before,
  .hero-scroll-cue::after{
    width:16px;
    height:2.5px;
  }
}


/* Titres courts : sur mobile, le chevron se décale à droite pour ne pas
   concurrencer le titre. Les titres longs (Festival de Sagonne) restent centrés. */
@media(max-width:760px){
  .page-biographie .editorial-hero .hero-scroll-cue,
  .page-agenda .editorial-hero .hero-scroll-cue,
  .page-videos .editorial-hero .hero-scroll-cue,
  .page-photos .editorial-hero .hero-scroll-cue,
  .page-pedagogie .editorial-hero .hero-scroll-cue,
  .page-contact .editorial-hero .hero-scroll-cue{
    left:auto;
    right:24px;
    width:42px;
    height:28px;
    transform:none;
    animation:none;
  }

  .page-biographie .editorial-hero .hero-scroll-cue::before,
  .page-biographie .editorial-hero .hero-scroll-cue::after,
  .page-agenda .editorial-hero .hero-scroll-cue::before,
  .page-agenda .editorial-hero .hero-scroll-cue::after,
  .page-videos .editorial-hero .hero-scroll-cue::before,
  .page-videos .editorial-hero .hero-scroll-cue::after,
  .page-photos .editorial-hero .hero-scroll-cue::before,
  .page-photos .editorial-hero .hero-scroll-cue::after,
  .page-pedagogie .editorial-hero .hero-scroll-cue::before,
  .page-pedagogie .editorial-hero .hero-scroll-cue::after,
  .page-contact .editorial-hero .hero-scroll-cue::before,
  .page-contact .editorial-hero .hero-scroll-cue::after{
    width:14px;
    height:2.4px;
  }

}

@media(prefers-reduced-motion:reduce){
  .hero-scroll-cue{animation:none;}
}
