/* ==========================================================================
   La Minute Femme : feuille de styles de la maquette
   Esprit « carnet d'écolière » inspiré de Superr : papier crème, encre presque noire,
   orange feutre, autocollants, objets photographiés en relief (carnets, polaroïds,
   fiches, post-it), décors illustrés qui changent à chaque rubrique et
   animations pilotées par le défilement (variable --p, mise à jour par site.js).
   Les animations ne s'appliquent que sous html.anim (JavaScript actif et
   mouvement non réduit) : sans elles, tout s'affiche à l'état final.
   ========================================================================== */

:root {
  /* Couleurs */
  --papier: #fdfbf9;
  --rosee: #f7efe9;
  --blanc: #ffffff;
  --feuille: #fffdf8;
  --encre: #171717;
  --cacao: #2b1a07;
  --gris: #5f544b;
  --marqueur: #ff6f1e;
  --sienne: #ce500a;
  --ciel: #3b82f6;
  --bonbon: #ff66cf;
  --pousse: #22c55e;
  --beurre: #fff2c2;
  --ligne-bleue: #d5e3f5;
  --marge: #f2a3a3;
  --cuir: #a4734a;
  --cuir-int: #c4966a;
  --filet: rgba(23, 23, 23, .22);

  /* Typographie */
  --f-titre: "Fraunces", "Recoleta", "Iowan Old Style", Georgia, serif;
  --f-texte: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-main: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  /* Formes */
  --r-carte: 12px;
  --r-btn: 20px;
  --r-champ: 8px;
  --r-pied: 56px;
  --trait: 1.5px solid var(--encre);
  --ombre-carte: rgba(0, 0, 0, .06) 0 2px 20px 0;
  --ombre-btn: rgba(0, 0, 0, .25) 0 1px 2px 0;
  --ombre-objet: 0 1px 2px rgba(0, 0, 0, .18), 0 24px 40px -18px rgba(43, 26, 7, .42);

  /* Mise en page */
  --max: 1200px;
  --max-large: 1440px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --haut-entete: 92px;

  /* Textures */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .3 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --liege-sombre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .33 0 0 0 0 .2 0 0 0 0 .07 -2.2 0 0 0 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E");
  --liege-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .86 0 0 0 0 .68 2.4 0 0 0 -1.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  --nuages: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96'%3E%3Cg fill='%23fff' opacity='.92'%3E%3Cpath d='M14 34a9 9 0 0 1 10-9 13 13 0 0 1 24 2 8 8 0 0 1 4 15H18a8 8 0 0 1-4-8z'/%3E%3Cpath d='M70 80a8 8 0 0 1 9-8 12 12 0 0 1 22 2 7 7 0 0 1 3 13H74a7 7 0 0 1-4-7z'/%3E%3C/g%3E%3C/svg%3E");
  --dechirure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0h240v12l-8 6-10-7-9 9-11-8-8 5-10-6-9 8-12-9-8 7-10-5-9 8-11-8-9 6-10-7-8 8-12-9-9 7-10-6-8 7-12-8-9 9-10-7-8 5-10-6-9 8L0 12z'/%3E%3C/svg%3E");
}

