.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gris-clair);
  transition: box-shadow 0.2s ease;
}


.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  display: none;
  gap: 24px;
}

.lien {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--gris-fonce);
  padding-bottom: 4px;
  transition: color 0.15s ease;
}

.lien::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--vert-fonce);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.lien:hover {
  color: var(--vert-fonce);
}

.lien:hover::after {
  transform: scaleX(1);
}

.lienActif {
  color: var(--vert-fonce);
  font-weight: 700;
}

.lienActif::after {
  transform: scaleX(1);
}

.actions {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.barre,
.barreOuverte {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gris-fonce);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.barreOuverte:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.barreOuverte:nth-child(2) {
  opacity: 0;
}
.barreOuverte:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Panneau mobile */
.panneau {
  max-height: 0;
  overflow: hidden;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-clair);
  transition: max-height 0.3s ease;
}

.panneauOuvert {
  max-height: 480px;
}

.navMobile {
  display: flex;
  flex-direction: column;
  padding: 8px 24px;
}

.lienMobile {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--gris-fonce);
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--gris-clair);
  border-left: 3px solid transparent;
  transition: color 0.15s ease, border-left-color 0.15s ease, background-color 0.15s ease;
}

.lienMobile:hover {
  color: var(--vert-fonce);
}

.lienMobileActif {
  color: var(--vert-fonce);
  font-weight: 700;
  border-left-color: var(--vert-fonce);
  background: var(--gris-clair);
}

.actionsMobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .actions {
    display: flex;
  }

  .burger {
    display: none;
  }

  .panneau {
    display: none;
  }
}

@media (max-width: 640px) {
  .inner {
    padding: 12px 16px;
  }
}
