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

@media not all and (min-width: 1280px) {
  h1 {
    font-size: 44px !important;
  }

  h2 {
    font-size: 36px !important;
  }

  h3 {
    font-size: 28px !important;
  }

  /* 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) {
  .picto-burger,
  .picto-close {
    width: 42px !important;
    height: 42px !important;
  }

  /* POPUP */

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

@media not all and (min-width: 768px) {
  /* 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) {
  h1 {
    font-size: 40px !important;
  }

  /* POPUP */

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

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

.button-filled {
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background-color: var(--wp--preset--color--secondary);
  border-radius: 360px;
  color: var(--wp--preset--color--light);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  cursor: pointer;
}

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

.button-outlined-light,
.button-outlined {
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background-color: transparent;
  border: solid 1px var(--wp--preset--color--dark);
  border-radius: 360px;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  cursor: pointer;
}

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

.button-outlined-light {
  border: solid 1px var(--wp--preset--color--light);
  color: var(--wp--preset--color--light);
}

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

/* HEADER */

.menu-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s ease-in-out;
}

html:not([data-scroll="0"]) .menu-header {
  background-color: white;
}

.logo-header path[fill="white"] {
  transition: fill 0.3s ease-in-out;
}

html:not([data-scroll="0"]) .menu-header .logo-header path[fill="white"] {
  fill: var(--wp--preset--color--dark);
}

.menu-header .button-filled {
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.menu-header .button-nav {
  background-color: white;
  color: var(--wp--preset--color--dark);
}
.menu-header .button-nav:hover {
  color: white;
}

html:not([data-scroll="0"]) .menu-header .button-nav {
  background-color: var(--wp--preset--color--dark);
  color: white !important;
}

html:not([data-scroll="0"]) .menu-header .button-filled:hover {
  background-color: var(--wp--preset--color--primary-hovered);
}

.menu-header p:empty {
  display: none;
}

.navbar .menu {
  position: relative;
  display: flex;
  padding: 12px 32px;
  gap: 32px;
  border-radius: 360px;
  background: var(--wp--preset--color--light);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 600;
  z-index: 100;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

html:not([data-scroll="0"]) .navbar .menu {
  background-color: var(--wp--preset--color--dark);
  color: white;
}

.picto-burger,
.picto-close {
  display: none;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: padding 0.3s ease-in-out;
}

.picto-burger:hover,
.picto-close:hover {
  padding: 5px;
}

.picto-burger path,
.picto-close path {
  transition: fill 0.3s ease-in-out;
}

.picto-burger:hover path,
.picto-close:hover path {
  fill: var(--wp--preset--color--primary-hovered);
}

/* PAGE ACCUEIL */

/* 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);
  opacity: 0.8;
  pointer-events: none;
}

/* 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 input::placeholder,
.formulaire .wpforms-field-required input::before,
.formulaire .wpforms-field-required input::after,
.formulaire .wpforms-field-required input {
  background-color: transparent !important;
  border-color: var(--wp--preset--color--dark) !important;
  color: var(--wp--preset--color--dark) !important;
}

.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;
}

.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 {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--light);
  padding: 12px 24px;
  border: none;
  border-radius: 360px;
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  cursor: pointer;
}

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

.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-secondary) !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 légales */

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

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