/* Alignements communs aux quatre pages sur téléphone uniquement. */
@media(max-width:700px){
 .mobile-screen-ready .site-header{min-height:70px;padding:5px 16px;align-items:center;gap:14px}
 .mobile-screen-ready .site-header .brand-mark{width:108px;max-width:none}
 .mobile-screen-ready .site-header .header-cta{min-height:44px;padding:10px 14px;font-size:.73rem}
 .mobile-screen-ready.compact-home .home-welcome-layout{width:100%;max-width:none}
 .mobile-screen-ready.compact-home .hero-film{width:100%;max-width:none;align-self:stretch;margin:0}
 .mobile-screen-ready.compact-home .hero-film .intro-film{width:100%;height:auto;aspect-ratio:16/9;border-radius:16px}
 .mobile-screen-ready.compact-home .home-welcome-proof li{display:block;text-align:center;padding:0 5px}
 .mobile-screen-ready.compact-home .home-welcome-proof li::before{display:none}
 .mobile-screen-ready.compact-home .home-welcome-proof li+li{border-left:1px solid #d8c6b144}
 .mobile-screen-ready.compact-services,.mobile-screen-ready.compact-territories{background:var(--soft)}
 .mobile-screen-ready.compact-services>main,.mobile-screen-ready.compact-territories>main{background:var(--soft)}
 .mobile-screen-ready.compact-services .section.process{background:none}
 .mobile-screen-ready.compact-services .service-situations{background:none}
 .mobile-screen-ready.compact-contact .appointment-form label{display:flex;flex-direction:column;gap:6px}
 .mobile-screen-ready.compact-contact .appointment-form textarea{width:100%;max-width:100%}
}
/* Utiliser la hauteur disponible dans des cartes utiles, au lieu d’un blanc sous la page. */
@media(max-width:700px) and (min-height:741px){
 .mobile-screen-ready.compact-home .home-welcome-layout{gap:16px}
 .mobile-screen-ready.compact-home .home-welcome-heading h1{font-size:1.7rem;line-height:1.12}
 .mobile-screen-ready.compact-home .home-welcome-copy>p:not(.home-welcome-lead):not(.home-welcome-phone){font-size:.92rem;line-height:1.5}
 .mobile-screen-ready.compact-services>main{padding-bottom:10px}
 .mobile-screen-ready.compact-services .section.process{display:flex;flex-direction:column;flex:1 1 auto;padding-top:8px}
 .mobile-screen-ready.compact-services .timeline{display:flex;flex-direction:column;flex:1;min-height:0}
 .mobile-screen-ready.compact-services .timeline article.is-mobile-active{display:grid;flex:1;align-content:center;min-height:150px;padding:20px}
 .mobile-screen-ready.compact-services .timeline h3{font-size:.88rem;line-height:1.35}
 .mobile-screen-ready.compact-services .timeline p{font-size:.98rem;line-height:1.55}
 .mobile-screen-ready.compact-services .service-situations{flex:0 0 auto;padding-bottom:0}
 .mobile-screen-ready.compact-services .service-situations-grid li.is-mobile-active{min-height:124px;font-size:.95rem;line-height:1.5;padding:18px}
 .mobile-screen-ready.compact-services .mobile-situation-controls{margin-top:8px}
 .mobile-screen-ready.compact-territories .territories-section,.mobile-screen-ready.compact-territories .territories-inner{display:flex;flex-direction:column;flex:1}
 .mobile-screen-ready.compact-territories .territories-directory.has-region-map{flex:1}
 .mobile-screen-ready.compact-territories .region-panels,.mobile-screen-ready.compact-territories .two-banks .region-panel{flex:1}
 .mobile-screen-ready.compact-territories .district-panels,.mobile-screen-ready.compact-territories .district-panel,.mobile-screen-ready.compact-territories .places-browser,.mobile-screen-ready.compact-territories .places-pages{flex:1}
 .mobile-screen-ready.compact-territories .places-page{flex:1;grid-auto-rows:minmax(48px,1fr);align-content:stretch}
 .mobile-screen-ready.compact-territories .places-page li{display:flex;align-items:center;justify-content:center;text-align:center;font-size:.83rem}
 .mobile-screen-ready.compact-territories .territories-outro{flex:0 0 auto;margin-top:10px}
 .mobile-screen-ready.compact-contact>main{padding-top:10px;padding-bottom:10px}
 .mobile-screen-ready.compact-contact .appointment.section{display:flex;flex:1;margin:0;padding-top:0;padding-bottom:0}
 .mobile-screen-ready.compact-contact .appointment-form-area{display:flex;flex:1}
 .mobile-screen-ready.compact-contact .appointment-form{flex:1;align-content:space-between;gap:14px;padding:22px 18px}
 .mobile-screen-ready.compact-contact .form-heading h1{font-size:1.7rem}
 .mobile-screen-ready.compact-contact .form-heading p:not(.eyebrow){font-size:.87rem}
 .mobile-screen-ready.compact-contact .appointment-form label>span{font-size:.74rem}
 .mobile-screen-ready.compact-contact .appointment-form input,.mobile-screen-ready.compact-contact .appointment-form select{min-height:48px}
 .mobile-screen-ready.compact-contact .appointment-form textarea{height:116px;min-height:116px}
}
/* Écrans très courts : logo toujours visible, sans dépasser la hauteur utile. */
@media(max-width:700px) and (max-height:740px){
 .mobile-screen-ready .site-header{min-height:60px;padding-top:4px;padding-bottom:4px}
 .mobile-screen-ready .site-header .brand-mark{width:92px}
 .mobile-screen-ready.compact-home .hero-film{width:100%;align-self:stretch}
 .mobile-screen-ready.compact-home .home-welcome-copy>p:not(.home-welcome-lead):not(.home-welcome-phone){display:none}
 .mobile-screen-ready.compact-home .home-welcome-copy .mobile-info-open{display:flex}
}
@media(max-width:700px) and (min-height:741px){
 .mobile-screen-ready.compact-services .timeline .step-number{width:46px;height:46px;font-size:1.1rem}
 .mobile-screen-ready.compact-services .timeline .step-icon{font-size:2.6rem;height:48px}
 .mobile-screen-ready.compact-services .timeline h3{font-size:1rem}
 .mobile-screen-ready.compact-services .timeline p{font-size:1rem}
 .mobile-screen-ready.compact-territories .places-page{grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(44px,1fr)}
}
@media(max-width:700px){
 .mobile-screen-ready>main{min-height:calc(100dvh - var(--compact-header-height,70px) - var(--dock-reserve,70px) - 10px)}
}
@media(max-width:700px) and (max-height:830px){
 .mobile-screen-ready.compact-home .home-welcome-proof{display:none}
}
@media(max-width:700px) and (max-height:700px){
 .mobile-screen-ready.compact-territories .district-picks{display:none}
 .mobile-screen-ready.compact-territories .mobile-short-sector-select{display:block;width:100%;min-height:44px;padding:8px;background:var(--paper);border:1px solid var(--gold-light);border-radius:10px;color:var(--navy);font:400 16px 'Avenir Next',sans-serif}
}
@media(max-width:700px) and (min-height:741px){
 .mobile-screen-ready.compact-territories .two-banks .places-page{grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(44px,1fr)}
 .mobile-screen-ready.compact-territories .two-banks .places-page li{font-size:.83rem;padding:10px;line-height:1.4}
}
