/* Shared usability corrections validated for the 25 November webmaster review. */
html:root{position:static!important;inset:auto!important;height:auto!important;max-height:none!important;min-height:100%;overflow-x:clip!important;overflow-y:auto!important;scroll-padding-top:136px;scroll-behavior:smooth}
html:root body{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;min-height:100svh!important;overflow:visible!important;display:flex!important;flex-direction:column!important}
html:root .page-scroll{display:contents!important;position:static!important;inset:auto!important;overflow:visible!important;height:auto!important;max-height:none!important;scroll-behavior:auto}
html:root.expertise-modal-open,html:root.expertise-modal-open body{overflow:hidden!important}
html:root .page-scroll :is(#accueil,#domaines,#expertises,#presence-territoriale,#temoignages,#media,#contact){scroll-margin-top:0!important}
.punctuation-keep{white-space:nowrap;word-break:normal;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}
.portal-hero{margin-bottom:28px}.portal-hero .landing-contact-actions{margin:20px 0 18px}.portal-intro{padding:0;list-style:none;margin:0;color:#4b586c;font-size:16px;line-height:1.75}.portal-intro li{margin:4px 0}
.offer-hero-portrait{display:none}.offer-shortcuts{margin:32px 0;padding:24px;border:1px solid #e5e2da;border-radius:18px;background:#fff}.offer-shortcuts h2{margin:0 0 16px;font:700 22px/1.4 Inter,Arial,sans-serif}.offer-shortcuts ul{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;margin:0;padding:0}.offer-shortcuts a{color:#785916;font-weight:600;text-underline-offset:4px}
.guide-early-contact{clear:both;margin:24px 0}.guide-early-contact p{margin-bottom:10px}
#contact-form .consent{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;cursor:pointer;line-height:1.6}#contact-form .consent input{flex:0 0 22px;width:22px;height:22px;margin:2px 0;cursor:pointer;accent-color:#94702e}#contact-form .consent span{flex:1}
@media(min-width:1025px){
 .offer-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:36px;align-items:start;margin-bottom:32px}
 .offer-hero-copy{min-width:0}.offer-hero-portrait{display:block;width:250px;height:340px;object-fit:cover;object-position:center 35%;border-radius:20px;box-shadow:0 12px 32px #07172b1a}
 .article-main .article-content,.article-main .article-toc{max-width:784px;margin-left:auto;margin-right:auto}
 main p{max-width:720px}
}
@media(max-width:1024px){
 html:root{scroll-padding-top:max(96px,calc(env(safe-area-inset-top,0px) + 78px))}
 html:root body:has(> .mobile-cta){padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
 body > .mobile-cta.mobile-cta--landing{display:grid!important;grid-template-columns:1fr 1fr;position:fixed!important;inset:auto 0 0!important;width:100%!important;transform:none!important;z-index:65;padding-bottom:env(safe-area-inset-bottom,0px);background:#07172b;box-shadow:0 -1px #b79652}
 .mobile-cta--landing a{display:grid;place-items:center;min-height:56px;padding:4px 8px;color:#fff;font:700 14px/1.4 Inter,Arial,sans-serif;text-align:center;text-decoration:none}
 .mobile-cta--landing a+a{border-left:1px solid #627085}
 body:has(> .mobile-cta) > #cookie-consent{bottom:calc(64px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px));overflow:auto}
 .offer-hero-portrait{display:none!important}
}
@media(max-width:768px){
 main p,main li,.expertise-dialog-body p,.expertise-dialog-body li{text-align:left!important;text-align-last:auto!important}
 .article-content p,.article-content li,.article-intro,.penal-introduction>p,.expertise-dialog-body p,.expertise-dialog-body li{font-size:16px!important;line-height:1.8}
 .guide-early-contact{padding:16px}.guide-early-contact p{font-size:16px}.portal-intro{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html:root{scroll-behavior:auto}}
