/* =========================================================================
   Socle « Plume » — feuille de style du site public
   Toutes les couleurs et polices viennent des variables :root, injectées
   depuis l'administration (Réglages › Identité visuelle).
   ========================================================================= */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-opsz-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

:root {
  --ink: #0e0c0a; --ocre: #b8860b; --ocre-text: #8a6508; --red: #cc0000;
  --cream: #fbfaf6; --cream-2: #f2ece0; --paper: #fff;
  --muted: #5c5850; --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --font-display: 'Fraunces', Georgia, serif; --font-body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --fs-display: clamp(3.1rem, 12.5vw, 12rem);
  --fs-h1: clamp(2.6rem, 7.4vw, 7rem);
  --fs-h2: clamp(2rem, 5vw, 4.4rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.1rem, 1.6vw, 1.35rem);
}

/* ------------------------------- Base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.015em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
::selection { background: var(--ocre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .7rem 1rem; border-radius: var(--radius); transition: top .2s; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
section { position: relative; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--red { background: var(--red); color: var(--paper); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; }

/* --------------------------- Typo utilitaires --------------------------- */
.kicker { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin: 0 0 1.1rem; }
.section--ink .kicker { color: var(--ocre); }
.section-title { font-size: var(--fs-h2); margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 18ch; }
.section-title--sm { font-size: clamp(1.8rem, 3.4vw, 3rem); margin: 3rem 0 1.6rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .section-title { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: .15em; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.note { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--ocre); padding-left: 1rem; }
.section--ink .note { color: color-mix(in srgb, var(--cream) 70%, transparent); }

.prose { font-size: var(--fs-lead); line-height: 1.7; max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }
.prose h3 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.prose a { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--ocre); font-family: var(--font-display); font-style: italic; font-size: 1.25em; }
.prose ul { padding-left: 1.2em; }
.prose--drop > p:first-of-type::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.6em; line-height: .78; padding: .07em .1em 0 0; color: var(--red); font-weight: 500;
}
.lead { font-size: 1.25em; font-family: var(--font-display); line-height: 1.45; }

/* ------------------------------- Boutons -------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hover-bg, var(--ink)); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, var(--cream)); border-color: var(--hover-bg, var(--ink)); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--red { --bg: var(--red); --fg: #fff; --hover-bg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); --hover-bg: var(--red); --hover-fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); --hover-bg: var(--ink); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); --hover-bg: var(--ocre); --hover-fg: var(--ink); }
.btn--outline-cream { --bg: transparent; --fg: var(--cream); border-color: var(--cream); --hover-bg: var(--cream); --hover-fg: var(--ink); }
.section--red .btn--outline-cream { --fg: #fff; border-color: #fff; }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .85rem; }
.btn--lg { min-height: 60px; padding: 1em 2em; font-size: 1.05rem; }

.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .45em .8em; border-radius: 999px; text-decoration: none; }
.badge--ed { background: var(--red); color: #fff; }
.badge--col { background: var(--ink); color: var(--cream); }
.badge--link { border: 1px solid var(--ink); }
.badge--link:hover { background: var(--ink); color: var(--cream); }
.badge--lg { font-size: .74rem; padding: .6em 1em; }
.badge .icon { width: 1.1em; height: 1.1em; }
.tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; background: var(--ink); color: var(--cream); }
.tag--dedicace, .tag--salon { background: var(--red); color: #fff; }
.tag--apparition, .tag--media { background: var(--ocre); color: var(--ink); }

/* ------------------------------- En-tête -------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter);
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.brand__first { font-style: italic; font-weight: 300; }
.brand__last { font-weight: 600; }
.nav { margin-left: auto; display: none; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav a { display: block; position: relative; padding: .55rem .8rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.langs { display: flex; gap: .3rem; font-size: .8rem; font-weight: 700; }
.langs a { text-decoration: none; padding: .3rem .45rem; border-radius: 4px; }
.langs a[aria-current] { background: var(--ink); color: var(--cream); }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .7rem; background: none; border: 0; padding: .5rem 0; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 61; }
.menu-btn__icon { width: 26px; height: 12px; position: relative; display: block; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-btn__icon i:first-child { top: 0; } .menu-btn__icon i:last-child { top: 10px; }
.menu-open .menu-btn { color: var(--cream); }
.menu-open .menu-btn__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__icon i:last-child { top: 5px; transform: rotate(-45deg); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
.menu-open .brand { color: var(--cream); position: relative; z-index: 61; }

.menu { position: fixed; inset: 0; z-index: 49; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; overflow: auto; clip-path: inset(0 0 100% 0); }
.menu[hidden] { display: none; }
.menu__curve { position: absolute; right: 0; top: 0; height: 100%; width: 60%; fill: none; stroke: var(--ocre); stroke-width: 1.2; opacity: .5; pointer-events: none; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; }
.menu nav a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; padding: .2rem 0; }
.menu nav a small { font-size: .75rem; font-weight: 700; color: var(--ocre); letter-spacing: .1em; }
/* le décalage au survol utilise « translate » : « transform » reste réservé à l'animation d'entrée (GSAP) */
.menu nav a span { font-family: var(--font-display); font-size: clamp(2.3rem, 10.5vw, 5rem); line-height: 1.08; transition: translate .5s var(--ease-out), color .3s; display: inline-block; white-space: nowrap; }
.menu nav a:hover span, .menu nav a[aria-current] span { font-style: italic; color: var(--ocre); translate: .25em 0; }
.menu__foot { margin-top: 2.5rem; position: relative; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .langs { margin-left: 0; }
}

/* -------------------------------- Loader -------------------------------- */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--cream); display: grid; place-items: center; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__name { display: block; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 7vw, 4.5rem); line-height: 1.1; }
.loader__line { display: block; height: 1px; width: min(320px, 60vw); background: var(--ocre); margin: 1.2rem auto; transform-origin: left; transform: scaleX(0); }
.loader__years { font-size: .8rem; letter-spacing: .3em; font-weight: 700; color: var(--ocre); }
html:not(.js) .loader, .loader.is-done { display: none; }

