/* ==========================================================================
   VINCENT DAVID — PHOTOGRAPHE PORTRAITISTE EN NORMANDIE
   Direction Artistique inspirée par JAS Studio (Minimalisme Éditorial & Galerie)
   ========================================================================== */

/* Polices locales auto-hébergées (WOFF2 — zéro transfert d'IP vers CDN tiers) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Typographie */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Thème Par Défaut : "Albâtre Minéral / Craie Brut"
     (Galerie contemporaine lumineuse & encre carbone franche) */
  --bg: #F3F2EE;
  --bg-elevated: #FAF9F6;
  --bg-glass: rgba(243, 242, 238, 0.84);
  --text: #111110;
  --text-secondary: rgba(17, 17, 16, 0.72);
  --text-muted: rgba(17, 17, 16, 0.46);
  --line: rgba(17, 17, 16, 0.13);
  --line-strong: rgba(17, 17, 16, 0.30);
  --accent: #685B4C;

  /* Cadres Passe-Partout Architecturaux (Ligne tendue & Blanc Galerie Pur) */
  --frame-bg: #FFFFFF;
  --frame-border: rgba(17, 17, 16, 0.08);
  --frame-inner-ring: rgba(17, 17, 16, 0.05);
  --frame-shadow:
    0 24px 60px -16px rgba(17, 17, 16, 0.12),
    0 6px 18px -6px rgba(17, 17, 16, 0.06);
  --frame-radius-outer: clamp(6px, 0.8vw, 10px);
  --frame-padding: clamp(6px, 0.75vw, 10px);
  --frame-radius-inner: calc(var(--frame-radius-outer) - 2px);

  /* Courbes d'animation (JAS Studio & Apple Fluid Interfaces — symétriques Aller / Retour §7) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-press: 100ms cubic-bezier(0.2, 0, 0, 1);
  --theme-transition: 0.95s cubic-bezier(0.22, 1, 0.36, 1);

  /* Matériaux translucides & reflets spéculaires (§12 Materials & Depth) */
  --glass-specular: rgba(255, 255, 255, 0.65);

  /* Espacements fluides */
  --container-pad: clamp(1.25rem, 4vw, 4rem);
  --header-height: 4.5rem;
}

/* Thème I : "Albâtre Minéral" (Livre Premier — Page de garde "Nuances d'une présence") */
body.book-one-mode {
  --bg: #F3F2EE;
  --bg-elevated: #FAF9F6;
  --bg-glass: rgba(243, 242, 238, 0.84);
  --glass-specular: rgba(255, 255, 255, 0.65);
  --line: rgba(17, 17, 16, 0.13);
  --line-strong: rgba(17, 17, 16, 0.30);
  --frame-bg: #FFFFFF;
  --frame-border: rgba(17, 17, 16, 0.08);
  --frame-shadow:
    0 24px 60px -16px rgba(17, 17, 16, 0.12),
    0 6px 18px -6px rgba(17, 17, 16, 0.06);
}

/* Thèmes Chromatiques Muséaux (Style JAS Studio) — Chapitres Couleur 01, 02 & 03 */

/* Chapitre 01 — Méditation : "Vert Forêt de l'Aube" (Sauge sombre & Or du levant) */
body.chapter-01-mode {
  --bg: #1E2822;
  --bg-elevated: #26322B;
  --bg-glass: rgba(30, 40, 34, 0.84);
  --glass-specular: rgba(255, 255, 255, 0.12);
  --text: #EFECE6;
  --text-secondary: rgba(239, 236, 230, 0.78);
  --text-muted: rgba(239, 236, 230, 0.56);
  --line: rgba(239, 236, 230, 0.15);
  --line-strong: rgba(239, 236, 230, 0.34);
  --accent: #C8B48A;
  --frame-bg: #ECE7DD;
  --frame-border: rgba(239, 236, 230, 0.20);
  --frame-inner-ring: rgba(27, 26, 24, 0.08);
  --frame-shadow:
    0 32px 76px -15px rgba(8, 13, 10, 0.58),
    0 10px 26px -6px rgba(8, 13, 10, 0.38);
}

/* Chapitre 02 — Sensation : "Brun Terre d'Ombre Dorée" (Tabac chaud & Soleil couchant) */
body.chapter-02-mode {
  --bg: #2A211B;
  --bg-elevated: #342922;
  --bg-glass: rgba(42, 33, 27, 0.84);
  --glass-specular: rgba(255, 255, 255, 0.12);
  --text: #F2EDE4;
  --text-secondary: rgba(242, 237, 228, 0.78);
  --text-muted: rgba(242, 237, 228, 0.56);
  --line: rgba(242, 237, 228, 0.15);
  --line-strong: rgba(242, 237, 228, 0.34);
  --accent: #D4AE7A;
  --frame-bg: #ECE6DB;
  --frame-border: rgba(242, 237, 228, 0.20);
  --frame-inner-ring: rgba(27, 26, 24, 0.08);
  --frame-shadow:
    0 32px 76px -15px rgba(14, 10, 7, 0.60),
    0 10px 26px -6px rgba(14, 10, 7, 0.40);
}

/* Chapitre 03 — Contemplation : "Bleu Cimaise de Musée" (Bleu de Prusse & Ardoise feutrée) */
body.chapter-03-mode {
  --bg: #1D2430;
  --bg-elevated: #252E3C;
  --bg-glass: rgba(29, 36, 48, 0.84);
  --glass-specular: rgba(255, 255, 255, 0.12);
  --text: #EDEFF2;
  --text-secondary: rgba(237, 239, 242, 0.78);
  --text-muted: rgba(237, 239, 242, 0.56);
  --line: rgba(237, 239, 242, 0.15);
  --line-strong: rgba(237, 239, 242, 0.34);
  --accent: #C7B293;
  --frame-bg: #EAE6DE;
  --frame-border: rgba(237, 239, 242, 0.20);
  --frame-inner-ring: rgba(27, 26, 24, 0.08);
  --frame-shadow:
    0 32px 76px -15px rgba(7, 10, 16, 0.62),
    0 10px 26px -6px rgba(7, 10, 16, 0.42);
}

/* Thème II : "Chambre Noire" (Bascule Noir & Blanc — Chapitres 04–06)
   Option 2 : Passe-Partout blanc cassé d'art sur mur sombre (Style tirage baryté d'exposition) */
body.darkroom-mode {
  --bg: #111110;
  --bg-elevated: #1A1918;
  --bg-glass: rgba(17, 17, 16, 0.84);
  --glass-specular: rgba(255, 255, 255, 0.10);
  --text: #EDE9E2;
  --text-secondary: rgba(237, 233, 226, 0.74);
  --text-muted: rgba(237, 233, 226, 0.54);
  --line: rgba(237, 233, 226, 0.14);
  --line-strong: rgba(237, 233, 226, 0.34);
  --accent: #C7AD8B;

  /* Cadres Passe-Partout Blanc Cassé en Chambre Noire */
  --frame-bg: #EAE5DC;
  --frame-border: rgba(237, 233, 226, 0.20);
  --frame-inner-ring: rgba(27, 26, 24, 0.10);
  --frame-shadow: 
    0 32px 80px -15px rgba(0, 0, 0, 0.85),
    0 10px 28px -6px rgba(0, 0, 0, 0.55);
}

/* Signal d'accessibilité §14 : Contraste renforcé (prefers-contrast: more) */
@media (prefers-contrast: more) {
  :root,
  body.book-one-mode {
    --text-secondary: #1B1A18;
    --text-muted: rgba(27, 26, 24, 0.78);
    --line: rgba(27, 26, 24, 0.42);
    --line-strong: rgba(27, 26, 24, 0.75);
    --frame-border: rgba(27, 26, 24, 0.38);
  }
  body.chapter-01-mode,
  body.chapter-02-mode,
  body.chapter-03-mode,
  body.darkroom-mode {
    --text-secondary: #EDE9E2;
    --text-muted: rgba(237, 233, 226, 0.82);
    --line: rgba(237, 233, 226, 0.45);
    --line-strong: rgba(237, 233, 226, 0.80);
    --frame-border: rgba(237, 233, 226, 0.42);
  }
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  /* §15 Dynamic Type : 100% respecte le corps de police choisi par l'utilisateur */
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  transition:
    background-color var(--theme-transition),
    color var(--theme-transition);
}

/* Verrouillage du scroll lors de l'ouverture d'une couche modale (§12 & §16) */
body.nav-open,
body.lightbox-open,
body.sheet-open {
  overflow: hidden;
}

/* §12 Materials & Depth : "A modal task pairs the surface with a dimming scrim
   and pushes the background back/down." */
main {
  transform-origin: center 50vh;
  transition:
    transform 0.6s var(--ease-out-expo),
    filter 0.6s var(--ease-out-expo);
}

body.nav-open main,
body.lightbox-open main,
body.sheet-open main {
  transform: scale(0.986);
}

::selection {
  background: var(--text);
  color: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   CURSEUR ÉDITORIAL SUR-MESURE
   ========================================================================== */

/* Masque le curseur système (flèche, main…) uniquement quand
   le curseur sur-mesure est actif, SAUF sur les champs de saisie
   et dans tout le feuillet de formulaire (.contact-form)
   afin de préserver le pointeur texte natif (I-beam). */
html.has-custom-cursor,
html.has-custom-cursor *:not(input):not(textarea):not(select):not(.contact-form):not(.contact-form *),
html.has-custom-cursor *:not(input):not(textarea):not(select):not(.contact-form):not(.contact-form *)::before,
html.has-custom-cursor *:not(input):not(textarea):not(select):not(.contact-form):not(.contact-form *)::after {
  cursor: none !important;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor .contact-form,
html.has-custom-cursor .contact-form *:not(button):not(button *) {
  cursor: text !important;
}

html.has-custom-cursor .contact-form button,
html.has-custom-cursor .contact-form button *,
html.has-custom-cursor .contact-form button::before,
html.has-custom-cursor .contact-form button::after {
  cursor: none !important;
}

/* Invisibilise totalement le curseur sur-mesure au survol et lors de la saisie dans un champ
   ou dans tout l'espace du feuillet de contact (.contact-form), SAUF lors du survol du bouton d'envoi,
   ainsi que lorsque la loupe optique inspecte un tirage */
html.has-custom-cursor:has(input:hover) .custom-cursor,
html.has-custom-cursor:has(textarea:hover) .custom-cursor,
html.has-custom-cursor:has(select:hover) .custom-cursor,
html.has-custom-cursor:has(input:focus) .custom-cursor,
html.has-custom-cursor:has(textarea:focus) .custom-cursor,
html.has-custom-cursor:has(select:focus) .custom-cursor,
html.has-custom-cursor:has(.contact-form:hover:not(:has(button:hover))) .custom-cursor,
html.has-custom-cursor:has(.lightbox__frame.is-loupe-inspecting) .custom-cursor,
html.has-custom-cursor body.is-loupe-inspecting .custom-cursor {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text);
  border: 1.5px solid transparent;
  pointer-events: none;
  z-index: 1200;
  transform: translate3d(-50%, -50%, 0);
  transition:
    width 0.35s var(--ease-out-expo),
    height 0.35s var(--ease-out-expo),
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-cursor__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease-out-expo);
  white-space: nowrap;
}

