* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
}

/* body est display:flex (colonne) : sans ceci, un enfant contenant une grille
   (ex. .city-grid avec auto-fill) peut forcer sa taille de contenu maximale
   et faire deborder toute la page horizontalement sur mobile. */
body > * {
  width: 100%;
  min-width: 0;
}

img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Apparition au scroll (utilitaire reutilisable) */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header / nav */

.site-header {
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) calc(2rem + env(safe-area-inset-right, 0px)) 1.25rem calc(2rem + env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.site-header .logo {
  display: block;
  line-height: 0;
}

.site-header .logo img {
  height: 42px;
  width: auto;
  display: block;
}

.site-header .brand .role {
  margin: 0;
  padding-left: 0.1em;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.6rem;
  color: #666;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.site-header a {
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}

.site-header a.active {
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0.2rem;
}

.site-header a:hover {
  opacity: 0.6;
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 30;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-header nav {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 25;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .site-header nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header nav a {
    font-size: 1.1rem;
  }
}

/* Footer */

.site-footer {
  background: #fff;
  color: #1a1a1a;
  border-top: 1px solid #1a1a1a;
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Bloc coordonnées, comme une legende de carte */

.footer-coords {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.coords-marker {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  stroke: #1a1a1a;
  stroke-width: 1.2;
  fill: none;
}

.coords-marker circle:last-of-type {
  fill: #1a1a1a;
  stroke: none;
}

.coords-value {
  margin: 0;
  font-family: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.coords-label {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #777;
}

/* Legende façon carte : chaque contact est un symbole + une clé */

.footer-legend {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1a1a1a;
}

.legend-swatch {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a1a;
}

.legend-swatch svg {
  width: 17px;
  height: 17px;
  fill: #1a1a1a;
}

.legend-swatch svg.stroke-icon {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 1.6;
}

.legend-key {
  font-family: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.legend-item:hover {
  opacity: 0.6;
}

/* Ligne du bas */

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom a {
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.footer-bottom a:hover {
  opacity: 0.6;
}

.site-footer .credit {
  margin: 0;
  font-size: 0.68rem;
  color: #888;
}

.site-footer .credit a {
  color: #888;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
}

.cache-clear-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-coords {
    flex-direction: column;
  }
  .footer-legend {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Carte */

.map-title {
  padding: 1.5rem 2rem 0;
  text-align: center;
}

.map-title h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.map-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  overflow: hidden;
  background: #fff;
  touch-action: none;
  cursor: grab;
}

.map-page.dragging {
  cursor: grabbing;
}

.map-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 2520.631 / 889.2223;
  transform-origin: center center;
}

.map-zoom-controls {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-zoom-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.map-zoom-controls button:hover {
  background: #1a1a1a;
  color: #fff;
}

.map-zoom-controls .zoom-reset {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.map-credit {
  position: absolute;
  left: 1.5rem;
  bottom: 1rem;
  margin: 0;
  font-size: 0.6rem;
  color: #aaa;
  pointer-events: none;
}

.map-statement {
  max-width: 620px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.map-statement h2 {
  margin: 0 0 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.map-statement p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
}

.map-statement p:last-child {
  margin-bottom: 0;
}

/* Bandeau polaroid */

.polaroid-strip {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0 3.5rem;
  background: #fff;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.polaroid-strip::-webkit-scrollbar {
  display: none;
}

.polaroid-strip.dragging {
  cursor: grabbing;
}

.polaroid-track {
  display: flex;
  align-items: flex-start;
  gap: 2.2rem;
  width: max-content;
  padding: 0 2rem;
}

.polaroid-link {
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
  color: inherit;
  transform: rotate(1.5deg);
}

.polaroid {
  flex: 0 0 auto;
  width: 150px;
  margin: 0;
  background: #fff;
  padding: 0.6rem 0.6rem 1rem;
  border: 1px solid #eee;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.polaroid:nth-child(3n) {
  transform: rotate(-1.5deg);
}

.polaroid:nth-child(3n+1) {
  transform: rotate(1.5deg);
}

.polaroid img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.polaroid figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #333;
}

.world-map {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.city-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #111;
  transform: scale(var(--counter-scale, 1));
  transform-origin: center center;
  text-decoration: none;
}

a.city-dot {
  cursor: pointer;
}

.city-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #111;
  animation: pulse 2.4s ease-out infinite;
}

.city-dot:nth-child(2)::before { animation-delay: 0.4s; }
.city-dot:nth-child(3)::before { animation-delay: 0.8s; }
.city-dot:nth-child(4)::before { animation-delay: 1.2s; }
.city-dot:nth-child(5)::before { animation-delay: 1.6s; }

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(6);
    opacity: 0;
  }
}

.city-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.city-dot:hover .city-label {
  opacity: 1;
}

/* Couloir de la galerie */

.gallery {
  position: relative;
  height: 1660vh;
  background: #f2f2f0;
}

.gallery-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  perspective: 700px;
  background: #d8d8d5;
}

.corridor {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Sol, plafond, murs : bords de la pièce en 3D. Origine "top"/"left" pour que
   la rotation se fasse depuis le bord proche du visiteur (z=0), pas le centre. */

.room-floor,
.room-ceiling {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1040px;
  height: 11200px;
  margin-left: -520px;
  transform-origin: top center;
}

.room-floor {
  transform: translateY(340px) rotateX(90deg);
  background: linear-gradient(to top, #6b6b6c 0%, #868686 55%, #a3a3a2 100%);
}

.room-ceiling {
  transform: translateY(-340px) rotateX(-90deg);
  background: #0a0a0a;
}

.room-wall {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11200px;
  height: 680px;
  margin-top: -340px;
  transform-origin: left center;
  background: linear-gradient(
    to bottom,
    #111 0, #111 2px,
    #f4f4f2 2px, #f4f4f2 calc(100% - 2px),
    #111 calc(100% - 2px), #111 100%
  );
}

.room-wall--left {
  transform: translateX(-520px) rotateY(90deg);
}

.room-wall--right {
  transform: translateX(520px) rotateY(90deg);
}

.room-backwall {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1040px;
  height: 680px;
  margin-left: -520px;
  margin-top: -340px;
  transform: translateZ(-11200px);
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.room-backwall .spotlight {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 70%;
  height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

.hero-frame-link {
  display: contents;
}

.room-backwall .hero-frame {
  position: relative;
  margin: 0;
  background: #fff;
  padding: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 25px 70px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}

.hero-frame-link:hover .hero-frame {
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3), 0 25px 70px rgba(0, 0, 0, 0.85);
}

.room-backwall .hero-frame img {
  display: block;
  width: 300px;
  height: 380px;
  object-fit: cover;
}

.room-backwall .hero-label {
  position: absolute;
  left: 100%;
  bottom: 0.4rem;
  margin-left: 1.4rem;
  width: max-content;
  color: #eee;
}

.room-backwall .hero-label-title {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}

/* Néons au plafond */

.light-strip-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform: translateZ(var(--z));
}

.light-strip {
  position: absolute;
  top: 0;
  left: -160px;
  width: 320px;
  height: 10px;
  transform-origin: top center;
  transform: translateY(-338px) rotateX(90deg);
  background: #cac9c4;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  opacity: 0.5;
  transition: opacity 1s ease, box-shadow 1s ease, background 1s ease;
}

.light-strip.on {
  background: #fff;
  box-shadow: 0 0 50px 16px rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}

/* Cadres accrochés aux murs */

.panel-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform: translateZ(var(--z));
}

.panel {
  position: absolute;
  top: -165px;
  left: 0;
  margin: 0;
  width: 345px;
  height: 330px;
  background: #111;
  padding: 0.7rem;
  border: 1px solid #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.35);
  transform-origin: left center;
  opacity: 0;
}

.panel-wrap--left .panel {
  transform: translateX(-514px) rotateY(90deg);
}

.panel-wrap--right .panel {
  transform: translateX(514px) rotateY(90deg);
}

.panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.gallery-caption a {
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gallery-caption a:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .gallery-caption {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    padding: 0 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  .gallery-caption .caption-line1,
  .gallery-caption .caption-line2 {
    display: block;
  }
  .gallery-caption .caption-sep {
    display: none;
  }
}

.music-toggle {
  position: absolute;
  right: calc(1.4rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

.music-toggle:hover {
  background: rgba(0, 0, 0, 0.45);
}

.music-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-toggle .music-mute-line {
  opacity: 0;
}

.music-toggle.muted circle,
.music-toggle.muted path:not(.music-mute-line) {
  opacity: 0.3;
}

.music-toggle.muted .music-mute-line {
  opacity: 1;
}

/* Texte de présentation */

.statement {
  max-width: 620px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.statement-hero {
  margin: 0 0 3rem;
  font-weight: 500;
}

.statement-hero span {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 500;
}

.statement-lead {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.statement-role {
  margin: 2rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #1a1a1a;
}

.statement-body p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
}

.statement-body p:last-child {
  margin-bottom: 0;
}

/* Page series */

.parade-wall {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
}

.parade-plate {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.parade-plate img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parade-plate .parade-bw {
  position: relative;
  z-index: 1;
}

.parade-plate .parade-color {
  z-index: 2;
  opacity: 0;
  transition: opacity 2.2s ease;
}

.parade-plate.on .parade-color {
  opacity: 1;
}

@media (max-width: 640px) {
  .parade-wall {
    padding: 0 1.4rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.4rem;
  }
}

/* Page contact */

.contact-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.contact-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.contact-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 1.1rem;
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}

.contact-form .required {
  color: #999;
  margin-left: 0.2em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1a1a;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0.1rem;
  background: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a1a1a;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.8rem 2rem;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form button:hover {
  opacity: 0.8;
}

.form-note {
  font-size: 0.75rem;
  color: #999;
  margin: -0.6rem 0 0;
}

.form-note-error {
  color: #c0392b;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Page mentions legales */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.legal-updated {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0 2.5rem;
}

.legal-text h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 2.2rem 0 1rem;
}

.legal-text p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 1.1rem;
}

.legal-text ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  list-style: none;
}

.legal-text li {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #444;
  padding-left: 0.9rem;
}

.legal-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
}

.legal-text a {
  color: #1a1a1a;
}

/* Page a propos */

.about-hero {
  position: relative;
  height: 78vh;
  min-height: 440px;
  overflow: hidden;
  background: #111;
}

.about-hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-hero-media img {
  display: block;
  width: auto;
  height: 92%;
  max-width: 100%;
  object-fit: contain;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 32%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}

.about-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  color: #fff;
}

.about-eyebrow {
  margin: 1rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: #ccc;
}

.about-hero-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.22;
}

.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 5rem;
}

.about-block {
  margin-bottom: 3rem;
}

.about-block h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

.about-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 1.2rem;
}

.about-block a {
  color: #1a1a1a;
}

.about-pullquote {
  margin: 4rem 0;
  padding-left: 1.4rem;
  border-left: 3px solid #1a1a1a;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
}

.about-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.about-city-chip {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-city-chip:hover {
  background: #1a1a1a;
  color: #fff;
}

.about-city-chip--more {
  border-style: dashed;
}

@media (max-width: 640px) {
  .about-hero {
    height: 60vh;
    min-height: 360px;
  }
}

/* Page ville (galerie individuelle) */

.city-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.city-text {
  max-width: 680px;
  margin: 0 auto 3rem;
}

.city-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 2rem;
}

.city-text h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
}

.city-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 1.2rem;
}

