/* Preserve the original design; these rules support semantic, server-rendered HTML. */
[hidden] { display: none !important; }
img { height: auto; }
.hero-image img { aspect-ratio: 2 / 3; }
@media (max-width: 900px) { .hero-image { width: 100%; flex: none; } }
/* Intrinsic HTML dimensions must not widen the small review badges. */
.google-review-header img { width: auto; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10001; padding: 12px 18px; background: #fff; color: #111827; border: 2px solid #2563eb; border-radius: 8px; }
.skip-link:focus { top: 12px; }
/* Content never depends on an observer or JavaScript to become visible. */
.fade-section, .service-section { opacity: 1; transform: none; }
.zone-details-btn, .zone-close { text-decoration: none; }
.zone-close { color: #111827; line-height: normal; }
.zone-modal { max-height: 90vh; overflow-y: auto; }
.zone-details-btn { display: inline-block; }
.intervention-zone-list .zone-details-item { padding: 0; margin-bottom: 0; }
.intervention-zone-list .zone-details-item::before { display: none; }
.zone-modal h2.sr-only { margin: -1px; }
.contact-form .form-status { margin: 0; }
.contact-form .form-status ul { padding-left: 20px; }
#formulaire { scroll-margin-top: 140px; }
.burger .menu-close { display: none; }
.burger[aria-expanded="true"] .menu-open { display: none; }
.burger[aria-expanded="true"] .menu-close { display: block; }
.fallback-menu { display: none; }
@media (max-width: 768px) {
    .fallback-menu { display: block; }
    .fallback-toggle { list-style: none; cursor: pointer; font-size: 22px; }
    .fallback-toggle::-webkit-details-marker { display: none; }
    .fallback-menu .nav-mobile { position: absolute; left: 0; right: 0; top: 100%; }
}
body.modal-open { overflow: hidden; }
:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.not-found { max-width: 900px; margin: 0 auto; padding: 180px 24px 100px; min-height: 65vh; text-align: center; }
.not-found p { margin: 24px 0; }
.not-found .btn { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A first-party facade keeps map scripts and cookies out of the initial load. */
.map-facade { position: relative; height: 360px; }
.map-placeholder { height: 100%; display: grid; place-items: center; padding: 28px; background: #eef4ef url('/assets/service-area.svg') center / cover no-repeat; }
.map-load-card { width: min(300px, 100%); padding: 19px 20px; background: rgba(255,255,255,.96); border: 1px solid #d9e2e2; border-radius: 12px; box-shadow: 0 5px 20px #263d4c12; text-align: center; }
.map-load-card strong { display: block; font-size: 14px; color: #23384c; margin-bottom: 12px; }
.map-load-button { border: 0; border-radius: 6px; background: #2563eb; color: #fff; padding: 11px 17px; font: 600 13px system-ui,sans-serif; cursor: pointer; }
.map-load-card p { color: #586b7b; font-size: 11px; line-height: 1.6; margin: 12px 0 8px; }
.map-load-card a { color: #1d4ed8; font-size: 12px; }
.map-load-status { display: block; font-size: 11px; color: #596d80; margin-top: 7px; }
.map-load-status:empty { display: none; }
.map-facade > iframe { display: block; position: absolute; inset: 0; height: 100%; width: 100%; background: #eef4ef; border: 0; }
.map-facade.is-loading .map-load-button { opacity: .7; cursor: wait; }
.map-facade.map-frame-loaded .map-placeholder { visibility: hidden; }
.map-facade.is-loading > iframe { visibility: hidden; }
@media (max-width: 900px) { .map-facade { height: 300px; } .map-placeholder { padding: 21px; } }

/* Keep the desktop mark centered, with sizing controlled by the stylesheet. */
.logo-image-slot { display: block; position: relative; flex: 0 0 84px; width: 84px; height: 56px; }
.logo-image-slot .logo-img { position: absolute; left: 50%; top: 50%; width: auto; height: 95px; transform: translate(-50%, -50%); filter: drop-shadow(0 11.7px 27.3px rgba(0,0,0,.18)); }
/* Hidden animation must not consume rendering work on the initial viewport. */
.partners-track { animation: none; }
.partners.is-active .partners-track { animation: scrollPartners 45s linear infinite; }
@media (max-width: 768px) {
    .header { padding: 0 16px; }
    .header-container { padding: 12px 0; gap: 12px; }
    .logo { gap: 8px; min-width: 0; }
    .logo-image-slot { flex: 0 0 32px; width: 32px; height: 44px; }
    .logo-image-slot .logo-img { position: static; display: block; width: 100%; height: 100%; object-fit: contain; transform: none; filter: none; }
    .logo-text { font-size: clamp(16px, 4.5vw, 20px); white-space: nowrap; }
    .burger { flex: 0 0 44px; width: 44px; height: 44px; }
}
