#header {
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 30px;
  background: #0b1e33 !important;
  color: white;
  height: 140px;
  transition: background-color 0.3s ease, height 0.3s ease;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 1);
  height: 60px;
  padding: 30px;
}
#header.header-transparent {
  background: rgba(0, 0, 0, 0.6);
  height: 60px;
  padding: 30px;
  border-bottom: solid #13a6c2 2px;
}

#header a {
  color: #c7c7db !important;
}
#header.header-scrolled .logo img {
  padding: 10px;
  margin: 0px;
  height: 70px;
}
.iconMenu {
  color: white !important;
}
.nav-menu a {
  font-size: 15px !important;
}
.nav-menu .drop-down {
  position: relative;
}
.nav-menu .drop-down > ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(11, 30, 51, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 5px !important;
  min-width: 200px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;

  /* État caché (mais sans display:none) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* Animation propre et légère */
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease,
    visibility 0s linear 0.18s;

  z-index: 1000 !important;
  padding: 0 !important;
  margin: -5px 0 0 0 !important; /* compense border-top de 5px */
  border-bottom: 5px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 5px solid #e95e52 !important;
}
.nav-menu .drop-down > ul > li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nav-menu .drop-down > ul > li:last-child {
  border-bottom: none !important;
}
.nav-menu .drop-down:hover > ul,
.nav-menu .drop-down:focus-within > ul,
.nav-menu .drop-down > ul:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.nav-menu .drop-down > ul > li > a {
  display: block !important;
  padding: 10px !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  border-radius: 0 !important;
  gap: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nav-menu .drop-down > ul > li > a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: none !important;
}

.mobile-nav-toggle i {
  color: white !important;
  font-size: 40px;
}
.cc-link {
  font-size: 16px !important;
}
