.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo img {
  width: 100px;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.navigation ul li a {
  text-decoration: none;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.navigation ul li a:hover,
.navigation ul li a.active {
  color: var(--primary-color);
}

.actions a {
  text-decoration: none;
  color: #fff;
  background-color: var(--primary-color);
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

/* Bouton hamburger (caché sur desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .header .container {
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    z-index: 1100;
  }

  .logo {
    order: 1;
  }

  .actions {
    order: 2;
    margin-left: auto;
    margin-right: 14px;
  }

  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    padding: 90px 28px 28px;
    transition: right 0.3s ease;
    z-index: 1050;
  }

  .header.nav-open .navigation {
    right: 0;
  }

  .navigation ul {
    flex-direction: column;
    gap: 22px;
  }

  /* Animation hamburger -> croix */
  .header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 80px;
  }

  .actions a {
    padding: 11px 14px;
    font-size: 13px;
  }
}

