/*
################################################################
       █████╗ ████████╗███████╗██╗     ██╗███████╗██████╗
      ██╔══██╗╚══██╔══╝██╔════╝██║     ██║██╔════╝██╔══██╗
      ███████║   ██║   █████╗  ██║     ██║█████╗  ██████╔╝
      ██╔══██║   ██║   ██╔══╝  ██║     ██║██╔══╝  ██╔══██╗
      ██║  ██║   ██║   ███████╗███████╗██║███████╗██║  ██║
      ╚═╝  ╚═╝   ╚═╝   ╚══════╝╚══════╝╚═╝╚══════╝╚═╝  ╚═╝
██████╗ ██╗   ██╗    ███╗   ███╗███████╗██████╗ ██╗     ███████╗
██╔══██╗██║   ██║    ████╗ ████║██╔════╝██╔══██╗██║     ██╔════╝
██║  ██║██║   ██║    ██╔████╔██║█████╗  ██████╔╝██║     █████╗
██║  ██║██║   ██║    ██║╚██╔╝██║██╔══╝  ██╔══██╗██║     ██╔══╝
██████╔╝╚██████╔╝    ██║ ╚═╝ ██║███████╗██║  ██║███████╗███████╗
╚═════╝  ╚═════╝     ╚═╝     ╚═╝╚══════╝╚═╝  ╚═╝╚══════╝╚══════╝
################################################################
 */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.sticky-header .row, .nonsticky-header .row {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.sticky-header .logo, .nonsticky-header .logo {
margin: 0 0 0 44px;
  width: auto;
  max-height: 200px;
  transition: all 0.3s ease;
}
.sticky-header.shrink .logo {
  transform: scale(0.6);
  width: auto;
  max-height: 160px;
}
.logoImg.shrink {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.sticky-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: -1;
}
.sticky-header.shrink::before {
  transform: translateY(0); /* Fond descend */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6); /* Ombre reste marquée pendant l'animation */
}
.sticky-header:not(.shrink)::before {
  transform: translateY(-100%); /* Le fond remonte hors de la vue */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0);
  transition: transform 0.4s ease-in-out 0.2s, box-shadow 0.4s ease-in-out 0.2s;
}

.sticky-header .main-nav, .nonsticky-header .main-nav, .sticky-header .main-navHover, .nonsticky-header .main-navHover {
  flex: 1;
  display: flex;
  justify-content: center;
}
.sticky-header .main-nav ul, .nonsticky-header .main-nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.sticky-header .main-nav li, .nonsticky-header .main-nav li, .sticky-header .main-navHover li, .nonsticky-header .main-navHover li {
  margin: 0 15px;
  position: relative;
}
.sticky-header .main-nav a, .nonsticky-header .main-nav a, .sticky-header .main-navHover a, .nonsticky-header .main-navHover a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
}
.sticky-header .main-nav li > ul, .nonsticky-header .main-nav li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  min-width: 180px;
}
.sticky-header .main-nav li.show > ul, .nonsticky-header .main-nav li.show > ul {
  display: block;
}
.sticky-header .main-nav li > ul li, .nonsticky-header .main-nav li > ul li {
  padding: 10px;
  background-color: green;
}
.sticky-header .main-nav li > ul li > ul, .nonsticky-header .main-nav li > ul li > ul {
  left: 100%;
  top: 0;
}
/* Styles de base du menu */
.top-bar, .top-bar ul {
  background-color: transparent !important;
  background: transparent !important;
  border: none;
  margin-bottom: 40px;
}
.top-bar ul ul {
  background-color: rgba(0, 0, 0, 0.809) !important;
}
.main-nav li.current a, .main-navHover li.current a {
    font-weight: bold;
    color: rgb(255, 222, 89);
}
.main-nav li a, .main-navHover li a {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.main-nav li a:hover, .main-navHover li a:hover {
    color: rgb(255, 222, 89);
}
.main-nav li a::before, .main-navHover li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgb(255, 222, 89);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease, width 0.3s ease;
}
.main-nav li:hover a::before, .main-navHover li:hover a::before {
    transform: scaleX(1);
    width: 100%;
}
.main-navHover ul li:hover a::before {
    transform: scaleX(0) !important;
    width: 0 !important;
    transition: none !important;
}
.main-nav li.current a::before {
    transform: scaleX(1);
    width: 100%;
}
.menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* dropdown Menu */
.title-bar {
  padding: 0.5rem;
  background: #0a0a0a;
  color: rgb(255, 222, 89);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex: 1;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: center !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hamburger-btn {
  color: rgb(255, 222, 89) !important;
  margin-right: 22px;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px;
  content: "";
  border-bottom-width: 0;
  border-color: #1779ba transparent transparent;
  right: 5px;
  left: auto;
  margin-top: -3px;
}
.dropdown.menu > li.is-active > a {
  background: transparent;
  color: rgb(255, 222, 89);
}
.menu .is-active > a {
  background: #1779ba;
}
.menu .active > a {
  background: #1779ba;
}
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
  border-color: rgb(255, 222, 89) transparent transparent;
}
.is-dropdown-submenu .is-dropdown-submenu-parent.opens-left > a::after {
  border-color: transparent rgb(255, 222, 89) transparent transparent;
}
.is-dropdown-submenu .is-dropdown-submenu-parent.opens-right > a::after {
  border-color: transparent transparent transparent rgb(255, 222, 89);
}
.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle) > a::after {
  border-color: rgb(255, 222, 89) transparent transparent;
  right: 0em;
}
/* dropdown Menu */
.floating {
    position: relative;
    width: 60%;
    margin: 80px auto;
}
.floating1, .floating2 {
    width: 100%;
    margin: 12px auto;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    background-color: rgba(0, 0, 0, 0.66) !important;
}
.floating a {
    text-decoration: none !important;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;

}
.is-shown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
&.is-shown{
display: block;
}
/* / Styles de base des sous-menus */
.mobile-nav li.current a {
    font-weight: bold;
    color: rgb(255, 222, 89);
}
.mobile-nav li a {
  position: relative;
  display: block;
  font-size: 1.2em;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  margin: 22px 0;
  padding: 22px 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-nav li a:hover {
    color: rgb(255, 222, 89);
}
.mobile-nav li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgb(255, 222, 89);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease, width 0.3s ease;
}
.mobile-nav li:hover a::before {
    transform: scaleX(1);
}
.mobile-navli.current a::before {
    transform: scaleX(1);
    width: 100%;
}
.mobile-nav li:hover a::before {
    transform: scaleX(1);
    width: 100%;
}
.mobile-nav ul {
  display: none; }
.mobile-nav.open ul {
  display: block; }
.mobile-nav li > ul {
  padding-left: 20px; }
.mobile-nav li > a {
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.mobile-nav ul {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.mobile-nav.open ul {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
  background-color: rgba(0, 0, 0, 0.637);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}
.hamburger-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
form input[type="search"] {
  display: inline-block;
  height: 40px;
  padding: 10px;
  font-size: 16px;
}
@media (max-width: 768px) {
  .hamburger-btn {
    display: inline-block ;
    color: #fff;
  }
  .sticky-header .logo, .nonsticky-header .logo {
    margin: 0;
  }
  .sticky-header .main-nav, .nonsticky-header .main-nav {
    display: none;
  }
  .sticky-header .mobile-nav.open, .nonsticky-header .mobile-nav.open {
    display: block;
  }
  .sticky-header .main-navHover li, .nonsticky-header .main-navHover li {
  margin: 0;
}
  .sticky-header {
    position: relative;
    box-shadow: none;
  }
  .floating {
  position: relative;
  width: 60%;
  margin: auto;
}
}
