/* ============================================================
   WORK SANS FONT INTEGRATION
   ============================================================ */
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/WorkSans-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/static/WorkSans-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/static/WorkSans-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Reset & Base Variables */
:root {
  --bg-color: #ffffff;
  --text-main: #2b2b2b;
  --text-bold: #111111;
  --text-muted: #595959;
  --font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --card-width: 220px;        /* Largeur agrandie */
  --card-height: 285px;       /* Hauteur agrandie (Ratio portrait 1:1.3 / ~3:4) */
  --gap: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ============================================================
   1. ANIMATION DE CHARGEMENT (INTRO LOADER)
   Fond noir uni, écriture blanche, 5 tableaux
   Carte plus grande, transitions smooth, zoom de sortie plein écran
   ============================================================ */
.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: 9999999; /* Couvre absolument tout, y compris le header fixé sur mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card-container {
  width: 90vw;
  max-width: 440px; /* Plus gros et imposant */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  /* Animation d'entrée très douce */
  animation: loaderCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  padding: 0 4px 16px 4px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loader-overlay.zoom-out .loader-top-bar {
  opacity: 0;
  transform: translateY(-10px);
}

.loader-brand {
  color: #ffffff;
  font-size: 0.92rem; /* Plus gros */
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  user-select: none;
}

.loader-counter {
  color: #ffffff;
  font-size: 1.05rem; /* Plus gros */
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 36px;
  text-align: right;
  user-select: none;
}

.loader-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  background-color: #0a0a0a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s ease;
}

/* Animation de sortie : le tableau grossit et prend toute la place comme un gros zoom */
.loader-overlay.zoom-out .loader-image-frame {
  transform: scale(3.5);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform: scale(1.05);
  filter: blur(8px);
  /* Suggestion 1 : Focus Dissolve (fondu enchaîné + mise au point progressive sans à-coups) */
  transition: opacity 0.95s cubic-bezier(0.25, 1, 0.5, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.95s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter;
}

.loader-art-img.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  z-index: 2;
}

@keyframes loaderCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   2. MAIN LAYOUT
   ============================================================ */
.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px 28px 0 28px; /* Pas de padding bas sur l'accueil */
  position: relative;
  justify-content: space-between;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 100010; /* Assure que le logo DANA C. et la croix restent au-dessus du menu */
}

.logo {
  position: relative;
  z-index: 100010;
}

.logo a {
  display: inline-block;
  font-size: 13px; /* 13px exact */
  font-weight: 500; /* weight medium */
  letter-spacing: 0.04em;
  color: #1a1a1a;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease,
              letter-spacing 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo a:hover {
  transform: translateY(-2px);
  color: #000000;
  letter-spacing: 0.07em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  display: inline-block;
  font-size: 13px; /* 13px exact */
  font-weight: 500; /* weight medium */
  letter-spacing: 0.04em;
  color: #4a4a4a;
  text-decoration: none;
  position: relative;
  /* Option 2: Magnetic Flip / Glissement vertical réactif */
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease,
              letter-spacing 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a.active:hover {
  transform: translateY(-2.5px);
  color: #000000;
  letter-spacing: 0.07em;
}

.nav-links a.active {
  color: #000000;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  padding-top: 130px; /* Plus d'espace élégant avec le haut de la page */
  padding-bottom: 50px;
}

.bio-text p {
  font-size: 16px; /* 16px exact */
  font-weight: 500; /* weight medium */
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: #7a7a7a; /* Gris moyen-doux élégant */
  text-transform: uppercase;
  max-width: 730px; /* Calibré pour répartir harmonieusement le texte sur deux lignes */
}

.bio-text strong {
  font-weight: 500; /* weight medium */
  color: #000000; /* DANA en noir franc */
}

/* ============================================================
   3. GALLERY MARQUEE (Défilement continu de droite à gauche)
   ============================================================ */
.gallery-section {
  width: 100vw;
  margin-left: -28px;
  margin-right: -28px;
  overflow: visible;
  padding: 0 0 35px 0; /* Écrin aéré */
  margin-bottom: 0;
  position: relative;
}

/* Subtle edge fade overlays */
.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 5;
  pointer-events: none;
}

.gallery-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.gallery-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}

