/* Charte commune des en-têtes publics. */
body.mpc-public {
 --mpc-heading-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 --mpc-heading-size:52px;
 --mpc-heading-gutter:32px;
 --mpc-heading-header:82px;
}
html body.mpc-public > main:is(.premium-landing,.tarifs-page) {
 width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) {
 padding:calc(var(--mpc-heading-header) + 30px) 0 30px!important;
 margin:0!important;min-height:0!important;height:auto!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) > :is(.hero-shell,.services-hero-shell,.enduros-hero-shell,.register-shell,.service-main-card) {
 width:min(1380px,calc(100% - var(--mpc-heading-gutter)*2))!important;
 max-width:none!important;margin:0 auto!important;padding:0!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) :is(.hero-copy,.services-hero-copy,.enduros-hero-copy,.register-intro,.service-main-card) {
 padding:0!important;margin-top:0!important;margin-bottom:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 backdrop-filter:none!important;transform:none!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) :is(.hero-copy,.services-hero-copy,.enduros-hero-copy,.register-intro,.service-main-card) h1 {
 font-family:var(--mpc-heading-font)!important;font-size:var(--mpc-heading-size)!important;
 font-weight:950!important;line-height:1.08!important;letter-spacing:-.045em!important;
 margin:14px 0 18px!important;max-width:900px!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) h1 strong {
 display:block!important;line-height:inherit!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) :is(.eyebrow,.eyebrow-row) {
 margin-top:0!important;margin-bottom:0!important;min-height:24px;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) .eyebrow {
 font-family:var(--mpc-heading-font)!important;font-size:11px!important;line-height:1.5!important;letter-spacing:.1em!important;
}
html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) :is(.hero-copy,.services-hero-copy,.enduros-hero-copy,.register-intro,.service-main-card) > p {
 font-family:var(--mpc-heading-font)!important;font-size:16px!important;line-height:1.7!important;
 margin:0!important;max-width:720px!important;
}
html body.mpc-public .services-modern-grid {
 grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;
}
@media(max-width:1100px){
 body.mpc-public{--mpc-heading-header:72px;--mpc-heading-size:42px;--mpc-heading-gutter:24px}
}
@media(max-width:600px){
 body.mpc-public{--mpc-heading-size:34px;--mpc-heading-gutter:18px}
 html body.mpc-public .services-modern-grid {grid-template-columns:minmax(0,1fr)!important}
 html body.mpc-public main > :is(#home-hero-layout,.premium-hero,.services-hero) :is(.hero-copy,.services-hero-copy,.enduros-hero-copy,.register-intro,.service-main-card) > p {font-size:14px!important}
}
/* Même photographie que le téléphone sur les tablettes et Fold ouverts. */
@media(min-width:601px) and (max-width:1100px){
 html body.mpc-public[class] {
  background:linear-gradient(rgba(3,4,10,.12),rgba(3,4,10,.12)),url('/assets/img/bg-mobile.jpg') center top/cover no-repeat fixed!important;
 }
 html body.mpc-public[class]::before {display:none!important}
 html[data-theme="light"] body.mpc-public[class] {
  background-image:url('/assets/img/bg-light-mobile-v2.webp'),url('/assets/img/bg-mobile.jpg')!important;
  background-position:center top!important;background-size:cover!important;
 }
}

/* Services : mêmes marges latérales que les cartes de l'accueil. */
html body:is(.page-services,.page-legal):not(.page-tarifs) .services-modern-grid {
 width:min(1380px,calc(100% - 64px))!important;
 max-width:none!important;margin-left:auto!important;margin-right:auto!important;
 padding-left:0!important;padding-right:0!important;
}
@media(max-width:1100px){
 html body:is(.page-services,.page-legal):not(.page-tarifs) .services-modern-grid {
  width:calc(100% - 48px)!important;
 }
}
@media(max-width:600px){
 html body:is(.page-services,.page-legal):not(.page-tarifs) .services-modern-grid {
  width:calc(100% - 36px)!important;
 }
}
