/* =========================================================
   Sabine Pérois — une seule page, parcourue comme un livre.
   Style éditorial suisse : capitales grasses serrées (Inter Tight),
   étiquettes entre parenthèses, citations en Instrument Serif italique.
   La couleur de fond (--fond) et du texte (--encre) change selon le
   chapitre / le livre à l'écran : elle vient des couvertures.
   ========================================================= */
:root {
  --fond: #FAF9F7;
  --encre: #171717;
  --papier: #FAF9F7;
  --sable: #EFEEEB;
  --nuit: #171717;
  --corail: var(--encre);
  --gris: #F1F0EE;
  --gris-2: #E4E2DE;
  --noir: #0E0E0E;
  --ligne: color-mix(in srgb, var(--encre) 16%, transparent);
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --marge: clamp(16px, 3vw, 40px);
  --rayon: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .9s ease, color .9s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
sup { font-size: .6em; }
::selection { background: var(--encre); color: var(--fond); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -0.035em; line-height: .9; margin: 0; }
.t-geant { font-size: clamp(3.4rem, 13vw, 12.5rem); letter-spacing: -0.05em; line-height: .86; }
.t-xl { font-size: clamp(2.3rem, 6vw, 5.4rem); }
.t-l  { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.etiquette { font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .62; }
.serif { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-style: italic; }
.chapo { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.42; max-width: 36ch; letter-spacing: -0.01em; margin: 0; }

.cadre { padding-inline: var(--marge); max-width: 1480px; margin-inline: auto; }
.bloc { padding-block: clamp(80px, 11vw, 160px); }
.rubrique {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid currentColor; margin-bottom: clamp(32px, 5vw, 64px);
}

/* ---------- Barre de progression + en-tête ---------- */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 35; background: var(--corail); transform-origin: left; transform: scaleX(0); transition: background-color .9s; }
.entete { position: sticky; top: 0; z-index: 30; background: var(--fond); transition: background-color .9s ease; }
.entete__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.marque { font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.marque small { font-weight: 500; text-transform: none; margin-left: 8px; letter-spacing: 0; font-size: .82em; opacity: .6; }
.chapitre-courant { display: inline-block; transition: opacity .3s, transform .3s; }
.chapitre-courant.change { opacity: 0; transform: translateY(6px); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav a:hover::after, .nav a.actif::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; padding: 8px 0; color: inherit; }

.voile { position: fixed; inset: 0; z-index: 40; background: var(--nuit); color: #fff; display: flex; flex-direction: column; padding: 0 var(--marge) 28px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.voile.ouvert { visibility: visible; opacity: 1; }
.voile__tete { display: flex; justify-content: space-between; align-items: center; height: 64px; border-bottom: 1px solid rgba(255,255,255,.14); }
.voile__fermer { background: none; border: 0; color: #fff; font: inherit; font-weight: 500; cursor: pointer; padding: 8px 0; }
.voile nav { display: flex; flex-direction: column; margin-top: 8px; }
.voile nav a { color: #fff; text-decoration: none; font-size: clamp(1.9rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.035em; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: baseline; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
.voile nav a span { font-size: .85rem; color: #8B8883; font-weight: 500; letter-spacing: 0; }
.voile.ouvert nav a { opacity: 1; transform: none; }
.voile.ouvert nav a:nth-child(2) { transition-delay: .04s; } .voile.ouvert nav a:nth-child(3) { transition-delay: .08s; }
.voile.ouvert nav a:nth-child(4) { transition-delay: .12s; } .voile.ouvert nav a:nth-child(5) { transition-delay: .16s; }
.voile.ouvert nav a:nth-child(6) { transition-delay: .2s; }
.voile__pied { margin-top: auto; display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: #8B8883; padding-top: 24px; }
.voile__pied a { color: #CFCBC4; }
body.bloque { overflow: hidden; }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: block; } }

/* ---------- Boutons (suivent la couleur du chapitre) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 15px 20px; border-radius: var(--rayon); text-decoration: none; font-weight: 600; font-size: .95rem;
  background: var(--encre); color: var(--fond); border: 1px solid var(--encre);
  transition: background-color .25s, color .25s, border-color .9s; cursor: pointer; font-family: inherit; min-width: 240px;
}
.btn:hover { background: transparent; color: var(--encre); }
.btn--clair { background: transparent; color: var(--encre); }
.btn--clair:hover { background: var(--encre); color: var(--fond); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .btn { width: 100%; min-width: 0; } }

.couv { box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 18px 34px -18px rgba(0,0,0,.45); border-radius: 2px; background: #fff; }

/* ---------- Rideau d'introduction ---------- */
.rideau {
  position: fixed; inset: 0; z-index: 100; background: var(--nuit); color: var(--papier);
  display: grid; grid-template-rows: auto 1fr auto; padding: 22px var(--marge);
  transition: transform 1.1s cubic-bezier(.76, 0, .24, 1);
}
.rideau__ligne { display: flex; justify-content: space-between; font-size: .85rem; color: #9C9C9C; }
.rideau__num { align-self: end; font-size: clamp(6rem, 24vw, 22rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8; font-variant-numeric: tabular-nums; padding-bottom: 12px; }
.sans-intro .rideau { display: none; }
.intro body { overflow: hidden; }
.rideau.leve { transform: translateY(-100%); }
.intro .ouverture * { animation-play-state: paused !important; }

/* ---------- Ouverture : titre + éventail de livres ---------- */
@property --ecart { syntax: "<number>"; inherits: true; initial-value: 0; }
.ouverture { position: relative; height: 175svh; }
.ouverture__collant { position: sticky; top: 64px; height: calc(100svh - 64px); display: flex; flex-direction: column; overflow: clip; }
.ouverture__grille { flex: 1; width: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.ouverture__texte { will-change: transform, opacity; }
.ouverture__titre { font-size: clamp(3.2rem, 8.4vw, 9rem); line-height: .9; letter-spacing: -0.05em; }
.ouverture__titre .serif { font-size: 1.1em; letter-spacing: -0.03em; }
.ouverture__chapo { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 34ch; margin: clamp(22px, 3vw, 36px) 0 0; opacity: .8; animation: entree-fondu 1.2s .7s both; }
/* marge intérieure généreuse : les italiques débordent à gauche et le « g » descend sous la ligne */
.ligne { display: block; overflow: hidden; padding: .14em .15em .24em; margin: -.14em -.15em -.18em; }
.ligne > span { display: block; animation: entree-ligne 1.1s var(--ease) both; }
.ligne--2 > span { animation-delay: .1s; }
.ligne--3 > span { animation-delay: .2s; }
@keyframes entree-ligne { from { transform: translateY(108%); } }
@keyframes entree-fondu { from { opacity: 0; } }

/* L'éventail : 7 couvertures qui s'ouvrent depuis un même point, sous la pile */
.eventail { position: relative; height: min(68svh, 640px); --ecart: 0; transition: --ecart 1.6s var(--ease) .5s; }
.eventail.ouvert { --ecart: 1; }
.eventail__livre {
  --pos: calc(var(--i) - 3);
  position: absolute; left: 50%; bottom: 8%; width: clamp(130px, 13vw, 210px);
  transform-origin: 50% 300%;
  transform: translateX(-50%) rotate(calc(var(--pos) * var(--ecart) * var(--angle, 8deg))) translateY(calc(var(--ecart) * -10px));
  z-index: calc(10 - (var(--i) - 3) * (var(--i) - 3));
  transition: translate .45s var(--ease), scale .45s var(--ease);
}
.eventail__livre--carre { bottom: 16%; }
.eventail__livre img { width: 100%; border-radius: 2px 4px 4px 2px; box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 24px 40px -22px rgba(0,0,0,.55); }
.eventail__livre:hover { translate: 0 -22px; scale: 1.04; }
.eventail__livre::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); border-radius: 2px 0 0 2px; pointer-events: none; }

.ouverture__bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px 22px; border-top: 1px solid var(--ligne); width: 100%; animation: entree-fondu 1s .9s both; }
.signature { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.signature img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.signature strong { display: block; font-weight: 600; }
.signature span { line-height: 1.3; opacity: .85; }
.defiler { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; opacity: .75; }
.defiler i { display: block; width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: tombe 1.8s ease-in-out infinite; }
@keyframes tombe { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 860px) {
  .ouverture { height: 150svh; }
  .ouverture__grille { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; align-items: start; padding-block: 12px; gap: clamp(8px, 3svh, 32px); }
  .ouverture__titre { font-size: clamp(2.7rem, 12.5vw, 5.6rem); }
  .ouverture__chapo { font-size: 1rem; margin-top: 14px; max-width: 40ch; }
  .eventail { height: clamp(200px, 36svh, 340px); }
  .eventail__livre { width: clamp(78px, 21vw, 150px); bottom: 2%; transform-origin: 50% 320%; --angle: 7deg; }
  .eventail__livre--carre { bottom: 13%; }
  .signature span { font-size: .82rem; }
  .defiler { display: none; }
}

/* ---------- Prologue : le texte s'allume mot à mot ---------- */
.allume { font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; margin: 0; max-width: 22ch; }
.allume .m { opacity: .13; transition: opacity .25s linear; }
.allume .m.on { opacity: 1; }

/* ---------- Sommaire : cartes empilées ---------- */
.univers { padding-bottom: clamp(80px, 11vw, 160px); }
.pile { display: grid; gap: 18px; }
.carte { position: sticky; top: calc(84px + var(--i) * 18px); display: grid; grid-template-rows: auto 1fr auto; min-height: min(560px, 76svh); background: var(--sable); border-radius: var(--rayon); padding: clamp(20px, 3vw, 36px); text-decoration: none; color: var(--nuit); overflow: hidden; }
.carte--noire { background: var(--nuit); color: var(--papier); }
.carte--sable { background: var(--corail); color: var(--papier); }
.carte__tete { display: flex; justify-content: space-between; align-items: flex-start; }
.carte__num { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.carte__visuel { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 24px); padding-block: 24px; }
.carte__visuel img { width: clamp(90px, 12vw, 180px); transition: transform .5s var(--ease); }
.carte__visuel--portrait img { width: clamp(120px, 14vw, 210px); }
.carte:hover .carte__visuel img:nth-child(odd) { transform: translateY(-8px) rotate(-1.5deg); }
.carte:hover .carte__visuel img:nth-child(even) { transform: translateY(-8px) rotate(1.5deg); }
.carte__pied { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: end; }
.carte__pied p { margin: 0; max-width: 42ch; font-size: 1rem; opacity: .85; }
.carte__lien { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: .92rem; margin-top: 14px; }
.carte__lien svg { width: 16px; height: 16px; transition: transform .25s; }
.carte:hover .carte__lien svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .carte { top: calc(76px + var(--i) * 12px); min-height: 0; }
  .carte__pied { grid-template-columns: 1fr; gap: 10px; }
  .carte__visuel img { width: 22%; } .carte__visuel--portrait img { width: 34%; }
}

/* ---------- Têtes de chapitre ---------- */
.chapitre-tete { padding-block: clamp(96px, 14vw, 180px) clamp(40px, 6vw, 72px); }
.chapitre-tete .t-geant { font-size: clamp(3rem, 12vw, 11.5rem); }
.chapitre-tete__chapo {
  margin: clamp(24px, 3.5vw, 44px) 0 0; max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.45; letter-spacing: -0.01em;
}

/* ---------- Livre en 3D ---------- */
.scene { display: inline-block; perspective: 1600px; filter: drop-shadow(0 30px 34px rgba(0,0,0,.28)); }
.livre3d {
  display: block; position: relative; transform-style: preserve-3d;
  transform: rotateY(var(--ry, 26deg)) rotateX(var(--rx, 4deg)) translateY(var(--ty, 0px));
  transition: transform .2s linear;
}
.livre3d img { display: block; width: 100%; border-radius: 1px 3px 3px 1px; transform: translateZ(calc(var(--ep) / 2)); backface-visibility: hidden; }
.livre3d::before, .livre3d::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--ep); }
.livre3d::before { /* dos */
  left: 0; transform-origin: left center; transform: translateZ(calc(var(--ep) / -2)) rotateY(-90deg);
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 45%, rgba(0,0,0,.25)), var(--dos);
}
.livre3d::after { /* tranche des pages */
  right: 0; top: 1.2%; bottom: 1.2%; transform-origin: right center; transform: translateZ(calc(var(--ep) / -2)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #F4F4F2 0 2px, #DADAD7 2px 3px);
}

/* ---------- Jeunesse : défilement horizontal ---------- */
.horizontal { position: relative; }
.horizontal__collant { position: sticky; top: 64px; height: calc(100svh - 64px); overflow: hidden; display: flex; flex-direction: column; }
.horizontal__compteur { width: 100%; display: flex; justify-content: space-between; padding-top: 18px; }
.horizontal__piste { flex: 1; display: flex; will-change: transform; }
.panneau { flex: 0 0 100vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: 12px max(var(--marge), calc((100vw - 1480px) / 2 + var(--marge))); }
.panneau__visuel { display: flex; justify-content: center; }
.scene--panneau { width: min(34vw, 430px, 52svh); }
.panneau__texte { max-width: 560px; }
.panneau__resume { opacity: .85; max-width: 52ch; }
.panneau .boutons { margin-top: 26px; }
.horizontal__barre { height: 2px; margin: 0 var(--marge) 22px; background: var(--ligne); }
.horizontal__barre span { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .panneau { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-block: 8px; }
  .scene--panneau { width: min(46vw, 210px, 26svh); }
  .panneau__texte .t-l { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
  .panneau .livre__accroche { font-size: 1.15rem; margin: 10px 0 12px; }
  .panneau__resume { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .panneau .livre__haut { margin-bottom: 14px; }
  .panneau .boutons { margin-top: 14px; }
  .panneau .btn { padding: 12px 16px; }
  .panneau .autre-langue { display: none; }
}

@media (min-width: 600px) and (max-width: 860px) {
  .scene--panneau { width: min(40vw, 300px, 32svh); }
  .panneau__texte { max-width: 620px; margin-inline: auto; }
}

/* ---------- Noël ---------- */
.noel { position: relative; overflow: clip; padding-block: clamp(110px, 16vw, 220px) clamp(20px, 4vw, 40px); }
.noel__etoiles { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; animation: scintille 4s ease-in-out infinite alternate; }
@keyframes scintille { from { opacity: .35; } to { opacity: 1; } }
.noel .cadre { position: relative; }

/* ---------- Chapitre d'un livre (roman, calendrier) ---------- */
.roman { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-inline: max(var(--marge), calc((100vw - 1480px) / 2 + var(--marge))); }
.roman__visuel { position: sticky; top: 64px; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; }
.scene--defile { width: min(30vw, 400px, 56svh); }
.roman__texte { padding-block: clamp(80px, 22svh, 260px); max-width: 640px; }
.livre__haut { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid currentColor; margin-bottom: 26px; }
.livre__accroche { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.18; margin: 18px 0 28px; max-width: 30ch; }
.livre__texte { max-width: 60ch; }
.livre__texte p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.3em; line-height: .8; padding: 6px 10px 0 0; }
.fiche { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ligne); margin: 28px 0 32px; max-width: 60ch; }
.fiche div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ligne); }
.fiche dt { font-size: .78rem; opacity: .62; }
.fiche dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.livre__avis { margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ligne); max-width: 60ch; }
.livre__avis blockquote { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.25; }
.livre__avis figcaption { font-size: .85rem; opacity: .62; }
.autre-langue { margin-top: 18px; font-size: .92rem; }
.autre-langue a { font-weight: 600; }
@media (max-width: 860px) {
  .roman { grid-template-columns: 1fr; gap: 0; }
  .roman__visuel { position: relative; top: 0; height: auto; padding-top: 72px; }
  .scene--defile { width: min(56vw, 260px); }
  .roman__texte { padding-block: 40px 88px; }
}

/* ---------- Avis : une rangée qui défile de droite à gauche ---------- */
.avis-defile { overflow: clip; }
.avis-rang { margin-bottom: 0; }
.avis-piste { display: flex; gap: 18px; width: max-content; will-change: transform; }
.avis-carte {
  margin: 0; width: clamp(290px, 31vw, 460px); flex: none; display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--rayon);
  background: color-mix(in srgb, var(--encre) 5%, transparent);
}
.avis-carte__etoiles { letter-spacing: 3px; font-size: .9rem; margin-bottom: 16px; }
.avis-carte blockquote { margin: 0 0 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.22; }
.avis-carte figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.avis-carte figcaption strong { font-size: 1.05rem; font-weight: 600; }
.avis-carte figcaption span { font-size: .8rem; opacity: .62; text-align: right; }