.city-text a {
  color: #1a1a1a;
}

.series-crosslink {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0.15rem;
  transition: opacity 0.2s ease;
}

.series-crosslink:hover {
  opacity: 0.6;
}

.city-feature {
  margin: 2.5rem -110px 2.8rem;
}

.city-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.city-feature figcaption {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
}

@media (max-width: 1000px) {
  .city-feature {
    margin-left: 0;
    margin-right: 0;
  }
}

.city-grid {
  max-width: 1000px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.grid-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.grid-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.grid-item:hover img,
.grid-item:focus-visible img {
  opacity: 0.82;
}

/* Page exposition (catalogue de galerie) */

.expo-page {
  background: #0b0b0b;
  color: #eee;
  padding-bottom: 6rem;
}

.expo-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.expo-eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: #999;
}

.expo-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.expo-meta {
  margin: 0 0 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
}

.expo-intro-text {
  text-align: left;
}

.expo-intro-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #bbb;
  margin: 0 0 1.2rem;
}

.expo-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.expo-plate {
  width: 100%;
  max-width: 640px;
  margin: 0;
}

.expo-plate--wide {
  max-width: 100%;
}

.expo-plate-frame {
  display: block;
  width: 100%;
  margin: 0;
}

.expo-plate-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.expo-plate figcaption {
  margin-top: 0.9rem;
  text-align: center;
}

