/* ===== MENU BURGER (mobile-first) ===== */

/* Défilement doux + marge d'ancre sous la nav fixe */
html { scroll-behavior: smooth; }
.scroll-target { scroll-margin-top: 80px; }

/* Barre de navigation */
.site-nav{
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(252, 248, 242, 0.8); /* #FCF8F2 avec blur */
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Marque */
.site-nav .brand{
  font-family: 'Libre Bodoni', serif;
  letter-spacing: 2px;
  font-size: 20px;
  color: #666;
  text-decoration: none;
}

/* Bouton burger (visible mobile) */
.burger{
  z-index: 10;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: none; background: transparent; cursor: pointer;
}
.burger span{
  display: block;
  width: 22px; height: 2px;
  background: #333; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger span:nth-child(2){ margin: 5px 0; }

/* Animation burger -> croix quand ouvert */
.site-nav.open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-nav.open .burger span:nth-child(2){ opacity: 0; }
.site-nav.open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Menu (mobile: panel caché par défaut) */
.menu-links{
  list-style: none; margin: 0; padding: 0;
  position: fixed; inset: 60px 0 0 0; /* sous la barre */
  display: none;                       /* caché par défaut */
  transform: translateY(-100%);        /* prêt pour l’anim */
  transition: transform .3s ease;
  flex-direction: column;
  gap: 0;                               /* PAS d’écart entre éléments */
}

/* Ouvert (mobile) */
.site-nav.open .menu-links{
  display: flex;
  transform: translateY(0);
}

/* Chaque entrée = ligne pleine largeur, sans arrondi ni espace */
.menu-links li{
  width: 100%;
  margin: 0;
  border-radius: 0;
  background-color: rgba(180, 138, 58, 1); /* doré clair */
  transition: background-color .25s;
  border-bottom: 1px solid wheat;
}

/* Zone cliquable large */
.menu-links a{
  display: block;
  width: 100%;
  padding: 18px 20px;                  /* hauteur des lignes */
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}

.menu-links li:hover{
  background-color: rgba(122, 0, 44, 0.9);    /* bordeaux foncé au hover */
}
.menu-links li:hover a{
  color: #fff;
}

body.no-scroll{ overflow: hidden; }

/* ===== Desktop ≥ 900px ===== */
@media (min-width: 900px){
  .burger{ display: none; }
  .menu-links{
    position: static;
    display: flex;                /* visible en desktop */
    transform: none;              /* pas d’animation */
    background: transparent;
    flex-direction: row;
    gap: 24px;
  }
  .menu-links li{
    background: transparent;      /* pas de fond par item en desktop */
  }
  .menu-links a{
    padding: 0 12px;              /* padding horizontal léger en desktop */
    color: #333;
  }
  .menu-links li:hover{
    background: transparent;
  }
  .menu-links li:hover a{
    color: #7a002c;               /* bordeaux sur hover desktop */
  }
}
