* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: white;
  color: #111;
}
/* Galerie horizontale */
.artwork {
  display: flex;
  flex-direction: row;
  padding-top: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
  height: 80vh;
  /* Pas de gap ni padding sur le conteneur */
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}
.artwork::-webkit-scrollbar {
  display: none;
}
.image-wrapper {
  flex: 0 0 auto;
  /* Wrapper ajusté à la taille de l'image */
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Marges augmentées */
  margin-left: 4vw;
  margin-right: 4vw;
}
/* Première image : alignée avec le footer gauche sur grand écran */
.image-wrapper:first-child {
  margin-left: 20vw;
}

/* Alignement précis sur grand écran */
@media (min-width: 1024px) {
  .image-wrapper:first-child {
    margin-left: 1.5rem; /* Aligne avec le padding du footer gauche */
  }
}

@media (min-width: 1200px) {
  .image-wrapper:first-child {
    margin-left: 1.5rem; /* Maintient l'alignement sur très grand écran */
  }
}

/* Dernière image : marge plus importante à droite pour scroll final */
.image-wrapper:last-child {
  margin-right: 20vw;
}
.img-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.image-wrapper img {
  width: auto;
  max-width: 60vw;
  max-height: calc(100vh - 350px);
  object-fit: contain;
  display: block;
  margin-bottom: 1.5rem;
}
.img-desc {
  font-size: 0.6rem;
  color: #444;
  text-align: left;
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .image-wrapper {
    margin-left: 5vw;
    margin-right: 5vw;
  }
 
  .image-wrapper:first-child {
    margin-left: 10vw;
  }
 
  .image-wrapper:last-child {
    margin-right: 15vw;
  }
 
  .image-wrapper img {
    max-width: 75vw;
    max-height: calc(100vh - 330px);
  }
 
  .img-desc {
    font-size: 0.55rem;
  }
}
@media (max-width: 480px) {
  .image-wrapper {
    margin-left: 10vw;
    margin-right: 10vw;
  }
 
  .image-wrapper:first-child {
    margin-left: 10vw;
  }
 
  .image-wrapper:last-child {
    margin-right: 12vw;
  }
 
  .image-wrapper img {
    max-width: 85vw;
    max-height: calc(100vh - 310px);
  }
 
  .img-desc {
    font-size: 0.5rem;
  }
}
/* Footer gauche */
.handwriting-name {
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  transform: scale(2.5) translateY(-16%);
  transform-origin: left center;
}
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: none;
  z-index: 100;
  padding: 1rem 1.5rem;
  font-size: 0.6rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .sticky-footer {
    font-size: 0.45rem;
    padding: 1rem 1rem;
    line-height: 1.4;
  }
}
.footer-title {
  color: #000000;
  font-size: 0.7rem;
  font-weight: bold;
}
@media (max-width: 600px) {
  .footer-title { font-size: 0.6rem; }
}
.sticky-footer a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.822);
  transition: opacity 0.3s ease;
  font-size: 0.7rem;
}
.sticky-footer a:hover { opacity: 0.5; }
@media (max-width: 600px) {
  .sticky-footer a { font-size: 0.5rem; }
}
/* Footer centré = sélecteur */
.centered-footer {
  position: fixed;
  text-align: left;
  bottom: 0;
  left: 0;
  width: 100%;
  background: none;
  z-index: 50;
  padding: 6.5rem 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .centered-footer {
    font-size: 0.6rem;
    padding: 5.5rem 0.5rem;
    line-height: 1.4;
  }
}
.centered-footer a {
  text-decoration: none;
  margin: 0 0.5rem;
  color: rgba(0,0,0,0.55);
  transition: opacity 0.3s ease, color 0.3s ease;
}
.centered-footer a:hover { color: rgba(0,0,0,0.75); }
.centered-footer a.active-link {
  color: #000;
  font-weight: bold;
}