/* --------------------------------- Hero --------------------------------- */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 1rem) 0 3rem; display: flex; align-items: center; overflow: hidden; }
.hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .95; }
.hero__curves { position: absolute; inset: auto 0 0; width: 100%; height: 70%; z-index: 1; fill: none; stroke: var(--ocre); stroke-width: 1.4; pointer-events: none; }
.hero__curves .c2 { stroke: var(--red); stroke-width: .8; opacity: .6; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 1.5rem; align-items: end; }
.hero__portrait { margin: 0 0 -3.5rem; order: -1; position: relative; justify-self: center; width: min(100%, 460px); }
.hero__portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 98%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 68%, transparent 98%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-composite: intersect; }
.hero__name { font-size: var(--fs-display); line-height: .86; letter-spacing: -.045em; margin: 0 0 .25em; position: relative; }
.hero__first { display: block; font-style: italic; font-weight: 250; }
.hero__last { display: block; font-weight: 560; padding-left: .5em; }
.hero__name .char { display: inline-block; }
.hero__kicker { margin-bottom: .8rem; }
.hero__tagline { font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.3; max-width: 26ch; font-style: italic; font-weight: 350; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; translate: -50% 0; display: none; flex-direction: column; align-items: center; gap: .6rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; text-decoration: none; }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--ink), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--red); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.photo-soon { display: grid; place-items: center; background:
  radial-gradient(120% 80% at 80% 110%, color-mix(in srgb, var(--ocre) 30%, transparent), transparent 60%), var(--cream-2);
  color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.photo-soon--portrait { aspect-ratio: 4/5; }
.photo-soon--land { aspect-ratio: 3/2; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 0; }
  .hero__portrait { order: 0; width: 100%; max-width: 560px; justify-self: end; margin: 0 -2vw 0 0; }
  .hero__name { margin: 0 -40% .3em 0; z-index: 3; }
  .hero__text { padding-bottom: 4vh; }
  .hero__scroll { display: flex; }
}

/* ------------------------------ Trois rôles ----------------------------- */
.roles { padding: clamp(5rem, 12vw, 10rem) 0; }
.roles .section-title { max-width: 14ch; }
.roles__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.role { position: relative; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); }
.role__num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ocre); }
.role__title { font-size: clamp(2.4rem, 5vw, 4rem); margin: .6rem 0 1rem; font-weight: 350; }
.role p { color: color-mix(in srgb, var(--cream) 78%, transparent); max-width: 34ch; }
.role__line { width: 70%; height: 16px; fill: none; stroke: var(--ocre); stroke-width: 1.5; }
@media (min-width: 900px) { .roles__list { grid-template-columns: repeat(3, 1fr); gap: 3vw; } }

/* -------------------------------- Repères ------------------------------- */
.figures { padding: clamp(4rem, 10vw, 8rem) 0; }
.figures__grid { display: grid; gap: 3rem; }
.figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; margin-bottom: 1rem; }
.figure strong { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 15vw, 11rem); line-height: .85; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure span { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-style: italic; max-width: 16ch; line-height: 1.2; }
.figure small { width: 100%; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; color: var(--muted); }
.figure--sm strong { font-size: clamp(3rem, 7vw, 5rem); color: var(--red); }
.figures__block--house .figure strong { color: var(--ocre-text); }
.figures__sep { display: none; }
@media (min-width: 900px) {
  .figures__grid { grid-template-columns: 1fr auto 1fr; gap: 4vw; align-items: center; }
  .figures__sep { display: block; width: 1px; height: 70%; background: var(--line); }
}

/* --------------------------- Dernier livre (3D) ------------------------- */
.featured { padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; }
.featured__grid { display: grid; gap: 3rem; align-items: center; }
.featured__visual { display: grid; place-items: center; padding: 2rem 0; }
.featured__visual .tome { width: min(68vw, 360px); }
.featured__title { font-size: var(--fs-h1); margin-bottom: 1rem; }
.featured__meta { color: var(--muted); font-weight: 600; }
.featured__summary { margin: 1.5rem 0 2rem; }
.featured__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .featured__grid { grid-template-columns: 1fr 1.1fr; gap: 6vw; } }

/* -------------------------- Couvertures & cartes ------------------------ */
.cover { position: relative; aspect-ratio: 2/3; width: 100%; overflow: hidden; background: var(--paper); border-radius: 2px 4px 4px 2px; box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 10px 26px -10px rgba(14,12,10,.35); }
.cover picture, .cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(255,255,255,.18) 1.2%, transparent 3%, transparent 97%, rgba(0,0,0,.06)); }
/* Couverture trop petite ou carrée : jamais étirée, posée sur un fond flouté d'elle-même */
.cover--small { display: grid; place-items: center; background: var(--cream-2); }
.cover--small::before { content: ''; position: absolute; inset: -20px; background: var(--bg) center/cover; filter: blur(18px) saturate(1.1); opacity: .55; }
.cover--small picture { position: relative; width: auto; height: auto; max-width: min(92%, calc(var(--iw) * 1.25)); }
.cover--small img { width: 100%; height: auto; object-fit: contain; box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.cover--blank { background: var(--cream-2); }
.cover--placeholder { display: flex; flex-direction: column; padding: 12% 10%; color: var(--cream); background: var(--ink); }
.cover--p1 { background: #2a1f14; } .cover--p2 { background: #5a0d0d; }
.cover__curve { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ocre); stroke-width: 1.6; }
.cover__author { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ocre); position: relative; }
.cover__title { font-family: var(--font-display); font-size: clamp(.95rem, 1.6vw, 1.35rem); line-height: 1.1; margin-top: .8em; position: relative; }
.cover__pub { margin-top: auto; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; position: relative; }
.cover__soon { position: relative; margin-top: .5em; font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }

/* =========================================================================
   Livre en volume (CSS 3D)
   Unités : --t (épaisseur) et --c (coin soulevé) en % de la largeur du livre,
   rotations en degrés (nombres) ; tout est piloté par GSAP via ces variables.
   ========================================================================= */
