/* ============================================================
   GRAINES DE SAISON — Feuille de style
   Les tokens viennent du livre (lib.typ) : encre brun-prune,
   prune de marque, papier chaud, Literata pour ce qui se lit,
   Public Sans pour ce qui s'étiquette (capitales, interlettrage
   0,14 em). Pas de gras dans le texte lu, jamais de titre en
   capitales.
   ============================================================ */

@font-face { font-family: Literata; src: url("/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: Literata; src: url("/fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/publicsans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --papier: #F6F5F2;
  --blanc: #fff;
  --encre: #2E2426;
  --encre-2: #4A3D40;
  --encre-3: #6E6064;
  --filet: #DED4CB;
  --filet-2: #D3C8C4;
  --prune: #7A4A56;
  --prune-700: #5E3743;
  --prune-100: #E8D8DA;
  --serif: Literata, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(46, 36, 38, .08), 0 18px 44px rgba(46, 36, 38, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.68; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--prune); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--encre); color: var(--papier); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap--etroit { width: min(760px, 100% - 40px); }
.centre { text-align: center; }

/* ---- Typographie --------------------------------------------- */
h1, h2, h3 { font-weight: 300; line-height: 1.12; letter-spacing: -.012em; color: var(--encre); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: 1.55rem; font-weight: 400; }
.eyebrow, .libelle {
  font-family: var(--sans); font-weight: 500; font-size: .74rem; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .14em; color: var(--prune);
}
.eyebrow { margin-bottom: 20px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; font-weight: 300; color: var(--encre-2); }
.grand { font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.4; font-weight: 300; font-style: italic; color: var(--encre); }
.grand--centre { text-align: center; max-width: 780px; margin: 56px auto 0; }
.petit, .specs { font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; color: var(--encre-3); }
.specs { text-transform: none; margin-top: 26px; }
.lien { font-family: var(--sans); font-weight: 500; font-size: .92rem; text-decoration: none; border-bottom: 1.5px solid var(--prune-100); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.lien:hover { color: var(--prune); border-color: var(--prune); }
em { font-style: italic; }
.note-centre { text-align: center; margin: 44px auto 0; max-width: 620px; color: var(--encre-2); font-style: italic; font-weight: 300; }
p + p { margin-top: 1.05em; }

/* ---- Boutons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid var(--encre);
  font-family: var(--sans); font-weight: 500; font-size: .92rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn--primary { background: var(--encre); color: var(--papier); }
.btn--primary:hover { background: var(--prune); border-color: var(--prune); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122, 74, 86, .28); }
.btn--ghost { background: transparent; color: var(--encre); }
.btn--ghost:hover { background: var(--encre); color: var(--papier); transform: translateY(-2px); }
.btn--small { padding: 10px 20px; font-size: .85rem; background: var(--encre); color: var(--papier); }
.btn--small:hover { background: var(--prune); border-color: var(--prune); }
.btn--soon { background: transparent; color: var(--encre-3); border-style: dashed; border-color: var(--filet-2); cursor: default; }
.btn--soon:hover { transform: none; box-shadow: none; background: transparent; border-color: var(--filet-2); }

/* ---- En-tête ------------------------------------------------------ */
.entete { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: padding .4s; }
/* Le fond flouté vit dans un pseudo-élément : un backdrop-filter posé sur
   l'en-tête lui-même en ferait le repère des éléments fixés à l'intérieur, et
   le menu mobile plein écran resterait coincé dans sa hauteur. */
.entete::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 245, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--filet); opacity: 0; transition: opacity .4s; }
.entete.is-scrolled { padding: 9px 0; }
.entete.is-scrolled::before { opacity: 1; }
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marque { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.28rem; font-weight: 400; letter-spacing: -.01em; }
.marque__o { width: 56px; height: 16px; color: var(--prune); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { font-family: var(--sans); font-weight: 500; font-size: .88rem; text-decoration: none; position: relative; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--prune); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--encre); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---- Ornement animé (graine, pousse, soleil) ---------------- */
.ornement path, .ornement ellipse, .ornement circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .ornement path, .js .ornement ellipse, .js .ornement circle { stroke-dashoffset: 1; animation: trace 1.4s var(--ease) forwards; }
.js .ornement .o2 * { animation-delay: .5s; } .js .ornement .o3 * { animation-delay: 1s; }
.js .ornement .o1 * { animation-delay: .1s; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.ornement--grand { width: min(360px, 70%); height: auto; color: var(--prune); margin: 0 auto 32px; }

/* ---- Apparitions ---------------------------------------------- */
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.no-js .rise { opacity: 1; transform: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- Héros de l'accueil ------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__bg, .hero__aq, .hero__voile { position: absolute; inset: 0; }
.hero__bg { z-index: -2; }
.hero__aq { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); animation: cycle-fond 28s infinite; animation-delay: calc(var(--i) * 7s - 1s); animation-fill-mode: backwards; }
@keyframes cycle-fond { 0% { opacity: 0; transform: scale(1.06); } 3.6% { opacity: 1; } 25% { opacity: 1; } 28.6% { opacity: 0; transform: scale(1.14); } 100% { opacity: 0; transform: scale(1.14); } }
@keyframes cycle { 0% { opacity: 0; } 3.6% { opacity: 1; } 25% { opacity: 1; } 28.6% { opacity: 0; } 100% { opacity: 0; } }
.hero__voile { z-index: -1; background: linear-gradient(90deg, rgba(246, 245, 242, .95) 0%, rgba(246, 245, 242, .88) 42%, rgba(246, 245, 242, .3) 100%), linear-gradient(0deg, var(--papier) 0%, rgba(246, 245, 242, 0) 22%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero__texte h1 { margin-bottom: 26px; max-width: 14ch; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.hero__texte .lead { max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.centre .hero__cta { justify-content: center; }
.hero__saisons { position: relative; height: 3.4em; margin-top: 44px; font-style: italic; font-weight: 300; color: var(--encre-2); max-width: 34ch; }
.hero__saisons p { position: absolute; inset: 0 auto auto 0; opacity: 0; margin: 0; animation: cycle 28s infinite; animation-delay: calc(var(--i) * 7s - 1s); animation-fill-mode: backwards; font-size: 1rem; line-height: 1.5; }
.hero__saisons b { display: block; font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--prune); margin-bottom: 2px; }
.hero__livres { position: relative; justify-self: center; width: min(340px, 74vw); aspect-ratio: 2 / 3; animation: flotte 7s ease-in-out infinite; }
.hero__livres img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px; box-shadow: 0 2px 4px rgba(46, 36, 38, .2), 0 40px 70px rgba(46, 36, 38, .32); opacity: 0; transform: rotate(-3deg); animation: cycle 28s infinite; animation-delay: calc(var(--i) * 7s - 1s); animation-fill-mode: backwards; }
@keyframes flotte { 50% { transform: translateY(-14px); } }
.hero__defile { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; color: var(--prune); opacity: .8; animation: rebond 2.6s ease-in-out infinite; }
.hero__defile svg { width: 64px; height: 18px; }
@keyframes rebond { 50% { transform: translateY(6px); } }

/* ---- Blocs ----------------------------------------------------------- */
.bloc { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.bloc--teinte { background: #EFEDE8; }
.bloc--sombre { background: var(--encre); color: var(--papier); }
.bloc--sombre h2 { color: var(--papier); } .bloc--sombre .eyebrow { color: var(--prune-100); }
.bloc--texte { padding-top: 40px; }
.titre-centre { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.titre-centre p:not(.eyebrow) { margin-top: 22px; color: var(--encre-2); }
.wrap--etroit > h2, .wrap--etroit > .grand { margin-bottom: 28px; }
.wrap--etroit > .eyebrow + h2 { margin-top: 0; }

/* ---- Durée : année, semaine, saison -------------------------------- */
.duree { max-width: 900px; margin: 0 auto; display: grid; gap: 34px; }
.duree__ligne p { margin-bottom: 12px; color: var(--encre-2); font-size: 1rem; line-height: 1.5; }
.duree__ligne p span { font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); display: block; margin-bottom: 3px; }
.ticks { display: grid; grid-template-columns: repeat(52, 1fr); gap: 3px; height: 34px; }
.ticks i { background: var(--filet-2); border-radius: 2px; opacity: .55; transition: background .5s, opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--k, 0) * 45ms); }
.ticks--sem i:first-child { background: var(--encre-3); opacity: 1; }
.ticks--saison i:nth-child(-n+12) { background: var(--prune); opacity: 1; transform: scaleY(1); }
.js .ticks--saison i:nth-child(-n+12) { background: var(--filet-2); opacity: .55; transform: scaleY(.55); transform-origin: bottom; }
.js .is-in .ticks--saison i:nth-child(-n+12) { background: var(--prune); opacity: 1; transform: scaleY(1); }
.ticks--saison i:nth-child(1){--k:1}.ticks--saison i:nth-child(2){--k:2}.ticks--saison i:nth-child(3){--k:3}.ticks--saison i:nth-child(4){--k:4}.ticks--saison i:nth-child(5){--k:5}.ticks--saison i:nth-child(6){--k:6}
.ticks--saison i:nth-child(7){--k:7}.ticks--saison i:nth-child(8){--k:8}.ticks--saison i:nth-child(9){--k:9}.ticks--saison i:nth-child(10){--k:10}.ticks--saison i:nth-child(11){--k:11}.ticks--saison i:nth-child(12){--k:12}

/* ---- Trois gestes ---------------------------------------------------- */
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.geste { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 34px 30px; transition: transform .45s var(--ease), box-shadow .45s; }
.geste:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.geste__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--prune); color: var(--prune); font-family: var(--sans); font-weight: 500; font-size: .9rem; margin-bottom: 22px; }
.geste h3 { margin-bottom: 12px; font-size: 1.4rem; }
.geste p { color: var(--encre-2); font-size: 1rem; line-height: 1.6; }
.geste .lien { display: inline-block; margin-top: 18px; }

/* ---- Onglets : dans le journal --------------------------------------- */
.onglets { max-width: 940px; margin: 0 auto; }
.onglets__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.onglets__liste button { font-family: var(--sans); font-weight: 500; font-size: .86rem; padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(246, 245, 242, .28); background: transparent; color: var(--papier); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.onglets__liste button:hover { border-color: var(--papier); }
.onglets__liste button[aria-selected="true"] { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.panneau { display: none; text-align: center; }
.panneau.is-on { display: block; animation: rise .7s var(--ease) both; }
.panneau__pages { display: flex; justify-content: center; gap: 0; margin-bottom: 32px; perspective: 1400px; }
.panneau__pages img { width: min(330px, 44vw); border-radius: 2px; box-shadow: 0 30px 60px rgba(0, 0, 0, .42); background: #fff; }
.panneau__pages--double img:first-child { transform: rotateY(6deg); transform-origin: right center; border-radius: 2px 0 0 2px; }
.panneau__pages--double img:last-child { transform: rotateY(-6deg); transform-origin: left center; border-radius: 0 2px 2px 0; }
.panneau p { max-width: 560px; margin: 0 auto; color: rgba(246, 245, 242, .82); }

/* ---- Roue de vie -------------------------------------------------------- */
.roue { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.roue__texte h2 { margin-bottom: 24px; }
.roue__texte p { color: var(--encre-2); }
.roue__boutons { display: flex; gap: 10px; margin: 30px 0 14px; }
.chip { font-family: var(--sans); font-weight: 500; font-size: .85rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--filet-2); background: transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--encre); }
.chip.is-on { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.roue__svg svg { width: 100%; max-width: 480px; margin-inline: auto; overflow: visible; }
.roue__svg .anneau { fill: none; stroke: var(--filet-2); stroke-width: 1; }
.roue__svg .axe { stroke: var(--filet); stroke-width: 1; stroke-dasharray: 3 4; }
.roue__svg .code { font-family: var(--sans); font-weight: 500; font-size: 13px; fill: var(--encre-3); text-anchor: middle; dominant-baseline: middle; }
.roue__svg .aire { fill: rgba(122, 74, 86, .16); stroke: var(--prune); stroke-width: 2; stroke-linejoin: round; }
.roue__svg .pt { fill: var(--prune); }

/* ---- Saisons restantes ------------------------------------------------- */
.saisons-restantes { margin: 40px auto 26px; max-width: 460px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 30px; text-align: center; }
.saisons-restantes label { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--encre-3); margin-bottom: 16px; }
.saisons-restantes__ligne { display: flex; gap: 10px; justify-content: center; }
.saisons-restantes input { width: 130px; font: inherit; font-size: 1.1rem; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--filet-2); background: var(--papier); text-align: center; }
.saisons-restantes input:focus { outline: none; border-color: var(--prune); }
.saisons-restantes__res { margin-top: 22px; min-height: 3.2em; font-size: 1.15rem; color: var(--encre-2); }
.saisons-restantes__res strong { display: block; font-weight: 300; font-size: 3.4rem; line-height: 1.1; color: var(--prune); letter-spacing: -.02em; }

/* ---- Outils --------------------------------------------------------------- */
.familles { columns: 3 250px; column-gap: 22px; }
.famille { break-inside: avoid; margin-bottom: 22px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 26px 26px 22px; }
.famille ul { margin-top: 16px; display: grid; gap: 8px; }
.famille li { font-size: .98rem; line-height: 1.4; padding-left: 16px; position: relative; color: var(--encre-2); }
.famille li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--prune-100); border: 1px solid var(--prune); }

