

.is--activ-switch{background-color:#000000; color:#FFFFFF;}

/*Fluid responsive*/
html { font-size: 16px; }
@media (min-width: 240px) {
   html {font-size: calc(16px + 0 * ((100vw - 240px) / 239));}
}
@media (min-width: 768px) {
   html {font-size: calc(16px + 0 * ((100vw - 768px) / 223));}
}
@media (min-width: 992px) {
   html {font-size: calc(16px * ((100vw - 992px) / 608));}

/*html {font-size: calc(9.39px + 6.61 * ((100vw - 992px) / 608));}*/
}
@media (min-width: 1600px) {
   html {font-size: 16px;}
}


/* Reset */
body{
	overscroll-behavior: none;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-img="render"] {
	image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

::selection {
	background: #000000;
	color: #FFFFFF;
	text-shadow: none;
}

input,
textarea,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none; border-radius: 0; 
	background-image: none; 
}

/*Smarter line-height*/
* {
  line-height: calc(1em + 0.5rem);
}


/*Style du slider swiper js boutons et pastilles*/
.swiper-prev.is-disabled{opacity:0.2; pointer-events: none;}
.swiper-next.is-disabled{opacity:0.2; pointer-events: none;}
.swiper-bullet.swiper-pagination-bullet-active{background-color:black;}


/*Class pour masquer un élément*/
.is-hidden{display:none; opacity:0;}


/*Style de navigation custom*/
[button-contact-bg="white"] {
background-color: #FFFFFF;
}



/*Stylesheet de Lenis Scroll*/
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}




/*Style pour un player video custom avec bouton et timeline*/

  /* Conteneur vidéo */
  .video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Définir un ratio fixe pour le conteneur si nécessaire */
  aspect-ratio: 16/9; /* Décommentez et ajustez selon vos besoins */
}

  video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Force l'image à couvrir tout l'espace */
    object-position: center; /* Centre l'image */
  }
  
  video[poster] {
  object-fit: cover !important;
  object-position: center !important;
  height: 100% !important;
}
  
  /* Bouton de lecture */
  .custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
  }
  
  /* Icône de lecture */
  .play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
  }
  
  /* Icône de pause */
  .pause-icon {
    width: 25px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
  }

  .pause-bar-left,
  .pause-bar-right {
    position: static;
    width: 6px;
    height: 30px;
    background-color: #fff;
    border-radius: 2px;
    margin: 0 3px;
  }

  .pause-bar-left {
    left: 5px;
  }

  .pause-bar-right {
    right: 5px;
  }


  /* Timeline */
  .timeline-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
  }
  
  /* Barre de progression */
  .progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: visible;
  }
  
  .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #ffd910;
    border-radius: 4px;
    width: 0%;
    z-index: 2;
    opacity: 1;
    transition: width 0.1s linear;
  }
  
  /* États */
  .custom-play-button.hidden {
    opacity: 0;
  }
  
  .video-wrapper:hover .custom-play-button.hidden,
  .video-wrapper:hover .timeline-container {
    opacity: 1;
  }
  
  
/*Annuler le span qui bloque le clic sur le bouton de menu (animation gsap de déformation des lettres)*/
.button__text span {
  display: inline-block;
  pointer-events: none;
  transform-origin: center;
}

/*Force la scrollbar à rester visible quand on affiche le menu (bug décalage à l'affichage)*/
html {
  overflow-y: scroll;
}



