/* Réinitialisation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  min-height: 100vh;
  font-family: 'Cormorant Garamond', serif;
  background-color: black;
}

.MONTSERRATLIGHT {
  font-family: 'Montserrat', sans-serif; /* ou une autre de ton choix */
  font-weight: 100;
  letter-spacing: 1px;
  font-size: 13px; /* adapte selon besoin */
}

.info-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



.horiontal-texts {
  display: flex;
  gap: 2rem; /* espace entre les paragraphes */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* utile si écran plus petit */
}

.horizontal-texts p {
  margin: 0;
  flex: 1;
}


.info-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 100;
  display: block;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.info-overlay.hidden {
  display: none;
  opacity: 0;
}

.info-container {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  padding: 3vw;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 101;
}

.masonry-item video {
  display: block;
  width: 100%;
  height: auto;
  break-inside: avoid;
  object-fit: cover;
  transition: transform 0.3s ease;
  will-change: transform;
}

.masonry-item:hover video {
  transform: scale(1.02);
}



.info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 2rem;
  color: white;
  font-family: 'Cormorant Garamond', serif;
}

.info-left p {
  font-size: 16px;
}

.info-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
  font-family: 'Cormorant Garamond', serif;
}

.info-text-right {
  width: 100%;
  text-align: right;
}

.info-text h1 {
  font-size: 32px;
  margin-bottom: 1rem;
}

.info-image {
  height: 50vh;       /* ✅ moitié inférieure */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.info-image-bottom-right {
  width: 100%;
  height: auto;
}

.info-image-bottom-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-info {
  color: white;
  position: absolute;
  top: 1rem;
  right: 3rem;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
}

.main-footer {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;  /* 👈 AU LIEU DE center */
  font-size: 16px;
  font-weight: 300;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
  background-color: black;
}

.footer-left, .footer-right {
  cursor: pointer;
}

.footer-left:hover,
.footer-right:hover {
  text-decoration: underline;
}

.MONTSERRAT {
  font-family: 'Montserrat', sans-serif; /* ou une autre de ton choix */
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px; /* adapte selon besoin */
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  padding: 20px;
  display: flex;
  color: white;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 300;
  transition: opacity 0.5s ease;
  font-family: 'Cormorant Garamond', serif;
    animation: fadeInUp 2s ease-out forwards;
  animation-delay: 0.2s;
  background-color: black;
}


.header-right:visited,
.header-right:link,
.header-right:active,
.header-right:hover {
  color: white;
  text-decoration: none;
}

.header-left {
  cursor: pointer;
  margin-bottom: 0.5rem;
  color: white;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 300;
}


.header-right {
  cursor: pointer;
  margin-bottom: 0.5rem;
  color: white;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 300;
}

.header-left, .header-right {
  cursor: pointer;
}

/* Optionnel : animation au survol */
.header-right:hover,
.header-left:hover {
  text-decoration: underline;
}

.masonry {
  column-count: 4;
  padding: 20px;
  padding-bottom: 60px;
  padding-top: 80px;
  margin: 0 auto;
}

.masonry img {
  width: 100%;
  height: auto;
  display: block;
  break-inside: avoid;
  object-fit: cover;
}

.masonry-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
  transition: transform 0.3s ease;
  will-change: transform;
  z-index: 1;
}

.masonry-item:hover {
  transform: scale(1.03);
  z-index: 2; /* assure que ça passe par-dessus les voisins */
}

.masonry-item img {
  transition: transform 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.02);
}


.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  break-inside: avoid;
  transition: transform 0.3s ease;
  will-change: transform;
}


/* Responsive */
@media (max-width: 1200px) {
  .masonry {
    column-count: 3;
  }
  
  .MONTSERRATLIGHT {
  font-family: 'Montserrat', sans-serif; /* ou une autre de ton choix */
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 13px; /* adapte selon besoin */
}
  
  
.horizontal-texts {
  display: flex;
  gap: 1rem; /* espace entre les paragraphes */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* utile si écran plus petit */
}

.horizontal-texts p {
  margin: 0;
  flex: 1;
}
  
.info-container {
    flex-direction: column;
    align-items: flex-start;
  padding-right: 30px;
  padding-bottom: 15px;
    overflow-y: auto;
  }
  

  .info-left,
  .info-right {
    width: 100%;
    padding-right: 0;
    align-items: flex-start;
    text-align: left;
    display: flex;
  flex-direction: column;
  }

  .info-text-right {
    text-align: right;
  }

  .info-right {
    align-items: flex-start;
    margin-top: 2rem;
  }
  
  .info-left p:last-of-type {
  order: 2;
}

.info-right .info-text-right {
  order: 0;
}

.info-left .horizontal-texts,
.info-right .horizontal-texts {
  order: 0;
  margin-bottom: 1.5rem;
}

.close-info {
  color: white;
  position: absolute;
  top: 1rem;
  right: 3rem;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
}
  

}
@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
  
  .MONTSERRATLIGHT {
  font-family: 'Montserrat', sans-serif; /* ou une autre de ton choix */
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 13px; /* adapte selon besoin */
}
  
  
  .horizontal-texts {
  display: flex;
  gap: 1rem; /* espace entre les paragraphes */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* utile si écran plus petit */
}

.horizontal-texts p {
  margin: 0;
  flex: 1;
}
  
.info-container {
    flex-direction: column;
    align-items: flex-start;
  padding-right: 30px;
  padding-bottom: 15px;
    overflow-y: auto;
  }
  

  .info-left,
  .info-right {
    width: 100%;
    padding-right: 0;
    align-items: flex-start;
    text-align: left;
    display: flex;
  flex-direction: column;
  }

  .info-text-right {
    text-align: right;
  }

  .info-right {
    align-items: flex-start;
    margin-top: 2rem;
  }
  
  .info-left p:last-of-type {
  order: 2;
}

.info-right .info-text-right {
  order: 0;
}

.info-left .horizontal-texts,
.info-right .horizontal-texts {
  order: 0;
  margin-bottom: 1.5rem;
}

.close-info {
  color: white;
  position: absolute;
  top: 1rem;
  right: 3rem;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
}

}

