/* MEDIA QUERIES */

@media not all and (min-width: 1536px) {
    :root {
        --wp--custom--wrapper--padding: 90px !important;
    }
}
  
@media not all and (min-width: 1280px) {
    :root {
      --wp--custom--wrapper--padding: 80px !important;
      --wp--preset--font-size--48: 36px !important;
      --wp--preset--font-size--44: 32px !important;
      --wp--preset--font-size--40: 28px !important;
      --wp--preset--font-size--36: 24px !important;
      --wp--preset--font-size--30: 22px !important;
    }
    .menu-item-has-children {
      height: 44px !important;
    }
    .menu-item-has-children.active {
      height: 230px !important;
    }
}
  
@media not all and (min-width: 1024px) {
    :root {
      --wp--custom--wrapper--padding: 60px !important;
      --wp--custom--wrapper--gap: 60px !important;
    }
}
  
@media not all and (min-width: 769px) {
    :root {
      --wp--custom--wrapper--padding: 40px !important;
      --wp--custom--wrapper--gap: 40px !important;
      --wp--preset--font-size--48: 28px !important;
      --wp--preset--font-size--44: 24px !important;
      --wp--preset--font-size--40: 24px !important;
      --wp--preset--font-size--36: 18px !important;
      --wp--preset--font-size--30: 18px !important;
      --wp--preset--font-size--28: 24px !important;
    }
    .sous-header p {
      display: none !important;
    }
    .menu-item-has-children.active {
      height: 206px !important;
    }
}
  
@media not all and (min-width: 640px) {
    :root {
      --wp--custom--wrapper--padding: 20px !important;
    }
    .menu-item {
      font-size: 28px !important;
    }
    .sub-menu .menu-item  {
      font-size: var(--wp--preset--font-size--28);
    }
}

/* GENERAL */

html {
    scroll-behavior: smooth;
}

a[href^="#"] {
  scroll-padding-top: 136px;
}

p:empty {
    display: none;
}

img {
	height: 100% !important;
}

.font-bai {
  font-family: "Bai Jamjuree";
}

/* HEADER */

.banner-header {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25)
}

.logo-header {
  fill: #030405;
  transition: fill 0.3s ease-out;
}

.logo-header:hover {
  fill: #E2523F;
}

.icon-burger div{
  background: #030405;
  transition: width 0.3s ease-out, background 0.3s ease-out;
}

.icon-burger div:nth-child(1) {
  width: 30px;
}

.icon-burger div:nth-child(2) {
  width: 37px;
}

.icon-burger div:nth-child(3) {
  width: 47px;
}

.icon-burger:hover div {
  background: #E2523F;
}

.icon-burger:hover div:nth-child(1) {
  width: 47px;
}

.icon-burger:hover div:nth-child(3) {
  width: 30px;
}

/* NAV MENU */

.nav-menu {
  position: fixed;
  z-index: -1000;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  opacity: 0;
  background: #030405;
}

.menu-closed {
  opacity: 0;
  z-index: -1000;
  pointer-events: none;
  transition: height 0.3s ease-out, opacity 0.4s ease-out;
}

.menu-opened {
  opacity: 1;
  z-index: 1000;
  transition: height 0.3s ease-out, opacity 0.6s ease-out;
}

.icon-cross {
  fill: #FCFCFC;
  transition: fill 0.3s ease-out;
}

.icon-cross:hover {
  fill: #E2523F;
}

.menu-item {
  color: #FCFCFC;
  font-family: var(--wp--preset--font-family--bai-jamjuree);
  font-size: var(--wp--preset--font-size--40);
  text-transform: uppercase;
  transition: color 0.3s ease-out;
}

.sub-menu .menu-item , .menu-item-472 .menu-item{
  font-size: var(--wp--preset--font-size--28) !important;
  text-transform: capitalize;
}

.sub-menu .menu-item {
  opacity: 0;
}

.menu-item-has-children svg {
  stroke : #FCFCFC;
  transform: rotate(0deg);
  transition: stroke 0.3s ease-out, transform 0.3s ease-out;
}

