/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN PREMIUM — Améliorations visuelles photography portfolio
   Superposé à app.css, aucune rupture fonctionnelle
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Scrollbar raffinée ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(var(--color-accent-rgb), 0.35);
  border-radius: 10px;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover { background: rgba(var(--color-accent-rgb), 0.6); }

/* ─── Sélection de texte ────────────────────────────────────────────────── */
::selection {
  background: rgba(var(--color-accent-rgb), 0.28);
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BARRE DE NAVIGATION — Glassmorphism premium
═══════════════════════════════════════════════════════════════════════════ */

#admin-bar {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(4, 8, 4, 0.88) 50%,
    rgba(0, 0, 0, 0.82) 100%
  ) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-top: 1.5px solid var(--color-accent) !important;
  border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.14) !important;
  box-shadow:
    0 1px 0 rgba(var(--color-accent-rgb), 0.06),
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(0, 0, 0, 0.3) !important;
}

/* Lueur ambiante sous la barre */
#admin-bar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--color-accent-rgb), 0.3),
    transparent
  );
  pointer-events: none;
}

/* Logo premium */
.admin-logo {
  background: linear-gradient(
    135deg,
    rgba(var(--color-accent-rgb), 0.18) 0%,
    rgba(var(--color-accent-rgb), 0.06) 100%
  ) !important;
  border: 1px solid rgba(var(--color-accent-rgb), 0.4) !important;
  box-shadow:
    0 0 20px rgba(var(--color-accent-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: box-shadow 0.35s ease, transform 0.25s ease !important;
}
.admin-logo:hover {
  box-shadow:
    0 0 32px rgba(var(--color-accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transform: scale(1.04);
}

/* Nom du site */
#site-name-display {
  font-size: 17px !important;
  letter-spacing: 1px !important;
  text-shadow:
    0 0 30px rgba(var(--color-accent-rgb), 0.45),
    0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Liens nav — plus d'élégance */
.nav-link {
  font-size: 10.5px !important;
  letter-spacing: 2.5px !important;
  color: rgba(var(--color-accent-rgb), 0.4) !important;
  transition: color 0.3s ease, background 0.3s ease !important;
  padding: 0 22px !important;
}
.nav-link:hover {
  color: rgba(var(--color-accent-rgb), 0.9) !important;
  background: rgba(var(--color-accent-rgb), 0.04);
}
.nav-link.active {
  color: var(--color-accent) !important;
  text-shadow: 0 0 16px rgba(var(--color-accent-rgb), 0.4);
}

/* Indicateur actif avec lueur */
.nav-link::after {
  height: 1.5px !important;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  ) !important;
  box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.6);
}

/* Bouton édition */
.btn-edit {
  letter-spacing: 1.5px !important;
  box-shadow:
    0 2px 20px rgba(var(--color-accent-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}
.btn-edit:hover {
  box-shadow:
    0 4px 32px rgba(var(--color-accent-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION GALERIE — Présentation éditoriale
═══════════════════════════════════════════════════════════════════════════ */

#gallery-section {
  padding: 60px 64px 80px !important;
}

.gallery-block {
  margin-bottom: 80px !important;
}

/* En-tête galerie — style éditorial */
.gallery-block-header {
  margin-bottom: 32px !important;
  padding-bottom: 20px !important;
  border-bottom: none !important;
  position: relative;
}

.gallery-block-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(var(--color-accent-rgb), 0.5) 0%,
    rgba(var(--color-accent-rgb), 0.12) 60%,
    transparent 100%
  );
}

.gallery-block-title {
  font-size: clamp(26px, 3.5vw, 40px) !important;
  letter-spacing: 2px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  position: relative;
}

.gallery-block-count {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  color: rgba(var(--color-accent-rgb), 0.5) !important;
  margin-top: 6px !important;
}

/* Items galerie — hover plus cinématographique */
.gallery-item {
  border-radius: 3px !important;
  transition:
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.gallery-item:hover {
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(var(--color-accent-rgb), 0.2) !important;
  transform: translateY(-4px) scale(1.008) !important;
}

.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.gallery-item:hover img { transform: scale(1.08) !important; }

/* Overlay galerie — gradient plus riche */
.gallery-item-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 100%
  ) !important;
  transition: opacity 0.4s ease !important;
}

.gallery-item-caption {
  font-size: 12.5px !important;
  letter-spacing: 0.3px !important;
  line-height: 1.5 !important;
}

/* Filtres galerie — pills plus raffinées */
.gallery-filter-btn {
  border-radius: 30px !important;
  padding: 8px 22px !important;
  font-size: 10.5px !important;
  letter-spacing: 2.5px !important;
  transition: all 0.25s ease !important;
  border-color: rgba(var(--color-accent-rgb), 0.18) !important;
}

.gallery-filter-btn:hover {
  background: rgba(var(--color-accent-rgb), 0.07) !important;
  border-color: rgba(var(--color-accent-rgb), 0.45) !important;
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: rgba(var(--color-accent-rgb), 0.14) !important;
  border-color: rgba(var(--color-accent-rgb), 0.6) !important;
  box-shadow:
    0 0 16px rgba(var(--color-accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* Tag badge */
.gallery-tag-badge {
  font-size: 9.5px !important;
  letter-spacing: 1.5px !important;
  padding: 3px 12px !important;
  background: rgba(var(--color-accent-rgb), 0.1) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHTBOX — Plus cinématographique
═══════════════════════════════════════════════════════════════════════════ */

.lightbox {
  background: #020202 !important;
}

/* Barre top avec glassmorphism */
.lb-topbar {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    transparent 100%
  ) !important;
  backdrop-filter: blur(0);
  height: 64px !important;
  padding: 0 22px !important;
}

.lb-counter {
  font-size: 11px !important;
  letter-spacing: 3px !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Boutons action lightbox */
.lb-action-btn, .lb-close {
  border-radius: 10px !important;
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease !important;
}
.lb-action-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}
.lb-action-btn.active {
  background: rgba(var(--color-accent-rgb), 0.22) !important;
  border-color: rgba(var(--color-accent-rgb), 0.55) !important;
  color: var(--color-accent) !important;
  box-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.25);
}
.lb-close:hover {
  background: rgba(220, 50, 50, 0.22) !important;
  border-color: rgba(220, 50, 50, 0.45) !important;
  color: #ff7070 !important;
}

/* Image avec box-shadow plus esthétique */
.lb-content img {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 80px rgba(0, 0, 0, 0.9) !important;
}

/* Navigation lightbox */
.lb-nav {
  width: 54px !important;
  height: 54px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.25s ease !important;
}
.lb-nav:hover {
  background: rgba(var(--color-accent-rgb), 0.18) !important;
  border-color: rgba(var(--color-accent-rgb), 0.45) !important;
  color: var(--color-accent) !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 0 24px rgba(var(--color-accent-rgb), 0.2) !important;
}

/* Filmstrip plus élégant */
.lb-filmstrip-wrap {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.85) 100%
  ) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  height: 100px !important;
}

.lb-thumb {
  width: 76px !important;
  height: 76px !important;
  border-radius: 3px !important;
  border: 1.5px solid transparent !important;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}
.lb-thumb:hover { transform: scale(1.06) translateY(-2px) !important; }
.lb-thumb.active {
  border-color: var(--color-accent) !important;
  box-shadow:
    0 0 0 1px rgba(var(--color-accent-rgb), 0.4),
    0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transform: scale(1.1) translateY(-3px) !important;
}

/* Panneau info / EXIF */
.lb-info-panel {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
}

.lb-exif-item i { color: rgba(var(--color-accent-rgb), 0.8) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   FORMULAIRE CONTACT — Plus élégant
═══════════════════════════════════════════════════════════════════════════ */

.contact-form {
  background: rgba(255, 255, 255, 0.022) !important;
  border: 1px solid rgba(var(--color-accent-rgb), 0.14) !important;
  box-shadow:
    0 0 0 1px rgba(var(--color-accent-rgb), 0.04),
    0 24px 64px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px) !important;
}

.contact-form-group input,
.contact-form-group textarea {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: rgba(var(--color-accent-rgb), 0.5) !important;
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.08) !important;
}

.contact-form-group label {
  letter-spacing: 2.5px !important;
  font-size: 9.5px !important;
  color: rgba(var(--color-accent-rgb), 0.5) !important;
}

.contact-submit-btn {
  letter-spacing: 3px !important;
  border-radius: 4px !important;
  box-shadow:
    0 4px 24px rgba(var(--color-accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  transition: all 0.3s ease !important;
}
.contact-submit-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 8px 36px rgba(var(--color-accent-rgb), 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — Plus de profondeur et de prestige
═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.72) 100%
  ) !important;
  backdrop-filter: blur(24px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(130%) !important;
  border-top: none !important;
  padding: 0 !important;
  margin-top: 100px !important;
  position: relative;
}

/* Liseré doré en haut du footer */
.site-footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--color-accent-rgb), 0.6) 20%,
    rgba(var(--color-accent-rgb), 0.9) 50%,
    rgba(var(--color-accent-rgb), 0.6) 80%,
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(var(--color-accent-rgb), 0.3);
}

