/* ============================================================
   ANNE-LAURE PÉRÈS — Sculpteur Contemporain
   Design System · Ultra-Premium One-Page
   
   PALETTE ORIGINALE EXTRAITE DU SITE :
   --nav-bg:       #cde8e7  (vert d'eau / menthe)
   --nav-text:     #444444  (gris foncé)
   --content-bg:   #ffffff  (blanc pur)
   --content-text: #000000  (noir)
   --footer-bg:    #cde8e7  (vert d'eau, sidebar)
   --body-text:    #333332  (gris anthracite)
   --link:         #2e566f  (bleu pétrole)
   --link-hover:   #81817e  (gris taupe)
   --btn-bg:       #2e566f  (bleu pétrole)
   --btn-hover:    #5d5d5d  (gris)
   --dark-bg:      #171717  (noir profond)
   --surface:      #f6f6f6  (gris clair)
   --accent-dark:  #383c3f  (gris charbon)
   ============================================================ */

/* ── Polices auto-hébergées (variables, sous-ensemble latin) ──
   Remplace l'@import Google Fonts : plus de chaîne de requêtes
   bloquante vers un tiers, et conformité RGPD. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/cinzel-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-var.woff2') format('woff2');
}

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Original Brand Colors */
  --bg:           #ffffff;
  --accent:       #d4a373;
  --nav-bg:       #cde8e7;
  --nav-text:     #444444;
  --content-bg:   #ffffff;
  --content-text: #000000;
  --body-text:    #333332;
  --link:         #2e566f;
  --link-hover:   #5d5d5b; /* assombri pour rester lisible au survol (contraste AA) */
  --btn-bg:       #2e566f;
  --btn-hover:    #5d5d5d;
  --dark-bg:      #171717;
  --surface:      #f6f6f6;
  --accent-dark:  #383c3f;
  --bronze:       #96692e;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 10rem);
  --content-max:     1400px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s var(--ease-out-expo);
  --transition-medium: 0.6s var(--ease-out-expo);

  /* Utility tokens */
  --bg-alt: #f5f0eb;
  --border: rgba(0, 0, 0, 0.08);
  --text-muted: #6b6b6b;
  /* Couleurs d'alerte assombries pour un contraste AA sur fond clair */
  --success: #2e7d32;
  --danger: #b3382e;
  --warning: #9a6a00;
  --radius: 8px;
  --font-heading: var(--font-display);
  --heading-text: var(--content-text);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background-color: var(--content-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Custom Selection ──────────────────────────────────────── */
::selection {
  background: var(--nav-bg);
  color: var(--nav-text);
}
::-moz-selection {
  background: var(--nav-bg);
  color: var(--nav-text);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover);
}

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: background-color 0.5s ease, padding 0.5s ease, backdrop-filter 0.5s ease;
}

