/* ------------------------------
   Menu mobile (drawer) — PATCH ANIM
------------------------------ */
.mobile-menu{
  /* remplace l'ancien display:none/block pour permettre l'animation */
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  border-top:1px solid var(--line);
  background:#0a0a0a;
  padding:1rem 20px;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  will-change: opacity, transform;
}
.mobile-menu.open{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.mobile-menu nav a{
  display:block; padding:.7rem 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.mobile-menu nav a:last-child{ border-bottom:0 }
.lang-selector-mobile{
  display:flex; gap:.6rem; padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.06);
}
.lang-selector-mobile .lang-flag{ width:28px; height:28px }

/* Overlay (assombrit le fond quand menu ouvert) — PATCH */
#menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
#menu-overlay.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}