/* ==========================================================================
   Violette de Compostelle — Les Éditions du Pont des Libellules
   Feuille de style principale
   ========================================================================== */

:root {
  /* Palette « Forêt des Pèlerins » */
  --vert-profond: #14392a;
  --vert-foret: #1d5540;
  --vert-mousse: #3d7d5c;
  --vert-clair: #e8f2ea;

  --or: #c9962f;
  --or-clair: #e8c877;
  --or-pale: #f6ecd3;

  --libellule: #1f7f95;
  --libellule-clair: #3fb0c4;

  --creme: #fdf9f0;
  --parchemin: #f7efdf;
  --encre: #2b2620;
  --encre-douce: #5f574c;

  --ombre-douce: 0 2px 14px rgba(20, 57, 42, .08);
  --ombre-moyenne: 0 8px 30px rgba(20, 57, 42, .14);
  --ombre-forte: 0 18px 50px rgba(20, 57, 42, .22);

  --rayon: 14px;
  --largeur: 1180px;
  --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--encre);
  background: var(--creme);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--vert-profond);
  margin: 0 0 .6em;
  letter-spacing: .005em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.18rem; }

p { margin: 0 0 1.15em; }

a { color: var(--vert-foret); text-decoration-color: rgba(201, 150, 47, .5); text-underline-offset: 3px; }
a:hover { color: var(--or); }

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

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.conteneur-etroit { max-width: 760px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-creme { background: var(--creme); }
.section-parchemin { background: var(--parchemin); }
.section-verte {
  background: linear-gradient(160deg, var(--vert-profond) 0%, var(--vert-foret) 100%);
  color: var(--vert-clair);
}
.section-verte h1, .section-verte h2, .section-verte h3 { color: #fff; }
.section-verte a { color: var(--or-clair); }

/* ---------- Éléments décoratifs ---------- */

.ornement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 2.4rem;
}
.ornement::before, .ornement::after {
  content: '';
  height: 1px;
  width: min(90px, 18vw);
  background: linear-gradient(90deg, transparent, var(--or));
}
.ornement::after { background: linear-gradient(90deg, var(--or), transparent); }
.ornement span { color: var(--or); font-size: 1.1rem; line-height: 1; }

.titre-section { text-align: center; margin-bottom: .35em; }
.chapeau {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--encre-douce);
  font-size: 1.1rem;
}
.surtitre {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: .9rem;
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.9em;
  border: 0;
  border-radius: 999px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.bouton-or {
  background: linear-gradient(135deg, var(--or) 0%, #b8842a 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 150, 47, .34);
}
.bouton-or:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 150, 47, .45); color: #fff; }
.bouton-vert { background: var(--vert-foret); color: #fff; box-shadow: 0 4px 16px rgba(29, 85, 64, .3); }
.bouton-vert:hover { transform: translateY(-2px); background: var(--vert-profond); color: #fff; }
.bouton-contour {
  background: transparent;
  color: var(--vert-foret);
  border: 1.5px solid rgba(29, 85, 64, .35);
}
.bouton-contour:hover { border-color: var(--or); color: var(--or); background: rgba(201, 150, 47, .06); }
.section-verte .bouton-contour,
.hero .bouton-contour,
.banniere .bouton-contour { color: var(--or-pale); border-color: rgba(232, 200, 119, .55); }
.section-verte .bouton-contour:hover,
.hero .bouton-contour:hover,
.banniere .bouton-contour:hover { background: rgba(232, 200, 119, .14); border-color: var(--or-clair); color: #fff; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 240, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 150, 47, .18);
  transition: box-shadow var(--transition);
}
.entete.defile { box-shadow: var(--ombre-douce); }

.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo-texte { display: flex; flex-direction: column; line-height: 1.15; }
.logo-nom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vert-profond);
}
.logo-sous {
  font-size: .62rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 700;
}

.nav-principale ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-principale a {
  display: block;
  padding: .55em .85em;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--encre);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-principale a:hover { color: var(--or); background: rgba(201, 150, 47, .09); }
.nav-principale a.actif { color: var(--or); }
.nav-principale a.actif::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--or);
}