/* ---- Cartes des volumes ---------------------------------------------- */
.cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.carte { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.carte:hover { transform: translateY(-7px); box-shadow: var(--ombre); }
.carte__couv { display: block; background: var(--t); padding: 26px 26px 0; overflow: hidden; }
.carte__couv img { width: 100%; border-radius: 2px 2px 0 0; box-shadow: 0 -2px 30px rgba(46, 36, 38, .16); transform: translateY(10px); transition: transform .6s var(--ease); }
.carte:hover .carte__couv img { transform: translateY(0) scale(1.03); }
.carte__corps { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.carte .libelle { color: var(--c); }
.carte h3 { margin: 6px 0 10px; }
.carte__phrase { font-style: italic; font-weight: 300; color: var(--encre-2); font-size: .98rem; line-height: 1.5; flex: 1; }
.carte__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.carte__actions .btn { padding: 12px 22px; font-size: .86rem; }
.annee { margin-top: 26px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--encre); color: var(--papier); border-radius: 22px; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.annee h3 { color: var(--papier); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300; margin: 10px 0 16px; }
.annee .libelle { color: var(--prune-100); }
.annee p { color: rgba(246, 245, 242, .82); }
.annee img { border-radius: 10px; }
.annee .btn--primary { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.annee .btn--primary:hover { background: var(--prune-100); border-color: var(--prune-100); box-shadow: none; }
.annee .btn--soon { background: transparent; color: rgba(246, 245, 242, .62); border-color: rgba(246, 245, 242, .3); }

/* ---- Auteur (mini et page) ------------------------------------------- */
.auteur-mini { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.auteur-mini h2 { margin-bottom: 20px; } .auteur-mini p { color: var(--encre-2); margin-bottom: 28px; }
.auteur-mini__photo img, .tete__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 200px 200px 22px 22px; box-shadow: var(--ombre); background: #22252b; }
.histoire p:not(.eyebrow) { font-size: 1.15rem; }
.histoire h2 { margin-bottom: 30px; }
.histoire blockquote, blockquote.cit { margin-top: 44px; padding: 8px 0 8px 28px; border-left: 2px solid var(--prune); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 300; font-style: italic; line-height: 1.45; }

/* ---- Bandeaux de tête des pages --------------------------------------- */
.tete { position: relative; padding: 150px 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.tete--claire { background: linear-gradient(180deg, #EFEDE8, var(--papier)); }
.tete--claire h1 { margin-bottom: 24px; }
.tete__aq { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: lent 30s ease-in-out infinite alternate; }
@keyframes lent { to { transform: scale(1.09); } }
.tete__voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246, 245, 242, .94), rgba(246, 245, 242, .8) 55%, rgba(246, 245, 242, .35)); }
.tete__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.tete--volume h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 22px; }
.tete--auteur { background: linear-gradient(180deg, #EFEDE8, var(--papier)); }
.tete--auteur h1 { margin-bottom: 22px; }
.tete--auteur .tete__texte p:not(.eyebrow):not(.lead) { margin-top: 20px; color: var(--encre-2); }
.tete__couv img { width: min(340px, 78%); margin-inline: auto; border-radius: 3px; box-shadow: 0 2px 4px rgba(46, 36, 38, .2), 0 40px 70px rgba(46, 36, 38, .32); animation: flotte 7s ease-in-out infinite; }
.tete__portrait { max-width: 380px; justify-self: center; }
.tete--volume .eyebrow { color: var(--c); }

/* ---- Étapes, questions, FAQ ------------------------------------------ */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.etape { padding: 28px 24px; border-top: 2px solid var(--prune); background: var(--blanc); border-radius: 0 0 var(--rayon) var(--rayon); }
.etape__n { display: block; font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--prune); margin-bottom: 14px; }
.etape p { font-size: 1rem; color: var(--encre-2); line-height: 1.6; }
.questions { display: grid; gap: 4px; }
.questions li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 22px 8px; border-bottom: 1px solid var(--filet); transition: background .35s, padding .35s var(--ease); }
.questions li:hover { background: var(--blanc); padding-left: 20px; }
.questions span { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .1em; color: var(--c); }
.questions p { font-size: 1.28rem; font-weight: 300; font-style: italic; line-height: 1.4; margin: 0; }
.faq details { border-bottom: 1px solid var(--filet-2); padding: 22px 4px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 1.2rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--prune); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--encre-2); animation: rise .5s var(--ease) both; }

/* ---- Applications ------------------------------------------------------ */
.app { display: grid; grid-template-columns: 180px 1fr; gap: clamp(24px, 5vw, 56px); background: var(--blanc); border: 1px solid var(--filet); border-radius: 22px; padding: clamp(26px, 5vw, 52px); }
.app__icone img { width: 180px; height: 180px; border-radius: 40px; box-shadow: var(--ombre); background: #fff; }
.app h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 8px; }
.app__accroche { font-style: italic; font-weight: 300; font-size: 1.3rem; color: var(--prune); margin: 6px 0 20px; }
.app__corps > p:not(.libelle):not(.app__accroche) { color: var(--encre-2); max-width: 60ch; }
.app__liens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.apps-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.app-carte { display: flex; flex-direction: column; gap: 18px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 30px; transition: transform .45s var(--ease), box-shadow .45s; }
.app-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.app-carte__tete { display: flex; align-items: center; gap: 18px; }
.app-carte__tete img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--ombre); background: #fff; flex-shrink: 0; }
.app-carte h3 { font-size: 1.5rem; }
.app-carte__sous { font-family: var(--sans); font-size: .82rem; color: var(--encre-3); margin: 4px 0 0; }
.app-carte > p { color: var(--encre-2); font-size: 1rem; line-height: 1.6; flex: 1; }
.app-carte .app__liens { margin-top: 4px; }
.app-carte .btn { padding: 11px 20px; font-size: .84rem; }