.expo-plate-number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
}

@media (max-width: 640px) {
  .expo-intro {
    padding: 3.5rem 1.4rem 3rem;
  }

  .expo-gallery {
    padding: 0 1.4rem;
    gap: 3.5rem;
  }
}

/* Chambre noire : reveal "developpement" au clic sur une photo */

.darkroom {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.darkroom.open {
  opacity: 1;
  pointer-events: auto;
}

.darkroom .print {
  margin: 0;
  max-width: 82vw;
}

.darkroom .print img {
  display: block;
  max-width: 82vw;
  max-height: 74vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  filter: contrast(0.2) brightness(2.4) blur(4px) grayscale(1);
  clip-path: inset(0 0 100% 0);
  transition: filter 1.7s ease, clip-path 1.7s ease;
}

.darkroom.developed .print img {
  filter: contrast(1) brightness(1) blur(0) grayscale(0);
  clip-path: inset(0 0 0% 0);
}

.darkroom .print figcaption {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ccc;
  opacity: 0;
  transition: opacity 0.6s ease 1.1s;
}

.darkroom.developed .print figcaption {
  opacity: 1;
}

.darkroom-close {
  position: absolute;
  top: calc(1.5rem + env(safe-area-inset-top, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  background: none;
  border: none;
  color: #eee;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.darkroom-close:hover {
  opacity: 0.6;
}

.darkroom-swap {
  position: absolute;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #eee;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.6s ease 1.1s, background 0.2s ease;
}

.darkroom.developed .darkroom-swap {
  opacity: 1;
}

.darkroom-swap:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Page hors ligne */

.offline-page {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(4rem + env(safe-area-inset-top, 0px)) 2rem calc(4rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.offline-logo {
  height: 42px;
  width: auto;
  margin-bottom: 2rem;
}

.offline-page h1 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

.offline-page p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 1.5rem;
}

.offline-page button {
  padding: 0.8rem 2rem;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Installer l'app */

.nav-install {
  background: none;
  border: none;
  font-family: inherit;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
}

.nav-install:hover {
  opacity: 0.6;
}

.ios-install-tip {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 40;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ios-install-tip.open {
  transform: translateY(0);
  opacity: 1;
}

.ios-install-tip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.ios-install-tip-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

/* Bouton remonter en haut */

.scroll-top-btn {
  position: fixed;
  left: calc(1.2rem + env(safe-area-inset-left, 0px));
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 17, 17, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #111;
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