.sous-menu-parent { position: relative; }
.sous-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 268px;
  padding: 10px;
  background: var(--creme);
  border: 1px solid rgba(201, 150, 47, .22);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-moyenne);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  flex-direction: column;
  gap: 2px;
}
.sous-menu-parent:hover .sous-menu,
.sous-menu-parent:focus-within .sous-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sous-menu li { width: 100%; }
.sous-menu a { padding: .6em .85em; font-weight: 600; font-size: .9rem; white-space: normal; }
.sous-menu .sous-titre { display: block; font-size: .76rem; font-weight: 400; color: var(--encre-douce); margin-top: 2px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  padding: 10px;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--vert-profond); border-radius: 2px;
  transition: var(--transition);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: block; }
  .nav-principale {
    position: fixed;
    inset: 76px 0 auto 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--creme);
    border-bottom: 1px solid rgba(201, 150, 47, .2);
    box-shadow: var(--ombre-moyenne);
    transform: translateY(-120%);
    transition: var(--transition);
    padding: 12px 24px 28px;
  }
  .nav-principale.ouvert { transform: translateY(0); }
  .nav-principale ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-principale > ul > li { border-bottom: 1px solid rgba(201, 150, 47, .14); }
  .nav-principale a { padding: .95em .2em; font-size: 1.02rem; }
  .nav-principale a.actif::after { display: none; }
  .sous-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: rgba(232, 242, 234, .5);
    border-radius: 10px;
    min-width: 0;
    margin: 0 0 12px;
    padding: 6px;
    display: none;
  }
  .sous-menu-parent.ouvert .sous-menu { display: flex; }
  .sous-menu-parent > a::after { content: ' ▾'; color: var(--or); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #0e2e21 url('/assets/img/ui/foret-des-pelerins.webp') center 42% / cover no-repeat;
  color: var(--vert-clair);
  padding: clamp(84px, 13vw, 160px) 0 clamp(92px, 14vw, 170px);
  text-align: center;
}
/* Voile sombre : la forêt reste visible, le texte reste lisible */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 30, 21, .58) 0%, rgba(11, 38, 27, .50) 42%, rgba(9, 30, 21, .74) 100%),
    radial-gradient(ellipse at 50% 46%, rgba(6, 24, 16, .52) 0%, transparent 68%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero { background-image: url('/assets/img/ui/foret-des-pelerins-mobile.webp'); }
}

/* Bandeau illustré réutilisable */
.banniere-foret {
  background: #0e2e21 url('/assets/img/ui/foret-des-pelerins-large.webp') center 40% / cover no-repeat;
}
.banniere-foret::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 30, 21, .62), rgba(9, 30, 21, .78));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .28); margin-bottom: .35em; }
.hero-texte { max-width: 660px; margin: 0 auto 2.2rem; font-size: 1.14rem; color: rgba(232, 242, 234, .93); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-libellule {
  width: clamp(96px, 15vw, 152px);
  margin: 0 auto 1.6rem;
  animation: vol 7s ease-in-out infinite;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .3));
}
@keyframes vol {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

/* Lucioles */
.luciole {
  position: absolute;
  border-radius: 50%;
  background: var(--or-clair);
  box-shadow: 0 0 10px 2px rgba(232, 200, 119, .65);
  opacity: 0;
  animation: scintille 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scintille {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(.6); }
  25%      { opacity: .85; }
  50%      { opacity: .35; transform: translate(18px, -26px) scale(1); }
  75%      { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-libellule, .luciole { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Bannière de page ---------- */

.banniere {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--vert-profond) 0%, var(--vert-foret) 100%);
  color: var(--vert-clair);
  padding: clamp(52px, 7vw, 88px) 0;
  text-align: center;
}
.banniere::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(232, 200, 119, .14), transparent 60%);
  pointer-events: none;
}
.banniere > * { position: relative; z-index: 2; }
.banniere h1 { color: #fff; margin-bottom: .25em; }
.banniere p { max-width: 640px; margin: 0 auto; color: rgba(232, 242, 234, .9); }

.fil-ariane {
  font-size: .82rem;
  color: rgba(232, 242, 234, .7);
  margin-bottom: 1.1rem;
}
.fil-ariane a { color: rgba(232, 200, 119, .9); text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }

/* ---------- Grilles & cartes ---------- */

.grille { display: grid; gap: 28px; }
.grille-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grille-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* Les quatre collections : deux colonnes équilibrées */
.grille-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 780px) { .grille-collections { grid-template-columns: 1fr; } }