/* Lueur ambiante dorée sous le séparateur */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 60px;
  background: radial-gradient(
    ellipse at center top,
    rgba(var(--color-accent-rgb), 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.footer-content {
  padding: 56px 40px 40px !important;
}

.footer-title {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  margin-bottom: 22px !important;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.6;
}

.footer-text {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: rgba(var(--color-accent-rgb), 0.38) !important;
}

/* Liens footer */
.footer-link {
  transition: color 0.25s ease, transform 0.25s ease !important;
  display: inline-block;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.38) !important;
}
.footer-link:hover {
  color: var(--color-accent) !important;
  transform: translateX(4px);
}

/* Réseaux sociaux */
.social-link {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(var(--color-accent-rgb), 0.22) !important;
  transition: all 0.3s ease !important;
}
.social-link:hover {
  background: rgba(var(--color-accent-rgb), 0.14) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.25) !important;
}

/* Barre inférieure */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding: 22px 40px !important;
  max-width: none !important;
}

.footer-copyright {
  font-size: 11.5px !important;
  color: rgba(255, 255, 255, 0.25) !important;
  letter-spacing: 0.5px;
}

.footer-credit {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.18) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODALES — Plus premium
═══════════════════════════════════════════════════════════════════════════ */

.modal-overlay {
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.modal-box {
  background: rgba(6, 10, 6, 0.98) !important;
  border: 1px solid rgba(var(--color-accent-rgb), 0.18) !important;
  box-shadow:
    0 0 0 1px rgba(var(--color-accent-rgb), 0.06),
    0 40px 100px rgba(0, 0, 0, 0.95) !important;
  border-radius: 12px !important;
}

.modal-header {
  background: rgba(var(--color-accent-rgb), 0.035) !important;
  border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.1) !important;
  padding: 20px 24px !important;
}

