/* =========================================================
   Philippe Venance — Site vitrine
   Direction artistique commune, identité par livre.
   - Display serif : Fraunces (titres)
   - Sans-serif : Inter (texte courant)
   ========================================================= */

/* ---------- Reset léger ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img, picture, svg { display: block; max-width: 100%; }

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

ul { list-style: none; padding: 0; }

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

/* ---------- Tokens : direction artistique commune ---------- */
:root {
  /* Base "papier" — gris chaud, volontairement pas crème */
  --ink:        #1c1f26;   /* texte principal sombre */
  --ink-soft:   #4a4f5a;   /* texte secondaire */
  --paper:      #ebe7dd;   /* fond clair, parchemin grisé */
  --paper-2:    #e2ddd1;   /* variation légèrement plus foncée */
  --line:       rgba(28, 31, 38, 0.14);

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 12vh, 9rem);

  /* Couleurs de section, surchargées par livre (valeurs par défaut = base) */
  --bg: var(--paper);
  --text: var(--ink);
  --muted: var(--ink-soft);
  --accent: #9a6b3f;
  --on-accent: #ffffff;
}

/* ---------- Global ---------- */
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

/* Conteneurs */
.hero__inner,
.shelf-intro__inner,
.book__inner,
.author__inner,
.footer__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Titres de section partagés */
.section-eyebrow,
.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn--ghost {
  padding: 0.85em 1.6em;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn--text {
  padding: 0.85em 0.4em;
  color: var(--ink-soft);
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
}
.btn--text:hover { color: var(--ink); border-bottom-color: var(--ink); }

.btn--buy {
  margin-top: 2rem;
  padding: 0.95em 1.8em;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5);
}
.btn--buy:hover { transform: translateY(-3px); }
.btn--buy .btn__arrow { transition: transform .25s ease; }
.btn--buy:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   NAV
   ========================================================= */
/* Barre de progression de lecture (façon marque-page) */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.reading-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent, #9a6b3f);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg, color-mix(in srgb, var(--paper) 88%, transparent));
  color: var(--nav-fg, var(--ink));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nav-border, var(--line));
  transition: background-color .6s ease, color .6s ease, border-color .6s ease;
}

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--nav-fg, var(--ink)) 60%, transparent);
  transition: color .6s ease;
}

.nav__menu { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--nav-fg, var(--ink)) 72%, transparent);
  padding: 0.3em 0;
  position: relative;
  transition: color .3s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--nav-accent, var(--ink));
  transition: width .25s ease, background-color .6s ease;
}
.nav__menu a:hover { color: var(--nav-fg, var(--ink)); }
.nav__menu a:hover::after { width: 100%; }
.nav__menu a[aria-current="page"] { color: var(--ink); }
.nav__menu a[aria-current="page"]::after { width: 100%; background: var(--accent, var(--ink)); }

