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

    --wp--preset--font-size--h-1: 44px !important;
  }

  .navbar .clip-left {
    padding: 0 80px 0 120px !important;
  }
}

@media not all and (min-width: 1280px) {
  .picto-close.active,
  .picto-burger.active {
    display: flex !important;
  }

  .navbar.active {
    height: 100%;
    align-items: center;
    justify-content: start;
  }

  .menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar.active .menu-mobile {
    transform: translateY(0);
  }

  .navbar .title-menu,
  .navbar.active .picto-close {
    display: block !important;
  }

  .navbar .nos-services a[aria-expanded],
  .navbar.active .button-filled-dark,
  .navbar.active .logo-header {
    display: none !important;
  }

  .navbar .nos-services::after {
    display: none;
  }

  .navbar .menu-item {
    font-size: 32px;
  }

  .navbar .menu-item::after {
    bottom: -10px !important;
  }

  .navbar .nos-services {
    width: 100%;
  }

  .navbar .nav-desktop {
    display: none !important;
  }

  .navbar .nav-mobile {
    display: flex !important;
    width: 100%;
    pointer-events: none;
  }
  .navbar .nav-mobile {
    overflow-y: auto;
    pointer-events: all;
    height: 100%;
  }

  .navbar .nav-mobile #menu-menu-1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: fit-content;
    min-height: 100%;
  }

  .navbar .nav-mobile ul {
    flex-direction: column;
    justify-content: end;
    gap: 32px;
  }

  .navbar .submenu-collapse {
    width: 100% !important;
    grid-template-rows: 1fr;
    transform: unset !important;
    position: unset !important;
    top: unset !important;
    left: unset !important;
    overflow: unset !important;
  }

  .navbar .sub-menu {
    padding: 0 !important;
    align-items: center !important;
  }

  .navbar .clip-left {
    clip-path: none;
    flex-direction: column;
    padding: 80px 0 !important;
    height: auto !important;
    margin-top: 48px;
  }

  .navbar .clip-left .button-filled-light {
    background: unset;
    padding: unset;
  }

  .nav-mobile .clip-left .button-filled-light::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
  }
  /* --- POPUP --- */

  .popup-formulaire {
    width: 600px !important;
    padding: var(--wp--preset--spacing--60) !important;
  }

  .popup-formulaire .title-popup {
    font-size: 36px !important;
  }

  .popup-formulaire .text-popup {
    font-size: 24px !important;
  }
}

@media not all and (min-width: 1024px) {
  :root {
    --wp--preset--font-size--h-1: 40px !important;
    --wp--preset--font-size--h-2: 36px !important;
    --wp--custom--wrapper--py: 40px !important;
    --wp--custom--wrapper--px: 40px !important;
  }

  .navbar .clip-left {
    margin-top: 8px !important;
    padding: 40px 0 !important;
  }

  .logo-marquee__set {
    gap: 50px !important;
    padding-left: 50px !important;
  }

  .logo-marquee__item img {
    max-height: 130px !important;
  }
  /* --- POPUP --- */

  .popup-formulaire {
    padding: var(--wp--preset--spacing--40) !important;
  }
}

@media not all and (min-width: 768px) {
  :root {
    --wp--preset--font-size--h-2: 28px !important;

    --wp--custom--wrapper--px: 20px !important;
  }

  /* --- POPUP --- */

  .popup-formulaire {
    width: 500px !important;
  }

  .popup-formulaire .title-popup {
    font-size: 32px !important;
  }

  .popup-formulaire .text-popup {
    font-size: 20px !important;
  }
}

@media not all and (min-width: 640px) {
  :root {
    --wp--custom--wrapper--py: 32px !important;

    --wp--preset--font-size--h-1: 32px !important;
    --wp--preset--font-size--h-2: 28px !important;
    --wp--preset--font-size--h-3: 24px !important;
  }

  .navbar .menu-item {
    font-size: 28px !important;
  }

  .clip-bottom-right {
    clip-path: polygon(100% 0, 100% 80%, 75% 100%, 0 100%, 0 0) !important;
  }

  .logo-marquee__set {
    gap: 32px !important;
    padding-left: 32px !important;
  }

  .logo-marquee__item img {
    max-height: 100px !important;
  }
  /* --- POPUP --- */

  .popup-formulaire {
    width: 90% !important;
    padding: var(--wp--preset--spacing--32) !important;
  }

  .popup-formulaire .title-popup {
    font-size: 28px !important;
  }
}

/* --------------- FIN RESPONSIVE ---------------- */

/* ------------------ VARIABLE ------------------- */

:root {
  --px: var(--wp--custom--wrapper--px);
  --py: var(--wp--custom--wrapper--py);
  --gap: var(--wp--custom--wrapper--gap);
  --gap-marquee: var(--marquee-gap);
  --logo: 68px;
}

/* ------------------ GENERAL -------------------- */