.carte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(201, 150, 47, .16);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
  height: 100%;
}
.carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-moyenne); border-color: rgba(201, 150, 47, .38); }
.carte-corps { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.carte-corps h3 { margin-bottom: .45em; }
.carte-corps p { color: var(--encre-douce); font-size: .98rem; }
.carte-lien { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--or); }
.carte-lien::after { content: ' →'; transition: var(--transition); display: inline-block; }
.carte:hover .carte-lien::after { transform: translateX(4px); }

.carte-collection { position: relative; }
.carte-visuel {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--vert-foret), var(--vert-mousse));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.carte-visuel img { max-height: 100%; width: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); }

/* ---------- Livres ---------- */

.couverture {
  border-radius: 8px;
  box-shadow: var(--ombre-forte);
  transition: var(--transition);
}
a:hover > .couverture, .carte-livre:hover .couverture { transform: translateY(-6px) scale(1.015); }

.carte-livre {
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carte-livre .couverture {
  margin: 0 auto 18px;
  max-width: 260px;
  height: 340px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 520px) { .carte-livre .couverture { height: auto; max-height: 340px; } }
.carte-livre h3 { font-size: 1.28rem; margin-bottom: .2em; }
.carte-livre .meta { font-size: .86rem; color: var(--encre-douce); margin: 0; }

.etiquette {
  display: inline-block;
  padding: .32em 1em;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.etiquette-paru { background: rgba(29, 85, 64, .12); color: var(--vert-foret); }
.etiquette-bientot { background: rgba(201, 150, 47, .16); color: #9a6f1c; }
.etiquette-nouveau { background: linear-gradient(135deg, var(--or), #b8842a); color: #fff; }

.livre-entete { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(30px, 5vw, 62px); align-items: start; }
@media (max-width: 820px) { .livre-entete { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.livre-resume { font-size: 1.08rem; }
.livre-resume .accroche {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--vert-foret);
  line-height: 1.45;
}
.livre-morale {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.32rem;
  font-style: italic;
  color: var(--or);
  border-left: 3px solid var(--or);
  padding-left: 20px;
  margin: 1.8rem 0;
}

.fiche-technique {
  border-top: 1px solid rgba(201, 150, 47, .25);
  padding-top: 20px;
  margin-top: 24px;
  font-size: .93rem;
  color: var(--encre-douce);
}
.fiche-technique div { padding: 5px 0; }
.fiche-technique strong { color: var(--encre); font-weight: 700; }

.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.format {
  background: #fff;
  border: 1px solid rgba(201, 150, 47, .2);
  border-radius: var(--rayon);
  padding: 26px 22px;
  text-align: center;
  transition: var(--transition);
}
.format:hover { border-color: var(--or); box-shadow: var(--ombre-moyenne); transform: translateY(-4px); }
.format-nom {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: .5em;
}
.format h4 { margin-bottom: .3em; }
.format p { font-size: .88rem; color: var(--encre-douce); margin-bottom: 1.2em; }

.liens-achat { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lien-achat {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .55em 1.1em;
  border-radius: 999px;
  border: 1px solid rgba(29, 85, 64, .25);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--vert-foret);
  transition: var(--transition);
}
.lien-achat:hover { background: var(--vert-foret); border-color: var(--vert-foret); color: #fff; }

/* ---------- Univers / à propos ---------- */

.recit {
  font-size: 1.12rem;
  line-height: 1.95;
}
.recit p:first-of-type::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.1rem;
  line-height: .82;
  padding: 6px 12px 0 0;
  color: var(--or);
}
.recit .exergue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--vert-foret);
  text-align: center;
  margin: 2.4rem 0;
  padding: 0 clamp(0px, 4vw, 40px);
}

.onglets-langue { display: flex; gap: 8px; justify-content: center; margin-bottom: 2.4rem; flex-wrap: wrap; }
.onglet-langue {
  padding: .5em 1.35em;
  border-radius: 999px;
  border: 1.5px solid rgba(29, 85, 64, .22);
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--encre-douce);
  cursor: pointer;
  transition: var(--transition);
}
.onglet-langue:hover { border-color: var(--or); color: var(--or); }
.onglet-langue[aria-selected="true"] { background: var(--vert-foret); border-color: var(--vert-foret); color: #fff; }
.panneau-langue[hidden] { display: none; }

/* ---------- Blog & agenda ---------- */

.article-liste { display: grid; gap: 26px; }

.article-carte {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 26px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(201, 150, 47, .16);
  border-radius: var(--rayon);
  padding: 26px;
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
}
.article-carte:hover { box-shadow: var(--ombre-moyenne); border-color: rgba(201, 150, 47, .38); }
@media (max-width: 640px) { .article-carte { grid-template-columns: 1fr; gap: 14px; } }

.date-bloc {
  background: linear-gradient(150deg, var(--vert-foret), var(--vert-mousse));
  color: #fff;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  line-height: 1.15;
}
.date-bloc .jour { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 700; }
.date-bloc .mois { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }
.date-bloc .annee { display: block; font-size: .72rem; opacity: .75; margin-top: 2px; }
@media (max-width: 640px) {
  .date-bloc { display: inline-flex; gap: 10px; align-items: baseline; padding: 8px 16px; }
  .date-bloc .jour { font-size: 1.4rem; }
}

.article-meta { font-size: .82rem; color: var(--encre-douce); margin-bottom: .5em; }
.article-carte h3 { margin-bottom: .35em; }
.article-carte h3 a { text-decoration: none; color: var(--vert-profond); }
.article-carte h3 a:hover { color: var(--or); }

.vide {
  text-align: center;
  padding: 60px 24px;
  border: 1.5px dashed rgba(201, 150, 47, .4);
  border-radius: var(--rayon);
  color: var(--encre-douce);
  background: rgba(247, 239, 223, .5);
}
.vide img { width: 74px; margin: 0 auto 18px; opacity: .75; }

/* ---------- Formulaire ---------- */

.formulaire { display: grid; gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label { font-size: .89rem; font-weight: 700; color: var(--vert-profond); }
.champ input, .champ textarea, .champ select {
  font-family: inherit;
  font-size: 1rem;
  padding: .8em 1em;
  border: 1.5px solid rgba(29, 85, 64, .2);
  border-radius: 10px;
  background: #fff;
  color: var(--encre);
  transition: var(--transition);
  width: 100%;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, .16);
}
.champ textarea { min-height: 168px; resize: vertical; }
.champ .aide { font-size: .8rem; color: var(--encre-douce); }
.champ-double { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .champ-double { grid-template-columns: 1fr; } }
.pot-de-miel { position: absolute; left: -9999px; opacity: 0; }

.message-alerte { padding: 16px 20px; border-radius: 10px; font-size: .94rem; margin-bottom: 18px; }
.message-succes { background: rgba(61, 125, 92, .12); color: var(--vert-foret); border: 1px solid rgba(61, 125, 92, .3); }
.message-erreur { background: rgba(180, 60, 40, .09); color: #a8391f; border: 1px solid rgba(180, 60, 40, .28); }

/* ---------- Bonus ---------- */

.bloc-qr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(201, 150, 47, .25);
  border-radius: var(--rayon);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--ombre-moyenne);
}
@media (max-width: 700px) { .bloc-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.bloc-qr .cadre-qr {
  padding: 16px;
  background: #fff;
  border: 2px solid var(--or);
  border-radius: 12px;
}
.bloc-qr .cadre-qr img { width: 168px; }

/* ---------- Pied de page ---------- */

.pied {
  background: linear-gradient(170deg, var(--vert-profond) 0%, #0c2419 100%);
  color: rgba(232, 242, 234, .78);
  padding: clamp(48px, 6vw, 72px) 0 28px;
  font-size: .93rem;
}
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 780px) { .pied-grille { grid-template-columns: 1fr; gap: 30px; } }
.pied h4 {
  color: var(--or-clair);
  font-family: 'Nunito Sans', sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied a { color: rgba(232, 242, 234, .78); text-decoration: none; }
.pied a:hover { color: var(--or-clair); }
.pied-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pied-logo img { width: 52px; }
.pied-logo strong { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #fff; font-weight: 600; }
.pied-bas {
  border-top: 1px solid rgba(232, 200, 119, .18);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(232, 242, 234, .55);
}

/* ---------- Utilitaires ---------- */

.centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.actions-centre { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2.4rem; }
.invisible {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 4px; }

/* ---------- Impression ---------- */
@media print {
  .entete, .pied, .hero-actions, .liens-achat { display: none; }
  body { background: #fff; color: #000; }
}

/* Récit sans lettrine (présentations de collection) */
.recit.sans-lettrine p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }

/* Section illustrée par la Forêt des Pèlerins */
.section-foret {
  position: relative;
  background: #0e2e21 url('/assets/img/ui/foret-des-pelerins-large.webp') center 55% / cover no-repeat;
  background-attachment: scroll;
}
.section-foret::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 30, 21, .80), rgba(9, 30, 21, .88));
}
.section-foret > * { position: relative; z-index: 2; }

/* Médaillon illustré (Crapaudet) */
.medaillon {
  border-radius: 50%;
  margin: 0 auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .32));
  transition: var(--transition);
}
.section-verte .medaillon { filter: drop-shadow(0 14px 38px rgba(0, 0, 0, .45)); }
.medaillon:hover { transform: translateY(-4px) rotate(-1.5deg); }
.medaillon-petit { filter: drop-shadow(0 8px 20px rgba(20, 57, 42, .22)); }

/* Illustrations encadrées */
.illustration-encadree {
  width: 100%;
  height: auto;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-forte);
  border: 3px solid rgba(232, 200, 119, .3);
}

