/* MEDIA QUERIES */

@media not all and (min-width: 1537px) {}

@media not all and (min-width: 1281px) {
  :root {
    --wp--custom--wrapper--px: 80px !important;
    --wp--custom--wrapper--py: 80px !important;
    --wp--custom--wrapper--gap: 60px !important;
  }
}

@media not all and (min-width: 1025px) {
  :root {
    --wp--custom--wrapper--px: 60px !important;
    --wp--custom--wrapper--py: 40px !important;
    --wp--custom--wrapper--gap: 40px !important;
    --wp--preset--font-size--48: 40px !important;
    --wp--preset--font-size--44: 32px !important;
    --wp--preset--font-size--36: 28px !important;
    --wp--preset--font-size--24: 20px !important;
  }

  .menu-mobile {
    width: 100vw !important;
  }
}

@media not all and (min-width: 769px) {
  :root {
    --wp--custom--wrapper--px: 20px !important;
    --wp--custom--wrapper--gap: 40px !important;
  }
}

@media not all and (min-width: 641px) {
  :root {
    --wp--preset--font-size--40: 24px !important;
  }

  .wpgmza-initialized {
    height: 260px !important;
  }
}

@media not all and (min-width: 350px) {
	.btn-pt-2 {
		display: none !important;
	}
}

/* GENERAL */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

p:empty {
  display: none;
}

:root {
  --dark-blue: var(--wp--preset--color--custom-dark-blue);
  --light-blue: var(--wp--preset--color--custom-light-blue);
  --yellow: var(--wp--preset--color--custom-yellow);
  --green: var(--wp--preset--color--custom-green);
  --white: var(--wp--preset--color--custom-white);
  --purple: var(--wp--preset--color--custom-purple);
  --px: var(--wp--custom--wrapper--px);
  --py: var(--wp--custom--wrapper--py);
  --gap: var(--wp--custom--wrapper--gap);
  --raleway: var(--wp--preset--font-family--raleway);
  --onest: var(--wp--preset--font-family--onest);
}

.font-raleway {
  font-family: var(--raleway);
}

.font-onest {
  font-family: var(--onest);
}

/* HEADER */

.div-header {
  border-bottom: solid 1px;
  transition: border-bottom 0.3s ease-out;
}

html[data-scroll="0"] .div-header {
  border-color: rgba(0, 0, 0, 0);
}

html:not([data-scroll="0"]) .div-header , body.error404 .div-header, body.page-id-23 .div-header {
  border-color: var(--dark-blue);
}

.logo-header {
  fill: var(--dark-blue);
  transition: fill 0.3s ease-out;
}

.logo-header:hover {
  fill: var(--light-blue);
}

.logo-footer {
  fill: var(--dark-blue);
  transition: fill 0.3s ease-out;
}

.logo-footer:hover {
  fill: var(--light-blue);
}

.link-header {
  color: var(--white);
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.link-header:hover {
  opacity: 0.6;
}

.burger-left,
.burger-right {
  width: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icon-burger {
  display: flex;
  gap: 4px;
  align-items: center;
  opacity: 1;
  transition: gap 0.3s ease-out, opacity 0.3s ease-out;
}

.icon-burger:hover {
  gap: 0px;
  opacity: 0.6;
}

/* MENU MOBILE */

.menu-mobile {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  width: calc(100vw - 400px);
  height: 100dvh;
  transform: translateX(100%);
  transition: height 0.3s ease-out, transform 0.6s ease-out;
}

.menu-closed {
  transform: translateX(100%);
}

.menu-opened {
  transform: translateX(0%);
}

.nav-desktop {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-blue) var(--white);
}

.menu-item a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: var(--raleway);
  color: var(--dark-blue);
  font-size: var(--wp--preset--font-size--40);
  font-weight: 600;
  line-height: normal;
  transition: color 0.3s ease-out;
}

.menu-item a:hover,
.current-menu-item a {
  color: var(--light-blue);
}

