/*
Theme Name: Botanique & Vieilles Dentelles
Theme URI: https://botaniqueetvieillesdentelles.fr
Author: Benjamin Gergaud
Description: Thème éditorial pour un journal indépendant sur le jardin et la maison. Typographie Cormorant Garamond / Karla, palette botanique personnalisable, blocs éditoriaux (À retenir, Le geste, Le matériel), tableaux interactifs, animations respectueuses de prefers-reduced-motion.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botanique-dentelles
Tags: blog, one-column, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ================================================================
   TOKENS — les 4 couleurs de base sont personnalisables
   (Apparence → Personnaliser → Couleurs), le reste en dérive.
   ================================================================ */
:root {
  --paper: #F5F4ED;
  --ink: #242D21;
  --green: #3E5C3B;
  --rose: #9C5F68;
  --paper-raised: color-mix(in srgb, #FFFFFF 42%, var(--paper));
  --ink-soft: color-mix(in srgb, var(--ink) 70%, var(--paper));
  --green-tint: color-mix(in srgb, var(--green) 13%, var(--paper));
  --rose-tint: color-mix(in srgb, var(--rose) 13%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 13%, var(--paper));
  --line-strong: color-mix(in srgb, var(--ink) 30%, var(--paper));
  --sur-fonce: #F0EFE4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Karla', 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B221A;
    --ink: #E9E7DA;
    --green: #A3BD98;
    --rose: #C9959D;
    --paper-raised: #232B21;
    --ink-soft: color-mix(in srgb, var(--ink) 62%, var(--paper));
    --line: color-mix(in srgb, var(--ink) 16%, var(--paper));
    --line-strong: color-mix(in srgb, var(--ink) 30%, var(--paper));
  }
}

/* ================================================================
   BASE
   ================================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* reveals au scroll (actifs seulement si JS présent et animations activées) */
html.js.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.35,1); }
html.js.anim .rv.rv-in { opacity: 1; transform: none; }
html.js.anim .rv-d1 { transition-delay: .08s; }
html.js.anim .rv-d2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js.anim .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* barre de progression de lecture */
.progression {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--green), var(--rose));
}
body.admin-bar .progression { top: 32px; }

/* ================================================================
   BANDEAU + MASTHEAD + NAVIGATION
   ================================================================ */
.notice { border-bottom: 1px solid var(--line); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.notice strong { color: var(--green); font-weight: 700; }
@media (max-width: 640px) { .notice .date { display: none; } }

.masthead { text-align: center; padding: 52px 0 0; }
.masthead .eyebrow { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin: 0; }
.masthead .titre-site {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.02;
  margin: 14px 0 6px; text-wrap: balance;
}
.masthead .titre-site .amp { font-style: italic; color: var(--green); }
.masthead .tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; color: var(--ink-soft); margin: 0; }
.masthead .custom-logo { max-height: 110px; width: auto; }
.lace-rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; color: var(--line-strong); }
.lace-rule::before, .lace-rule::after { content: ""; height: 1px; background: var(--line); flex: 0 1 180px; }

nav.rubriques { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); margin-top: 22px; }
body.admin-bar nav.rubriques { top: 32px; }
nav.rubriques ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
nav.rubriques a {
  display: block; padding: 14px 22px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-soft); border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
nav.rubriques a:hover { color: var(--ink); }
nav.rubriques .current-menu-item > a,
nav.rubriques .current-cat > a,
nav.rubriques a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
@media (max-width: 640px) { nav.rubriques a { padding: 12px 10px; font-size: 12px; } }
@media (max-width: 782px) { body.admin-bar nav.rubriques, body.admin-bar .progression { top: 46px; } }

/* ================================================================
   FIGURES (photos + placeholders) : voile, parallaxe, zoom
   ================================================================ */
.figure {
  position: relative; background: var(--green-tint); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure > svg { width: 46%; height: auto; color: var(--green); }
.figure figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 16px; z-index: 2;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 82%, transparent); border-top: 1px solid var(--line);
}
.figure.rose-fond { background: var(--rose-tint); }
.figure.rose-fond > svg { color: var(--rose); }

