/* AIM17 – FIX scroll + interactions (mobile)
   Ce fichier est chargé sur petits écrans (scroll activé).
   Ajout V3: rendre les hotspots du plan interactif cliquables (z-index + pointer-events).
*/

/* 1) Réactiver le scroll global sur petits écrans */
html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* 2) Neutraliser les wrappers qui bloquent souvent le scroll */
#page, #wrapper, #wrap, #container, #content,
.wrapper, .wrap, .container, .content, .main, main,
.site, .site-content, .page, .page-content, .layout, .app, .root {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 3) Sections “plein écran” */
.section, .hero, .fullheight, .fullscreen, .vh, .screen {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* 4) Plan interactif: hotspots toujours au-dessus de l'image */
body[data-page="plan-interactif"] .pi-map { position: relative !important; }
body[data-page="plan-interactif"] .pi-map-img {
  pointer-events: none !important; /* laisse passer les clics vers les hotspots */
}
body[data-page="plan-interactif"] .pi-hotspot {
  z-index: 10 !important;
  pointer-events: auto !important;
}