.navbar.scrolled {
  background-color: rgba(205, 232, 231, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: var(--content-bg);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.5s ease;
  margin-right: 2vw;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar.scrolled .navbar__logo {
  color: var(--nav-text);
}

.navbar__links {
  display: flex;
  flex-grow: 1;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.navbar__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.lang-switcher {
  margin-left: auto;
}

.navbar.scrolled .navbar__links a {
  color: var(--nav-text);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.4s var(--ease-out-expo);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__links a:hover {
  color: var(--content-bg);
}

.navbar.scrolled .navbar__links a:hover {
  color: var(--link);
}

/* Mobile menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--content-bg);
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar__toggle span {
  background-color: var(--nav-text);
}

/* ── Inner Page Navbar Overrides ───────────────────────────── */
.inner-page .navbar {
  background-color: rgba(205, 232, 231, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.inner-page .navbar__logo {
  color: var(--nav-text);
}

.inner-page .navbar__links a {
  color: var(--nav-text);
}

.inner-page .navbar__links a:hover {
  color: var(--link);
}

.inner-page .navbar__toggle span {
  background-color: var(--nav-text);
}

.inner-page {
  padding-top: 80px; /* Offset for fixed navbar */
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* stable quand la barre d'URL mobile se replie */
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero:hover .hero__media img {
  transform: scale(1.12);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(
      180deg,
      rgba(23, 23, 23, 0.4) 0%,
      rgba(23, 23, 23, 0.1) 40%,
      rgba(23, 23, 23, 0.6) 100%
    );
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--content-bg);
  padding: 0 2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.3s forwards;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.6s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1.2s var(--ease-out-expo) 1s forwards;
  text-decoration: none;
  cursor: pointer;
}

.btn--minimal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: bold !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: opacity 0.3s ease;
}

.btn--minimal::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Section Shared Styles ─────────────────────────────────── */
.section {
  padding: var(--section-padding) 2rem;
  position: relative;
  scroll-margin-top: 60px;
}

.section__header {
  max-width: var(--content-max);
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

.section__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--nav-bg);
  line-height: 1;
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--content-text);
  letter-spacing: 0.05em;
  font-variant: small-caps;
  line-height: 1.2;
}

/* ── Introduction / About ──────────────────────────────────── */
.about {
  background-color: var(--content-bg);
}

.about__grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about__image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 1.6s var(--ease-out-expo), filter 0.8s ease;
}

.about__image-wrapper:hover img {
  transform: scale(1.06);
  filter: contrast(1.05) brightness(0.95);
}

.about__image-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 70%;
  height: 50%;
  background: var(--nav-bg);
  z-index: -1;
  opacity: 0.3;
  filter: blur(40px);
  border-radius: 50%;
  transition: transform 1.6s ease;
}

.about__image-wrapper:hover .about__image-accent {
  transform: translate(20px, -20px) scale(1.2);
}

.about__text {
  padding: 2rem 0;
}

.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--content-text);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about__text p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about__text blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--link);
  border-left: 2px solid var(--nav-bg);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

/* ── Gallery Section ───────────────────────────────────────── */
.gallery-section {
  background-color: var(--surface);
}

.gallery-section--alt {
  background-color: var(--bg-alt);
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ── Gallery Filters ───────────────────────────────────────── */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--body-text);
  padding: 0.75rem 1.8rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s var(--ease-out-expo);
}
.filter-btn:hover {
  border-color: var(--nav-bg);
}
.filter-btn.active {
  /* blanc sur bleu pétrole : lisible, contrairement à l'ancien blanc sur vert d'eau (1,29:1) */
  background: var(--link);
  color: #ffffff;
  border-color: var(--link);
}

.gallery-section__intro {
  max-width: var(--content-max);
  margin: -2rem auto 3rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  text-align: justify;
}

/* ── Artwork List ──────────────────────────────────────────── */
.artwork-list {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: flex-start;
}


@media (max-width: 768px) {
  .artwork-list {
    grid-template-columns: 1fr;
  }
}

/* ── Artwork Card ──────────────────────────────────────────── */
.artwork {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out-expo);
  width: 100%;
}

.artwork__main {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--nav-bg);
}

.artwork__main img.artwork__hero {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 1.4s var(--ease-out-expo), filter 0.6s ease;
  cursor: pointer;
  will-change: transform;
}

.artwork__main:hover img.artwork__hero {
  transform: scale(1.06);
  filter: brightness(0.65);
}

.artwork__gallery-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(23, 23, 23, 0.6);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 4;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.artwork__main:hover .artwork__gallery-indicator {
  opacity: 1;
}

/* ── Hover Overlay Caption ─────────────────────────────────── */
.artwork__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.95) 0%, rgba(23,23,23,0.3) 50%, transparent 100%);
  color: white;
  z-index: 3;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
  pointer-events: none;
}

.artwork__caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.artwork__caption p {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.artwork__main:hover .artwork__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Availability badge inside caption ───────────────────────── */
.artwork__status {
  align-self: flex-start;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: var(--btn-bg);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}

/* ── Artwork Info ──────────────────────────────────────────── */
.artwork__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0.15rem;
}

.artwork__info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--content-text);
  margin: 0;
  transition: color 0.3s ease;
}

.artwork:hover .artwork__info h3 {
  color: var(--link);
}

.artwork__details {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--body-text);
  letter-spacing: 0.05em;
}

.artwork__status--available {
  background-color: var(--btn-bg); /* Dark blue for available */
  color: #fff;
}

.artwork__status--sold {
  background-color: var(--bronze); /* bronze : lisible en blanc (AA) */
  color: #fff;
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Lightbox title bar */
.lightbox__title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  z-index: 11;
  pointer-events: none;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  animation: lightboxIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes lightboxIn {
  from { transform: scale(0.92) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 12;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 10;
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__prev:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) translateX(-3px);
}

.lightbox__next:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) translateX(3px);
}

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
}