.menu-item .arrow-menu-item {
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom left;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.menu-item:hover .arrow-menu-item,
.current-menu-item .arrow-menu-item {
  opacity: 1;
  transform: scale(1);
}

.close-menu-text {
  writing-mode: vertical-rl;
}

.icon-cross {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.icon-cross .shape-cross {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1);
  transition: transform 0.4s ease-out;
}

.icon-cross:hover .shape-cross {
  transform: scale(0.8);
}

.icon-cross .shape-pt-1 {
  transform: translateY(3px);
  transition: transform 0.4s ease-out;
}

.icon-cross .shape-pt-2 {
  transform: translateY(-3px);
  transition: transform 0.4s ease-out;
}

.icon-cross:hover .shape-pt-1 {
  transform: translateY(6px);
}

.icon-cross:hover .shape-pt-2 {
  transform: translateY(-6px);
}


/* FOOTER */

.link-footer svg {
  fill: var(--dark-blue);
  transition: fill 0.3s ease-out;
}

.link-footer:hover svg {
  fill: var(--light-blue);
}

.link-footer .link-footer-p {
  color: var(--dark-blue);
  transition: color 0.3s ease-out;
}

.link-footer:hover .link-footer-p {
  color: var(--light-blue);
}

/* CUSTOM BTN */

.custom-btn, .btn-envoi-form {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.custom-btn .btn-pt-1{
  height: 55px;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--onest);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.8px;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.custom-btn-header .btn-pt-1 {
  transition: all 0.3s ease-out;
}

html[data-scroll="0"] .custom-btn-header .btn-pt-1 {
  color: var(--dark-blue);
  background: var(--white);
}

html:not([data-scroll="0"]) .custom-btn-header .btn-pt-1, body.error404 .custom-btn-header .btn-pt-1, body.page-id-23 .custom-btn-header .btn-pt-1 {
  color: var(--white);
  background: var(--dark-blue);
}

.custom-btn-1 .btn-pt-1,
.btn-envoi-form .btn-pt-1 {
  color: var(--white);
  background: var(--dark-blue);
}

.custom-btn-2 .btn-pt-1 {
  color: var(--dark-blue);
  background: var(--white) !important;
}

.custom-btn .btn-pt-2 {
  height: 55px;
  width: 55px;
  min-width: 55px;
  transform: translateX(0);
  background: var(--light-blue);
  transition: transform 0.3s ease-out;
}

.custom-btn:hover {
  opacity: 0.6;
}

.custom-btn:hover .btn-pt-2 {
  transform: translateX(-12px);
}

/* LINKS BRANCHES */

.link-aph svg, .link-aph p , .link-mth svg, .link-mth p, .link-mhm svg, .link-mhm p, .link-hts svg, .link-hts p {
    transition: all 0.3s ease-out;
}

.link-aph svg, .link-mth svg, .link-mhm svg, .link-hts svg {
  fill: var(--dark-blue);
}

.link-aph:hover svg {
  fill: var(--yellow);
}

.link-mth:hover svg {
  fill: var(--light-blue);
}

.link-mhm:hover svg {
  fill: var(--green);
}

.link-hts:hover svg {
  fill: var(--purple);
}

.link-aph p, .link-mth p , .link-mhm p, .link-hts p {
  color: var(--dark-blue);
}

.link-aph:hover p {
  color: var(--yellow);
}

.link-mth:hover p {
  color: var(--light-blue);
}

.link-mhm:hover p {
  color: var(--green);
}

.link-hts:hover p {
  color: var(--purple);
}

/* CALLOUT */

.callout-1 {
  font-size: var(--wp--preset--font-size--24);
  color: var(--white);
}

.callout-2 {
  font-size: var(--wp--preset--font-size--24);
  color: var(--dark-blue);
}

/* MISCELANEOUS */

.link-logo {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.link-logo:hover {
  opacity: 0.6;
}

.img-banner::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 67, 133, 0.5);
}

.box-grid {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: linear-gradient(97deg, rgba(255, 255, 255, 0.20) 0.48%, rgba(255, 255, 255, 0.08) 98.62%);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(20px);
}

.div-shadow {
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.20);
}

/* SLIDER INFINITE */

@keyframes animateSliderInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-slider-infinite {
  animation: animateSliderInfinite linear infinite;
  animation-duration: var(--duration);
}

/* HERO */

.div-video {
  position: absolute;
  overflow: hidden;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-hero,
.video-img-hero {
  position: absolute;
  aspect-ratio: 16/9;
  left: 50% !important;
  top: 50% !important;
  transform: translatex(-50%) translateY(-50%) !important;

  height: auto !important;
  min-width: 113% !important;
  min-height: 100% !important;
}

.video-hero {
  width: auto !important;
  z-index: 2;
}

.video-img-hero  {
  z-index: 1;
  width: 100% !important;
}

.div-video::after {
  position: absolute;
  content: '';
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 67, 133, 0.6);
}

.icon-sound {
  cursor: pointer;
}

.icon-sound svg {
  fill-opacity: 0.6;
  transition: all 0.3s ease-out;
}

.icon-sound:hover svg {
  fill-opacity: 1;
}

.img-hero {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.img-hero::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 67, 133, 0.60) 0%, rgba(0, 67, 133, 0.60) 100%);
}

/* MAPS */

.ol-unselectable {
  filter: grayscale(1) !important;
}

.ol-marker img {
  width: 50px !important;
}


/* CONTACT */

.link-contact svg {
  fill: var(--white);
  transition: fill 0.3s ease-out;
}

.link-contact:hover svg {
  fill: var(--light-blue);
}

.link-contact p {
  color: var(--white);
  transition: color 0.3s ease-out;
}

.link-contact:hover p {
  color: var(--light-blue);
}

.wpforms-container {
  width: 100% !important;
  margin: 0 !important;
}

.wpforms-field-medium {
  max-width: 100% !important;
}

.wpforms-required-label {
  color: var(--white) !important;
}

.wpforms-field-container label,
legend,
.modern-title {
  font-size: var(--wp--preset--font-size--p) !important;
  font-family: var(--onest) !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.wpforms-field-container label:not(.wpforms-field-label-inline),
legend {
  padding-bottom: 6px !important;
}

.wpforms-container .wpforms-field {
  padding-bottom: 16px !important;
  padding-top: 0 !important;
}

.wpforms-submit::after {
  border: none !important;
  position: inherit !important;
}

.choice-1 {
  align-items: center !important;
}

.btn-envoi-form {
  background: none !important;
  padding: 0 !important;
}

.modern-title {
  color: var(--white) !important;
}

.wpforms-uploader {
  border-style: solid !important;
  padding: 15px 10px !important;
}


/* MENTIONS LEGALES */

.netdev-mentions-legales {
  width: 100%;
}

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

.netdev-mentions-legales a {
  font-weight: 700;
  color: var(--dark-blue);
  word-break: break-all;
  transition: color 0.3s ease-out;
}

.netdev-mentions-legales a:hover {
  color: var(--light-blue);
}