@import url("./base.css");
/* **************************** header *********************************/



.header-top {
  width: 100%;
  display: flex;
  justify-content: end;
  height: 60px;
  background: var(--clr-orange);
  position: fixed;
  z-index: 300; /* plus élevé */
  top: 0;
}

.content-orange {
  padding-right: 30px;
  padding-left: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;

  overflow: visible;
}

.date-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: white;
}

.date-location .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.separator {
  color: rgba(255, 255, 255, 0.6);
}

.top-right {
  
  display: flex;
  align-items: center;
  
  gap: 30px;
 

  overflow: visible;
}


.subscription {
  display: flex;
  gap: 8px;
  align-items: center;
}

.subscription a {
  font-weight: 400;
  font-size: 14px;
  padding-right: 15px;
  transition: all 0.3s;

  color: white;
}

.subscription a.bd {
  border-right: 1px solid white;
}

.subscription a:hover {
  color: #013572;
}
.content-orange img {
  width: 50px;
}

@media screen and (max-width: 720px) {

}

@media screen and (max-width: 720px) {
  .content-orange {
    padding-right: 10px;
    padding-left: 10px;
    gap: 10px;
  }
  .subscription {
    gap: 12px;
  }
  .subscription a {
    padding-right: 0;
    font-size: 14px;
   
  }
  .subscription a.bd {
    border-right: none;
  }
  .language-selector .flag {
    width: 20px;
    height: 20px;
  }
 
}


@media screen and (max-width: 580px) {
  .subscription a {
    padding-right: 0;
    font-size: 12px;
   
  }
}

@media screen and (max-width: 450px) {
  .language-selector  {
display: none;
  }
  .subscription a {
    padding-right: 0;
    font-size: 12px;
   
  }
}

.header-bottom {
  height: 100px;
  background-color: #013572;
  position: fixed;
  z-index: 100; /* plus bas */
  width: 100%;
  margin-top: 60px;
  top: 0;
}

.header-bottom .container-head {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 40px;
}

.header-bottom .container-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  /* padding: 0 40px; */
}

.container-head .logo {
  background-color: white;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);

  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo img {
  width: 120px;
}

.navbar {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  text-decoration: none;
  padding: 8px;
  transition: color 0.3s;
  font-size: 15px;
  font-family: var(--ff-primary);
  color: white;
}

.lis {
  display: none;
}

.nav-list a:hover {
  color: #c68006;
}

header .btn {
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.btn.contact {
  background-color: white;
  color: #032246;
}

/* Responsive */
/* Hide burger button on desktop */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.mobile-menu .close-icon {
  display: none;
}

.mobile-menu.active .open-icon {
  display: none;
}

.mobile-menu.active .close-icon {
  display: block;
}

/* Navigation wrapper hidden by default on mobile */
.nav-wrapper {
  display: flex;
  gap: 20px;
}

/* --- Ajouts pour le responsive sans toucher au style desktop --- */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 28px;

  cursor: pointer;
}

/* Wrapper qui contient nav + actions */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 1368px) {
.nav-list a {
 
    font-size: 14px;
  }
  header .btn {
    padding: 8px 20px;
    font-size: 15px;
  }

  .nav-wrapper {
    gap: 10px;
  }

  .nav-list{
    gap: 10px;
  }
}


@media screen and (max-width: 1200px) {
  .subscription a {
    font-size: 14px;
  }
  .nav-list a {
    font-size: 13px;
  }
}

/* Responsive uniquement sous 1024px */
@media screen and (max-width: 1100px) {
  .mobile-menu {
    display: block;
  }

  .nav-wrapper {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #013572;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px 40px;
  }

  .nav-wrapper.active {
    display: flex;
  }

  .navbar {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    display: block;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    padding-left: 10px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .actions .btn {
    width: 100%;
  }

 
}

/* Responsive styles */
@media screen and (max-width: 1100px) {
  .mobile-menu {
    display: block;
  }

  .nav-wrapper {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
    z-index: 10;
  }

  .nav-wrapper.active {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    border: none;
    width: 100%;
    background: transparent;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    border: none;
    background-color: #f5f5f5;
  }

  .actions {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.language-selector {
  position: relative;
  margin-left: 20px;
  cursor: pointer;
  color: white;
  font-weight: 500;
  position: relative;
  z-index: 500;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-selector .flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
 
}

.language-selector .arrow {
  font-size: 12px;
}

/* Dropdown caché par défaut */
.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e1e1e;
  border-radius: 6px;
  padding: 10px 0;
  margin-top: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 900; /* au-dessus des deux */
  width: 130px;
}

.language-dropdown li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  cursor: pointer;
  color: white;
}

.language-dropdown li:hover {
  background: #333;
}

.language-dropdown img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}





@media screen and (max-width: 1100px) {
  .lis {
    display: inline-block;
  }
  .nones {
    display: none;
  }

}