	/* ===== LEFT MENU ===== */
.left-menu {
  width: 280px;
  max-width: 80vw;
  background: radial-gradient(circle at top left,
      #b08a3c 0%,
      #8f6b2d 55%,
      #6f5322 100%);
  color: #f5e6c6;
  font-family: "Georgia", serif;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 4px 0 25px rgba(0,0,0,0.25);
}

/* Menu fermé */
.left-menu.closed {
  transform: translateX(-100%);
}

/* Logo */
.side-menu-logo {
  text-align: center;
  margin-bottom: 25px;
}

.side-menu-logo img {
  width: 160px;
  max-width: 70%;
  filter: drop-shadow(0 0 8px rgba(255,220,150,0.5));
  transition: transform 0.3s ease;
}

.side-menu-logo img:hover {
  transform: scale(1.06);
}

/* Dividers */
.side-menu-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffe3a1, transparent);
  margin: 20px 0;
  border: none;
}

/* Sections titles */
.left-menu h2,
.left-menu h3 {
  color: #ffe3a1;
  margin: 15px 0 10px;
  font-weight: 600;
  font-family: "Cinzel", serif;
}

/* Menu links */
.left-menu a {
  display: block;
  padding: 8px 12px;
  color: #f5e6c6;
  text-decoration: none;
  font-size: 0.95em;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.left-menu a:hover {
  background: rgba(255, 235, 160, 0.15);
  color: #fff7d9;
  box-shadow: 0 0 6px rgba(255,220,150,0.45);
}

/* Indentation optional for sub-links */
.left-menu h3 + a,
.left-menu h2 + a {
  padding-left: 18px;
}

/* Scrollbar custom (optional, subtle gold) */
.left-menu::-webkit-scrollbar {
  width: 6px;
}

.left-menu::-webkit-scrollbar-thumb {
  background: rgba(255,220,150,0.4);
  border-radius: 3px;
}

.left-menu::-webkit-scrollbar-track {
  background: transparent;
}

/* Responsive mobile: menu plus léger */
@media (max-width: 768px) {
  .left-menu {
    width: 240px;
  }

  .side-menu-logo img {
    width: 140px;
  }

  .left-menu a {
    font-size: 0.9em;
  }
}

/* --- Bouton doré d’ouverture du menu --- */

.left-menu-toggle-gold {
  position: fixed;
  top: 40px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4d0 0%, #f0c974 45%, #d6a94f 85%);
  border: 2px solid rgba(255, 240, 190, 0.65);
  color: #5c3d00;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  box-shadow:
      0 0 12px rgba(255, 220, 150, 0.7),
      0 0 22px rgba(255, 210, 120, 0.55),
      inset 0 0 10px rgba(255, 255, 255, 0.35),
      inset 0 0 18px rgba(255, 220, 150, 0.25);
  transition: left 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
}

.left-menu-toggle-gold:hover {
  transform: scale(1.07);
  box-shadow: 0 0 16px rgba(214,177,105,0.7),
              inset 0 0 10px rgba(255,255,255,0.45);
}
#left-menu-toggle {
  z-index: 1000000 !important;
  transition: left 0.35s ease;
}
#left-menu-toggle.open {
  left: 260px;
}

@media (max-width: 900px) {
  #left-menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
  }
}
/* ===== Sous-menus repliables ===== */

.left-menu h3 {
  cursor: pointer;
  position: relative;
  padding-right: 22px;
}

/* Icône flèche */
.left-menu h3::after {
  content: "▸";
  position: absolute;
  right: 0;
  top: 0;
  color: #ffe3a1;
  font-size: 1em;
  transition: transform 0.25s ease;
}

/* Section ouverte */
.left-menu h3.open::after {
  transform: rotate(90deg);
}

/* Conteneur des liens d’une section */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  margin-bottom: 6px;
}

/* Liens à l’intérieur d’un sous-menu */
.submenu a {
  padding-left: 28px;
  font-size: 0.92em;
}

/* Section ouverte */
.submenu.open {
  max-height: 2000px; /* suffisant pour sections longues */
}