/* ── Parallax Feature Section ──────────────────────────────── */
.feature {
  position: relative;
  height: 95vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__bg {
  position: absolute;
  inset: -45px 0;
  z-index: 1;
}

.feature__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.feature__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(23, 23, 23, 0.55);
}

.feature__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--content-bg);
  max-width: 700px;
  padding: 0 2rem;
}

.feature__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.feature__content p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* ── Services / Cours & Ateliers ───────────────────────────── */
.services {
  background-color: var(--content-bg);
}

.services__grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}



@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 3.5rem 2.5rem;
  background-color: var(--surface);
  border-top: 3px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: left;
}

.service-card:hover {
  background-color: #ffffff;
  border-top-color: var(--nav-bg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}

.service-card__icon {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--link);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-variant: small-caps;
  text-transform: none;
  color: var(--content-text);
  margin-bottom: 1.2rem;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA / Acquisition ─────────────────────────────────────── */
.cta {
  background-color: var(--nav-bg);
  text-align: center;
  padding: 6rem 2rem;
}

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta .section__label {
  color: var(--link);
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.cta__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--content-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.cta__inner p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid var(--btn-bg);
  border-radius: 4px;
  color: var(--btn-bg);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
}

.btn:hover {
  background-color: var(--btn-bg);
  color: #ffffff;
}

.btn--light {
  border-color: #ffffff;
  color: #ffffff;
}

.btn--light:hover {
  background-color: #ffffff;
  color: var(--dark-bg);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover svg {
  transform: translateX(5px);
}

/* ── Contact Form ────────────────────────────────────────── */
.contact {
  background-color: var(--surface);
}

.contact__container {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact__info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--content-text);
  margin-bottom: 1.5rem;
}

.contact__info p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form__group {
  position: relative;
}

.form__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--content-text);
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form__input:focus {
  outline: none;
  border-bottom-color: var(--link);
}

.form__label {
  position: absolute;
  top: 0.5rem;
  left: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.55);
  transition: all 0.3s var(--ease-out-expo);
  pointer-events: none;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
  top: -1.2rem;
  font-size: 0.75rem;
  color: var(--link);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}



/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background-color: var(--content-bg);
  color: var(--body-text);
  padding: 3rem 2rem 1.5rem;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; justify-content: space-between;
  gap: 2rem;

  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--content-text);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--content-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer__links ul {
  list-style: none;
  column-count: 2;
  column-gap: 2rem;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--body-text);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--link);
}

.footer__contact p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: var(--link);
}





.footer__socials a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}



.footer__socials a:hover svg {
  transform: scale(1.1);
}

.footer__bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.8; /* lisibilité AA */
}

.footer__bottom a {
  font-size: 0.75rem;
  color: var(--body-text);
  opacity: 0.8; /* lisibilité AA */
}

/* ── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

/* Stagger delays for grid children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Gallery stagger — applied by JS */
.artwork.reveal:nth-child(3n+1) { transition-delay: 0s; }
.artwork.reveal:nth-child(3n+2) { transition-delay: 0.12s; }
.artwork.reveal:nth-child(3n+3) { transition-delay: 0.24s; }

/* Parallax items */
[data-parallax] {
  will-change: transform;
}

/* ── Smooth hero image swap (crossfade) ───────────────────── */
.artwork__hero.swapping {
  animation: heroSwap 0.35s ease-in-out;
}

@keyframes heroSwap {
  0%   { opacity: 1; transform: scale(1); }
  40%  { opacity: 0.3; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.2); }
}

/* ── Page Load Transition ─────────────────────────────────── */
/* L'ancien body { opacity: 0 } rendait le site invisible si le JS
   échouait ou était bloqué ; la page s'affiche désormais sans condition. */
body {
  transition: opacity 0.6s ease;
}