.custom-cursor.is-hidden {
  opacity: 0;
}

.custom-cursor.is-active {
  width: 82px;
  height: 82px;
  background-color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.custom-cursor.is-active.is-empty {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.custom-cursor.is-active .custom-cursor__label {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   CURSEUR EN MODE SOMBRE (Visionneuse, Pied de Site & Expo Noir & Blanc)
   ========================================================================== */

body.lightbox-open .custom-cursor,
body:has(#lightbox.is-open) .custom-cursor,
body:has(.site-footer:hover) .custom-cursor,
body.hero-cinema-active .custom-cursor,
.custom-cursor.is-light {
  background-color: #F3F2EE;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

body.lightbox-open .custom-cursor .custom-cursor__label,
body:has(#lightbox.is-open) .custom-cursor .custom-cursor__label,
body:has(.site-footer:hover) .custom-cursor .custom-cursor__label,
body.hero-cinema-active .custom-cursor .custom-cursor__label,
.custom-cursor.is-light .custom-cursor__label {
  color: #111110;
}

body.lightbox-open .custom-cursor.is-active,
body:has(#lightbox.is-open) .custom-cursor.is-active,
body:has(.site-footer:hover) .custom-cursor.is-active,
body.hero-cinema-active .custom-cursor.is-active,
.custom-cursor.is-light.is-active {
  background-color: #F3F2EE;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

body.lightbox-open .custom-cursor.is-active.is-empty,
body:has(#lightbox.is-open) .custom-cursor.is-active.is-empty,
body:has(.site-footer:hover) .custom-cursor.is-active.is-empty,
body.hero-cinema-active .custom-cursor.is-active.is-empty,
.custom-cursor.is-light.is-active.is-empty {
  background-color: rgba(243, 242, 238, 0.14);
  border-color: #F3F2EE;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   TYPOGRAPHIE & EFFETS DE LETTRES (JAS STUDIO STYLE)
   ========================================================================== */

.editorial-title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.editorial-title em,
.editorial-italic {
  font-style: italic;
  font-weight: 400;
  padding-right: 0.03em;
}

/* Animation lettre par lettre */
.char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-top: 0.08em;
  margin-top: -0.08em;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.char {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
  filter: blur(4px);
  transition:
    transform 0.95s var(--ease-out-expo),
    opacity 0.7s ease,
    filter 0.75s var(--ease-out);
  transition-delay: calc(var(--char-index, 0) * 24ms);
}

.is-inview .char {
  transform: translateY(0%);
  opacity: 1;
  filter: blur(0px);
}

/* Révélation optique "Focus Pull" façon objectif photo & Apple (§12 Materialize, don't just fade) */
.reveal-up {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.95s var(--ease-out-expo),
    filter 0.85s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal-up.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Lignes architecturales 1px (Hairline Dividers) */
.hairline-h {
  width: 100%;
  height: 1px;
  background-color: var(--line);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 1.35s var(--ease-out-expo),
    background-color var(--theme-transition);
}

.hairline-h.is-inview {
  transform: scaleX(1);
}

/* Labels d'index façon galerie : (01 — 06) */
.meta-index {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--theme-transition);
}

/* ==========================================================================
   CADRE PASSE-PARTOUT ARRONDI HAUTE COUTURE (.art-frame)
   ========================================================================== */

.art-frame {
  position: relative;
  background-color: var(--frame-bg);
  padding: var(--frame-padding);
  border-radius: var(--frame-radius-outer);
  border: 1px solid var(--frame-border);
  box-shadow: var(--frame-shadow);
  transition:
    background-color var(--theme-transition),
    border-color var(--theme-transition),
    box-shadow 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
  cursor: pointer;
  overflow: hidden;
}

/* Double filet intérieur subtil façon passe-partout biseauté */
.art-frame__viewport {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--frame-radius-inner);
  overflow: hidden;
  background-color: #161615;
  box-shadow: inset 0 0 0 1px var(--frame-inner-ring);
  transform: translateZ(0);
}

.art-frame__viewport picture {
  display: block;
  width: 100%;
  height: auto;
}

.art-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
  transition:
    transform 1.15s var(--ease-out-expo),
    filter 0.8s ease;
  will-change: transform;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Parallaxe interne "Fenêtre Passe-Partout" pilotée nativement par le scroll (Progressive Enhancement) */
@supports ((animation-timeline: view()) and (animation-range: 0% 100%)) {
  @media (prefers-reduced-motion: no-preference) {
    .art-frame__img {
      animation: frame-window-parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes frame-window-parallax {
  from {
    object-position: 50% 41%;
  }
  to {
    object-position: 50% 59%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .art-frame:hover {
    transform: translateY(-5px);
    box-shadow:
      0 34px 76px -14px rgba(24, 22, 18, 0.2),
      0 12px 28px -6px rgba(24, 22, 18, 0.1);
  }

  .art-frame:hover .art-frame__img {
    transform: scale(1.065);
  }
}

/* §1 Response : retour physique immédiat au pointer-down (100ms) */
.art-frame:active {
  transform: translateY(-1px) scale(0.985);
  transition: transform var(--ease-press), box-shadow var(--ease-press);
}

/* Variante plus fine pour la mosaïque d'introduction (12 portraits carrés) */
.art-frame--compact {
  --frame-radius-outer: clamp(5px, 0.6vw, 8px);
  --frame-padding: clamp(4px, 0.5vw, 7px);
  --frame-radius-inner: calc(var(--frame-radius-outer) - 2px);
}

/* Variante Plein-Bord Éditorial (Brise le cadre : zéro passe-partout, bord architectural franc) */
.art-frame--bleed {
  padding: 0;
  background-color: transparent;
  border-color: transparent;
  border-radius: clamp(3px, 0.4vw, 6px);
  box-shadow: 0 28px 68px -18px rgba(10, 10, 9, 0.24);
}

.art-frame--bleed .art-frame__viewport {
  border-radius: clamp(3px, 0.4vw, 6px);
  box-shadow: none;
}

.art-frame--bleed .art-frame__badge {
  bottom: 0.9rem;
  right: 0.9rem;
}

body.chapter-01-mode .art-frame--bleed,
body.chapter-02-mode .art-frame--bleed,
body.chapter-03-mode .art-frame--bleed,
body.darkroom-mode .art-frame--bleed {
  box-shadow:
    0 34px 80px -16px rgba(0, 0, 0, 0.65),
    0 10px 26px -8px rgba(0, 0, 0, 0.45);
}

/* Badge discret au survol d'un cadre */
.art-frame__badge {
  position: absolute;
  bottom: calc(var(--frame-padding) + 0.85rem);
  right: calc(var(--frame-padding) + 0.85rem);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease-out-expo);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .art-frame:hover .art-frame__badge {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HEADER FIXE ÉDITORIAL & NAVIGATION DRAWER (§12 Materials & Depth)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 800;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  /* §12 Scroll edge effect : filet invisible à scrollY=0, révélé uniquement au défilement */
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 1px 0 var(--glass-specular);
  transition:
    background-color var(--theme-transition),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.site-header.is-scrolled,
body.nav-open .site-header {
  border-bottom-color: var(--line);
}

/* Mode Ouverture Cinéma (Desktop > 980px au sommet du Hero plein-bord) */
body.hero-cinema-active .site-header {
  background: linear-gradient(to bottom, rgba(14, 14, 13, 0.42), rgba(14, 14, 13, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  color: #F3F2EE;
}

body.hero-cinema-active:not(.nav-open) .menu-toggle {
  background: rgba(243, 242, 238, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(243, 242, 238, 0.28);
}

body.hero-cinema-active:not(.nav-open) .menu-toggle__line {
  background-color: #F3F2EE;
}

.site-header__inner {
  max-width: 1680px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.65rem;
  justify-self: start;
  transition: transform var(--ease-press), opacity var(--ease-press);
}

.brand:active {
  transform: scale(0.97);
  opacity: 0.8;
}

.brand__seal {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #262928;
  box-shadow:
    inset 0 0 0 1px rgba(17, 17, 16, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.45s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
}

body.hero-cinema-active .brand__seal,
[data-theme="dark"] .brand__seal {
  box-shadow:
    inset 0 0 0 1px rgba(243, 242, 238, 0.32),
    0 2px 10px rgba(0, 0, 0, 0.32);
}

.brand__seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition:
    transform 0.6s var(--ease-out-expo),
    filter 0.6s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand__seal {
    transform: scale(1.04);
    box-shadow:
      inset 0 0 0 1px var(--accent),
      0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .brand:hover .brand__seal-img {
    transform: scale(1.08);
    filter: contrast(1.18) brightness(1.04);
  }
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.brand__name em {
  font-style: italic;
}

.brand__region {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .brand__region {
    display: none;
  }
}

/* Repère Typographique Éditorial (Option 1 — Minimalisme Aérien Sans Pilule) */
.header-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  /* Invisible tout en haut de la page pour ne pas doublonner avec le titre d'intro */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo);
}

/* Révélation aérienne en fondu fluide dès qu'on commence à explorer l'exposition */
.site-header.is-scrolled .header-status {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-status:active {
  transform: scale(0.98);
}

.header-status__dot {
  display: none;
}

.header-status__track {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  transition:
    opacity 180ms var(--ease-out),
    transform 220ms var(--ease-out),
    filter 180ms var(--ease-out);
}

.header-status__track.is-switching {
  opacity: 0;
  transform: translateY(3px);
  filter: blur(2px);
}

.header-status__index {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.header-status__sep {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.4;
  user-select: none;
}

.header-status__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: none;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header-status:hover .header-status__index {
    color: var(--text-secondary);
  }
  .header-status:hover .header-status__title {
    color: var(--accent);
  }
}

@media (max-width: 768px) {
  .header-status {
    display: none;
  }
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease, transform var(--ease-press);
}

.header-link:active {
  transform: scale(0.97);
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .header-link:hover {
    color: var(--text);
  }

  .header-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 900px) {
  .header-link--hide-mobile {
    display: none;
  }
}

/* Bouton Index — Squircle architectural épuré (écho aux cadres passe-partout) */
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  background: var(--bg-elevated);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    inset 0 1px 0 var(--glass-specular),
    0 2px 10px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo),
    border-radius 0.45s var(--ease-out-expo),
    transform var(--ease-press);
}

@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover {
    border-radius: 16px;
    box-shadow:
      inset 0 0 0 1px var(--text),
      inset 0 1px 0 var(--glass-specular),
      0 6px 18px rgba(0, 0, 0, 0.08);
  }
}

/* §1 Response : retour instantané au pointer-down */
.menu-toggle:active {
  transform: scale(0.94);
  transition: transform var(--ease-press);
}

/* Glyphe à deux traits asymétriques */
.menu-toggle__icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  transition: transform 0.6s var(--ease-out-expo);
}

.menu-toggle__line {
  display: block;
  height: 1.25px;
  border-radius: 2px;
  background-color: var(--text);
  transition:
    transform 0.55s var(--ease-out-expo),
    width 0.55s var(--ease-out-expo),
    background-color 0.45s var(--ease-out-expo);
}

.menu-toggle__line:first-child {
  width: 18px;
}

.menu-toggle__line:last-child {
  width: 11px;
}

/* Survol : inversion subtile de l'asymétrie des traits */
@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover .menu-toggle__line:first-child {
    width: 12px;
  }

  .menu-toggle:hover .menu-toggle__line:last-child {
    width: 18px;
  }
}

/* Ouvert : la surface s'inverse et les traits se croisent au centre */
body.nav-open .menu-toggle {
  background-color: var(--text);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px var(--text),
    0 8px 22px rgba(0, 0, 0, 0.16);
}

body.nav-open .menu-toggle__icon {
  align-items: center;
  transform: rotate(90deg);
}

body.nav-open .menu-toggle__line {
  width: 15px;
  background-color: var(--bg);
}

body.nav-open .menu-toggle__line:first-child {
  transform: translateY(3.125px) rotate(45deg);
}

body.nav-open .menu-toggle__line:last-child {
  transform: translateY(-3.125px) rotate(-45deg);
}

/* Tiroir de navigation (Index des chapitres) — §7 Spatial Consistency & §2 Direct Manipulation */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 790;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.55s;
}

body.nav-open .nav-drawer {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 11, 0.52);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-in-out-quart);
}

body.nav-open .nav-drawer__backdrop {
  opacity: 1;
  transition: opacity 0.55s var(--ease-out-expo);
}

.nav-drawer__panel {
  position: absolute;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: min(540px, 100vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.14);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translate3d(102%, 0, 0);
  transform-origin: top right;
  transition:
    transform 0.5s var(--ease-in-out-quart),
    background-color var(--theme-transition);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  will-change: transform;
}

body.nav-open .nav-drawer__panel {
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.6s var(--ease-out-expo),
    background-color var(--theme-transition);
}

.nav-drawer__panel.is-dragging {
  transition: none !important;
}

.nav-drawer__volumes {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.nav-drawer__volume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.nav-drawer__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}

.nav-drawer__volume-badge {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-secondary);
}

.nav-drawer__volume-badge--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-drawer__list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.nav-drawer__item {
  border-bottom: 1px solid var(--line);
}

.nav-drawer__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.72rem 0;
  position: relative;
  transition:
    padding-left 0.35s var(--ease-out-expo),
    color 0.3s ease,
    transform var(--ease-press);
}

@media (hover: hover) and (pointer: fine) {
  .nav-drawer__link:hover {
    padding-left: 0.75rem;
  }
}

.nav-drawer__link:active {
  transform: scale(0.985);
  transition: transform var(--ease-press);
}

/* §16 Wayfinding : indique clairement le chapitre actif dans le sommaire */
.nav-drawer__link.is-current {
  padding-left: 0.95rem;
  color: var(--accent);
}

.nav-drawer__link.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.nav-drawer__link.is-current .nav-drawer__num,
.nav-drawer__link.is-current .nav-drawer__tag {
  color: var(--accent);
}

.nav-drawer__link-left {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.nav-drawer__num {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.nav-drawer__title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 400;
}

.nav-drawer__title em {
  font-style: italic;
}

.nav-drawer__tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-drawer__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.nav-drawer__ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-drawer__ig-seal {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #262928;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.nav-drawer__ig-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.5s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .nav-drawer__ig-link:hover .nav-drawer__ig-seal {
    box-shadow: inset 0 0 0 1px var(--accent);
  }

  .nav-drawer__ig-link:hover .nav-drawer__ig-seal-img {
    transform: scale(1.08);
    filter: contrast(1.18) brightness(1.04);
  }
}

.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.ig-icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  a:hover .ig-icon {
    opacity: 1;
  }
}

/* ==========================================================================
   CONTAINER & SECTIONS COMMUNES
   ========================================================================== */

.container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ==========================================================================
   ACTE I : HERO CINÉMATOGRAPHIQUE & CARTON D'EXPOSITION ÉDITORIAL
   ========================================================================== */

.hero {
  --hero-p: 1;
  position: relative;
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.75rem));
  padding-bottom: 0;
}

.hero__sticky {
  position: relative;
}

.hero__cinema-backdrop,
.hero__cinema-scrim {
  display: none;
}

/* Activation progressive sur Desktop (> 980px) quand la cinématique est active */
html.has-hero-cinema .hero {
  padding-top: 0;
  min-height: 168svh;
}

html.has-hero-cinema .hero__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(1.25rem, 2.2vw, 2.25rem));
  padding-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}

html.has-hero-cinema .hero__main {
  padding: clamp(1.75rem, 3.6vw, 3.5rem) 0;
}

html.has-hero-cinema .hero__sticky > .container {
  width: 100%;
  position: relative;
}

html.has-hero-cinema .hero__cinema-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0E0E0D;
  opacity: clamp(0, calc(1 - var(--hero-p, 1) * 1.9), 1);
  pointer-events: none;
}

html.has-hero-cinema .hero__cinema-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 18%;
  transform: scale(calc(1.03 - var(--hero-p, 0) * 0.03));
  transform-origin: 64% 28%;
  will-change: transform;
}

@media (max-width: 1280px) {
  html.has-hero-cinema .hero__cinema-photo {
    object-position: 74% 18%;
  }
}

html.has-hero-cinema .hero__cinema-scrim {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(95deg, rgba(12, 12, 11, 0.78) 0%, rgba(12, 12, 11, 0.28) 32%, transparent 56%),
    linear-gradient(to top, rgba(12, 12, 11, 0.56) 0%, transparent 45%);
  opacity: clamp(0, calc(1 - var(--hero-p, 1) * 1.75), 1);
  pointer-events: none;
}

html.has-hero-cinema .hero__top-meta,
html.has-hero-cinema .hero__sticky > .container > .hairline-h {
  position: relative;
  z-index: 4;
  opacity: clamp(0, calc((var(--hero-p, 1) - 0.5) * 2), 1);
}

html.has-hero-cinema .hero__copy {
  position: relative;
  z-index: 4;
}

html.has-hero-cinema .hero__showcase {
  position: relative;
  z-index: 1;
}

html.has-hero-cinema .hero__showcase-item--primary {
  opacity: clamp(0, calc((var(--hero-p, 1) - 0.16) * 2.4), 1);
}

html.has-hero-cinema .hero__eyebrow,
html.has-hero-cinema .hero__title {
  transform: translate3d(0, calc((1 - var(--hero-p, 1)) * 24vh), 0);
  transition: color 0.45s var(--ease-out);
}

body.hero-cinema-active .hero__eyebrow,
body.hero-cinema-active .hero__title {
  max-width: min(26vw, 330px);
}

body.hero-cinema-active .hero__eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: rgba(243, 242, 238, 0.85);
}