.nav__toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(154,107,63,0.10), transparent 60%),
    radial-gradient(100% 70% at 10% 100%, rgba(28,31,38,0.06), transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero__inner { position: relative; padding-block: clamp(4rem, 10vh, 7rem); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 13vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}
.hero__title-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__lead {
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 2.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scroll-line {
  width: 60px; height: 1px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   BIBLIOTHÈQUE — INTRO
   ========================================================= */
.shelf-intro {
  background: var(--paper-2);
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.shelf-intro__text {
  max-width: 44ch;
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* =========================================================
   LIVRE — structure commune
   ========================================================= */
.book {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  padding-block: var(--section-y);
  scroll-margin-top: 5rem;
}

/* Chiffre-chapitre en filigrane (I / II / III) */
.book__numeral {
  position: absolute;
  top: clamp(0.25rem, 4vh, 3.5rem);
  right: 2vw;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(8rem, 27vw, 24rem);
  line-height: 0.74;
  color: var(--text);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.book--moustache .book__numeral { right: auto; left: 2vw; }

.book__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.book__inner--reverse .book__cover-wrap { order: 2; }

/* Couverture : image réelle du livre, présentée comme un objet livre */
.book__cover-wrap {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}

.cover {
  --cover-w: clamp(220px, 27vw, 330px);
  width: var(--cover-w);
  margin: 0;
  position: relative;
  border-radius: 3px 6px 6px 3px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    24px 30px 60px -28px rgba(0,0,0,0.7);
  transform: rotateY(-10deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
}
.cover img { display: block; width: 100%; height: auto; }

.book__inner--reverse .cover { transform: rotateY(10deg) rotateX(2deg); }

.cover:hover {
  transform: rotateY(0) rotateX(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    30px 42px 85px -30px rgba(0,0,0,0.78);
}

/* tranche (spine) : ombre + léger reflet sur le bord gauche */
.cover::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 16px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.32),
    rgba(0,0,0,0.04) 45%,
    rgba(255,255,255,0.18) 55%,
    rgba(255,255,255,0) 100%);
}

/* lueur qui suit le curseur (ajoutée par JS au survol) */
.cover__glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity .4s ease;
}
/* pendant le suivi du curseur, l'inclinaison colle au mouvement */
.cover.is-tilting { transition: box-shadow .55s ease; }

/* Contenu texte du livre */
.book__genre-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 999px;
  padding: 0.4em 1em;
  margin-bottom: 1.3rem;
}
.book__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}
.book__tags .book__genre-tag { margin-bottom: 0; }

.book__badge {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45em 0.95em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 14%, transparent);
  color: var(--text);
}

.book__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.book__credit {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.2rem 0 1.4rem;
}

.book__pitch {
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
  margin-bottom: 1rem;
}
.book__pitch--muted {
  font-size: 0.98rem;
  opacity: 0.9;
}

/* ---------- Identités par livre ---------- */

/* 1 · Valparaiso — thriller historique : pétrole / laiton (port chilien) */
.book--valparaiso {
  --bg: #0f2e30;
  --text: #f2ece0;
  --muted: #b9c6c2;
  --accent: #d6a64a;
  --on-accent: #14201d;
}

/* 2 · Moustache — conte / jeunesse : menthe douce + corail (aquarelle) */
.book--moustache {
  --bg: #d6e8e2;
  --text: #1d3a38;
  --muted: #4f6f6a;
  --accent: #e07a4e;
  --on-accent: #ffffff;
}

/* 3 · Les Héritiers — polar : presque-noir + rouge (portraits N&B de l'auteur) */
.book--heritiers {
  --bg: #18181b;
  --text: #f1ece6;
  --muted: #b0aaa3;
  --accent: #d8232a;
  --on-accent: #ffffff;
}

/* =========================================================
   PLACEHOLDERS (honnêtes, visibles)
   ========================================================= */
.placeholder {
  position: relative;
  border: 1.5px dashed color-mix(in srgb, var(--text, var(--ink)) 45%, transparent);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  background: color-mix(in srgb, var(--text, var(--ink)) 6%, transparent);
}
.placeholder--pitch { max-width: 52ch; }

.placeholder__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.placeholder__text {
  font-size: 0.98rem;
  color: var(--muted, var(--ink-soft));
  font-style: italic;
}

/* =========================================================
   AUTEUR
   ========================================================= */
.author {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--section-y);
  --muted: #a7adb8;
  --accent: #c9a06a;
}
.author .section-eyebrow { color: #9aa0ab; }
.author .section-title { color: var(--paper); }

.author__inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.author__photo { display: flex; justify-content: center; }
.author__portrait {
  width: clamp(150px, 24vw, 230px);
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(235,231,221,0.18);
  box-shadow: 0 24px 55px -28px rgba(0,0,0,0.85);
}
.author__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.author__bio { margin-top: 1.6rem; max-width: 60ch; }
.author__bio p { color: #d3cec4; margin-bottom: 1rem; }
.author__bio p:first-child { color: #ece8de; }
.author__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.author__instagram:hover { border-bottom-color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #14161b;
  color: #d7d3c9;
  padding-block: clamp(2.5rem, 6vh, 4rem) 2rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}
.footer__loc {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8f99;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a {
  font-size: 0.92rem;
  color: #b8bcc4;
  transition: color .2s ease;
}
.footer__links a:hover { color: #fff; }
.footer__copyright {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  padding-inline: var(--gutter);
  font-size: 0.8rem;
  color: #7c818c;
}

/* =========================================================
   ACTUALITÉS (fil WordPress)
   ========================================================= */
.news {
  background: var(--paper-2);
  color: var(--ink);
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.news__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.news__lead {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.news__grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news__state {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-style: italic;
  padding: 1rem 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.45);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.news-card__date {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.news-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.news-card__excerpt {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.news-card__more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
}
.news-card__more span { transition: transform .25s ease; display: inline-block; }
.news-card:hover .news-card__more span { transform: translateX(4px); }

/* =========================================================
   ÉQUILIBRAGE DES LIGNES (évite les coupures bizarres)
   ========================================================= */
.section-title, .hero__title, .book__title, .shelf__title,
.news-card__title, .article__title, .shelf-intro__text,
.hero__lead, .shelf__lead, .news__lead, .connect__lead {
  text-wrap: balance;
}
.book__pitch, .author__bio p, .article__body p { text-wrap: pretty; }

/* =========================================================
   HERO en 2 colonnes (intro + dernières actualités)
   ========================================================= */
.hero__inner--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__inner--split .hero__title { font-size: clamp(3rem, 6.5vw, 5.6rem); }
.hero__inner--split .hero__lead { max-width: 42ch; }

.hero__aside {
  background: color-mix(in srgb, var(--paper-2) 55%, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  box-shadow: 0 24px 50px -34px rgba(0,0,0,.5);
}
.hero__aside-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__news { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.1rem; }
.hero__news .news-card { padding: 1.05rem 1.15rem; border-radius: 10px; background: #fbf9f4; }
.hero__news .news-card__excerpt { display: none; }
.hero__news .news-card__title { font-size: 1.12rem; margin-bottom: 0.5rem; }
.hero__news .news__state { padding: 0.4rem 0; }
.hero__news-all {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}
.hero__news-all span { display: inline-block; transition: transform .25s ease; }
.hero__news-all:hover span { transform: translateX(4px); }

/* =========================================================
   "ME RETROUVER" (bas de l'accueil)
   ========================================================= */
.connect {
  background: var(--paper-2);
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.connect__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.connect__lead { max-width: 46ch; margin-top: 1.2rem; font-size: 1.05rem; color: var(--ink-soft); }
.connect__links {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.connect__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.4rem;
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.connect__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.45);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.connect__link-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.connect__link-name span { transition: transform .25s ease; display: inline-block; }
.connect__link:hover .connect__link-name span { transform: translateX(3px); }
.connect__link-desc { font-size: 0.86rem; color: var(--ink-soft); }

/* =========================================================
   ACCUEIL — grille "bibliothèque" (liens vers les pages livres)
   ========================================================= */
.shelf {
  background: var(--paper-2);
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.shelf__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shelf__lead {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.shelf__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.shelf__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.shelf__item .cover { --cover-w: 100%; margin-bottom: 1.4rem; }
.shelf__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.shelf__genre {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.shelf__more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-book, #9a6b3f);
}
.shelf__more span { display:inline-block; transition: transform .25s ease; }
.shelf__item:hover .shelf__more span { transform: translateX(4px); }
.shelf__item--valparaiso { --accent-book: #b07d2a; }
.shelf__item--moustache { --accent-book: #c25a34; }
.shelf__item--heritiers { --accent-book: #c0202a; }

/* =========================================================
   PAGE ARTICLE (contenu lu depuis WordPress)
   ========================================================= */
.article {
  background: var(--paper);
  padding-block: clamp(3rem, 8vh, 6rem);
  min-height: 60vh;
}
.article__inner {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.article__back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.article__back:hover { color: var(--ink); }
.article__date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.article__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
.article__body { font-size: 1.08rem; line-height: 1.75; color: #33373f; }
.article__body p { margin-bottom: 1.3rem; }
.article__body h2, .article__body h3 { font-family: var(--font-display); margin: 2rem 0 1rem; }
.article__body img { border-radius: 8px; margin: 1.5rem 0; }
.article__body a { color: var(--accent); text-decoration: underline; }
.article__state { color: var(--ink-soft); font-style: italic; }

.news__all { margin-top: 2.4rem; }

/* =========================================================
   ANIMATIONS D'APPARITION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .book__inner,
  .author__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .book__inner--reverse .book__cover-wrap { order: 0; }
  .book__content { text-align: left; }
  .cover { --cover-w: clamp(200px, 60vw, 260px); transform: none; }
  .book__inner--reverse .cover { transform: none; }
  .author__inner { text-align: left; }
  .author__photo { order: -1; }
  .news__grid { grid-template-columns: 1fr; }
  .shelf__grid { grid-template-columns: 1fr; gap: 3rem; max-width: 320px; margin-inline: auto; }
  .hero__inner--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .connect__links { grid-template-columns: 1fr 1fr; }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 18px;
    z-index: 110;
  }
  .nav__toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--nav-fg, var(--ink));
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, background-color .6s ease;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__menu {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    background: var(--paper);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 88vh; }
  .hero__scroll { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .connect__links { grid-template-columns: 1fr; }
}

/* Préférence : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line::after { animation: none; }
  .cover, .cover:hover { transition: none; }
}
