/* Corrections téléphone uniquement. Conserver les proportions ordinateur. */
@media (max-width:700px){
 html{scroll-padding-top:90px;scroll-padding-bottom:100px}
 .compact-page{--page-gutter:20px;padding-bottom:calc(var(--dock-reserve,76px) + 24px)}
 .compact-page>main{min-height:0;flex:1 0 auto}
 .compact-page .site-header{position:relative;top:auto;padding:8px 16px;gap:12px}
 .compact-page .site-header .brand-mark{width:76px}
 .compact-page .site-header .header-cta{min-height:44px;padding:10px 14px;font-size:.75rem;white-space:normal;text-align:center}
 .compact-page .chapter-nav{grid-template-columns:repeat(4,minmax(0,1fr));width:calc(100% - 24px);max-width:460px;padding:4px 6px;border-radius:22px;bottom:calc(8px + env(safe-area-inset-bottom,0px))}
 .compact-page .chapter-nav a{min-width:0;min-height:44px;padding:4px 1px;gap:5px;font-size:.68rem;white-space:normal}
 .compact-page :is(input,select,textarea,button,a){scroll-margin-block:90px}
 .compact-page :is(h1,h2,p,address){overflow-wrap:break-word}
 .compact-home .home-welcome{flex:0 0 auto;padding:24px 20px;margin-top:10px}
 .compact-home .home-welcome-layout{gap:20px}
 .compact-home .home-welcome-heading{align-self:stretch}
 .compact-home .home-welcome-heading h1{font-size:clamp(1.8rem,7.5vw,2.15rem);line-height:1.12;letter-spacing:-.025em}
 .compact-home .home-welcome-heading .eyebrow{font-size:.6rem;line-height:1.6;margin-bottom:14px}
 .compact-home .home-welcome-copy .home-welcome-lead{font-size:1rem;line-height:1.5}
 .compact-home .home-welcome-copy p{font-size:.94rem;line-height:1.65}
 .compact-home .home-welcome-copy .button{width:100%;min-height:48px}
 .compact-home .hero-film{width:min(210px,70%);margin:0 auto}
 .compact-home .home-welcome-proof li{font-size:.82rem}
 .compact-home main>.question-band{flex:0 0 auto}
 .compact-home main>.question-band .question-band-inner{grid-template-columns:minmax(0,1fr);gap:14px;width:calc(100% - 40px);padding:22px 0}
 .compact-home main>.question-band .question-icon{display:none}
 .compact-home main>.question-band :is(.button,address){grid-column:1;max-width:100%;white-space:normal}
 .compact-home main>.question-band .button{width:100%;min-height:48px}
 .compact-home main>.question-band address{font-size:.85rem;overflow-wrap:anywhere}
 .compact-services .timeline{grid-template-columns:minmax(0,1fr);gap:14px}
 .compact-services .timeline article{padding:20px;gap:12px}
 .compact-services .timeline h3{font-size:.85rem;text-align:left;line-height:1.5}
 .compact-services .timeline p{font-size:.95rem;line-height:1.65}
 .compact-services .section-heading h1,.compact-services .service-situations h2{font-size:1.8rem}
 .compact-services :is(.service-situations,.service-situations-inner,.service-situations-grid){flex:0 0 auto}
 .compact-services .service-situations{padding-bottom:16px}
 .compact-services .service-situations-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
 .compact-services .service-situations-grid li{min-height:0;padding:16px;font-size:.93rem;line-height:1.6}
 .compact-contact .appointment.section{display:block;flex:0 0 auto;margin:0;padding:18px 16px}
 .compact-contact .appointment-form-area{display:block}
 .compact-contact .appointment-form{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:18px;padding:24px 20px;align-content:start}
 .compact-contact .appointment-form :is(.contact-field,.field-5,.field-6,.full,.button,.form-note){grid-column:1/-1;min-width:0}
 .compact-contact .appointment-form label{gap:7px}
 .compact-contact .appointment-form label>span{font-size:.74rem}
 .compact-contact .appointment-form :is(input,select,textarea){width:100%;min-width:0;max-width:100%;font-size:16px;min-height:48px;padding:12px}
 .compact-contact .appointment-form textarea{height:124px;min-height:124px}
 .compact-contact .appointment-form .button{min-height:48px;font-size:.9rem;white-space:normal}
 .compact-contact .form-heading h1{font-size:1.8rem;line-height:1.15}
 .compact-contact .form-note{font-size:.85rem;line-height:1.6}
 .compact-territories main{padding:22px 18px 0}
 .compact-territories .page-hero p:not(.eyebrow){font-size:.92rem;line-height:1.6}
 .compact-territories .territories-instruction{font-size:.8rem;line-height:1.5}
 .compact-territories .territories-directory.has-region-map{flex:0 0 auto}
 .compact-territories .two-banks .region-map{min-height:220px;flex:0 0 auto}
 .compact-territories .two-banks .region-map .region-tabs button{min-height:64px;padding:8px}
 .compact-territories .two-banks .region-panel{padding:18px 14px;gap:16px;flex:0 0 auto}
 .compact-territories .two-banks .district-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .compact-territories .two-banks .district-pick{min-height:48px;padding:10px 8px;font-size:.8rem;line-height:1.4;overflow-wrap:break-word}
 .compact-territories .two-banks .places-page{grid-template-columns:minmax(0,1fr);align-content:start;flex:0 0 auto}
 .compact-territories .two-banks .places-page li{font-size:.9rem;padding:12px;line-height:1.5}
 .compact-territories :is(.district-panels,.district-panel,.places-browser,.places-pages){flex:0 0 auto}
 .compact-territories .territories-outro{margin-top:16px;padding:18px 16px}
 .compact-territories .territories-outro p{font-size:.88rem;line-height:1.6}
 .compact-territories .places-controls button{width:44px;height:44px}
}

/* Vidéo panoramique sur téléphone, vidéo portrait conservée sur ordinateur. */
@media(max-width:700px){
 .compact-home .hero-film{width:100%;max-width:100%;margin:0}
 .compact-home .hero-film .intro-film{aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;border-radius:16px}
}

.mobile-film-toggle[hidden]{display:none}
@media(max-width:700px){
 .mobile-film-toggle{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #d8c6b1;border-radius:50%;background:#08233ae8;color:#fffdfa;font:700 17px/1 sans-serif;cursor:pointer;box-shadow:0 2px 10px #08233a22}
 .mobile-film-toggle:focus-visible{outline:3px solid #c1a684;outline-offset:3px}
}