html.js.anim .voile::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: var(--green); transform: scaleX(1); transform-origin: right;
  transition: transform .95s cubic-bezier(.7, 0, .25, 1);
}
html.js.anim .voile.rose-fond::after, html.js.anim .savoir .voile::after { background: var(--rose); }
html.js.anim .voile.voile-in::after { transform: scaleX(0); }
html.js.anim .voile img, html.js.anim .voile > svg { transform: scale(1.14); }
html.js.anim .voile.voile-in img, html.js.anim .voile.voile-in > svg { transform: scale(1); transition: transform 1.2s cubic-bezier(.22, .8, .3, 1); }
[data-plx] img, [data-plx] > svg { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js.anim .voile::after { display: none; }
  html.js.anim .voile img, html.js.anim .voile > svg { transform: none; transition: none; }
}

/* ================================================================
   ACCUEIL
   ================================================================ */
.hero { padding: 64px 0 68px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--rose); margin: 0 0 18px; }
.kicker a:hover { color: var(--ink); }
.hero h2, .hero h1.titre-une { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; margin: 0 0 20px; text-wrap: balance; }
.hero .chapo { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; }
.hero .figure { aspect-ratio: 16 / 9; }
.hero .figure > svg { width: 68%; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.meta .dot::before { content: "·"; margin-right: 18px; color: var(--line-strong); }

.btn {
  display: inline-block; margin-top: 30px; padding: 13px 30px; min-height: 44px;
  border: 1.5px solid var(--ink); border-radius: 0;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: transparent;
  transition: background .2s ease, color .2s ease;
  cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-plein { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn-plein:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.saison { border-bottom: 1px solid var(--line); background: var(--paper-raised); }
.saison .wrap { padding-top: 44px; padding-bottom: 48px; }
.saison-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.saison-head h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 0; }
.saison-head .mois { font-family: var(--serif); font-style: italic; color: var(--rose); }
.voir-tout {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--green); border-bottom: 1px solid transparent; transition: border-color .2s ease; white-space: nowrap;
}
.voir-tout:hover { border-bottom-color: var(--green); }
.saison-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.saison-grid article { padding: 4px 28px 0; border-left: 1px dashed var(--line-strong); }
.saison-grid article:first-child { padding-left: 0; border-left: none; }
.saison-grid h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 8px; line-height: 1.25; }
.saison-grid h3 a:hover { color: var(--green); }
.saison-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.saison-grid .num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--rose); display: block; margin-bottom: 6px; }

.rubrique-section { padding: 64px 0 12px; }
.rubrique-titre { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.rubrique-titre h2, .rubrique-titre h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; margin: 0; white-space: nowrap; }
.rubrique-titre .fil { height: 1px; background: var(--line); flex: 1; }
.rubrique-titre .voir-tout { flex-shrink: 0; }

.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.carte { display: flex; flex-direction: column; }
.carte .figure { aspect-ratio: 16 / 9; margin-bottom: 18px; transition: box-shadow .25s ease; }
.carte .figure img, .carte .figure > svg { transition: transform .3s cubic-bezier(.22,.8,.35,1); }
.carte:hover .figure { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); }
.carte:hover .figure img { transform: scale(1.06); }
.carte:hover .figure > svg { transform: scale(1.08) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .carte:hover .figure img, .carte:hover .figure > svg { transform: none; } }
.carte .sur-titre { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--rose); margin: 0 0 8px; }
.carte .sur-titre a:hover { color: var(--ink); }
.carte h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0 0 10px; text-wrap: balance; }
.carte h3 a { background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 96%; transition: background-size .3s ease, color .2s ease; }
.carte h3 a:hover { color: var(--green); background-size: 100% 1px; }
.carte p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.carte .meta { margin-top: auto; font-size: 12px; }