html {
  overflow-x: hidden;
}

html.active {
  overflow-y: hidden;
}

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

.button-filled-dark,
.button-filled-light,
.button-filled {
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background-color: var(--wp--preset--color--primary);
  border-radius: 6px;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.button-filled:hover {
  background: var(--wp--preset--color--primary-hovered);
}

.button-filled-light {
  background-color: var(--wp--preset--color--light);
}

.button-filled-dark {
  background-color: var(--wp--preset--color--dark);
  color: var(--wp--preset--color--light);
  transition: color 0.3s ease-in-out;
}

.button-filled-light:hover {
  background-color: var(--wp--preset--color--light-hovered);
}

.button-filled-dark:hover {
  color: var(--wp--preset--color--primary);
}

.button-outlined-transparent,
.button-outlined {
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background-color: transparent;
  border: solid 1px var(--wp--preset--color--dark);
  border-radius: 6px;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.button-outlined-transparent {
  border: none;
}

.button-outlined:hover {
  background: var(--wp--preset--gradient--black-opacity);
}

.clip-bottom-right {
  clip-path: polygon(100% 0, 100% 57%, 68% 100%, 0 100%, 0 0);
}

.clip-bottom-right-spec {
  clip-path: polygon(100% 0, 100% 57%, 78% 100%, 0 100%, 0 0);
}

.shape-clip-br {
  shape-outside: polygon(
    100% 60%,
    100% 100%,
    35% 100%,
    35% 80%,
    65% 80%,
    65% 60%
  );
  float: right;
}

.clip-top-right {
  clip-path: polygon(89% 0, 100% 20%, 100% 100%, 0 100%, 0 0);
}

.clip-left {
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
}

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

.card-sector .button-outlined-transparent span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 81%;
  height: 2px;
  background: var(--wp--preset--color--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.card-sector .button-outlined-transparent:hover span::after {
  transform: scaleX(1);
}

.btn-sound {
  cursor: pointer;
}

.btn-sound .sound-off {
  display: block;
}

.btn-sound.sound .sound-off {
  display: none;
}

.arrow-job {
  min-width: 24px;
}

/* ---------------- SWIPER LOGO --------------- */

.logo-marquee {
  overflow: hidden;
}

.logo-marquee:hover .logo-marquee__set {
  animation-play-state: paused;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
}

.logo-marquee__set {
  display: flex;
  gap: var(--marquee-gap, 24px);
  padding-left: var(--marquee-gap, 24px);
  animation: marquee var(--marquee-duration, 20s) linear infinite;
}

.slider-reverse .logo-marquee__set {
  animation: marqueeReverse var(--marquee-duration, 20s) linear infinite;
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background-color: var(--wp--preset--color--light);
  border-radius: 6px;
}

.logo-marquee__item img {
  max-height: var(--logo-max-h, 60px);
  width: 100%;
  display: block;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes marqueeReverse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

/* ----------------- PLAYER VIDEO ----------------- */

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

.filtre-video::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--gradient--filter-video);
  pointer-events: none;
}

.filtre-img::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--gradient--filter-img);
  pointer-events: none;
}

.swiper-imgs {
  width: 100%;
  height: 100%;
}

.swiper-imgs .swiper-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  align-items: center;
  max-height: 400px;
  min-height: 400px;
}
/* ---------------- HEADER --------------- */

.navbar {
  transition:
    background 0.3s ease-in-out,
    padding 0.3s ease-in-out,
    height 0.3s ease-in-out;
}

.navbar p:empty,
header p:empty {
  display: none !important;
}

.nav-desktop {
  width: fit-content;
  height: 100%;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

header .navbar .button-filled-light::after {
  display: none;
}

.navbar .menu-item {
  position: relative;
  color: var(--wp--preset--color--dark);
  font-weight: 600;
  text-wrap: nowrap;
  transition: color 0.3s ease-in-out;
}

.navbar .menu-item:hover {
  cursor: pointer;
}

.navbar .menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wp--preset--color--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}

.navbar .current_page_item::after,
.navbar .menu-item:hover::after {
  transform: scaleX(1) !important;
}

.navbar .clip-left .current_page_item::after,
.navbar .clip-left .menu-item::after {
  background: var(--wp--preset--color--light);
}

.navbar .nos-services {
  position: relative;
  min-width: max-content;
}

.navbar .nos-services a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .submenu-collapse {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(40px);
  display: grid !important;
  width: max-content;
  overflow: hidden;
  transition:
    grid-template-rows 0.4s ease-out,
    transform 0.4s ease-out,
    margin 0.3s ease-in-out;
}

.collapse-closed {
  grid-template-rows: 0fr;
}

.collapse-opened {
  grid-template-rows: 1fr;
}

.expandable-collapse {
  min-height: 0;
}

.navbar .sub-menu {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  background: var(--wp--preset--color--light);
  border-radius: 0 0 4px 4px;
  padding: 16px;
  height: unset;
}