.marquee-track-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  align-items: flex-end;
  padding: 15px 0 10px 0; /* Tableaux parfaitement calés et bien mis en avant */
}

.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  align-items: flex-end;
  animation: scrollLeft 40s linear infinite;
  will-change: transform;
}

/* Pause l'animation au survol */
.marquee-track:hover {
  animation-play-state: paused;
}

.gallery-card {
  flex-shrink: 0;
  width: var(--card-width);
  height: var(--card-height);
  cursor: pointer;
  overflow: hidden;
  background-color: #f7f7f7;
  position: relative;
  /* Cadre fixe, pas de changement de dimensions */
  transition: opacity 0.3s ease;
}

/* Au survol, le cadre reste parfaitement stable */
.gallery-card:hover {
  z-index: 5;
}

/* Les tableaux non-survolés conservent une belle présence */
.marquee-track:hover .gallery-card:not(:hover) {
  opacity: 0.85;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  /* Animation de zoom interne fluide et subtile */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

/* Petite animation de zoom élégante à l'intérieur du cadre */
.gallery-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

/* Keyframes for smooth infinite scrolling from right to left */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translate by exactly 1/3 of the track width (since we have 3 identical sets) */
    transform: translateX(calc(-100% / 3));
  }
}

/* ============================================================
   4. FOOTER
   ============================================================ */
.footer {
  padding-top: 14px;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  color: #333333;
  position: relative;
  z-index: 20; /* Toujours au premier plan mais sans chevauchement */
  background-color: var(--bg-color); /* Fond propre */
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-left .divider {
  color: #999999;
}

.imprint-link {
  color: #333333;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.imprint-link:hover {
  opacity: 0.6;
}

/* ============================================================
   5. LIGHTBOX MODAL (Bonus for image interaction)
   ============================================================ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 80vw;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   6. WORKS PAGE STYLES (Suggestion 2 : Défilement avec Vitesse Réactive au Curseur)
   ============================================================ */
.works-container {
  min-height: 100vh;
  justify-content: flex-start;
  gap: 0;
  overflow-x: hidden;
}

.works-title-section {
  padding-top: 110px;
  padding-bottom: 50px;
}

.page-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1;
}

.works-carousel-section {
  width: 100vw;
  margin-left: -28px;
  margin-right: -28px;
  overflow: hidden;
  position: relative;
  padding: 10px 0 70px 0;
  cursor: none !important; /* Aucun curseur de souris dans toute la zone des oeuvres */
}

.works-carousel-section * {
  cursor: none !important; /* Garantit qu'aucun élément enfant ne réaffiche la flèche */
}

.works-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: none !important; /* Masque complet de la souris standard */
}

.works-carousel-wrapper:active {
  cursor: none !important;
}

.works-carousel-track {
  display: flex;
  gap: 36px;
  width: max-content;
  align-items: flex-start;
  will-change: transform;
}

.works-carousel-section .work-card {
  flex-shrink: 0;
  width: clamp(280px, 26vw, 380px); /* Largeur optimale laptop */
  display: flex;
  flex-direction: column;
  position: relative;
}

.works-carousel-section .work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.works-carousel-section .work-title {
  font-size: 13px; /* Work Sans Medium 13px */
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #111111;
  text-transform: uppercase;
}

.works-carousel-section .work-date {
  font-size: 13px; /* Work Sans Medium 13px */
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #777777;
}

/* Ratio 3:4 strict */
.works-carousel-section .work-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;
}

.works-carousel-section .work-image-wrap img,
.works-carousel-section .work-video-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  will-change: transform;
}

.works-carousel-section .work-card:hover .work-image-wrap img,
.works-carousel-section .work-card:hover .work-video-elem {
  transform: scale(1.035);
  filter: brightness(1.02);
}

/* Curseur personnalisé minimaliste VIEW : Typographie Pure Flottante avec micro-fond dépoli */
.works-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 999999;
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 500; /* Work Sans Medium */
  letter-spacing: 0.16em; /* Interlettrage raffiné */
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  padding: 0;
}