/* liste "derniers articles" + aperçu flottant */
.derniers { padding: 64px 0 72px; }
.liste-derniers { list-style: none; margin: 0; padding: 0; }
.liste-derniers li { border-bottom: 1px solid var(--line); }
.liste-derniers li:first-child { border-top: 1px solid var(--line); }
.liste-derniers a {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 26px; align-items: baseline;
  padding: 24px 10px; transition: padding-left .3s cubic-bezier(.22,.8,.35,1), background .3s ease;
}
.liste-derniers a:hover { padding-left: 26px; background: var(--paper-raised); }
.ld-date { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.ld-titre { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.18; transition: color .2s ease; }
.liste-derniers a:hover .ld-titre { color: var(--green); }
.ld-rub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--rose); white-space: nowrap; }
.ld-thumb { display: none; }
@media (max-width: 640px) {
  .liste-derniers a { grid-template-columns: 1fr auto; }
  .ld-date { display: none; }
}
.apercu-flottant {
  position: fixed; top: 0; left: 0; z-index: 50; width: 300px; aspect-ratio: 16 / 9;
  pointer-events: none; opacity: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .5);
  transition: opacity .25s ease;
}
.apercu-flottant img { width: 100%; height: 100%; object-fit: cover; }
.apercu-flottant svg { width: 46%; color: var(--green); }
.apercu-flottant.rose-fond { background: var(--rose-tint); }
.apercu-flottant.rose-fond svg { color: var(--rose); }

/* bandeau défilant */
.defile { border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; white-space: nowrap; }
.defile-piste { display: inline-flex; animation: defiler 36s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink-soft); padding: 0 28px; }
.defile .puce { color: var(--rose); font-style: normal; }
@keyframes defiler { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defile-piste { animation: none; } }

/* bandeau savoir-faire */
.savoir { border-bottom: 1px solid var(--line); background: var(--green); }
.savoir .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.savoir, .savoir h2, .savoir p { color: var(--sur-fonce); }
.savoir .kicker { color: color-mix(in srgb, var(--rose) 55%, var(--sur-fonce)); }
.savoir h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; margin: 0 0 18px; text-wrap: balance; }
.savoir p { font-size: 16.5px; max-width: 36em; margin: 0; opacity: .88; }
.savoir .btn { border-color: var(--sur-fonce); color: var(--sur-fonce); margin-top: 28px; }
.savoir .btn:hover { background: var(--sur-fonce); color: var(--green); }
.savoir .figure { background: color-mix(in srgb, var(--sur-fonce) 12%, transparent); border-color: color-mix(in srgb, var(--sur-fonce) 30%, transparent); aspect-ratio: 16/11; }
.savoir .figure > svg { color: var(--sur-fonce); }
@media (prefers-color-scheme: dark) {
  .savoir { background: var(--green-tint); }
  .savoir, .savoir h2, .savoir p { color: var(--ink); }
  .savoir .kicker { color: var(--rose); }
  .savoir .btn { border-color: var(--ink); color: var(--ink); }
  .savoir .btn:hover { background: var(--ink); color: var(--paper); }
  .savoir .figure > svg { color: var(--green); }
}

/* newsletter */
.lettre { text-align: center; padding: 76px 0; border-bottom: 1px solid var(--line); }
.lettre .kicker { margin-bottom: 14px; }
.lettre h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; text-wrap: balance; }
.lettre .sous { color: var(--ink-soft); max-width: 42em; margin: 0 auto 30px; font-size: 16.5px; }
.lettre form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.lettre input[type="email"] {
  flex: 1 1 280px; min-height: 48px; padding: 10px 16px;
  border: 1.5px solid var(--line-strong); background: var(--paper-raised);
  color: var(--ink); font-family: var(--sans); font-size: 16px; border-radius: 0;
}
.lettre input[type="email"]::placeholder { color: var(--ink-soft); }
.lettre .btn { margin-top: 0; }
.lettre .aide { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* pied de page */
.site-footer { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-grid .marque { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 0 10px; }
.footer-grid .manifeste { color: var(--ink-soft); font-size: 14.5px; max-width: 30em; margin: 0; }
.footer-grid h2 { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 14px; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--green); }
.footer-bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--ink-soft); }