@property --c { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lc { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --ry { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --rx { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --sy { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --flip { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lift { syntax: '<number>'; inherits: true; initial-value: 0; }

.tome {
  --ry0: -18; --rx0: 5; --t: 8;
  position: relative; width: 100%; container-type: inline-size; perspective: 1200px; perspective-origin: 60% 35%;
  -webkit-tap-highlight-color: transparent;
}
.tome__body {
  position: relative; aspect-ratio: 2 / 3; transform-style: preserve-3d;
  transform: translateY(calc(var(--lift) * -1px))
             rotateX(calc((var(--rx0) + var(--rx)) * 1deg))
             rotateY(calc((var(--ry0) + var(--ry) + var(--sy) + var(--flip)) * 1deg));
}
.tome__body > * { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* les images ont leur propre calque : elles doivent aussi cacher leur face arrière */
.tome__front *, .tome__back * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* Plats : couverture et quatrième */
.tome__front, .tome__back { inset: 0; }
.tome__front { --fc: var(--c); transform: translateZ(calc(var(--t) * .5cqw)); }
.tome__back { transform: rotateY(180deg) translateZ(calc(var(--t) * .5cqw)); background: var(--ink); overflow: hidden; border-radius: 4px 2px 2px 4px; }
.tome__back picture, .tome__back img { width: 100%; height: 100%; object-fit: cover; }
.tome__backart { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12cqw 10cqw; color: var(--cream);
  background: radial-gradient(120% 70% at 0% 100%, color-mix(in srgb, var(--ocre) 35%, transparent), transparent 60%), var(--spine, var(--ink)); }
.tome__backart span { font-size: 5cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre); font-weight: 700; }
.tome__backart em { font-family: var(--font-display); font-size: 9cqw; line-height: 1.1; }
/* Pli courbe sur toute la hauteur de la tranche : le bord se soulève davantage
   au milieu (là où appuie le pouce) qu'aux extrémités. */
.tome__face { position: absolute; inset: 0;
  clip-path: polygon(0 0, calc(100% - var(--c) * .5cqw) 0, calc(100% - var(--c) * .69cqw) 12.5%, calc(100% - var(--c) * .854cqw) 25%,
    calc(100% - var(--c) * .962cqw) 37.5%, calc(100% - var(--c) * 1cqw) 50%, calc(100% - var(--c) * .962cqw) 62.5%,
    calc(100% - var(--c) * .854cqw) 75%, calc(100% - var(--c) * .69cqw) 87.5%, calc(100% - var(--c) * .5cqw) 100%, 0 100%); }
.tome__face .cover { height: 100%; box-shadow: none; }
/* charnière du plat : creux près du dos */
.tome__front::before { content: ''; position: absolute; z-index: 2; inset: 0; pointer-events: none; border-radius: 2px 4px 4px 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.32) 0, rgba(255,255,255,.22) 1.6cqw, rgba(0,0,0,.18) 3.2cqw, transparent 5cqw); }
.tome__sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 46%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: calc(60% + (var(--ry) + var(--sy)) * 1.4%) 0;
  clip-path: polygon(0 0, calc(100% - var(--c) * .5cqw) 0, calc(100% - var(--c) * .854cqw) 25%, calc(100% - var(--c) * 1cqw) 50%,
    calc(100% - var(--c) * .854cqw) 75%, calc(100% - var(--c) * .5cqw) 100%, 0 100%); }

/* Dos et tranches */
.tome__spine { top: 0; height: 100%; width: calc(var(--t) * 1cqw); left: calc(50% - var(--t) * .5cqw);
  transform: rotateY(-90deg) translateZ(50cqw); display: grid; place-items: center; overflow: hidden; color: #fbfaf6;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(255,255,255,.12) 35%, rgba(0,0,0,.35) 100%), var(--spine, var(--ink)); border-radius: 3px; }
.tome__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-size: clamp(6px, calc(var(--t) * .55cqw), 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 88%; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tome__edge { background-color: #efe6d3; }
.tome__edge--fore { top: 1.2cqw; height: calc(100% - 2.4cqw); width: calc(var(--t) * 1cqw - 1cqw); left: calc(50% - var(--t) * .5cqw + .5cqw);
  transform: rotateY(90deg) translateZ(calc(50cqw - 1cqw));
  background: linear-gradient(90deg, rgba(0,0,0,.28), transparent 18%, transparent 82%, rgba(0,0,0,.22)),
              repeating-linear-gradient(90deg, #fbf6ea 0 1px, #e3d7c0 1px 2px, #f4ecdc 2px 3px); }
.tome__edge--top, .tome__edge--bottom { left: 0; width: calc(100% - 1cqw); height: calc(var(--t) * 1cqw - 1cqw); top: calc(50% - var(--t) * .5cqw + .5cqw);
  background: linear-gradient(0deg, rgba(0,0,0,.25), transparent 20%, transparent 80%, rgba(0,0,0,.2)),
              repeating-linear-gradient(0deg, #fbf6ea 0 1px, #e3d7c0 1px 2px, #f4ecdc 2px 3px); }
.tome__edge--top { transform: rotateX(90deg) translateZ(calc(75cqw - 1.2cqw)); }
.tome__edge--bottom { transform: rotateX(-90deg) translateZ(calc(75cqw - 1.2cqw)); }

/* Feuillets sous la couverture, feuilletés le long de la tranche.
   Ils ne se peignent que dans la bande découverte : la couverture reste
   toujours intacte, quel que soit le tri de profondeur du navigateur. */
.tome__leaves { inset: 0; transform: translateZ(calc((var(--t) * .5 - .6) * 1cqw));
  clip-path: polygon(calc(100% - var(--c) * .5cqw - 1px) 0, 100% 0, 100% 100%, calc(100% - var(--c) * .5cqw - 1px) 100%,
    calc(100% - var(--c) * .69cqw - 1px) 87.5%, calc(100% - var(--c) * .854cqw - 1px) 75%, calc(100% - var(--c) * .962cqw - 1px) 62.5%,
    calc(100% - var(--c) * 1cqw - 1px) 50%, calc(100% - var(--c) * .962cqw - 1px) 37.5%, calc(100% - var(--c) * .854cqw - 1px) 25%,
    calc(100% - var(--c) * .69cqw - 1px) 12.5%); }
.tome__leaf { --fc: var(--lc); position: absolute; top: .8cqw; left: .6cqw; right: .4cqw; bottom: .8cqw; z-index: calc(20 - var(--i));
  background: linear-gradient(90deg, #e2d6bd 0, #f8f2e5 4%, #fffdf8 55%, #efe6d4 100%);
  clip-path: polygon(0 0, calc(100% - var(--lc) * .5cqw) 0, calc(100% - var(--lc) * .69cqw) 12.5%, calc(100% - var(--lc) * .854cqw) 25%,
    calc(100% - var(--lc) * .962cqw) 37.5%, calc(100% - var(--lc) * 1cqw) 50%, calc(100% - var(--lc) * .962cqw) 62.5%,
    calc(100% - var(--lc) * .854cqw) 75%, calc(100% - var(--lc) * .69cqw) 87.5%, calc(100% - var(--lc) * .5cqw) 100%, 0 100%); }
.tome__leaf--base { background: linear-gradient(90deg, #ddd0b5, #efe5d1 30%, #f6efe1 85%, #e6dbc4); }
/* lignes de texte qui courent jusqu'au bord de la page */
.tome__lines { position: absolute; left: 12cqw; right: 4cqw; top: 12cqw; bottom: 12cqw; opacity: .55;
  background: repeating-linear-gradient(180deg, rgba(70,58,40,.3) 0 .6cqw, transparent .6cqw 4.2cqw); }
.tome__folio { display: none; }
/* Rabat : le bord de page qui se courbe vers l'arrière, avec son modelé de papier */
.tome__flap { position: absolute; right: 0; top: 0; bottom: 0; width: calc(var(--fc) * 2cqw); pointer-events: none;
  clip-path: polygon(calc(100% - var(--fc) * .5cqw) 0, calc(100% - var(--fc) * .69cqw) 12.5%, calc(100% - var(--fc) * .854cqw) 25%,
    calc(100% - var(--fc) * .962cqw) 37.5%, calc(100% - var(--fc) * 1cqw) 50%, calc(100% - var(--fc) * .962cqw) 62.5%,
    calc(100% - var(--fc) * .854cqw) 75%, calc(100% - var(--fc) * .69cqw) 87.5%, calc(100% - var(--fc) * .5cqw) 100%,
    calc(100% - var(--fc) * 1cqw) 100%, calc(100% - var(--fc) * 1.38cqw) 87.5%, calc(100% - var(--fc) * 1.708cqw) 75%,
    calc(100% - var(--fc) * 1.924cqw) 62.5%, calc(100% - var(--fc) * 2cqw) 50%, calc(100% - var(--fc) * 1.924cqw) 37.5%,
    calc(100% - var(--fc) * 1.708cqw) 25%, calc(100% - var(--fc) * 1.38cqw) 12.5%, calc(100% - var(--fc) * 1cqw) 0);
  /* clair près du pli, plus sombre vers le bord qui s'enroule */
  background: linear-gradient(90deg, #b9a780 0%, #d8cab0 22%, #f3ead8 45%, #fffcf4 66%, #fbf5e8 82%, #e6dac0 100%); }
.tome__flap--cover { z-index: 3; background: linear-gradient(90deg, #a8946c 0%, #d3c4a6 24%, #f4ecdc 48%, #ffffff 68%, #f6efe1 84%, #dfd2b6 100%); }
/* Ombre portée par le bord soulevé sur les pages dessous */
.tome__front::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; z-index: 1; pointer-events: none;
  width: calc(var(--c) * 1cqw);
  clip-path: polygon(50% 0, 31% 12.5%, 14.6% 25%, 3.8% 37.5%, 0 50%, 3.8% 62.5%, 14.6% 75%, 31% 87.5%, 50% 100%, 100% 100%, 100% 0);
  background: linear-gradient(90deg, rgba(14,12,10,.36) 0%, rgba(14,12,10,.12) 45%, transparent 80%); }

.tome__shadow { position: absolute; z-index: -1; left: 6%; right: -8%; bottom: -6%; height: 10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14,12,10,.45), transparent); filter: blur(7px);
  transform: translateX(calc((var(--ry) + var(--sy)) * -.25%)) scaleX(calc(1 + var(--lift) * .012)); opacity: calc(1 - var(--lift) * .025); }

.tome--xl { --ry0: -24; --rx0: 7; perspective: 1600px; }
.tome--detail { --ry0: -16; --rx0: 4; perspective: 1800px; }
@media (prefers-reduced-motion: reduce) { .tome { --ry0: -12; } }

.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
@media (min-width: 720px) { .book-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 1.6rem; } }
@media (min-width: 1024px) { .book-grid { grid-template-columns: repeat(4, 1fr); gap: 3.6rem 2.2rem; } }
.book-card { display: flex; flex-direction: column; gap: .9rem; }
.book-card__link { text-decoration: none; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.book-card__cover { position: relative; padding: 4% 12% 9% 6%; }
.book-card__cover .badge { position: absolute; left: .5rem; top: .5rem; z-index: 2; }
.book-card__cover .badge--col { top: auto; bottom: .5rem; }
.book-card__title { font-size: clamp(1.02rem, 1.5vw, 1.28rem); line-height: 1.2; transition: color .3s; }
.book-card__link:hover .book-card__title { color: var(--red); }
.book-card__meta { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 600; }
.book-card__buy { align-self: flex-start; }
@media (max-width: 480px) { .book-card__buy { width: 100%; padding-inline: .6em; font-size: .78rem; } .book-card__buy .icon { display: none; } }

.latest { padding: clamp(4rem, 9vw, 8rem) 0; }

/* ---------------------------- Bibliothèque 3D --------------------------- */
.library { height: 320vh; }
.library__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.library__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.library__sticky::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,12,10,.72) 0, rgba(14,12,10,.2) 32%, transparent 55%), linear-gradient(0deg, rgba(14,12,10,.6) 0, transparent 30%); }
.library__overlay { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2.5rem; pointer-events: none; }
.library__overlay > * { pointer-events: auto; }
.library__overlay .section-title { margin-bottom: .6rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.library__overlay > p:not(.library__current) { max-width: 34ch; color: color-mix(in srgb, var(--cream) 72%, transparent); font-size: .95rem; }
.library__current { margin: auto 0 1.2rem; min-height: 3.6em; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.1; max-width: 22ch; text-shadow: 0 2px 20px rgba(14,12,10,.8); }
.library__current small { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre); margin-top: .5rem; }
.library__overlay .btn { align-self: flex-start; }
.library.is-fallback { height: auto; }
.library.is-fallback .library__sticky { position: relative; height: auto; }
.library.is-fallback .library__overlay { padding-block: 5rem; height: auto; }
.library.is-fallback .library__overlay > p { margin-top: 0; }
.library.is-fallback .library__canvas, .library.is-fallback .library__current { display: none; }

/* --------------------------- Prochaine apparition ----------------------- */
.next { padding: clamp(3rem, 7vw, 6rem) 0; }
.next__card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 2rem; align-items: center; text-decoration: none; padding: clamp(1.4rem, 3vw, 2.6rem); border: 1px solid var(--ink); border-radius: 12px; position: relative; overflow: hidden; isolation: isolate; }
.next__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.next__card:hover { color: var(--cream); }
.next__card:hover::before { transform: scaleY(1); }
.next__date { text-align: center; border-right: 1px solid currentColor; padding-right: 1.4rem; }
.next__day { display: block; font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .9; color: var(--red); }
.next__month { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.next__body h2 { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.next__place { display: flex; gap: .4rem; align-items: center; margin: .6rem 0 0; font-weight: 600; }
.next__arrow { display: none; }
@media (min-width: 720px) { .next__card { grid-template-columns: auto 1fr auto; } .next__arrow { display: block; } .next__arrow .icon { width: 2.4rem; height: 2.4rem; transition: transform .5s var(--ease-out); } .next__card:hover .next__arrow .icon { transform: translateX(8px) rotate(-30deg); } }

/* ------------------------------ Bandeau presse -------------------------- */
.press-band { padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; margin-bottom: clamp(3rem, 7vw, 6rem); }
.marquee__track { display: flex; width: max-content; gap: 2.4rem; align-items: center; animation: marquee 60s linear infinite; }
.js .marquee__track { animation: none; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee__item em { font-family: var(--font-body); font-style: normal; font-size: .45em; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); vertical-align: middle; margin-right: .8em; }
.marquee__dot { color: var(--ocre); }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { text-align: center; max-width: 1000px; }
.quote__mark { width: 56px; margin: 0 auto 1.6rem; fill: var(--ocre); }
.quote blockquote { margin: 0 0 1.6rem; font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.2; font-style: italic; font-weight: 300; }
.quote figcaption { font-size: .95rem; }
.press-band__more { text-align: center; margin-top: 2.5rem; }

/* --------------------------------- CTA ---------------------------------- */
.cta { padding: clamp(5rem, 12vw, 10rem) 0; overflow: hidden; }
.cta__curve { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: color-mix(in srgb, #fff 40%, transparent); stroke-width: 1.2; }
.cta__inner { position: relative; }
.cta__title { font-size: var(--fs-h1); max-width: 16ch; margin-bottom: 1.4rem; }
.cta p { font-size: var(--fs-lead); max-width: 44ch; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ----------------------------- En-tête de page -------------------------- */
.page-head { position: relative; padding:calc(var(--header-h) + clamp(3rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.page-head__curve { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ocre); stroke-width: 1.3; opacity: .85; }
.page-head .wrap { position: relative; }
.page-head__title { font-size: var(--fs-h1); max-width: 14ch; }
.page-head__title .char { display: inline-block; }
.page-head__intro { font-size: var(--fs-lead); max-width: 52ch; margin: 1.6rem 0 0; color: var(--muted); }

/* ------------------------------- Parcours ------------------------------- */
.bio { padding-bottom: clamp(4rem, 9vw, 8rem); }
.bio__grid { display: grid; gap: 2.5rem; align-items: start; }
.bio__portrait { margin: 0; position: relative; isolation: isolate; }
.bio__portrait img, .bio__portrait .photo-soon { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 2px; }
.bio__frame { position: absolute; inset: 0; z-index: -1; transform: translate(16px, 16px); border: 1px solid var(--ocre); pointer-events: none; }
.bio__portrait figcaption { font-size: .8rem; color: var(--muted); padding-top: .6rem; }
.bio__text > p:first-child { font-family: var(--font-display); font-size: 1.32em; line-height: 1.38; font-weight: 350; }
.bio__text .w { display: inline; }
@media (min-width: 900px) { .bio__grid { grid-template-columns: 5fr 7fr; gap: 6vw; } .bio__portrait { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* Plongée : une phrase épinglée que l'on traverse pour entrer dans la frise */
.dive { position: relative; background: var(--cream); overflow: hidden; }
.dive__stage { min-height: 100svh; display: grid; place-items: center; padding: 6rem var(--gutter); }
.dive__text { margin: 0; max-width: 13ch; text-align: center; font-family: var(--font-display); font-weight: 350;
  font-size: clamp(2.6rem, 8.4vw, 8.6rem); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); perspective: 900px; }
.dive__text .word { transform-origin: 50% 100%; }

/* Voyage dans le temps : frise immersive */
.journey { --jp: 0; position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.journey__stage { position: relative; }
.journey__dust, .journey__glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey__glow { z-index: 0; opacity: .9;
  background:
    radial-gradient(55vmax 45vmax at calc(10% + var(--jp) * 80%) 65%, color-mix(in srgb, var(--ocre) 22%, transparent), transparent 70%),
    radial-gradient(40vmax 35vmax at calc(90% - var(--jp) * 70%) 15%, color-mix(in srgb, var(--red) 13%, transparent), transparent 70%); }
.journey__dust { z-index: 1; }
.journey__head { position: relative; z-index: 3; margin-bottom: 3rem; }
.journey__head .section-title { margin-bottom: 1rem; }
.journey__hint { display: inline-flex; align-items: center; gap: .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent); margin: 0; }
.journey__hint i { width: 48px; height: 1px; background: var(--ocre); position: relative; overflow: hidden; }
.journey__hint i::after { content: ''; position: absolute; inset: 0; background: var(--cream); animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.journey__counter, .journey__progress, .journey__path { display: none; }
.journey__viewport { position: relative; z-index: 2; }
.journey__track { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.journey__track::before, .journey__track::after { content: ''; position: absolute; left: calc(var(--gutter) + 7px); top: 0; bottom: 0; width: 1px; }
.journey__track::before { background: color-mix(in srgb, var(--cream) 16%, transparent); }
.journey__track::after { background: var(--ocre); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.journey__stops { list-style: none; margin: 0; padding: 0; }
.stop { --p: 1; position: relative; padding: 0 0 4.5rem 3rem; min-height: 11rem; }
.stop__ghost { position: absolute; right: 0; top: -1.5rem; z-index: -1; font-family: var(--font-display); font-weight: 300; line-height: 1;
  font-size: clamp(4.5rem, 20vw, 11rem); letter-spacing: -.05em; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--ocre) 60%, transparent); opacity: calc(.12 + var(--p) * .4); }
.stop__dot { position: absolute; left: 0; top: .5rem; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ocre);
  transform: scale(calc(.8 + var(--p) * .5)); box-shadow: 0 0 0 calc(var(--p) * 10px) color-mix(in srgb, var(--ocre) 18%, transparent), 0 0 calc(var(--p) * 30px) color-mix(in srgb, var(--ocre) 60%, transparent); }
.stop__dot i { position: absolute; inset: 3px; border-radius: 50%; background: var(--ocre); transform: scale(var(--p)); }
.stop__card { position: relative; max-width: 42ch; opacity: calc(.3 + var(--p) * .7);
  transform: translateY(calc((1 - var(--p)) * 18px)) scale(calc(.94 + var(--p) * .06)); transform-origin: left center; }
.stop__year { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--ocre); font-weight: 300; margin-bottom: .7rem; }
.stop h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.stop__text { color: color-mix(in srgb, var(--cream) 84%, transparent); font-size: 1.05rem; }
.stop__text p { margin: 0; }

@media (min-width: 1024px) {
  .journey.is-horizontal { padding: 0; }
  .journey.is-horizontal .journey__stage { height: 100svh; overflow: hidden; }
  .journey.is-horizontal .journey__head { position: absolute; z-index: 4; top: calc(var(--header-h) + 1.5rem); left: 0; right: 0; margin: 0 auto; }
  .journey.is-horizontal .journey__head .section-title { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .journey.is-horizontal .journey__viewport { position: absolute; inset: 0;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%, #000 80%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 22%, #000 80%, transparent 100%); }
  .journey.is-horizontal .stop__ghost { opacity: calc(.03 + var(--p) * var(--p) * .5); }
  .journey.is-horizontal .journey__track { position: absolute; left: 0; top: 0; height: 100%; width: max-content; max-width: none; padding: 0; margin: 0; will-change: transform; }
  .journey.is-horizontal .journey__track::before, .journey.is-horizontal .journey__track::after { display: none; }
  .journey.is-horizontal .journey__path { display: block; position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
  .journey__path path { fill: none; stroke-linecap: round; }
  .journey__path-bg { stroke: color-mix(in srgb, var(--cream) 14%, transparent); stroke-width: 1.5; stroke-dasharray: 2 7; }
  .journey__path-fg { stroke: var(--ocre); stroke-width: 2.2; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--ocre) 60%, transparent)); }
  .journey.is-horizontal .journey__stops { display: flex; height: 100%; padding: 0 45vw 0 40vw; }
  .journey.is-horizontal .stop { flex: none; width: clamp(320px, 31vw, 480px); height: 100%; min-height: 0; padding: 0; }
  .journey.is-horizontal .stop__dot { left: 0; top: calc(57% + var(--wy) * 15vh); margin: -8px 0 0 -8px; }
  .journey.is-horizontal .stop__card { position: absolute; left: 1.6rem; width: min(25vw, 360px); }
  .journey.is-horizontal .stop--up .stop__card { bottom: calc(43% - var(--wy) * 15vh + 2.2rem); }
  .journey.is-horizontal .stop--down .stop__card { top: calc(57% + var(--wy) * 15vh + 2.2rem); }
  .journey.is-horizontal .stop__ghost { right: auto; left: 0; top: calc(57% + var(--wy) * 15vh); font-size: clamp(9rem, 19vw, 21rem);
    transform: translate(calc(-35% + var(--gx, 0) * 1px), -54%); }
  .journey.is-horizontal .journey__counter { display: block; position: absolute; z-index: 4; left: var(--gutter); bottom: 3.4rem; }
  .journey__count { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .2em; color: color-mix(in srgb, var(--cream) 60%, transparent); margin-bottom: .3rem; }
  .journey__count b { color: var(--cream); }
  .journey__year { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: 1; color: var(--ocre); }
  .journey.is-horizontal .journey__progress { display: block; position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 1.8rem; height: 2px; background: color-mix(in srgb, var(--cream) 12%, transparent); }
  .journey__progress i { display: block; height: 100%; background: var(--ocre); transform-origin: left; transform: scaleX(var(--jp)); }
}

.assocs { padding: clamp(4rem, 9vw, 8rem) 0; }
.assocs__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .assocs__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.assoc { padding: clamp(1.6rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); position: relative; overflow: hidden; }
.assoc::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1.2px solid var(--ocre); opacity: .5; }
.assoc__since { font-weight: 800; color: var(--red); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.assoc h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .6rem; }
.assoc__role { font-style: italic; font-family: var(--font-display); font-size: 1.15rem; }
.assoc .prose { font-size: 1rem; }

.gallery { padding: clamp(4rem, 9vw, 8rem) 0; }
.gallery__grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery__grid:not(.gallery__grid--2) { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; border-radius: 2px; }
.gallery__btn img { aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__item figcaption { font-size: .88rem; padding-top: .6rem; color: var(--muted); }
.gallery__item figcaption span { color: var(--red); font-weight: 700; }

/* ---------------------------- Reconnaissance ---------------------------- */
.awards { padding: clamp(4rem, 9vw, 8rem) 0; }
.awards__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.award { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.award__year { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); line-height: 1.1; }
.award__status { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ocre-text); margin-bottom: .4rem; }
.award h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.15; }
.award__source { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.award__img { grid-column: 2; width: 160px; padding: 0; border: 0; background: none; }
@media (min-width: 900px) { .award { grid-template-columns: 8rem 1fr auto; } .award__year { font-size: 2.2rem; } .award__img { grid-column: 3; } }

.press { padding: clamp(4rem, 9vw, 8rem) 0; }
.press__list { display: grid; gap: 1rem; }
@media (min-width: 900px) { .press__list { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
.press-item { position: relative; background: var(--paper); border-radius: 12px; padding: clamp(1.4rem, 2.6vw, 2.2rem); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.press-item:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(14,12,10,.35); }
.press-item__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.press-item__meta strong { color: var(--red); }
.press-item__meta span { color: var(--muted); font-weight: 600; }
.press-item h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.25; padding-right: 2.2rem; }
.press-item h3 a { text-decoration: none; }
.press-item h3 a::after { content: ''; position: absolute; inset: 0; }
.press-item__excerpt { margin: .8rem 0 0; color: var(--muted); }
.press-item__arrow { position: absolute; right: 1.6rem; top: 50%; translate: 0 -50%; transition: transform .5s var(--ease-out); }
.press-item:hover .press-item__arrow { transform: translateX(6px) rotate(-30deg); }

.testimonials { padding: clamp(5rem, 10vw, 9rem) 0; }
.testimonials__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 5vw; } }
.testimonial { margin: 0; border-top: 1px solid var(--ocre); padding-top: 1.6rem; }
.testimonial blockquote { margin: 0 0 1.2rem; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.35; }
.testimonial figcaption { display: flex; flex-direction: column; gap: .2rem; font-size: .92rem; }
.testimonial figcaption span { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.testimonial figcaption em { color: var(--ocre); }

.embeds { padding: clamp(4rem, 9vw, 7rem) 0; }
.embeds__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .embeds__grid { grid-template-columns: repeat(2, 1fr); } }
.embed { margin: 0; }
.embed__frame { aspect-ratio: 16/9; background: var(--ink); border-radius: 8px; overflow: hidden; }
.embed--soundcloud .embed__frame { aspect-ratio: auto; height: 166px; }
.embed__frame iframe { width: 100%; height: 100%; border: 0; }
.embed__load { width: 100%; height: 100%; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; color: var(--cream); background: linear-gradient(rgba(14,12,10,.5), rgba(14,12,10,.7)), var(--thumb, none) center/cover, var(--ink); font-weight: 700; font-size: .85rem; }
.embed__play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.embed__load:hover .embed__play { transform: scale(1.12); }
.embed figcaption { padding-top: .8rem; display: grid; gap: .3rem; }
.embed figcaption p { margin: 0; color: var(--muted); }
.embed figcaption .link-arrow { justify-self: start; font-size: .8rem; }

.presskit { padding: clamp(3rem, 7vw, 5rem) 0 clamp(5rem, 9vw, 8rem); }
.presskit__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--ink); border-radius: 12px; padding: clamp(1.6rem, 3vw, 2.6rem); }
.presskit h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.presskit p { margin: 0; color: var(--muted); }

/* -------------------------------- Œuvres -------------------------------- */
.catalog { padding-bottom: clamp(5rem, 10vw, 8rem); }
.catalog__tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 3rem; position: sticky; top: calc(var(--header-h) - 1px); z-index: 5; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: .6rem; border-bottom: 1.5px solid var(--ink); padding: .5rem 0; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.1rem; padding: .3rem 0; outline: none; min-width: 0; }
/* Filtres : bande coulissante au doigt (et à la souris), bords en fondu pour signaler la suite */
.filters { display: flex; gap: .5rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: .1rem 0 .3rem;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; scroll-snap-type: x proximity;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); cursor: grab; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { scroll-snap-align: start; }
.filters.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.filters.is-dragging .chip { pointer-events: none; }
.filters.has-more-end { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.filters.has-more-start { -webkit-mask: linear-gradient(90deg, transparent, #000 56px); mask: linear-gradient(90deg, transparent, #000 56px); }
.filters.has-more-start.has-more-end { -webkit-mask: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
@media (min-width: 1024px) { .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; cursor: auto; } }
.chip { flex: none; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; font-weight: 600; transition: background .3s, color .3s; min-height: 40px; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--cream); }
.select { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; min-width: 0; }
.select select { flex: 1 1 auto; min-width: 0; }
.select select { font: inherit; border: 1px solid var(--ink); border-radius: 999px; padding: .5rem 2rem .5rem 1rem; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0c0a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .6rem center/14px no-repeat; appearance: none; min-height: 40px; max-width: 100%; }
.catalog__count { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.catalog__empty { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; padding: 4rem 0; }
@media (min-width: 1024px) { .catalog__tools { grid-template-columns: minmax(240px, 1fr) auto; align-items: center; } .catalog__tools .filters { grid-column: 1 / -1; grid-row: 2; } .catalog__count { text-align: right; } }

/* ------------------------------ Fiche livre ----------------------------- */
.book { padding: calc(var(--header-h) + 2rem) 0 clamp(4rem, 9vw, 7rem); }
.book__grid { display: grid; gap: 2.5rem; }
.book__back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; text-decoration: none; margin-bottom: 1.6rem; }
.book__visual { max-width: 460px; width: 100%; margin-inline: auto; }
.book__visual .tome { width: min(100%, 400px); margin: 0 auto; cursor: pointer; }
.book__visual-tools { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.book__title { font-size: clamp(2.3rem, 5.4vw, 5rem); margin-bottom: .6rem; }
.book__subtitle { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lead); color: var(--muted); }
.book__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 2rem; }
.book__order { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.6rem 0; border-block: 1px solid var(--line); margin-bottom: 2rem; }
.book__order-help { margin: 0; font-size: .88rem; color: var(--muted); }
.book__summary { margin-bottom: 2.4rem; }
.book__details { display: grid; gap: 0; margin: 0 0 2rem; border-top: 1px solid var(--ink); }
.book__details div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.book__details dt { font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.book__details dd { margin: 0; }
.share { display: flex; align-items: center; gap: .5rem; padding: 1.5rem 0; }
.share > span { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-right: .6rem; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; background: none; transition: background .3s, color .3s; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--cream); }
.share .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1024px) { .book__grid { grid-template-columns: 5fr 7fr; gap: 6vw; } .book__visual { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; margin: 0; } }

/* ------------------------------- L'éditeur ------------------------------ */
.house { padding-bottom: clamp(4rem, 9vw, 7rem); }
.house__grid { display: grid; gap: 3rem; }
.house__aside { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.house__figures { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; width: 100%; }
.house__figures li { border-top: 1px solid var(--ink); padding-top: 1rem; }
.house__figures strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--ocre-text); }
@media (min-width: 900px) { .house__grid { grid-template-columns: 7fr 4fr; gap: 6vw; } .house__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.collections { padding: clamp(5rem, 10vw, 8rem) 0; }
.collections__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.collections__list li { display: grid; grid-template-columns: 3rem 1fr; gap: .4rem 1.6rem; padding: 1.6rem 0; border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent); }
.collections__num { color: var(--ocre); font-weight: 700; font-size: .8rem; letter-spacing: .1em; padding-top: .6rem; }
.collections__list h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.collections__list p { grid-column: 2; margin: 0; color: color-mix(in srgb, var(--cream) 75%, transparent); max-width: 60ch; }

/* ------------------------------- Actualités ----------------------------- */
.news { padding-bottom: clamp(5rem, 10vw, 8rem); }
.news__grid { display: grid; gap: 1.6rem; }
.news__timeline { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .news__timeline { grid-template-columns: 8rem 1fr 1fr; gap: 2rem; } .news__year { grid-column: 1; } .news__timeline .news-card { grid-column: span 1; } .news__year + .news-card { grid-column: 2; } }
.news__year { font-family: var(--font-display); font-size: 2.4rem; color: var(--ocre-text); font-weight: 300; border-top: 1px solid var(--ink); padding-top: .6rem; }
.news-card a { display: grid; text-decoration: none; background: var(--paper); border-radius: 12px; overflow: hidden; height: 100%; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.news-card a:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(14,12,10,.35); }
.news-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.news-card a:hover .news-card__media img { transform: scale(1.05); }
.news-card__date-art { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--cream); background: radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--ocre) 55%, transparent), transparent 60%), var(--ink); }
.news-card__date-art span { font-family: var(--font-display); font-size: 4rem; line-height: 1; }
.news-card__date-art small { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--ocre); }
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: .8rem; }
.news-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.news-card__place { display: flex; gap: .3rem; align-items: center; font-size: .88rem; margin: .6rem 0 0; }
.news-card__excerpt { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .news-card--big a { grid-template-columns: 1.3fr 1fr; } .news-card--big .news-card__media { aspect-ratio: auto; min-height: 320px; } .news-card--big h3 { font-size: 2.2rem; } .news-card--big .news-card__body { padding: 2.4rem; align-self: center; } }

.article { padding: calc(var(--header-h) + 2rem) 0 clamp(4rem, 9vw, 7rem); }
.article__title { font-size: clamp(2.2rem, 5vw, 4.4rem); margin: .6rem 0 1rem; }
.article__place { display: flex; gap: .4rem; align-items: center; font-weight: 600; }
.article__media { margin: 2.5rem auto; overflow: hidden; border-radius: 4px; }
.article__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__body { padding-top: 1.5rem; }

/* -------------------------------- Contact ------------------------------- */
.contact { padding-bottom: clamp(5rem, 10vw, 8rem); }
.contact__grid { display: grid; gap: 3rem; }
.contact__channels { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: .8rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--ink); border-radius: 12px; text-decoration: none; transition: background .4s, color .4s; }
.channel:hover { background: var(--ink); color: var(--cream); }
.channel .icon { width: 2rem; height: 2rem; }
.channel span { display: flex; flex-direction: column; }
.channel small { color: var(--muted); font-size: .9rem; }
.channel:hover small { color: inherit; }
.channel--wa { background: var(--red); color: #fff; border-color: var(--red); }
.channel--wa small { color: rgba(255,255,255,.85); }
/* Réseaux sociaux : icônes seules, rondes */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.site-footer .socials { display: flex; gap: .6rem; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
.socials a .icon { width: 1.2rem; height: 1.2rem; }
.socials a:hover, .socials a:focus-visible { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-3px); }
.socials--light a { border-color: color-mix(in srgb, var(--cream) 28%, transparent); color: var(--cream); }
.socials--light a:hover, .socials--light a:focus-visible { background: var(--ocre); border-color: var(--ocre); color: var(--ink); }
.site-footer .socials a { display: grid; opacity: 1; }
.site-footer .socials a:hover { transform: translateY(-3px); color: var(--ink); }
.contact__socials { margin-bottom: 2.5rem; }
.contact__form { background: var(--paper); border-radius: 16px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px -40px rgba(14,12,10,.35); }
.contact__form h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.6rem; }
.field-row { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem; }
.field span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { font: inherit; padding: .85rem 1rem; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 8px; background: var(--cream); transition: border-color .3s, box-shadow .3s; min-height: 48px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocre) 35%, transparent); }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; margin: .4rem 0 1.6rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .9rem 1.1rem; border-radius: 8px; font-weight: 600; }
.alert--ok { background: color-mix(in srgb, #1f7a3a 12%, var(--paper)); color: #14532d; }
.alert--error { background: color-mix(in srgb, var(--red) 10%, var(--paper)); color: #8b0000; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 4fr 6fr; gap: 6vw; align-items: start; } }

.textpage { padding-bottom: clamp(5rem, 10vw, 8rem); }
.textpage .prose { font-size: 1.05rem; }

/* ---------------------------------- 404 --------------------------------- */
.notfound { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; overflow: hidden; }
.notfound__curve { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ocre); stroke-width: 1.4; }
.notfound .wrap { position: relative; }
.notfound__code { font-family: var(--font-display); font-size: clamp(8rem, 30vw, 22rem); line-height: .8; margin: 0 0 1.5rem; letter-spacing: -.06em; font-weight: 300; }
.notfound__code em { color: var(--red); }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); max-width: 22ch; margin-bottom: 1rem; }

/* --------------------------------- Pied --------------------------------- */
.site-footer { position: relative; background: var(--ink); color: var(--cream); padding: clamp(4rem, 9vw, 7rem) var(--gutter) 2rem; overflow: hidden; }
.footer__curve { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 180px; fill: none; stroke: var(--ocre); stroke-width: 1; opacity: .45; pointer-events: none; }
.footer__top { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; gap: 3rem; }
.footer__name { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 7.4vw, 7.2rem); line-height: .9; letter-spacing: -.04em; text-decoration: none; font-weight: 300; font-style: italic; }
.footer__sign p { color: color-mix(in srgb, var(--cream) 70%, transparent); max-width: 40ch; margin-top: 1rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer ul a { text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; opacity: .85; transition: opacity .3s, transform .4s var(--ease-out); }
.site-footer ul a:hover { opacity: 1; transform: translateX(4px); color: var(--ocre); }
.footer__bottom { position: relative; max-width: var(--maxw); margin: 4rem auto 0; padding-top: 1.6rem; border-top: 1px solid color-mix(in srgb, var(--cream) 15%, transparent); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .82rem; color: color-mix(in srgb, var(--cream) 70%, transparent); }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--cream); }
.credit a { color: var(--ocre); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* ----------------------------- Cookies, visionneuse ---------------------- */
.cookie { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.2rem 1.4rem; box-shadow: 0 30px 60px -20px rgba(14,12,10,.45); display: grid; gap: 1rem; font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie div { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }

.lightbox { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--ink) 94%, transparent); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-height: calc(100svh - 9rem); width: auto; object-fit: contain; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: var(--cream); font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; background: none; border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: var(--cream); color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox__nav { display: none; }

/* ------------------------------- Curseur -------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 99; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
  .cursor__dot { width: 6px; height: 6px; background: var(--red); }
  .cursor__ring { width: 36px; height: 36px; border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), background .3s, border-color .3s; mix-blend-mode: normal; }
  .cursor__ring em { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); opacity: 0; transition: opacity .3s; white-space: nowrap; }
  .cursor.is-link .cursor__ring { width: 56px; height: 56px; border-color: var(--red); }
  .cursor.is-label .cursor__ring { width: 86px; height: 86px; background: var(--ink); border-color: var(--ink); }
  .cursor.is-label .cursor__ring em { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-dark .cursor__ring { border-color: color-mix(in srgb, var(--cream) 60%, transparent); }
  .cursor.is-dark.is-label .cursor__ring { background: var(--ocre); border-color: var(--ocre); }
  .cursor.is-dark.is-label .cursor__ring em { color: var(--ink); }
  .cursor.is-hidden { opacity: 0; }
}

/* --------------------------------- Grain -------------------------------- */
.grain { position: fixed; inset: -50%; z-index: 98; pointer-events: none; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------------- Découpage typographique (SplitText) --------------------
   Les lettres de Fraunces (y, g, p, j, italiques) débordent de leur boîte quand
   l'interligne est serré : chaque boîte découpée et son masque sont agrandis
   pour que jambages et pentes ne soient jamais rognés, sans décaler la mise en page. */
.char, .word, .line, .char-mask, .word-mask, .line-mask {
  padding-bottom: .22em; margin-bottom: -.22em; padding-top: .06em; margin-top: -.06em;
}
.char, .char-mask { padding-right: .04em; margin-right: -.04em; }
.word-mask, .line-mask { padding-inline: .08em; margin-inline: -.08em; }

/* ------------------- États initiaux des animations (JS actif) ------------ */
@keyframes plume-failsafe { to { visibility: visible; opacity: 1; } }
.js [data-hero-chars], .js [data-hero-fade], .js [data-hero-portrait], .js .page-head__title, .js [data-split-chars] {
  visibility: hidden; animation: plume-failsafe 0s 3s forwards;
}

/* -------------------------- Transitions de page ------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: var(--ease-out); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-1.5%); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(2.5%); } }

/* -------------------------- Mouvement réduit ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-hero-chars], .js [data-hero-fade], .js [data-hero-portrait], .js .page-head__title, .js [data-split-chars] { visibility: visible; animation: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .loader, .grain, .cursor { display: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
  .site-header, .menu, .cookie, .cursor, .grain, .loader, .hero__ink, .library, .site-footer .footer__curve { display: none !important; }
  body { background: #fff; }
}
