/* MEDIA QUERIES */

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

  .logo-footer {
    width: 223px !important;
  }

  .grid-border {
    border-right-width: 1px !important;
    border-right-style: solid !important;
    border-bottom-width: 0px !important;
    border-bottom-style: none !important;
  }
}

@media not all and (min-width: 769px) {
  :root {
    --wp--custom--wrapper--padding-main: 20px !important;
    --wp--custom--wrapper--padding: 32px !important;
    --wp--custom--wrapper--gap: 40px !important;
    --wp--preset--font-size--48: 36px !important;
    --wp--preset--font-size--36: 28px !important;
  }

  .icon-cross svg {
    width: 60px !important;
  }
}

@media not all and (min-width: 641px) {
  .logo-header {
    width: 104px !important;
    height: 52px !important;
  }

  .icon-burger.active div:nth-child(1) {
    transform: rotate(45deg) translateY(8px) translateX(8px) !important;
  }

  .nav-footer ul {
    flex-direction: column !important;
  }
}

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

  .logo-header {
    width: 89px !important;
  }

}

/* GENERAL */

html {
  scroll-behavior: smooth;
}

p:empty {
  display: none;
}

:root {
  --color-black: var(--wp--preset--color--custom-black);
  --color-white: var(--wp--preset--color--custom-white);
  --color-blue: var(--wp--preset--color--custom-blue);
  --color-transparent: var(--wp--preset--color--transparent);
  --color-blue-hover: #147DB3;
  --custom-padding-main: var(--wp--custom--wrapper--padding-main);
  --custom-padding: var(--wp--custom--wrapper--padding);
  --custom-gap: var(--wp--custom--wrapper--gap);
}

/* HEADER */

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

.logo-header:hover {
  fill: var(--color-black);
}

.nav-desktop ul {
  height: 100%;
}

.nav-desktop .menu-item:first-child,
.nav-desktop .menu-item:last-child {
  margin-left: auto !important;
}

.nav-desktop .menu-item {
  height: 100%;
}

.nav-desktop .menu-item a,
.custom-btn-1,
#wpforms-submit-640 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  font-family: var(--wp--preset--font-family--arimo), sans-serif;
  font-weight: 700;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.nav-desktop .menu-item a,
#wpforms-submit-640,
.custom-btn-1 {
  padding: 12px 20px;
}

.nav-desktop .menu-item:not(.menu-item:last-child) a,
#wpforms-submit-640 {
  min-width: 120px;
}

.custom-btn-1 {
  position: relative;
}

.nav-desktop .menu-item:last-child a,
#wpforms-submit-640 {
  position: relative;
  width: 208px;
}

.nav-desktop .menu-item:last-child a::before,
.custom-btn-1::before,
#wpforms-submit-640::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: solid var(--color-black);
  border-bottom-width: 1px;
  border-left-width: 2px;
  border-top-width: 6px;
  border-right-width: 6px;
  transition: border-top-width 0.2s ease-out, border-right-width 0.2s ease-out, border-bottom-width 0.2s ease-out, border-left-width 0.2s ease-out;
}

.nav-desktop .menu-item:last-child a:hover::before,
.custom-btn-1:hover::before,
#wpforms-submit-640:hover::before {
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-width: 0px;
  border-right-width: 0px;
}

.nav-desktop .menu-item:last-child a:hover,
.custom-btn-1:hover,
#wpforms-submit-640:hover {
  background: var(--color-blue-hover);
}

.nav-desktop .current-menu-item:not(.menu-item:last-child) a,
.nav-desktop .menu-item:last-child a,
.nav-desktop .menu-item:not(.menu-item:last-child):hover a,
.custom-btn-1 {
  background: var(--color-blue);
  color: var(--color-white);
}

.custom-btn-1,
#wpforms-submit-640 {
  height: 82px;
}

/* MENU MOBILE */

.nav-menu-mobile {
  position: fixed;
  z-index: 2;
  top: 108px;
  right: 20px;
  width: 100vw;
  height: fit-content;
  transform: translateX(calc(100% + 20px));
  background: #FBFEFF;
  transition: height 0.3s ease-out, transform 0.4s ease-out;
}

.menu-closed {
  transform: translateX(calc(100% + 20px));
}

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

.icon-burger div {
  opacity: 1;
  transform: rotate(0) translateX(0) translateY(0);
  transition: transform 0.3s ease-out, opacity 0.2s ease-out;
}

