

:root {
  --color-primary:   #161616;  /* Couleur dominante, souvent utilisée pour les fonds ou le texte fort */
  --color-secondary: #A3A3A3;  /* Couleur secondaire, parfaite pour les éléments de soutien */
  --color-accent:    #FCFCFC;  /* Couleur d’accent ou de contraste */
}


.fade-in {
        opacity: 0;
        transform: translateY(-100px);
        /* Only set initial state, no animation or transition here */
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 1.8s ease-out, transform 1.8s ease-out;
    }





 .fade-down {
        opacity: 0;
        transform: translateY(100px);
        /* Only set initial state, no animation or transition here */
    }


    .fade-down.visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 1.8s ease-out 0.4s, transform 1.8s ease-out 0.4s;
    }


    

html {
    overflow-x: hidden;
}

header {
        transition: opacity 1.8s ease-out 0.4s, transform 1.8s ease-out 0.4s;

}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-primary);
  color: var(--color-accent);
  text-align: center;
   width: 100vw;
    overflow-x: hidden;
}


.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.hero svg {
    position: relative;
    display: block;
    width: auto; /* au lieu de 100% */
    max-width: 100%; /* responsive */
    height: auto;
    z-index: -100;
    margin: 0 auto; /* centre horizontalement */
    text-align: center;
}

.hero span {
    width: 100%;
}

.title {
  font-size: 6rem;
  font-weight: bold;
  margin: 0;
}

.block {
    width: 100%;
  margin: 1rem;
  overflow: hidden;
  height: fit-content;
}


.block img {
 width: 100%;
  height: 100%;
}

.one-cols {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    gap: 1rem;
}

iframe {
  width: 100%;
  height: 90vh;
}

/* Nouvelle définition .info-project et enfants pour alignement et centrage */
.info-project {
    display: flex;
    flex-direction: row;
    justify-content: center; /* centrer les éléments horizontalement */
    align-items: center;
    width: 100%;
    padding: 0rem 6rem;
}

.info-block {
    width: 14rem;
    display: flex;
    flex-direction: column;
}
.left {
        align-items: flex-start; 

}
.right {
        align-items: flex-end; 

}

.info-title {
    width: 100%;
    text-align: left;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.info-font {
    text-align: center;
    margin: 0 auto; /* centre horizontalement par rapport à la page */
}

.content {
    display: flex;
    flex-direction: column;
    gap: 256px;
}

/* Taille des blocs */
.big {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.big img {
    width: 100%;
    height: fit-content;
    object-fit: contain;
}

.wide {
  width: 90%;
  height: 300px;
  margin: 2rem auto;
}

.small {
  width: 60%;
  height: fit-content;
  margin: 1rem auto;
}

.small1 {
    width: 40%;
  height: fit-content;
  margin: 1rem auto;
}

.small2 {
    width: 30%;
  height: fit-content;
  margin: 1rem auto;
}

.description {
display: flex;
flex-direction: column;
align-items: center;
gap: 8rem ;
padding: 0rem 9rem;
}

.description-title {
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 80%;

}

.description-title h1{
    text-align: start;

}

.description-subtext {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;

}

.text {
    width: 80%;
    text-align: start;
    text-indent: 90;
    font-weight: lighter;
    font-style: italic;
    font-size: 2rem;
    color: var(--color-secondary);
}

.info-text {
    text-align: start;
    font-weight: lighter;
    font-style: italic;
    font-size: 1rem;
}

.objet {
    font-style: italic;
    font-weight: 600;
    letter-spacing: -1px;
    font-size: 1rem;
}

.gallery {
  display: grid;
  gap: 6px;
  margin: 2rem auto;
  width: 90%;
  height: fit-content;
}

.gallery .block {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery .block img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde les proportions et remplit le block */
}

.row-gallery {
  display: flex;
  flex-direction: row;
  gap: 6px;
  width: 100%;
  overflow-x: auto;
}

.row-gallery .block {
    width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.two-lines {
  grid-template-columns: repeat(1, 2fr);
}

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}



.next-project {
    display: flex;
    flex-direction: column;
margin-top: 16rem;
  padding: 4rem 1rem 6rem 1rem;
}

.project-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 0rem 32rem 2rem 32rem;
}

.footer-svg {
    width: 100%;
    display: block;
    margin: 0 auto;
}


.next-project .small {
  font-size: 0.8rem;
}

.next-project h2 {
  font-size: 3rem;
  margin: 1rem 0;
}



.footer-image {
    opacity: 1;
    transform: scale(0.8);
    transform-origin: center;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.footer-image.revealed {
    opacity: 1;
    transform: scale(1);
}












.highlight-font {
font-family: 'Nyght Serif';    
font-weight: 100;
    font-style: italic;
    font-display: swap;
    font-size: 6rem;
}



.info-font {
    font-family: 'Nyght Serif';
    font-weight: 100;
    font-style: italic;
    font-display: swap;
    font-size: 3rem;
    text-align: center;
    margin: 0 auto;
}


.info-content {
    display: inline-block;
    width: fit-content;
}










  .container-post {
    width: 100%;
    height: 100%;
    position: relative; /* Pour que les enfants positionnÃ©s soient relatifs Ã  ce bloc */
    align-items: center;
    background-color: var(--color-primary);

  }
  
  .video-stack {
    position: relative;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .v-bottom,
  .v-top,
  .gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
  }
  

  .v-top {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 5;
    object-fit: contain;
  }



  .gradient {
    width: 100%;
    background: linear-gradient(180deg, rgba(22, 22, 22, 0) 0%, rgba(22, 22, 22, 1) 95%);
    z-index: 2;
  }
  

  .v-bottom {
    width: 100%;
    z-index: 1;
  }




.s-top {
        position: relative;
    width: 100%;
    height: 100vh;
    z-index: 5;
    object-fit: cover;
}