.menu-item:hover , .current-menu-item , .current-menu-ancestor{
  color: #E2523F;
}

.menu-item:hover svg , .current-menu-item svg, .current-menu-ancestor svg {
  stroke: #E2523F;
}

.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item-has-children {
  position: relative;
  height: 60px;
  align-items: baseline !important;
  transition: height 0.3s ease-out 0.5s;
}

.menu-item-has-children .sub-menu {
  pointer-events: none;
}

.menu-item-has-children.active .sub-menu {
  pointer-events: visible;
}

.menu-item-has-children.active {
  height: 250px;
  transition: height 0.3s ease-out;
}

.menu-item-has-children.active svg {
  transform: rotate(180deg);
}

@keyframes subMenuOpening {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes subMenuClosing {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* FOOTER */

.lien-footer p, .lien-footer {
  color: #030405;
  transition: color 0.3s ease-out;
}

.lien-footer:hover p , .lien-footer:hover{
  color: #E2523F;
}

/* CUSTOM BTN */

.custom-btn-1 , .custom-btn-2 , .custom-btn-3 {
  display: block;
  width: max-content;
  padding: 12px 24px;
  border-radius: 360px;
  font-family: "Bai Jamjuree";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.48px;
}

.custom-btn-1 {
  color: #FCFCFC;
  background: #E2523F;
  transition: background 0.3s ease-out;
}

.custom-btn-1:hover {
  background: #B94536;
}

.custom-btn-2 {
  background: rgba(0,0,0,0);
  color: #030405;
  border: solid 1px #030405;
  transition: background 0.3s ease-out;
}

.custom-btn-2:hover {
  background: #B3B4B4;
}

.custom-btn-3 {
  background: #FCFCFC;
  color: #E2523F;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.custom-btn-3:hover {
  background: #E6E6E6;
  color: #030405;
}

/* MISCELANEOUS */

.logo-partenaires {
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}

.logo-partenaires:hover {
  transform: scale(1);
}

.lien-blanc , .lien-blanc-rouge {
  color: #FCFCFC;
  transition: color 0.3s ease-out;
}

.lien-blanc:hover {
  color: #E2523F;
}

.lien-blanc-rouge:hover {
  color: #030405;
}

/* HERO */

.img-hero {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.img-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero {
  aspect-ratio: 16/9;
  left: 50% !important;
  top: 50% !important;
  transform: translatex(-50%) translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

.video-section {
  aspect-ratio: 16/9;
  left: 50% !important;
  top: 50% !important;
  transform: translatex(-50%) translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  min-width: 113% !important;
  min-height: 100% !important;
}

/* CARTE WP MAPS */

.ol-control {
  top: auto !important;
  bottom: .5em !important;
}

.wpgmza_map {
  height: 100%;
}

/* SLIDER INFINITE */

@keyframes animSliderInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.anim-slider-infinite {
  animation: animSliderInfinite linear 26s infinite;
}

.anim-slider-infinite-60 {
  animation: animSliderInfinite linear 60s infinite;
}

/* CARTE BETON */

.carte-beton .hover-carte {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.carte-beton:hover .hover-carte {
  opacity: 1;
}

.img-carte {
  position: relative;
  z-index: 1;
}

.img-carte::after {
  position: absolute;
  content: '';
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 19, 19, 0.10) 0%, rgba(20, 19, 19, 0.70) 100%);
}

.lien-contact a{
  color: #FCFCFC;
  transition: color 0.3s ease-out;
}

.lien-contact:hover a{
  color: #E2523F;
}

/* MENTIONS LEGALES */

.netdev-mentions-legales h2 {
  padding-top: 40px;
  padding-bottom: 20px;
}

.netdev-mentions-legales a {
  font-weight: 700;
  color: #FCFCFC;
  transition: color 0.3s ease-out;
}

.netdev-mentions-legales a:hover {
  color: #E2523F;
}

/* SWIPER RECRUTEMENT */

.swiper-button-next::after {
  display: none;
}