.modal-header h3 {
  font-size: 18px !important;
  letter-spacing: 0.8px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL — Transitions plus douces
═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0 !important;
  transform: translateY(32px) !important;
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

/* Stagger items galerie */
.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.07s; }
.gallery-item:nth-child(3) { transition-delay: 0.14s; }
.gallery-item:nth-child(4) { transition-delay: 0.21s; }
.gallery-item:nth-child(5) { transition-delay: 0.28s; }
.gallery-item:nth-child(6) { transition-delay: 0.35s; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE TRANSITIONS — Plus fluides
═══════════════════════════════════════════════════════════════════════════ */

@keyframes pageFadeInPremium {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.page-canvas.page-entering {
  animation: pageFadeInPremium 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CAROUSEL — Navigation plus élégante
═══════════════════════════════════════════════════════════════════════════ */

.carousel-btn {
  width: 52px !important;
  height: 52px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 50% !important;
  transition: all 0.25s ease !important;
}
.carousel-btn:hover {
  background: rgba(var(--color-accent-rgb), 0.65) !important;
  border-color: rgba(var(--color-accent-rgb), 0.8) !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 4px 20px rgba(var(--color-accent-rgb), 0.35) !important;
}

.carousel-counter {
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOASTS — Plus subtils
═══════════════════════════════════════════════════════════════════════════ */

.toast {
  background: rgba(4, 8, 4, 0.96) !important;
  border-left-width: 2px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(16px) !important;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Ajustements mobile
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  #gallery-section { padding: 32px 16px 48px !important; }
  .gallery-block { margin-bottom: 56px !important; }
  .footer-content { padding: 40px 20px 32px !important; }
  .footer-bottom { padding: 18px 20px !important; }
}

@media (max-width: 480px) {
  #gallery-section { padding: 20px 12px 36px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THEME SWITCHER — Swatches plus raffinées
═══════════════════════════════════════════════════════════════════════════ */

.theme-swatch {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
}
.theme-swatch:hover {
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}
.theme-swatch.active {
  box-shadow:
    0 0 0 2px rgba(var(--color-accent-rgb), 0.8),
    0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.04) translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CURSEUR PERSONNALISÉ — Plus fluide
═══════════════════════════════════════════════════════════════════════════ */

#cursor-ring {
  mix-blend-mode: screen;
}


/* ═══════════════════════════════════════════════════════════════════════════
   AMÉLIORATIONS 2025-2026 — Comparaison meilleures pratiques mondiales
   Skip link · Read progress · Header shrink · Ken Burns · Motion · Hover glow
═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. LIEN SKIP-TO-CONTENT — Accessibilité WCAG AA ──────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999999;
  padding: 10px 24px;
  background: var(--color-accent, #c8a84b);
  color: #0a0a0a;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ─── 2. BARRE DE PROGRESSION LECTURE ──────────────────────────────────── */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--color-accent-rgb, 200,168,75), 0.6) 0%,
    rgba(var(--color-accent-rgb, 200,168,75), 1) 50%,
    rgba(var(--color-accent-rgb, 200,168,75), 0.8) 100%
  );
  z-index: 99999;
  transition: width 0.08s linear;
  pointer-events: none;
  box-shadow:
    0 0 6px rgba(var(--color-accent-rgb, 200,168,75), 0.5),
    0 0 12px rgba(var(--color-accent-rgb, 200,168,75), 0.2);
}
/* Pastille lumineuse en bout de barre */
#read-progress::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--color-accent-rgb, 200,168,75), 1);
  box-shadow: 0 0 8px rgba(var(--color-accent-rgb, 200,168,75), 0.8);
}

