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

  .navbar {
    position: absolute;
    top: 100%;
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease-out;
  }

  .navbar.active {
    grid-template-rows: 1fr;
  }
  .navbar .container-menu {
    min-height: 0;
  }

  .navbar .menu {
    flex-direction: column;
    gap: 20px !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    background: var(--wp--preset--color--dark) !important;
    color: var(--wp--preset--color--light) !important;
  }

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

  #menu-item-403 {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0px;
    transition: gap 0.4s ease-out;
  }

  #menu-item-403:has(.padding-sub-menu.active) {
    gap: 20px;
  }

  .navbar .padding-sub-menu {
    position: unset !important;
    transform: unset !important;
    gap: 20px !important;
  }

  .navbar .container-sub-menu {
    background: transparent !important;
  }

  .navbar .sub-menu {
    padding: 0 20px !important;
  }

  html[data-scroll="0"] .navbar .sub-menu li a {
    color: var(--wp--preset--color--light) !important;
  }

  html:not([data-scroll="0"]) .navbar .sub-menu li:hover {
    color: white !important;
  }

  .menu-header .button-filled {
    height: 60px;
    align-items: center;
  }
}

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

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

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

  body .has-sous-titre-font-size {
    font-size: 28px !important;
  }

  .button-fixed {
    width: 114px !important;
    height: 114px !important;
    text-wrap-mode: wrap !important;
    text-align: center;
  }

  .mask-hero {
    mask-size: cover, 200px !important;
  }

  .block-animation.active .block-text-anime,
  .block-animation:hover .block-text-anime {
    height: 325px;
  }

  /* 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) {
  .block-animation.active .block-text-anime,
  .block-animation:hover .block-text-anime {
    height: 300px;
  }

  .logo-header {
    height: 50px;
    width: auto;
  }

  .picto-burger,
  .picto-close {
    width: 42px !important;
    height: 42px !important;
  }

  .menu-header .button-filled {
    height: 42px;
    padding: 11px 16px;
  }

  .menu-header .button-nav {
    align-self: start;
  }

  .button-fixed {
    right: 12px !important;
    width: 106px !important;
    height: 106px !important;
  }

  .mask-hero {
    mask-size: cover, 160px !important;
  }

  .grid-actu {
    grid-template-columns: 1fr 1fr !important;
  }

  /* POPUP */

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

@media not all and (min-width: 768px) {
  .navbar {
    right: 20px !important;
  }

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

  .button-nav {
    background: var(--wp--preset--color--dark) !important;
    color: white !important;
  }

  .menu-header .button-nav {
    background-color: var(--wp--preset--color--light) !important;
    color: var(--wp--preset--color--dark) !important;
  }

  .picto-burger,
  .picto-close {
    width: 54px !important;
    height: 54px !important;
  }

  #menu-item-403 {
    gap: 20px;
  }

  .navbar .padding-sub-menu {
    grid-template-rows: 1fr !important;
  }

  .navbar.active .padding-sub-menu {
    pointer-events: all !important;
  }

  .menu-arrow {
    display: none !important;
  }

  .button-fixed {
    width: 97px !important;
    height: 97px !important;
  }

  .grid-actu {
    grid-template-columns: 1fr !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) {
  body h1 {
    font-size: 40px !important;
  }

  .block-animation.active .block-text-anime,
  .block-animation:hover .block-text-anime {
    height: 350px;
  }

  .block-animation.active figure,
  .block-animation:hover figure {
    transform: translateY(-70px);
  }

  .block-text-anime .button-outlined-light {
    transform: translate(20px, 55px);
  }

  .block-animation.active .button-outlined-light,
  .block-animation:hover .button-outlined-light {
    transform: translate(20px, -40px);
  }

  .button-fixed {
    width: 95px !important;
    height: 95px !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);
}

.button-fixed {
  position: fixed;
  bottom: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 147px;
  height: 147px;
  border-radius: 360px;
  text-wrap-mode: nowrap;
  line-height: normal;
  z-index: 100;
}

.mask-hero {
  mask-image: linear-gradient(90deg, black 0%, black 100%),
    url(/wp-content/uploads/2025/11/vulliermet-mask.svg);
  mask-composite: subtract;
  mask-repeat: repeat, no-repeat;
  mask-position: center, calc(100% + 1px) calc(100% + 1px);
  mask-size: cover, 225px;
}

body .has-sous-titre-font-size {
  line-height: 1.2em !important;
}

/* Carousel Img */

.swiper-imgs,
.swiper-pag {
  width: 100%;
  overflow: hidden;
}

