/* Shared usability improvements; original palette and photographs retained. */
html { scroll-padding-top: 100px; }
body { overflow-wrap: break-word; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 200; padding: 14px 20px; border-radius: 10px; background: #e8c979; color: #0a2d50; font-weight: 700; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #e8c979; outline-offset: 4px; }
.service-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.service-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.service-nav .call-link { background: #e8c979; color: #0a2d50; white-space: nowrap; }
.photo-trigger { display: block; width: 100%; padding: 0; border: 0; background: #0a2845; color: inherit; cursor: zoom-in; overflow: hidden; }
.photo-trigger img { display: block; }
.photo-trigger:focus-visible { outline-offset: -5px; }
.compare { touch-action: pan-y; }
.compare .range, .city-compare .range { margin: 0; padding: 0; border: 0; touch-action: pan-y; }
.compare:focus-within, .city-compare:focus-within { outline: 3px solid #e8c979; outline-offset: -4px; }
body.gallery-is-open { overflow: hidden; }
dialog.lightbox { position: fixed; inset: 0; width: fit-content; max-width: 96vw; height: fit-content; max-height: 94dvh; margin: auto; padding: 58px 12px 12px; border: 1px solid #d8b56a; border-radius: 18px; background: #071f36; color: #fff; overflow: auto; }
dialog.lightbox:not([open]) { display: none; }
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
dialog.lightbox img { display: block; min-width: 0; max-width: calc(96vw - 28px); max-height: calc(94dvh - 85px); width: auto; height: auto; object-fit: contain; }
dialog.lightbox .close { top: 7px; right: 10px; }
.form-privacy { margin: 0 0 16px; color: #c8d3de; font-size: 13px; line-height: 1.65; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.form-status:empty { margin: 0; }
.form-status[data-state="error"] { padding: 12px; border: 1px solid #f1ba9e; border-radius: 10px; color: #ffe2d1; background: rgba(85, 24, 10, .25); }
.form-status[data-state="success"] { color: #cdf2d4; }
.form-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.mobile-contact { display: none; }
@media (max-width: 700px) {
  body:has(.mobile-contact) { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-contact { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(216, 181, 106, .4); background: #071f36; box-shadow: 0 -6px 24px #0003; }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 8px; border: 1px solid #d8b56a; border-radius: 12px; color: #e8c979; font: 700 13px/1.35 Arial, sans-serif; text-align: center; }
  .mobile-contact a:last-child { background: #e8c979; color: #0a2d50; }
  .topbar { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .service-nav { justify-content: flex-start; gap: 8px; }
  .service-nav .back { font-size: 13px; padding: 9px 12px; }
  .contact-grid input, .contact-grid textarea { font-size: 16px; }
  .contact-grid > *, .local-hero-grid > * { min-width: 0; }
  .contact-grid .devis-title span { white-space: normal; }
  #intervention-dialog .city-links { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .reviews-track .review-card { flex-basis: 88%; }
  .reviews-track .review-card blockquote { font-size: 16px; }
  .reviews-track .review-meta strong { font-size: 14px; }
  .reviews-track .review-origin, .reviews-track .review-service { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
