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

  .picto-burger.active,
  .picto-close.active {
    display: block !important;
  }
}

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

  body h1 {
    font-size: 60px !important;
  }

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

  .triangle-1,
  .triangle-2,
  .triangle-3,
  .triangle-left,
  .triangle-right{
    aspect-ratio: 361/400 !important;
  }

  .swiper-imgs .swiper-slide{
    max-height: 550px;
  }

  .navbar .swiper-menu{
    transform: translate(150%, 0%) !important;
  }

  .navbar.active .swiper-menu{
    transform: translate(50%, 0%) !important;
  }

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

  /* 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--custom--wrapper--py: 60px !important;
    --wp--custom--wrapper--px: 60px !important;
  }

  body h1 {
    font-size: 48px !important;
  }

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

    
  .navbar .swiper-menu{
    transform: translate(134%, 0%) !important;
  }
  
  .navbar.active .swiper-menu{
    transform: translate(34%, 0%) !important;
  }

  /* POPUP */

  .popup-formulaire {
    padding: var(--wp--preset--spacing--40) !important;
  }
}
@media not all and (min-width: 768px) {
  :root {
    --wp--custom--wrapper--py: 40px !important;
    --wp--custom--wrapper--px: 40px !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: 20px !important;
    --wp--custom--wrapper--px: 20px !important;
    --wp--custom--wrapper--gap: 32px !important;
    --marquee-gap: 40px !important;
  }
  
  body h1 {
    font-size: 36px !important;
  }
  
  body h3{
    font-size: 24px !important;
  }
  
  .triangle-1,
  .triangle-2,
  .triangle-3,
  .triangle-left,
  .triangle-right{
    aspect-ratio: 287/300 !important;
  }
  /*
  .logo-marquee__set{
    gap: 40px !important;
    padding-left: 40px !important;
    }
    */
    
  .navbar .swiper-menu{
    transform: translate(100%, 0%) !important;
  }
    
  .navbar.active .swiper-menu{
    transform: translate(0%, 0%) !important;
  }
  /* POPUP */
    
  .popup-formulaire {
    width: 90% !important;
    padding: var(--wp--preset--spacing--32) !important;
  }

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

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

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

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

.button-outilned:hover {
  background-color: var(--wp--preset--color--light);
  color: var(--wp--preset--color--blue-primary);
}

.button-blue {
  background: var(--wp--preset--color--blue-tertiary);
}

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

.button-green {
  background: var(--wp--preset--color--green-tertiary);
}

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

.button-orange {
  background: var(--wp--preset--color--orange-tertiary);
}

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


.triangle-left{
  mask-image: url(/wp-content/uploads/2025/12/patron-triangle-hero-gauche.svg);
  mask-position: 100%;
  mask-repeat: no-repeat;
}

.triangle-right{
  mask-image: url(/wp-content/uploads/2025/12/patron-triangle-hero-droite.svg);
  mask-position: 100%;
  mask-repeat: no-repeat;
}

.triangle-1,
.triangle-2,
.triangle-3{
  position: absolute;
  inset: 0;
  aspect-ratio: 626/601;
  width: 100%;
  height: 100%;
}

strong{
  font-weight: 700 !important;
}

/* HEADER */

/* HEADER */

html.active{ 
  overflow: hidden;
}

.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(200%, 0%);
  position: absolute;
  pointer-events: none;
  transition: transform 1s ease-in-out;
}

.navbar.active .swiper-menu{
  pointer-events: all;
  transform: translate(100%, 0%);
}

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

.navbar-open{
  width: 100%;
  padding-top: 90px;
  text-align: end;
}

.navbar-open .menu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--h-3);
  color: var(--wp--preset--color--light);
  font-weight: 400;
  z-index: 100;
  transition: font-weight 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.navbar-open .menu li:hover{
  font-size: 36px;
  font-weight: 700;
}


.picto-open,
.picto-close {
  width: 35px;
  height: 40px;
  cursor: pointer;
  transition: padding 0.3s ease-in-out;
}

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

