/* Police officielle Inter, hébergée localement, licence SIL OFL jointe. */
@font-face{font-family:Inter;src:url('fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
/* Hauteur intrinsèque : le texte et les boutons restent dans la galerie. */
body.inner-gallery-fit #main>.hero:first-child{height:auto;min-height:590px;padding-top:var(--menu-height,98px)}
body.inner-gallery-fit #main>.hero:first-child>.hero-inner{height:auto;min-height:490px;padding-top:55px;padding-bottom:85px}
body.inner-gallery-fit #main>.hero:first-child h1{font-size:clamp(36px,4.4vw,66px);line-height:1.08;max-width:900px;overflow-wrap:break-word;margin:18px 0 22px}
body.inner-gallery-fit #main>.hero:first-child .hero-lead{max-width:740px}
body.inner-gallery-fit #main>.hero:first-child .hero-inner>*{flex-shrink:0}
@media(max-width:1250px){body.inner-gallery-fit #main>.hero:first-child{--menu-height:80px}}
@media(max-width:650px){
 body.inner-gallery-fit #main>.hero:first-child{min-height:0}
 body.inner-gallery-fit #main>.hero:first-child>.hero-inner{min-height:0;padding-top:38px;padding-bottom:55px}
 body.inner-gallery-fit #main>.hero:first-child h1{font-size:clamp(32px,7.8vw,42px);line-height:1.1}
 body.inner-gallery-fit #main>.hero:first-child .actions{width:100%}
 body.inner-gallery-fit #main>.hero:first-child .button{max-width:100%;white-space:normal}
}

/* Titres de galerie plus légers : dimensions et hauteur conservées. */
body.inner-gallery-fit #main>.hero:first-child h1{font-weight:400}
