/* Naturhome — bandeau de navigation commun
   À charger APRÈS /assets/optimisations.css sur toutes les pages. */

header#header{
  position:sticky !important;
  top:0; left:0; right:0;
  z-index:200;
  background:rgba(247,243,237,.97) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(122,158,126,.28) !important;
  box-shadow:0 6px 24px rgba(43,43,40,.055);
  transition:box-shadow .25s ease, background .25s ease;
}
header#header.scrolled{
  background:rgba(247,243,237,.985) !important;
  box-shadow:0 8px 28px rgba(43,43,40,.085);
}

header#header .header-inner{
  max-width:1440px;
  height:84px;
  margin:0 auto;
  padding:0 3rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

/* Logo dédié au bandeau : version sans la baseline, plus lisible */
header#header .logo-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  line-height:0;
  padding:0;
  color:inherit !important;
}
header#header .logo-brand img{
  width:clamp(205px,18vw,265px);
  height:auto;
  max-height:54px;
  object-fit:contain;
}

header#header nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.15rem;
}
header#header .nav-item{position:relative}
header#header .nav-link{
  position:relative;
  display:block;
  padding:.72rem .78rem;
  font-family:'Jost',sans-serif;
  font-size:.70rem;
  font-weight:500;
  letter-spacing:.115em;
  text-transform:uppercase;
  color:#4a4a42 !important;
  white-space:nowrap;
  transition:color .2s ease;
}
header#header .nav-link::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:.35rem;
  width:0;
  height:1px;
  background:#c9a96e;
  transform:translateX(-50%);
  transition:width .22s ease;
}
header#header .nav-link:hover,
header#header .nav-link.active{color:#5a7d5e !important}
header#header .nav-link:hover::after,
header#header .nav-link.active::after{width:22px}

header#header .cart-btn{
  min-width:48px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  margin-left:.45rem;
  padding:0 .85rem;
  border-radius:999px;
  border:1px solid rgba(122,158,126,.32) !important;
  background:rgba(255,255,255,.42) !important;
  color:#5a7d5e !important;
  font-size:.76rem;
  box-shadow:none;
  transition:all .2s ease;
}
header#header .cart-btn:hover{
  background:#7a9e7e !important;
  color:white !important;
  border-color:#7a9e7e !important;
  transform:translateY(-1px);
}

header#header .dropdown{
  top:calc(100% + 8px);
  background:#fdfcf9;
  border:1px solid rgba(122,158,126,.18);
}

/* Le header est désormais sticky et reste dans le flux : pas de vide artificiel en haut. */
.hero{padding-top:0 !important}

header#header .burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:.55rem}
header#header .burger span{width:23px;height:1.5px;background:#4a4a42 !important}

@media(max-width:1100px){
  header#header .header-inner{padding:0 1.7rem}
  header#header .nav-link{padding:.72rem .55rem;font-size:.66rem}
  header#header .logo-brand img{width:205px}
}

@media(max-width:900px){
  header#header .header-inner{height:72px;padding:0 1.25rem}
  header#header nav{display:none !important}
  header#header .burger{display:flex !important}
  header#header .logo-brand img{width:180px;max-height:44px}

  .mobile-menu{
    top:72px !important;
    height:calc(100dvh - 72px);
    inset-inline:0;
    bottom:0;
    background:#2b2b28;
    padding:2rem 1.6rem 3rem;
    justify-content:flex-start;
    overflow:auto;
  }
  .mobile-menu a{
    font-family:'Cormorant Garamond',serif;
    font-size:1.9rem;
    border-bottom:1px solid rgba(181,205,184,.24);
  }
}

@media(max-width:480px){
  header#header .logo-brand img{width:158px}
}
