.menu-flottant {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 100;
  font-family: "Roboto", sans-serif;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  background: var(--or2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--or1);
  transform: scale(1.1);
}

.menu-toggle span {
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.menu-nav {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e1e8ed;
}

.menu-nav.active {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e1e8ed;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.menu-header h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
}

.menu-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.menu-close:hover {
  background: #e1e8ed;
  color: #2c3e50;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.menu-links li {
  border-bottom: 1px solid #f1f3f4;
}

.menu-links li:last-child {
  border-bottom: none;
}

.menu-links a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #1a1b4d;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  position: relative;
}

.menu-links a:hover {
  background: var(--or3);
  color: var(--noir2);
  padding-left: 25px;
}

.menu-links a.active {
  background: var(--or3);
  color: white;
  font-weight: 500;
}

.menu-links a.active:hover {
  background: var(--or2);
  color: white;
}

/* Animation smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Bouton retour en haut */
.btn-retour-haut {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--or2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.btn-retour-haut.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-retour-haut:hover {
  background: var(--or1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.btn-retour-haut span {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-flottant {
    left: 10px;
  }

  .menu-nav {
    left: 60px;
    min-width: 180px;
  }

  .btn-retour-haut {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .btn-retour-haut span {
    font-size: 18px;
  }
}