.swiper-imgs .swiper-wrapper {
  height: auto;
}
.swiper-pag .swiper-wrapper {
  height: auto;
  max-height: 800px;
}

.swiper-pag .swiper-slide {
  aspect-ratio: 4/3;
  height: auto;
  border-radius: 24px;
}

.swiper-pagination {
  position: relative;
  display: flex;
  gap: 16px;
  height: 12px;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 100%;
  height: auto;
  margin: unset;
  opacity: 1 !important;
  background-color: transparent !important;
  border: 1px solid var(--wp--preset--color--dark) !important;
  border-radius: 360px;
}

.swiper-pagination .swiper-pagination-bullet-active {
  border: unset !important;
  background-color: var(--wp--preset--color--primary) !important;
}

/* 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 {
  background-color: var(--wp--preset--color--primary-hovered);
  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: 11px 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;
}

@media (pointer: coarse) {
  .navbar {
    right: 20px;
  }
}

.navbar .padding-sub-menu .container-sub-menu {
  border-radius: 16px;
  background-color: var(--wp--preset--color--primary);
  overflow: hidden;
}

.navbar .padding-sub-menu {
  display: grid;
  grid-template-rows: 0fr;
  position: absolute;
  top: 115%;
  left: 20%;
  pointer-events: none;
  transition: grid-template-rows 0.4s ease-out;
}

.navbar .padding-sub-menu.active {
  grid-template-rows: 1fr;
  pointer-events: all;
}

.navbar .sub-menu {
  display: flex;
  padding: 20px;
  flex-direction: column;
  min-height: 0;
  gap: 32px;
  color: var(--wp--preset--color--light);
  z-index: 10;
  transition: opacity 0.5s ease-in-out, transform 0.4s ease-in-out;
}

.navbar .menu-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

#menu-item-403:has(.padding-sub-menu.active) .menu-trigger {
  border-top: solid 1px var(--wp--preset--color--dark);
  border-bottom: solid 1px var(--wp--preset--color--dark);
}

.menu-arrow path {
  transition: stroke 0.3s ease-in-out;
}

html:not([data-scroll="0"]) .menu-arrow path {
  stroke: white;
}

.navbar .menu li,
.navbar .menu-trigger {
  cursor: pointer;
  border-top: solid 1px transparent;
  border-bottom: solid 1px transparent;
  transition: border 0.5s ease-in-out;
}

.navbar .menu li:hover,
.navbar .menu-trigger:hover {
  border-top: solid 1px var(--wp--preset--color--dark);
  border-bottom: solid 1px var(--wp--preset--color--dark);
}

.navbar .sub-menu li:hover {
  color: var(--wp--preset--color--dark);
}

html:not([data-scroll="0"]) .menu li:hover,
html:not([data-scroll="0"]) .menu-trigger:hover,
html:not([data-scroll="0"])
  #menu-item-403:has(.padding-sub-menu.active)
  .menu-trigger {
  border-top: solid 1px white;
  border-bottom: solid 1px white;
}

#menu-item-403 {
  border: none !important;
}

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

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

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

.bubble-hover .button-outlined {
  transition: all 0.3s ease-in-out;
}

.bubble-hover {
  transition: all 0.3s ease-in-out;
}

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

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

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

.block-text-anime {
  transition: all 0.5s ease-in-out;
}

.block-animation figure {
  transform: translateY(0);
  transition: transform 0.5s ease-in-out;
}

.block-text-anime .button-outlined-light {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(40px, 55px);
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.block-animation.active .block-text-anime,
.block-animation:hover .block-text-anime {
  height: 310px;
  gap: 32px;
  background: var(--wp--preset--color--dark) !important;
}

.block-animation.active figure,
.block-animation:hover figure {
  transform: translateY(-40px);
}

.block-animation.active .button-outlined-light,
.block-animation:hover .button-outlined-light {
  opacity: 1;
  transform: translate(40px, -40px);
}

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

.block-outlined .button-outlined {
  transition: border-color 0.3s ease-in-out;
}

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

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

.block-outlined svg path {
  transition: fill 0.3s ease-in-out;
}

.block-outlined:hover svg path {
  fill: white;
}

.svg-white path {
  fill: white;
}
.svg-primary path {
  fill: var(--wp--preset--color--primary);
}

.border-hover {
  border: solid 1px transparent;
  border-radius: 24px;
  transition: border 0.3s ease-in-out;
}

.border-hover:hover {
  border-color: var(--wp--preset--color--dark);
}

/* 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;
}

/*  ACTUALITE   */

.grid-actu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 20px;
}

.bull-actu {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  flex-direction: column;
  height: 310px;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--wp--preset--color--dark);
  border-radius: 24px;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 600;
}
