.navbar {
  position: relative;
  width: 100%;
  height: 126px;
  padding: 0 !important;
}

.navbar .navbar_top {
  height: 76px;
  top: 0;
  position: absolute;
  width: 100%;
  border-bottom: 0.5px solid var(--bs-light);
  z-index: 99;
  background-color: #ffffff;
}

.navbar_bottom {
  display: flex;
  height: 50px;
  top: 76px;
  background-color: var(--bleunoir);
  position: absolute;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.navbar .navbar_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  top: 15px;
}

.navbar .logo-endemika {
  position: relative;
  width: 245px;
  height: 55px;
}

.navbar .logo-endemika_mobile {
  position: relative;
  height: 41px;
  object-fit: cover;
  display: none;
}

.navbar .menu_sup_nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 27px;
  position: relative;
  flex: 0 0 auto;
}

.navbar .picto_menu_sup {
  position: relative;
  width: 18px;
  height: 18px;
}

.navbar .text_menu {
  position: relative;
  width: 115px;
  font-family: var(--font-primary);
  color: #999999;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.navbar .text_menu:hover {
  color: var(--orangeocre);
}

.navbar .menu_sup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/*  Menu déroulant MON COMPTE actif */
.navbar .mon_compte {
  z-index: 999;
  position: relative;
  width: 200px;
  height: 40px;
  margin-right: -2px;
  background-color: #f8f8f8;
  border: solid 0.5px var(--bs-gray);
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
  -ms-border-radius: 20px !important;
  -o-border-radius: 20px !important;
  transition: all 0.4s ease;
}

.navbar .mon_compte:hover {
  border: solid 0.5px var(--marron);
  cursor: pointer;
}

.navbar .compte_user {
  position: absolute;
  height: 21px;
  top: 10px;
  left: 45px;
  font-family: "Poppins", Helvetica;
  font-weight: 600;
  color: var(--bleumarine);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.navbar .picto_user {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 7px;
  left: 10px;
}

.mon_compte {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: var(--noir);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  font-family: var(--font-primary);
  color: var(--blanctexte);
  top: 40px;
  border-radius: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--vertbanane);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  /* Rendre visible */
  visibility: visible;
}


.dropdown:hover .compte_user {
  background-color: #ffffff;
}

.navbar .main-menu {
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.navbar .menu_list {
  display: inline-flex;
  height: 26px;
  align-items: center;
  justify-content: center;
  gap: 21px;
  position: relative;
  padding: 24px 20px;
}

.navbar .menu_text {
  font-family: "Poppins", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  /* text-transform: uppercase; */
  min-width: 85px;
  /* Minimum size to avoid collapsing on mobile */
}

.navbar .menu_text:hover {
  color: var(--marron);
}

.navbar .menu_cta {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

/*CTA VOYAGE INITIAL*/
/* .navbar .trip_cta {
  display: flex;
  width: 240px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--vertturquoise);
} */

/*CTA SANS VOL EN ATTENDANT*/
.navbar .trip_cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 225px;
  height: 40px;
  padding: 0 20px;
  background-color: var(--vertturquoise);
  border-radius: 30px;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  overflow: hidden;
}

.navbar .trip_cta .cta-icon {
  position: absolute;
  left: 16px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: #fff !important;
}

.navbar .trip_cta .projet-voyage {
  margin-left: 8px;
}

.navbar .trip_cta:hover {
  background-color: var(--vertturquoise);
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 0;
}

.navbar .trip_cta:hover .cta-icon {
  opacity: 1;
  transform: translateX(0);
}




.navbar .flight_cta {
  display: flex;
  width: 200px;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background-color: var(--orangeocre);
}

.navbar .contact {
  display: flex;
  width: 200px;
  height: 50px;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  right: -76px;
  background-color: var(--vertbanane);
  transform: rotate(-90deg);
  top: 350px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.1);
  /* Couleur légère */
  transition: box-shadow 0.3s ease;
  /* Animation de transition */
  border-radius: 8px 8px 0% 0%;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-border-radius: 8px 8px 0% 0%;
  -moz-border-radius: 8px 8px 0% 0%;
  -ms-border-radius: 8px 8px 0% 0%;
  -o-border-radius: 8px 8px 0% 0%;
}

.navbar .contact:hover {
  box-shadow: 0 4px 80px rgba(0, 0, 0, 0.4);
}

.navbar .projet-voyage {
  position: relative;
  font-family: "Poppins", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  /* text-transform: uppercase; */
}

.navbar .reservez-un-vol {
  position: relative;
  font-family: "Poppins", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  text-transform: uppercase;
}

.navbar .btn-cta {
  position: relative;
  font-family: "Poppins", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  right: 0;
}


#burger {
  display: none;
  cursor: pointer;
}


