/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  left: 0; 
  top: 0;
  width: 64px;
  height: 100vh;
  border-right: 1px solid #0032FF;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  z-index: 10001;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  position: relative;
  transition: all 0.3s ease;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0032FF;
  transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
  transform-origin: center;
}

/* Animation du burger button */
.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.sidebar-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0032FF;
}

.sidebar-lang .lang-link {
  text-decoration: none;
  color: #0032FF;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
}

.sidebar-lang .lang-link:hover {
  opacity: 1;
}

.sidebar-lang .lang-link.active {
  opacity: 1;
  background: #0032FF;
  color: #fff;
  border-radius: 3px;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #0032FF;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
  }

  .sidebar-logo {
    width: 32px;
    height: 32px;
  }

  .burger-btn {
    order: 2;
  }

  .sidebar-lang {
    margin-left: auto;
    flex-direction: row;
    gap: 8px;
    font-size: 10px;
  }

  .sidebar-lang .lang-link {
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .sidebar-lang {
    font-size: 9px;
  }

  .sidebar-lang .lang-link {
    padding: 3px 6px;
  }
}
