/* ═══════════════════════════════════════════════════
   MENU MOBILE — v2
   ═══════════════════════════════════════════════════ */

#mob-btn { display: none; }
#mob-nav { display: none; }

@media (max-width: 620px) {

  /* ── Bouton hamburger fixe ── */
  #mob-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000000000;
  }

  #mob-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
  }

  #mob-btn.open span:nth-child(1) { transform: translateY(12.5px) rotate(45deg); }
  #mob-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  #mob-btn.open span:nth-child(3) { transform: translateY(-12.5px) rotate(-45deg); }

  /* ── Overlay plein écran ── */
  #mob-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(2, 12, 20, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 1999999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #mob-nav.open { opacity: 1; pointer-events: all; }

  /* ── Liste ── */
  #mob-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    text-align: center;
    width: 100%;
  }

  #mob-nav ul li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mob-nav.open ul li                { opacity: 1; transform: translateY(0); }
  #mob-nav.open ul li:nth-child(1)   { transition-delay: 0.05s; }
  #mob-nav.open ul li:nth-child(2)   { transition-delay: 0.10s; }
  #mob-nav.open ul li:nth-child(3)   { transition-delay: 0.15s; }
  #mob-nav.open ul li:nth-child(4)   { transition-delay: 0.20s; }
  #mob-nav.open ul li:nth-child(5)   { transition-delay: 0.25s; }
  #mob-nav.open ul li:nth-child(6)   { transition-delay: 0.30s; }
  #mob-nav.open ul li:nth-child(7)   { transition-delay: 0.35s; }
  #mob-nav.open ul li:nth-child(8)   { transition-delay: 0.40s; }

  #mob-nav ul li a {
    display: block;
    padding: 14px 20px;
    font-family: "Chelsea Market", sans-serif;
    font-size: 26px;
    color: var(--light);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
  }

  #mob-nav ul li a:hover,
  #mob-nav ul li.current-menu-item a {
    color: var(--green);
    background: rgba(23, 254, 184, 0.1);
  }

  #mob-nav ul li ul { display: none !important; }

  body.mob-open { overflow: hidden; }

  nav#nav-main,
  #nav-trigger { display: none !important; }

}