.navbar .clip-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--primary);
  height: 100%;
  width: 100%;
  gap: 32px;
  padding: 0 var(--px);
}

.picto-burger,
.picto-close {
  display: none !important;
  cursor: pointer;
  font-weight: 600;
}

/* ---------------- FORMULAIRE --------------- */

.formulaire .wpforms-container {
  margin: unset !important;
}

.formulaire .wpforms-field-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--16);
  width: 100%;
}

.formulaire .wpforms-field {
  padding: unset;
  width: 100%;
}

.formulaire .wpforms-field input,
.formulaire .wpforms-field textarea,
.formulaire .wpforms-field-select select,
.formulaire .wpforms-field input::placeholder,
.formulaire .wpforms-field-required input::before,
.formulaire .wpforms-field-required input::after,
.formulaire .wpforms-field-required input,
.formulaire .wpforms-field .wpforms-uploader {
  background-color: transparent !important;
  border-color: var(--wp--preset--color--dark) !important;
  color: var(--wp--preset--color--dark) !important;
}

.formulaire
  .wpforms-field-radio
  .wpforms-field-required
  .wpforms-selected
  input::after {
  background-color: var(--wp--preset--color--dark) !important;
}

.formulaire .wpforms-field .wpforms-uploader,
.formulaire .wpforms-field-select select,
.formulaire .wpforms-field input,
.formulaire .wpforms-field textarea {
  max-width: 100%;
  border-radius: 6px !important;
}

.formulaire .wpforms-field textarea {
  height: 115px !important;
}

.formulaire .wpforms-field-required input::before,
.formulaire .wpforms-field-required input::after,
.formulaire .wpforms-field-required input {
  border-radius: 0 !important;
}

.formulaire .wpforms-field-label,
.formulaire .wpforms-field-label-inline {
  margin-bottom: 6px !important;
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: 400;
  color: var(--wp--preset--color--dark) !important;
  word-break: auto-phrase;
}

.formulaire .wpforms-field-large {
  padding: 10px var(--wp--preset--spacing--16);
}

.formulaire .wpforms-required-label {
  display: none;
}

.formulaire .wpforms-submit-container {
  margin-top: var(--wp--preset--spacing--16) !important;
}

.formulaire .wpforms-field-checkbox .choice-1 input {
  align-self: center;
}

div.wpforms-container-full select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--wp--preset--color--dark) 50%),
    linear-gradient(135deg, var(--wp--preset--color--dark) 50%, transparent 50%);
}

.formulaire .wpforms-field .wpforms-uploader {
  border-style: solid !important;
  padding: 10px 15px !important;
  align-items: start !important;
  justify-content: center !important;
}

.formulaire .dz-message {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: start !important;
}

.formulaire .dz-message span {
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: 400;
  color: var(--wp--preset--color--dark) !important;
}

.formulaire .dz-message svg {
  display: none;
}

.formulaire .wpforms-submit {
  height: auto !important;
  background-color: var(--wp--preset--color--secondary) !important;
  border-radius: 360px !important;
  padding: 12px 24px !important;
  font-family: var(--wp--preset--font-family--primary) !important;
  color: var(--wp--preset--color--light) !important;
  font-weight: 700 !important;
}

.formulaire .wpforms-submit:hover {
  background-color: var(--wp--preset--color--primary-hovered) !important;
}

/* ----------- POP UP FORMULAIRE ------------- */

.popup-formulaire {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--wp--preset--color--dark);
  border-radius: 18px;
  color: var(--wp--preset--color--light);
  padding: 100px;
  gap: 26px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  line-height: 1.2;
  text-align: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.popup-formulaire .title-popup {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 700;
}

.popup-formulaire .text-popup {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 400;
}

.popup-formulaire .button-popup {
}

.popup-formulaire.active {
  opacity: 1;
  pointer-events: all;
}

.wpforms-confirmation-container-full {
  background: transparent !important;
  border: 1px solid var(--wp--preset--color--secondary) !important;
  border-radius: 6px !important;
  font-family: var(--wp--preset--font-family--secondary);
}

.wpforms-confirmation-container-full p {
  color: var(--wp--preset--color--dark) !important;
}

/* -------------------- FOOTER NETDEV ---------------- */

.netdev-footer {
  background-color: var(--wp--preset--color--dark) !important;
}

.netdev-footer,
.netdev-footer .netdev-footer-content .netdev-footer-text a {
  color: var(--wp--preset--color--light) !important;
}

.netdev-footer .logo,
.netdev-footer .netdev-footer-content .netdev-footer-text a {
  opacity: unset !important;
}

/* ---------------------- MENTIONS LEGALES --------------------- */

.netdev-mentions-legales h2 {
  margin-top: 32px;
  margin-bottom: 20px;
}

.netdev-mentions-legales a {
  text-decoration: underline;
}
