@media not all and (min-width: 1512px) {
  :root {
        
    .netdev-menu{
      padding-left: 80px;
    }


  }
}

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

    .netdev-menu-wrapper{
      height: auto;
      flex-direction: column;
    }
  
    .netdev-menu{
      margin-bottom: 80px;
      gap: 20px;
    }

    .menu-image{
      width: 100%;
      aspect-ratio: 5/3;
    }


    /* POPUP */

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

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

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

  }
}

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

    h1{
      font-size: 44px !important;
    }

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

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


    .netdev-menu{
      padding-left: 40px;
      margin-bottom: 60px;
      gap: 20px;
    }
    
    .swiper-carrousel[style-block="4"] {
      height: 100%;
    }

    /* POPUP */

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


  }
}

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

    .netdev-menu{
      padding-left: 20px;
    }

    /* POPUP */

    .popup-formulaire{
      width: 500px;
    } 

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

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

  }
}

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

    h1{
      font-size: 32px !important;
    }

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

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

    .netdev-menu{
      height: 100svh;
      margin-bottom: auto;
    }

    .menu-image{
      display: none;
    }

    /* POPUP */

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

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

  }
}


.rotate180 img{
    transform: rotateY(180deg);
}

/* Général */

body{
  background-color: var(--wp--preset--color--dark) !important;
}

.bouton-plein{
  display: flex;
  padding: 12px 24px;
  gap: 10px;
  background-color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  cursor: pointer;
}

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

.bouton-creux{
  display: flex;
  padding: 11px 24px;
  gap: 10px;
  background-color: transparent;
  border: solid 1px var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  cursor: pointer;
}

.bouton-creux:hover{
  background-color: var(--wp--preset--color--transparent-hovered);
  border-color: var(--wp--preset--color--transparent-hovered);
  color: var(--wp--preset--color--dark);
}

.bg-grille::before{
  content: "";
  position: absolute;
  background-image: url(https://bf-tp.sp2.mon-site.co/wp-content/uploads/2025/10/Frame-52.svg);
  background-repeat: repeat;
  background-size: 25% !important;
  inset: 0; 
  opacity: 0.5;
}

/* HEADER */

.navbar{
  transition: background .3s ease-in-out, 
              box-shadow .3s ease-in-out ;
}

html[data-scroll="0"] .navbar{
  background: rgba(0, 0, 0, 0);
}

html:not([data-scroll="0"]) .navbar{
  background: var(--wp--preset--color--dark);
  box-shadow: 0px 5px 15px 5px rgba(71,74,83,0.15);
}

.is-open .navbar{
  background: var(--wp--preset--color--dark);
}

.div-header .button-close,
.is-open .button-open,
header:has(.is-open) ~ main,
header:has(.is-open) ~ footer,
header:has(.is-open) ~ .netdev-footer{
  display: none;
}

.is-open .button-close,
.is-open .netdev-menu-wrapper{
  display: flex;
}

.netdev-menu-wrapper{
    width: 100%;
    height: 100svh;
    display: none;
    justify-content: space-between;
    align-items: self-start;
    background-color: var(--wp--preset--color--dark);
}

.netdev-menu{
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  width: 100%;
  max-height: calc(100dvh - 160px);
  margin-top: 140px;
  padding-left: 100px;
  margin-bottom: 40px;
  gap: 40px;
  font-family: var(--wp--preset--font-family--tertiary);
  font-size: 28px;
  font-weight: 400;
  line-height: normal;
}

.menu-link{
  width: fit-content;
}

.menu-link.current{
  color: var(--wp--preset--color--primary);
}

.menu-link:hover{
  color: var(--wp--preset--color--primary);
}

.menu-image{
  position: relative;
  height: 100%;
  width: 66%;
}

.menu-image img{
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.menu-image .active{
  opacity: 1;
}

.menu-image::before{
  content: '';
  background-image: url(/wp-content/uploads/2025/10/blur.svg);
  background-position: bottom left;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.picto-burger{
  padding: 12px;
}

/* 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: 135% !important;
  min-height: 100% !important;
}

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


/* 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--light) !important;
  color: var(--wp--preset--color--light) !important;
}

.formulaire .wpforms-field input,
.formulaire .wpforms-field textarea{
  max-width: 100%;
  border-radius: 6px !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--light) !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--primary) !important;
    border-radius: 0 !important;
    padding: 12px 24px !important;
    font-family: var(--wp--preset--font-family--secondary) !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: var(--wp--preset--spacing--100);
    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 .3s ease-in-out;
    pointer-events: none;
}

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

.popup-formulaire .text-popup{
  font-family: var(--wp--preset--font-family--tertiary);
  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;
    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;
  font-family: var(--wp--preset--font-family--secondary);
}

.wpforms-confirmation-container-full p{
  color: var(--wp--preset--color--light) !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 légales */ 

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

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