body.hero-cinema-active .hero__eyebrow-dot {
  background-color: #F3F2EE;
}

body.hero-cinema-active .hero__title {
  font-size: clamp(2.05rem, 3.1vw, 3.65rem);
  line-height: 1.04;
  color: #F3F2EE;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.25);
}

body.hero-cinema-active .hero__cartel {
  pointer-events: none;
}

html.has-hero-cinema .hero__cartel {
  opacity: clamp(0, calc((var(--hero-p, 1) - 0.45) / 0.45), 1);
  transform: translate3d(0, calc((1 - var(--hero-p, 1)) * 32px), 0);
}

/* Au début (p < 0.95), on coupe le lift hover sur l'image plein-écran */
body.hero-cinema-active .hero__showcase-item--primary .art-frame:hover {
  transform: none;
}

.hero__top-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.hero__meta-right {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero__seal {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-specular);
  color: var(--accent);
}

.hero__location {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__main {
  padding: clamp(2.75rem, 5.5vw, 5.25rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 4.5vw, 4.75rem);
  align-items: center;
}

.hero__copy,
.hero__showcase {
  min-width: 0;
}

@media (max-width: 980px) {
  .hero__main {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero__title {
  font-size: clamp(3.2rem, 5.8vw, 5.65rem);
  line-height: 1.02;
  letter-spacing: -0.026em; /* §15 Tightened tracking on display sizes */
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  text-wrap: balance;
}

/* Note d'intention éditoriale ouverte (sans boîte parchemin fermée) */
.hero__cartel {
  position: relative;
  padding-top: clamp(1.35rem, 2.2vw, 1.85rem);
  border-top: 1px solid var(--line);
  transition:
    border-color var(--theme-transition);
}

.hero__bio {
  font-family: var(--font-serif);
  font-size: clamp(1.26rem, 1.6vw, 1.54rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  padding-left: 1.15rem;
  border-left: 1.5px solid var(--accent);
  margin-bottom: 0;
}

.hero__cartel-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: clamp(1.25rem, 2vw, 1.65rem) 0;
}

.hero__intro {
  font-size: clamp(0.95rem, 1.04vw, 1.05rem);
  line-height: 1.76;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.hero__cartel-footer {
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero__signature {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__signature-seal {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #262928;
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 6px 18px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.55s var(--ease-out-expo),
    box-shadow 0.55s var(--ease-out-expo);
}

.hero__signature-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition:
    transform 0.65s var(--ease-out-expo),
    filter 0.65s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .hero__signature:hover .hero__signature-seal {
    transform: scale(1.04);
    box-shadow:
      inset 0 0 0 1px var(--accent),
      0 8px 22px rgba(0, 0, 0, 0.18);
  }

  .hero__signature:hover .hero__signature-seal-img {
    transform: scale(1.08);
    filter: contrast(1.18) brightness(1.04);
  }
}

.hero__signature-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__signature-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero__signature-name em {
  font-style: italic;
  color: var(--accent);
}

.hero__signature-role {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__explore-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 var(--glass-specular);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  transition:
    background-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__explore-pill:hover {
    background-color: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  .hero__explore-pill:hover .hero__explore-arrow {
    transform: translateY(2px);
  }
}

.hero__explore-pill:active {
  transform: scale(0.97);
}

.hero__explore-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

/* Diptyque d'ouverture — Superposition Éditoriale (Plein-Bord + Tirage Flottant) */
.hero__showcase {
  position: relative;
  padding-bottom: clamp(4.25rem, 7.5vw, 6rem);
  padding-left: clamp(1.75rem, 3.5vw, 3rem);
}

.hero__showcase-item {
  will-change: transform;
}

.hero__showcase-item--primary {
  width: 100%;
  position: relative;
  z-index: 1;
  transform-origin: center center;
}

.hero__showcase-item--primary .art-frame__viewport {
  height: auto;
  aspect-ratio: 3 / 2;
}

.hero__showcase-item--primary .art-frame__viewport picture,
.hero__showcase-item--primary .art-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__showcase-item--secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(175px, 36%, 225px);
  z-index: 2;
}

.hero__showcase-item--secondary .art-frame {
  box-shadow:
    0 28px 64px -12px rgba(17, 17, 16, 0.28),
    0 10px 24px -6px rgba(17, 17, 16, 0.14);
}

.hero__showcase-item--secondary .art-frame__viewport {
  height: auto;
  aspect-ratio: 1 / 1;
}

.hero__showcase-item--secondary .art-frame__viewport picture,
.hero__showcase-item--secondary .art-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aucun badge ni pastille au survol des deux clichés du carton d'expo */
.hero__showcase .art-frame__badge {
  display: none !important;
}

.hero__frame-cartel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero__showcase {
    padding-bottom: 4.25rem;
    padding-left: 1.25rem;
  }

  .hero__showcase-item--primary {
    width: 100%;
  }

  .hero__showcase-item--secondary {
    width: clamp(135px, 44%, 185px);
  }
}

/* ==========================================================================
   LES 3 PILIERS FONDATEURS (Grille Architecturale JAS Studio)
   ========================================================================== */

.pillars {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

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

.pillar-card {
  padding: clamp(1.75rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: border-color var(--theme-transition);
}

.pillar-card:first-child {
  padding-left: 0;
}

.pillar-card:last-child {
  border-right: none;
  padding-right: 0;
}

@media (max-width: 900px) {
  .pillar-card {
    padding: 1.75rem 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .pillar-card:last-child {
    border-bottom: none;
  }
}

.pillar-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pillar-card__num {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.pillar-card__keyword {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
}

.pillar-card__text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.65vw, 1.65rem);
  font-weight: 400;
  line-height: 1.38;
  color: var(--text);
}

/* ==========================================================================
   PORTFOLIO D'OUVERTURE : 12 PORTRAITS EN NOIR & BLANC (Mosaïque & Cimaise)
   ========================================================================== */

.opening-gallery {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.section-header__title {
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  letter-spacing: -0.018em; /* §15 Size-specific tracking */
}

.section-header__lede {
  margin-top: 1.1rem;
  max-width: 38rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.section-header__subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Grille éditoriale 12 portraits — Asymétrie Magazine Contemporain */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.6rem);
  align-items: start;
}

.mosaic-item {
  grid-column: span 4;
  position: relative;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.5s var(--ease-out),
    filter 0.45s var(--ease-out);
}

/* Rythme asymétrique : alternance de formats larges (5), moyens (4) et intimes (3) */
.mosaic-grid .mosaic-item:nth-child(1),
.mosaic-grid .mosaic-item:nth-child(5),
.mosaic-grid .mosaic-item:nth-child(9),
.mosaic-grid .mosaic-item:nth-child(10) {
  grid-column: span 5;
}

.mosaic-grid .mosaic-item:nth-child(2),
.mosaic-grid .mosaic-item:nth-child(6),
.mosaic-grid .mosaic-item:nth-child(7),
.mosaic-grid .mosaic-item:nth-child(12) {
  grid-column: span 3;
}

.mosaic-grid .mosaic-item:nth-child(3),
.mosaic-grid .mosaic-item:nth-child(4),
.mosaic-grid .mosaic-item:nth-child(8),
.mosaic-grid .mosaic-item:nth-child(11) {
  grid-column: span 4;
}

.mosaic-grid .mosaic-item:nth-child(3n + 2) {
  margin-top: clamp(2.5rem, 5vw, 5.25rem);
}

.mosaic-grid .mosaic-item:nth-child(3n + 3) {
  margin-top: clamp(1rem, 2.2vw, 2.25rem);
}

/* Effet "Stage Manager / Lumière de Galerie" au survol sur desktop (§12 Focus & Depth) */
@media (hover: hover) and (pointer: fine) {
  .mosaic-grid:has(.mosaic-item:hover) .mosaic-item:not(:hover) {
    opacity: 0.46;
    transform: scale(0.986);
  }
}

@media (max-width: 1100px) {
  .mosaic-grid .mosaic-item,
  .mosaic-grid .mosaic-item:nth-child(n) {
    grid-column: span 4;
  }
  .mosaic-grid .mosaic-item:nth-child(3n + 3) {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .mosaic-grid .mosaic-item {
    grid-column: span 6;
    margin-top: 0 !important;
  }
  .mosaic-grid .mosaic-item:nth-child(even) {
    margin-top: 1.25rem !important;
  }
}

.mosaic-item .art-frame__viewport {
  aspect-ratio: 1 / 1;
}

.mosaic-item .art-frame__viewport picture,
.mosaic-item .art-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mosaic-item:hover .mosaic-item__meta {
    color: var(--text);
  }
}

/* ==========================================================================
   INTERLUDE DE TRANSITION VERS LES CHAPITRES NARRATIFS
   ========================================================================== */

.narrative-bridge {
  padding: clamp(5rem, 10vw, 9.5rem) 0;
  text-align: center;
}

.narrative-bridge__inner {
  max-width: 960px;
  margin: 0 auto;
}

.narrative-bridge__eyebrow {
  margin-bottom: 1.75rem;
}

.narrative-bridge__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 3.1rem);
  font-weight: 300;
  line-height: 1.32;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.narrative-bridge__quote em {
  font-style: italic;
  color: var(--accent);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ==========================================================================
   ACTES II & III : LES 6 CHAPITRES NARRATIFS (Sticky Split-Screen)
   ========================================================================== */

.chapters-wrapper {
  position: relative;
}

.chapter {
  padding: clamp(4.5rem, 8.5vw, 8.5rem) 0;
  position: relative;
}

.chapter__header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.chapter__layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: start;
}

.chapters-wrapper .chapter__layout {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

/* Numéro typographique géant en filigrane éditorial */
.chapter__ghost-num {
  position: absolute;
  top: clamp(-3rem, -3.5vw, -1.25rem);
  right: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(7.5rem, 15vw, 15.5rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.065;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color var(--theme-transition);
}

.chapter--reverse .chapter__ghost-num {
  right: auto;
  left: 0;
}

/* Colonne Photo (Sticky lors du scroll du récit) */
.chapter__media-col {
  position: sticky;
  z-index: 2;
  grid-column: 1 / span 7;
  top: calc(var(--header-height) + 2.2rem);
  align-self: start;
}

/* Colonne Récit & Analyse */
.chapter__story-col {
  position: relative;
  z-index: 1;
  grid-column: 8 / span 5;
  padding-top: clamp(0.5rem, 2vw, 2rem);
}

.chapters-wrapper .chapter__story-col {
  padding-top: 0;
  align-self: center;
}

/* Alternance Gauche / Droite pour les chapitres pairs (02, 04, 06) */
.chapter--reverse .chapter__media-col {
  grid-column: 6 / span 7;
  order: 2;
}

.chapter--reverse .chapter__story-col {
  grid-column: 1 / span 5;
  order: 1;
}

/* Ajustement élégant pour les chapitres au format Portrait vertical (02 & 03) */
.chapter--portrait .chapter__media-col {
  grid-column: 1 / span 6;
}
.chapter--portrait .chapter__story-col {
  grid-column: 7 / span 6;
}
.chapter--portrait.chapter--reverse .chapter__media-col {
  grid-column: 7 / span 6;
}
.chapter--portrait.chapter--reverse .chapter__story-col {
  grid-column: 1 / span 6;
}

@media (max-width: 1024px) {
  .chapter__media-col,
  .chapter--reverse .chapter__media-col,
  .chapter--portrait .chapter__media-col,
  .chapter--portrait.chapter--reverse .chapter__media-col {
    grid-column: 1 / -1;
    position: relative;
    top: 0;
    order: 1;
  }

  .chapter__story-col,
  .chapter--reverse .chapter__story-col,
  .chapter--portrait .chapter__story-col,
  .chapter--portrait.chapter--reverse .chapter__story-col {
    grid-column: 1 / -1;
    order: 2;
    padding-top: 1.5rem;
  }
}

/* Portrait vertical : largeur maîtrisée pour ne pas dépasser la hauteur d'écran */
.chapter--portrait .art-frame {
  max-width: 580px;
  margin: 0 auto;
}

/* Aspect-ratio robuste des cadres photographiques des chapitres sur Desktop */
.chapter .art-frame__viewport {
  aspect-ratio: 16 / 10;
  height: auto;
}

.chapter--portrait .art-frame__viewport {
  aspect-ratio: 1270 / 1590;
}

.chapter .art-frame__viewport picture {
  display: block;
  width: 100%;
  height: 100%;
}

.chapter .art-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter__caption-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--theme-transition);
}

/* ==========================================================================
   LOUPE OPTIQUE & VISEUR INTERACTIF (Inspection 2.4× dans la Visionneuse)
   ========================================================================== */
.lightbox__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: clamp(12px, 1.4vw, 20px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.lightbox__frame.is-loupe-inspecting .lightbox__viewport {
  overflow: visible;
}

.lightbox__frame.is-loupe-inspecting .lightbox__img {
  filter: brightness(0.86) contrast(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox__frame.is-loupe-inspecting .lightbox__viewport {
    cursor: none;
  }
}

.loupe-brackets {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.lightbox__frame.is-loupe-inspecting .loupe-brackets {
  opacity: 1;
}

.loupe-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(243, 242, 238, 0.72);
  border-style: solid;
  border-width: 0;
  transition:
    transform 0.32s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.loupe-bracket--tl {
  top: 0;
  left: 0;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  transform: translate3d(-4px, -4px, 0);
}

.loupe-bracket--tr {
  top: 0;
  right: 0;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
  transform: translate3d(4px, -4px, 0);
}

.loupe-bracket--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
  transform: translate3d(-4px, 4px, 0);
}

.loupe-bracket--br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
  transform: translate3d(4px, 4px, 0);
}

.lightbox__frame.is-loupe-inspecting .loupe-bracket {
  transform: translate3d(0, 0, 0);
}

.lightbox__frame.is-focus-locked .loupe-bracket {
  border-color: var(--accent, #c79a4b);
}

.loupe-hud {
  position: absolute;
  top: auto;
  bottom: 22px;
  left: 22px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  background: rgba(14, 14, 13, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(243, 242, 238, 0.94);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition:
    opacity 0.24s var(--ease-out),
    transform 0.24s var(--ease-out);
}

.lightbox__frame.is-loupe-inspecting .loupe-hud {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.loupe-hud__exif {
  white-space: nowrap;
}

.loupe-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 204px;
  height: 204px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: #0d0d0c;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.52),
    0 0 0 1.5px rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(0, 0, 0, 0.55);
  transition:
    opacity 0.2s var(--ease-out),
    box-shadow 0.22s var(--ease-out);
  will-change: transform, opacity;
}

.lightbox__frame.is-loupe-inspecting .loupe-lens {
  opacity: 1;
}

.lightbox__frame.is-focus-locked .loupe-lens {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.52),
    0 0 0 1.75px var(--accent, #c79a4b),
    inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.loupe-lens__img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none !important;
  max-height: none !important;
  transform-origin: 0 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.loupe-lens__glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.03) 34%,
      transparent 60%,
      rgba(0, 0, 0, 0.28) 100%
    );
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.loupe-lens__reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loupe-lens__reticle::before,
.loupe-lens__reticle::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.36);
}

.loupe-lens__reticle::before {
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  transform: translate3d(-50%, -50%, 0);
}

.loupe-lens__reticle::after {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 24px;
  transform: translate3d(-50%, -50%, 0);
}

.loupe-lens__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate3d(-50%, -50%, 0);
  transition: background-color 0.2s var(--ease-out);
}

.lightbox__frame.is-focus-locked .loupe-lens__dot {
  background: var(--accent, #c79a4b);
}

.loupe-lens__badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(14, 14, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.chapter__index-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition:
    color var(--theme-transition),
    border-color var(--theme-transition);
}

.chapter__title {
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  letter-spacing: -0.022em; /* §15 Size-specific tracking */
  margin-bottom: clamp(1.1rem, 2vw, 1.85rem);
  color: var(--text);
  transition: color var(--theme-transition);
}

.chapter__prose {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.chapter__prose p {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.24vw, 1.26rem);
  line-height: 1.52;
  color: var(--text);
  font-weight: 400;
  transition:
    color var(--theme-transition),
    border-color var(--theme-transition);
}

/* Dernier paragraphe souligné par un filet gauche d'auteur lorsqu'il y a plusieurs paragraphes */
.chapter__prose p:last-child:not(:first-child) {
  margin-top: 0.35rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--accent);
  font-style: italic;
}

/* Épilogue de clôture du Livre Premier */
.book-colophon__epilogue {
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 1.8vw, 1.72rem);
  font-weight: 300;
  line-height: 1.52;
  color: var(--text);
  max-width: 58ch;
  margin: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  padding-left: clamp(1.1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--accent);
}

/* Bannière d'annonce de la bascule en Chambre Noire (Chapitre 04) */
.darkroom-threshold {
  padding: clamp(3rem, 6vw, 5rem) 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.darkroom-threshold__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.darkroom-threshold__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Colophon de clôture du Livre Premier (à la fin du Chapitre 06) */
.book-colophon {
  margin-top: clamp(4rem, 7vw, 6.5rem);
}

.book-colophon__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
}

.book-colophon__mark {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.book-colophon__mark em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text);
}

.book-colophon__next {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px; /* §10 Hit target >= 44px */
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 173, 139, 0.35);
  transition:
    background-color 0.35s var(--ease-out-expo),
    color 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .book-colophon__next:hover {
    background-color: var(--accent);
    color: #111110;
    transform: translateY(2px);
  }
}

/* §1 Response : instant pointer-down feedback */
.book-colophon__next:active {
  transform: translateY(1px) scale(0.97);
  transition: transform var(--ease-press);
}

/* ==========================================================================
   SEUIL ÉDITORIAL : PAGE DE GARDE DU LIVRE SECOND ("Une Seule Image")
   ========================================================================== */

.book-cover {
  padding: clamp(6rem, 12vw, 11rem) 0 clamp(3rem, 6vw, 5.5rem);
  position: relative;
}

.book-cover__top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
}