.picto-open:hover path{
  fill: #E6742D;
}

.picto-close:hover path {
  fill: #F7D4B1;
}


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

.background-blue::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--blue-primary);
  opacity: 0.6;
  pointer-events: none;
}

.background-blue-secondary::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--blue-primary);
  opacity: 0.8;
  pointer-events: none;
}

.background-blue-tertiary::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--blue-secondary);
  opacity: 0.8;
  pointer-events: none;
}

.background-orange::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--orange-primary);
  opacity: 0.6;
  pointer-events: none;
}

.background-green::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--green-primary);
  opacity: 0.6;
  pointer-events: none;
}

.background-green-secondary::after {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--green-secondary);
  opacity: 0.6;
  pointer-events: none;
}

.background-triangle::before {
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2025/12/motif-2.png);
  opacity: 0.1;
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotate(180deg);
  pointer-events: none;
}

/* PAGE ACCUEIL */

.logo-marquee{
  overflow: hidden;
}

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

/* items */
.logo-marquee__item{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* AVIS */

.es-review-background-container{
  position: relative;
  background-color: rgba(195, 195, 195, 0.30) !important;
  padding: 60px !important;
  gap: 40px !important;
}

.es-review-background-container::before{
  position: absolute;
  content: "";
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2025/12/motif-2.png);
  opacity: 0.1;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.es-review-author-block-container,
.es-review-content-container{
  z-index: 10;
}

.es-review-author-name{
  font-family: var(--wp--preset--font-family--primary);
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: normal !important;
}

.es-review-author-block-container{
  flex-direction: column;
  margin-bottom: 0 !important;
  gap: 40px !important;
}
.es-review-author-block-container::before{
  content: "";
  background-image: url(/wp-content/uploads/2026/01/Vector-1.png);
  width: 50px;
  height: 50px;
  background-size: contain;
}

.es-carousel-arrow-control-container[aria-label="Previous"]{
  right: calc(50% + 10px) !important;
  left: unset !important;
  top: unset !important;
  bottom: 0;
  transform: translateY(60px);
}

.es-carousel-arrow-control-container[aria-label="Next"]{
  left: calc(50% + 10px) !important;
  right: unset !important;
  top: unset !important;
  bottom: 0;
  transform: translateY(60px);
}


.es-carousel-arrow-control-right,
.es-carousel-arrow-control-left{
  background-color: unset !important;
}

.es-carousel-arrow-control-right svg,
.es-carousel-arrow-control-left svg{
  opacity: 0;
}

.es-carousel-arrow-control-right::before,
.es-carousel-arrow-control-left::before{
  content: "";
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate( -50%, -50%);
  background-image: url(/wp-content/uploads/2026/01/Fleche.png);
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 20px;
}

.es-carousel-arrow-control-right::before{
    transform: translate( -50%, -50%) rotate(180deg);
}

.es-text-shortener-control-open{
  font-weight: bold;
  padding-top: 10px;
}

.es-review-container{
  gap: 20px;
}


/* Carousel Img */

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

.swiper-imgs .swiper-wrapper {
  height: auto;
}

.swiper-imgs .swiper-slide{
  aspect-ratio:  1/1;
  max-height: 600px;
}

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

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

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

.formulaire .wpforms-field-required input::before,
.formulaire .wpforms-field-required input::after,
.formulaire .wpforms-field input::before,
.formulaire .wpforms-field input::after,
.formulaire .wpforms-field-required input,
.formulaire .wpforms-field 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--blue-primary) !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--orange-tertiary) !important;
  border-radius: 0px !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--orange-hovered) !important;
}

div.wpforms-container-full button[type=submit]:hover{
  background: unset;
}

/* POP UP FORMULAIRE */

.popup-formulaire {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--wp--preset--color--blue-primary);
  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--orange-tertiary);
  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--orange-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--blue-primary) !important;
  font-family: var(--wp--preset--font-family--secondary);
}

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

/* Footer Netdev */

.netdev-footer {
  background-color: var(--wp--preset--color--blue-hovered) !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;
}
