/* 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;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 20px;

}

.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é */
}


img {
  margin: 0;
  padding: 0;
  display: block;
}

.photo-container {
  margin: 0;
}

.photo-container .top-img {
  max-width: 80%;
}

.img [src="gop04.png"] { 
 padding-bottom: 300px;
 }
 
 .photo-container {
	outline: 2px solid red; 
}

.footer-spacer {
	height; 80px; 
	background-color: #fff;
}	

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
}

.white-section {
  margin-top: 80px;
}

body {
  margin: 0;
  padding-top: 0;
}

.white-section {
  margin-top: 0px; /* hauteur du header */
}

.white-section {
  scroll-margin-top: 80px;
}

.white-section:first-of-type {
  margin-top: 80px; /* hauteur du header */
}

.site-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #666;
  background-color: #fff;
}

a {
  text-decoration: none;      /* enlève le soulignement */
  color: inherit;             /* enlève le bleu */
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:active {
  outline: none;
}

/* Footer */
.site-footer p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 300; /* light */
  text-transform: none;
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: center; /* centre le texte dans le footer */
  color: #666; /* optionnel, tu peux changer la couleur */
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.white-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;

  padding-top: 5px;
  padding-bottom; 5px; /* 👈 ESPACE ENTRE LES IMAGES */
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  z-index: 2000;
  pointer-events: none;
}

.site-header a,
.site-header .tagline {
  pointer-events: auto;
}

/* Lettres */
.site-header span.char {
  display: inline-block;
  transition: filter 0.15s ease;
}

/* Mode négatif */
.site-header.is-negative span.char {
  filter: invert(1);
}

.site-header.is-negative span.char {
  transition-delay: calc(var(--i) * 12ms);
}

.site-header .brand,
.site-header .tagline {
  color: black;                /* Texte par défaut noir */
  mix-blend-mode: difference;  /* Texte devient blanc sur fond sombre */
  font-weight: 400;
  font-variation-settings: "wght" 400;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-weight: bold;
  font-size: 20px;
}

/* Texte noir par défaut */
.site-header .brand,
.site-header .tagline {
  color: black;
  position: relative;
  z-index: 2;
}

/* Image */
.top-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Pseudo-overlay pour texte inversé */
.photo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}