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

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

.scroll-inner::-webkit-scrollbar,
.right::-webkit-scrollbar {
  width: 0 !important;   /* cacher visuellement */
}

.scroll-inner,
.right {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer */
}

.next-thumbs {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.next-thumbs a {
  width: 100px;
  height: 100px;
  display: block;
  overflow: hidden;
}

.next-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.next-thumbs img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.hidden {
  display: none;
}

.project-credits {
  width: 100%;
  color: white;
  background-color: black;
  text-align: left;
  font-size: 16px;
  padding: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.studio-info {
  text-align: left;
  padding: 20px;
  font-size: 16px;
  color: white;
  font-family: 'Cormorant Garamond', serif;
}


.next-projects {
  width: 100%;
  text-align: left;
  padding: 20px;
  background-color: black;
  color: white;
  font-size: 14px;
}

.next-projects a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.next-projects a:hover {
  text-decoration: underline;
}

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


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


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


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

.titre {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px;
  padding-left: 49%;
  display: flex;
  color: white;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 300;
  transition: opacity 0.5s ease;
  font-family: 'montserrat', sans-serif;
}

.explic {
  width: 100%;
  padding: 18px;
  padding-left: 49%;
  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;
}

.titre,
.explic {
  pointer-events: none;
  z-index: 10; /* s'assurer qu’ils restent visibles */
}


.main-footer {
  width: 100%;
  padding: 18px;
  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;
  background-color: black;
  z-index: 5;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
}


.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: 18px;
  display: flex;
  color: white;
  background-color: black;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 300;
  transition: opacity 0.5s ease;
  opacity: 0; /* 👈 visiblement affiché */
  pointer-events: none; /* 👈 activable */
  font-family: 'Cormorant Garamond', serif;
}


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


/* ---- DESKTOP ---- */
.container {
  display: flex;
  height: 100%; /* 140px = header (~70) + footer (~70) */
}


/* Partie gauche (images) */
.left {
  width: 50%;
  height: 100%;
  overflow-y: auto;
  padding-top: 80px;
  box-sizing: border-box;
  background-color: black;
  position: relative;
}


.scroll-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-right: 10px;
}
.scroll-inner::-webkit-scrollbar {
  display: none;
}

.scroll-inner img {
  width: 100%;
  display: block;
  height: auto;
  margin-bottom: 20px;
}

.scroll-inner::after {
  content: '';
  display: block;
  height: 20px;
}

/* Partie droite (texte desktop) */
.right {
  width: 50%;
  height: 100%;
  background-color: black;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 150px;
  color: white;
  font-size: 16px;
  line-height: 23px;
  position: relative;
  top: 0;
}

.right p {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

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

.mobile-project-end {
  display: none;
  background-color: black;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  padding: 40px 20px;
  text-align: center;
}

.mobile-project-end .project-credits,
.mobile-project-end .next-projects,
.mobile-project-end .studio-info {
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 22px;
}

.mobile-project-end .next-projects a {
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
}

.mobile-project-end .next-projects a:hover {
  text-decoration: underline;
}

/* ---- MOBILE ---- */
@media (max-width: 1000px) {
  html, body {
    height: auto;
    overflow: auto;
  }
  
  .info-image-bottom-right {
    display: none;
  }
  
  .scroll-inner {
    overflow-y: auto !important;
    height: auto !important;  /* ✅ au lieu de 100vh */
    max-height: none;
  }
  
.explic,
.titre {
  z-index: 10;
  background: transparent;
  pointer-events: none;
}

  
.mobile-project-end .studio-info {
    font-size: 17px;  /* ⬆️ augmente ici à 18px ou plus selon besoin */
  }

  .mobile-project-end .studio-info .MONTSERRAT,
  .mobile-project-end .studio-info .MONTSERRATMID {
    font-size: 16px;
  }
  
    .mobile-project-end .project-credits {
    font-size: 16px; /* augmente ici */
  }

  
    .next-thumbs {
    gap: 10px;
    justify-content: flex-start;
  }

  .next-thumbs a {
    width: 35vw;
    height: 35vw;
  }
  
  .mobile-project-end {
    display: block;
    padding-bottom: 200px;
  }

  
  .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-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: 10vw 3em 3em 2em;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 101;
}


.info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 1rem;
  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;
}

  
  .logo {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
  
  .titre,
  .explic {
    display: flex;
    flex-direction: column;
  }

  .mobile-invert {
    display: flex;
    flex-direction: column-reverse;
  }


  .intro-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .titre{
    position: static;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
  }
  
  .explic{
    position: static;
    height: 15vh;
    justify-content: end;
    align-items: center;
    padding: 2px;
    text-align: left;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
  }
  

  .intro-mobile p {
    font-size: 15px;
    line-height: 22px;
    color: white;
    padding: 30px 60px 140px 60px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
  }

  .container {
    flex-direction: column;
    height: auto;
  }

  .right {
    display: none; /* Cacher le texte desktop */
  }

  .left {
    width: 100%;
    height: auto;
    padding: 15px;
  }

  .scroll-inner {
    overflow: visible;
    max-height: none;
  }

  .scroll-inner img {
    margin-bottom: 16px;
  }
  
  .main-header {
  z-index: 10;
}
  
.main-footer {
  z-index: 12;
}


}
/* Ajoute ceci dans styles_pochette.css */
@media (min-width: 1001px) {
  .intro-mobile {
    display: none;
  }
}