.bottom-nav {
  /* Mobile: fixed en bas */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--menu-bg);
  height: 5.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1rem;
  padding-block: 1rem;
  border-top-left-radius: 1.875rem;
  border-top-right-radius: 1.875rem;
  z-index: 100;
}

/* Desktop: position normale dans le flux, sous le header */
@media (min-width: 768px) {
  .bottom-nav {
    position: static;
    height: 3.5rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(106, 62, 235, 0.1);
    background: white;
    justify-content: center;
    gap: 2rem;
    padding-block: 0;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--menu-text-inactive);
  font-size: 0.65rem;
  font-weight: 500;
  transition: all 0.2s;
  flex: 1;
  height: 100%;
  cursor: pointer;
  border-radius: 1rem;
}

/* Desktop: items horizontaux et compacts */
@media (min-width: 768px) {
  .nav-item {
    flex-direction: row;
    flex: 0;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    font-size: 0.875rem;
    height: auto;
  }
}

.nav-item:not(.active, :hover) {
  /*color: var(--menu-text-inactive);*/
  color: var(--text-dark);
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.25rem;
}

/* Desktop: icônes plus petites */
@media (min-width: 768px) {
  .icon-container {
    width: auto;
    height: auto;
  }
  
  .icon-container svg {
    width: 18px;
    height: 18px;
  }
}

.nav-item.active {
  background-color: #ffffff;
  border-radius: 1rem;
  color: var(--menu-text-active);
  font-weight: 600;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(106, 62, 235, 0.1);
}

/* Desktop: style actif différent */
@media (min-width: 768px) {
  .nav-item.active {
    background-color: var(--menu-bg);
    box-shadow: none;
  }
}