/* Micro-fond dépoli ultra-fin (backdrop-filter: blur(8px)) garantissant une lisibilité absolue sur toutes teintes */
.works-custom-cursor span {
  display: inline-block;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  line-height: 1;
}

.works-custom-cursor.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Léger micro-tressaillement (scale(0.92)) au clic ou au drag */
.works-custom-cursor.is-clicked {
  transform: translate(-50%, -50%) scale(0.92);
}

.lightbox-content video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
   Responsive Adjustments
   ============================================================ */
@media (max-width: 1024px) {
  .works-carousel-section .work-card {
    width: clamp(260px, 34vw, 340px);
  }
  .works-title-section {
    padding-top: 70px;
    padding-bottom: 45px;
  }
}

@media (max-width: 768px) {
  :root {
    --card-width: 130px;
    --card-height: 165px;
    --card-hover-width: 210px;
    --card-hover-height: 200px;
    --gap: 8px;
  }

  .site-container {
    padding: 18px 20px 16px 20px;
  }

  .gallery-section {
    margin-left: -20px;
    margin-right: -20px;
  }

  .bio-text p {
    font-size: 0.78rem;
  }

  .works-title-section {
    padding-top: 50px;
    padding-bottom: 35px;
  }

  /* Sur mobile, passage en flux vertical de consultation naturelle */
  .works-carousel-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .works-carousel-wrapper {
    cursor: default;
  }

  .works-carousel-track {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    transform: none !important;
  }

  .works-carousel-section .work-card {
    width: 100%;
  }

  .works-carousel-section .work-card.is-clone {
    display: none !important; /* On masque les clones sur mobile */
  }

  .works-custom-cursor {
    display: none !important; /* Pas de curseur custom sur tactile */
  }
}

/* ============================================================
   7. NEWS PAGE STYLES (Expositions futures et passées)
   ============================================================ */
.news-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pousse le footer tout en bas */
  gap: 0;
  position: relative;
  padding-bottom: 28px;
}

.news-title-section {
  padding-top: 110px;
  padding-bottom: 60px;
  width: 100%;
}

.news-list-section {
  width: 100%;
  flex: 1; /* Prend tout l'espace vertical disponible */
  margin-bottom: 60px;
  position: relative;
}

.news-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  /* Espacement genereux sur toute la largeur de l'ecran */
  grid-template-columns: 22% 30% 22% 26%;
  align-items: center;
  padding: 22px 14px;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
}

.news-row:first-child {
  border-top: none;
}

/* Survol fidéle à la photo : fond gris très clair #f7f7f7 */
.news-row:hover,
.news-row.is-hovered {
  background-color: #f7f7f7;
}

.news-col {
  padding-right: 20px;
}

/* Date column */
.news-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.news-date .date-year {
  color: #444444;
  font-weight: 500;
}

/* Title column */
.news-title h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
  text-transform: uppercase;
  margin: 0;
}

/* Type column */
.news-type span {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #808080;
  text-transform: uppercase;
}

/* Location column & Google Maps link */
.news-location span,
.news-location .location-map-link {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #222222;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.news-location .location-map-link:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FLOATING HOVER PREVIEW IMAGE (Tableau visible au survol)
   Positionné à une distance confortable à droite de la souris
   ============================================================ */
.news-hover-preview {
  position: absolute;
  width: 260px;
  height: 350px; /* Ratio affiche portrait pour une netteté et un rendu optimal */
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translate(0, -50%) scale(0.96); /* Decale a droite sans recouvrir la souris */
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.news-hover-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) scale(1);
}

.news-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
  display: block;
}

/* Responsive adjustments for News */
@media (max-width: 1024px) {
  .news-row {
    grid-template-columns: 18% 26% 20% 36%;
    padding: 16px 10px;
  }
}