.icon-burger.active div:nth-child(1) {
  transform: rotate(45deg) translateY(12px) translateX(12px);
}

.icon-burger.active div:nth-child(2) {
  opacity: 0;
}

.icon-burger.active div:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px) translateX(10px);
}

.nav-mobile .menu-item a {
  display: flex;
  align-items: center;
  padding: 20px;
  width: calc(310px - 40px);
  height: 78px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--arimo);
  background: var(--color-white);
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.nav-mobile .menu-item a:hover,
.nav-mobile .current-menu-item a {
  background: var(--color-blue);
  color: var(--color-white);
}

.nav-mobile .menu-item:last-child {
  display: none;
}

.custom-btn-2 {
  padding: 12px 24px;
  color: var(--color-white);
  font-weight: 700;
  background: var(--color-blue);
  border-radius: 360px;
  transition: background 0.3s ease-out;
}

.custom-btn-2:hover {
  background: var(--color-blue-hover);
}

/* FOOTER */

.netdev-footer {
  width: calc(100% - (2 * var(--custom-padding-main)));
  margin-inline: var(--custom-padding-main);
}

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

.logo-footer:hover {
  fill: var(--color-white);
}

.link-footer,
.link-footer-fb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.link-footer svg {
  fill: var(--color-white);
  stroke: var(--color-black);
  transition: fill 0.3s ease-out;
}

.link-footer p {
  text-align: center;
  color: var(--color-white);
  transition: color 0.3s ease-out;
}

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

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

.link-footer-fb .change-color {
  fill: rgba(0, 0, 0, 0.3);
  transition: fill 0.3s ease-out;
}

.link-footer-fb:hover .change-color {
  fill: var(--color-blue);
}

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

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

.nav-footer,
.nav-footer ul {
  justify-content: center;
}

.nav-footer .menu-item:first-child {
  display: none;
}

.nav-footer .menu-item a {
  display: block;
  width: max-content;
  padding: 12px 24px;
  color: var(--color-white);
  font-weight: 700;
  font-family: Arimo;
  background: var(--color-black);
  transition: background 0.3s ease-out;
}

.nav-footer .menu-item a:hover {
  background: var(--color-blue);
}

/* HERO */

.conteneur-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--custom-padding-main));
  overflow: hidden;
}

.video-hero {
  position: absolute;
  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;
}

/* SLIDER IMAGES */

.swiper-pagination-bullet {
  position: relative;
  width: 16px;
  height: 16px;
  background: var(--color-black);
  opacity: 1;
}

.swiper-pagination-bullet::after {
  position: absolute;
  content: '';
  top: 1px;
  left: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 100%;
  background: var(--color-white);
  opacity: 1;
}

.swiper-pagination-bullet-active::after {
  opacity: 0;
}

.clickable-img {
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

.clickable-img:hover {
  transform: scale(1.1);
}

.div-modal {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: var(--custom-padding-main);
  padding: var(--custom-padding-main);
  opacity: 0;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.6);
  transition: opacity 0.3s ease-out;
}

.icon-cross {
  cursor: pointer;
  fill: var(--color-white);
  transition: fill 0.3s ease-out;
}

.icon-cross:hover {
  fill: var(--color-blue);
}

.div-img-modal {
  overflow: hidden;
  flex-grow: 1;
}

.div-img-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MISCELANEOUS */

.wp-block-elfsight-facebook-feed {
  width: 100%;
}

.eapps-facebook-feed-inner {
  border: none !important;
}

.img-banner::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(24, 23, 21, 0.40) 0%, rgba(24, 23, 21, 0.40) 100%);
}

.btn-banner {
  font-size: var(--wp--preset--font-size--24);
}

.link-scheme {
  color: var(--color-black);
  background: var(--color-white);
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.link-scheme:hover {
  color: var(--color-white);
  background: var(--color-black);
}

.div-overflow-x::-webkit-scrollbar {
  display: none;
}

.div-overflow-x {
  scrollbar-width: 0px;
}

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

.link-logo:hover {
	transform: scale(1.05);
}

/* CONTACT */

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

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

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

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

.ol-marker img {
  width: 32px;
  height: 32px;
}

.fieldset-child {
  align-items: center;
}

.fieldset-child legend {
  padding-bottom: 0 !important;
}

/* MENTIONS LEGALES */

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

.netdev-mentions-legales a {
  font-weight: 700;
  color: var(--color-black);
  transition: color 0.3s ease-out;
}

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