/* ================================================================
   ARTICLE (single)
   ================================================================ */
.art-entete { border-bottom: 1px solid var(--line); }
.art-entete .wrap { padding-top: 18px; padding-bottom: 18px; }
.fil-ariane { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.fil-ariane a:hover { color: var(--green); }
.fil-ariane .sep { margin: 0 8px; color: var(--line-strong); }

.art-titre-bloc { text-align: center; max-width: 880px; margin: 0 auto; padding: 46px 24px 54px; }
.art-titre-bloc .kicker { margin-bottom: 0; }
.art-titre-bloc h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; margin: 18px 0 22px; text-wrap: balance;
}
.art-titre-bloc .chapo { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink-soft); margin: 0 auto 28px; max-width: 30em; }
.art-titre-bloc .meta { justify-content: center; }
.art-hero-figure { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.art-hero-figure .figure { aspect-ratio: 16 / 9; }
.art-hero-figure .figure > svg { width: 30%; }

/* L'ensemble sommaire + article occupe 80 % de la largeur disponible ;
   la colonne de texte prend tout l'espace restant après le sommaire. */
.art-corps { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; width: 80%; margin: 0 auto; padding: 64px 0 0; }
.sommaire { position: sticky; top: 76px; align-self: start; font-size: 14px; }
body.admin-bar .sommaire { top: 108px; }
.sommaire.vide { display: none; }
.sommaire .som-titre { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-weight: 700; }
.sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sommaire ol a {
  display: block; padding: 7px 0 7px 14px; color: var(--ink-soft); line-height: 1.4;
  border-left: 2px solid var(--line); transition: color .2s ease, border-color .2s ease;
}
.sommaire ol a:hover { color: var(--ink); }
.sommaire ol a.actif { color: var(--green); border-left-color: var(--green); font-weight: 700; }
.sommaire .som-retour { display: block; margin-top: 22px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
@media (max-width: 1000px) {
  .art-corps { grid-template-columns: minmax(0, 1fr); width: auto; padding: 64px 24px 0; }
  .sommaire { display: none; }
}

/* ================================================================
   CONTENU D'ARTICLE — tout s'accroche aux balises standard.
   Votre pipeline publie du HTML nu, le thème l'habille.
   ================================================================ */
.entry-content { font-size: 17.5px; line-height: 1.75; counter-reset: chapitre; }
.entry-content > * { margin: 0 0 26px; }
.entry-content h2 {
  font-family: var(--serif); font-weight: 600; font-size: 33px; line-height: 1.15;
  margin: 54px 0 20px; text-wrap: balance; scroll-margin-top: 84px;
  counter-increment: chapitre;
}
.entry-content h2::before { content: counter(chapitre, upper-roman) "."; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--rose); margin-right: 12px; }
.entry-content h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 40px 0 14px; }
.entry-content > p:first-child::first-letter {
  font-family: var(--serif); font-weight: 600; font-size: 74px; line-height: .78;
  float: left; padding: 8px 12px 0 0; color: var(--green);
}
.entry-content strong { font-weight: 700; }
.entry-content em { font-family: var(--serif); font-size: 1.06em; }
.entry-content a { color: var(--green); border-bottom: 1px solid color-mix(in srgb, var(--green) 40%, transparent); transition: border-color .2s ease; }
.entry-content a:hover { border-bottom-color: var(--green); }
.entry-content ul, .entry-content ol { padding-left: 26px; }
.entry-content li { margin-bottom: 8px; }
.entry-content figure, .entry-content .wp-block-image { margin: 40px 0; }
.entry-content figure img { display: block; width: 100%; height: auto; }
.entry-content figcaption { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 2px 0; }
.entry-content hr { border: none; border-top: 1px dashed var(--line-strong); margin: 48px auto; width: 40%; }
.entry-content p:empty { display: none; }