/********************************* MEDIA QUERIE MAX WIDTH 1024px**********************/
@media screen and (max-width: 1024px) {

  .navbar .logo-endemika_mobile {
    display: block;
    margin-right: auto;
    left: 20px;
  }

  .navbar .logo-endemika {
    display: none;
  }

  #nav {
    position: relative;
    z-index: 99999;
  }

  .navbar .navbar_container {
    justify-content: space-between;
    width: 98%;
  }

  .navbar {
    height: 77px;
    position: fixed !important;
  }

  .navbar .mon_compte {
    display: block !important;

  }

  .navbar .logo-endemika {
    margin-right: auto;
    left: 20px;
  }

  .navbar.active ul {
    left: 0;
    height: 600px;
    position: absolute;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #burger {
    display: block;
    position: relative;
    right: 20px;
  }

  /* Picto Menu burger*/
  #burger::before {
    content: url(../img/BigMac.svg);
  }

  .active #burger::before {
    content: url(../img/CloseMenu.svg);
  }

  /* TOP MENU  ON MOBILE */
  /*Etat inactivé ul du Navbar UP*/
  .navbar .menu_sup_nav {
    position: fixed;
    left: -100%;
    top: 54px;
    transition: 0.25s;
    display: block;
    z-index: 9999;
    width: 100%;
    background-color: white;
    box-shadow: var(--neutral-shadow-01);
  }

  .navbar .menu_sup {
    display: flex;
    gap: 0;
    position: relative;
    top: 380px;
    margin: 0 50px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    left: 30%;
  }

  .navbar .text_menu {
    width: 300px;
    text-align: left;
    left: 20px;
    letter-spacing: 4px;
    border-bottom: solid 0.5px var(--gristrait);
    text-transform: uppercase;
  }

  .navbar .menu_text::after {
    content: url(../img/picto-next-1.svg);
    margin-left: 9px;
    position: absolute;
    right: 10px;
    top: 12px;
  }

  /*BOTTOM MENU ON MOBILE*/
  .navbar .navbar_bottom {
    height: 1px;
    background-color: var(--gristrait);
  }

  /*Etat inactivé ul du Navbar Bottom*/
  .navbar .menu_list {
    left: -100%;
    height: 50vh;
    transition: 0.25s;
    display: block;
    position: relative;
    width: 350px;
    top: 125px;
    z-index: 9999;
  }

  /*.navbar .menu_list li:hover {
  background-color: transparent;
  border-bottom: none; 
  padding: 0px 0px;
}
*/
  /*GRAND CTA SUR MOBILE*/
  /*Etat inactivé ul du Navbar CTA*/
  .navbar .menu_cta {
    position: fixed;
    left: -100%;
    top: 6%;
    flex-direction: column;
    width: 100%;
    height: 50vh;
    transition: 0.25s;
  }

  .navbar .trip_cta,
  .navbar .flight_cta {
    margin-bottom: 10px;
    width: 350px;
  }

  .navbar .contact {
    position: relative;
    margin-bottom: 10px;
    width: 350px;
    align-items: center;
    border-radius: 0px;
    transform: rotate(0deg);
    left: 0;
    top: 160px;
  }

  /*Etat activé ul du Navbar CTA + .navbar.active ul à la ligne 222*/
  .navbar .menu_cta {
    top: 245px;
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 99999;
  }

  .navbar .vertical-line-h15 {
    display: none;
  }

  .navbar .menu_text {
    position: relative;
    font-size: 1rem;
    width: 350px;
    border-bottom: 1px solid var(--gristrait);
    padding: 10px 10px;
    color: var(--noir);
    top: -100px;
    left: 0;
  }

  .navbar .main-menu {
    flex-direction: column;
  }

  .vertical-line-h20 {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  .navbar .menu_sup {
    left: 0;
    width: 75%;
  }

  .navbar .compte_user {
    left: 60px;
  }

  .navbar .mon_compte {
    width: 300px !important;
  }

  .navbar .navbar_container {
    gap: 60px;
  }

  .language-switcher {
    display: none;
  }

}

/********************************* MEDIA QUERIE MENU MOBILE 1024px**********************/
/*=================== GÉNÉRAL ===================*/
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #003344; /* Couleur foncée */
  padding: 1rem;
  position: absolute;
  top: 76px;
  left: 0;
  width: 100%;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

/* Liens du menu mobile */
.mobile-menu a {
  padding: 1rem;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-family: var(--font-primary);
}

/*=================== BOUTONS CTA ===================*/
.btn-projet,
.btn-vol,
.btn-contact {
  margin-top: 1rem;
  padding: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: block;
  color: #ffffff !important;
}

.btn-projet {
  background: var(--vertturquoise);
}

.btn-vol {
  background: var(--orangeocre);
}

.btn-contact {
  background: var(--vertbanane);
}

/* Infos en bas */
.mobile-info {
  margin-top: 2rem;
}

.mobile-info a {
  text-decoration: none !important;
  color: #ffffff !important;
}

.mobile-info div {
  display: flex;
  align-items: center;
  color: #ffffff;
}


/*=================== MENU TOGGLE BUTTON ===================*/
.menu-toggle-container {
  display: none;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  background: url('../img/BigMac.svg') center center no-repeat;
  background-size: contain;
  border: none;
  cursor: pointer;
  display: none;
}

.menu-toggle.open {
  background-image: url('../img/CloseMenu.svg');
}

/*=================== RESPONSIVE ===================*/
@media screen and (max-width: 1024px) {
  .menu-toggle-container {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .navbar_bottom,
  .menu_sup_nav,
  .mon_compte,
  .language-switcher {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  .navbar .compte_user {
    left: 45px;
  }
}
