html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pais', sans-serif;
  letter-spacing: -0.06em;
  margin: 0;
}



.logo {
  position: absolute;   /* permet de le placer librement sur la page */
  top: 50%;             /* centre verticalement */
  left: 50%;            /* centre horizontalement */
  transform: translate(-50%, -50%); /* recentre parfaitement */
  z-index: 1000000;         /* au-dessus de l’image, mais sous le grain si besoin */
  width: 140px;         /* taille du logo — à ajuster selon ton design */
  height: auto;
  pointer-events: none; /* optionnel : pour ne pas bloquer les clics derrière */
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.image {
  width: 100vw;       /* prend toute la largeur de l’écran */
  height: 100vh;      /* prend toute la hauteur de l’écran */
  overflow: hidden;   /* cache ce qui dépasse */
  position: relative; /* utile si tu veux superposer d’autres éléments plus tard */
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* remplit le cadre sans déformation */
  object-position: center; /* centre l’image */
  display: block;         /* supprime les espaces indésirables */
}

a {
  color: inherit;
  text-decoration: none;
}

/* Division des images */
.division {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 100vh;
}

.img-wrapper {
  width: 960px;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 1s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

/* Hover effet blur + voile blanc */
.img-wrapper.hovered img {
  filter: blur(3px);
}

.img-wrapper.hovered .overlay {
  opacity: 0.5; /* ajuster l’intensité du voile */
}


/* --- NAVIGATION FIXE ALIGNÉE SUR LA GRILLE --- */
nav {
  width: 100%;
  height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 4.2mm;          /* marge identique à la grille */
  box-sizing: border-box;   /* inclut le padding dans la largeur */
  display: flex;
  align-items: center;
  z-index: 1000;
}

nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between; /* espace égal entre les items */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
  color: black;
  font-size: 10px;
  font-weight: 400;
}

nav li a:hover {
  border-bottom: 1px solid black;
  font-weight: 600;
}

nav img {
  height: 18px;
  width: auto;
  display: block;
}

/* --- FOOTER FIXE ALIGNÉE SUR LA GRILLE --- */
footer {
  width: 100%;
  height: 30px;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 0 4.2mm;          /* marge identique à la grille */
  box-sizing: border-box;   /* inclut le padding dans la largeur */
  display: flex;
  align-items: center;
  z-index: 1000;
}

footer ul {
  width: 100%;
  height: 100%;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 10px;
}

footer ul a:hover li {
  border-bottom: 1px solid black;
  font-weight: 600;
}

footer li.oval {
  border: 1px solid #000;
  border-radius: 9999px;
  padding: 4px 14px;
  font-family: 'Pais';
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.footer-left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.footer-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Styles pour les titres sur les images */
.image-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000001;  /* Au-dessus de tout, y compris le logo */
  font-family: 'ED-Sonar-Regular', sans-serif;
  font-weight: 600;
  font-size: 50px;  
  color: white;  
  text-align: center;
  pointer-events: none;  /* Pour ne pas bloquer les clics sur l'image */
  transition: opacity 1s ease;  /* Transition douce pour le hover */
}

.img-wrapper {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 1.2s ease; /* transition plus longue */
  z-index: 1;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1.2s ease; /* zoom fluide */
}

.img-wrapper .image-title {
  transition: filter 0.8s ease; /* permet de flouter doucement */
}

.img-wrapper.hovered .image-title {
  filter: blur(3px); /* flou appliqué au titre quand l'autre est hover */
}

.scroll-indication {
  position: absolute;
  bottom: 40px;           /* distance du bas de l’écran */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000000;
  font-family: 'Pais', sans-serif;
  font-size: 15px;
  letter-spacing: -0.06em;
  color: white;
  opacity: 0.8;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indication a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scroll-indication .arrow {
  font-size: 15px;
  transform: translateY(1px);
}

@keyframes float {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, 4px); }
  100% { transform: translate(-50%, 0); }
}

.scroll-indication {
  animation: float 2.5s ease-in-out infinite;
}