.book-cover__stage {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-cover__emblem {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.42rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.book-cover__emblem::before,
.book-cover__emblem::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.book-cover__roman {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.book-cover__title {
  font-size: clamp(3.2rem, 6.8vw, 7.2rem);
  line-height: 1.04;
  letter-spacing: -0.024em; /* §15 Tightened display tracking */
  color: var(--text);
  margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem);
  text-wrap: balance;
}

.book-cover__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
  font-weight: 400;
  line-height: 1.32;
  color: var(--accent);
  max-width: 44ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.book-cover__quote {
  max-width: 42ch;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.book-cover__prologue {
  font-size: clamp(1.02rem, 1.18vw, 1.18rem);
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.book-cover__prologue em {
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  color: inherit;
}

/* ==========================================================================
   LIVRE SECOND — PLANCHE I : LE CADRE PASSE-PARTOUT VIERGE (.art-frame--unwritten)
   ========================================================================== */

.chapter--book-two {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.chapter__index-pill--accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cadre Passe-Partout Vierge Monumental */
.art-frame--unwritten {
  display: block;
  text-decoration: none;
  color: inherit;
}

.art-frame__viewport--canvas {
  aspect-ratio: 16 / 10.5;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98) 0%, rgba(246, 245, 241, 0.96) 62%, rgba(235, 233, 227, 1) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(17, 17, 16, 0.08),
    inset 0 18px 48px rgba(17, 17, 16, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4.5vw, 4rem);
  position: relative;
  transition: background 0.65s var(--ease-out-expo);
}

@media (max-width: 640px) {
  .art-frame__viewport--canvas {
    aspect-ratio: 4 / 4.3;
    padding: 1.75rem 1.25rem;
  }
}

/* Repères d'encadrement muséaux aux 4 angles de la toile vierge */
.canvas-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(126, 101, 75, 0.42);
  border-style: solid;
  pointer-events: none;
  transition:
    width 0.55s var(--ease-out-expo),
    height 0.55s var(--ease-out-expo),
    border-color 0.55s ease;
}

.canvas-corner--tl {
  top: clamp(1.1rem, 2.2vw, 2rem);
  left: clamp(1.1rem, 2.2vw, 2rem);
  border-width: 1px 0 0 1px;
}

.canvas-corner--tr {
  top: clamp(1.1rem, 2.2vw, 2rem);
  right: clamp(1.1rem, 2.2vw, 2rem);
  border-width: 1px 1px 0 0;
}

.canvas-corner--bl {
  bottom: clamp(1.1rem, 2.2vw, 2rem);
  left: clamp(1.1rem, 2.2vw, 2rem);
  border-width: 0 0 1px 1px;
}

.canvas-corner--br {
  bottom: clamp(1.1rem, 2.2vw, 2rem);
  right: clamp(1.1rem, 2.2vw, 2rem);
  border-width: 0 1px 1px 0;
}

@media (hover: hover) and (pointer: fine) {
  .art-frame--unwritten:hover .canvas-corner {
    width: 30px;
    height: 30px;
    border-color: var(--accent);
  }
}

/* Composition centrale de la cimaise vierge */
.unwritten-canvas {
  max-width: 440px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  z-index: 1;
}

.unwritten-canvas__index {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 26, 24, 0.48);
}

/* Mire optique minimaliste au centre du cadre vierge */
.unwritten-canvas__aperture {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px dashed rgba(126, 101, 75, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0;
  transition:
    transform 0.85s var(--ease-out-expo),
    border-color 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .art-frame--unwritten:hover .unwritten-canvas__aperture {
    transform: rotate(45deg) scale(1.08);
    border-color: var(--accent);
  }
}

.unwritten-canvas__crosshair {
  position: relative;
  width: 14px;
  height: 14px;
}

.unwritten-canvas__crosshair::before,
.unwritten-canvas__crosshair::after {
  content: "";
  position: absolute;
  background-color: var(--accent);
}

.unwritten-canvas__crosshair::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.unwritten-canvas__crosshair::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.unwritten-canvas__title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: #111110;
}

.unwritten-canvas__title em {
  font-style: italic;
  color: var(--accent);
}

.unwritten-canvas__note {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.65;
  color: rgba(17, 17, 16, 0.68);
  max-width: 36ch;
}

.unwritten-canvas__note em {
  font-style: italic;
  color: #111110;
}

.unwritten-canvas__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(104, 91, 76, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .art-frame--unwritten:hover .unwritten-canvas__cta {
    gap: 0.85rem;
    border-color: #111110;
    color: #111110;
  }
}

/* Exergue éditorial au cœur du récit du Livre Second */
.book-two-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 400;
  line-height: 1.24;
  color: var(--text);
  padding: clamp(1.35rem, 2.2vw, 1.85rem) 0;
  margin: 0.35rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.book-two-statement em {
  font-style: italic;
  color: var(--accent);
}

.chapter__cta-wrap {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 1rem 2rem;
  border-radius: 999px;
  background-color: var(--text);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    background-color var(--theme-transition),
    color var(--theme-transition);
}

@media (hover: hover) and (pointer: fine) {
  .btn-editorial:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  }
}

/* §1 Response : retour immédiat en moins de 100ms au pointer-down */
.btn-editorial:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  transition:
    transform var(--ease-press),
    box-shadow var(--ease-press);
}

