/* 16/10/2026 — échelle tactile commune, matières propres à chaque univers.
 * Chargé en dernier ; les compositions ordinateur restent inchangées. */
.mobile-action-icon{display:none}
@media(max-width:900px){
 :root{--nav-height:108px}
 :root[data-theme] .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 44px;height:var(--nav-height);padding:7px 12px;gap:6px 12px}
 :root[data-theme] .site-header .wordmark{grid-column:1;grid-row:1;min-height:44px;align-items:center;font-size:1.35rem}
 :root[data-theme] .site-header .brand-name{font-size:1.35rem}
 :root[data-theme] .site-header .brand-name small{font-size:.47em;letter-spacing:.1em}
 .header-actions{grid-column:2;grid-row:1;display:flex;width:auto;gap:8px;margin-right:104px}
 :root[data-theme] .site-header .header-cta{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;max-width:none;padding:10px;gap:0}
 :root[data-theme] .site-header .header-cta>span,:root[data-theme] .site-header .header-cta>.direction-icon{display:none}
 :root[data-theme] .site-header .header-cta>.mobile-action-icon{display:block;width:22px;height:22px;padding:0;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;background:none;border:0;box-shadow:none;border-radius:0}
 :root[data-theme] .site-header>nav{grid-row:2;grid-column:1/-1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:44px;justify-content:stretch;width:100%;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;font-size:.75rem}
 :root[data-theme] .site-header>nav::-webkit-scrollbar{display:none}
 :root[data-theme] .site-header>nav a{grid-column:auto!important;min-width:0;min-height:44px;padding:5px 3px;white-space:normal;text-align:center;font-size:.75rem;line-height:1.3;overflow-wrap:anywhere;hyphens:auto}
 :root[data-theme] .hero-content{padding-top:calc(var(--nav-height) + 24px)}
 :root[data-theme="studio"] .hero-content{padding-top:calc(var(--nav-height) + 24px)}
 :root[data-theme] .hero-cta{font-size:.75rem;min-height:44px;line-height:1.5}
 :root[data-theme="studio"] .hero-actions .hero-cta{max-width:65%;font-size:.75rem;padding:10px 13px;gap:8px}
 :root[data-theme] .hero-cta .direction-icon{width:22px;height:22px;flex:none}
 :root[data-theme] .icon-button{min-width:44px;min-height:44px;width:44px;height:44px}
 :root[data-theme] .icon-button svg{width:20px;height:20px}
 :root[data-theme] .theme-lab .dock-tools button{min-width:44px;min-height:44px;font-size:.7rem;padding:6px 8px}
 :root[data-theme] .theme-lab #dock-collapse{width:44px;min-width:44px;flex:0 0 44px}
 :root[data-theme] .theme-lab #dock-position,:root[data-theme] .theme-lab #effects-open{font-size:.7rem;padding:6px 8px}
 :root[data-theme] .theme-lab .dock-tools svg{width:16px;height:16px;flex:none}
 :root[data-theme] .theme-lab .accent-options>button{min-width:44px;min-height:44px;font-size:.72rem}
 :root[data-theme] .theme-lab:is([data-dock="left"],[data-dock="right"]){width:158px;max-height:calc(100dvh - var(--nav-height) - 120px);top:calc(var(--nav-height) + (100dvh - var(--nav-height) - 108px)/2);overflow-x:hidden;padding:8px;gap:6px}
 :root[data-theme] .theme-lab:is([data-dock="left"],[data-dock="right"]) .theme-options>button{min-height:48px;font-size:.72rem;gap:7px;padding:5px;flex-direction:row}
 :root[data-theme] .theme-lab:is([data-dock="left"],[data-dock="right"]) .theme-swatch{width:32px;height:32px;flex:none}
 :root[data-theme] .theme-lab:is([data-dock="left"],[data-dock="right"]) .dock-tools{flex-wrap:wrap;justify-content:center}
 :root[data-theme] .theme-lab[data-dock="top"]{max-height:calc(100dvh - var(--nav-height) - 24px)}
 :root[data-theme] .theme-lab[data-collapsed="true"]{width:max-content}
 .assistant-launch{min-height:44px;width:44px;height:44px;padding:10px;right:64px;top:7px;bottom:auto;gap:0;z-index:61}
 .assistant-launch span{display:none}
 .assistant-launch svg,.language-bubble svg{width:20px;height:20px;flex:none}
 .language-bubble{right:12px;top:7px;bottom:auto;z-index:61}
 .language-bubble summary{width:44px;height:44px;min-height:44px;padding:10px;justify-content:center;gap:0;font-size:0}
 .language-bubble nav{top:calc(100% + 8px);bottom:auto;max-height:calc(100dvh - var(--nav-height) - 24px)}
 .language-bubble [data-language]{font-size:.8rem}
 .assistant-panel{right:12px;top:calc(var(--nav-height) + 8px);bottom:12px;width:calc(100% - 24px);max-width:390px;max-height:calc(100dvh - var(--nav-height) - 20px)}
 .assistant-heading{padding:12px;gap:8px}
 .assistant-heading h2{font-size:1rem;line-height:1.3}
 .assistant-heading button,.assistant-suggestions button,.assistant-clear{min-height:44px;min-width:44px}
 .assistant-suggestions{padding:6px 12px;gap:6px}
 .assistant-suggestions button,.assistant-clear{font-size:.75rem;padding:8px}
 .assistant-disclosure{font-size:.72rem;padding:8px 12px}
 #assistant-form{padding:8px 12px}
 input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important}
 .contact-address,.request-fallback a,.solidarity-link{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
 .site-footer a,.site-footer button{min-width:44px;min-height:44px;display:inline-flex;align-items:center}
 .site-footer{padding-bottom:130px}
}
@media(max-width:600px){
 :root{--page-pad:clamp(16px,4.5vw,24px)}
 :root:is([data-theme="studio"],[data-theme="editorial"]) .hero{min-height:calc(100svh - 200px)}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]){display:grid;grid-template-columns:auto minmax(0,1fr);padding:8px;gap:6px;width:calc(100% - 24px)}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .theme-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .theme-options>button{min-width:0;min-height:64px;padding:4px 2px;gap:4px;font-size:.72rem;line-height:1.25;flex-direction:column;justify-content:center}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .theme-swatch{width:36px;height:32px;flex:none}
 :root[data-theme] .theme-lab .accent-options{width:132px;max-width:100%;flex-wrap:wrap;justify-content:center;gap:0;padding:0;min-width:0}
 :root[data-theme] .theme-lab .accent-options>button{width:44px;min-width:44px;padding:5px 4px;font-size:.7rem;justify-content:center}
 :root[data-theme] .theme-lab .accent-options>button::before{display:none}
 :root[data-theme] .theme-lab .dock-tools{justify-content:flex-end;gap:4px}
 :root[data-theme] .theme-lab:not(:has(.accent-options:not([hidden]))) .dock-tools{grid-column:1/-1;justify-content:center}
 :root[data-theme] .theme-lab[data-collapsed="true"]{display:flex;width:max-content}
 :root[data-theme] .theme-lab[data-collapsed="true"] .theme-options{display:none}
 :root[data-theme] .hero-description{font-size:.95rem;line-height:1.5}
 :root[data-theme="studio"] .hero-description{font-size:.88rem;max-width:70%}
 :root[data-theme] .hero-footer{font-size:.6rem;line-height:1.5}
 .estimate-fields,.solidarity-fields{gap:12px}
 .offer-card{padding:16px;gap:12px}
 .offer-card>p,.offer-card li{font-size:.88rem;line-height:1.7}
 .offer-card .offer-scope,.offer-disclaimer{font-size:.8rem;line-height:1.6}
}
@media(max-width:370px){
 :root[data-theme] .site-header{padding-inline:8px;column-gap:6px}
 :root[data-theme] .site-header .brand-name{font-size:1.25rem}
 .header-actions{margin-right:96px;gap:4px}
 .assistant-launch{right:56px}
 .language-bubble{right:8px}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .theme-options>button{min-height:52px;padding:3px 2px;gap:2px}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .theme-swatch{width:30px;height:26px}
 :root[data-theme] .site-header>nav{display:flex!important;gap:4px}
 :root[data-theme] .site-header>nav a{flex:1 0 auto;padding:5px 9px;white-space:nowrap}
 :root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .accent-options,:root[data-theme] .theme-lab:is([data-dock="original"],[data-dock="top"],[data-dock="bottom"]) .dock-tools{grid-column:1/-1;justify-content:center}
}
@media(max-width:400px){:root[data-theme] .site-header>nav a{font-size:.72rem;padding-inline:2px}}
@media(min-width:601px) and (max-width:900px){:root[data-theme="studio"] .hero{min-height:calc(100svh - 230px)}}
@media(max-width:600px) and (max-height:700px){:root:is([data-theme="studio"],[data-theme="editorial"]) .hero{min-height:560px}}
@media(max-width:900px) and (max-height:500px){
 .assistant-panel{top:8px;bottom:8px;max-height:calc(100dvh - 16px);z-index:65;overflow:auto}
 .assistant-heading{padding:8px 12px}
 .assistant-heading p,.assistant-disclosure,.assistant-suggestions{display:none}
 .assistant-log{min-height:60px;max-height:none}
 .language-bubble nav{max-height:calc(100dvh - 120px)}
 :root[data-theme] .theme-lab:is([data-dock="left"],[data-dock="right"]){top:calc(var(--nav-height) + 8px);transform:none;max-height:calc(100dvh - var(--nav-height) - 20px)}
}
@media(max-width:900px) and (max-height:700px){.assistant-panel{top:8px;bottom:8px;max-height:calc(100dvh - 16px);z-index:65}}

/* 16/10/2026 — contrôle des quatre modes : géométrie hors barre uniquement. */
@media(max-width:900px){
 :root[data-theme] .contact>.button .direction-icon,:root[data-theme] .solidarity-proposal>summary .direction-icon{width:32px;height:32px;padding:6px;flex:none}
}
@media(max-width:600px){
 :root[data-theme] .hero-footer>span{font-size:.65rem;line-height:1.5;overflow-wrap:anywhere}
}
@media(max-width:340px){
 :root[data-theme] .site-header .brand-name{font-size:1.1rem}
 :root[data-theme] .site-header .wordmark{gap:.2rem}
}

@media(max-width:370px){:root[data-theme] .site-header>nav a{min-width:44px}}

@media(min-width:901px) and (max-width:1000px) and (max-height:500px){
 :root[data-theme] .icon-button{min-width:44px;min-height:44px;flex-shrink:0}
 .site-footer a,.site-footer button{min-width:44px}
 :root[data-theme] .contact>.button .direction-icon,:root[data-theme] .solidarity-proposal>summary .direction-icon{width:32px;height:32px;padding:6px;flex:none}
}
