.menu-bar {
  border-radius: 15px;
  display: inline-flex;
  background: rgba(27, 228, 235, 0.2);
  align-items: center;
  padding: 30px 45px;
  margin-top: 30px;
  justify-content: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-bar:hover {
  background: rgba(27, 228, 235, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

.menu-bar li {
  list-style: none;
  color: white;
  font-family: 'Libre Baskerville', serif;
  font-weight: 600;
  font-size: clamp(14px, 1vw, 20px);
  padding: 0 1vw;
  margin: 0 10px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.menu-bar li i {
  margin-right: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.menu-bar li:hover i {
  transform: translateY(-2px);
}

.menu-bar li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: all 0.3s ease;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  opacity: 0;
}

.menu-bar li:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Animation de survol */
.menu-bar li::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-bar li:hover::after {
  width: 80%;
}

.menu-bar li a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-bar {
    padding: 0 15px;
    height: 60px;
    display: none;
  }

  .menu-bar li {
    font-size: 16px;
    padding: 0 15px;
    margin: 0 5px;
  }

  .menu-bar li i {
    font-size: 16px;
  }
}