/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-family: "Neue Haas Grotesk Light", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 600; /* LIGHT */
  font-variation-settings: "wght" 600;
}

html, body {
  width: 100%;
  height: 100%;
  background: white;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between; /* Jules à gauche, tagline à droite */
  align-items: center;
  background: transparent;
  z-index: 2000;
}

/* Brand et tagline */
.brand,
.tagline {
  font-family: "Neue Haas Grotesk Light", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 400; /* LIGHT */
  font-variation-settings: "wght" 400;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 1.5;
  color: black;
  text-decoration: none;
}

.brand {
  cursor: pointer;
}

.tagline {
  text-align: right;
}

/* Section centrale avec image */
.white-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.white-section .top-img {
  max-width: 80%;
  max-height: 80%;
  position: relative;
  z-index: 2;
  transition: filter 0.3s ease;
}

.white-section .top-img:hover {
  filter: grayscale(100%);
}

/* Conteneur de l'image pour positionner le texte */
.photo-container {
  position: relative; /* nécessaire pour que le texte soit relatif à l'image */
  display: inline-block; /* s'adapte à la taille de l'image */
}

/* Image principale */
.photo-container .top-img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  transition: filter 0.3s ease;
}

.photo-container .top-img:hover {
  filter: grayscale(100%);
}

/* Texte en bas à gauche de l'image */
.photo-caption {
  position: absolute;
  bottom: 0; /* collé au bas de l'image */
  left: 0;   /* collé à gauche */
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  font-size: 14px;
  color: black;
  text-transform: none;
  padding: 8px; /* petit padding pour ne pas toucher le bord */
  background: rgba(255, 255, 255, 0.5); /* optionnel : fond semi-transparent pour lisibilité */
}