.btn-editorial__arrow {
  transition: transform 0.35s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .btn-editorial:hover .btn-editorial__arrow {
    transform: translate(3px, 3px);
  }
}

.contact-detail-item__value {
  min-height: 44px;
  transition:
    color 0.25s ease,
    transform var(--ease-press);
}

.contact-detail-item__value:active {
  transform: scale(0.98);
}

/* ==========================================================================
   LIVRE SECOND — ACTE II : MANUSCRIT DE RENCONTRE & FOOTER MONUMENTAL
   ========================================================================== */

.contact-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(2rem, 4vw, 3.25rem);
}

.contact-section__header-bar {
  padding-top: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

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

.contact-info__title {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  margin-bottom: 1.5rem;
}

.contact-info__subtitle {
  font-size: clamp(1.02rem, 1.15vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-detail-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-detail-item__value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-detail-item__seal {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #262928;
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo);
}

.contact-detail-item__seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition:
    transform 0.5s var(--ease-out-expo),
    filter 0.5s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .contact-detail-item__value:hover {
    color: var(--accent);
  }

  .contact-detail-item__value:hover .contact-detail-item__seal {
    transform: scale(1.06);
    box-shadow:
      inset 0 0 0 1px var(--accent),
      0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .contact-detail-item__value:hover .contact-detail-item__seal-img {
    transform: scale(1.08);
    filter: contrast(1.18) brightness(1.04);
  }
}

.contact-detail-item__meta {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Formulaire minimaliste façon feuillet d'invitation haute couture */
.contact-form {
  background: var(--bg-elevated);
  padding: clamp(2rem, 4vw, 3.75rem);
  border-radius: var(--frame-radius-outer);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 var(--glass-specular),
    0 24px 60px -18px rgba(24, 22, 18, 0.10);
  transition:
    background-color var(--theme-transition),
    border-color var(--theme-transition),
    box-shadow 0.5s var(--ease-out-expo);
}

.contact-form__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.35rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact-form__stamp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--accent);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

/* Filet lumineux doré/bronze qui se déploie de gauche à droite au focus */
.form-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out-expo);
  pointer-events: none;
}

.form-group:focus-within::after {
  transform: scaleX(1);
}

/* Pot de miel anti-robots : retiré du flux visuel sans display:none (que certains bots détectent) */
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  transition: color 0.3s ease;
}

.form-group:focus-within .form-label {
  color: var(--accent);
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.85rem 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.35s ease;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

/* §16 Feedback inline discret sur les champs déjà visités (:user-valid / :user-invalid) */
.form-input:user-valid,
.form-textarea:user-valid {
  border-bottom-color: var(--accent);
}

.form-input:user-invalid,
.form-textarea:user-invalid {
  border-bottom-color: #B44C3E;
}

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

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.form-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  min-height: 1.5em;
}