/* ── Smooth section transitions ───────────────────────────── */
.gallery-section,
.gallery-section--alt {
  transition: background-color 0.5s ease;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image-accent {
    display: none;
  }

  .artwork-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1150px) {
  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  /* Mobile nav overlay */
  .navbar__links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background-color: rgba(23, 23, 23, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .navbar__links.active a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  .navbar__links.active a:hover {
    color: var(--nav-bg) !important;
  }

  .hero__title {
    letter-spacing: 0.08em;
  }

  /* Palier intermédiaire tablette : 2 colonnes (le passage à 1 colonne
     se fait sous 768px, voir la règle en fin de fichier) */
  .artwork-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature {
    height: 60vh;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* ── LIVRE D'OR ET EXPOSITIONS ────────────────────────────── */
.livre-dor__header, .expositions__header {
  position: relative;
  padding: 8rem 5% 4rem;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.livre-dor__header::before, .expositions__header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248, 249, 249, 0.85); /* Faint watermark overlay */
  z-index: 0;
}

.livre-dor__header > *, .expositions__header > * {
  position: relative;
  z-index: 2;
}

.livre-dor__grid {
  column-count: 3;
  column-gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 1024px) {
  .livre-dor__grid {
    /* column-count: 2; handled by JS */
  }
}

@media (max-width: 768px) {
  .livre-dor__grid {
    column-count: 1;
  }
}

.comment-card {
  --rot: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  --pin-x: 45%;
  padding: 3rem 2.5rem 3.5rem 2.5rem;
  background-color: #fdfcf6; /* Couleur papier texturé / crème */
  display: inline-block;
  width: 100%;
  margin-bottom: 2.5rem;
  break-inside: avoid;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  text-align: left;
  border-radius: 2px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.05);
  transform: rotate(var(--rot)) translate(var(--shift-x), var(--shift-y));
}

/* La punaise (pin) 3D */
.comment-card::after {
  content: "";
  position: absolute;
  top: 15px;
  left: var(--pin-x);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #5d8199, var(--btn-bg)); /* Couleur bleu canard de la charte */
  border-radius: 50%;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4), inset -2px -2px 4px rgba(0, 0, 0, 0.4), inset 2px 2px 3px rgba(255, 255, 255, 0.5);
  border: 1px solid #1a3545;
  z-index: 5;
}

/* Scattered effect using nth-child */
.comment-card:nth-child(2n) { --rot: 1.5deg; --shift-y: 15px; --pin-x: 55%; }
.comment-card:nth-child(3n) { --rot: -2deg; --shift-x: -10px; --pin-x: 40%; }
.comment-card:nth-child(4n) { --rot: 2.5deg; --shift-y: -10px; --pin-x: 65%; }
.comment-card:nth-child(5n) { --rot: -1.5deg; --shift-x: 15px; --pin-x: 35%; }
.comment-card:nth-child(7n) { --rot: 3deg; --shift-y: 5px; --pin-x: 50%; }

.comment-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--nav-bg);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.comment-card:hover {
  background-color: #ffffff;
  transform: rotate(var(--rot)) translate(var(--shift-x), calc(var(--shift-y) - 10px)) scale(1.02);
  z-index: 10;
}



.comment-card__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.comment-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid rgba(52, 92, 114, 0.2);
  padding-top: 1.5rem;
}

.comment-card__author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--heading-text);
  font-size: 1.1rem;
}

.comment-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}
.lang-btn {
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.lang-btn:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .lang-switcher {
        margin-left: 0;
    }
}

/* Anti-drag sur toutes les images */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
}

/* Masonry Columns */
.artwork-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-width: 0; /* prevent flex blowout */
}

.artwork-list-masonry {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .artwork-list-masonry {
    flex-direction: column;
  }
}

.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  color: white;
}

.footer__socials a[aria-label="Facebook"] {
  background-color: #5586E8;
}
.footer__socials a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #F58529, #DD2A7B);
}
.footer__socials a[aria-label="Pinterest"] {
  background-color: #D84C4C;
}