/* citation → exergue, automatiquement */
.entry-content blockquote {
  border: none; margin: 56px 0; padding: 0 0 0 28px; border-left: 3px solid var(--rose);
}
.entry-content blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 29px; line-height: 1.32; margin: 0 0 12px; color: var(--ink); }
.entry-content blockquote cite { font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* tableau → style "belle" automatiquement (le JS ajoute .table-wrap + surbrillance) */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); background: var(--paper-raised); margin: 0 0 10px; }
.table-glow {
  position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 0; opacity: 0;
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border-left: 3px solid var(--green);
  transition: top .16s cubic-bezier(.25,.9,.3,1), height .16s cubic-bezier(.25,.9,.3,1), opacity .18s ease;
}
@media (prefers-reduced-motion: reduce) { .table-glow { transition: opacity .18s ease; } }
.entry-content table { width: 100%; border-collapse: collapse; position: relative; z-index: 1; font-size: 15px; min-width: 560px; margin: 0; }
.entry-content table caption { font-family: var(--serif); font-weight: 600; font-size: 21px; text-align: left; padding: 14px 18px 12px; color: var(--ink); }
.entry-content table th {
  text-align: left; padding: 14px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); background: var(--green); font-weight: 700; white-space: nowrap; border: none;
}
.entry-content table td { padding: 14px 18px; border-top: 1px solid var(--line); border-left: none; border-right: none; color: var(--ink-soft); transition: color .15s ease; vertical-align: top; }
.entry-content table tr.tr-actif td { color: var(--ink); }
.entry-content table td:first-child { font-family: var(--serif); font-weight: 600; font-size: 18.5px; color: var(--ink); white-space: nowrap; }
.entry-content table td { font-variant-numeric: tabular-nums; }
.table-legende, .entry-content .table-wrap + p em:only-child { font-size: 13px; color: var(--ink-soft); }

/* badges + gouttes (shortcodes) */
.badge { display: inline-block; padding: 3px 10px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border: 1px solid currentColor; }
.badge-vert { color: var(--green); background: color-mix(in srgb, var(--green) 9%, transparent); }
.badge-rose { color: var(--rose); background: color-mix(in srgb, var(--rose) 9%, transparent); }
.badge-neutre { color: var(--ink-soft); background: color-mix(in srgb, var(--ink-soft) 8%, transparent); }
.gouttes { display: inline-flex; gap: 3px; align-items: center; }
.gouttes svg { width: 13px; height: 16px; color: var(--green); }
.gouttes svg.vide { opacity: .25; }
.gouttes .g-txt { margin-left: 7px; font-size: 12.5px; color: var(--ink-soft); }

/* blocs éditoriaux (shortcodes [geste] [retenir] [materiel] [lecture]) */
.bloc-geste { margin: 48px 0; border: 1px solid var(--line); background: var(--green-tint); padding: 34px 36px 30px; position: relative; }
.bloc-geste::before {
  content: attr(data-etiquette); position: absolute; top: -11px; left: 28px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--green); background: var(--paper); padding: 0 12px; border: 1px solid var(--line);
}
.bloc-geste .bloc-titre { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 4px 0 20px; }
.bloc-geste ol { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 18px; }
.bloc-geste ol li { counter-increment: etape; position: relative; padding-left: 62px; min-height: 46px; font-size: 16px; margin: 0; }
.bloc-geste ol li::before {
  content: counter(etape); position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--green);
  border: 1px solid var(--line-strong); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; background: var(--paper-raised);
}
.bloc-geste ol li > strong:first-child { display: block; padding-top: 8px; margin-bottom: 4px; }
.bloc-geste br, .bloc-retenir br, .bloc-materiel br { display: none; }

.bloc-retenir { margin: 48px 0; border: 1px solid var(--line); border-top: 3px solid var(--rose); background: var(--rose-tint); padding: 30px 36px; }
.bloc-retenir .bloc-titre { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin: 0 0 16px; font-weight: 700; }
.bloc-retenir ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; }
.bloc-retenir ul li { padding-left: 26px; position: relative; margin: 0; }
.bloc-retenir ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1.5px; background: var(--rose); }