/* ---- Mentions légales -------------------------------------------------- */
.legal h2 { font-size: 1.5rem; font-weight: 400; margin: 44px 0 12px; } .legal p { color: var(--encre-2); }
.legal a { border-bottom: 1px solid var(--prune-100); text-decoration: none; }

/* ---- Bandeau d'appel final ------------------------------------------- */
.cta { position: relative; padding: clamp(80px, 11vw, 150px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta__aq { position: absolute; inset: 0; z-index: -2; background: url("/img/aquarelle-printemps.webp") center / cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 245, 242, .82); }
.cta h2 { max-width: 20ch; margin: 0 auto 18px; }
.cta p { color: var(--encre-2); margin-bottom: 34px; }

/* ---- Pied de page ------------------------------------------------------------- */
.pied { background: var(--encre); color: var(--papier); padding: 64px 0 34px; }
.pied a { text-decoration: none; }
.pied__haut { display: grid; grid-template-columns: 1.2fr auto auto; gap: 40px; align-items: start; }
.marque--pied { color: var(--papier); } .marque--pied .marque__o { color: var(--prune-100); }
.pied__phrase { margin-top: 16px; font-style: italic; font-weight: 300; color: rgba(246, 245, 242, .72); max-width: 30ch; }
.pied__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; justify-content: start; font-family: var(--sans); font-size: .88rem; }
.pied__nav div { display: grid; gap: 10px; align-content: start; }
.pied__nav a { color: rgba(246, 245, 242, .78); transition: color .3s; } .pied__nav a:hover { color: #fff; }
.reseaux { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.reseaux a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(246, 245, 242, .3); transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.reseaux a:hover { background: var(--papier); color: var(--encre); transform: translateY(-3px); border-color: var(--papier); }
.reseaux svg { width: 20px; height: 20px; }
.pied__bas { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246, 245, 242, .16); font-family: var(--sans); font-size: .78rem; color: rgba(246, 245, 242, .55); }

/* ---- Adaptation ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .annee { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; z-index: 3; }
  .menu { position: fixed; inset: 0; background: var(--papier); flex-direction: column; justify-content: center; gap: 26px; font-size: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: 2; }
  .menu a:not(.btn) { font-size: 1.15rem; }
  .menu.is-open { opacity: 1; visibility: visible; }
  .hero__grid, .tete__grid, .roue, .auteur-mini { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__livres { order: -1; width: min(210px, 52vw); margin-bottom: 8px; }
  .hero__voile { background: linear-gradient(180deg, rgba(246, 245, 242, .55), rgba(246, 245, 242, .92) 45%, var(--papier)); }
  .tete__couv { order: -1; } .tete__couv img { width: min(230px, 60%); }
  .tete__voile { background: rgba(246, 245, 242, .82); }
  .trois { grid-template-columns: 1fr; }
  .roue__svg { order: -1; }
  .auteur-mini__photo { max-width: 300px; }
  .app { grid-template-columns: 1fr; } .app__icone img { width: 120px; height: 120px; border-radius: 28px; }
  .apps-grille { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr; gap: 32px; }
  .reseaux { justify-content: flex-start; }
  .ticks { gap: 2px; height: 26px; }
  .panneau__pages img { width: min(300px, 46vw); }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .cartes { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .questions li { grid-template-columns: 44px 1fr; }
  .questions p { font-size: 1.12rem; }
  .btn { padding: 13px 22px; }
  .hero__saisons { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .ornement path, .js .ornement ellipse, .js .ornement circle { stroke-dashoffset: 0; }
  .hero__aq:first-child, .hero__livres img:first-child, .hero__saisons p:first-child { opacity: 1; }
  .js .ticks--saison i:nth-child(-n+12) { background: var(--prune); opacity: 1; transform: none; }
}
