/* ── Visionneuse plein écran (lightbox) — composant réutilisable ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 12, 18, .94);
  -webkit-user-select: none; user-select: none;
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 72px;
}
.lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; cursor: pointer; transition: background .15s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__btn--prev { left: 16px; }
.lightbox__btn--next { right: 16px; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; cursor: pointer; transition: background .15s ease; z-index: 2;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__counter {
  position: absolute; top: 22px; left: 24px;
  color: #fff; font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 13px; letter-spacing: .05em; opacity: .85;
}
.lightbox__credit {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; opacity: .8; text-align: center;
  max-width: 80%;
}
@media (max-width: 640px) {
  .lightbox__stage { padding: 56px 12px; }
  .lightbox__btn { width: 40px; height: 40px; }
  .lightbox__btn--prev { left: 6px; }
  .lightbox__btn--next { right: 6px; }
}