.portrait { margin: 0 0 2.6rem; text-align: center; }
.portrait img {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-forte);
  border: 3px solid rgba(201, 150, 47, .32);
}
.portrait figcaption {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.06rem;
  color: var(--encre-douce);
}

/* Illustration des personnages */
.figure-personnages { margin: 2.6rem auto 0; max-width: 340px; text-align: center; }
.figure-personnages img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--ombre-forte);
  border: 3px solid rgba(232, 200, 119, .34);
}
.figure-personnages figcaption {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(232, 242, 234, .82);
}

/* ---------- Les personnages ---------- */

.liste-personnages { display: grid; gap: 22px; }

.carte-personnage {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(201, 150, 47, .18);
  border-radius: var(--rayon);
  padding: 28px;
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
}
.carte-personnage:hover { box-shadow: var(--ombre-moyenne); border-color: rgba(201, 150, 47, .4); }
.carte-personnage h3 { margin-bottom: .3em; }
.carte-personnage p { margin-bottom: 0; color: var(--encre-douce); }
.carte-personnage .surtitre { margin-bottom: .4rem; }
.carte-personnage .etiquette { margin-bottom: .7rem; }

.portrait-personnage {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: contain;
  background: linear-gradient(160deg, var(--vert-clair), #f2e9d4);
  padding: 6px;
  box-shadow: 0 8px 22px rgba(20, 57, 42, .16);
}
.portrait-attente {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(201, 150, 47, .45);
  background: rgba(247, 239, 223, .6);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--encre-douce);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .carte-personnage { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .portrait-personnage { width: 150px; height: 150px; }
}
.figure-personnages.figure-large { max-width: 520px; }

/* Illustration de scène, pleine largeur, fondue dans le fond crème */
.section-scene {
  background: var(--creme);
  padding: clamp(10px, 2vw, 26px) 0 clamp(34px, 5vw, 58px);
}
.galerie-scenes {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  justify-items: center;
}
.section-scene figure { margin: 0; width: 100%; }
.section-scene .scene-portrait { max-width: 480px; }
.section-scene .scene-pleine { max-width: 980px; }
.section-scene img { width: 100%; height: auto; border-radius: 10px; }
.section-scene .scene-pleine img { border-radius: 0; }
.section-scene figcaption {
  max-width: 640px;
  margin: 4px auto 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--encre-douce);
}
/* Illustration sur fond blanc : on la fond dans le crème de la page */
.section-scene .scene-fondue img { border-radius: 0; mix-blend-mode: multiply; }
.scene-fondue > img { mix-blend-mode: multiply; }

/* Bandeau sur illustration claire : voile plus léger, texte renforcé */
.banniere-claire::before {
  background: linear-gradient(180deg, rgba(9, 30, 21, .34) 0%, rgba(9, 30, 21, .52) 100%);
}
.banniere-claire h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.banniere-claire p { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.banniere-claire .fil-ariane { text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* Sélecteur de langue */
.choix-langue a {
  border: 1.5px solid rgba(201, 150, 47, .45);
  border-radius: 999px;
  padding: .4em 1em !important;
  font-size: .84rem !important;
  color: var(--or) !important;
  margin-left: 8px;
}
.choix-langue a:hover { background: var(--or); color: #fff !important; border-color: var(--or); }
@media (max-width: 940px) {
  .choix-langue a { margin: 10px 0 0; display: inline-block; }
}
