/* Le bandeau d’accueil fixe le plafond ; le contenu dense reste accessible. */
:root{--site-banner-width:100%;--site-banner-height:calc(min(1440px, calc(100vw - 60px)) * .1833333333)}
.public-shell main :is(.lh-hero,.lh-dl-hero,.page-hero,.vitrine .hero,.sf-banner):not(.sf-banner-home-hero){box-sizing:border-box;max-width:min(100%,var(--site-banner-width));min-height:0!important;max-height:var(--site-banner-height)!important;overflow:auto}
.public-shell main .sf-banner:not(.sf-banner-home-hero) img{max-height:var(--site-banner-height);object-fit:contain}
.lh-page .lh-hero-description{margin-bottom:24px}
.lh-page .lh-hero{padding:12px 0}
.lh-page .lh-hero h1{font-size:clamp(24px,2.7vw,36px);margin:8px 0;line-height:1.15}
.lh-page .lh-hero-symbol{width:64px;height:64px;font-size:36px}
.lh-page .lh-dl-hero{height:var(--site-banner-height);padding:20px 32px;gap:30px;margin-bottom:18px}
.lh-page .lh-dl-hero h1{font-size:clamp(28px,3.2vw,44px);margin:12px 0 0;line-height:1.05}
.lh-page .lh-dl-hero-visual{padding:0 10px}
.lh-page .lh-dl-logo-wall{gap:9px;transform:rotate(-3deg)}
.lh-page .lh-dl-logo-wall>a{min-height:65px;padding:9px 6px;gap:5px;border-radius:10px}
.lh-page .lh-dl-logo-wall>a:nth-child(3n+2){transform:translateY(6px)}
.lh-page .lh-dl-logo-wall img{width:38px;height:38px}
.lh-page .lh-dl-hero-visual>p{display:none}
.lh-page .lh-dl-intro-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.lh-page .lh-dl-intro-bar .lh-dl-intro{color:var(--muted);max-width:620px;font-size:13px;line-height:1.65}
.lh-page .lh-dl-intro-bar .lh-dl-stats{margin:0;flex:none;color:var(--muted);gap:16px}
.lh-page .lh-dl-intro-bar .lh-dl-stats strong{color:var(--ink)}
.lh-page .lh-dl-intro-bar .lh-dl-stats>span+span{border-color:var(--line);padding-left:16px}
@media(max-width:1100px){
 .lh-page .lh-dl-hero{padding:12px 22px;grid-template-columns:1.3fr 1fr;gap:20px}
 .lh-page .lh-dl-hero h1{font-size:29px;margin-top:8px}
 .lh-page .lh-dl-logo-wall>a{min-height:60px}
 .lh-page .lh-dl-logo-wall>a:nth-child(n+4){display:none}
 .lh-page .lh-dl-logo-wall>a:nth-child(3n+2){transform:none}
 .lh-page .lh-dl-logo-wall span{display:none}
 .lh-page .lh-dl-intro-bar{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(max-width:767px){
 :root{--site-banner-height:calc((100vw - 40px) * .4193548387)}
 .lh-page .lh-dl-hero{grid-template-columns:minmax(0,1fr);padding:14px 20px;gap:0}
 .lh-page .lh-dl-hero h1{font-size:28px;margin-top:9px}
 .lh-page .lh-dl-hero-visual{display:none}
 .lh-page .lh-dl-kicker{font-size:9px;letter-spacing:.08em}
 .lh-page .lh-hero{padding:8px 0}
 .lh-page .lh-hero h1{font-size:clamp(22px,5vw,26px);margin:6px 0;line-height:1.15}
}

/* Sur mobile, la hauteur suit le contenu ; aucun plafond de bannière. */
@media(max-width:767px){
    body.ls-storefront .public-shell main :is(.lh-hero,.lh-dl-hero,.page-hero,.vitrine .hero,.sf-banner){height:auto!important;max-height:none!important;overflow:visible}
    body.ls-storefront .sf-banner:not(:has([data-dynamic-banner])) img {height:auto;max-height:none!important;object-fit:contain}
}

/* Petits bandeaux : format naturel compact, commun à l’accueil et au catalogue. */
@media(max-width:767px){
    body.ls-storefront .mk-duo {gap:8px}
    body.ls-storefront :is(.sf-banner-home-left,.sf-banner-home-right,.sf-banner-home-strip,.sf-banner-catalogue,.catalogue-promo){height:auto!important;min-height:0!important;max-height:none!important;padding:0;overflow:hidden}
    body.ls-storefront :is(.sf-banner-home-left,.sf-banner-home-right,.sf-banner-home-strip,.sf-banner-catalogue,.catalogue-promo) :is([data-storefront-slide],.catalogue-promo-slide,a,picture){height:auto;min-height:0}
    body.ls-storefront :is(.sf-banner-home-left,.sf-banner-home-right,.sf-banner-home-strip,.sf-banner-catalogue,.catalogue-promo) img {display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain}
}

/* Les bannières gardent leur composition et tout défilement utile, sans barre visible. */
body.ls-storefront .sf-banner,
body.ls-storefront .sf-banner *,
body.ls-storefront .dynamic-banner-copy {scrollbar-width:none}
body.ls-storefront .sf-banner::-webkit-scrollbar,
body.ls-storefront .sf-banner *::-webkit-scrollbar,
body.ls-storefront .dynamic-banner-copy::-webkit-scrollbar {display:none;width:0;height:0}