.form-privacy {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.form-privacy__link {
  display: inline;
  padding: 0;
  margin-left: 0.2rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.form-privacy__link:hover,
.form-privacy__link:focus-visible {
  color: var(--text);
  text-decoration-color: var(--text);
}

/* ==========================================================================
   PIED DE SITE — ÉCRIN CHAMBRE NOIRE & COLOPHON MUSÉAL (Style Apple Pro)
   ========================================================================== */

.site-footer {
  position: relative;
  margin-top: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4.5vw, 3.75rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(199, 173, 139, 0.08) 0%, rgba(14, 14, 13, 0) 60%),
    #0E0E0D;
  color: #EDE9E2;
  border-radius: clamp(28px, 3.5vw, 48px) clamp(28px, 3.5vw, 48px) 0 0;
  border-top: 1px solid rgba(237, 233, 226, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 -24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Grille Colophon 3 Colonnes */
.site-footer__colophon {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0 0 clamp(2.5rem, 4.5vw, 3.75rem);
  border-bottom: 1px solid rgba(237, 233, 226, 0.12);
}

@media (max-width: 980px) {
  .site-footer__colophon {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.site-footer__col-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C7AD8B;
  margin-bottom: 1.25rem;
}

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

.site-footer__link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(237, 233, 226, 0.76);
  transition:
    color 0.25s ease,
    transform 0.25s var(--ease-out);
}

.site-footer__link em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: #EDE9E2;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__link:hover {
    color: #EDE9E2;
    transform: translateX(4px);
  }
  .site-footer__link:hover em {
    color: #C7AD8B;
  }
}

.site-footer__col-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(237, 233, 226, 0.72);
  max-width: 38ch;
  margin-bottom: 1.15rem;
}

.site-footer__col-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 233, 226, 0.46);
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 233, 226, 0.22);
  background: rgba(237, 233, 226, 0.04);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #EDE9E2;
  transition:
    background-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 140ms var(--ease-out);
}

.site-footer__pill-seal {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(237, 233, 226, 0.35);
  transition: transform 0.4s var(--ease-out-expo);
}

.site-footer__pill-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__pill:hover .site-footer__pill-seal {
    transform: scale(1.08);
  }
}

.site-footer__pill--primary {
  background: #EDE9E2;
  color: #0E0E0D;
  border-color: #EDE9E2;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__pill:hover {
    background: #C7AD8B;
    border-color: #C7AD8B;
    color: #0E0E0D;
  }
}

.site-footer__pill:active {
  transform: scale(0.96);
}

/* Strate III : Signature Monumentale Sculptée par la Lumière */
.site-footer__monument-wrap {
  --monument-light-x: 50%;
  padding: clamp(2.25rem, 5vw, 4.5rem) 0;
  text-align: center;
}

.site-footer__monument {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(3.4rem, 11.5vw, 11.8rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em; /* §15 Tightened tracking on monument display */
  text-align: center;
  color: #EDE9E2;
}

.site-footer__monument .char {
  background: radial-gradient(
    circle at var(--monument-light-x, 50%) 35%,
    #FFFFFF 0%,
    #EDE9E2 42%,
    #A99B88 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer__monument em {
  font-style: italic;
}

/* Strate IV : Ligne de Sceau & Retour au Sommet Magnétique */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(237, 233, 226, 0.12);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(237, 233, 226, 0.52);
}

.site-footer__edition {
  color: rgba(237, 233, 226, 0.38);
}

.site-footer__legal-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.1rem;
  color: rgba(237, 233, 226, 0.56);
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(237, 233, 226, 0.22);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.site-footer__legal-btn:hover,
.site-footer__legal-btn:focus-visible {
  color: #EDE9E2;
  text-decoration-color: rgba(237, 233, 226, 0.65);
}

@media (max-width: 768px) {
  .site-footer__edition {
    display: none;
  }
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px; /* §10 Hit target >= 44px */
  padding: 0.35rem 0.45rem 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 233, 226, 0.18);
  background: rgba(237, 233, 226, 0.04);
  color: #EDE9E2;
  will-change: transform;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 160ms var(--ease-out);
}

.back-to-top__orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(237, 233, 226, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    background-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    border-color: #C7AD8B;
    background: rgba(199, 173, 139, 0.12);
  }
  .back-to-top:hover .back-to-top__orb {
    background: #C7AD8B;
    color: #0E0E0D;
    transform: translateY(-2px);
  }
}

.back-to-top:active {
  transform: scale(0.96) !important;
}

/* ==========================================================================
   LIGHTBOX HAUTE RÉSOLUTION (Visionneuse Plein Écran avec Cadre Arrondi)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(12, 12, 11, 0.92);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.42s var(--ease-out-expo),
    visibility 0s linear 0.42s;
  color: #EDE9E2;
  touch-action: none;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.45s var(--ease-out-expo),
    visibility 0s linear 0s;
}

.lightbox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* §10 Hit target >= 44px */
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(237, 233, 226, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EDE9E2;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform var(--ease-press);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox__close:hover {
    background-color: #EDE9E2;
    color: #111110;
  }
}

.lightbox__close:active {
  transform: scale(0.95);
}

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 1.5rem 0;
}

/* §7 Spatial consistency : ancrage d'origine (--origin-x, --origin-y) + manipulation 1:1 */
.lightbox__frame {
  --origin-x: 0px;
  --origin-y: 18px;
  background: var(--frame-bg, #F8F5EE);
  padding: clamp(8px, 1.1vw, 14px);
  border-radius: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
  border: 1px solid var(--frame-border);
  max-height: 76vh;
  max-width: 88vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(var(--origin-x), var(--origin-y), 0) scale(0.92);
  transition:
    transform 0.55s var(--ease-out-expo),
    opacity 0.35s var(--ease-out-expo);
  user-select: none;
  touch-action: none;
}

.lightbox.is-open .lightbox__frame {
  transform: translate3d(0, 0, 0) scale(1);
}

.lightbox__frame.is-dragging {
  transition: none !important;
}

/* État de chargement discret et retour gracieux en cas d'erreur réseau */
.lightbox__frame.is-loading .lightbox__img {
  opacity: 0.35;
  filter: blur(4px);
}

.lightbox__frame.is-error::after {
  content: "Tirage momentanément indisponible";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.lightbox__img {
  max-height: calc(76vh - 28px);
  max-width: calc(88vw - 28px);
  width: auto;
  height: auto;
  border-radius: clamp(12px, 1.4vw, 20px);
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition:
    opacity 0.26s var(--ease-out-quart),
    transform 0.32s var(--ease-out-expo);
}

.lightbox__img.is-switching {
  opacity: 0;
  transform: scale(0.985);
}

.lightbox__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.lightbox__caption {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
}

.lightbox__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lightbox__nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(237, 233, 226, 0.24);
  background: rgba(237, 233, 226, 0.04);
  color: #EDE9E2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform var(--ease-press);
}

.lightbox__nav svg {
  transition: transform 0.3s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox__nav:hover {
    background: #EDE9E2;
    border-color: #EDE9E2;
    color: #111110;
  }

  .lightbox__nav--prev:hover svg {
    transform: translateX(-2px);
  }

  .lightbox__nav--next:hover svg {
    transform: translateX(2px);
  }
}

.lightbox__nav:active {
  transform: scale(0.93);
}

.lightbox__loupe-hint {
  display: none;
}

@keyframes loupeHintPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .lightbox__loupe-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(237, 233, 226, 0.72);
    white-space: nowrap;
    padding: 0 0.15rem;
    max-width: 240px;
    overflow: hidden;
    transition:
      opacity 0.45s var(--ease-out-expo),
      transform 0.45s var(--ease-out-expo),
      max-width 0.45s var(--ease-out-expo),
      padding 0.45s var(--ease-out-expo),
      margin 0.45s var(--ease-out-expo);
  }

  .lightbox__loupe-hint-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent, #c79a4b);
    flex-shrink: 0;
    animation: loupeHintPulse 2.4s ease-in-out infinite;
  }

  body.is-loupe-inspecting .lightbox__loupe-hint,
  .lightbox__loupe-hint.is-dismissed {
    opacity: 0;
    transform: translateY(2px) scale(0.96);
    pointer-events: none;
  }

  .lightbox__loupe-hint.is-dismissed {
    max-width: 0;
    padding: 0;
    margin: 0 -0.375rem;
  }
}

@media (max-width: 640px) {
  .lightbox__frame {
    max-width: 92vw;
    max-height: 70vh;
  }

  .lightbox__img {
    max-width: calc(92vw - 24px);
    max-height: calc(70vh - 24px);
  }

  .lightbox__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .lightbox__controls {
    justify-content: center;
    gap: 0.55rem;
  }

  .lightbox__loupe-hint.is-dismissed {
    margin: 0 -0.275rem;
  }
}

/* ==========================================================================
   §14 ACCESSIBILITÉ APPLE : REDUCED MOTION & REDUCED TRANSPARENCY
   - prefers-reduced-motion: reduce → remplace les translations/zooms par de
     simples fondus d'opacité et préserve les retours d'état :active.
   - prefers-reduced-transparency: reduce → remplace les surfaces vitrées
     (backdrop-filter) par des fonds opaques haute lisibilité.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .char {
    transform: translateY(0) !important;
    filter: none !important;
    opacity: 0;
    transition: opacity 0.35s ease !important;
  }

  .is-inview .char {
    opacity: 1;
  }

  .reveal-up {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.35s ease !important;
  }

  .art-frame__img {
    animation: none !important;
  }

  .hero__showcase-item {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero__cartel,
  .hero__eyebrow,
  .hero__title,
  .hero__top-meta {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__cinema-backdrop,
  .hero__cinema-scrim {
    display: none !important;
  }

  .art-frame,
  .art-frame__img,
  .loupe-lens,
  .loupe-bracket,
  .loupe-hud,
  .lightbox__loupe-hint,
  .unwritten-canvas__aperture,
  .canvas-corner,
  .btn-editorial,
  .btn-editorial__arrow,
  .book-colophon__next {
    transition-duration: 0.15s !important;
  }

  .lightbox__loupe-hint-dot {
    animation: none !important;
  }

  .art-frame:hover,
  .art-frame:hover .art-frame__img,
  .art-frame--unwritten:hover .unwritten-canvas__aperture,
  .btn-editorial:hover,
  .book-colophon__next:hover {
    transform: none !important;
  }

  body.nav-open main,
  body.lightbox-open main {
    transform: none !important;
  }

  .nav-drawer__panel {
    transform: none !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }

  body.nav-open .nav-drawer__panel {
    opacity: 1;
  }

  .lightbox__frame,
  .lightbox.is-open .lightbox__frame {
    transform: none !important;
    transition: opacity 0.25s ease !important;
  }

  .custom-cursor {
    display: none !important;
  }

  html.has-custom-cursor,
  html.has-custom-cursor *,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor [data-lightbox-src] {
    cursor: auto !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-drawer__backdrop {
    background: rgba(12, 12, 11, 0.72) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .lightbox {
    background: #0D0D0C !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-dock__inner,
  .story-sheet__panel {
    background: var(--bg-elevated) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ==========================================================================
   EXPÉRIENCE SMARTPHONE FIN 2026 (ÉCRAN DE CINÉMA DE POCHE — ≤ 768px)
   - Desktop (> 768px) : 100% verrouillé et inchangé
   - Mobile (≤ 768px) :
     1. Zéro rognage / Zéro recadrage (proportions originales strictement préservées)
     2. Accroche magnétique verticale (CSS Scroll-Snap)
     3. Image forte d'ouverture + Note d'intention en Feuille Tiroir (Bottom Sheet)
     4. Rail horizontal « Carton à dessin » pour les 12 clichés de Portraits du monde
     5. Une seule image par écran pour les 6 chapitres de Nuances d'une présence
     6. Pilule Dock flottante translucide en bas d'écran + Ligne de progression 1px
   ========================================================================== */

