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

  .swiper-imgs .swiper-wrapper {
    height: 660px !important;
  }
  .carousel-logo .swiper-imgs .swiper-wrapper{
    height: auto !important;
  }
  
    .mask-right.mask-logo::after {
      transform: translate(90%, 100%) !important;
    }


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

  .section-hero .mask-logo::after {
    transform: translate(100%, 50%) !important;
  }

  .swiper-texte-responsive .swiper-texte {
    animation: 10s linear infinite swiper-text !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;
  }

  .mask-right.mask-logo::after {
    height: 100% !important;
    bottom: 0 !important;
    transform: translate(90%, 100%) !important;    
  }
  
  /* POPUP */

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

@media not all and (min-width: 768px) {
  body h1 {
    font-size: 40px !important;
  }
  
  body h2 {
    font-size: 30px !important;
  }
  
  body h3 {
    font-size: 24px !important;
  }

 .section-hero .mask-logo::after {
    display: none;
  }

  .mask-right.mask-logo::after {
    transform: translate(90%, 110%) !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: 32px !important;
  }

  .swiper-texte  p{
    font-size: 24px !important;
  }

  .mask-right.mask-logo::after {
    transform: translate(90%, 130%) !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--primary);
  color: var(--wp--preset--color--light);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

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

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

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

.button-underlined {
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background: rgba(20, 19, 19, 0.10);
  border-bottom: solid 1px var(--wp--preset--color--light);
  color: var(--wp--preset--color--light);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.button-underlined:hover {
  background: rgba(20, 19, 19, 0.50);
}

.swiper-button-prev rect,
.swiper-button-next rect{
  transition: fill 0.3s ease-in-out;
}

.swiper-button-prev:hover rect,
.swiper-button-next:hover rect{
  fill: var(--wp--preset--color--primary-hovered);
}

.swiper-texte {
  animation: 20s linear infinite swiper-text;
}

.swiper-texte-responsive .swiper-texte {
  animation: none;
}

@keyframes swiper-text {
  from {
    transform: translateX(0%);
  }

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

/* HEADER */

header:has(.active) ~ main,
header:has(.active) ~ footer,
header:has(.active) ~ .netdev-footer{
  display: none;
}

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

.navbar .swiper-menu{
  top: 0;
  left: 0;
  transform: translate(100%, 0%);
  position: absolute;
  pointer-events: none;
  transition: transform 0.5s ease-in-out;
}
.navbar.active .swiper-menu{
  pointer-events: all;
  transform: translate(0%, 0%);
}

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

.navbar-open{
  width: 50%;
  height: 100%;
  margin-left: 125px !important;
  padding-top: 60px;
  border-left: solid 1px var(--wp--preset--color--secondary);
}

.navbar-open .menu {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 40px;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  text-transform: uppercase;
  z-index: 100;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.navbar .mask-logo::after{
  transform: translate(90%, 50%);
}

.navbar .button-filled{
  border: solid 1px var(--wp--preset--color--primary);
}

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

.navbar .button-filled:hover{
  background-color: transparent;
  border-color: var(--wp--preset--color--dark);
  color: var(--wp--preset--color--dark);
}

.navbar .button-filled svg path{
  transition: fill 0.3s ease-in-out;
}

.navbar .button-filled:hover svg path{
  fill: var(--wp--preset--color--dark);
}

.navbar .button-filled.active .picto-close,
.navbar .button-filled.active .text-close{
  opacity: 1;
  position: relative;
}

.navbar .button-filled.active .picto-open,
.navbar .button-filled.active .text-open{
  opacity: 0;
  position: absolute;
}



/* 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::before {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--gradient--black-opacity);
  pointer-events: none;
}

.mask-logo::after {
  position: absolute;
  content: "";
  z-index: 1;
  top: -50%;
  left: -50%;
  transform: translate(50%, 50%);
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2025/12/Group-6.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
}

.section-hero.mask-logo::after {
  transform: translate(110%, 50%);
  opacity: 0.5;
}

.mask-left.mask-logo::after {
  transform: translate(37%, 50%);
}

.mask-right.mask-logo::after {
  transform: translate(110%, 100%);
  height: 80%;
}

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

.filtre-img-light::before {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background: var(--wp--preset--gradient--light-opacity);
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.filtre-img-light::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: var(--wp--preset--gradient--red-opacity);
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.filtre-img-light h2,
.filtre-img-light{
  transition: color 0.3s ease-in-out;
}

.filtre-img-light svg path{
  transition: fill 0.3s ease-in-out;
}

.filtre-img-light:hover h2,
.filtre-img-light:hover{
  color: var(--wp--preset--color--light);
}

.filtre-img-light:hover svg path{
  fill: var(--wp--preset--color--light);
}

.filtre-img-light:hover.filtre-img-light::after {
  opacity: 1;
}

.filtre-img-light:hover.filtre-img-light::before {
  opacity: 0;
}

.filtre-img-light:hover a{
  opacity: 1 !important;
  border-color: var(--wp--preset--color--light);
  color: var(--wp--preset--color--light);
  pointer-events: all;
  cursor: pointer;
}

/* Carousel Img */

.swiper-imgs,
.swiper-logos{
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-logo .swiper-imgs,
.swiper-logos,
.swiper-imgs .swiper-wrapper,
.swiper-logos .swiper-wrapper,
.swiper-slide {
  height: auto;
}

.carousel-logo .swiper-nav-container{
  position: unset;
  justify-content: center;
  gap: 20px;
  transform: unset;
}

/* Carousel Logo */


.carousel-logo .swiper-imgs .swiper-slide,
.swiper-logos .swiper-slide {
  height: auto;
  object-fit: contain;
  max-height: 100px;
}

.picto-hover .rounded-full{
  transition: background 0.3s ease-in-out;
}

.picto-hover:hover .rounded-full{
  background-color: var(--wp--preset--color--light);
}

.picto-hover svg path{
  transition: fill 0.3s ease-in-out;
}

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

.picto-hover p{
  transition: opacity 0.3s 
  ease-in-out;
}

.picto-hover:hover .text-moins{
  opacity: 0;
}

.picto-hover .text-plus{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0%);
}

.picto-hover:hover .text-plus{
  opacity: 1;
}


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