.footer__socials a:hover {
  filter: brightness(1.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

.lang-sep {
    margin: 0 0.5rem;
    color: inherit;
    font-weight: inherit;
}

.navbar__links .lang-sep {
  color: rgba(255, 255, 255, 0.8);
}
.navbar.scrolled .navbar__links .lang-sep {
  color: var(--nav-text);
}
.inner-page .navbar .navbar__links .lang-sep {
  color: var(--nav-text);
}

/* ── Correctif responsive : 1 colonne sous 768px ─────────────
   Placé en fin de fichier pour l'emporter sur la règle 2 colonnes
   du bloc 1150px (même spécificité, dernière déclaration gagne). */
@media (max-width: 768px) {
  .artwork-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ════════════════════════════════════════════════════════════
   Ajouts Phase 2 — composants factorisés (remplacent les styles
   inline des anciennes pages) + accessibilité
   ════════════════════════════════════════════════════════════ */

/* Les <picture> ne doivent pas créer de boîte intermédiaire */
picture { display: contents; }

/* ── Lien d'évitement ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: 0.6rem 1.2rem;
  background: var(--link);
  color: #fff;
  border-radius: 0 0 4px 4px;
  font-size: 0.85rem;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ── Focus visible partout ── */
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}
.navbar.scrolled :focus-visible,
.inner-page .navbar :focus-visible {
  outline-color: var(--link);
}
.lightbox :focus-visible,
.navbar__links.active :focus-visible {
  outline-color: #fff;
}
.form__input:focus-visible {
  outline: none; /* la bordure basse épaissie sert d'indicateur */
  border-bottom: 2px solid var(--link);
}

/* ── Bouton burger : croix quand ouvert, visible sur l'overlay ── */
.navbar__toggle {
  background: none;
  border: none;
  padding: 0.4rem;
}
.navbar__toggle.is-open span {
  background-color: #fff !important;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sélecteur de langue ──
   La langue active est un <span> : il n'hérite pas des couleurs
   appliquées aux liens <a> de la barre, il faut le styler explicitement. */
.lang-btn--current {
  font-weight: 700;
}
.navbar .lang-btn--current {
  color: #ffffff; /* barre transparente sur le hero */
}
.navbar.scrolled .lang-btn--current,
.inner-page .navbar .lang-btn--current {
  color: var(--nav-text);
}
/* Menu mobile ouvert : tout est blanc sur fond sombre */
.navbar__links.active .lang-btn--current {
  color: #ffffff !important;
}

/* ── Alertes de formulaire (contraste AA) ── */
.form-alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}
.form-alert--success { background: rgba(46, 125, 50, 0.08);  color: var(--success); border: 1px solid rgba(46, 125, 50, 0.35); }
.form-alert--danger  { background: rgba(179, 56, 46, 0.08);  color: var(--danger);  border: 1px solid rgba(179, 56, 46, 0.35); }
.form-alert--warning { background: rgba(154, 106, 0, 0.08);  color: var(--warning); border: 1px solid rgba(154, 106, 0, 0.35); }

/* ── Cartouche d'œuvre visible (mobile inclus) ── */
.artwork__info {
  margin-top: 0.9rem;
}
.artwork__info-title a {
  color: inherit;
}
.artwork__info-meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}
.artwork__info .artwork__status {
  font-size: 0.62rem;
  padding: 0.25rem 0.6rem;
  margin-top: 0.2rem;
}

/* Bouton "Voir toutes…" hors de la grille */
.artwork-list__more {
  text-align: center;
  margin-top: 3rem;
}

/* ── Étiquette des filtres ── */
.filter-label {
  margin-right: 15px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--nav-text);
}

/* ── Liste d'expositions ── */
.exhibition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.exhibition-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.exhibition-item__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.exhibition-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.exhibition-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}
.exhibition-item__head h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-display);
}
.exhibition-item__dates {
  color: #9a6a3c; /* terracotta assombri, lisible sur les fonds clairs */
  font-weight: 500;
  white-space: nowrap;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.exhibition-item__location {
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.exhibition-item__link {
  color: var(--nav-text);
  text-decoration: underline;
  margin-top: 0.5rem;
  display: inline-block;
  font-weight: 500;
}
.exhibition-list__note {
  text-align: center;
  margin: 3rem auto 0;
  color: var(--text-muted);
  font-style: italic;
}
.expositions__group-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin: 3rem 0 0.5rem;
}
.expositions__group-title:first-of-type {
  margin-top: 0;
}

.tax-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Bouton d'envoi du formulaire de contact ── */
.contact__submit {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ── Fil d'Ariane ── */
.breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto 2rem;
  padding: 0 5%;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--link);
}