/* Par défaut sur Desktop (> 768px) : les contrôles exclusifs au mobile sont invisibles
   (la Feuille Tiroir .story-sheet et les déclencheurs légaux restent disponibles sur toutes tailles) */
.hero__mobile-bar,
.chapter__mobile-bar,
.opening-gallery__mobile-counter,
.opening-gallery__mobile-rail-bar,
:where(.mobile-sheet-trigger:not(.form-privacy__link):not(.site-footer__legal-btn)),
.mobile-progress-bar,
.mobile-dock {
  display: none;
}

/* FEUILLE TIROIR ÉDITORIALE (Notes d'intention sur mobile & Mentions/RGPD sur tous écrans) */
.story-sheet {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1020;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.45s;
}

body.sheet-open .story-sheet {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}

.story-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0.56);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  transition: opacity 0.38s var(--ease-out-expo);
}

body.sheet-open .story-sheet__backdrop {
  opacity: 1;
}

.story-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 680px;
  margin-inline: auto;
  max-height: min(82dvh, 700px);
  background: var(--bg-elevated);
  color: var(--text);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  box-shadow:
    inset 0 1px 0 var(--glass-specular),
    0 -24px 64px rgba(0, 0, 0, 0.42);
  padding: 0.6rem 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 104%, 0);
  transition:
    transform 0.48s var(--ease-drawer),
    background-color var(--theme-transition),
    color var(--theme-transition);
  will-change: transform;
  touch-action: pan-y;
}

body.sheet-open .story-sheet__panel {
  transform: translate3d(0, 0, 0);
}

.story-sheet__panel.is-dragging {
  transition: none !important;
}

