/* ---------- MENU SITE ---------- */
.menu-site {
  position: fixed;
  top: 0;
  width: 100%;
  font-family: 'Gilroy', sans-serif;
  background: rgba(121,159,172,0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  font-size: 14pt;
  z-index: 100;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}

.menu-site strong {
  font-family: 'Gilroy Bold', sans-serif;
}

.nomartiste {
  cursor: pointer;
  display: block;
}

.nomartiste:hover {
  filter: invert(1);
}

/* Texte menu */
.menu-texte {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.menu-texte:hover {
  color: var(--noir);
}

nav a.menu-texte {
  display: inline-block;
  margin-left: 1.5rem;
  font-weight: 500;
}

/* ICONES DE NAVIGATION */
.nav-icons {
  display: flex;
  align-items: center;
}

.nav-icons a {
  margin-left: 1.6rem;
  font-size: 1.6rem;
  color: var(--blanc);
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-icons a:hover {
  color: var(--noir);
  /*transform: scale(1.2);*/
}

/* BURGER MENU */
.burger {
  display: none; /* caché par défaut, affiché sur mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 101;
}

.burger span {
  width: 100%;
  height: 3px;
  background: var(--blanc);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* BURGER ANIMATION */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-principal {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

  header.menu-site {
    display: flex;
    justify-content: space-between; /* logo à gauche, burger au centre, icônes à droite */
    align-items: center;
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    background: rgba(121,159,172,0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
  }

  /* Logo mobile plus petit à gauche */
  header.menu-site a.menu-nomartiste {
    display: block !important;
    flex-shrink: 0; /* ne pas rétrécir */
  }

  header.menu-site a.menu-nomartiste img.nomartiste {
    content: url('../images/logo-blanc-mobile.png'); /* logo mobile */
    height: 30px;  /* ajustable */
    width: auto;
  }

  /* Burger centré */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 101;
    order: 0; /* au milieu */
    margin: 0 auto; /* centre horizontalement */
  }

  .burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Icônes à droite */
  .nav-icons {
    display: flex;
    align-items: center;
    order: 1;
  }

  /* Menu principal caché par défaut sur mobile */
  .menu-principal {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(121,159,172,0.95);
    padding: 1rem 0;
    z-index: 99;
    transition: all 0.3s ease;
  }

  .menu-principal.active {
    display: flex;
  }

  .menu-principal a {
    width: 100%;
    text-align: center;
  }
}