/* Couleurs des carnets (une par rubrique) */
.carnet--maison { --couv: var(--cuir); --dos: #7a5030; --int: var(--cuir-int); --elastique: #4a2f18; --stylo: var(--marqueur); }
.carnet--beaute, .theme-beaute, .scene--beaute, .plan__bloc--beaute { --couv: #f6a9d3; --dos: #ec4fb6; --int: #ffd6ec; --elastique: #b8337f; --stylo: var(--bonbon); --teinte: #ffeef7; }
.carnet--bien-etre, .theme-bien-etre, .scene--bien-etre, .plan__bloc--bien-etre { --couv: #a8e2b8; --dos: #1f9f4d; --int: #d4f3dc; --elastique: #157a3a; --stylo: var(--pousse); --teinte: #eaf8ee; }
.carnet--mode, .theme-mode, .scene--mode, .plan__bloc--mode { --couv: #9dc7fb; --dos: #3b82f6; --int: #dbeafe; --elastique: #1e4fae; --stylo: var(--ciel); --teinte: #e8f1ff; --motif: var(--nuages); }
.carnet--famille, .theme-famille, .scene--famille, .plan__bloc--famille { --couv: #fbf2e4; --dos: #ff6f1e; --int: #ffe2cc; --elastique: #c2500e; --stylo: var(--marqueur); --teinte: #fff2e6; --dos-l: 26%; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 2.5px solid var(--encre); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(34, 197, 94, .35); }
::selection { background: var(--marqueur); color: var(--encre); }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.evitement:focus { left: 16px; background: var(--papier); border: var(--trait); padding: 10px 20px; border-radius: var(--r-btn); font-weight: 600; }

.conteneur { width: 100%; max-width: calc(var(--max) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.conteneur--large { max-width: calc(var(--max-large) + 2 * var(--gouttiere)); }
.conteneur--article { max-width: calc(1480px + 2 * var(--gouttiere)); }
.section { padding-block: var(--section); }
.bande { background: var(--rosee); }
main { overflow-x: clip; }
body:not(.page-accueil):not(.page-rubrique):not(.page-article):not(.page-auteur):not(.page-redaction) main { padding-top: var(--haut-entete); }

/* ---------------------------------------------------------------- typographie */
.display {
  font-family: var(--f-titre);
  font-weight: 650;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(52px, 8.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--cacao);
  text-transform: lowercase;
}
.titre-section {
  font-family: var(--f-titre);
  font-weight: 650;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cacao);
}
.chapo { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; max-width: 1060px; color: var(--cacao); }

.note {
  display: inline-block; margin: 0 0 8px;
  font-family: var(--f-main); font-weight: 600; font-size: 28px; line-height: 1.05;
  color: var(--sienne); rotate: -3deg; transform-origin: left bottom;
}
.surligne { color: var(--sienne); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5C30 3.5 52 10 84 6.5S148 3 198 7' fill='none' stroke='%23ff6f1e' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .42em no-repeat; }

/* Mot ajouté à la main au-dessus de la ligne (« actually! » chez Superr) */
.insertion { position: relative; display: inline-block; width: .55em; height: 1em; vertical-align: baseline; }
.insertion__mot {
  position: absolute; left: -.35em; bottom: 1.05em; white-space: nowrap;
  font-family: var(--f-main); font-weight: 600; font-size: 1.15em; line-height: 1; color: var(--sienne); rotate: -7deg;
}
.insertion__signe { position: absolute; left: -.05em; bottom: -.05em; width: .65em; height: .55em; color: var(--sienne); }
.insertion--titre .insertion__mot { font-size: .62em; bottom: .95em; left: -.2em; }
.anim .insertion__mot { animation: griffonne 1.2s cubic-bezier(.3, 1.4, .4, 1) .6s both; }
@keyframes griffonne { from { opacity: 0; transform: translateY(8px) scale(.6); } to { opacity: 1; transform: none; } }

/* Autocollants, flèches, punaises, scotch */
.sticker { display: block; width: 64px; height: 64px; flex: none; pointer-events: none; overflow: visible; }
.sticker--mini { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; }
.sticker--pilule { display: inline-block; width: 22px; height: 22px; }
.fleche { display: block; width: 80px; height: 62px; color: var(--encre); pointer-events: none; }
.punaise {
  position: absolute; z-index: 4; top: -11px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .75) 0 3px, transparent 4px), var(--c, #e2342b);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 2px 0 rgba(0, 0, 0, .22), 3px 7px 8px rgba(0, 0, 0, .3);
}
.punaise--bleue { --c: var(--ciel); }
.punaise--verte { --c: var(--pousse); }
.punaise--jaune { --c: #f5b700; }
.scotch {
  position: absolute; z-index: 3; top: -13px; left: 50%; width: 118px; height: 26px; margin-left: -59px;
  background: rgba(255, 102, 207, .45); border-left: 2px dotted rgba(255, 255, 255, .6); border-right: 2px dotted rgba(255, 255, 255, .6);
  rotate: -3deg;
}

/* ---------------------------------------------------------------- boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 28px; border: var(--trait); border-radius: var(--r-btn);
  background: var(--papier); color: var(--encre);
  font-family: var(--f-titre); font-weight: 500; font-variation-settings: "SOFT" 100;
  font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--ombre-btn);
  transition: translate .2s ease, rotate .2s ease, box-shadow .2s ease;
}
.btn:hover { translate: 0 -2px; rotate: -1.5deg; box-shadow: rgba(0, 0, 0, .25) 0 3px 4px 0; }
.btn:active { translate: 0 0; rotate: 0deg; }
.btn--petit { padding: 7px 20px; font-size: 16px; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-titre); font-weight: 500; font-variation-settings: "SOFT" 100; font-size: 17px;
  color: var(--encre); text-decoration: none; padding-bottom: .15em;
}
.lien-fleche::after { content: "→"; font-family: var(--f-ui); transition: translate .2s ease; }
.lien-fleche:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.lien-fleche:hover::after { translate: 4px 0; }
.lien-fort { font-weight: 600; font-size: 19px; color: var(--encre); text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }

.pastille {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px 3px 7px; border: var(--trait); border-radius: var(--r-btn); background: var(--papier);
  font-family: var(--f-ui); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--encre);
  text-decoration: none; text-transform: lowercase;
}
a.pastille:hover { background: var(--rosee); }
.badge {
  display: inline-block; padding: 0 12px; border: var(--trait); border-radius: var(--r-btn); background: var(--papier);
  font-family: var(--f-main); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--sienne);
  rotate: -6deg; box-shadow: var(--ombre-btn);
}
.pilule-rubrique {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px 9px 12px;
  border: var(--trait); border-radius: var(--r-btn); background: var(--papier); box-shadow: var(--ombre-btn);
  font-family: var(--f-titre); font-weight: 500; font-variation-settings: "SOFT" 100; font-size: 19px; text-transform: lowercase; text-decoration: none; color: var(--encre);
  transition: rotate .2s ease, translate .2s ease;
}
.pilule-rubrique:hover { rotate: -2deg; translate: 0 -2px; }
.rubriques-pilules { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- apparitions au défilement */
.anim [data-apparait] { transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.anim [data-apparait]:not(.est-vu) { opacity: 0; transform: translateY(56px) rotate(3deg); }

/* ---------------------------------------------------------------- en-tête flottant */
.entete { position: fixed; z-index: 60; top: 0; left: 0; right: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.entete.est-cache { transform: translateY(-130%); }
.entete__barre {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max-large) + 2 * var(--gouttiere)); margin-inline: auto; padding: 18px var(--gouttiere);
}
.entete__barre > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--cacao); }
.logo__rond {
  position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; flex: none;
  background: var(--papier); border: var(--trait); border-radius: 50%; box-shadow: var(--ombre-btn);
  transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1);
}
.logo:hover .logo__rond { rotate: -18deg; }
.marque { width: 34px; height: 34px; }
.logo__mot {
  margin-left: -14px; padding: 8px 18px 8px 24px; max-width: 220px; overflow: hidden; white-space: nowrap;
  background: var(--papier); border: var(--trait); border-left: 0; border-radius: 0 20px 20px 0;
  font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 19px; letter-spacing: -.02em; line-height: 1.2;
  transition: max-width .5s ease, padding .5s ease, opacity .3s ease;
}
.entete.est-defile .logo__mot { max-width: 0; padding-inline: 0; opacity: 0; border-width: 0; }
.entete__nav ul {
  list-style: none; display: flex; gap: 2px; padding: 5px;
  background: var(--papier); border: var(--trait); border-radius: 30px; box-shadow: var(--ombre-btn);
}
.entete__nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 22px;
  font-family: var(--f-ui); font-size: 15px; font-weight: 500; text-transform: lowercase; text-decoration: none; color: var(--encre);
  transition: background-color .2s ease;
}
.entete__nav a .sticker--mini { width: 18px; height: 18px; transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1); }
.entete__nav a:hover { background: var(--rosee); }
.entete__nav a:hover .sticker--mini { rotate: -16deg; }
.entete__nav a[aria-current] { background: var(--encre); color: var(--papier); }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.entete__rond {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--papier); border: var(--trait); box-shadow: var(--ombre-btn); color: var(--encre);
}
.entete__rond:hover { background: var(--rosee); }
html:not(.js) .entete__sommaire { display: none; }
@media (max-width: 1120px) {
  .js .entete__nav { display: none; }
  html:not(.js) .entete { position: absolute; }
  html:not(.js) .entete__barre { flex-wrap: wrap; }
  html:not(.js) .entete__nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 520px) {
  .logo__mot { font-size: 17px; padding: 7px 14px 7px 22px; }
  .logo__rond { width: 48px; height: 48px; }
  .entete__barre { padding-top: 12px; gap: 8px; }
  .js .entete__rond { display: none; }
  .entete__sommaire { padding-inline: 16px; }
}

/* Sommaire du site (panneau plein écran) */
.menu { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; background: rgba(43, 26, 7, .32); }
.menu[hidden] { display: none; }
.menu__feuille {
  position: relative; width: min(600px, 100%); height: 100%; overflow-y: auto;
  padding: 28px clamp(20px, 4vw, 44px) 48px clamp(64px, 9vw, 96px);
  background-color: var(--feuille);
  background-image: linear-gradient(90deg, transparent calc(clamp(64px, 9vw, 96px) - 22px), var(--marge) calc(clamp(64px, 9vw, 96px) - 22px) calc(clamp(64px, 9vw, 96px) - 20px), transparent 0),
    repeating-linear-gradient(transparent 0 47px, var(--ligne-bleue) 47px 48px);
  border-left: var(--trait); box-shadow: -30px 0 60px -20px rgba(43, 26, 7, .4);
  transform-origin: right center;
}
.anim .menu:not([hidden]) .menu__feuille { animation: page-arrive .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes page-arrive { from { transform: perspective(1600px) rotateY(-60deg) translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu__tete { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 20px; }
.menu__titre { font-family: var(--f-main); font-weight: 700; font-size: 42px; color: var(--sienne); rotate: -3deg; }
.menu__fermer {
  width: 48px; height: 48px; border: var(--trait); border-radius: 50%; background: var(--papier); box-shadow: var(--ombre-btn);
  font: 400 30px/1 var(--f-ui); color: var(--encre); cursor: pointer; transition: rotate .3s ease;
}
.menu__fermer:hover { rotate: 90deg; }
.menu__rubriques { list-style: none; padding: 0; margin-bottom: 32px; }
.menu__rubriques a {
  display: flex; align-items: center; gap: 14px; min-height: 96px; text-decoration: none; color: var(--cacao);
}
.menu__sticker { width: 46px; height: 46px; transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1), scale .4s cubic-bezier(.3, 1.6, .5, 1); }
.menu__rubriques li:nth-child(odd) .menu__sticker { rotate: -10deg; }
.menu__rubriques li:nth-child(even) .menu__sticker { rotate: 10deg; }
.menu__rubriques a:hover .menu__sticker { rotate: 0deg; scale: 1.15; }
.menu__nom { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: clamp(38px, 6vw, 52px); line-height: 1; letter-spacing: -.025em; text-transform: lowercase; }
.menu__points { flex: 1; min-width: 20px; border-bottom: 2.5px dotted rgba(23, 23, 23, .4); translate: 0 8px; }
.menu__compte { font-family: var(--f-main); font-size: 26px; font-weight: 600; color: var(--sienne); white-space: nowrap; }
.anim .menu:not([hidden]) .menu__rubriques li { animation: ligne-arrive .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes ligne-arrive { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.menu__site { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.menu__site a:not(.btn) { font-family: var(--f-ui); font-weight: 500; font-size: 17px; text-decoration: none; }
.menu__site a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.menu__deco { position: absolute; }
.menu__deco--a { right: 34px; bottom: 34px; width: 84px; height: 84px; rotate: 14deg; }
.menu__deco--b { right: 128px; bottom: 96px; width: 40px; height: 40px; rotate: -10deg; }
body.menu-ouvert { overflow: hidden; }

/* ---------------------------------------------------------------- étiquette d'écolière */
.etiq {
  display: grid; overflow: hidden; background: var(--blanc); color: var(--encre);
  border: 1.5px solid var(--encre); border-radius: 10px; box-shadow: var(--ombre-btn);
  font-size: 15px;
}
.etiq__case { display: flex; align-items: baseline; gap: .55em; min-width: 0; padding: .45em .75em .5em; }
.etiq__case--nom { border-bottom: 1.5px solid var(--encre); padding-block: .6em .55em; }
.etiq__duo { display: grid; grid-template-columns: 1.25fr 1fr; }
.etiq__duo .etiq__case { flex-direction: column; align-items: flex-start; gap: .2em; }
.etiq__duo .etiq__case + .etiq__case { border-left: 1.5px solid var(--encre); }
.etiq__champ { flex: none; font-family: var(--f-texte); font-size: .72em; font-weight: 500; line-height: 1; text-transform: capitalize; color: var(--gris); }
.etiq__val { min-width: 0; font-family: var(--f-main); font-weight: 600; font-size: 1.55em; line-height: 1; overflow-wrap: break-word; }
.etiq__case--nom .etiq__val { font-size: 2.2em; }

/* ---------------------------------------------------------------- carnet en relief */
.carnet {
  --l: 260px; --h: calc(var(--l) * 1.36); --ouvre: 0deg;
  position: relative; display: block; width: var(--l); height: var(--h); flex: none;
  perspective: 1500px; color: var(--encre); text-decoration: none;
}
.carnet__bloc {
  position: absolute; inset: 0 -7px -7px 0; border-radius: 4px 20px 20px 4px;
  background-color: var(--feuille);
  background-image: repeating-linear-gradient(transparent 0 calc(var(--l) * .09), var(--ligne-bleue) calc(var(--l) * .09) calc(var(--l) * .09 + 1px));
  box-shadow: inset 4px 0 0 var(--dos, #7a5030), 1px 1px 0 #e7dfd2, 3px 3px 0 #fffdf8, 4px 4px 0 #e2d9ca, 6px 6px 0 #fbf7f0, 7px 7px 0 #d9cfbf,
    20px 30px 46px -16px rgba(43, 26, 7, .5);
}
.carnet__page {
  position: absolute; right: 8%; top: 42%; width: 40%; text-align: right;
  font-family: var(--f-main); font-weight: 600; font-size: calc(var(--l) * .085); line-height: 1.05; color: var(--sienne); rotate: -4deg;
}
.carnet__couv { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(var(--ouvre)); transition: transform .9s cubic-bezier(.2, .75, .25, 1); }
.carnet:hover, .carnet:focus-visible { --ouvre: -52deg; }
.carnet__avant, .carnet__arriere { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.carnet__avant {
  border-radius: 4px 20px 20px 4px;
  background:
    linear-gradient(90deg, var(--dos, #7a5030) 0 var(--dos-l, 7%), rgba(0, 0, 0, .14) var(--dos-l, 7%) calc(var(--dos-l, 7%) + 2px), transparent 0),
    radial-gradient(120% 90% at 18% 8%, rgba(255, 255, 255, .28), transparent 55%),
    var(--motif, none) 0 0 / calc(var(--l) * .5) auto,
    var(--grain),
    var(--couv, var(--cuir));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), inset -6px -8px 18px rgba(0, 0, 0, .1);
}
.carnet__arriere { transform: rotateY(180deg); border-radius: 20px 4px 4px 20px; background: var(--grain), var(--int, var(--cuir-int)); }
.carnet .etiq { position: absolute; left: 50%; top: 15%; width: 74%; translate: -45% 0; rotate: -3deg; font-size: calc(var(--l) * .05); }
.carnet__elastique {
  position: absolute; top: 0; bottom: 0; right: 9%; width: calc(var(--l) * .04);
  background: linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 40%, rgba(0, 0, 0, .25)), var(--elastique, #4a2f18);
  box-shadow: 1px 0 2px rgba(0, 0, 0, .35);
}
.carnet__sticker { position: absolute; width: calc(var(--l) * .2); height: calc(var(--l) * .2); }
.carnet__sticker--1 { left: 20%; bottom: 13%; rotate: -12deg; }
.carnet__sticker--2 { left: 42%; bottom: 9%; rotate: 14deg; width: calc(var(--l) * .17); height: calc(var(--l) * .17); }
.carnet__stylo {
  position: absolute; right: calc(var(--l) * -.045); top: 18%; width: calc(var(--l) * .07); height: 62%;
  border-radius: 99px 99px 6px 6px; transform: translateZ(4px);
  background: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .45) 35%, transparent 55%, rgba(0, 0, 0, .25)), var(--stylo, var(--marqueur));
  box-shadow: 4px 10px 14px -6px rgba(0, 0, 0, .45);
}
.carnet__stylo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26%; border-radius: 99px 99px 3px 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent 50%, rgba(0, 0, 0, .3)), var(--encre); }
.carnet__stylo::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -12%; height: 13%; background: #f3d6b4; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.carnet--mini { --l: 120px; }
.carnet--mini .carnet__stylo, .carnet--pile .carnet__stylo { display: none; }

/* ---------------------------------------------------------------- polaroïds et clichés */
.portrait { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--rosee); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--rond { border-radius: 50%; border: var(--trait); }
.polaroid {
  position: relative; display: block; padding: 10px 10px 0; background: var(--blanc);
  border-radius: 3px; box-shadow: var(--ombre-objet); rotate: -3deg; transition: rotate .35s ease;
}
.polaroid .portrait { border-radius: 2px; }
.polaroid__legende { display: block; padding: 6px 0 10px; text-align: center; font-family: var(--f-main); font-weight: 600; font-size: 27px; line-height: 1.1; color: var(--encre); }
a:hover > .polaroid { rotate: 0deg; }
.polaroid--grand { padding: 12px 12px 0; }
.polaroid--grand .polaroid__legende { font-size: 32px; }
.polaroid--geant { padding: 16px 16px 0; rotate: -4deg; }
.polaroid--geant .polaroid__legende { font-size: 44px; padding: 10px 0 16px; }

.cliche {
  position: relative; display: block; padding: 10px 10px 12px; background: var(--blanc); text-decoration: none;
  border-radius: 3px; box-shadow: var(--ombre-objet); rotate: var(--r, 4deg); transition: rotate .4s ease, translate .4s ease;
}
.cliche__photo { display: block; overflow: hidden; border-radius: 2px; background: var(--rosee); }
.cliche__photo img { width: 100%; height: 100%; object-fit: cover; }
.cliche__legende { display: block; padding-top: 8px; text-align: center; font-family: var(--f-main); font-weight: 600; font-size: 22px; line-height: 1; color: var(--encre); }
.cliche__trombone { position: absolute; z-index: 2; top: -24px; left: 18px; width: 20px; height: 54px; rotate: 6deg; }
a.cliche:hover { rotate: 0deg; translate: 0 -4px; }

/* ---------------------------------------------------------------- accueil : le carnet qui s'ouvre */
.ouverture {
  --p: 1;
  --a: clamp(0, (var(--p) - .04) / .26, 1);
  --b: clamp(0, (var(--p) - .32) / .22, 1);
  --c: clamp(0, (var(--p) - .62) / .22, 1);
  --d: clamp(0, (var(--p) - .48) / .16, 1);
  position: relative;
}
.anim .ouverture { --p: 0; height: 300svh; }
.ouverture__scene { position: relative; overflow: hidden; }
.anim .ouverture__scene { position: sticky; top: 0; height: 100svh; }
.ouverture__texte { position: relative; z-index: 2; width: min(560px, 100%); padding: calc(var(--haut-entete) + 32px) var(--gouttiere) 40px; }
.anim .ouverture__texte {
  position: absolute; left: max(var(--gouttiere), calc((100vw - var(--max-large)) / 2 + var(--gouttiere))); top: 50%;
  width: min(580px, 44vw); padding: 0;
  translate: 0 calc(-50% - var(--a) * 70px); opacity: calc(1 - var(--a) * 1.7);
}
.ouverture[data-phase]:not([data-phase="0"]) .ouverture__texte { visibility: hidden; }
.ouverture__salut { font-size: 30px; margin-bottom: 10px; }
.ouverture__titre { font-size: clamp(56px, 7.6vw, 108px); }
.ouverture__sur { display: block; margin-bottom: 14px; font-family: var(--f-ui); font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1.4; color: var(--gris); text-transform: none; }
.ouverture__intro { margin: 38px 0 34px; max-width: 470px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--cacao); }
.ouverture__info { margin-top: 12px; font-size: 16px; color: var(--cacao); }

.livre {
  --l: min(84vw, 52svh, 470px); --h: calc(var(--l) * 1.38);
  --x0: calc(max(52vw, 46vw + 80px) - 50vw); --x1: 0px; --y0: 7svh; --rz: 9deg; --rx: 12deg;
  position: relative; width: var(--l); height: var(--h); margin: 0 auto 80px; perspective: 2600px; z-index: 1;
}
html:not(.anim) .livre { margin: 30px 0 110px 50%; }
.anim .livre { position: absolute; left: 50%; top: 50%; margin: calc(var(--h) / -2) 0 0; }
.livre__objet { position: absolute; inset: 0; transform-style: preserve-3d; }
.anim .livre__objet {
  transform:
    translate3d(calc(var(--x0) * (1 - var(--a)) + var(--x1) * var(--a)), calc(var(--y0) * (1 - var(--a))), 0)
    rotateZ(calc(var(--rz) * (1 - var(--a)))) rotateX(calc(var(--rx) * (1 - var(--a))))
    scale(calc(.97 + var(--a) * .05));
}
.livre__bloc {
  position: absolute; inset: -6px -12px -12px -4px; transform: translateZ(-6px); border-radius: 6px 24px 24px 6px;
  background: var(--grain), var(--cuir);
  box-shadow: 34px 46px 70px -22px rgba(43, 26, 7, .5), inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.livre__bloc::before {
  content: ""; position: absolute; top: 4px; bottom: 6px; right: 5px; width: 9px; border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(90deg, #fffdf8 0 1.5px, #e2d8c8 1.5px 3px);
}
.livre__bloc::after {
  content: ""; position: absolute; left: 6px; right: 12px; bottom: 5px; height: 8px; border-radius: 0 0 8px 6px;
  background: repeating-linear-gradient(0deg, #fffdf8 0 1.5px, #e2d8c8 1.5px 3px);
}
.livre__page, .livre__recto, .livre__verso, .livre__avant, .livre__arriere {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.livre__page, .livre__recto {
  border-radius: 3px 18px 18px 3px; background-color: var(--feuille);
  background-image: linear-gradient(90deg, rgba(43, 26, 7, .16), rgba(43, 26, 7, .03) 7%, transparent 14%);
}
.livre__page--article { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 6.5% 8% 7% 10%; }
.livre__note { font-size: calc(var(--l) * .062); margin: 0; }
.livre__photo { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: var(--trait); border-radius: 8px; background: var(--rosee); box-shadow: var(--ombre-carte); }
.livre__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.livre__photo:hover img { scale: 1.04; }
.livre__infos { display: flex; align-items: center; gap: 10px; }
.livre__titre { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: calc(var(--l) * .056); line-height: 1.15; letter-spacing: -.01em; color: var(--cacao); }
.livre__titre a { text-decoration: none; }
.livre__titre a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.livre__meta { font-family: var(--f-ui); font-size: 14px; color: var(--gris); }
.livre__meta a { color: var(--encre); font-weight: 600; text-decoration: none; }
.livre__btn { margin-top: auto; }

.livre__feuille { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(-177deg) translateZ(3px); }
.anim .livre__feuille { transform: rotateY(calc(var(--c) * -177deg)) translateZ(3px); }
.livre__recto {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10%;
  background-image: linear-gradient(90deg, rgba(43, 26, 7, .16), rgba(43, 26, 7, .03) 7%, transparent 14%),
    repeating-linear-gradient(transparent 0 calc(var(--l) * .07), rgba(213, 227, 245, .55) calc(var(--l) * .07) calc(var(--l) * .07 + 1px));
}
.livre__bonjour { font-family: var(--f-ui); font-size: calc(var(--l) * .032); font-weight: 500; color: var(--cacao); }
.livre__bienvenue { margin: .35em 0 0; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: calc(var(--l) * .11); line-height: 1.02; letter-spacing: -.025em; color: var(--cacao); text-transform: lowercase; }
.livre__tourner { position: absolute; bottom: 7%; left: 0; right: 0; font-family: var(--f-ui); font-size: calc(var(--l) * .024); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--encre); }
.livre__deco { position: absolute; width: calc(var(--l) * .15); height: calc(var(--l) * .15); }
.livre__deco--1 { top: 12%; left: 14%; rotate: -14deg; }
.livre__deco--2 { top: 16%; right: 12%; rotate: 12deg; }
.livre__deco--3 { bottom: 24%; left: 12%; rotate: 8deg; }
.livre__deco--4 { bottom: 20%; right: 14%; rotate: -10deg; }
.anim .livre__deco { scale: clamp(0, (var(--p) - .42) * 9, 1); transition: scale .1s linear; }
.anim .livre__tourner { opacity: clamp(0, (var(--p) - .5) * 8, 1); }

.livre__verso {
  transform: rotateY(180deg); border-radius: 18px 3px 3px 18px; padding: 9% 10% 8% 9%;
  background-color: var(--feuille);
  background-image: linear-gradient(-90deg, rgba(43, 26, 7, .16), rgba(43, 26, 7, .03) 7%, transparent 14%),
    repeating-linear-gradient(transparent 0 calc(var(--l) * .07), rgba(213, 227, 245, .55) calc(var(--l) * .07) calc(var(--l) * .07 + 1px));
}
.livre__sommaire-titre { font-family: var(--f-main); font-weight: 700; font-size: calc(var(--l) * .1); line-height: 1; color: var(--sienne); rotate: -3deg; margin-bottom: 8%; }
.livre__sommaire { list-style: none; padding: 0; }
.livre__sommaire a { display: flex; align-items: center; gap: 10px; padding: 4.2% 0; text-decoration: none; color: var(--cacao); }
.livre__puce { width: calc(var(--l) * .085); height: calc(var(--l) * .085); }
.livre__rub { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: calc(var(--l) * .07); line-height: 1; text-transform: lowercase; letter-spacing: -.02em; }
.livre__points { flex: 1; border-bottom: 2px dotted rgba(23, 23, 23, .4); translate: 0 6px; }
.livre__nb { font-family: var(--f-ui); font-size: calc(var(--l) * .03); color: var(--gris); white-space: nowrap; }
.livre__sommaire a:hover .livre__rub { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 3px; }
.livre__signe { position: absolute; right: 10%; bottom: 7%; font-family: var(--f-main); font-size: calc(var(--l) * .065); font-weight: 600; color: var(--sienne); rotate: -5deg; }

.livre__couv { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(-179deg) translateZ(6px); }
.anim .livre__couv { transform: rotateY(calc(var(--b) * -179deg)) translateZ(6px); }
.livre__avant {
  border-radius: 4px 22px 22px 4px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .08) 3%, rgba(255, 255, 255, .08) 4%, transparent 6%),
    radial-gradient(120% 90% at 22% 6%, rgba(255, 255, 255, .22), transparent 55%),
    radial-gradient(90% 80% at 90% 100%, rgba(0, 0, 0, .18), transparent 60%),
    var(--grain), var(--cuir);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.livre__etiq { position: absolute; left: 14%; top: 17%; width: 70%; rotate: -4deg; font-size: calc(var(--l) * .047); }
.livre__elastique {
  position: absolute; top: 0; bottom: 0; right: 9%; width: calc(var(--l) * .036);
  background: linear-gradient(90deg, rgba(255, 255, 255, .16), transparent 40%, rgba(0, 0, 0, .3)), #4a2f18;
  box-shadow: 1px 0 3px rgba(0, 0, 0, .4);
}
.livre__collant { position: absolute; width: calc(var(--l) * .17); height: calc(var(--l) * .17); }
.livre__collant--1 { left: 50%; bottom: 13%; rotate: -14deg; }
.livre__collant--2 { left: 66%; bottom: 10%; rotate: 16deg; }
.livre__arriere {
  transform: rotateY(180deg); border-radius: 22px 4px 4px 22px;
  background:
    linear-gradient(-90deg, rgba(0, 0, 0, .28) 0, transparent 6%),
    var(--grain), var(--cuir-int);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), -24px 40px 60px -26px rgba(43, 26, 7, .45);
}
.livre__arriere .marque { position: absolute; left: 10%; bottom: 7%; width: calc(var(--l) * .16); height: calc(var(--l) * .16); opacity: .5; filter: grayscale(1) contrast(.6); }
.livre__appartient {
  position: absolute; left: 12%; top: 12%; display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-ui); font-size: calc(var(--l) * .036); color: rgba(43, 26, 7, .75);
}
.livre__appartient strong { font-family: var(--f-main); font-size: 2.6em; line-height: 1; color: var(--cacao); rotate: -4deg; }
.livre__stylo {
  position: absolute; right: calc(var(--l) * -.06); top: 16%; width: calc(var(--l) * .065); height: 64%;
  transform: translateZ(10px); border-radius: 99px 99px 6px 6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .5) 35%, transparent 55%, rgba(0, 0, 0, .28)), var(--marqueur);
  box-shadow: 6px 14px 18px -6px rgba(0, 0, 0, .45);
}
.livre__stylo::before { content: ""; position: absolute; inset: 0 0 auto; height: 24%; border-radius: 99px 99px 3px 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent 50%, rgba(0, 0, 0, .3)), var(--encre); }
.livre__stylo::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -9%; height: 10%; background: #f3d6b4; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.livre__vole { position: absolute; width: calc(var(--l) * .2); height: calc(var(--l) * .2); }
.livre__vole--1 { left: -38%; top: -6%; rotate: -12deg; }
.livre__vole--2 { left: -92%; bottom: 8%; rotate: 14deg; width: calc(var(--l) * .13); height: calc(var(--l) * .13); }
.livre__vole--3 { right: -16%; top: -9%; rotate: 10deg; }
.livre__vole--4 { right: -20%; bottom: 4%; rotate: -16deg; }
html:not(.anim) .livre__vole--1, html:not(.anim) .livre__vole--2 { left: -16%; }
.anim .livre__vole { transform: translateZ(60px) translateY(calc((1 - var(--d)) * 80px)); scale: var(--d); opacity: var(--d); }

/* Téléphone : le carnet passe sous le texte, la page de droite est centrée une fois ouvert */
@media (max-width: 760px) {
  .livre { --l: min(80vw, 46svh, 360px); --x0: calc(var(--l) / -2 + 7vw); --x1: calc(var(--l) / -2); --y0: 37svh; --rz: 7deg; --rx: 8deg; }
  .ouverture__intro .insertion__mot { left: auto; right: -.1em; }
  html:not(.anim) .livre { margin-left: calc(50% - var(--l) / 2); }
  html:not(.anim) .livre__couv, html:not(.anim) .livre__feuille { display: none; }
  .anim .ouverture__texte { left: var(--gouttiere); right: var(--gouttiere); top: calc(var(--haut-entete) + 8px); width: auto; translate: 0 calc(var(--a) * -60px); }
  .ouverture__titre { font-size: clamp(46px, 13vw, 64px); }
  .ouverture__salut { font-size: 26px; }
  .ouverture__intro { margin: 26px 0 22px; font-size: 18px; }
  .ouverture__sur { font-size: 13px; margin-bottom: 10px; }
  .livre__sommaire, .livre__signe { display: none; }
  .livre__meta { font-size: 13px; }
  .livre__vole--1, .livre__vole--2 { display: none; }
  .livre__vole--3 { right: -6%; }
  .livre__vole--4 { right: -8%; }
}
@media (max-width: 760px) and (max-height: 700px) { .ouverture__intro { display: none; } }

/* ---------------------------------------------------------------- accueil : la promesse */
.promesse { position: relative; overflow: hidden; padding: clamp(120px, 17vw, 230px) var(--gouttiere); text-align: center; }
.promesse__texte { max-width: 960px; margin: 0 auto; font-family: var(--f-texte); font-weight: 500; font-variation-settings: "SOFT" 60; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.18; letter-spacing: -.015em; color: var(--cacao); }
.anim .promesse .mot { opacity: clamp(.13, (var(--p) - .2 - var(--i) * .026) * 14, 1); }
.promesse__atouts { list-style: none; padding: 0; }
.atout { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 170px; text-align: center; font-family: var(--f-main); font-weight: 600; font-size: 24px; line-height: 1.05; color: var(--encre); }
.atout__sticker { width: 56px; height: 56px; }
.atout--1 { left: 7%; top: 13%; rotate: -6deg; --v: 1.2; }
.atout--2 { right: 8%; top: 17%; rotate: 5deg; --v: .7; }
.atout--3 { left: 13%; bottom: 12%; rotate: 4deg; --v: .9; }
.atout--4 { right: 11%; bottom: 10%; rotate: -5deg; --v: 1.4; }
.anim .atout { translate: 0 calc((var(--p) - .5) * var(--v) * -220px); }
@media (max-width: 860px) {
  .promesse { padding-block: 96px 72px; }
  .promesse__atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; max-width: 420px; margin: 56px auto 0; }
  .atout { position: static; width: auto; translate: none !important; }
}

