/* --- MENU PRINCIPAL GUDE --- */
.gude-menu-wrapper {
  width: 85vw;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 20px; /* Ajout d'espace en haut pour faire descendre la navbar */
  z-index: 50;
  margin: 0 auto;
  padding-top: 10px; /* Ajout d'un padding interne en haut */
}
.gude-menu-wrapper .container-custom {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 12vh; /* Augmentation de la hauteur de 10vh à 12vh */
  padding-bottom: 10px; /* Ajout d'un padding en bas */
}
#gude-menu-burger {
  display: none;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#gude-menu-burger svg {
  width: 28px;
  height: 28px;
  color: #22223b;
  transition: transform 0.3s ease;
}

/* Styles pour le logo */
.gude-menu-logo {
  display: flex;
  align-items: center;
}

.gude-menu-logo img {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  max-height: 5rem;
}

.gude-menu-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 6px rgba(223, 107, 34, 0.2));
}

#gude-menu-burger:hover svg {
  transform: scale(1.1);
  color: #DF6B22;
}
/* #gude-main-menu {
  width: 100%;
} */
.menu.menu--level-1 {
  display: flex;
  flex-direction: row;
  gap: 2px;
  align-items: center;
  font-weight: 600;
  font-size: 1.08rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__item {
  position: relative;
}
.menu__link,
.menu--level-2 .menu__link,
.menu__link.menu__link--active-trail,
.menu__link:hover {
  color: #222 !important;
}
.menu__link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #DF6B22;
  transition: width 0.3s;
  position: absolute;
  left: 18px;
  bottom: 6px;
}
.menu__link:hover::after, .menu__link.menu__link--active-trail::after {
  width: calc(100% - 36px);
}
.menu__item--has-children > .menu__link::after {
  right: 18px;
  /* Ajout d'une petite flèche pour indiquer un sous-menu */
  content: '▾';
  display: inline-block;
  margin-left: 4px;
  font-size: 0.8em;
  vertical-align: middle;
}
.menu__item .menu--level-2 {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
}
.menu__item:hover > .menu--level-2,
.menu__item:focus-within > .menu--level-2 {
  display: block;
}
.menu--level-2 .menu__link {
  padding: 10px 20px;
  color: #22223b;
  border-radius: 0;
  background: none;
}
.menu--level-2 .menu__link:hover {
  background: #f7f7f7;
  color: #DF6B22;
}
.menu__link {
  display: block;
  padding: 10px 18px;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

@media screen and (min-width: 2000px) {
  .menu.menu--level-1 {
    gap: 22px;
  }
}
/* --- Responsive --- */
@media (max-width: 991px) {
  #gude-menu-burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #gude-main-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 100;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    animation: slideDown 0.3s ease-in-out;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  #gude-main-menu.open {
    display: block !important;
  }
  .menu.menu--level-1 {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 0 16px;
  }
  .menu__link {
    width: 100%;
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .menu__item:last-child .menu__link {
    border-bottom: none;
  }
  .menu__link::after {
    bottom: 8px;
  }
  .menu__item .menu--level-2 {
    position: static;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0 16px;
    background: none;
    margin-top: 5px;
    margin-bottom: 10px;
    border-left: 2px solid #DF6B22;
  }
  .menu--level-2 .menu__link {
    padding: 8px 0;
    font-size: 0.95rem;
  }
}

/* Styles pour les écrans entre 992px et 1366px */
@media (min-width: 992px) and (max-width: 1366px) {
  .menu.menu--level-1 {
    gap: 16px;
  }
  .menu__link {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
} 