/* ─── 3. HEADER SHRINK AU SCROLL — Standard 2025 ───────────────────────── */
#admin-bar {
  transition:
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    background 0.4s ease !important;
  will-change: height;
}

#admin-bar.scrolled {
  height: 50px !important;
  box-shadow:
    0 0 0 1px rgba(var(--color-accent-rgb, 200,168,75), 0.06),
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 8px 48px rgba(0, 0, 0, 0.4) !important;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(2, 6, 2, 0.97) 50%,
    rgba(0, 0, 0, 0.94) 100%
  ) !important;
}

#admin-bar.scrolled .admin-logo {
  width: 30px !important;
  height: 30px !important;
  font-size: 12px !important;
}

#admin-bar.scrolled #site-name-display {
  font-size: 14px !important;
}

#admin-bar.scrolled .nav-link {
  padding: 0 16px !important;
  font-size: 9.5px !important;
}

/* ─── 4. EFFET KEN BURNS sur fond héro ──────────────────────────────────── */
@keyframes ken-burns {
  0%   { transform: scale(1)    translateZ(0); }
  50%  { transform: scale(1.06) translateZ(0); }
  100% { transform: scale(1)    translateZ(0); }
}

.page-bg[style*='background-image'] {
  animation: ken-burns 18s ease-in-out infinite;
}

/* Variante pour le fond diaporama : pas d'animation sur la slide entrante */
.page-bg.slideshow-active {
  animation: none;
}

/* ─── 5. HOVER GALERIE — Rim light accent (lueur périphérique) ──────────── */
.gallery-item {
  transition:
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.gallery-item:hover {
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.7),
    0 0 0 1.5px rgba(var(--color-accent-rgb, 200,168,75), 0.35),
    0 0 20px rgba(var(--color-accent-rgb, 200,168,75), 0.08) !important;
  transform: translateY(-5px) scale(1.01) !important;
}

/* Caption animation améliorée : slide-up depuis le bas */
.gallery-item .overlay-caption,
.gallery-item .gallery-item-caption,
.gallery-item-caption {
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.gallery-item:hover .overlay-caption,
.gallery-item:hover .gallery-item-caption {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── 6. INDICATEUR SCROLL-DOWN — Amélioré ──────────────────────────────── */
#scroll-hint {
  color: rgba(var(--color-accent-rgb, 200,168,75), 0.45) !important;
  gap: 8px !important;
}

#scroll-hint i {
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(var(--color-accent-rgb, 200,168,75), 0.4));
}

/* ─── 7. PRÉFÉRENCE MOUVEMENT RÉDUIT — WCAG 2.2 ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-bg[style*='background-image'] {
    animation: none !important;
  }

  #scroll-hint {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-item img,
  .gallery-item video {
    transition: none !important;
  }
}

/* ─── BONUS : LAZY LOAD FADE-IN ──────────────────────────────────────────── */
#page-canvas img[loading='lazy'],
#gallery-section img[loading='lazy'] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
#page-canvas img[loading='lazy'].loaded,
#gallery-section img[loading='lazy'].loaded {
  opacity: 1;
}