.story-sheet__grabber-area {
  width: 100%;
  padding: 0.55rem 0 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.story-sheet__handle {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
}

.story-sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.story-sheet__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-sheet__close {
  min-height: 34px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: transform var(--ease-press), background-color 0.2s ease, color 0.2s ease;
}

.story-sheet__close:hover,
.story-sheet__close:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.story-sheet__close:active {
  transform: scale(0.94);
  background: var(--text);
  color: var(--bg);
}

.story-sheet__title {
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.story-sheet__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.story-sheet__body p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 300;
}

.story-sheet__body p strong {
  color: var(--text);
  font-weight: 500;
}

.story-sheet__body p:first-child,
.story-sheet__body .hero__bio {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
}

.story-sheet__body .book-two-statement {
  font-size: 1.38rem;
  padding: 1rem 0;
}

.story-sheet__epilogue {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.52;
  color: var(--accent) !important;
}

.story-sheet__cta {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.story-sheet__body .hero__signature-seal {
  width: 40px;
  height: 40px;
}

/* Flou progressif doux (Blur-up organique) pendant le décodage haute définition */
.art-frame__img.is-decoding {
  filter: blur(10px);
  opacity: 0.72;
}

@media (max-width: 768px) {
  :root {
    --container-pad: 1.15rem;
    --mobile-dock-clearance: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* 1. ACCROCHE MAGNÉTIQUE & CONFORT TACTILE NATIF */
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0px;
  }

  body.nav-open,
  body.lightbox-open,
  body.sheet-open {
    overflow: hidden;
  }

  body.sheet-open main {
    transform: scale(0.978);
    filter: brightness(0.92);
  }

  button,
  a,
  [role="button"],
  .art-frame {
    touch-action: manipulation;
  }

  /* Empêche le zoom forcé d'iOS Safari au focus d'un champ (< 16px) */
  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  /* 2. REMPLACEMENT DU HEADER HAUT PAR UN BANDEAU SIGNATURE ULTRA-DISCRET */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.4rem;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    pointer-events: none;
    z-index: 40;
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    pointer-events: auto;
    min-height: 36px;
    gap: 0.5rem;
  }

  .brand__seal {
    width: 24px;
    height: 24px;
  }

  .brand__name {
    font-size: 1.15rem;
    opacity: 0.85;
  }

  .header-status,
  .header-actions {
    display: none !important;
  }

  /* 3. LIGNE DE PROGRESSION ULTRA-FINE (1 PIXEL) EN HAUT DE L'ÉCRAN */
  .mobile-progress-bar {
    display: block;
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    height: 1.5px;
    background: rgba(126, 101, 75, 0.14);
    z-index: 950;
    pointer-events: none;
    overflow: hidden;
  }

  .mobile-progress-bar__fill {
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 120ms linear, background-color 0.4s ease;
  }

  /* 4. PREMIER ÉCRAN (HERO) : IMAGE FORTE EN PREMIER + TITRE + BOUTON TIROIR */
  .hero {
    min-height: 100svh;
    padding-top: calc(2.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: var(--mobile-dock-clearance);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
  }

  .hero__sticky {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }

  .hero__sticky > .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }

  .hero__top-meta,
  .hero__sticky > .container > .hairline-h {
    display: none;
  }

  .hero__main {
    padding: 0.35rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    align-items: stretch;
  }

  /* L'image forte passe en N°1 dès l'arrivée sur le lien */
  .hero__showcase {
    order: 1;
    padding-bottom: 2.35rem;
    padding-left: 0.85rem;
    margin-top: 0.25rem;
  }

  /* Proportions originales strictement préservées (2560x1706 & 1920x1920) sans rognage */
  .hero__showcase-item--primary .art-frame__viewport,
  .hero__showcase-item--secondary .art-frame__viewport {
    aspect-ratio: auto;
    height: auto;
  }

  .hero__showcase-item--primary .art-frame__viewport picture,
  .hero__showcase-item--secondary .art-frame__viewport picture {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero__showcase-item--primary .art-frame__img,
  .hero__showcase-item--secondary .art-frame__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none !important;
    animation: none !important;
  }

  .hero__showcase-item--secondary {
    width: clamp(118px, 36%, 156px);
    bottom: 0;
    left: 0;
  }

  .hero__copy {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero__eyebrow {
    margin-bottom: 0.1rem;
    font-size: 0.66rem;
  }

  .hero__title {
    font-size: clamp(2.35rem, 9.2vw, 3.1rem);
    margin-bottom: 0.35rem;
  }

  /* Le long pavé biographique est masqué du flux principal et lu dans la Bottom Sheet */
  .hero__cartel {
    display: none;
  }

  .hero__mobile-bar,
  .chapter__mobile-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .chapter__mobile-bar {
    margin-top: 0.35rem;
  }

  .hero__mobile-teaser,
  .chapter__mobile-teaser {
    align-self: stretch;
    margin: 0;
    padding-left: 0.75rem;
    border-left: 1.5px solid var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.36;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.42) 100%);
    mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.42) 100%);
    user-select: none;
    -webkit-user-select: none;
    transition:
      color 0.2s ease,
      transform 0.16s cubic-bezier(0.2, 0.9, 0.3, 1);
  }

  .hero__mobile-bar:active .hero__mobile-teaser,
  .chapter__mobile-bar:active .chapter__mobile-teaser {
    color: var(--text);
    transform: scale(0.99);
  }

  .hero__mobile-bar:active .mobile-sheet-trigger,
  .chapter__mobile-bar:active .mobile-sheet-trigger {
    transform: scale(0.97);
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  .hero__mobile-bar:active .mobile-sheet-trigger__dot,
  .chapter__mobile-bar:active .mobile-sheet-trigger__dot {
    background-color: var(--bg);
    box-shadow: none;
  }

  .hero__mobile-bar:active .mobile-sheet-trigger__icon,
  .chapter__mobile-bar:active .mobile-sheet-trigger__icon {
    background: var(--bg);
    color: var(--text);
    transform: translateY(-1.5px);
  }

  /* 5. BOUTON PILULE D'OUVERTURE DE LA FEUILLE TIROIR (NOTE D'INTENTION) — CAPSULE BI-TONALE MODERNE */
  @keyframes sheetDotPulse {
    0%, 100% {
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
    }
    50% {
      box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 0%, transparent);
    }
  }

  .mobile-sheet-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 4px 5px 4px 13px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--frame-bg) 88%, #ffffff);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 4px 14px -3px rgba(24, 22, 18, 0.10),
      0 1px 3px rgba(24, 22, 18, 0.05);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--text);
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 160ms var(--ease-out),
      background-color 200ms ease,
      border-color 200ms ease,
      box-shadow 200ms ease,
      color 200ms ease;
  }

  /* Adaptation du bouton sur les chapitres à fond sombre */
  body.chapter-01-mode .mobile-sheet-trigger,
  body.chapter-02-mode .mobile-sheet-trigger,
  body.chapter-03-mode .mobile-sheet-trigger,
  body.darkroom-mode .mobile-sheet-trigger {
    background: color-mix(in srgb, var(--text) 11%, var(--bg-elevated));
    border-color: color-mix(in srgb, var(--text) 16%, transparent);
    box-shadow:
      inset 0 1px 0 var(--glass-specular),
      0 6px 18px -4px rgba(0, 0, 0, 0.35);
  }

  .mobile-sheet-trigger:active {
    transform: scale(0.97);
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  .mobile-sheet-trigger__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: sheetDotPulse 2.8s infinite ease-out;
    flex-shrink: 0;
    transition: background-color 200ms ease, box-shadow 200ms ease;
  }

  .mobile-sheet-trigger:active .mobile-sheet-trigger__dot {
    background-color: var(--bg);
    animation: none;
    box-shadow: none;
  }

  .mobile-sheet-trigger__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    margin-left: 0.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    transition:
      transform 220ms var(--ease-out),
      background-color 200ms ease,
      color 200ms ease;
  }

  .mobile-sheet-trigger__icon svg {
    width: 10px;
    height: 10px;
    display: block;
  }

  .mobile-sheet-trigger:active .mobile-sheet-trigger__icon {
    background: var(--bg);
    color: var(--text);
    transform: translateY(-1.5px);
  }

  @media (hover: hover) and (pointer: fine) {
    .mobile-sheet-trigger:hover {
      border-color: color-mix(in srgb, var(--text) 22%, transparent);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 6px 20px -3px rgba(24, 22, 18, 0.14),
        0 2px 5px rgba(24, 22, 18, 0.06);
    }

    .mobile-sheet-trigger:hover .mobile-sheet-trigger__icon {
      transform: translateY(-1px) scale(1.04);
    }
  }

  /* 6. COLLECTION « PORTRAITS DU MONDE » : RAIL HORIZONTAL MAGNÉTIQUE (CARTON À DESSIN) */
  .opening-gallery {
    min-height: 100svh;
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 0 var(--mobile-dock-clearance);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
  }

  .opening-gallery > .container {
    width: 100%;
  }

  .opening-gallery .section-header {
    margin-bottom: 1rem;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .opening-gallery .section-header .meta-index {
    font-size: 0.64rem;
    margin-bottom: 0.2rem;
  }

  .opening-gallery .section-header__title {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
  }

  .opening-gallery__mobile-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
  }

  .opening-gallery__counter-num {
    font-weight: 500;
    color: var(--accent);
  }

  .opening-gallery__counter-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text);
  }

  /* Transformation de la grille 12 colonnes en carrousel horizontal plein cadre */
  .mosaic-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    margin: 0 calc(var(--container-pad) * -1);
    padding: 0.35rem var(--container-pad) 0.75rem;
    scrollbar-width: none;
  }

  .mosaic-grid::-webkit-scrollbar {
    display: none;
  }

  .mosaic-grid .mosaic-item,
  .mosaic-grid .mosaic-item:nth-child(n) {
    flex: 0 0 86vw !important;
    max-width: 400px;
    margin-top: 0 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  /* Proportions carrées natives 1:1 des 12 portraits sans aucun rognage */
  .mosaic-item .art-frame__viewport {
    aspect-ratio: auto;
    height: auto;
  }

  .mosaic-item .art-frame__viewport picture {
    display: block;
    width: 100%;
    height: auto;
  }

  .mosaic-item .art-frame__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none !important;
    animation: none !important;
  }

  .mosaic-item__meta {
    margin-top: 0.65rem;
    font-size: 0.72rem;
  }

  .opening-gallery__mobile-rail-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .opening-gallery__rail-progress {
    flex: 1;
    height: 1.5px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
  }

  .opening-gallery__rail-fill {
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0.0833);
    transform-origin: left center;
    transition: transform 180ms var(--ease-out);
  }

  .opening-gallery__rail-hint {
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
  }

  /* 7. PAGES DE GARDE (« NUANCES D'UNE PRÉSENCE » & « UNE SEULE IMAGE ») */
  .book-cover {
    min-height: 100svh;
    padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 0 var(--mobile-dock-clearance);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
  }

  .book-cover > .container {
    width: 100%;
  }

  .book-cover__stage {
    padding: 2.25rem 0;
  }

  .book-cover__title {
    font-size: clamp(2.55rem, 10vw, 3.4rem);
  }

  .book-cover__quote {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem);
    margin-bottom: 1.75rem;
  }

  .book-cover__prologue {
    font-size: 0.96rem;
    margin-bottom: 1.75rem;
  }

  /* 8. LES 6 CHAPITRES DE « NUANCES D'UNE PRÉSENCE » : UNE SEULE IMAGE PAR ÉCRAN */
  .chapter {
    min-height: 100svh;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 0 var(--mobile-dock-clearance);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .chapter > .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }

  .chapter > .container > .hairline-h {
    display: none;
  }

  .chapter__header-bar {
    padding-bottom: 0.5rem;
    margin-bottom: 0.65rem;
  }

  .chapter__header-bar .meta-index {
    font-size: 0.65rem;
    letter-spacing: 0.13em;
  }

  .chapter__layout,
  .chapters-wrapper .chapter__layout {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
  }

  .chapter__media-col,
  .chapter--reverse .chapter__media-col,
  .chapter--portrait .chapter__media-col,
  .chapter--portrait.chapter--reverse .chapter__media-col {
    width: 100%;
    position: relative;
    top: 0;
    order: 1;
  }

  /* ZÉRO ROGNAGE / ZÉRO RECADRAGE : Chaque photographie conserve 100% de son ratio natif */
  .chapter .art-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 6px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .chapter .art-frame.art-frame--bleed {
    padding: 0;
    border-radius: 4px;
  }

  .chapter .art-frame__viewport,
  .chapter--portrait .art-frame__viewport {
    border-radius: 6px;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
  }

  .chapter .art-frame--bleed .art-frame__viewport {
    border-radius: 4px;
  }

  .chapter__ghost-num {
    display: none;
  }

  .chapter .art-frame__viewport picture {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
  }

  .chapter .art-frame__img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: 64dvh;
    object-fit: contain !important;
    transform: none !important;
    animation: none !important;
    margin: 0 auto;
  }

  /* Pour les formats portraits verticaux (Chapitres 02 & 03 : 1270x1590),
     le cadre s'ajuste élégamment autour du tirage sans bandes noires latérales */
  .chapter--portrait .art-frame {
    width: auto;
    max-width: min(88vw, 420px);
  }

  .chapter--portrait .art-frame__img {
    width: auto !important;
    max-height: 64dvh;
  }

  .chapter__caption-bar {
    margin-top: 0.75rem;
    padding: 0 0.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .lightbox__frame.is-loupe-inspecting .lightbox__viewport {
    touch-action: none;
  }

  .loupe-lens {
    width: 152px;
    height: 152px;
  }

  .loupe-hud {
    top: auto;
    bottom: 16px;
    left: 16px;
    padding: 0.3rem 0.64rem;
    font-size: 0.56rem;
    max-width: calc(100% - 32px);
  }

  .custom-cursor {
    display: none !important;
  }

  .chapter--portrait .chapter__caption-bar,
  .chapter--portrait .chapter__mobile-bar {
    max-width: min(88vw, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .chapter__caption-meta-desktop {
    display: none;
  }

  /* La colonne de texte narrative est masquée du flux vertical sur mobile :
     elle s'ouvre à la demande dans la Feuille Tiroir (Bottom Sheet) */
  .chapter__story-col,
  .chapter--reverse .chapter__story-col,
  .chapter--portrait .chapter__story-col,
  .chapter--portrait.chapter--reverse .chapter__story-col {
    display: none;
  }

  /* Colophon de fin de Livre I compacté avec élégance */
  .book-colophon {
    margin-top: 1.15rem;
  }

  .book-colophon__epilogue {
    display: none;
  }

  .book-colophon__inner {
    padding-top: 0.75rem;
    justify-content: center;
    text-align: center;
  }

  .book-colophon__mark {
    font-size: 0.64rem;
  }

  /* Section Contact & Footer */
  .contact-section {
    scroll-snap-align: start;
    padding-bottom: 2rem;
  }

  .site-footer {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  /* 9. FEUILLE TIROIR (BOTTOM SHEET) SUR SMARTPHONE : PLEINE LARGEUR */
  .story-sheet__panel {
    max-width: none;
    max-height: 82dvh;
    border-left: none;
    border-right: none;
    padding: 0.5rem 1.35rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .story-sheet__close {
    padding: 0.3rem 0.75rem;
  }

  .story-sheet__title {
    font-size: clamp(2rem, 7.5vw, 2.55rem);
  }

  .story-sheet__body {
    padding-right: 0.15rem;
    gap: 1.15rem;
  }

  .story-sheet__body p {
    font-size: 1.04rem;
  }

  .story-sheet__body p:first-child,
  .story-sheet__body .hero__bio {
    font-size: 1.28rem;
  }

  /* 10. LE DOCK FLOTTANT EN BAS (GLASSMORPHISM DISCRET SOUS LE POUCE) */
  .mobile-dock {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    pointer-events: none;
    transition:
      transform 0.45s var(--ease-out-expo),
      opacity 0.35s ease;
  }

  body.lightbox-open .mobile-dock,
  body.sheet-open .mobile-dock {
    transform: translate3d(0, 120%, 0);
    opacity: 0;
  }

  .mobile-dock__inner {
    pointer-events: auto;
    width: 100%;
    max-width: 430px;
    min-height: 52px;
    padding: 0.35rem 0.45rem 0.35rem 1rem;
    border-radius: 999px;
    background: var(--bg-glass);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--line-strong);
    box-shadow:
      inset 0 1px 0 var(--glass-specular),
      0 16px 40px -10px rgba(0, 0, 0, 0.28),
      0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    transition:
      background-color var(--theme-transition),
      border-color var(--theme-transition),
      box-shadow 0.4s ease;
  }

  .mobile-dock__status {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    text-align: left;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    transition: transform var(--ease-press), opacity 0.2s ease;
  }

  .mobile-dock__status:active {
    transform: scale(0.97);
    opacity: 0.8;
  }

  .mobile-dock__index {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    flex-shrink: 0;
  }

  .mobile-dock__sep {
    color: var(--text-muted);
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .mobile-dock__title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.06rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Bouton contextuel « Récit » dans le dock (affiché uniquement quand la salle active a une note d'intention) */
  .mobile-dock__story {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    transition:
      transform var(--ease-press),
      opacity 0.25s ease,
      background-color 0.25s ease;
  }

  .mobile-dock__story.is-hidden {
    display: none;
  }

  .mobile-dock__story:active {
    transform: scale(0.94);
    background: var(--text);
    color: var(--bg);
  }

  .mobile-dock__story-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
  }

  .mobile-dock__menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    box-shadow: inset 0 1px 0 var(--glass-specular);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    transition:
      transform var(--ease-press),
      background-color 0.3s var(--ease-out-expo);
  }

  .mobile-dock__menu:active {
    transform: scale(0.92);
  }

  .mobile-dock__menu-icon {
    width: 15px;
    height: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    transition: transform 0.45s var(--ease-out-expo);
  }

  .mobile-dock__menu-icon span {
    display: block;
    height: 1.25px;
    background: var(--text);
    border-radius: 2px;
    transition:
      transform 0.45s var(--ease-out-expo),
      width 0.45s var(--ease-out-expo),
      background-color 0.3s ease;
  }

  .mobile-dock__menu-icon span:first-child {
    width: 15px;
  }

  .mobile-dock__menu-icon span:last-child {
    width: 10px;
  }

  body.nav-open .mobile-dock__menu {
    background: var(--text);
  }

  body.nav-open .mobile-dock__menu-icon {
    align-items: center;
    transform: rotate(90deg);
  }

  body.nav-open .mobile-dock__menu-icon span {
    width: 13px;
    background: var(--bg);
  }

  body.nav-open .mobile-dock__menu-icon span:first-child {
    transform: translateY(2.6px) rotate(45deg);
  }

  body.nav-open .mobile-dock__menu-icon span:last-child {
    transform: translateY(-2.6px) rotate(-45deg);
  }

  /* Ajustement du Tiroir d'Index (Nav Drawer) sur mobile pour qu'il prenne tout l'écran proprement */
  .nav-drawer__panel {
    top: 0;
    padding: calc(1.75rem + env(safe-area-inset-top, 0px)) 1.35rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}