/* ── Page d'œuvre ── */
.artwork-detail__layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
.artwork-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.artwork-detail__gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: zoom-in;
}
.artwork-detail__info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.artwork-detail__info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}
.artwork-detail__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
  font-size: 0.95rem;
}
.artwork-detail__specs dt {
  font-weight: 600;
  color: var(--nav-text);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  align-self: baseline;
}
.artwork-detail__specs dd {
  margin: 0;
}
.artwork-detail__prices {
  margin: 0;
  color: var(--text-muted);
}
.artwork-detail__cta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.artwork-detail__nav {
  max-width: var(--content-max);
  margin: 4rem auto 0;
  padding: 2rem 5% 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .artwork-detail__layout {
    grid-template-columns: 1fr;
  }
  .artwork-detail__info {
    position: static;
  }
}

/* ── Mouvement réduit : couper animations et parallaxe ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__media img,
  .hero:hover .hero__media img {
    transform: none;
  }
}

/* Zoom léger au survol (images d'expositions) */
.hover-zoom:hover { transform: scale(1.05); }

/* Titre du hero : éviter le débordement sur petit écran */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.8rem, 9.5vw, 2.5rem);
    letter-spacing: 0.06em;
  }
}

/* ── Ajustements responsive Phase 3 ─────────────────────────── */
@media (max-width: 768px) {
  /* Le texte justifié crée des rivières de blanc en colonne étroite */
  .gallery-section__intro {
    text-align: left;
  }
  /* Liens du footer sur une seule colonne */
  .footer__links ul {
    column-count: 1;
  }
}
@media (max-width: 1150px) {
  /* Le min-height de 700px dépassait la hauteur d'un écran mobile */
  .feature {
    min-height: 0;
  }
}

/* Cibles tactiles de la visionneuse */
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  min-width: 44px;
  min-height: 44px;
}

/* ── Défiscalisation en accordéons ──────────────────────────── */
.tax-accordion {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.tax-accordion + .tax-accordion {
  margin-top: 1rem;
}
.tax-accordion summary {
  cursor: pointer;
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--nav-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.tax-accordion summary::-webkit-details-marker { display: none; }
.tax-accordion summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--link);
  transition: transform 0.3s var(--ease-out-expo);
}
.tax-accordion[open] summary::after {
  transform: rotate(45deg);
}
.tax-accordion__body {
  padding: 0 2rem 1.8rem;
  text-align: left;
}
.tax-accordion__body p {
  margin-bottom: 1rem;
}
.tax-accordion__body ul {
  list-style-position: outside;
  margin-left: 1.5rem;
}
.tax-accordion__body li {
  margin-bottom: 0.8rem;
}

/* ── Autres œuvres à découvrir (fiche œuvre et page 404) ───── */
.artwork-related {
  max-width: var(--content-max);
  margin: 4rem auto 0;
  padding: 3rem 5% 0;
  border-top: 1px solid var(--border);
}
.artwork-related__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
}
.artwork-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.artwork-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: inherit;
  align-items: flex-start;
}
.artwork-related__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}
.artwork-related__card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.artwork-related__name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--content-text);
}
.artwork-related__card:hover .artwork-related__name {
  color: var(--link);
}
.artwork-related__card .artwork__status {
  font-size: 0.6rem;
  padding: 0.22rem 0.55rem;
}
@media (max-width: 768px) {
  .artwork-related__grid {
    grid-template-columns: 1fr;
  }
}

/* Prix affiché sur la fiche œuvre (si renseigné dans l'admin) */
.artwork-detail__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--content-text);
  margin: 0;
}

/* Lien Instagram de la section biographie */
.bio-instagram {
  margin-top: 2rem;
}
.bio-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
  border-bottom: 1px solid var(--nav-bg);
  padding-bottom: 0.3rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.bio-instagram a:hover {
  color: var(--link-hover);
  border-color: var(--link);
}
.bio-instagram svg {
  flex-shrink: 0;
}

/* ── Mentions légales ───────────────────────────────────────── */
.legal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 5%;
}
.legal__inner h1 {
  margin-bottom: 2.5rem;
}
.legal__inner h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin: 2.2rem 0 0.6rem;
}
.legal__inner p {
  margin-bottom: 0.8rem;
}

/* ── Menu mobile ouvert : suspendre le flou de la barre ───────
   backdrop-filter fait de la navbar le conteneur des éléments en
   position:fixed → l'overlay du menu restait confiné à la barre au
   lieu de couvrir l'écran (liens blancs illisibles sur fond clair). */
.navbar.menu-open,
.navbar.menu-open.scrolled,
.inner-page .navbar.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
