/* ==========================================================================
   CATHERINE CÔME — ÉDITION ORIGINALE 2026
   Univers Art Naïf & Symbolique | Scénographie Musée d'Exception
   Design Unique & Sur-Mesure : Arches Romanes, Palette Chromatique & Cadres d'Art
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@500;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES & PALETTES CHROMATIQUES
   ========================================================================== */
:root {
  /* Mode Sombre "Écrin de Nuit Étoilée & Or Naïf" */
  --bg-main: #08090d;
  --bg-surface: #10121a;
  --bg-card: rgba(18, 21, 30, 0.78);
  --bg-card-hover: rgba(26, 30, 44, 0.95);
  --bg-nav: rgba(10, 12, 18, 0.88);
  --bg-modal: rgba(6, 7, 10, 0.97);

  /* Pigments d'artiste de Catherine Côme */
  --gold: #dfb15b;
  --gold-light: #f7dd9e;
  --gold-dark: #b38226;
  --gold-glow: rgba(223, 177, 91, 0.4);

  --emerald: #153327;
  --emerald-light: #255442;
  --emerald-glow: rgba(37, 84, 66, 0.45);

  --night-blue: #14213d;
  --feline-rose: #d66878;
  --sarthe-white: #e3ebf0;

  --text-primary: #f8f9fc;
  --text-secondary: #c0c5d6;
  --text-muted: #81889c;

  --border-subtle: rgba(223, 177, 91, 0.18);
  --border-gold: rgba(223, 177, 91, 0.48);
  --border-card: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 40px rgba(223, 177, 91, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-arch: 280px 280px 24px 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-subheading: 'Cinzel', serif;
  --font-quote: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Thème clair : "Galerie d'Ivoire & Lin Naturel" */
[data-theme="light"] {
  --bg-main: #fbf9f4;
  --bg-surface: #f4efe4;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-nav: rgba(251, 249, 244, 0.92);
  --bg-modal: rgba(248, 245, 238, 0.98);

  --text-primary: #15161c;
  --text-secondary: #424656;
  --text-muted: #797e91;

  --border-subtle: rgba(179, 130, 38, 0.22);
  --border-gold: rgba(179, 130, 38, 0.55);
  --border-card: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 4px 14px rgba(40, 30, 10, 0.06);
  --shadow-md: 0 12px 32px rgba(40, 30, 10, 0.1);
  --shadow-lg: 0 28px 70px rgba(40, 30, 10, 0.18);
  --shadow-gold: 0 10px 40px rgba(223, 177, 91, 0.35);
}

/* Teintes d'ambiance dynamiques (activées par la palette de la coloriste) */
body.tint-blue { --bg-main: #070c14; --gold-glow: rgba(44, 80, 124, 0.5); }
body.tint-emerald { --bg-main: #06110c; --gold-glow: rgba(33, 84, 66, 0.5); }
body.tint-rose { --bg-main: #14080b; --gold-glow: rgba(214, 104, 120, 0.45); }
body.tint-gold { --bg-main: #0f0c05; --gold-glow: rgba(223, 177, 91, 0.6); }

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: background-color 0.8s ease, color var(--transition-base);
}

#dream-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

::selection {
  background: var(--gold);
  color: #08090d;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==========================================================================
   3. TYPOGRAPHIE NOBLE D'ART NAÏF
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.text-gold {
  color: var(--gold);
  background: linear-gradient(135deg, #f7dd9e 0%, #dfb15b 50%, #b38226 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subheading-roman {
  font-family: var(--font-subheading);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.subheading-roman::before,
.subheading-roman::after {
  content: '✦';
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0.75;
}

/* ==========================================================================
   4. NAVIGATION HAUTE COUTURE (DOCK D'ART FLOTTANT STRICTEMENT SUR 1 LIGNE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  pointer-events: none; /* Laisse passer les clics hors du dock */
  transition: transform var(--transition-base);
}

.nav-container {
  pointer-events: auto;
  width: 100%;
  max-width: 1240px;
  box-sizing: border-box;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md), 0 0 25px rgba(223, 177, 91, 0.15);
  padding: 0.45rem 0.9rem 0.45rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important; /* EMPÊCHE TOUT RETOUR À LA LIGNE */
  white-space: nowrap !important;
  gap: 1rem;
  transition: all var(--transition-base);
}

.site-header.scrolled .nav-container {
  box-shadow: var(--shadow-lg), 0 0 35px rgba(223, 177, 91, 0.25);
  background: rgba(8, 10, 15, 0.94);
}

/* Logo & Sceau de l'Artiste (Zone Gauche) */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: radial-gradient(circle, rgba(223, 177, 91, 0.3) 0%, rgba(8, 9, 13, 0.95) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-light);
  box-shadow: 0 0 14px var(--gold-glow);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-monogram {
  transform: rotate(6deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-subheading);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* Menu de Navigation Épuré (Zone Centrale) */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.3rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Actions Rapides & Outils (Zone Droite) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  position: relative;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(223, 177, 91, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--gold-glow);
}

/* Bouton Musique d'Ambiance Compact (sans texte déformant) */
.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.audio-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(223, 177, 91, 0.12);
  transform: translateY(-2px);
}

.audio-btn.playing {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  background: rgba(223, 177, 91, 0.18);
}

.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-waves span {
  width: 2.2px;
  background: currentColor;
  border-radius: 1px;
  height: 4px;
}

.audio-btn.playing .sound-waves span:nth-child(1) { animation: wave 1s infinite ease-in-out; }
.audio-btn.playing .sound-waves span:nth-child(2) { animation: wave 1s infinite ease-in-out 0.2s; }
.audio-btn.playing .sound-waves span:nth-child(3) { animation: wave 1s infinite ease-in-out 0.4s; }

@keyframes wave {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* Pastille flottante de déblocage sonore onirique */
.audio-floating-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 20, 28, 0.94);
  border: 1px solid var(--border-gold);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 177, 91, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.audio-floating-pill.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.audio-floating-pill:hover {
  border-color: var(--gold-light);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(223, 177, 91, 0.4);
  transform: translateY(-2px);
}

.audio-pill-icon {
  font-size: 1.15rem;
}

.audio-pill-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #12100e;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease;
}

.audio-pill-btn:hover {
  transform: scale(1.06);
}

/* Badge Sonore du Portail Hero */
.hero-audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.15);
}

.hero-audio-badge:hover {
  background: rgba(223, 177, 91, 0.22);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(223, 177, 91, 0.3);
}

.badge-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.badge-waves span {
  width: 2.2px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
}

.hero-audio-badge.playing .badge-waves span:nth-child(1) { animation: wave 1s infinite ease-in-out; }
.hero-audio-badge.playing .badge-waves span:nth-child(2) { animation: wave 1s infinite ease-in-out 0.2s; }
.hero-audio-badge.playing .badge-waves span:nth-child(3) { animation: wave 1s infinite ease-in-out 0.4s; }

@media (max-width: 640px) {
  .audio-floating-pill {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}


/* Badge Favoris */
.fav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-main);
}

/* Bouton Or d'Acquisition Épuré */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: linear-gradient(135deg, #f7dd9e 0%, #dfb15b 50%, #b38226 100%);
  color: #090a0e;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 3px 14px rgba(223, 177, 91, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(223, 177, 91, 0.5);
  color: #000;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  font-weight: 500;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(223, 177, 91, 0.14);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
}

/* ==========================================================================
   5. NOUVELLE SCÈNE HÉROS : LE PORTAIL DE L'ARCHE ONIRIQUE
   ========================================================================== */
.hero-portal-section {
  position: relative;
  min-height: 100vh;
  padding-top: 105px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-portal-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(950px, 92vw);
  height: min(700px, 70vh);
  background: radial-gradient(ellipse at center, rgba(223, 177, 91, 0.16) 0%, rgba(21, 51, 39, 0.14) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
}

.hero-portal-header {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.hero-portal-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
  word-break: break-word;
}

.hero-portal-title em {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-portal-lead {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 1.8rem;
  padding: 0 0.5rem;
}

/* Scène théâtrale de l'arche avec toiles en orbite */
.portal-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1300px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
}

/* L'Arche Centrale (Chef-d'œuvre) */
.portal-arch-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 560px;
  border-radius: var(--radius-arch);
  padding: 14px;
  background: linear-gradient(145deg, rgba(223, 177, 91, 0.45) 0%, rgba(16, 18, 26, 0.95) 50%, rgba(21, 51, 39, 0.5) 100%);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(223, 177, 91, 0.25);
  cursor: pointer;
  box-sizing: border-box;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.portal-arch-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 70px rgba(223, 177, 91, 0.4);
}

.portal-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 266px 266px 16px 16px;
  filter: contrast(1.05) saturate(1.1);
}

