/* Overlay noir en fondu */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99998;
}
#menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Menu mobile (offcanvas à droite) */
.elementor-nav-menu--dropdown {
  position: fixed !important;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 340px;
  margin-top: 0px !important;
  height: 100vh;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 99999 !important;
}

/* quand la classe is-open est ajoutée (via JS) */
.elementor-nav-menu--dropdown.is-open {
  transform: translateX(0);
}

/* ===== Bouton de fermeture du menu mobile ===== */
.menu-close-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin: 24px auto 12px;
  font-size: 26px;
  font-weight: 400;
  color: #0c2cb3;
 /* background: rgba(255,255,255,0.9); 
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15); */
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.menu-close-btn:hover {
  transform: scale(1.08);
  background: #fff;
}

header.site-header,
header.elementor-location-header {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}


