@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Neue Regrade Bold';
    src: url('/fonts/Neue-Regrade-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Regrade Medium';
    src: url('/fonts/Neue-Regrade-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Regrade Semibold';
    src: url('/fonts/Neue-Regrade-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}




*{
    box-sizing: border-box;
}

body{
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.principale_section{
  flex-basis: 65%;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
}


.flex-principal{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.flex-principal.moved{
    transform: translateX(-100%);
}

.logo_div {
  flex-basis: 65%;
  display: flex;
  justify-content: center; /* Centre le logo */
  align-items: center;
  max-width: 100%;
  margin: 0;
}

.logo{
  width: 80%; /* Définit une taille relative à l'écran */
    max-width: 1367px; /* Empêche qu'il soit trop grand sur grand écran */
    height: auto;
}

.flex-insta{
    display: flex;
    justify-content: space-between;
}

.flex-page{
    display: flex;
}


.img-carrousel img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

.menu-flex{
    display: flex;
    font-family: 'Neue Regrade Bold', sans-serif;
    font-size: 2em;
    width: 100%;
    padding: 0;
}

.menu-flex li{
  flex: 1; /* Chaque bouton prend une part égale de l'espace */
  text-align: center;
  padding: 4vh 0; /* Ajuste la hauteur */
  list-style: none;
  font-weight: bold;
  cursor: pointer;
}

.border-1{
  border-bottom: 2px solid #000;
  border-top: 2px solid #000;
}

.border-2{
  border: 2px solid #000;
}


.container_details {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}


.container_details p {
    margin: 0;
    padding: 20px;
    font-family: 'Neue Regrade Semibold', sans-serif;
    font-size: 1em;
}

.Font-gauche{
  flex-basis: 55%;
}

.Font-gauche p{
    font-size: 2em;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 15px;
}

.flex-lien{
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.lien-container{
  flex-basis: 35%;
}

a{
    padding-right: 0;
    text-decoration: none;
    color: #252422;
}

.flex-carrousel{
    height: 100vh;
    z-index: 100;
    flex-basis: 35%;
    justify-content: center;
    overflow: hidden;
    display: flex;
    position: relative;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
    border: 2px solid #000;
}

.flex-carrousel.moved{
    transform: translateX(-186%);
}

.carousel {
    height: 100%;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
    position: relative;
  }

  .carousel-item {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-shrink: 0;
  }

  
  .carousel-item.fade {
    opacity: 0;
    animation: fadeIn 0.5s forwards; /* Animation de fondu pour l'effet de transition */
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  .carousel.works-active {
    transition: transform 0.5s ease-in-out; /* Transition verticale uniquement sur Works */
    transform: translateX(0); /* Éviter les conflits avec translateX sur autres pages */
  }
  

  .carousel img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .second-partie{
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 100%;
    transition: transform 0.5s ease-in-out;
    background-color: #fafafa;
    height: 100vh;
    width: 66%;
    transform: translateX(0);
    background-color: #FFFF;
    border: 2px solid #000;
  }

  .border-menu-2{
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
  }

  .second-partie.moved{
    transform: translateX(-100%);
  }



.menu-flex-2{
  display: flex;
  font-family: 'Neue Regrade Bold', sans-serif;
  font-size: 2rem;
  width: 100%;
  position: relative;
  z-index: 30;
  background-color: #FFFF;
  padding: 0;
  margin: 0;
}

.menu-flex-2 li{
  flex: 1; /* Chaque bouton prend une part égale de l'espace */
  text-align: center;
  padding: 3.5vh 0; /* Ajuste la hauteur */
  list-style: none;
  font-weight: bold;
  cursor: pointer;
}


.about-text{
    margin: 0 auto;
    width: 60%;
}


.carrousel-works{
    height: auto;
    overflow: hidden;
    display: grid;
    align-content: center;
    justify-items: center;
}
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
}
.article-works {
    margin-top: 20%;
    width: 100%;
    min-height: 460px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.article-works p{
    font-family: 'Neue Regrade Medium', sans-serif;
    font-size: 2em;
}

.article-works h2{
    font-size: 2.1vw;
    font-family: 'Neue Regrade Semibold', sans-serif;
}

.active {
    opacity: 1;
    display: block;
}

.active-container {
    display: block;
}

.progress-bar {
    bottom: 0;
    left: 0;
    height: 5px;
    background: blue;
    width: 0;
    transition: width 3s linear;
}

.controls {
  display: flex;
  align-items: center; /* espace entre les éléments */
}

.progress-bar {
  width: 215px; /* Largeur de la barre */
  height: 18px; /* Hauteur de la barre */
  border: 2px solid black; /* Bordure noire */
  background-color: white;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: black;
  animation: fillProgress 10.3s linear forwards;
}

/* Animation qui remplit de gauche à droite */
@keyframes fillProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.controls img {
    width: 60px; /* ou la taille que tu veux */
    height: auto; /* pour garder les proportions */
    cursor: pointer;
  }

.button-works-gauche {
    padding: 10px;
    cursor: pointer;
}

.button-works-droite {
    padding: 10px;
    cursor: pointer;
    transform: rotate(180deg);
}

.content{
    margin: 0 180px 0 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content h2{
    font-size: 2.1vw;
    font-family: 'Neue Regrade Medium', sans-serif;
}

.content p{
  margin-top: 17.5px;
    font-size: 2em;
    font-family: 'Neue Regrade medium', sans-serif;

}

.div-About{
    height: 80%;
    display: grid;
    align-content: center;
}

#contentContainercontact{
    height: 80%;
    display: grid;
    align-content: center;
}

.content-animation{
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: absolute;
    width: 100%;
    left: 0;
    display: none; /* par défaut caché */
    z-index: 2;
}

.content-animation.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.content-animation.hide-up {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flex-btn-contact{
    display: flex;
    gap: 40px;
    margin-top: 23px;
}

.flex-contact-logo{
  display: flex;
  gap: 15px;
}

.highlight{
    background-color: #f81818b0; /* Couleur de fond */
    padding: 0 5px; /* Espace autour du mot */
}

.highlight-right {
  position: relative; 
  display: inline-block; 
  z-index: 1;
}

.highlight-right::before {
  content: ""; 
  position: absolute;
  left: -5px; 
  width: calc(100% + 10px);
  height: 80%;
  background-color: #f81818b0; 
  transform: rotate(2deg);
  z-index: -1;
  padding: 4px 0;
}

.highlight-left {
    position: relative; 
    display: inline-block; 
    z-index: 1;
}

.highlight-left::before {
    content: ""; 
    position: absolute;
    left: -5px; 
    width: calc(100% + 10px);
    height: 80%;
    background-color: #f81818b0; 
    transform: rotate(-2deg);
    z-index: -1;
    padding: 4px 0;
}

.btn-contact{
    background-color: #000000; /* Green */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 21px;
    font-family: 'Neue Regrade Simibold', sans-serif;
    cursor: pointer;
    width: 243px;
    height: 48px;
    align-self: center;
}

.img-reseau img{
  display: block;
  width: 50%;
  height: auto;
  margin: 0;
  padding: 0;
}

.img-reseau{
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.point-intero{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.projet-tel{
  display: none;
}

.burger {
  top: 20px;
  right: 20px;
  width: 30px;
  z-index: 1001;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: none;
}

.burger div {
  height: 4px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}


/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay a {
  font-family: 'Neue Regrade Simibold', sans-serif;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 2rem;
  margin: 20px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
}


.hidden {
  display: none;
}

.desk_info{
  display: block;
}

.tel_info{
  display: none;
}


@media (max-width: 1600px) {
  .logo {
      max-width: 748px;
  }
  .article-works{
    min-height: 220px;
  }
  .controls{
    margin-top: 50px;
  }
}

@media (max-width: 1200px) {
  .logo {
      max-width: 548px;
  }
  .controls{
    margin-top: 50px;
  }

  .article-works{
    min-height: 220px;
  }

  .container_details p {
    display: none;
}
}

@media (max-width: 768px) {

  .desk_info{
    display: none;
  }
  
  .tel_info{
    display: block;
  }

  .tel_info h2{
    line-height: 150%;
  }

  .burger {
    display: block;
    margin-right: 10%;
  }

  .logo_div {
    display: flex;
    justify-content: space-between;
}

.logo {
  width: 50%;
  margin-left: 3%;
}

  /* Quand le menu est ouvert, cacher le burger */
  .menu-overlay.open + .burger {
    display: none;
  }

    body, html {
      overflow-x: hidden;
      height: auto;
    }

    .principale_section{
      border: 0;
    }
  
    main, .flex-page {
      display: block;
      width: 100%;
    }
  
    /* On cache le carrousel et le second menu sur mobile */
    .flex-carrousel, 
    .menu-flex-2, 
    #contentContainercontact {
      display: none !important;
    }
  
    .flex-principal, 
    .second-partie {
      position: static;
      transform: none !important;
      width: 100%;
      height: auto;
      display: block;
      border: 0;
    }
  
    .menu-flex {
      flex-direction: column;
      align-items: center;
      font-size: 1.5em;
      display: none;
    }
  
    .menu-flex li {
      padding: 20px 70px;
      margin: 5px 0;
    }
  
    .container {
      flex-direction: column;
      padding: 10px;
    }
  
    .container div {
      width: 100%;
      text-align: center;
    }
  
    .Font-gauche p, 
    .content p {
      font-size: 1.1em;
    }
  
    .content h2 {
      font-size: 1.5em;
    }
  
    .content, 
    .div-About {
      margin: 20px;
      position: static;
      opacity: 1;
      transform: none;
    }

    .projet-tel{
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 32px;
      margin: 0 30px;
    }
    
    .div-tel-projet{
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .fluid-tel{
      width: 100%;
      height: auto;
    }
    .div-tel-projet H4{
     margin: 0;
     font-family: 'Neue Regrade bold', sans-serif;
     font-size: 1em;
    }
    
    .div-tel-projet p{
      margin: 0;
     font-family: 'Neue Regrade Medium', sans-serif;
     color: #000000b9;
     font-size: 0.9em;
     }
    
  
    .content-animation {
      transform: none !important;
      opacity: 1 !important;
      position: static !important;
      display: block !important;
      width: auto;
      
    }

  
  
    .controls {
      justify-content: center;
    }
  
    .flex-btn-contact {
      flex-direction: column;
      align-items: center;
    }
  
    .btn-contact {
      width: 200px;
      margin-bottom: 15px;
      color: #fafafa;
    }

    .btn-contact a{
      color: white !important;        /* Texte en blanc et priorité haute */
      text-decoration: none !important; 
    }

    .carrousel-works{
        display: none;
    }

    .content-container{
        display: none;
    }

    .container{
        display: none;
    }

    footer {
        border-top: 2px solid #000;
        font-family: sans-serif;
        margin-top: 45px;
      }
      
      .footer-talk {
        text-align: center;
        padding: 20px 18px;
      }
      
      .footer-talk p {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 16px;
      }
      
      .footer-talk button {
        background-color: black;
        color: white;
        padding: 15px 30px;
        border: none;
        font-size: 16px;
        cursor: pointer;
        width: 100%;
      }
      
      .footer-second {
        display: flex;
        border-top: 2px solid #000;
        justify-content: space-between;
      }
      
      .flex-lien-footer p {
        margin: 0;
        font-size: 0.7em;
        text-transform: uppercase;
      }
      
      .flex-lien-footer{
        flex-basis: 36%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        gap: 36.5px;
        border-right: 2px solid #000;
        padding: 23px 15px 15px 15px;
     font-family: 'Neue Regrade Medium', sans-serif;

      }

      .spe-footer{
        display: flex;
        flex-direction: column;
        gap: 15px;
      }

      .flex-p-footer{
        flex-basis: 60%;
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 23px 15px 15px 15px;
      }
      

      .flex-lien-footer a {
        color: black;
        text-decoration: none;
        font-weight: 500;
      }
      
      .flex-p-footer p {
        margin: 0;
        font-size: 0.8em;
      }

      .studio-text{
        font-size: 7em;
      }

      .container_details {
        display: none;
    }
  }
  
  