/* Header en row */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
  position: relative;
max-width:90%;
	margin:0 auto;
}

html {
  margin-top: 0 !important;
}

/* Icône à gauche */
.header-logo img {
  height: 40px;
  width: auto;
}

/* Menu par défaut (desktop) */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #C7C6C6;
  font-weight: 500;
  font-size: 22px!important;
}

nav ul li a:hover {
  color: #555;
}



/* Burger button (hidden by default) */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}

.burger div {
  width: 25px;
  height: 3px;
  background: #000;
}

/* Responsive */
@media (max-width: 650px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 30px;
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  nav ul.active {
    display: flex;
  }

  .burger {
    display: flex;
  }
}
.nav-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ========== SEARCH (SVG + animation) ========== */
.menu-search {
  position: relative;
  display: flex;
  align-items: center;
}

/* Bouton loupe */
.search-toggle {
    border: none;
    padding: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5;
    border-radius: 3px;
}

/* Couleur du SVG via currentColor */
.search-icon {
  fill: currentColor;
}

/* Form : on l'affiche "physiquement" mais invisible/fermé -> transition fluide */
.search-form {
  margin-left: 8px;
  overflow: hidden;

  max-width: 0;
  opacity: 0;
  transform: translateX(8px);

  transition: max-width 220ms ease, opacity 160ms ease, transform 220ms ease;
  pointer-events: none; /* évite clic quand fermé */
}

/* Ouvert */
.menu-search.active .search-form {
  max-width: 240px;  /* largeur animée */
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.search-form input[type="search"] {
  width: 220px; /* tu peux ajuster */
  border: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  outline: none;
}

.search-form input[type="search"]:focus {
  border-color: #aaa;
}

/* Accessibilité label */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* responsive */
@media (max-width: 650px) {
.menu-search{
    margin-left: 10px;
	}
}