/* ---------------------------------------------------------------- scènes (une par rubrique) */
.scene { --p: .5; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 980px); padding-block: clamp(80px, 10vw, 150px); }
.scene__fond { position: absolute; z-index: -2; inset: -6% 0; }
.anim .scene__fond { transform: translateY(calc((var(--p) - .5) * -5%)); }
.decor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.anim .couche { transform: translateY(calc((var(--p) - .5) * var(--v, .5) * -150px)); }
.anim .derive { animation: derive 24s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes derive { from { transform: translateX(calc(var(--a) * -1)); } to { transform: translateX(var(--a)); } }
.anim .bulle { animation: monte var(--t) linear infinite; animation-delay: var(--d); }
@keyframes monte { from { transform: translate(0, 0); } 50% { transform: translate(24px, -620px); } to { transform: translate(-10px, -1250px); } }
.linge { transform-box: fill-box; transform-origin: 50% 0; }
.anim .linge { animation: balance 4.2s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes balance { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

.decor--vichy { overflow: hidden; background: #fff4ea; }
.vichy__nappe {
  position: absolute; inset: -40% -30% -12%;
  background-color: #fff6ee;
  background-image: linear-gradient(90deg, rgba(255, 111, 30, .34) 50%, transparent 0), linear-gradient(rgba(255, 111, 30, .34) 50%, transparent 0);
  background-size: 84px 84px;
  transform: perspective(1200px) rotateX(38deg); transform-origin: 50% 100%;
}
.anim .vichy__nappe { transform: perspective(1200px) rotateX(38deg) translateY(calc((var(--p) - .5) * -140px)); }
.crayon-cire {
  position: absolute; left: var(--x); top: var(--y); width: 150px; height: 24px; rotate: var(--r);
  background: linear-gradient(rgba(255, 255, 255, .35), transparent 45%, rgba(0, 0, 0, .18)), var(--c);
  border: 2px solid var(--encre); border-radius: 4px 12px 12px 4px; box-shadow: 6px 10px 12px -4px rgba(0, 0, 0, .25);
}
.crayon-cire::before { content: ""; position: absolute; left: 22%; width: 46%; top: -2px; bottom: -2px; background: var(--papier); border: 2px solid var(--encre); border-radius: 2px; }
.crayon-cire::after { content: ""; position: absolute; right: -24px; top: 2px; width: 24px; height: 16px; background: var(--c); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.scene__dessin { position: absolute; z-index: -1; left: 31%; bottom: 5%; width: min(280px, 22vw); rotate: 6deg; filter: drop-shadow(0 18px 18px rgba(43, 26, 7, .25)); }
.scene--tete .scene__dessin { left: auto; right: 4%; top: auto; bottom: 6%; rotate: 6deg; }
.dessin { display: block; width: 100%; height: auto; }

.scene__grille { position: relative; display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.scene--inverse .scene__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); }
.scene--inverse .scene__carte { order: 2; }
.scene__carte {
  position: relative; padding: clamp(24px, 3.4vw, 44px); background: var(--papier);
  border: var(--trait); border-radius: var(--r-carte);
  box-shadow: 0 30px 60px -28px rgba(43, 26, 7, .45), var(--ombre-carte);
}
.scene__note { font-size: 27px; }
.scene__titre, .scene__h1 {
  margin: 4px 0 16px; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100;
  font-size: clamp(54px, 6.6vw, 92px); line-height: .96; letter-spacing: -.035em; color: var(--cacao); text-transform: lowercase;
}
.scene__titre a { text-decoration: none; }
.scene__titre a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.scene__h1 { font-size: clamp(64px, 9vw, 124px); }
.scene__page { font-family: var(--f-main); font-size: .3em; font-weight: 600; color: var(--sienne); letter-spacing: 0; vertical-align: middle; }
.scene__intro { margin-bottom: 22px; font-size: 18px; line-height: 1.5; color: var(--cacao); }
.scene__liste { list-style: none; padding: 0; margin-bottom: 26px; border-top: 1px solid var(--filet); }
.scene__liste a, .scene__liste li > span { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.scene__article { font-size: 17px; line-height: 1.35; font-weight: 500; }
.scene__num { flex: none; font-family: var(--f-texte); font-style: italic; font-size: 15px; color: var(--gris); }
.scene__liste li:first-child .scene__article { color: var(--sienne); font-weight: 600; }
.scene__liste a:hover .scene__article { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.scene__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.scene__auteur { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 14px; color: var(--gris); }
.scene__auteur .portrait { width: 40px; height: 40px; flex: none; }
.scene__auteur a { color: var(--encre); font-weight: 600; text-decoration: none; }
.scene__auteur a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); }
.scene__carte--tete .ariane { margin-bottom: 18px; }
.scene__carte--tete .scene__intro { font-size: clamp(18px, 1.6vw, 21px); }

.scene__objet { position: relative; display: grid; place-items: center; min-height: clamp(420px, 44vw, 600px); }
.anim .scene__objet { translate: 0 calc((var(--p) - .5) * -110px); rotate: calc((var(--p) - .5) * -7deg); }
.carnet--scene { --l: clamp(230px, 24vw, 330px); rotate: -7deg; translate: -14% 9%; }
.scene--inverse .carnet--scene { rotate: 6deg; translate: 14% 9%; }
.scene--tete .carnet--scene { translate: 0 0; }
.carnet--grand { --l: clamp(250px, 27vw, 370px); }
.anim .carnet--coucou .carnet__couv { animation: coucou 2.2s cubic-bezier(.3, .7, .2, 1) .9s; }
@keyframes coucou { 0% { transform: rotateY(0); } 38% { transform: rotateY(-64deg); } 60% { transform: rotateY(-64deg); } 100% { transform: rotateY(0); } }
.scene__cliche { position: absolute; z-index: 2; top: -2%; right: 0; width: min(40%, 230px); --r: 8deg; }
.scene--inverse .scene__cliche { right: auto; left: 0; --r: -7deg; }
.scene__cliche .cliche__photo { aspect-ratio: 5 / 4; }
.scene__vole { position: absolute; z-index: 3; }
.scene__vole--1 { left: 6%; bottom: 10%; width: 70px; height: 70px; rotate: -14deg; }
.scene__vole--2 { right: 8%; bottom: 4%; width: 54px; height: 54px; rotate: 12deg; }
.anim .scene__vole { animation: flotte 5s ease-in-out infinite alternate; }
.anim .scene__vole--2 { animation-duration: 6.4s; animation-delay: -2s; }
@keyframes flotte { from { translate: 0 0; } to { translate: 0 -16px; } }

.scene--tete { min-height: min(92svh, 900px); padding-top: calc(var(--haut-entete) + 40px); }

@media (max-width: 900px) {
  .scene, .scene--tete { min-height: 0; }
  .scene__grille, .scene--inverse .scene__grille { grid-template-columns: minmax(0, 1fr); }
  .scene--inverse .scene__carte { order: 0; }
  .scene__objet { min-height: 440px; order: 2; }
  .scene--tete .scene__objet { order: -1; min-height: 380px; }
  .scene__dessin { width: 190px; top: auto; bottom: 2%; left: 2%; }
  .scene--tete .scene__dessin { display: none; }
}

/* ---------------------------------------------------------------- titres de section */
.section__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section__tete--centre { justify-content: center; text-align: center; }
.section__tete--centre .note { transform-origin: center; }

/* ---------------------------------------------------------------- mosaïque « tout frais » */
.mosaique {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  grid-template-areas: "a a b c" "a a d d" "e e f f";
}
.vignette--1 { grid-area: a; } .vignette--2 { grid-area: b; } .vignette--3 { grid-area: c; }
.vignette--4 { grid-area: d; } .vignette--5 { grid-area: e; } .vignette--6 { grid-area: f; }
.vignette { perspective: 1000px; }
.vignette__carte {
  position: relative; height: 100%; display: flex; flex-direction: column; padding: 12px;
  background: var(--papier); border: var(--trait); border-radius: var(--r-carte); box-shadow: var(--ombre-carte);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}
.vignette__carte:hover { box-shadow: 0 30px 50px -24px rgba(43, 26, 7, .45); }
.vignette__media { display: block; overflow: hidden; border-radius: 8px; background: var(--rosee); aspect-ratio: 4 / 3; }
.vignette__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s ease; }
.vignette__carte:hover .vignette__media img { scale: 1.05; }
.vignette--1 .vignette__media { aspect-ratio: auto; flex: 1; min-height: 300px; }
.vignette .badge { position: absolute; top: 24px; left: 24px; transform: translateZ(30px); }
.vignette__sticker { position: absolute; top: -18px; right: -14px; width: 52px; height: 52px; rotate: 14deg; transform: translateZ(40px); transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.vignette:nth-child(even) .vignette__sticker { rotate: -12deg; }
.vignette__carte:hover .vignette__sticker { rotate: 0deg; }
.vignette__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 8px 6px; transform: translateZ(20px); }
.vignette__titre { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 21px; line-height: 1.22; color: var(--cacao); }
.vignette--1 .vignette__titre { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.vignette__titre a { text-decoration: none; }
.vignette__titre a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.vignette__extrait { font-size: 17px; line-height: 1.5; color: #3b3129; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vignette__meta, .fiche__meta { margin-top: auto; font-family: var(--f-ui); font-size: 14px; color: var(--gris); }
.vignette__meta a, .fiche__meta a { color: var(--encre); font-weight: 600; text-decoration: none; }
.vignette__meta a:hover, .fiche__meta a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); }
.vignette--4 .vignette__carte, .vignette--5 .vignette__carte, .vignette--6 .vignette__carte { flex-direction: row; gap: 18px; align-items: stretch; }
.vignette--4 .vignette__media, .vignette--5 .vignette__media, .vignette--6 .vignette__media { width: 46%; flex: none; aspect-ratio: auto; min-height: 220px; }
.vignette--4 .vignette__corps, .vignette--5 .vignette__corps, .vignette--6 .vignette__corps { padding: 10px 8px 6px 0; }
@media (max-width: 1000px) {
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d d" "e e" "f f"; }
}
@media (max-width: 620px) {
  .mosaique { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .vignette--4 .vignette__carte, .vignette--5 .vignette__carte, .vignette--6 .vignette__carte { flex-direction: column; }
  .vignette--4 .vignette__media, .vignette--5 .vignette__media, .vignette--6 .vignette__media { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .vignette--1 .vignette__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
}

/* ---------------------------------------------------------------- feuille lignée et liste des « jamais » */
.lignee {
  --pas: 44px;
  position: relative; padding: 58px clamp(20px, 3vw, 36px) 34px clamp(76px, 8vw, 96px);
  background-color: var(--feuille);
  background-image:
    linear-gradient(90deg, transparent clamp(58px, 6.5vw, 74px), var(--marge) clamp(58px, 6.5vw, 74px) calc(clamp(58px, 6.5vw, 74px) + 2px), transparent 0),
    repeating-linear-gradient(transparent 0 calc(var(--pas) - 1px), var(--ligne-bleue) calc(var(--pas) - 1px) var(--pas));
  background-position: 0 0, 0 14px;
  border-radius: 4px; box-shadow: var(--ombre-objet); rotate: var(--r, -1.8deg);
}
.lignee::before {
  content: ""; position: absolute; left: clamp(16px, 2vw, 24px); top: 40px; bottom: 40px; width: 20px;
  background: radial-gradient(circle, var(--trou, var(--rosee)) 0 8px, rgba(43, 26, 7, .28) 8px 9.5px, transparent 10px) 50% 0 / 20px 33.3% repeat-y;
}
.lignee__titre { margin: 0; font-family: var(--f-main); font-weight: 700; font-size: 34px; line-height: var(--pas); color: var(--sienne); }
.jamais { list-style: none; padding: 0; }
.jamais li { display: flex; align-items: center; gap: 14px; min-height: var(--pas); font-family: var(--f-main); font-weight: 600; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.1; color: var(--encre); }
.croix { width: 30px; height: 30px; flex: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.anim .croix { stroke-dashoffset: 1; transition: stroke-dashoffset .45s ease; transition-delay: calc(.5s + var(--i) * .2s); }
.anim .est-vu .croix { stroke-dashoffset: 0; }
.lignee--petite { --pas: 36px; max-width: 420px; padding-top: 44px; }
.lignee--petite .lignee__titre { font-size: 27px; }
.lignee--petite .jamais li { font-size: 23px; gap: 10px; }
.lignee--petite .croix { width: 22px; height: 22px; }

.jamais-section { position: relative; overflow: hidden; }
.jamais-section__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.jamais-section__texte p { margin: 20px 0 26px; max-width: 420px; font-size: 19px; color: var(--cacao); }
.jamais-section__feuille { position: relative; max-width: 600px; justify-self: center; width: 100%; }
.jamais-section__deco { position: absolute; }
.jamais-section__deco--1 { top: -34px; right: -20px; width: 74px; height: 74px; rotate: 16deg; }
.jamais-section__deco--2 { bottom: -26px; left: -24px; width: 64px; height: 64px; rotate: -14deg; }
.jamais-section__legende { position: absolute; right: 8%; bottom: -54px; color: var(--encre); font-size: 26px; }
@media (max-width: 860px) { .jamais-section__grille { grid-template-columns: minmax(0, 1fr); } .jamais-section__legende { position: static; margin-top: 30px; } }

/* ---------------------------------------------------------------- tableau de liège */
.liege { position: relative; background-color: #c79a66; background-image: var(--liege-clair), var(--liege-sombre); box-shadow: inset 0 0 0 12px #8b5e34, inset 0 0 0 14px rgba(0, 0, 0, .25), inset 0 0 80px rgba(60, 30, 5, .35); }
.liege__scene { position: relative; overflow-x: auto; scroll-snap-type: x proximity; }
.liege__piste { display: flex; align-items: center; gap: clamp(48px, 6vw, 110px); width: max-content; padding: 110px max(var(--gouttiere), 48px) 90px; }
.anim .liege--accueil { height: calc(100svh + var(--decalage, 0px)); }
.anim .liege--accueil .liege__scene { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.anim .liege--accueil .liege__piste { transform: translateX(calc(var(--p, 0) * var(--decalage, 0px) * -1)); }
.liege__intro, .liege__fin {
  position: relative; flex: none; width: 360px; padding: 40px 32px 32px; scroll-snap-align: center;
  background: var(--papier); border-radius: 4px; box-shadow: var(--ombre-objet); rotate: var(--r, -2deg);
}
.liege__intro p:not(.note) { margin: 16px 0 20px; font-size: 18px; color: var(--cacao); }
.liege__glisser { font-family: var(--f-main); font-size: 24px; color: var(--sienne) !important; margin: 18px 0 0 !important; }
.liege__fin { --r: 2.5deg; width: 330px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.liege__fin-titre { font-family: var(--f-titre); font-weight: 600; font-variation-settings: "SOFT" 100; font-size: 24px; line-height: 1.2; color: var(--cacao); }
.liege__avion { width: 84px; height: 84px; rotate: -16deg; }
.anim .liege__avion { animation: plane 3.2s ease-in-out infinite alternate; }
@keyframes plane { from { translate: -6px 4px; rotate: -20deg; } to { translate: 8px -10px; rotate: -8deg; } }

.epingle {
  position: relative; flex: none; width: min(820px, 88vw); scroll-snap-align: center;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "photo carte" "postit carnets"; gap: 30px 40px; align-items: start;
}
.epingle--inverse { grid-template-columns: minmax(0, 1fr) 250px; grid-template-areas: "carte photo" "carnets postit"; }
.epingle__photo { grid-area: photo; position: relative; display: block; text-decoration: none; rotate: -4deg; }
.epingle--inverse .epingle__photo { rotate: 5deg; }
.epingle__photo .polaroid { rotate: 0deg; }
.epingle__carte { grid-area: carte; position: relative; padding: 34px 30px 28px; background: var(--papier); border: var(--trait); border-radius: var(--r-carte); box-shadow: var(--ombre-objet); rotate: 1.2deg; }
.epingle--inverse .epingle__carte { rotate: -1.4deg; }
.epingle__etiq { max-width: 360px; margin-bottom: 18px; rotate: -2deg; font-size: 14px; }
.epingle__nom { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; letter-spacing: -.02em; color: var(--cacao); }
.epingle__nom a { text-decoration: none; }
.epingle__nom a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 3px; }
.epingle__poste { margin: 8px 0 12px; font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.epingle__texte { margin-bottom: 18px; font-size: 17px; line-height: 1.5; }
.postit {
  grid-area: postit; position: relative; padding: 30px 22px 22px; background: var(--beurre);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 20px 26px -16px rgba(43, 26, 7, .5); rotate: 3deg; border-radius: 2px 2px 22px 2px;
  font-family: var(--f-main); color: var(--encre);
}
.postit__titre { font-weight: 700; font-size: 28px; line-height: 1; color: var(--sienne); margin-bottom: 8px; }
.postit ul { list-style: none; padding: 0; }
.postit li { font-weight: 600; font-size: 23px; line-height: 1.25; }
.postit li::before { content: "– "; }
.epingle__carnets { grid-area: carnets; position: relative; display: flex; align-items: flex-end; gap: 22px; padding-top: 52px; }
.epingle__note { position: absolute; left: 0; top: 0; color: var(--encre); background: var(--papier); padding: 2px 12px; border-radius: 4px; box-shadow: var(--ombre-btn); }
.epingle__fleche { position: absolute; left: 172px; top: 8px; width: 56px; height: 44px; rotate: 40deg; }
.epingle__carnets .carnet:nth-of-type(1) { rotate: -6deg; }
.epingle__carnets .carnet:nth-of-type(2) { rotate: 5deg; }
.liege__note { color: var(--encre); background: var(--papier); padding: 2px 14px; border-radius: 4px; box-shadow: var(--ombre-btn); }
.liege__titre { display: table; margin: 14px 0 48px; padding: 8px 22px; background: var(--papier); border-radius: 4px; box-shadow: var(--ombre-objet); rotate: -1deg; }
.liege__groupe { display: grid; gap: 90px; justify-items: center; }
.liege--bande { padding-block: var(--section) calc(var(--section) + 56px); }
.liege--page { padding: calc(var(--haut-entete) + 28px) 0 calc(var(--section) + 70px); }
.ariane--liege { display: table; padding: 4px 14px; background: var(--papier); border-radius: 20px; }
.liege__entete { position: relative; max-width: 640px; margin: 10px 0 80px; padding: 40px 36px 34px; background: var(--papier); border-radius: 4px; box-shadow: var(--ombre-objet); rotate: -1.2deg; }
.liege__entete .chapo { margin-top: 16px; }
.liege__mot { max-width: 760px; margin: 90px auto 0; padding: 22px 28px; background: var(--beurre); border-radius: 2px; box-shadow: var(--ombre-objet); rotate: .8deg; font-size: 19px; }
.liege__mot a { font-weight: 600; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .anim .liege--accueil { height: auto; }
  .anim .liege--accueil .liege__scene { position: relative; height: auto; overflow-x: auto; display: block; }
  .anim .liege--accueil .liege__piste { transform: none; }
  .liege__piste { padding: 80px 24px 60px; gap: 40px; align-items: flex-start; }
  .liege__intro, .liege__fin { width: 290px; }
  .epingle, .epingle--inverse { width: 300px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "carte" "postit" "carnets"; }
  .epingle__photo { width: 220px; justify-self: center; }
  .liege--page .epingle, .liege--bande .epingle { width: 100%; }
}

/* ---------------------------------------------------------------- questions fréquentes */
.questions { max-width: calc(940px + 2 * var(--gouttiere)); }
.faq__liste { display: grid; }
.faq__item { border-bottom: 1.5px dashed rgba(23, 23, 23, .35); }
.faq__item:first-child { border-top: 1.5px dashed rgba(23, 23, 23, .35); }
.faq__item summary {
  position: relative; display: block; padding: 22px 64px 22px 4px; list-style: none; cursor: pointer;
  font-family: var(--f-titre); font-weight: 600; font-variation-settings: "SOFT" 100; font-size: 20px; line-height: 1.35; color: var(--cacao);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; width: 38px; height: 38px; margin-top: -19px;
  display: grid; place-items: center; border: var(--trait); border-radius: 50%; background: var(--papier); box-shadow: var(--ombre-btn);
  font-family: var(--f-ui); font-size: 22px; font-weight: 400; line-height: 1; transition: rotate .3s ease, background-color .3s ease;
}
.faq__item[open] summary::after { rotate: 45deg; background: var(--marqueur); }
.faq__item summary:hover { color: var(--sienne); }
.faq__reponse { padding: 0 64px 24px 4px; font-size: 18px; line-height: 1.6; }
.faq__reponse p { margin: 0 0 .8em; }
.faq__reponse p:last-child { margin: 0; }
.anim .faq__item[open] .faq__reponse { animation: deplie .4s ease; }
@keyframes deplie { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- la lettre (enveloppe) */
.lettre {
  --ouv-r: clamp(0, (var(--p, 1) - .18) / .16, 1);
  --ouv-l: clamp(0, (var(--p, 1) - .3) / .2, 1);
  position: relative; overflow: hidden; padding: clamp(90px, 11vw, 160px) 0 calc(clamp(90px, 11vw, 160px) + 56px);
  background: var(--rosee);
}
.anim .lettre { --p: 0; }
.lettre__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lettre__texte .titre-section { font-size: clamp(38px, 5vw, 64px); margin-bottom: 30px; }
.enveloppe {
  --w: min(520px, 88vw);
  position: relative; width: var(--w); height: calc(var(--w) / 1.55); margin: calc(var(--w) * .45) auto 0;
  perspective: 1600px; transform-style: preserve-3d; rotate: -3deg;
}
.enveloppe--ouverte { --ouv-r: 1; --ouv-l: 1; --w: min(380px, 80vw); }
.enveloppe > * { position: absolute; }
.enveloppe__dos { inset: 0; background: #ecd2b2; border: var(--trait); border-radius: 10px; transform: translateZ(0); }
.enveloppe__lettre {
  left: 6%; right: 6%; top: 5%; height: 90%; padding: 7% 7% 5%; transform: translateZ(1px) translateY(calc(var(--ouv-l) * -58%));
  background-color: var(--feuille);
  background-image: repeating-linear-gradient(transparent 0 27px, var(--ligne-bleue) 27px 28px);
  border: var(--trait); border-radius: 4px; box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, .25);
}
.enveloppe__salut { font-family: var(--f-main); font-weight: 700; font-size: calc(var(--w) * .06); line-height: 1; color: var(--sienne); }
.enveloppe__texte { margin-top: 8px; font-size: calc(var(--w) * .031); line-height: 1.55; color: var(--cacao); }
.enveloppe__signe { margin-top: 8px; text-align: right; font-family: var(--f-main); font-weight: 600; font-size: calc(var(--w) * .05); color: var(--encre); }
.enveloppe__devant {
  inset: 0; transform: translateZ(2px); border-radius: 10px;
  background: linear-gradient(160deg, #f5e0c6, #efd5b4);
  clip-path: polygon(0 24%, 50% 64%, 100% 24%, 100% 100%, 0 100%);
}
.enveloppe__devant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(23, 23, 23, .35) 50%, transparent calc(50% + 1px)) left bottom / 50% 76% no-repeat, linear-gradient(to top left, transparent calc(50% - 1px), rgba(23, 23, 23, .35) 50%, transparent calc(50% + 1px)) right bottom / 50% 76% no-repeat; }
.enveloppe__rabat {
  left: 0; right: 0; top: 0; height: 64%; transform-origin: top center;
  transform: rotateX(calc(var(--ouv-r) * 178deg)) translateZ(3px);
  background: linear-gradient(#e9c9a3, #e2bd93); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 0 rgba(23, 23, 23, .5));
}
.enveloppe__timbre {
  right: 7%; bottom: 10%; width: calc(var(--w) * .19); padding: 8px 6px 6px; transform: translateZ(4px); rotate: 6deg;
  display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--blanc);
  outline: 2px dashed var(--sienne); outline-offset: -5px; box-shadow: var(--ombre-btn);
  font-family: var(--f-ui); font-size: 8px; font-weight: 600; color: var(--sienne);
}
.enveloppe__timbre .marque { width: 70%; height: auto; }
@media (max-width: 860px) { .lettre__grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- pied de page */
.pied {
  --p: .5;
  position: relative; z-index: 2; margin-top: calc(var(--r-pied) * -1); overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0 26px; background: var(--marqueur); color: var(--encre);
  border-radius: var(--r-pied) var(--r-pied) 0 0;
}
.pied a { color: var(--encre); text-decoration: none; }
.pied a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.pied__haut { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.3fr .8fr; gap: 36px; }
.pied__equipe a { display: flex; align-items: center; gap: 10px; }
.pied__equipe .portrait { width: 40px; height: 40px; flex: none; }
.pied__equipe span { display: grid; line-height: 1.2; }
.pied__equipe small { font-size: 12px; opacity: .8; }
.pied__slogan { max-width: 520px; font-family: var(--f-titre); font-weight: 600; font-variation-settings: "SOFT" 100; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.015em; color: var(--papier); }
.pied__texte { max-width: 400px; margin: 18px 0; line-height: 1.5; }
.pied__mail { font-weight: 600; font-size: 19px; text-decoration: underline !important; text-decoration-thickness: 1.5px !important; }
.pied h2 { margin: 0 0 16px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pied ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.pied ul a { font-size: 18px; }
.pied__geant {
  position: relative; z-index: 0; display: flex; flex-wrap: wrap; column-gap: .25em; margin: 40px 0 0; padding-inline: var(--gouttiere);
  font-family: var(--f-titre); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(76px, 15.5vw, 250px); line-height: .82; letter-spacing: -.05em; white-space: nowrap; color: rgba(150, 50, 0, .2);
}
.anim .pied__geant span { display: inline-block; translate: 0 calc(max(0, .5 - var(--p)) * 260px); }
.anim .pied__geant span + span { translate: 0 calc(max(0, .5 - var(--p)) * 420px); }
.pied__bas { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-family: var(--f-ui); font-size: 14px; }
.pied__chute { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pied__sticker { position: absolute; width: 64px; height: 64px; }
.pied__sticker--1 { right: 6%; top: 38px; width: 86px; height: 86px; rotate: 14deg; }
.pied__sticker--2 { right: 3.5%; top: 150px; rotate: -12deg; width: 48px; height: 48px; }
.pied__sticker--3 { left: 46%; bottom: 30%; rotate: 8deg; width: 72px; height: 72px; }
.pied__sticker--4 { right: 4%; bottom: 26%; rotate: -8deg; }
.pied__sticker--5 { left: 30%; top: 46px; rotate: -18deg; width: 44px; height: 44px; }
.pied__sticker--6 { right: 26%; bottom: 34%; rotate: 12deg; width: 56px; height: 56px; }
.anim .pied__sticker { translate: 0 calc(max(0, .42 - var(--p)) * -700px); rotate: calc(max(0, .42 - var(--p)) * 240deg); }
@media (max-width: 960px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } .pied__sticker--3, .pied__sticker--5, .pied__sticker--6 { display: none; } }
@media (max-width: 520px) { .pied { --r-pied: 36px; } .pied__haut { grid-template-columns: 1fr; } .pied__geant { white-space: normal; font-size: 24vw; } .pied__sticker--1 { width: 60px; height: 60px; top: 24px; } .pied__sticker--2 { display: none; } }

/* ---------------------------------------------------------------- fil d'Ariane, onglets */
.ariane { margin-bottom: 22px; font-family: var(--f-ui); font-size: 14px; color: var(--gris); }
.ariane ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ariane li { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ariane li + li::before { content: "›"; margin-right: 6px; }
.ariane a { text-decoration: none; }
.ariane a:hover { text-decoration: underline; }
.ariane [aria-current] { color: var(--encre); }

.onglets { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 72px; padding-top: 1px; }
.onglets::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: var(--trait); }
.onglet {
  position: relative; display: inline-flex; align-items: center; padding: 10px 22px 12px; margin-bottom: -1.5px;
  background: var(--rosee); border: var(--trait); border-bottom: 0; border-radius: 14px 14px 0 0;
  font-family: var(--f-main); font-weight: 600; font-size: 24px; line-height: 1; text-decoration: none; color: var(--encre);
  transition: translate .2s ease, background-color .2s ease;
}
.onglet:hover { translate: 0 -4px; background: var(--beurre); }
.onglet[aria-current] { z-index: 1; background: var(--papier); padding-bottom: 14px; translate: 0 -6px; color: var(--sienne); }
.onglet--fleche { font-family: var(--f-ui); font-size: 15px; font-weight: 500; }

/* ---------------------------------------------------------------- rubrique : double page et fiches */
.liste-rubrique { position: relative; }
.double {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 12px auto 96px; max-width: 1120px;
  filter: drop-shadow(0 34px 34px rgba(43, 26, 7, .25));
}
.double::before { content: ""; position: absolute; inset: -14px -16px -18px; z-index: -1; border-radius: 22px; background: var(--grain), var(--couv, var(--cuir)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.double::after { content: ""; position: absolute; left: 50%; top: -14px; bottom: -18px; width: 22px; margin-left: -11px; z-index: -1; background: var(--dos, #7a5030); border-radius: 4px; }
.double__page {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 480px;
  padding: clamp(28px, 4vw, 56px); background-color: var(--feuille);
}
.double__page--gauche { border-radius: 14px 3px 3px 14px; background-image: linear-gradient(-90deg, rgba(43, 26, 7, .16), transparent 12%), repeating-linear-gradient(transparent 0 31px, rgba(213, 227, 245, .7) 31px 32px); }
.double__page--droite { align-items: flex-start; border-radius: 3px 14px 14px 3px; background-image: linear-gradient(90deg, rgba(43, 26, 7, .16), transparent 12%), repeating-linear-gradient(transparent 0 31px, rgba(213, 227, 245, .7) 31px 32px); }
.double__note { position: absolute; top: 26px; left: 40px; z-index: 2; }
.double__fleche { position: absolute; top: 34px; left: 196px; width: 60px; height: 48px; rotate: 18deg; z-index: 2; }
.double__cliche { --r: -3deg; margin-top: 40px; }
.double__cliche .cliche__photo { aspect-ratio: 4 / 3; }
.double__titre { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.015em; color: var(--cacao); }
.double__titre a { text-decoration: none; }
.double__titre a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 3px; }
.double__extrait { font-size: 18px; line-height: 1.55; color: #3b3129; }
@media (max-width: 860px) {
  .double { grid-template-columns: minmax(0, 1fr); }
  .double::after { display: none; }
  .double__page { min-height: 0; }
  .double__page--gauche { border-radius: 14px 14px 3px 3px; }
  .double__page--droite { border-radius: 3px 3px 14px 14px; }
}

.fiche__haut { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fiches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 44px; }
.fiche {
  position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 22px; align-items: start;
  padding: 60px 24px 26px; background-color: var(--feuille);
  background-image: linear-gradient(transparent 38px, var(--marge) 38px 40px, transparent 40px), repeating-linear-gradient(transparent 0 27px, var(--ligne-bleue) 27px 28px);
  background-position: 0 0, 0 40px; background-size: 100% 100%, 100% 100%;
  border-radius: 4px; box-shadow: var(--ombre-objet); rotate: var(--r, 0deg);
  transition: rotate .35s ease, translate .35s ease, box-shadow .35s ease, opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.fiche:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 2px 3px rgba(0, 0, 0, .15), 0 36px 50px -24px rgba(43, 26, 7, .5); }
.fiche__cliche { --r: -4deg; margin-top: 6px; }
.fiche:nth-child(even) .fiche__cliche { --r: 3deg; }
.fiche__cliche .cliche__photo { aspect-ratio: 4 / 3; }
.fiche__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.fiche__titre { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 21px; line-height: 1.22; color: var(--cacao); }
.fiche__titre a { text-decoration: none; }
.fiche__titre a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.fiche__extrait { font-size: 16px; line-height: 1.5; color: #3b3129; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .fiches { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; } }
@media (max-width: 520px) { .fiche { grid-template-columns: minmax(0, 1fr); padding-top: 64px; } .fiche__cliche { width: 78%; } }
.vide { padding: 40px; font-size: 20px; border: 1.5px dashed var(--encre); border-radius: var(--r-carte); }

/* L'étagère des autres carnets */
.etagere { position: relative; padding-block: var(--section) calc(var(--section) + 56px); background: var(--rosee); overflow: hidden; }
.etagere__liste { position: relative; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(36px, 6vw, 96px); padding: 48px 0 0; }
.etagere__liste::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: 74px; height: 18px; border-radius: 4px; background: linear-gradient(#c79a66, #a87a4a); box-shadow: 0 14px 20px -10px rgba(43, 26, 7, .45); z-index: 0; }
.etagere__liste li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.carnet--etagere { --l: clamp(150px, 15vw, 200px); margin-bottom: 26px; transition: translate .4s cubic-bezier(.3, 1.4, .5, 1); }
.etagere__liste li:nth-child(1) .carnet { rotate: -4deg; }
.etagere__liste li:nth-child(2) .carnet { rotate: 3deg; }
.etagere__liste li:nth-child(3) .carnet { rotate: -2deg; }
.carnet--etagere:hover, .carnet--etagere:focus-visible { translate: 0 -14px; }
.etagere__nom { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 28px; line-height: 1; text-transform: lowercase; text-decoration: none; color: var(--cacao); }
.etagere__accroche { font-family: var(--f-main); font-size: 20px; line-height: 30px; color: var(--sienne); }
.etagere__nom { margin-top: 18px; }
@media (max-width: 620px) { .etagere__liste::after { display: none; } }

/* ---------------------------------------------------------------- article */
.lecture { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 16px; pointer-events: none; }
.lecture__trait { position: absolute; left: 0; top: 4px; height: 4px; width: calc(var(--lecture, 0) * 100%); background: var(--marqueur); border-radius: 0 4px 4px 0; }
.lecture__crayon { position: absolute; top: -1px; left: calc(var(--lecture, 0) * 100%); width: 48px; height: 13px; translate: -3px 0; }
html:not(.js) .lecture { display: none; }

.article-tete { position: relative; isolation: isolate; padding-top: calc(var(--haut-entete) + 48px); }
.article-tete__decor {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: clamp(360px, 40vw, 540px); overflow: hidden;
  -webkit-mask: var(--dechirure) bottom / 100% 26px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 25px) no-repeat;
  mask: var(--dechirure) bottom / 100% 26px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 25px) no-repeat;
}
.article-tete__grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.article-tete__carte { padding: clamp(24px, 3.4vw, 48px); background: var(--papier); border: var(--trait); border-radius: var(--r-carte); box-shadow: 0 30px 60px -28px rgba(43, 26, 7, .45), var(--ombre-carte); }
.article-tete__carte > .pastille { margin-bottom: 16px; }
.article-titre { margin: 0 0 20px; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.025em; color: var(--cacao); }
.article-tete__carte .chapo { margin-bottom: 26px; }
.signature { display: flex; align-items: center; gap: 14px; font-family: var(--f-ui); font-size: 15px; line-height: 1.5; padding-top: 20px; border-top: 1.5px dashed var(--filet); }
.signature .portrait { width: 54px; height: 54px; flex: none; }
.signature__dates { color: var(--gris); }
.signature__auteur a { font-weight: 600; text-decoration: none; }
.signature__auteur a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.article-tete__photo { position: relative; margin: 0; padding: 30px 10px 30px 0; }
.cliche--article { --r: 4deg; }
.cliche--article .cliche__photo { aspect-ratio: 5 / 4; }
.article-tete__sticker { position: absolute; right: -14px; bottom: 6px; width: 88px; height: 88px; rotate: 12deg; z-index: 2; }
.article-tete__note { position: absolute; top: 0; left: 8px; z-index: 2; background: var(--papier); padding: 0 10px; border-radius: 4px; }
.anim .article-tete__sticker { animation: flotte 5s ease-in-out infinite alternate; }
@media (max-width: 900px) {
  .article-tete__grille { grid-template-columns: minmax(0, 1fr); }
  .article-tete__photo { max-width: 460px; justify-self: center; width: 92%; }
}

.article-grille { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 64px; }
.article-grille--seule { grid-template-columns: minmax(0, 1fr); }
.article-cote { position: sticky; top: 100px; }
.sommaire { position: relative; padding: 22px 22px 20px; background: var(--papier); border: var(--trait); border-radius: var(--r-carte); box-shadow: var(--ombre-carte); }
.sommaire::before { content: ""; position: absolute; top: -12px; right: 26px; width: 22px; height: 76px; background: var(--marqueur); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.sommaire summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding-right: 40px; font-family: var(--f-main); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--sienne); }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire ol { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: s; }
.sommaire a { display: flex; gap: 10px; padding: 7px 0; font-family: var(--f-ui); font-size: 15px; line-height: 1.38; color: var(--gris); text-decoration: none; counter-increment: s; }
.sommaire a::before { content: counter(s); flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -1px; border: 1.5px solid var(--encre); border-radius: 50%; font-size: 11px; font-weight: 600; color: var(--encre); transition: background-color .2s ease; }
.sommaire a:hover { color: var(--encre); }
.sommaire a.est-actif { color: var(--encre); font-weight: 600; }
.sommaire a.est-actif::before { background: var(--marqueur); }
@media (min-width: 1024px) { .sommaire summary { pointer-events: none; } }
@media (max-width: 1023px) {
  .article-grille { grid-template-columns: minmax(0, 1fr); padding-top: 48px; gap: 28px; }
  .article-cote { position: static; }
  .sommaire summary::after { content: "+"; font-family: var(--f-ui); font-size: 24px; color: var(--encre); transition: rotate .2s ease; }
  .sommaire[open] summary::after { rotate: 45deg; }
}

/* La feuille perforée qui porte le texte */
.feuille {
  --marge-x: clamp(40px, 6vw, 92px);
  position: relative; padding: clamp(30px, 4vw, 60px) clamp(20px, 4vw, 56px) clamp(30px, 4vw, 56px) var(--marge-x);
  background-color: #fffefb; border: var(--trait); border-radius: var(--r-carte);
  box-shadow: 0 40px 70px -40px rgba(43, 26, 7, .45), var(--ombre-carte);
}
.feuille::before {
  content: ""; position: absolute; left: calc(var(--marge-x) * .18); top: 30px; bottom: 30px; width: 18px;
  background: radial-gradient(circle, var(--papier) 0 7px, rgba(43, 26, 7, .35) 7px 8.5px, transparent 9px) 50% 0 / 18px 72px repeat-y;
}
.feuille::after { content: ""; position: absolute; left: calc(var(--marge-x) * .66); top: 0; bottom: 0; width: 2px; background: var(--marge); }
.feuille--article { min-width: 0; }

.corps { max-width: 1060px; font-size: 18px; line-height: 1.65; color: #221a14; }
.corps > p, .corps > ul, .corps > ol { margin: 0 0 1.15em; }
.corps h2 { margin: 60px 0 16px; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: clamp(27px, 3vw, 36px); line-height: 1.15; letter-spacing: -.015em; color: var(--cacao); }
.corps h3 { margin: 36px 0 12px; font-family: var(--f-titre); font-weight: 600; font-size: 23px; }
.corps ul, .corps ol { padding-left: 1.4em; }
.corps li { margin-bottom: .55em; padding-left: .2em; }
.corps li::marker { color: var(--sienne); font-weight: 600; }
.corps strong { font-weight: 650; }
.corps a { color: var(--encre); font-weight: 600; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }

.resume {
  position: relative; margin: 0 0 56px; padding: 36px clamp(22px, 3vw, 36px) 30px;
  background: var(--beurre); border-radius: 2px 2px 26px 2px; rotate: -.8deg;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 22px 30px -20px rgba(43, 26, 7, .5);
}
.corps .resume h2 { margin: 0 0 8px; font-family: var(--f-main); font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: 0; text-transform: lowercase; color: var(--sienne); }
.resume p { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.55; color: var(--cacao); }
.resume__sticker { position: absolute; top: -26px; right: 26px; width: 54px; height: 54px; rotate: 14deg; }

.conseil {
  position: relative; margin: 56px 0; padding: 46px clamp(22px, 3vw, 36px) 28px;
  background-color: var(--blanc); background-image: repeating-linear-gradient(transparent 0 31px, var(--ligne-bleue) 31px 32px); background-position: 0 14px;
  border: var(--trait); border-radius: 4px; rotate: .7deg; box-shadow: var(--ombre-objet);
}
.conseil__spirale { position: absolute; left: 18px; right: 18px; top: -14px; height: 30px; background: radial-gradient(ellipse 6px 13px at 50% 50%, transparent 5px, var(--encre) 5px 7px, transparent 7.5px) 0 0 / 30px 30px repeat-x; }
.conseil__label { margin: 0 0 4px; font-family: var(--f-main); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--sienne); }
.conseil p:last-child { margin: 0; font-size: 19px; line-height: 32px; }
.conseil__sticker { position: absolute; top: -30px; right: -18px; width: 62px; height: 62px; rotate: 12deg; }

.faq { margin-top: 64px; }
.corps .faq__item summary { font-size: 19px; }

/* Encadré autrice (mêmes classes que le plugin Fiche Auteur) */
.fa-encadre {
  position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 36px; align-items: start; margin-top: 72px;
  padding: clamp(26px, 3vw, 38px); background: var(--teinte, var(--rosee)); border: var(--trait); border-radius: var(--r-carte);
}
.fa-photo { position: relative; display: block; padding-top: 12px; text-decoration: none; }
.fa-trombone { position: absolute; z-index: 2; top: -10px; right: 22px; width: 20px; height: 54px; rotate: -8deg; }
.fa-texte p { margin: 0; }
.fa-texte .note { margin-bottom: 4px; }
.fa-nom { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 32px; line-height: 1.1; color: var(--cacao); }
.fa-nom a { text-decoration: none; font-weight: 650; color: inherit; }
.fa-nom a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); }
.fa-poste { margin-top: 6px !important; font-family: var(--f-ui); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.fa-activite { margin: 12px 0 !important; font-size: 17px; line-height: 1.55; }
.fa-specialisations { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px !important; }
.fa-specialisations li { margin: 0; padding: 3px 12px; border: 1.5px solid var(--encre); border-radius: var(--r-btn); background: var(--papier); font-family: var(--f-ui); font-size: 13px; font-weight: 500; line-height: 1.4; }
.corps .fa-encadre .lien-fleche { font-weight: 500; }
@media (max-width: 600px) { .fa-encadre { grid-template-columns: 1fr; } .fa-photo { width: 150px; } }

/* À lire ensuite : la corde à linge */
.similaires { position: relative; overflow: hidden; margin-top: var(--section); padding: var(--section) 0 calc(var(--section) + 56px); background: var(--teinte, var(--rosee)); }
.similaires .section__tete { margin-bottom: 30px; }
.corde { overflow-x: auto; padding: 60px var(--gouttiere) 40px; scrollbar-width: thin; }
.corde__liste { position: relative; list-style: none; display: flex; justify-content: center; gap: 30px; width: max-content; min-width: 100%; margin: 0 auto; padding: 0 20px; }
.corde__liste::before { content: ""; position: absolute; left: -60px; right: -60px; top: -70px; height: 80px; border-bottom: 2.5px solid var(--encre); border-radius: 0 0 50% 50% / 0 0 46px 46px; }
.suspendu { position: relative; width: 214px; flex: none; transform-origin: 50% -20px; rotate: var(--r); }
.suspendu:nth-child(2), .suspendu:nth-child(4) { margin-top: 18px; }
.suspendu:nth-child(3) { margin-top: 26px; }
.anim .suspendu { animation: balance-photo 4s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes balance-photo { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.suspendu__pince { position: absolute; z-index: 2; top: -22px; left: 50%; width: 14px; height: 38px; margin-left: -7px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent 50%, rgba(0, 0, 0, .15)), var(--marqueur); border: 2px solid var(--encre); border-radius: 4px; }
.suspendu__photo { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 16px; background: var(--blanc); border-radius: 3px; box-shadow: var(--ombre-objet); text-decoration: none; color: var(--encre); transition: translate .3s ease, rotate .3s ease; }
.suspendu__photo img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: 2px; background: var(--rosee); }
.suspendu__photo:hover { translate: 0 -6px; rotate: calc(var(--r) * -1); }
.suspendu__rub { display: flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 12px; font-weight: 500; text-transform: lowercase; color: var(--gris); }
.suspendu__titre { font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 17px; line-height: 1.25; color: var(--cacao); }
.suspendu__photo:hover .suspendu__titre { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
@media (max-width: 1200px) { .corde__liste { justify-content: flex-start; } }

/* ---------------------------------------------------------------- page autrice */
.liege.profil { padding: calc(var(--haut-entete) + 40px) 0 90px; }
.profil__grille {
  position: relative; display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) 240px;
  grid-template-areas: "photo carte postit" "photo carte carnets"; gap: 36px 48px; align-items: start;
}
.profil__photo { grid-area: photo; position: relative; padding-top: 16px; }
.profil__sticker { position: absolute; }
.profil__sticker--a { top: -4px; right: -20px; width: 82px; height: 82px; rotate: 14deg; }
.profil__sticker--b { bottom: -18px; left: -14px; width: 62px; height: 62px; rotate: -12deg; }
.profil__carte { grid-area: carte; position: relative; padding: clamp(26px, 3vw, 42px); background: var(--papier); border: var(--trait); border-radius: var(--r-carte); box-shadow: var(--ombre-objet); rotate: .6deg; }
.profil__note { font-size: 32px; }
.profil__nom { margin-bottom: 14px; font-size: clamp(48px, 6.4vw, 90px); }
.profil__poste { margin: 0 0 14px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.profil__activite { margin-bottom: 26px; max-width: 640px; font-size: clamp(19px, 1.7vw, 21px); line-height: 1.5; color: var(--cacao); }
.profil__etiq { max-width: 460px; rotate: -1.5deg; font-size: 14px; }
.postit--profil { grid-area: postit; rotate: 4deg; margin-top: 30px; }
.profil__carnets { grid-area: carnets; position: relative; display: flex; gap: 18px; align-items: flex-end; padding-top: 44px; }
.profil__carnets-note { position: absolute; top: 0; left: 0; color: var(--encre); background: var(--papier); padding: 2px 12px; border-radius: 4px; box-shadow: var(--ombre-btn); }
.profil__carnets .carnet:nth-of-type(1) { rotate: -6deg; }
.profil__carnets .carnet:nth-of-type(2) { rotate: 6deg; }
@media (max-width: 1100px) { .profil__grille { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); grid-template-areas: "photo carte" "postit carnets"; } }
@media (max-width: 720px) { .profil__grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "carte" "postit" "carnets"; } .profil__photo { max-width: 280px; justify-self: center; width: 80%; } .postit--profil { margin-top: 0; } }

.profil__suite { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 64px); padding-block: 90px 20px; align-items: start; }
.lignee--bio { --pas: 36px; --r: -.8deg; --trou: var(--papier); }
.lignee--bio .lignee__titre { font-size: 34px; }
.lignee--bio p:not(.lignee__titre):not(.lignee__signe) { font-size: 19px; line-height: var(--pas); }
.lignee__signe { margin-top: 10px; text-align: right; font-family: var(--f-main); font-weight: 700; font-size: 34px; line-height: 1; color: var(--sienne); rotate: -4deg; }
.bloc-notes { position: relative; padding: 50px 28px 24px; background: var(--blanc); border: var(--trait); border-radius: 6px; box-shadow: var(--ombre-objet); rotate: 1.2deg; }
.bloc-notes__spirale { position: absolute; left: 18px; right: 18px; top: -14px; height: 30px; background: radial-gradient(ellipse 6px 13px at 50% 50%, transparent 5px, var(--encre) 5px 7px, transparent 7.5px) 0 0 / 30px 30px repeat-x; }
.bloc-notes__titre { margin-bottom: 10px; font-family: var(--f-main); font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--sienne); }
.coches { list-style: none; padding: 0; }
.coches li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed var(--filet); }
.coches li:last-child { border-bottom: 0; }
.coches a { font-weight: 600; line-height: 1.35; text-decoration: none; }
.coches a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.coches small { display: block; margin-top: 2px; font-family: var(--f-ui); font-size: 13px; color: var(--gris); }
.coche { width: 26px; height: 26px; flex: none; margin-top: 2px; stroke-dasharray: 1; stroke-dashoffset: 0; }
.anim .bloc-notes .coche { stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease .6s; }
.anim .bloc-notes.est-vu .coche { stroke-dashoffset: 0; }
@media (max-width: 860px) { .profil__suite { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- pages de texte */
.texte-tete { padding-top: 28px; }
.texte-tete__grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.texte-tete__titre { margin-bottom: 22px; }
.texte-tete__objet { position: relative; display: grid; place-items: center; min-height: 240px; }
.texte-tete__sticker { position: absolute; right: 12%; top: 4%; width: 60px; height: 60px; rotate: 14deg; }
.texte-tete__objet--pile { min-height: 300px; }
.carnet--pile { --l: 130px; position: absolute; }
.carnet--pile:nth-child(1) { rotate: -16deg; translate: -110px 10px; }
.carnet--pile:nth-child(2) { rotate: -5deg; translate: -38px -14px; }
.carnet--pile:nth-child(3) { rotate: 6deg; translate: 36px 4px; }
.carnet--pile:nth-child(4) { rotate: 17deg; translate: 108px 22px; }
.texte-corps { padding-top: 56px; padding-bottom: calc(var(--section) + 70px); }
.texte-corps .feuille { max-width: 1120px; }
.prose { max-width: 1060px; font-size: 18px; line-height: 1.65; }
.prose h2 { margin: 48px 0 14px; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; color: var(--cacao); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--sienne); }
.prose a { font-weight: 600; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.prose__salut { font-family: var(--f-main); font-weight: 700; font-size: 38px; line-height: 1; color: var(--sienne); rotate: -2deg; }
.feuille--lettre { background-image: repeating-linear-gradient(transparent 0 33px, var(--ligne-bleue) 33px 34px); background-position: 0 calc(clamp(30px, 4vw, 60px) + 8px); }
.feuille--lettre .prose { line-height: 34px; }
.feuille--lettre .prose h2 { line-height: 1.15; }
.feuille__signe { margin-top: 20px; text-align: right; font-family: var(--f-main); font-weight: 700; font-size: 38px; color: var(--sienne); rotate: -3deg; }
.liste-infos { list-style: none; padding: 0 !important; border-top: 1px dashed var(--filet); }
.liste-infos li { margin: 0 !important; padding: 12px 0; border-bottom: 1px dashed var(--filet); }
.a-completer { display: inline-block; padding: 0 10px; border: 1.5px dashed var(--sienne); border-radius: var(--r-btn); background: #fff4ec; color: var(--sienne); font-family: var(--f-ui); font-size: .8em; font-weight: 600; }
.tampon {
  display: grid; place-items: center; align-content: center; width: 210px; height: 210px; border-radius: 50%;
  border: 4px double var(--sienne); color: var(--sienne); rotate: -14deg; text-align: center; opacity: .85;
  font-family: var(--f-ui); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.tampon strong { font-family: var(--f-main); font-size: 54px; letter-spacing: 0; line-height: 1; text-transform: none; }
.anim .tampon { animation: tamponne .5s cubic-bezier(.3, 1.6, .5, 1) .5s both; }
@keyframes tamponne { from { scale: 1.6; opacity: 0; } to { scale: 1; opacity: .85; } }
@media (max-width: 860px) { .texte-tete__grille { grid-template-columns: minmax(0, 1fr); } .texte-tete__objet { min-height: 0; padding-block: 30px; } }

/* Contact : la carte postale */
.contact { padding-top: 40px; padding-bottom: calc(var(--section) + 70px); }
.carte-postale {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: clamp(24px, 4vw, 48px);
  background-color: var(--feuille); border: var(--trait); border-radius: var(--r-carte);
  box-shadow: 0 40px 70px -36px rgba(43, 26, 7, .5), var(--ombre-carte); rotate: -.4deg;
}
.carte-postale__message { padding-right: clamp(20px, 4vw, 48px); border-right: 1.5px solid var(--encre); }
.carte-postale__adresse { position: relative; padding: 150px 0 0 clamp(20px, 4vw, 48px); }
.carte-postale__titre { margin-bottom: 8px; font-family: var(--f-main); font-weight: 700; font-size: 32px; line-height: 1.05; color: var(--sienne); }
.carte-postale__ligne { padding: 12px 0; border-bottom: 1.5px solid rgba(23, 23, 23, .4); }
.carte-postale__timbre {
  position: absolute; top: 0; right: 0; width: 108px; padding: 12px 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--blanc); outline: 2px dashed var(--sienne); outline-offset: -6px; box-shadow: var(--ombre-btn); rotate: 5deg;
  font-family: var(--f-ui); font-size: 9px; font-weight: 600; color: var(--sienne);
}
.carte-postale__timbre .marque { width: 64px; height: 64px; }
.carte-postale__cachet { position: absolute; top: 34px; right: 84px; display: grid; place-items: center; width: 108px; height: 108px; border: 2px solid rgba(23, 23, 23, .45); border-radius: 50%; rotate: -16deg; font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(23, 23, 23, .55); text-align: center; }
.contact__equipe { list-style: none; padding: 20px 0 0; display: grid; gap: 12px; }
.contact__equipe a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.contact__equipe .portrait { width: 46px; height: 46px; flex: none; }
.contact__equipe span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; }
.contact__equipe small { font-family: var(--f-ui); font-size: 13px; font-weight: 400; color: var(--gris); }
.contact__avion { width: 150px; height: 150px; rotate: -14deg; }
.anim .contact__avion { animation: plane 3.4s ease-in-out infinite alternate; }
.contact__fleche { position: absolute; left: 10%; bottom: 8%; width: 110px; height: 86px; rotate: 160deg; }
@media (max-width: 860px) {
  .carte-postale { grid-template-columns: minmax(0, 1fr); }
  .carte-postale__message { padding-right: 0; padding-bottom: 32px; border-right: 0; border-bottom: 1.5px solid var(--encre); }
  .carte-postale__adresse { padding: 150px 0 0; }
}
.formulaire { display: grid; gap: 20px; }
.champ label { display: block; margin-bottom: 8px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; }
.champ input, .champ select, .champ textarea, .recherche__form input {
  width: 100%; padding: 13px 16px; border: var(--trait); border-radius: var(--r-champ);
  background: var(--blanc); color: var(--encre); font: 400 17px/1.4 var(--f-ui); transition: box-shadow .2s ease;
}
.champ--ligne input, .champ--ligne textarea { padding: 8px 2px; border: 0; border-bottom: 1.5px solid var(--encre); border-radius: 0; background: transparent; font-family: var(--f-texte); font-size: 19px; }
.champ--ligne textarea { line-height: 34px; padding-top: 0; background-image: repeating-linear-gradient(transparent 0 33px, rgba(23, 23, 23, .28) 33px 34px); background-attachment: local; border-bottom: 0; }
.champ input:focus, .champ select:focus, .champ textarea:focus, .recherche__form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(34, 197, 94, .35); }
.champ textarea { resize: vertical; }
.case { display: flex; gap: 12px; align-items: flex-start; font-family: var(--f-ui); font-size: 15px; line-height: 1.45; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--encre); flex: none; }
.case a { font-weight: 600; text-decoration-color: var(--marqueur); }
.formulaire .btn { justify-self: start; }
.formulaire__retour { padding: 14px 18px; border: 1.5px solid var(--pousse); border-radius: var(--r-champ); background: var(--blanc); font-family: var(--f-ui); font-weight: 500; }
.formulaire .est-invalide { border-color: #b3261e !important; box-shadow: 0 2px 0 #b3261e; }

/* Plan du site */
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 40px; padding-bottom: calc(var(--section) + 70px); }
.plan__bloc {
  position: relative; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 34px) clamp(24px, 3vw, 34px) calc(clamp(22px, 3vw, 34px) + 22px);
  background-color: var(--feuille); background-image: linear-gradient(90deg, var(--dos, var(--encre)) 0 16px, rgba(0, 0, 0, .15) 16px 18px, transparent 18px);
  border: var(--trait); border-radius: 6px var(--r-carte) var(--r-carte) 6px; box-shadow: var(--ombre-objet);
}
.plan__bloc--site { background-color: var(--rosee); --dos: var(--encre); }
.plan__bloc h2 { margin-bottom: 16px; font-family: var(--f-titre); font-weight: 650; font-variation-settings: "SOFT" 100; font-size: 38px; line-height: 1; text-transform: lowercase; color: var(--cacao); }
.plan__bloc h2 a { text-decoration: none; }
.plan__bloc h2 a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 3px; }
.plan__sticker { position: absolute; top: -22px; right: 22px; width: 54px; height: 54px; rotate: 12deg; }
.plan__liste { list-style: none; padding: 0; counter-reset: p; }
.plan__liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 11px 0; border-bottom: 1px dashed var(--filet); counter-increment: p; }
.plan__liste li::before { content: counter(p, upper-roman); flex: none; width: 34px; font-style: italic; font-size: 15px; color: var(--gris); }
.plan__liste li:last-child { border-bottom: 0; }
.plan__liste a { flex: 1; font-weight: 600; line-height: 1.35; text-decoration: none; }
.plan__liste a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); text-decoration-thickness: 2px; }
.plan__liste time { flex: none; font-family: var(--f-ui); font-size: 13px; color: var(--gris); white-space: nowrap; }
.liste-simple { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
.liste-simple li { padding: 6px 0; break-inside: avoid; }
.liste-simple a { font-weight: 500; text-decoration: none; }
.liste-simple a:hover { text-decoration: underline; text-decoration-color: var(--marqueur); }
@media (max-width: 860px) { .plan { grid-template-columns: minmax(0, 1fr); } .plan__liste li { flex-wrap: wrap; } .plan__liste time { padding-left: 40px; } }

/* Recherche */
.recherche { padding-bottom: calc(var(--section) + 70px); }
.recherche__form { display: flex; gap: 12px; max-width: 760px; margin: 12px 0 18px; }
.recherche__form input { border-radius: var(--r-btn); padding: 13px 22px; }
.recherche__etat { margin: 0 0 16px; font-family: var(--f-ui); color: var(--gris); }
.recherche__loupe { width: 190px; height: 190px; rotate: -12deg; }
.anim .recherche__loupe { animation: cherche 4s ease-in-out infinite alternate; }
@keyframes cherche { from { translate: -14px 6px; rotate: -16deg; } to { translate: 14px -10px; rotate: -4deg; } }
.recherche__resultats { margin-top: 40px; }
@media (max-width: 600px) { .recherche__form { flex-direction: column; } .recherche__form .btn { align-self: flex-start; } .recherche__loupe { width: 120px; height: 120px; } }

/* 404 */
.introuvable { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: clamp(40px, 6vw, 80px) calc(var(--section) + 70px); }
.introuvable__ciel { position: absolute; right: 0; top: 30px; width: min(600px, 60vw); height: 200px; }
.introuvable__trajet { position: absolute; inset: 0; width: 100%; height: 100%; }
.introuvable__avion { position: absolute; right: 0; top: 10px; width: 90px; height: 90px; rotate: -10deg; }
.anim .introuvable__avion { animation: envol 6s ease-in-out infinite; }
@keyframes envol { 0% { translate: -460px 120px; rotate: -30deg; opacity: 0; } 15% { opacity: 1; } 60% { translate: -150px 40px; rotate: 6deg; } 100% { translate: 30px -20px; rotate: -16deg; opacity: 0; } }
.introuvable__code { display: flex; align-items: center; font-family: var(--f-titre); font-weight: 700; font-variation-settings: "SOFT" 100; font-size: clamp(120px, 22vw, 260px); line-height: .9; color: var(--cacao); }
.introuvable__sticker { width: .78em; height: .78em; margin: 0 .04em; rotate: -10deg; }
.anim .introuvable__sticker { animation: bat 1.2s ease-in-out infinite; }
@keyframes bat { 0%, 100% { scale: 1; } 30% { scale: 1.12; } 60% { scale: .96; } }
.introuvable .recherche__form { width: 100%; margin: 8px 0; }
.introuvable .chapo { margin: 0; }
@media (max-width: 700px) { .introuvable__ciel { display: none; } }

/* ---------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