.bloc-materiel { margin: 48px 0; border: 1px dashed var(--line-strong); padding: 26px 32px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.bloc-materiel > svg { width: 44px; height: 44px; color: var(--green); margin-top: 4px; }
.bloc-materiel .bloc-titre { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 10px; }
.bloc-materiel ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; font-size: 15.5px; color: var(--ink-soft); }
.bloc-materiel ul li { padding: 5px 0; break-inside: avoid; margin: 0; }
.bloc-materiel ul li::before { content: "— "; color: var(--rose); }
@media (max-width: 620px) { .bloc-materiel { grid-template-columns: 1fr; } .bloc-materiel ul { columns: 1; } }

.lecture-reveal { margin: 60px 0; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lecture-reveal p { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; margin: 0; }
.lecture-reveal .lr-label { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); font-weight: 700; display: block; margin-bottom: 18px; }
html.js.anim .lecture-reveal .mot-r { color: var(--line-strong); transition: color .35s ease, opacity .35s ease; opacity: .45; }
html.js.anim .lecture-reveal .mot-r.on { color: var(--ink); opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.js.anim .lecture-reveal .mot-r { color: var(--ink); opacity: 1; } }

/* fin d'article */
.art-fin { width: 80%; margin: 70px auto 0; }
@media (max-width: 1000px) { .art-fin { width: auto; padding: 0 24px; } }
.auteur { display: grid; grid-template-columns: 84px 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.auteur .portrait {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--green-tint); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px; color: var(--green); font-weight: 600; overflow: hidden;
}
.auteur .portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.auteur h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 6px; }
.auteur p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.lire-ensuite { padding: 64px 0 30px; }
.lire-ensuite .rubrique-titre, .lire-ensuite .cartes { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.lire-ensuite .cartes { border-bottom: none; }

/* commentaires (léger) */
.commentaires { width: 80%; margin: 40px auto 0; }
@media (max-width: 1000px) { .commentaires { width: auto; padding: 0 24px; } }
.commentaires .comment-list { list-style: none; padding: 0; }
.commentaires .comment { border-top: 1px solid var(--line); padding: 20px 0; }

/* archives */
.archive-entete { text-align: center; padding: 56px 24px 10px; }
.archive-entete h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 48px); margin: 0 0 10px; }
.archive-entete .archive-description { color: var(--ink-soft); max-width: 40em; margin: 0 auto; }
.archive-grille { padding: 46px 0 20px; }
.navigation.pagination { text-align: center; padding: 30px 0 60px; }
.navigation.pagination .nav-links { display: inline-flex; gap: 8px; }
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); padding: 0 10px;
  transition: color .2s ease, border-color .2s ease;
}
.navigation.pagination .page-numbers.current { color: var(--paper); background: var(--green); border-color: var(--green); }
.navigation.pagination .page-numbers:hover { color: var(--green); border-color: var(--green); }

/* pages simples */
.page-simple { max-width: 680px; margin: 0 auto; padding: 56px 24px; }
.page-simple h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 30px; text-align: center; }

/* ================================================================
   RESPONSIVE global
   ================================================================ */
@media (max-width: 900px) {
  .hero .wrap, .savoir .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .figure { order: -1; }
  .cartes { grid-template-columns: 1fr 1fr; }
  .saison-grid { grid-template-columns: 1fr; gap: 22px; }
  .saison-grid article { padding: 0; border-left: none; border-top: 1px dashed var(--line-strong); padding-top: 20px; }
  .saison-grid article:first-child { border-top: none; padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .cartes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bloc-geste, .bloc-retenir { padding-left: 18px; padding-right: 18px; }
  .bloc-geste ol li { padding-left: 48px; min-height: 38px; }
  .bloc-geste ol li::before { width: 36px; height: 36px; font-size: 21px; }
  .bloc-geste ol li > strong:first-child { padding-top: 5px; }
  .bloc-materiel { padding-left: 18px; padding-right: 18px; }
  .entry-content { font-size: 16.5px; }
}
