/* Shared mobile refinements: retain the approved desktop layouts and palette. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:767px){
 .sz-header-row{min-height:68px;padding:10px 16px;gap:12px}
 .sz-header-actions{gap:8px}
 .sz-header-actions>button{width:44px;height:44px}
 .sz-header-actions [role="group"] button{min-width:34px;min-height:40px;padding:8px}
 .sz-nav-mobile{max-height:calc(100dvh - 68px);overscroll-behavior:contain;padding-bottom:max(20px,env(safe-area-inset-bottom))}
 .sz-nav-mobile :is(a,summary){min-height:44px}
 .sz-nav-mobile summary{cursor:pointer}
 :root main :is(.sp-breadcrumb,.hm-kicker,.sp-kicker){line-height:1.65}
 :root .sp-actions{gap:14px 20px}
 :root :is(.sp-btn,.hm-btn,.tr-btn){min-height:48px;text-align:center}
 :root :is(.sp-link,.hm-text-link){min-height:44px;align-items:center}
 :root .sp-final-actions{width:100%;gap:18px}
 :root .sp-final-actions>.sp-btn{width:100%}
 :root main :is(section[id],article[id],h2[id],h3[id]){scroll-margin-top:92px}
 :root .julie-page :is(#projets,#projets-creatifs,#systemes-pedagogiques,#modelisation-3d,#atelier-artistique,.jp-card){scroll-margin-top:calc(var(--julie-header-height) + var(--julie-nav-height) + 18px)}
 :root .contact-page form :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px;line-height:1.5;max-width:100%}
 :root .contact-page form button[type=submit]{min-height:48px;width:100%;white-space:normal;line-height:1.5}
 :root .contact-page a[href*="calendly.com"]{min-height:48px;text-align:center;justify-content:center;line-height:1.5}
 :root .contact-page form textarea{min-height:156px}
 footer :is(p,a,li){overflow-wrap:anywhere}
 footer a{line-height:1.6}
 .entrepreneur-page .ep-table-wrap{position:relative;scrollbar-width:thin;scrollbar-color:#a7b69d #f0f2e9;overscroll-behavior-x:contain}
 .entrepreneur-page .ep-table-wrap::before{content:'Faites glisser pour lire le tableau ↔';position:sticky;left:0;display:block;box-sizing:border-box;width:100%;padding:12px 16px;background:#f0f2e9;color:#536157;font-size:12px;line-height:1.5}
 html[lang=en] .entrepreneur-page .ep-table-wrap::before{content:'Swipe to read the table ↔'}
 .entrepreneur-page table{font-size:13px;min-width:560px}
 .entrepreneur-page :is(th,td){padding:14px 16px}
 :root .hm-project-controls button{min-width:44px;min-height:44px}
 :root .jp-social-cover,:root .jp-model-visuals figure,:root .board-scene{isolation:isolate}
 :root .jp-model-visuals figure{min-width:0}
 :root .jp-model-copy>div{min-width:0}
}
@media(max-width:600px){
 :root .sp-actions>.sp-btn{width:100%}
 :root .sp-card .sp-link{padding-top:20px;line-height:1.6}
 :root .sp-card{border-radius:14px}
 :root .sp-final-actions>a:last-child{line-height:1.7}
 :root .sz-home .hm-projects-footer{gap:24px}
}
@media(max-width:360px){
 .sz-header-row>a>img{max-width:132px}
 .sz-header-row{gap:8px}
 :root .julie-page .julie-nav-caption{letter-spacing:0;gap:8px}
 :root .sp-btn,:root .hm-btn,:root .tr-btn{padding-inline:14px}
}