/* Sceau de Cire Doré Virtuel */
.portal-wax-seal {
  position: absolute;
  top: -24px;
  right: -20px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #dfb15b 0%, #b38226 70%, #7d5915 100%);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1a1204;
  font-family: var(--font-subheading);
  font-weight: 900;
  text-align: center;
  transform: rotate(-12deg);
  z-index: 10;
}

.portal-wax-seal span:nth-child(1) { font-size: 0.55rem; letter-spacing: 0.1em; }
.portal-wax-seal span:nth-child(2) { font-size: 1.1rem; line-height: 1; }
.portal-wax-seal span:nth-child(3) { font-size: 0.55rem; }

/* Cartel flottant de l'arche */
.portal-plaque {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.portal-plaque-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.portal-plaque-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Satellites Flottants (Toiles d'appoint en apesanteur) */
.portal-satellite {
  width: 250px;
  height: 340px;
  border-radius: var(--radius-lg);
  padding: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portal-satellite:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
}

.portal-satellite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
}

.portal-sat-caption {
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
}



/* ==========================================================================
   7. DÉFILÉ D'ART (TICKER POÉTIQUE)
   ========================================================================== */
.art-ticker {
  background: linear-gradient(90deg, #10131d 0%, #17221c 50%, #10131d 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: scrollTicker 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-right: 2.2rem;
}

.ticker-track span.bullet {
  color: var(--coral);
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   8. CITATION ROYALEMENT ILLUMINÉE DE JACKYE LAYNET
   ========================================================================== */
.critique-section {
  padding: 100px 1.75rem;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(223, 177, 91, 0.08) 0%, transparent 70%);
}

.critique-card {
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
  padding: 3.8rem 3.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(223, 177, 91, 0.12);
  position: relative;
}

.critique-quote-icon {
  font-family: var(--font-display);
  font-size: 3.8rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.critique-text {
  font-family: var(--font-quote);
  font-size: 1.85rem;
  line-height: 1.62;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.critique-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.author-name {
  font-family: var(--font-subheading);
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   9. PILIERS DE L'UNIVERS NAÏF (3 Scènes immersives)
   ========================================================================== */
.universe-section {
  padding: 80px 1.75rem 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.9rem;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.universe-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.universe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--gold-glow);
}

.universe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.universe-card:hover img {
  transform: scale(1.08);
}

.universe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.96) 0%, rgba(8, 9, 13, 0.4) 50%, transparent 100%);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.universe-tag {
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.universe-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.universe-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.universe-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   10. GALERIE DE MUSÉE (CADRES D'ART À GORGE DORÉE & PASSE-PARTOUT)
   ========================================================================== */
.gallery-section {
  padding: 100px 1.75rem;
  background: var(--bg-surface);
  position: relative;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Barre d'outils et de filtres */
.gallery-toolbar {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.8rem;
  margin-bottom: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--gold);
  color: #08090d;
  font-weight: 600;
  box-shadow: 0 2px 14px var(--gold-glow);
}

.gallery-search-box {
  position: relative;
  min-width: 260px;
}

.gallery-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.gallery-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.gallery-sort-select {
  padding: 0.55rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.85rem;
  outline: none;
}

/* Grille d'œuvres */
.artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Formulaire 2 colonnes fluide */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  width: 100%;
}

@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* Carte d'Artiste : VÉRITABLE CADRE D'ART AVEC PASSE-PARTOUT */
.artwork-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.artwork-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 35px var(--gold-glow);
  border-color: var(--gold);
}

/* Passe-partout de musée */
.artwork-frame-matting {
  padding: 14px 14px 0 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.artwork-img-wrapper {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #000;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1.5px solid rgba(223, 177, 91, 0.35);
  cursor: pointer;
}

.artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.artwork-card:hover .artwork-img {
  transform: scale(1.06);
}

/* Boutons d'action superposés à l'image */
.artwork-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 5;
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.artwork-card:hover .artwork-actions {
  opacity: 1;
  transform: translateY(0);
}

.card-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.card-action-btn:hover {
  background: var(--gold);
  color: #08090d;
  transform: scale(1.1);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.card-action-btn.active-fav {
  background: var(--coral);
  color: #fff;
}

/* Badge 2026 */
.badge-artwork {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 4;
}

.badge-2026 {
  background: rgba(223, 177, 91, 0.95);
  color: #08090d;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.badge-featured {
  background: rgba(21, 51, 39, 0.9);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

/* Cartel en laiton sous le tableau */
.artwork-body {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.artwork-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.artwork-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 1.2;
}


.artwork-technique {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.artwork-technique .dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.artwork-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.artwork-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-card);
}

.btn-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-inquire:hover {
  background: rgba(223, 177, 91, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-zoom-card {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-zoom-card:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(223, 177, 91, 0.1);
}

/* ==========================================================================
   11. BANDEAU D'EXPOSITION VIRTUELLE
   ========================================================================== */
.virtual-tour-banner {
  padding: 85px 1.75rem;
  background: radial-gradient(circle at center, #153327 0%, #08090d 80%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  text-align: center;
}

.tour-content {
  max-width: 820px;
  margin: 0 auto;
}

.tour-title {
  font-size: 2.8rem;
  color: var(--gold-light);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.tour-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   12. SECTION ARTISTE & ATELIER
   ========================================================================== */
.artist-section {
  padding: 110px 1.75rem;
  max-width: 1400px;
  margin: 0 auto;
}

.artist-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.artist-photo-box {
  position: relative;
}

.artist-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(135deg, rgba(223, 177, 91, 0.4) 0%, rgba(16, 18, 26, 0.95) 70%);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.artist-photo-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
}

.artist-signature-card {
  position: absolute;
  bottom: -22px;
  left: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow-md);
}

.signature-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}

.signature-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.artist-bio-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.artist-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.3rem;
}

.highlight-box h4 {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   13. SECTION ATELIER DE CONLIE (Sarthe)
   ========================================================================== */
.atelier-section {
  padding: 100px 1.75rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.atelier-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.atelier-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

.atelier-details {
  list-style: none;
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.atelier-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.atelier-details i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 2px;
}

/* ==========================================================================
   14. SECTION CONTACT & ACQUISITIONS
   ========================================================================== */
.contact-section {
  padding: 110px 1.75rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1.1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   15. PIED DE PAGE D'ART PRESTIGE
   ========================================================================== */
.site-footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 1.75rem 40px;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}



/* ==========================================================================
   17. VISIONNEUSE LIGHTBOX HAUTE DÉFINITION & LOUPE
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: var(--bg-modal);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--gold);
  color: #08090d;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 9, 13, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #08090d;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-content {
  max-width: 1400px;
  width: 92%;
  height: 88vh;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
}

.lightbox-image-stage {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  cursor: crosshair;
}

.lightbox-loupe {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  display: none;
  background-repeat: no-repeat;
  z-index: 15;
}

.lightbox-details {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  max-height: 84vh;
  overflow-y: auto;
}

.lightbox-details h3 {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.lightbox-meta-badge {
  display: inline-block;
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   18. TIROIR DES COUPS DE CŒUR & DIAPORAMA
   ========================================================================== */
.favorites-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 88vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-base), visibility var(--transition-base);
  display: flex;
  flex-direction: column;
}

.favorites-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.favorites-header {
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.favorites-header h3 {
  font-size: 1.3rem;
  color: var(--gold-light);
}

.favorites-list {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.fav-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.fav-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.fav-info {
  flex-grow: 1;
}

.fav-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.fav-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fav-remove-btn {
  color: var(--coral);
  font-size: 1.1rem;
  padding: 0.4rem;
}

.favorites-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Diaporama */
.tour-modal {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1400;
  display: none;
  flex-direction: column;
}

.tour-modal.active {
  display: flex;
}

.tour-top-bar {
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.tour-stage {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tour-slide-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  transition: opacity 0.8s ease;
}

.tour-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.tour-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  transition: width 0.1s linear;
}

.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.6rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-fast);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   19. RESPONSIVE DESIGN (AUCUN RETOUR DE MENU SUR 2 LIGNES)
   ========================================================================== */
/* ==========================================================================
   19. RESPONSIVE DESIGN DE PRÉCISION (100% CENTRÉ & SANS DÉCALAGE SUR MOBILE)
   ========================================================================== */

/* Écrans Tablettes & Petits Ordinateurs (<= 1140px) */
@media (max-width: 1140px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 1rem;
    right: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1.8rem 1.5rem;
    gap: 1.1rem;
    display: none;
    z-index: 1001;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* Écrans Intermédiaires & Tablettes (<= 1024px) */
@media (max-width: 1024px) {
  .portal-stage {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  .portal-satellite {
    display: none;
  }
  .portal-arch-card {
    width: 100%;
    max-width: min(380px, 90vw);
    height: auto;
    min-height: 420px;
    max-height: 520px;
  }
  .artist-layout,
  .atelier-container,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .universe-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .lightbox-content {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
  }
}

/* Tablettes portrait & Grands Mobiles (<= 768px) */
@media (max-width: 768px) {
  /* Dans le dock du header, masquer le bouton Acquérir textuel pour éviter de pousser la largeur */
  .nav-actions .btn-gold {
    display: none;
  }

  .gallery-toolbar {
    padding: 1.2rem 1.2rem;
    gap: 1.2rem;
  }

  .gallery-search-box {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .gallery-sort-select {
    width: 100%;
  }

  .artworks-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .hero-portal-title {
    font-size: 2.6rem;
  }

  .hero-portal-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .section-head {
    padding: 0 1rem;
  }
}

/* Mobiles Standards & Compacts (<= 640px) */
@media (max-width: 640px) {
  .site-header {
    top: 8px;
    padding: 0 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-container {
    padding: 0.35rem 0.65rem 0.35rem 0.85rem;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-link {
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1.02rem;
    letter-spacing: 0.02em;
  }

  .brand-title {
    display: none;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  /* Sur mobile, masquer le thème du header (accessible dans le menu) pour un dock aéré et parfaitement centré */
  .nav-actions #theme-toggle {
    display: none;
  }

  .btn-icon, .audio-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .hero-portal-section {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .hero-portal-title {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .hero-portal-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .portal-arch-card {
    width: 100%;
    max-width: min(320px, calc(100vw - 2rem));
    height: auto;
    min-height: 360px;
    max-height: 440px;
    padding: 10px;
  }

  .portal-plaque {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 0.85rem 1rem;
  }

  .portal-plaque-title {
    font-size: 1.1rem;
  }

  .portal-plaque-meta {
    font-size: 0.72rem;
  }

  .gallery-section,
  .universe-section,
  .artist-section,
  .atelier-section,
  .contact-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .gallery-container,
  .universe-container,
  .artist-container,
  .atelier-container,
  .contact-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .artist-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .atelier-info-card {
    padding: 1.8rem 1.4rem;
  }

  .contact-form-box,
  .contact-info-card {
    padding: 1.8rem 1.4rem;
  }

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

  .site-footer {
    padding: 50px 1rem 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Carte d'œuvre sur mobile : image bien proportionnée */
  .artwork-img-wrapper {
    height: 260px;
  }

  .artwork-body {
    padding: 1.2rem;
  }

  .artwork-title {
    font-size: 1.2rem;
  }
}

/* Petits Mobiles (<= 380px) */
@media (max-width: 380px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .btn-icon, .audio-btn {
    width: 32px;
    height: 32px;
  }

  .hero-portal-title {
    font-size: 1.9rem;
  }

  .filter-btn {
    font-size: 0.76rem;
    padding: 0.35rem 0.65rem;
  }
}

/* ==========================================================================
   RIDEAU D'ENTRÉE VERNISSAGE & DÉBLOCAGE SONORE AUTOMATIQUE
   ========================================================================== */
.entrance-curtain {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(22, 25, 36, 0.98) 0%, rgba(8, 9, 13, 0.99) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.entrance-curtain.dissolve {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  visibility: hidden;
}

.entrance-card {
  position: relative;
  max-width: 520px;
  width: 100%;
  text-align: center;
  background: rgba(18, 20, 29, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(223, 177, 91, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: entrance-card-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes entrance-card-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.entrance-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(223, 177, 91, 0.22) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.entrance-symbol {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px var(--gold-glow);
  animation: pulse-gold 2.5s infinite ease-in-out;
}

.entrance-subheading {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.entrance-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.entrance-category {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.entrance-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 420px;
}

.entrance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #e5c378 0%, #c49942 50%, #9e7526 100%);
  color: #12100e;
  border: none;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(223, 177, 91, 0.4), 0 0 20px rgba(223, 177, 91, 0.3);
  transition: all var(--transition-fast);
  margin-bottom: 1.25rem;
}

.entrance-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 40px rgba(223, 177, 91, 0.55), 0 0 30px rgba(223, 177, 91, 0.4);
}

.entrance-btn:active {
  transform: translateY(1px) scale(0.99);
}

.entrance-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

