/* Ajustements limités aux accueils comportant les nouveaux témoignages. */
body:has(.suite-home-dialog) .badge{white-space:normal;max-width:100%;overflow-wrap:anywhere}
body:has(.suite-home-dialog) .form-section{grid-template-columns:repeat(2,minmax(0,1fr))}
body:has(.suite-home-dialog) :is(.form-section,.field-row)>*{min-width:0;max-width:100%}
body:has(.suite-home-dialog) #formulaire{width:100%;min-width:0}
body:has(.suite-home-dialog) :is(.field input,.field select){box-sizing:border-box;min-width:0;max-width:100%}
/* Les motifs décoratifs restent dans leur section au lieu d’élargir la page. */
body:has(.suite-home-dialog) :is(.differenciateurs,.starter-band,.key-info,.authority,#contenu-programme,.neuro-focus,.cta-band,#faq,#temoignages,.hero){overflow:clip}
body:has(.suite-home-dialog) :is(.hero-grid,.final-grid)>*{min-width:0;max-width:100%}
body:has(.suite-home-dialog[data-school=aec]) .wrap{width:min(1160px,100%);box-sizing:border-box;min-width:0}
body:has(.suite-home-dialog[data-school=aec]) .hero .wrap>*{min-width:0;max-width:100%}
body:has(.suite-home-dialog[data-school=aec]) .hero .video-frame{width:100%;max-width:720px}
@media(max-width:860px){body:has(.suite-home-dialog) .form-section{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
body:has(.suite-home-dialog) .final-grid{grid-template-columns:minmax(0,1fr)}
body:has(.suite-home-dialog) .nav-actions{gap:6px}
body:has(.suite-home-dialog) .nav-actions .navbar-toggler{padding:0!important;min-width:44px;min-height:44px}
body:has(.suite-home-dialog) .nav-cta .link_header{flex:0 0 44px;width:44px;margin:0!important;padding:0!important}
body:has(.suite-home-dialog) .nav-cta .navbar-toggler{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0!important}
}
@media(max-width:380px){
body:has(.suite-home-dialog[data-school=eic]) header .wrap.nav{grid-template-columns:minmax(0,1fr);gap:12px}
body:has(.suite-home-dialog[data-school=eic]) .nav-cta{justify-self:stretch;justify-content:space-between;flex-wrap:wrap}
body:has(.suite-home-dialog[data-school=aec]) .nav .wrap{flex-wrap:wrap;gap:10px}
body:has(.suite-home-dialog[data-school=aec]) .nav-actions{flex-wrap:wrap;max-width:100%}
}