@media (max-width: 768px) {
  .news-title-section {
    padding-top: 50px;
    padding-bottom: 24px;
  }

  /* Disposition exacte de la capture d'écran mobile :
     Éléments rapprochés et rigoureusement alignés horizontalement ligne par ligne */
  .news-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 48px; /* Espacement mesuré et net entre date et titre */
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
  }

  /* Colonne Gauche : Date en ligne 1, Année en ligne 2 */
  .news-date {
    display: flex;
    flex-direction: column;
    gap: 7px; /* Exactement la même distance verticale qu'à droite */
    padding-right: 0;
  }

  .news-date .date-range {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: nowrap;
  }

  .news-date .date-year {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #000000;
    line-height: 1.25;
  }

  /* Colonne Droite : Titre en ligne 1 (aligné avec Date), Lieu en ligne 2 (aligné avec Année) */
  .news-title {
    grid-column: 2;
    padding-right: 0;
  }

  .news-title h2 {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
  }

  /* On masque la colonne Type sur mobile comme sur le screenshot */
  .news-type {
    display: none !important;
  }

  /* Lieu en dessous du titre (aligné avec l'année) */
  .news-location {
    grid-column: 2;
    padding-right: 0;
    margin-top: 7px; /* Alignement rigoureux avec la ligne de l'année */
  }

  .news-location span,
  .news-location .location-map-link {
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #8c8c8c; /* Gris moyen fidèle à la photo */
    text-transform: uppercase;
    line-height: 1.25;
    display: block;
    text-decoration: none;
  }

  .news-location .location-map-link:active,
  .news-location .location-map-link:hover {
    color: #111111;
  }

  /* Sur mobile / tactile, on désactive le preview flottant pour la fluidité */
  .news-hover-preview {
    display: none;
  }
}

/* ============================================================
   8. ABOUT PAGE STYLES (Biographie, Portrait & Contact)
   ============================================================ */
.about-container {
  min-height: 100vh;
  justify-content: flex-start;
  gap: 0;
  display: flex;
  flex-direction: column;
}

.about-title-section {
  padding-top: 110px;
  padding-bottom: 60px;
  width: 100%;
}

.about-main-section {
  display: flex;
  align-items: flex-start;
  gap: 88px; /* Plus d'espace entre le bord droit de la photo et le texte */
  width: 100%;
  margin-bottom: 60px;
  padding-left: 20px; /* Plus d'espace a gauche pour decoller la photo du bord */
}

/* Footer placement on about page */
.about-container .footer {
  margin-top: auto;
  width: 100%;
}

/* Left column : Portrait & Contact */
.about-left-col {
  width: 175px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.about-portrait-wrap {
  width: 175px;
  height: 245px;
  overflow: hidden;
  background-color: #f0f0f0;
}

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

/* Contact block under portrait */
.about-contact-block {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
  text-transform: uppercase;
}

.contact-email {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222222;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.contact-email:hover {
  opacity: 0.6;
}

/* Imprint link directly under Contact block on About page */
.about-imprint-block {
  margin-top: 26px;
}

.about-imprint-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.about-imprint-link:hover {
  opacity: 0.6;
  transform: translateX(2px);
}

/* Right column : Bio Text (se prolonge vers la droite, max 3 lignes, sans gras, noir leger) */
.about-right-col {
  flex: 1;
  max-width: 820px;
  padding-top: 2px;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bio-lead {
  font-size: 16px; /* 16px exact */
  font-weight: 500; /* weight medium */
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: #333333;
  text-transform: uppercase;
}

.bio-body {
  font-size: 16px; /* 16px exact */
  font-weight: 500; /* weight medium */
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: #333333;
  text-transform: uppercase;
}

/* Responsive adjustments for About */
@media (max-width: 768px) {
  .about-title-section {
    padding-top: 50px;
    padding-bottom: 35px;
  }

  .about-main-section {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 50px;
  }

  .about-left-col {
    width: 100%;
    max-width: 220px;
  }

  .about-portrait-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 185 / 255;
  }

  .about-contact-block {
    margin-top: 24px;
  }

  .about-right-col {
    max-width: 100%;
  }
}

/* ============================================================
   8.1. IMPRINT PAGE STYLES (Fidèle à la typographie et à l'épure)
   ============================================================ */
.imprint-container {
  min-height: 100vh;
  justify-content: flex-start;
  gap: 0;
  display: flex;
  flex-direction: column;
}

.imprint-title-section {
  padding-top: 110px;
  padding-bottom: 75px;
  width: 100%;
}

.imprint-content-section {
  display: flex;
  flex-direction: column;
  gap: 46px; /* Espacement équilibré entre chaque bloc légal */
  max-width: 820px;
  margin-bottom: 90px;
}

.imprint-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.imprint-label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
}

.imprint-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.imprint-details p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.5;
  color: #1a1a1a;
  text-transform: uppercase;
  margin: 0;
}