/* ---------- L'auteure ---------- */
.auteure { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.auteure__photo { margin: 0; position: sticky; top: 96px; }
.portrait { position: relative; max-width: 420px; border-radius: var(--rayon); overflow: hidden; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.portrait__bi { position: absolute; inset: 0; transition: opacity .8s ease; }
.portrait:hover .portrait__bi { opacity: 0; }
.auteure__photo figcaption { font-size: .85rem; opacity: .62; margin-top: 10px; }
.devoile { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.devoile.vu { clip-path: inset(0 0 0 0); }
.citation-grande { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; margin: 40px 0 0; letter-spacing: -0.01em; }
.auteure__texte { max-width: 58ch; font-size: 1.06rem; }
@media (max-width: 860px) { .auteure { grid-template-columns: 1fr; } .auteure__photo { position: relative; top: 0; } .portrait { max-width: 260px; } }
.parcours { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.parcours li { display: grid; grid-template-columns: 70px 260px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--ligne); align-items: baseline; }
.parcours .num { font-size: .85rem; opacity: .62; }
.parcours h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.parcours p { margin: 0; opacity: .75; max-width: 56ch; }
@media (max-width: 860px) { .parcours li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__mail { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; border-bottom: 2px solid currentColor; word-break: break-all; }
.raisons { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid currentColor; }
.raisons li { padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.raisons strong { display: block; font-size: 1.05rem; }
.raisons span { opacity: .7; font-size: .95rem; }
.formulaire { background: color-mix(in srgb, var(--encre) 6%, transparent); border-radius: var(--rayon); padding: clamp(22px, 4vw, 44px); display: grid; gap: 22px; }
.formulaire label { display: grid; gap: 6px; font-size: .85rem; }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-size: 1.05rem; color: inherit; background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--encre) 35%, transparent); padding: 10px 0; border-radius: 0; }
.formulaire select { appearance: none; -webkit-appearance: none; }
.formulaire select option { color: #1A1A1A; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-bottom-color: var(--encre); }
.formulaire textarea { min-height: 140px; resize: vertical; }
.formulaire small { opacity: .62; font-size: .82rem; }
.formulaire .btn { justify-self: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pied ---------- */
.pied { padding-block: 26px; font-size: .86rem; border-top: 1px solid var(--ligne); }
.pied__in { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.pied a { text-decoration: none; opacity: .8; }
.pied a:hover { opacity: 1; }
.pied nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .pied__in { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Apparitions ---------- */
.revele { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revele.vu { opacity: 1; transform: none; }
.titre-revele .mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .12em .22em; margin: -.16em -.12em -.22em; }
.titre-revele .mot > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--n) * 50ms); }
.titre-revele.vu .mot > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revele, .titre-revele .mot > span { opacity: 1; transform: none; }
  .allume .m { opacity: 1; }
  .devoile { clip-path: none; }
}

/* ---------- Accent corail (charte) ---------- */
.serif { color: var(--corail); }
.carte .serif, .carte--sable .carte__num { color: inherit; }
.carte__num, .livre__haut .etiquette:last-child, .parcours .num, .avis-carte__etoiles { color: var(--corail); opacity: 1; }
.carte--sable .carte__num { color: var(--papier); }
.livre__texte p:first-child::first-letter { color: var(--corail); }
.btn:hover { background: var(--corail); border-color: var(--corail); color: var(--papier); }
.btn--clair:hover { background: var(--corail); border-color: var(--corail); color: var(--papier); }
.nav a.actif, .nav a:hover { color: var(--corail); }
.avis-carte { background: var(--sable); }
.contact__mail { color: var(--corail); }
::selection { background: var(--corail); color: var(--papier); }

/* =====================================================================
   Modifications de Sabine (novembre 2026)
   ===================================================================== */

/* ---------- Menu : sous-menu Livres jeunesse ---------- */
.nav { align-items: center; }
.nav__groupe { position: relative; }
.nav__groupe > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__groupe > a svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__sous {
  position: absolute; top: calc(100% + 12px); left: -14px; min-width: 170px;
  background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 8px; display: grid; gap: 2px; box-shadow: 0 18px 40px -20px rgba(31,42,68,.4);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sous::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__sous a { padding: 9px 12px; border-radius: 4px; white-space: nowrap; }
.nav__sous a::after { display: none; }
.nav__sous a:hover { background: var(--sable); color: var(--corail); }
.nav__groupe:hover .nav__sous, .nav__groupe:focus-within .nav__sous { opacity: 1; visibility: visible; transform: none; }
.nav__groupe:hover > a svg { transform: rotate(180deg); }
.voile nav a.voile__sous { font-size: clamp(1.2rem, 5.4vw, 1.6rem); font-weight: 500; padding: 10px 0 10px 22px; color: #CFCFCF; }

/* ---------- Ouverture ---------- */
.ouverture__nom { font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; color: var(--corail); animation: entree-fondu 1s .1s both; }
.ouverture__titre { font-size: clamp(2.5rem, 5.6vw, 6.2rem); line-height: .94; }
@media (max-width: 860px) { .ouverture__titre { font-size: clamp(2.2rem, 9.6vw, 4.4rem); } }

/* ---------- Deux univers ---------- */
.univers { padding-top: clamp(40px, 6vw, 80px); }
.univers__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
.univers__carte { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.univers__image { display: block; overflow: hidden; border-radius: var(--rayon); aspect-ratio: 16 / 10; background: var(--sable); }
.univers__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.univers__carte:hover .univers__image img { transform: scale(1.05); }
.univers__titre { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid currentColor; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; }
.univers__titre svg { width: 26px; height: 26px; color: var(--corail); transition: transform .3s; }
.univers__carte:hover .univers__titre svg { transform: translateX(6px); }
.univers__texte { margin-top: 12px; font-size: 1.05rem; opacity: .8; max-width: 40ch; }
@media (max-width: 760px) { .univers__grille { grid-template-columns: 1fr; } }

/* ---------- À découvrir en ce moment ---------- */
.decouvrir-bloc__titre { margin-bottom: 0; }
.decouvrir__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.decouvrir { display: flex; flex-direction: column; height: 100%; }
.decouvrir__couv { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 5; padding: 8% 12%; background: color-mix(in srgb, var(--papier) 70%, transparent); border-radius: var(--rayon); }
.decouvrir__couv img { max-height: 100%; width: auto; max-width: 100%; transition: transform .5s var(--ease); }
.decouvrir__couv:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.decouvrir__etiquette { margin-top: 16px; color: var(--corail); opacity: 1; font-weight: 600; }
.decouvrir__accroche { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.22; margin: 8px 0 18px; flex: 1; }
.decouvrir__boutons { display: grid; gap: 8px; }
.decouvrir__boutons .btn { min-width: 0; width: 100%; padding: 12px 16px; }
@media (max-width: 1000px) { .decouvrir__grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .decouvrir__grille { grid-template-columns: 1fr 1fr; gap: 14px; } .decouvrir__accroche { font-size: 1.05rem; } .decouvrir__boutons .btn { font-size: .85rem; padding: 10px 12px; gap: 8px; } }

/* ---------- Tranches d'âge ---------- */
.tranche { padding-block: clamp(64px, 9vw, 120px) clamp(28px, 4vw, 48px); }
.tranche + .horizontal { margin-top: 0; }

/* ---------- Lien Kiledoo (grisé) ---------- */
.lien-kiledoo { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .9rem; opacity: .55; text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s; }
.lien-kiledoo:hover { opacity: 1; color: var(--corail); }
.lien-kiledoo svg { width: 14px; height: 14px; }

/* ---------- L'auteure ---------- */
.auteure__devise { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--corail); margin: 18px 0 clamp(40px, 6vw, 80px); }
.auteure__texte strong { font-weight: 600; }
.auteure__boutons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(48px, 7vw, 96px); }
.carre-lien {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; min-height: 150px;
  padding: clamp(20px, 2.6vw, 30px); border: 1.5px solid var(--encre); border-radius: var(--rayon);
  text-decoration: none; transition: background .3s, color .3s, border-color .3s;
}
.carre-lien span { grid-column: 1 / -1; align-self: start; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.carre-lien strong { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.carre-lien svg { width: 26px; height: 26px; transition: transform .3s; }
.carre-lien:hover { background: var(--corail); border-color: var(--corail); color: var(--papier); }
.carre-lien:hover svg { transform: translateX(4px); }
@media (max-width: 760px) { .auteure__boutons { grid-template-columns: 1fr; } .carre-lien { min-height: 0; } }

/* ---------- Contact : WhatsApp + email ---------- */
.contact__directs { display: grid; gap: 18px; justify-items: start; }
.btn--whatsapp { background: #25D366; border-color: #25D366; color: #0E2A18; }
.btn--whatsapp:hover { background: transparent; color: #25D366; border-color: #25D366; }
.btn--whatsapp svg { width: 20px; height: 20px; }

/* ===== Typo Fraunces + DM Sans (choix de Camille, 2026-11-24) ===== */
h1, h2, h3, .marque, .rideau__num, .carre-lien strong {
  font-family: var(--serif); font-weight: 600; text-transform: none; letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
h1, h2, h3 { line-height: 1.02; }
.t-geant { letter-spacing: -0.03em; line-height: .95; }
.ouverture__titre { letter-spacing: -0.025em; line-height: 1; }
.serif, .livre__accroche, .livre__avis blockquote, .avis-carte blockquote,
.citation-grande, .decouvrir__accroche, .auteure__devise, .livre__texte p:first-child::first-letter {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "SOFT" 100, "opsz" 144;
}
.marque { letter-spacing: -0.01em; font-size: 1.1rem; }

/* ===== Accueil plus fourni (2026-11-25) ===== */
.bloc { padding-block: clamp(64px, 8vw, 120px); }
.univers { padding-bottom: clamp(64px, 8vw, 120px); }
/* Ouverture : un seul écran, sans zone vide */
.ouverture { height: calc(100svh - 64px); min-height: 560px; }
.ouverture__collant { position: relative; top: 0; height: 100%; }
/* Titres des cartes Univers dans la nouvelle typo */
.univers__titre { font-family: var(--serif); font-weight: 600; text-transform: none; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.univers__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.univers__meta span { font-size: .8rem; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--ligne); }
.univers__meta span:first-child { background: var(--corail); border-color: var(--corail); color: var(--papier); font-weight: 600; }
/* Bande des repères, sur bleu nuit */
.reperes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.reperes__liste li { border-top: 1px solid color-mix(in srgb, var(--papier) 30%, transparent); padding-top: 22px; }
.reperes__liste strong { display: block; font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(3.4rem, 6.5vw, 6rem); line-height: 1; letter-spacing: -0.03em; }
.reperes__liste strong em { color: var(--corail); font-size: .5em; margin: 0 .15em; font-weight: 500; }
.reperes__liste span { display: block; margin-top: 12px; max-width: 22ch; opacity: .78; }
@media (max-width: 860px) { .reperes__liste { grid-template-columns: 1fr 1fr; } }
/* Sabine en quelques mots */
.sabine { display: grid; grid-template-columns: minmax(220px, .8fr) 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sabine__portrait { display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1; max-width: 460px; }
.sabine__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sabine__texte .t-xl { margin: 14px 0 24px; }
.sabine__texte p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 52ch; margin: 0 0 30px; opacity: .85; }
@media (max-width: 760px) { .sabine { grid-template-columns: 1fr; } .sabine__portrait { max-width: 240px; } }
/* Avis sur bleu nuit : cartes crème */
.avis-defile--nuit .avis-carte { background: var(--papier); color: var(--nuit); }
.avis-defile--nuit .avis-carte figcaption { border-top-color: color-mix(in srgb, var(--nuit) 16%, transparent); }
.avis-defile--nuit .avis-carte__etoiles { color: var(--corail); }
.avis-defile--nuit .rubrique { border-color: color-mix(in srgb, var(--papier) 30%, transparent); }
@media (max-width: 860px) {
  .ouverture { height: auto; min-height: 0; }
  .ouverture__grille { padding-block: 28px 8px; gap: 8px; }
  .eventail { height: clamp(190px, 26svh, 280px); }
}

/* ===== Charte « site d'écrivain » (2026-11-25) : neutre, pastel en jeunesse ===== */
/* L'accent suit la couleur du texte : noir sur blanc, blanc sur noir. */
.avis-defile--nuit .avis-carte__etoiles { color: var(--nuit); }
.univers__meta span:first-child { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.univers__carte--jeunesse .univers__image { background: #FBEAF0; }
/* Menu mobile dans la couleur de l'univers (plus de plein écran noir) */
.voile { background: var(--fond); color: var(--encre); }
.voile nav a { color: var(--encre); border-bottom-color: var(--ligne); font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.voile nav a span, .voile__pied, .voile nav a.voile__sous, .voile__pied a { color: color-mix(in srgb, var(--encre) 60%, transparent); }
.voile nav a.voile__sous { font-family: var(--sans); font-weight: 500; }
/* Pied de page : même fond que la page, simple filet */
.pied { background: transparent; }
.voile__fermer { color: var(--encre); }
/* Les deux univers : deux blocs bien délimités */
.univers__carte { padding: clamp(16px, 2vw, 24px); border-radius: 10px; border: 1px solid var(--ligne); transition: transform .4s var(--ease), box-shadow .4s; }
.univers__carte:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.univers__carte--jeunesse { background: #FBEAF0; }
.univers__carte--romans { background: #EFEEEB; }
.univers__titre { border-bottom: 0; padding-bottom: 0; margin-top: 22px; }
.univers__titre svg { display: none; }
.univers__texte { margin-top: 8px; }
.univers__lien { align-self: flex-start; margin-top: 22px; padding: 11px 18px; border-radius: var(--rayon); background: var(--encre); color: var(--fond); font-size: .95rem; font-weight: 500; }
.univers__lien::after { content: " →"; }
@media (min-width: 861px) { .ouverture__grille { grid-template-columns: 1.2fr 1fr; } }
.auteure-bloc .t-xl { max-width: 15ch; margin-bottom: clamp(32px, 5vw, 64px); }

/* ===== Logo SP (2026-11-25) ===== */
.marque { display: inline-flex; align-items: center; gap: 10px; }
.marque__logo { width: auto; height: 34px; flex: none; }
.voile__tete .marque__logo { height: 30px; }
/* ===== Pied de page : mentions + crédit ===== */
.pied__in { align-items: center; }
.pied a { text-decoration: none; }
.pied__credit { font-size: .82rem; opacity: .75; }
.pied__credit a { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }
/* ===== Page mentions légales ===== */
.mentions__in { max-width: 820px; }
.mentions h1 { margin: 10px 0 clamp(32px, 5vw, 56px); }
.mentions h2 { font-family: var(--serif); font-weight: 600; text-transform: none; letter-spacing: -0.01em; font-size: 1.35rem; margin: 36px 0 10px; }
.mentions p { margin: 0; max-width: 65ch; line-height: 1.7; }
.mentions a { text-underline-offset: 3px; }
.pied__credit { grid-column: 1 / -1; order: 5; padding-top: 14px; border-top: 1px solid var(--ligne); }