.imprint-contact-link {
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.imprint-contact-link:hover {
  opacity: 0.6;
}

.copyright-year {
  margin-bottom: 14px !important;
}

.imprint-legal-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.imprint-legal-text p {
  font-size: 12px;
  font-weight: 400;
  color: #2b2b2b;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Imprint page footer placement */
.imprint-container .footer {
  margin-top: auto;
}

@media (max-width: 768px) {
  .imprint-title-section {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .imprint-content-section {
    gap: 38px;
    margin-bottom: 60px;
  }

  .imprint-details p {
    font-size: 12.5px;
  }

  .imprint-legal-text p {
    font-size: 11.5px;
  }
}

/* ============================================================
   9. PAGE ENTRY & TRANSITION ANIMATIONS (Site vivant & dynamique)
   Apparition échelonnée et fluide de chaque élément
   ============================================================ */
@keyframes fadeInUpSmooth {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeInScaleSmooth {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header entrance */
.header {
  animation: fadeInUpSmooth 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Pendant le chargement intro, le header est complètement invisible et intouchable */
body.is-loading .header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Dès que le site se révèle après le chargement */
body.site-loaded .header {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  animation: fadeInUpSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Page Titles (WORKS, NEWS, ABOUT) */
.page-title {
  animation: fadeInUpSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

/* Home Page: Bio text and Carousel */
.bio-text {
  animation: fadeInUpSmooth 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.gallery-section {
  animation: fadeInUpSmooth 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* Works Page: Staggered entry for each of the 5 work cards */
.works-grid .work-card:nth-child(1) {
  animation: fadeInScaleSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.works-grid .work-card:nth-child(2) {
  animation: fadeInScaleSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

.works-grid .work-card:nth-child(3) {
  animation: fadeInScaleSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.works-grid .work-card:nth-child(4) {
  animation: fadeInScaleSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.works-grid .work-card:nth-child(5) {
  animation: fadeInScaleSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both;
}

/* News Page: Staggered entrance for news rows */
.news-row {
  animation: fadeInUpSmooth 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* About Page: Portrait & Bio text entrance */
.about-left-col {
  animation: fadeInScaleSmooth 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.about-right-col {
  animation: fadeInUpSmooth 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* Page exit fade when clicking navigation links */
body.is-page-exiting .site-container {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.26s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.26s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   10. MOBILE FULLSCREEN MENU & BURGER ANIMATION
   ============================================================ */
/* Bouton Burger : 2 barres horizontales minimalistes */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 100010;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.burger-bar {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 1.5px;
  background-color: #000000;
  border-radius: 1px;
  /* Métamorphose fluide et rapide des deux barres en croix (X) */
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              top 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.burger-bar-1 {
  top: 15px;
}

.burger-bar-2 {
  top: 24px;
}

/* État actif : transformation parfaite et nette des 2 barres en croix (X) noire bien apparente */
.mobile-menu-toggle.is-active .burger-bar {
  background-color: #000000;
}

.mobile-menu-toggle.is-active .burger-bar-1 {
  top: 19px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-active .burger-bar-2 {
  top: 19px;
  transform: rotate(-45deg);
}

/* Overlay plein écran */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Fondu enchaîné d'apparition et de fermeture */
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-top: 140px; /* Positionné plus haut avec un rythme élégant */
}

/* Conteneur des 3 liens principaux */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Espacement serré et moderne comme la référence */
}

/* Enveloppe de masque pour l'animation de révélation (mask clip / slide-up reveal) */
.mobile-nav-link-wrap {
  overflow: hidden;
  display: block;
}

/* Titres des 3 menus : taille raffinée, typographie fidèle */
.mobile-nav-item {
  font-family: var(--font-family);
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #111111;
  text-decoration: none;
  line-height: 1.18;
  display: inline-block;
  opacity: 0;
  transform: translateY(115%);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease;
  transition-delay: calc(var(--item-index, 0) * 0.075s);
  will-change: transform, opacity;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #000000;
}

/* Déclenchement de la révélation fluide au déploiement du menu */
.mobile-menu-overlay.is-open .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

/* Horloge locale de Bucarest : juste sous les menus, pas tout en bas (comme le layout de référence) */
.mobile-time-wrapper {
  margin-top: 56px;
  overflow: hidden;
}

.mobile-time-display {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111111;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.24s;
  will-change: transform, opacity;
}

.mobile-menu-overlay.is-open .mobile-time-display {
  opacity: 1;
  transform: translateY(0);
}

/* Bloquer le défilement arrière-plan quand le menu est ouvert */
body.menu-is-open {
  overflow: hidden !important;
}

/* Responsive adjustments : Affichage du burger sur mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Header mobile rétractable intelligent (Smart Hide / Show on Scroll) */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px 24px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s ease;
    will-change: transform;
    z-index: 100010;
  }

  /* Quand on scrolle vers le bas : masqué vers le haut */
  .header.header--hidden {
    transform: translateY(-100%);
  }

  /* Quand on scrolle vers le haut : visible et ancré */
  .header.header--visible {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }

  /* Compensation de l'espace en haut des pages pour le header fixé */
  .site-container {
    padding-top: 75px !important;
  }

  .works-title-section,
  .news-title-section,
  .about-title-section {
    padding-top: 35px !important;
  }

  /* Quand le menu plein écran est ouvert, le header reste toujours visible et transparent */
  body.menu-is-open .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(0) !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ============================================================
     LAYOUT MOBILE LANDING PAGE (Suggestion 2 : Scroll-Snap Horizontal Natif)
     Ultra-fluide, 0 bug, 0 lag, calage magnétique automatique au pouce
     ============================================================ */
  .site-container {
    padding: 20px 20px 30px 20px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
  }

  .header {
    margin-bottom: 16px;
  }

  .hero-section {
    padding-top: 30px;
    padding-bottom: 20px;
    flex: 0 0 auto;
  }

  .bio-text p {
    font-size: clamp(11.5px, 3.25vw, 13px);
    line-height: 1.45;
    letter-spacing: 0.015em;
    color: #7a7a7a;
    max-width: 100%;
  }

  .bio-text strong {
    color: #000000;
  }

  /* Section carrousel avec padding latéral permettant de voir le bord du tableau suivant */
  .gallery-section {
    width: 100vw;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 0 20px 0;
    overflow: visible;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
  }

  .gallery-section::before,
  .gallery-section::after {
    display: none !important;
  }

  /* Conteneur à défilement tactile natif avec Scroll-Snap */
  .marquee-track-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 20px 20px 20px;
    -webkit-overflow-scrolling: touch; /* Inertie native iOS fluide à 120Hz */
    scroll-snap-type: x mandatory; /* Calage magnétique automatique */
    scroll-behavior: smooth;
    scrollbar-width: none; /* Masque la barre de défilement pour un rendu épuré */
  }

  .marquee-track-wrapper::-webkit-scrollbar {
    display: none;
  }

  .marquee-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: max-content;
    animation: none !important;
    align-items: center;
  }

  /* Masquer les sets dupliqués desktop sur mobile pour n'afficher que les 5 tableaux uniques */
  .gallery-card.desktop-marquee-only {
    display: none !important;
  }

  /* Carte tableau : format portrait immersif avec calage magnétique */
  .gallery-card {
    flex: 0 0 calc(80vw - 20px); /* 80% de la largeur de l'écran : le tableau suivant dépasse subtilement */
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1.35;
    margin: 0;
    background-color: #f2f2f2;
    overflow: hidden;
    scroll-snap-align: center; /* Se verrouille parfaitement au centre */
    scroll-snap-stop: normal;
    opacity: 1; /* Aucun délai ni blocage, affichage instantané */
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
  }
}
