/*
Theme Name: Jardinot Narbonne
Theme URI: https://jardinot-narbonne.com/
Author: Jardinot Narbonne
Description: Thème bloc sur mesure de l'association Jardinot Narbonne : jardins familiaux ouverts à tous. Charte vert forêt et crème, titres Amatic SC, texte Poppins. Polices locales, aucun appel externe.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jardinot
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

:where(p) { margin: 0; }
/* ==========================================================
   Jardinot Narbonne — maquette accueil
   Charte : vert forêt + crème + une secondaire par section
   ========================================================== */


:root {
  --foret: #076628;
  --foret-fonce: #05521f;
  --creme: #FAF4F0;
  --blanc: #FFFFFF;
  --texte: #093D1B;
  --terre: #C0522E;
  --jaune: #F4DC71;
  --sauge: #B3B370;
  --olive: #657101;
  --ciel: #9DCFDB;
  --filet: rgba(9, 61, 27, .14);

  --f-titre: "Amatic SC", "Patrick Hand SC", "Arial Narrow", sans-serif;
  --f-texte: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-main: "Caveat Brush", "Segoe Print", "Bradley Hand", sans-serif;

  --conteneur: 1200px;
  --gouttiere: clamp(20px, 4vw, 40px);
  --rayon: 12px;
  --ombre: 0 24px 48px -20px rgba(9, 61, 27, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: .02em;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); font-weight: 700; line-height: .98; color: var(--foret); letter-spacing: .01em; text-wrap: balance; hyphens: none; }
.conteneur { width: 100%; max-width: calc(var(--conteneur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo de la charte ---------- */
.surtitre {
  display: block;
  font-family: var(--f-main);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--terre);
  margin: 0 0 .35em;
  letter-spacing: .01em;
}
.titre-2 { font-size: clamp(50px, 5.6vw, 78px); }
.titre-2 em, .titre-1 em { font-style: normal; color: var(--terre); }
.sous-titre {
  font-family: var(--f-texte);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  line-height: 1.4;
}
.chapo { font-size: clamp(18px, 1.5vw, 20px); max-width: 38em; }

/* ---------- Boutons pastille ---------- */
.btn > .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 30px;
  border-radius: 999px;
  font-family: var(--f-texte); font-weight: 900; font-size: 15px;
  text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn > .wp-block-button__link:hover { transform: translateY(-2px); }
.btn--terre > .wp-block-button__link { background: var(--terre); color: var(--blanc); box-shadow: 0 10px 22px -10px rgba(192, 82, 46, .8); }
.btn--terre > .wp-block-button__link:hover { background: #a9461f; }
.btn--contour > .wp-block-button__link { border-color: var(--foret); color: var(--foret); background: rgba(255,255,255,.75); }
.btn--contour > .wp-block-button__link:hover { background: var(--blanc); }
.btn--foret > .wp-block-button__link { background: var(--foret); color: var(--creme); }
.btn > .wp-block-button__link .fl { width: 16px; height: 16px; flex: none; }

.lien-fleche { display: inline-flex; align-items: center; gap: .45em; font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--terre); }
.lien-fleche svg { width: 16px; height: 16px; transition: transform .2s; }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- Bandeau d'information ---------- */
.annonce { background: var(--foret); color: var(--creme); font-size: 15px; line-height: 1.4; }
.annonce .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.annonce p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0; }
.annonce strong { color: var(--jaune); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin-right: .5em; }
.annonce a { color: var(--creme); }
.annonce__coord { display: flex; gap: 18px; white-space: nowrap; }
.annonce__coord a { text-decoration: none; }
.annonce__fermer { background: none; border: 0; color: var(--creme); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
.annonce__fermer:hover { background: rgba(255,255,255,.12); }
.annonce[hidden] { display: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.entete .conteneur { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.logo__complet { width: 230px; }
.logo__mini { display: none; align-items: center; gap: 6px; }
.logo__mini img { width: 44px; }
.logo__mini span { font-family: var(--f-main); color: var(--terre); font-size: 34px; line-height: 1; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__liste { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__liste > li { position: relative; }
.nav__liste > li > a, .nav__liste > li > button.nav__parent {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  font: 400 16px/1.2 var(--f-texte); letter-spacing: .02em; color: var(--texte); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav__liste > li > a:hover, .nav__parent:hover { background: var(--creme); }
.nav__parent svg { width: 14px; height: 14px; transition: transform .2s; }
.sous-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); border: 1px solid var(--filet);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.sous-menu a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 16px; }
.sous-menu a:hover { background: var(--creme); color: var(--foret); }
.nav__liste > li:hover > .sous-menu, .nav__liste > li:focus-within > .sous-menu, .nav__liste > li.ouvert > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.nav__cta { margin-left: 10px; }
.nav__liste > li.nav__cta > a.btn { min-height: 50px; padding: 0 24px; font: 900 14px/1 var(--f-texte); letter-spacing: .1em; color: var(--blanc); background: var(--terre); border-radius: 999px; }
.nav__liste > li.nav__cta > a.btn:hover { background: #a9461f; }
.nav__cta .sous-menu { left: auto; right: 0; }
.nav__accueil { display: none; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 0; text-align: center; isolation: isolate; }
.hero__fond { position: absolute; inset: 0 0 34% 0; z-index: -1; overflow: hidden; }
.hero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__fond::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 42%, rgba(255,255,255,.88), rgba(255,255,255,.55) 60%, rgba(255,255,255,.25)),
    linear-gradient(to bottom, rgba(255,255,255,0) 55%, #fff 100%); }
.hero .surtitre { font-size: clamp(28px, 3vw, 36px); }
.titre-1 { font-size: clamp(60px, 8.2vw, 118px); line-height: 1; margin: 6px auto 0; }
.etiquettes { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.etiquette {
  display: inline-block; background: var(--creme); color: var(--foret);
  padding: .02em .28em .06em; border-radius: 6px;
  box-shadow: 0 8px 20px -12px rgba(9,61,27,.45);
}
.etiquette--accent { color: var(--terre); }
.hero .chapo { margin: 28px auto 32px; color: var(--texte); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Mosaïque + carte d'infos */
.mosaique { position: relative; margin-top: 56px; padding-bottom: 72px; }
.mosaique__grille { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(360px, 38vw, 540px); }
.mosaique__grille figure { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.mosaique__grille figure:first-child { grid-row: span 2; }
.mosaique__grille img { width: 100%; height: 100%; object-fit: cover; }
.infos {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.25fr 1.15fr .9fr;
  width: min(1060px, calc(100% - 48px)); margin: -96px auto 0;
  background: var(--foret); color: var(--creme);
  border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); text-align: left;
}
.infos__bloc { padding: 26px 28px; font-size: 16px; line-height: 1.55; }
.infos__bloc + .infos__bloc { border-left: 1px solid rgba(250,244,240,.16); }
.infos__bloc .sous-titre { color: var(--jaune); font-size: 12.5px; margin-bottom: 8px; display: block; }
.infos__gros { font-family: var(--f-titre); font-size: 44px; line-height: 1; display: block; margin-bottom: 4px; color: var(--creme); }
.infos__bloc p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0; }
.infos__bloc a { color: var(--creme); text-decoration-color: rgba(250,244,240,.45); text-underline-offset: 3px; }
.infos__note { font-size: 14px; opacity: .85; margin-top: 6px !important; }
.infos__venir {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: var(--jaune); color: var(--texte); padding: 26px 28px; text-decoration: none;
  transition: background-color .2s;
}
.infos__venir:hover { background: #f0d24f; }
.infos__venir strong { font-family: var(--f-titre); font-size: 44px; line-height: .95; color: var(--foret); }
.infos__venir .lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--texte); }
.infos__venir svg { width: 16px; height: 16px; }

/* ---------- Bande vert forêt : Nous rejoindre ---------- */
.rejoindre { position: relative; background: var(--foret); color: var(--creme); padding: 104px 0 112px; overflow: hidden; isolation: isolate; }
.rejoindre .feuillage { position: absolute; top: -170px; right: -170px; width: 620px; z-index: -1; opacity: .22; pointer-events: none; }
.rejoindre .surtitre { color: var(--jaune); }
.rejoindre h2 { color: var(--creme); }
.rejoindre h2 em { color: var(--jaune); }
.rejoindre .chapo { margin-top: 22px; color: var(--creme); max-width: 34em; }
.rejoindre__grille { display: grid; grid-template-columns: 1fr 1fr .78fr; gap: 22px; margin-top: 52px; align-items: stretch; }
.carte-etape {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 32px 32px; border-radius: var(--rayon);
  background: rgba(250,244,240,.07); border: 1px solid rgba(250,244,240,.18);
  color: var(--creme); text-decoration: none; transition: background-color .2s, transform .2s;
}
.carte-etape:hover { background: rgba(250,244,240,.12); transform: translateY(-3px); }
.carte-etape__num { font-family: var(--f-titre); font-size: 80px; line-height: .8; color: var(--jaune); }
.carte-etape .sous-titre { color: var(--jaune); font-size: 13px; margin: 18px 0 6px; }
.carte-etape h3 { font-size: 50px; color: var(--creme); margin-bottom: 12px; }
.carte-etape p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 17px; opacity: .92; }
.carte-etape .lien-fleche { margin-top: auto; color: var(--creme); }
.rejoindre__mascotte { position: relative; z-index: 2; align-self: end; margin: 0 0 -112px; }
.rejoindre__mascotte img { width: 100%; max-width: 250px; margin: 0 auto 0 0; filter: drop-shadow(0 18px 24px rgba(0,0,0,.3)); }

/* Compositions d'aquarelles (fichiers fournis, ni recadrés ni recolorés) */
.compo { position: absolute; pointer-events: none; }
.compo img { position: absolute; height: auto; filter: drop-shadow(0 14px 18px rgba(9,61,27,.22)); }
.compo--rejoindre { right: -40px; bottom: -36px; width: 400px; height: 270px; z-index: 1; }
.compo--rejoindre .compo__a { width: 250px; left: 0; bottom: 0; }
.compo--rejoindre .compo__c { width: 220px; right: 0; bottom: 30px; }
.compo--rejoindre .compo__b { width: 220px; left: 110px; bottom: -14px; z-index: 1; }
.compo--appel { left: -78px; bottom: -84px; width: 300px; height: 230px; z-index: 2; }
.compo--appel img { filter: drop-shadow(0 8px 10px rgba(9,61,27,.14)); }
.compo--appel .compo__c { width: 170px; left: 120px; bottom: 34px; }
.compo--appel .compo__a { width: 160px; left: 0; bottom: 6px; z-index: 1; }
.compo--appel .compo__b { width: 104px; left: 128px; bottom: -6px; z-index: 2; }
.bulle {
  position: absolute; top: 0; left: -24px; transform: translateY(-115%);
  background: var(--creme); color: var(--foret); border-radius: 18px; padding: 12px 18px;
  font-family: var(--f-main); font-size: 24px; line-height: 1.15; max-width: 220px; box-shadow: var(--ombre);
}
.bulle::after { content: ""; position: absolute; bottom: -10px; left: 48px; border: 10px solid transparent; border-bottom: 0; border-top-color: var(--creme); }

/* ---------- Bande crème : accès rapide ---------- */
.acces { position: relative; background: var(--creme); padding: 104px 0 96px; }
.acces__tete { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.acces__tete p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0; }
.acces__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--filet); }
.acces__item { border-bottom: 1px solid var(--filet); }
.acces__item + .acces__item { border-left: 1px solid var(--filet); }
.acces__item { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 30px 26px 30px; text-decoration: none; transition: background-color .2s; }
.acces__item:hover { background: rgba(255,255,255,.7); }
.acces__item::before { width: 40px; height: 40px; color: var(--terre); }
.acces__liste h3 { font-size: 40px; color: var(--foret); }
.acces__liste p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 16px; margin: 0; }
.acces__liste .lien-fleche { margin-top: auto; font-size: 13px; color: var(--foret); }

/* ---------- Vie de l'association (cartes photo) ---------- */
.vie { padding: 112px 0 104px; }
.vie__tete { max-width: 760px; margin-bottom: 48px; }
.vie__tete .chapo { margin-top: 18px; }
.cartes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte {
  display: flex; flex-direction: column; background: var(--blanc);
  border: 1px solid var(--filet); border-radius: var(--rayon); overflow: hidden; text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.carte:hover { box-shadow: var(--ombre); transform: translateY(-4px); }
.carte figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.carte figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte:hover figure img { transform: scale(1.04); }
.carte__corps { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.carte__pastille { display: inline-flex; align-items: center; gap: 8px; color: var(--foret); font-size: 12.5px; margin-bottom: 10px; }
.carte__pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terre); }
.carte h3 { font-size: 44px; margin-bottom: 10px; }
.carte p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 17px; }
.carte .lien-fleche { margin-top: auto; }

/* ---------- Actualités ---------- */
.actus { padding: 0 0 112px; }
.actus__tete { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.actus__tete .chapo { margin: 18px 0 0; }
.actus__tete .lien-fleche { white-space: nowrap; }
.carte__date { font-size: 12.5px; color: var(--terre); margin-bottom: 8px; }
.carte--actu h3 { font-size: 40px; }
.a-completer { background: var(--jaune); color: var(--texte); font-weight: 900; font-size: .8em; padding: 0 .35em; border-radius: 4px; letter-spacing: .03em; white-space: nowrap; }

/* ---------- Appel final encarté ---------- */
.appel { padding: 0 0 120px; }
.appel__boite { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--creme); border-radius: var(--rayon); overflow: visible; min-height: 460px; }
.appel__texte { padding: 72px 64px 140px; }
.appel__texte .chapo { margin: 20px 0 30px; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.appel__photo { margin: 0; border-radius: 0 var(--rayon) var(--rayon) 0; overflow: hidden; }
.appel__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pied de page ---------- */
.pied { background: var(--foret); color: var(--creme); padding: 84px 0 0; font-size: 16px; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 48px; padding-bottom: 56px; }
.pied__logo { display: inline-block; background: var(--creme); border-radius: var(--rayon); padding: 14px 18px; margin-bottom: 20px; }
.pied__logo img { width: 210px; }
.pied h2 { font-size: 40px; color: var(--creme); margin-bottom: 14px; }
.pied p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0 0 .7em; }
.pied a { color: var(--creme); text-underline-offset: 3px; text-decoration-color: rgba(250,244,240,.45); }
.pied a:hover { color: var(--jaune); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied li a { text-decoration: none; }
.pied .lien-fleche { color: var(--jaune); font-size: 13px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(250,244,240,.12); margin-top: 8px; }
.social:hover { background: rgba(250,244,240,.22); }
.social svg { width: 22px; height: 22px; fill: var(--creme); }
.pied__bas { border-top: 1px solid rgba(250,244,240,.16); }
.pied__bas .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.partenaire { display: flex; align-items: center; gap: 14px; }
.partenaire span.chip { display: inline-flex; background: var(--creme); border-radius: 8px; padding: 6px 10px; }
.partenaire img { width: 92px; }
.pied__legal { display: flex; gap: 22px; flex-wrap: wrap; }

.nav__cta-mobile { display: none; min-height: 44px; padding: 0 16px; font-size: 12px; white-space: nowrap; letter-spacing: .08em; }
.insecable { white-space: nowrap; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
.nav__liste > li > a, .nav__liste > li > button.nav__parent { padding: 10px 8px; font-size: 15px; }
.logo__complet { width: 190px; }
}
@media (max-width: 1024px) {
.entete .conteneur { min-height: 76px; }
.logo__complet { display: none; }
.logo__mini { display: flex; }
.burger { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--creme); color: var(--foret); cursor: pointer; }
.burger svg { width: 24px; height: 24px; }
.nav { order: 3; margin-left: 0; }
.nav__cta-mobile { display: inline-flex; margin-left: auto; }
.nav__liste { display: none; }
.entete.menu-ouvert .nav__liste {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: var(--haut-entete, 76px); bottom: 0; overflow-y: auto;
    background: var(--blanc); padding: 12px var(--gouttiere) 40px;
  }
.entete.menu-ouvert .nav__liste > li { border-bottom: 1px solid var(--filet); }
.entete.menu-ouvert .nav__liste > li > a, .entete.menu-ouvert .nav__parent { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 19px; }
.entete.menu-ouvert .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; display: none; min-width: 0; }
.entete.menu-ouvert li.ouvert > .sous-menu { display: block; }
.entete.menu-ouvert li.ouvert .nav__parent svg { transform: rotate(180deg); }
.entete.menu-ouvert .sous-menu a { font-size: 18px; padding: 12px 10px; }
.nav__accueil { display: block; }
.nav__cta { margin: 20px 0 0; border: 0 !important; }
.entete.menu-ouvert .nav__cta > a.btn { width: 100%; min-height: 58px; }
.entete.menu-ouvert .nav__cta .sous-menu { display: block; padding-left: 0; }
.annonce__coord { display: none; }

.infos { grid-template-columns: 1fr 1fr; }
.infos__bloc:nth-child(3) { border-left: 0; }
.infos__bloc:nth-child(n+3) { border-top: 1px solid rgba(250,244,240,.16); }
.rejoindre__grille { grid-template-columns: 1fr 1fr; }
.rejoindre__mascotte { grid-column: 1 / -1; margin: 70px 0 -88px; }
.rejoindre__mascotte img { max-width: 210px; }
.bulle { left: 150px; top: 20px; transform: none; }
.bulle::after { left: -10px; bottom: auto; top: 22px; border: 10px solid transparent; border-left: 0; border-right-color: var(--creme); }
.compo--rejoindre { transform: scale(.75); transform-origin: right bottom; }
.compo--appel { transform: scale(.8); transform-origin: left bottom; }
.acces__tete { grid-template-columns: 1fr; gap: 18px; }
.acces__liste { grid-template-columns: 1fr 1fr; }
.acces__item:nth-child(3) { border-left: 0; }
.cartes-3 { grid-template-columns: 1fr 1fr; }
.pied__grille { grid-template-columns: 1fr 1fr; }
.appel__texte { padding: 56px 40px 80px; }
}

@media (max-width: 720px) {
body { font-size: 18px; }
.logo__mini img { width: 38px; }
.logo__mini span { font-size: 28px; }
.entete .conteneur { gap: 10px; }
.burger { width: 46px; height: 46px; flex: none; }
.annonce { font-size: 14px; }
.annonce strong { display: block; margin-bottom: 2px; }
.hero { padding-top: 48px; }
.hero__fond { inset: 0 0 52% 0; }
.hero__fond::after { background: linear-gradient(to bottom, rgba(255,255,255,.45) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.94) 70%, #fff 100%); }
.etiquettes { gap: 5px; }
.hero__actions { flex-direction: column; align-items: stretch; padding: 0 8px; }
.mosaique { margin-top: 40px; padding-bottom: 56px; }
.mosaique__grille { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 10px; }
.mosaique__grille figure:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.mosaique__grille figure:not(:first-child) { aspect-ratio: 1; }
.infos { grid-template-columns: 1fr; width: 100%; margin-top: 18px; }
.infos__bloc + .infos__bloc { border-left: 0; border-top: 1px solid rgba(250,244,240,.16); }
.infos__venir { flex-direction: row; justify-content: space-between; align-items: center; }
.infos__venir strong { font-size: 40px; }
.rejoindre { padding: 80px 0 88px; }
.rejoindre .feuillage { width: 380px; right: -150px; top: -90px; }
.rejoindre__grille { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.carte-etape { padding: 28px 24px; }
.acces { padding: 80px 0 72px; }
.acces__liste { grid-template-columns: 1fr; }
.acces__item + .acces__item { border-left: 0; }
.acces__item { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 22px 4px; }
.acces__item::before { width: 34px; height: 34px; }
.acces__liste h3 { font-size: 36px; flex: 1; }
.acces__liste p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { flex-basis: 100%; padding-left: 50px; }
.acces__liste .lien-fleche { display: none; }
.vie { padding: 80px 0 72px; }
.cartes-3 { grid-template-columns: 1fr; gap: 18px; }
.actus { padding-bottom: 80px; }
.actus__tete { flex-direction: column; align-items: start; gap: 16px; }
.appel { padding-bottom: 96px; }
.appel__boite { grid-template-columns: 1fr; }
.appel__photo { order: -1; border-radius: var(--rayon) var(--rayon) 0 0; aspect-ratio: 4 / 3; }
.appel__texte { padding: 36px 24px 120px; }
.appel__actions { flex-direction: column; }
.rejoindre__mascotte { margin: 40px 0 -88px; }
.rejoindre__mascotte img { max-width: 160px; }
.bulle { left: 120px; top: 0; font-size: 20px; max-width: 160px; }
.compo--rejoindre { transform: scale(.5); right: -50px; bottom: -40px; }
.compo--appel { transform: scale(.6); left: -16px; bottom: -60px; }
.pied { padding-top: 64px; }
.pied__grille { grid-template-columns: 1fr; gap: 36px; }
.pied__bas .conteneur { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   Phase 3 — pages intérieures
   ========================================================== */

/* Entrée de menu active */
.nav__liste > li[data-actif] > a:not(.btn > .wp-block-button__link), .nav__liste > li[data-actif] > .nav__parent { color: var(--terre); font-weight: 900; }
.sous-menu a[aria-current="page"] { background: var(--creme); color: var(--terre); font-weight: 900; }

/* En-tête de page : photo délavée + titre sur étiquettes */
.page-tete { position: relative; padding: 40px 0 88px; text-align: center; isolation: isolate; overflow: hidden; }
.page-tete__fond { position: absolute; inset: 0; z-index: -1; }
.page-tete__fond img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-tete__fond::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 78% at 50% 55%, rgba(255,255,255,.9), rgba(255,255,255,.62) 62%, rgba(255,255,255,.35)),
              linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(255,255,255,.9) 100%); }
.page-tete--simple { background: var(--creme); padding-bottom: 72px; }
.fil { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 14px; margin-bottom: 44px; color: var(--texte); }
.fil a { color: var(--foret); text-underline-offset: 3px; }
.fil span[aria-hidden] { color: var(--terre); }
.titre-page { font-size: clamp(56px, 7vw, 100px); line-height: 1; margin: 4px auto 0; }
.page-tete .chapo { margin: 26px auto 0; font-size: clamp(18px, 1.6vw, 21px); }
.page-tete .surtitre { font-size: clamp(26px, 2.6vw, 32px); }
.meta-article { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 15px; }
.meta-article .sous-titre { color: var(--terre); font-size: 12.5px; }

/* Sections */
.section { padding: 104px 0; position: relative; }
.section--creme { background: var(--creme); }
.section--foret { background: var(--foret); color: var(--creme); overflow: hidden; isolation: isolate; }
.section--foret h2, .section--foret h3 { color: var(--creme); }
.section--foret .surtitre { color: var(--jaune); }
.section--foret .titre-2 em { color: var(--jaune); }
.section--serre { padding-top: 0; }
.tete-section { max-width: 780px; margin-bottom: 48px; }
.tete-section .chapo { margin-top: 18px; }
.tete-section--centre { margin-left: auto; margin-right: auto; text-align: center; }
.tete-section--centre .chapo { margin-left: auto; margin-right: auto; }
.titre-3 { font-size: clamp(42px, 4.4vw, 58px); }
.deux-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.deux-col--egal { grid-template-columns: 1fr 1fr; }
.deux-col--centre { align-items: center; }

/* Texte courant */
.prose { max-width: 740px; }
.prose > * + * { margin-top: 1em; }
.prose > * { margin-bottom: 0; }
.prose h2 { font-size: clamp(44px, 4.6vw, 60px); margin-top: 1.4em; }
.prose h3 { font-size: clamp(34px, 3.2vw, 42px); margin-top: 1.3em; }
.prose h2 + *, .prose h3 + * { margin-top: .55em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--terre); }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--rayon); width: 100%; }
.prose figcaption { font-size: 15px; margin-top: 10px; color: var(--texte); opacity: .8; }
.prose a { color: var(--foret); text-underline-offset: 3px; }
.prose strong { font-weight: 900; color: var(--foret); }
.prose .signature { margin-top: 2em; padding-left: 20px; border-left: 3px solid var(--terre); }
.prose .signature strong { display: block; font-family: var(--f-main); font-weight: 400; font-size: 30px; color: var(--terre); }
.photo-arrondie { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.photo-arrondie img { width: 100%; height: 100%; object-fit: cover; }
.collant { position: sticky; top: 130px; }

/* Encadré crème avec étiquette vert forêt */
.encadre { position: relative; background: var(--creme); border-radius: var(--rayon); padding: 48px 44px 40px; }
.encadre--blanc { background: var(--blanc); border: 1px solid var(--filet); }
.encadre__etiquette { position: absolute; top: -15px; left: 40px; display: inline-flex; align-items: center; min-height: 30px; padding: 0 16px; border-radius: 999px; background: var(--foret); color: var(--creme); font: 900 12.5px/1 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; }
.encadre h2, .encadre h3 { font-size: clamp(38px, 3.6vw, 48px); margin-bottom: 16px; }
.encadre p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)):last-child { margin-bottom: 0; }
.encadre ul { margin: 0; padding-left: 1.2em; }
.encadre li + li { margin-top: .45em; }
.encadre li::marker { color: var(--terre); }
.encadre__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.encadre__note { font-size: 15px; }
.lien-discret { font-size: 15px; color: var(--foret); text-underline-offset: 3px; }
.grille-encadres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }

/* Organigramme du bureau */
.organigramme { display: flex; flex-direction: column; align-items: center; }
.organigramme__haut { position: relative; padding-bottom: 48px; }
.organigramme__haut::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 48px; background: var(--sauge); }
.organigramme__bas { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; max-width: 980px; padding-top: 48px; }
.organigramme__bas::before { content: ""; position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: var(--sauge); }
.organigramme__bas .membre::before { content: ""; position: absolute; top: -48px; left: 50%; width: 2px; height: 48px; background: var(--sauge); }
.membre { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 30px 24px 28px; min-width: 260px; }
.membre__photo { width: 96px; height: 96px; border-radius: 50%; border: 2px dashed var(--sauge); display: grid; place-items: center; font: 400 34px/1 var(--f-titre); color: var(--foret); background: var(--creme); margin-bottom: 16px; }
.membre .sous-titre { color: var(--terre); font-size: 12.5px; }
.membre h3 { font-size: 40px; margin-top: 6px; }
.membre--president { border-color: var(--foret); box-shadow: var(--ombre); }
.organigramme__note { margin: 40px auto 0; text-align: center; font-size: 19px; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.galerie figure { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.galerie figure:first-child { grid-column: span 2; grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerie figure:hover img { transform: scale(1.04); }

/* Chiffres et dates clés */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(250,244,240,.2); }
.chiffres > div { padding: 28px 24px 26px 0; border-bottom: 1px solid rgba(250,244,240,.2); }
.chiffres strong { display: block; font: 700 clamp(56px, 6vw, 84px)/.9 var(--f-titre); color: var(--jaune); white-space: nowrap; }
.article-aside .chiffres strong { font-size: 54px; }
.chiffres span { font-size: 17px; }
.dates-cles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.dates-cles > div { position: relative; padding: 30px 22px 0 0; border-top: 3px solid var(--sauge); }
.dates-cles > div::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--terre); border: 3px solid var(--creme); }
.dates-cles strong { display: block; font: 700 64px/1 var(--f-titre); color: var(--terre); }
.dates-cles p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 8px 0 0; font-size: 16px; }

/* Tableaux */
.tableau-wrap { overflow-x: auto; border-radius: var(--rayon); border: 1px solid var(--filet); background: var(--blanc); }
.tableau-wrap table { width: 100%; border-collapse: collapse; font-size: 17px; }
.tableau-wrap table th, .tableau-wrap table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--filet); }
.tableau-wrap table thead th { background: var(--foret); color: var(--creme); font: 900 13px/1.3 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; }
.tableau-wrap table tbody tr:nth-child(even) { background: var(--creme); }
.tableau-wrap table tbody tr:last-child td, .tableau-wrap table tbody tr:last-child th { border-bottom: 0; }
.tableau-wrap table .has-text-align-right { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tableau-wrap table tbody th { font-weight: 900; color: var(--foret); }
.tableau-wrap table td strong { color: var(--terre); font-weight: 900; }
.tableau-notes { margin-top: 20px; font-size: 16px; }
.tableau-notes p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0 0 .5em; }

/* Paiement */
.paiement { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.paiement > div { border-radius: var(--rayon); padding: 34px 30px; background: var(--blanc); border: 1px solid var(--filet); }
.paiement > div.paiement--conseil { background: var(--foret); color: var(--creme); border: 0; }
.paiement h3 { font-size: 40px; margin-bottom: 12px; }
.paiement--conseil h3 { color: var(--creme); }
.paiement .sous-titre { display: inline-block; font-size: 12px; margin-bottom: 14px; color: var(--terre); }
.paiement--conseil .sous-titre { color: var(--jaune); }
.paiement p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 17px; }
.paiement p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)):last-child { margin-bottom: 0; }
.paiement .discret { font-size: 15px; opacity: .85; }

/* FAQ (core/details) */
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-weight: 900; font-size: 19px; color: var(--foret); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--creme); color: var(--terre); font: 400 26px/1 var(--f-texte); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { margin: -6px 60px 24px 4px; }

/* Étapes numérotées */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 0; }
.etape { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 24px; padding-bottom: 40px; }
.etape::before { counter-increment: etape; content: counter(etape); width: 84px; height: 84px; border-radius: 50%; background: var(--terre); color: var(--blanc); display: grid; place-items: center; font: 700 52px/1 var(--f-titre); position: relative; z-index: 1; }
.etape:not(:last-child)::after { content: ""; position: absolute; left: 41px; top: 84px; bottom: 0; width: 2px; background: var(--sauge); }
.etapes h3 { font-size: 40px; margin: 14px 0 8px; }
.etapes p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0 0 .6em; }

/* Document à télécharger (core/file) */
.document { display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--filet); }
.document + .document { margin-top: 14px; }
.document__type { flex: none; width: 58px; height: 68px; border-radius: 8px; background: var(--creme); border: 2px solid var(--terre); display: grid; place-items: center; font: 900 13px/1 var(--f-texte); letter-spacing: .08em; color: var(--terre); }
.document__texte { flex: 1; }
.document__texte strong { display: block; color: var(--foret); font-weight: 900; }
.document__texte span { font-size: 15px; }
.document .btn > .wp-block-button__link { min-height: 48px; padding: 0 22px; font-size: 13px; }

/* Liens retour / croisés */
.liens-croises { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 32px 0; border-top: 1px solid var(--filet); }
.liens-croises > div { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.lien-retour { display: inline-flex; align-items: center; gap: .5em; font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--foret); text-decoration: none; }
.lien-retour svg { width: 16px; height: 16px; transition: transform .2s; }
.lien-retour:hover svg { transform: translateX(-4px); }

/* Bandeau d'appel (pages intérieures) */
.bandeau { position: relative; background: var(--foret); color: var(--creme); border-radius: var(--rayon); padding: 56px 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; overflow: visible; isolation: isolate; }
.bandeau h2 { color: var(--creme); font-size: clamp(46px, 4.8vw, 66px); }
.bandeau p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 10px 0 0; max-width: 34em; }
.bandeau .surtitre { color: var(--jaune); }
.bandeau__herisson { position: absolute; right: 300px; bottom: -6px; width: 150px; pointer-events: none; }
.section-bandeau { padding: 40px 0 120px; }

/* Partenaires */
.partenaires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partenaire-carte { display: flex; flex-direction: column; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 28px; background: var(--blanc); }
.partenaire-carte__logo { height: 120px; border-radius: 8px; background: var(--creme); display: grid; place-items: center; margin-bottom: 22px; font-size: 14px; text-align: center; padding: 10px; }
.partenaire-carte h3 { font-size: 40px; margin-bottom: 10px; }
.partenaire-carte p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 16px; }
.partenaire-carte .lien-fleche { margin-top: auto; font-size: 13px; }

/* Calendrier des semis */
.legende { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 24px; font-size: 16px; }
.legende span { display: inline-flex; align-items: center; gap: 10px; }
.legende i, .cal-wrap table i { display: block; border-radius: 3px; }
.legende i { width: 26px; height: 16px; }
/* Couleurs du calendrier d'origine, en tons éclaircis */
.m-R { background: #7DAE5A; } .m-T { background: #B98A5E; } .m-L { background: #F8BF62; } .m-A { background: #F47C80; } .m-C { background: #96D6DC; }
.cal-wrap { overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.cal-wrap table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 920px; font-size: 16px; }
.cal-wrap table th, .cal-wrap table td { border-bottom: 1px solid var(--filet); }
.cal-wrap table thead th { position: sticky; top: 0; background: var(--foret); color: var(--creme); font: 900 12.5px/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; padding: 14px 4px; text-align: center; }
.cal-wrap table thead th:first-child { text-align: left; padding-left: 20px; }
.cal-wrap table tbody th { position: sticky; left: 0; z-index: 1; background: var(--blanc); text-align: left; font-weight: 400; padding: 8px 14px 8px 20px; white-space: nowrap; border-right: 1px solid var(--filet); }
.cal-wrap table tbody tr:nth-child(even) th { background: var(--creme); }
.cal-wrap table tbody tr:nth-child(even) td { background: rgba(250,244,240,.6); }
.cal-wrap table td { padding: 5px 3px; height: 44px; vertical-align: middle; }
.cal-wrap table td i { height: 13px; margin: 2px 0; }
.cal-wrap table td i + i { margin-top: 3px; }
.cal-wrap table .mois-courant { box-shadow: inset 2px 0 0 var(--terre), inset -2px 0 0 var(--terre); }
.cal-wrap table thead th.mois-courant { background: var(--terre); }
.cal-astuce { margin-top: 18px; font-size: 15px; }

/* Phases de la lune */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.phase { border-radius: var(--rayon); padding: 30px 26px; background: var(--blanc); border: 1px solid var(--filet); }
.phase__img { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin-bottom: 20px; background: #10140f; display: grid; place-items: center; }
.phase__img img { width: 100%; height: 100%; object-fit: cover; }
.phase__img svg { width: 54px; height: 54px; color: #3a4a3e; }
.phase h3 { font-size: 40px; margin-bottom: 4px; }
.phase .sous-titre { color: var(--terre); font-size: 12px; display: block; margin-bottom: 14px; }
.phase ul { margin: 0; padding-left: 1.1em; font-size: 16px; }
.phase li + li { margin-top: .5em; }
.phase li::marker { color: var(--terre); }

/* Listes de liens utiles */
.liens-utiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lien-utile { display: flex; gap: 22px; align-items: flex-start; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 28px; background: var(--blanc); }
.lien-utile img { width: 120px; border-radius: 8px; border: 1px solid var(--filet); flex: none; }
.lien-utile h3 { font-size: 36px; margin-bottom: 6px; }
.lien-utile p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 16px; margin: 0 0 .6em; }

/* Agenda */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda__item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--filet); }
.agenda__item:first-child { border-top: 1px solid var(--filet); }
.agenda__date { width: 120px; height: 120px; border-radius: var(--rayon); background: var(--terre); color: var(--blanc); display: grid; place-items: center; text-align: center; font: 700 30px/1 var(--f-titre); padding: 10px; }
.agenda h3 { font-size: 42px; }
.agenda p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 6px 0 0; }

/* Contact */
.coord { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--foret); color: var(--creme); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.coord > div { padding: 30px 28px; font-size: 17px; }
.coord > div + div { border-left: 1px solid rgba(250,244,240,.16); }
.coord .sous-titre { display: block; color: var(--jaune); font-size: 12.5px; margin-bottom: 10px; }
.coord p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { margin: 0; }
.coord a { color: var(--creme); text-underline-offset: 3px; text-decoration-color: rgba(250,244,240,.5); }
.coord .gros { font: 700 38px/1 var(--f-titre); display: block; margin-bottom: 6px; }
.coord .social { margin-top: 12px; }
.essentiel { background: var(--creme); border-radius: var(--rayon); padding: 34px 34px 30px; border-left: 6px solid var(--terre); }
.essentiel p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)) { font-size: 19px; }
.essentiel p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)):first-child { font-family: var(--f-titre); font-weight: 700; font-size: 44px; line-height: 1; color: var(--foret); }
.essentiel p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)):last-child { margin-bottom: 0; }
.itineraires { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }
.itineraires .btn > .wp-block-button__link { min-height: 52px; font-size: 13.5px; padding: 0 24px; }
.note-waze { font-size: 15px; margin: 6px 0 28px; }
.carte-osm { position: relative; height: 400px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--filet); background: #e8eadf; }
.carte-osm img { width: 100%; height: 100%; object-fit: cover; }
.carte-osm__info { position: absolute; left: 14px; bottom: 14px; background: var(--blanc); border-radius: 8px; padding: 8px 12px; font-size: 13px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.carte-osm__attrib { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); font-size: 11px; padding: 2px 6px; }
.pas-a-pas { border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.pas-a-pas summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 900; color: var(--foret); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pas-a-pas summary::-webkit-details-marker { display: none; }
.pas-a-pas summary::after { content: "+"; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--creme); color: var(--terre); display: grid; place-items: center; font-size: 24px; font-weight: 400; transition: transform .2s; }
.pas-a-pas[open] summary::after { transform: rotate(45deg); }
.pas-a-pas > div { padding: 0 24px 24px; font-size: 17px; }
.pas-a-pas .gps { font-size: 15px; background: var(--creme); border-radius: 8px; padding: 12px 16px; }
.photo-a-fournir { border: 2px dashed var(--sauge); border-radius: var(--rayon); padding: 22px; text-align: center; font-size: 15px; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formulaire label { display: block; font-weight: 900; font-size: 15px; color: var(--foret); margin-bottom: 8px; }
.formulaire .plein { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 1.5px solid rgba(9,61,27,.3); border-radius: 10px; font: 400 18px/1.4 var(--f-texte); color: var(--texte); background: var(--blanc); }
.formulaire textarea { min-height: 180px; resize: vertical; }
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { outline: 3px solid rgba(192,82,46,.35); border-color: var(--terre); }
.formulaire .mention { font-size: 14px; }
.obligatoire { color: var(--terre); }

/* Article (single) */
.article-corps { padding: 88px 0 40px; }
.article-grille { display: grid; grid-template-columns: minmax(0, 740px) 1fr; gap: 80px; }
.article-aside .encadre { padding: 40px 30px 30px; }
.article-aside .encadre h2 { font-size: 36px; }
.astuce { position: relative; background: var(--creme); border-radius: var(--rayon); padding: 34px 34px 30px; margin-top: 2em !important; }
.astuce__num { position: absolute; top: -18px; left: 30px; background: var(--terre); color: var(--blanc); border-radius: 999px; padding: 0 16px; min-height: 34px; display: inline-flex; align-items: center; font: 900 12.5px/1 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; }
.astuce h3 { margin-top: 6px !important; }
.astuce ul { margin-top: .6em; }
.photos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photos-2 figure { margin: 0 !important; }
.photos-2 img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Page 404 */
.erreur { text-align: center; padding: 96px 0 120px; }
.erreur img { width: 220px; margin: 0 auto 24px; }

@media (max-width: 1024px) {
.deux-col, .deux-col--egal { grid-template-columns: 1fr; gap: 48px; }
.collant { position: static; }
.grille-encadres { grid-template-columns: 1fr; gap: 44px; }
.organigramme__bas { grid-template-columns: 1fr; max-width: 420px; gap: 24px; padding-top: 0; }
.organigramme__bas::before, .organigramme__bas .membre::before { display: none; }
.organigramme__haut { padding-bottom: 24px; }
.organigramme__haut::after { display: none; }
.membre { min-width: 0; width: 100%; }
.galerie { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
.paiement { grid-template-columns: 1fr; }
.partenaires { grid-template-columns: 1fr 1fr; }
.phases { grid-template-columns: 1fr 1fr; }
.coord { grid-template-columns: 1fr 1fr; }
.coord > div:nth-child(3) { border-left: 0; }
.coord > div:nth-child(n+3) { border-top: 1px solid rgba(250,244,240,.16); }
.article-grille { grid-template-columns: 1fr; gap: 48px; }
.bandeau { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
.bandeau__herisson { display: none; }
}
@media (max-width: 720px) {
.page-tete { padding: 28px 0 64px; }
.fil { margin-bottom: 28px; font-size: 13px; }
.section { padding: 72px 0; }
.encadre { padding: 40px 24px 28px; }
.encadre__etiquette { left: 22px; }
.galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
.chiffres { grid-template-columns: 1fr 1fr; }
.dates-cles { grid-template-columns: 1fr; gap: 28px; }
.tableau-wrap table { font-size: 16px; }
.tableau-wrap table th, .tableau-wrap table td { padding: 14px 14px; }
.faq summary { font-size: 18px; padding: 20px 0; }
.faq details > *:not(summary) { margin-right: 0; }
.etape { grid-template-columns: 60px 1fr; gap: 16px; }
.etape::before { width: 60px; height: 60px; font-size: 40px; }
.etape:not(:last-child)::after { left: 29px; top: 60px; }
.etapes h3 { font-size: 34px; margin-top: 8px; }
.document { flex-wrap: wrap; }
.document .btn > .wp-block-button__link { width: 100%; }
.partenaires, .phases, .liens-utiles { grid-template-columns: 1fr; }
.lien-utile { flex-direction: column; }
.agenda__item { grid-template-columns: 84px 1fr; gap: 18px; }
.agenda__date { width: 84px; height: 84px; font-size: 24px; }
.agenda h3 { font-size: 34px; }
.coord { grid-template-columns: 1fr; }
.coord > div + div { border-left: 0; border-top: 1px solid rgba(250,244,240,.16); }
.carte-osm { height: 300px; }
.itineraires { flex-direction: column; }
.itineraires .btn > .wp-block-button__link { width: 100%; }
.formulaire { grid-template-columns: 1fr; }
.bandeau { padding: 40px 24px; }
.bandeau .btn > .wp-block-button__link { width: 100%; }
.section-bandeau { padding-bottom: 88px; }
.liens-croises { flex-direction: column; align-items: flex-start; }
.photos-2 { grid-template-columns: 1fr; }
}

/* Contact : ordre mobile = encadré, carte, boutons, accordéon */
.acces-grille { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "ess carte" "btn carte" "det carte"; gap: 0 56px; align-items: start; }
.acces-grille .essentiel { grid-area: ess; }
.acces-grille .carte-osm { grid-area: carte; height: 100%; min-height: 400px; }
.acces-grille .acces-boutons { grid-area: btn; }
.acces-grille .pas-a-pas { grid-area: det; }
.carte .titre-carte { font-size: 44px; margin-bottom: 10px; }
@media (max-width: 1024px) {
.acces-grille { grid-template-columns: 1fr; grid-template-areas: "ess" "carte" "btn" "det"; }
.acces-grille .carte-osm { margin-top: 24px; min-height: 0; height: 400px; }
}
@media (max-width: 720px) {
.acces-grille .carte-osm { height: 300px; }
}
.deux-col--tableau { grid-template-columns: .75fr 1.25fr; gap: 64px; }
@media (max-width: 1024px) { .deux-col--tableau { grid-template-columns: 1fr; gap: 36px; } }
/* Titre long : une étiquette par ligne, quelle que soit la coupure */
.etiquettes-flux { max-width: 15em; margin-left: auto; margin-right: auto; line-height: 1.22; }
.etiquettes-flux .etiquette { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: .03em .26em .08em; }
.deux-col > *, .acces-grille > * { min-width: 0; }
.rejoindre__grille--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) {
.rejoindre__grille--2 { grid-template-columns: 1fr; }
.essentiel { padding: 28px 22px 24px; }
.essentiel p:where(:not(.agenda__date, .astuce__num, .bulle, .carte-etape__num, .carte__pastille, .encadre__etiquette, .encadre__note, .gros, .infos__gros, .lien-discret, .lien-fleche, .lien-fleche--inactif, .lien-retour, .phase__img, .phase__img--nouvelle, .sous-titre, .surtitre)):first-child { font-size: 36px; }
}
.cal-wrap, .tableau-wrap { position: relative; }

/* ---------- Étiquettes en formats natifs (strong / em) — compatibles éditeur ---------- */
.etiquettes { display: block; text-align: center; line-height: 1.3; }
.etiquettes strong, .etiquettes em {
  display: inline; font-weight: inherit; font-style: normal;
  background: var(--creme); color: var(--foret);
  padding: .02em .28em .06em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  box-shadow: 0 8px 20px -12px rgba(9,61,27,.45);
}
.etiquettes em { color: var(--terre); }
.etiquettes--blanc strong, .etiquettes--blanc em { background: var(--blanc); }
.titre-article { font-size: clamp(50px, 6vw, 86px); max-width: 15em; margin-left: auto; margin-right: auto; }
.titre-page em { font-style: normal; color: var(--terre); }
code { font-family: var(--f-texte); background: var(--jaune); color: var(--texte); font-weight: 900; font-size: .8em; padding: 0 .35em; border-radius: 4px; letter-spacing: .03em; }

/* ---------- Modificateurs (remplacent les styles en ligne) ---------- */
.tete-section--colonne { margin: 0; }
.encadre--1000 { max-width: 1000px; margin: 0 auto; }
.encadre--980 { max-width: 980px; }
.encadre--foret { background: var(--foret); color: var(--creme); }
.encadre--foret .encadre__etiquette { background: var(--jaune); color: var(--texte); }
.encadre--foret h2, .encadre--foret h3 { color: var(--creme); }
.encadre--centre-v { display: flex; flex-direction: column; justify-content: center; }
.coord p.gros a { text-decoration: none; }
.bandeau--creme { background: var(--creme); color: var(--texte); }
.bandeau--creme h2 { color: var(--foret); }
.bandeau--creme .surtitre { color: var(--terre); }
.chiffres--2 { grid-template-columns: 1fr 1fr; }
.lien-utile .sous-titre { color: var(--terre); font-size: 12.5px; }
.lien-fleche--inactif { opacity: .55; }
.carte--actu .titre-carte { font-size: 40px; }
.prose > :first-child { margin-top: 0; }


/* ==========================================================================
   ADAPTATIONS AUX BLOCS NATIFS
   Tout ce qui précède est le CSS de la maquette, sélecteurs ajustés au DOM des
   blocs par le générateur. Ce qui suit traite ce qui ne se transpose pas
   mécaniquement : SVG devenus masques, couches décoratives en pseudo-éléments,
   boutons, navigation, tableaux, galerie, fichiers, formulaire.
   ========================================================================== */

/* ---------- Socle ---------- */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image, .wp-block-post-featured-image, .wp-block-table, .wp-block-gallery { margin: 0; }
.prose figure.wp-block-image { margin: 1.8em 0; }
.prose > figure.wp-block-image:first-child { margin-top: 0; }
.wp-block-image img { height: auto; }
.site-main { display: block; }
.zone-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.entete { position: static; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; border-radius: 6px; }

/* Icônes en masques CSS (les SVG de la maquette, fichiers du thème) */
.btn--fleche > .wp-block-button__link::after, .lien-fleche::after, .lien-retour::before,
.btn--externe > .wp-block-button__link::after, .btn--telecharger > .wp-block-button__link::after,
.document .wp-block-file__button::after {
  content: ""; flex: none; width: 16px; height: 16px; background-color: currentColor;
  -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat;
}
.btn--fleche, .lien-fleche { --icone: url(assets/img/icones/fleche.svg); }
.btn--externe, .lien-fleche:has(a[target="_blank"]) { --icone: url(assets/img/icones/externe.svg); }
.btn--telecharger, .document { --icone: url(assets/img/icones/telecharger.svg); }
.lien-retour { --icone: url(assets/img/icones/retour.svg); }
.ico--semis { --icone: url(assets/img/icones/semis.svg); }
.ico--lune { --icone: url(assets/img/icones/lune.svg); }
.ico--astuce { --icone: url(assets/img/icones/astuce.svg); }
.ico--agenda { --icone: url(assets/img/icones/agenda.svg); }

/* ---------- Boutons (core/button : la classe est sur le conteneur) ---------- */
.wp-block-button.btn { display: inline-flex; }
.wp-block-button.btn > .wp-block-button__link { line-height: inherit; }
.lien-fleche::after { transition: transform .2s; }
.lien-fleche:hover::after, .carte-lien:hover .lien-fleche::after { transform: translateX(4px); }
.lien-fleche--inactif::after { display: none; }
.lien-fleche a, .lien-retour a { color: inherit; text-decoration: none; }
.lien-retour::before { transition: transform .2s; }
.lien-retour:hover::before { transform: translateX(-4px); }

/* ---------- Cartes entièrement cliquables : lien étendu ---------- */
.carte-lien { position: relative; }
.carte-lien :is(.lien-fleche, h2, h3) > a { color: inherit; text-decoration: none; }
.carte-lien :is(.lien-fleche, h2, h3) > a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.carte-lien:focus-within { outline: 3px solid var(--terre); outline-offset: 3px; }
.carte-lien a:focus-visible { outline: none; }

/* Listes d'articles (core/query) dans la grille de cartes */
.wp-block-post-template.cartes-3 { list-style: none; margin: 0; padding: 0; max-width: none; }
.cartes-3 > li { display: flex; margin: 0; }
.cartes-3 > li > .carte { flex: 1; }
.carte .wp-block-post-excerpt { margin: 0; }
.carte .wp-block-post-excerpt__excerpt { margin: 0 0 1em; }
.carte .wp-block-post-featured-image { margin: 0; }
.liste-vide { font-size: 18px; }

/* ---------- Couches décoratives : illustrations du thème en pseudo-éléments ---------- */
.rejoindre::before {
  content: ""; position: absolute; top: -170px; right: -170px; width: 620px; aspect-ratio: 1; z-index: -1; opacity: .22; pointer-events: none;
  background: url(assets/img/illustrations/leaves.webp) center / contain no-repeat;
}
.rejoindre::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 400px; height: 284px; z-index: 1; pointer-events: none;
  background:
    url(assets/img/illustrations/carrot.webp) left 110px bottom 0 / 220px auto no-repeat,
    url(assets/img/illustrations/peppers.webp) right 0 bottom 44px / 220px auto no-repeat,
    url(assets/img/illustrations/lettuce.webp) left 0 bottom 14px / 250px auto no-repeat;
  filter: drop-shadow(0 14px 18px rgba(9,61,27,.22));
}
.rejoindre__mascotte::after {
  content: ""; display: block; width: 100%; max-width: 250px; aspect-ratio: 640 / 583;
  background: url(assets/img/illustrations/herisson-arrosoir.webp) center / contain no-repeat;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.3));
}
.appel__boite::after {
  content: ""; position: absolute; left: -78px; bottom: -90px; width: 300px; height: 236px; z-index: 2; pointer-events: none;
  background:
    url(assets/img/illustrations/strawberry.webp) left 128px bottom 0 / 104px auto no-repeat,
    url(assets/img/illustrations/apple.webp) left 0 bottom 12px / 160px auto no-repeat,
    url(assets/img/illustrations/lemon.webp) left 120px bottom 40px / 170px auto no-repeat;
  filter: drop-shadow(0 8px 10px rgba(9,61,27,.14));
}
.bandeau--herisson::after {
  content: ""; position: absolute; right: 300px; bottom: -6px; width: 150px; aspect-ratio: 640 / 583; pointer-events: none;
  background: url(assets/img/illustrations/herisson-arrosoir.webp) center / contain no-repeat;
}
.erreur .conteneur::before {
  content: ""; display: block; width: 220px; aspect-ratio: 640 / 583; margin: 0 auto 24px;
  background: url(assets/img/illustrations/herisson-arrosoir.webp) center / contain no-repeat;
}
.erreur .chapo { margin: 24px auto 32px; }

/* ---------- Accueil ---------- */
.hero__fond, .page-tete__fond { margin: 0; }
.infos__venir .lien-fleche { margin: 0; }
.infos__venir p { margin: 0; }
.carte-etape .lien-fleche { margin-top: auto; }

/* Accès rapide : li + a fusionnés en un groupe (règles de la maquette remappées) ; pictogramme en masque */
.acces__item::before { content: ""; flex: none; background-color: currentColor; -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }

/* ---------- Pages intérieures ---------- */
.fil strong, .fil .fil__courant { font: inherit; font-weight: 400; color: var(--texte); letter-spacing: inherit; margin: 0; }
.fil > p { display: contents; }
.meta-article .wp-block-post-date::before { content: "Publié le "; }
.surtitre a { color: inherit; text-decoration: none; }

.etapes { display: grid; }
.legende p { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.legende mark, .cal-wrap td mark { display: block; border-radius: 3px; font-size: 0; line-height: 0; color: transparent; }
.legende mark { width: 26px; height: 16px; }
.cal-wrap td mark { height: 13px; margin: 2px 0; }
.cal-wrap td mark + mark { margin-top: 3px; }
.cal-wrap figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* core/table : neutraliser les bordures par défaut */
.wp-block-table.cal-wrap, .wp-block-table.tableau-wrap { overflow-x: auto; }
.wp-block-table.cal-wrap :is(td, th), .wp-block-table.tableau-wrap :is(td, th) { border: 0; border-bottom: 1px solid var(--filet); }
.wp-block-table.cal-wrap thead, .wp-block-table.tableau-wrap thead { border-bottom: 0; }
.wp-block-table.cal-wrap table { border-collapse: separate; }
.wp-block-table.tableau-wrap table { border-collapse: collapse; }
.wp-block-table.tableau-wrap tbody tr:last-child :is(td, th) { border-bottom: 0; }

/* Chiffres et dates clés : le nombre est un <strong> dans un paragraphe */
.chiffres p { font-size: 17px; line-height: 29.7px; margin: 0; }
.dates-cles p:first-child { margin-top: 0; }
.document__texte span, .chiffres span { font-size: inherit; }

/* Galerie (core/gallery) : la grille de la maquette */
.wp-block-gallery.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.wp-block-gallery.galerie.has-nested-images figure.wp-block-image { width: auto !important; max-width: none; margin: 0 !important; border-radius: var(--rayon); overflow: hidden; }
.wp-block-gallery.galerie.has-nested-images figure.wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.wp-block-gallery.galerie.has-nested-images figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s; }
.wp-block-gallery.galerie figure.wp-block-image:hover img { transform: scale(1.04); }

/* Document à télécharger (core/file) */
.wp-block-file.document { display: flex; align-items: center; gap: 22px; padding: 22px 24px; font-size: inherit; }
.document::before { content: "PDF"; flex: none; width: 58px; height: 68px; border-radius: 8px; background: var(--creme); border: 2px solid var(--terre); display: grid; place-items: center; font: 900 13px/1 var(--f-texte); letter-spacing: .08em; color: var(--terre); }
.document > a:not(.wp-block-file__button) { flex: 1; font-size: 15px; line-height: 29.7px; color: var(--texte); text-decoration: none; }
.document > a strong + br { display: none; }
.document > a strong { display: block; color: var(--foret); font-weight: 900; font-size: 18px; }
.document .wp-block-file__button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; margin: 0; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--foret); background: rgba(255,255,255,.75); color: var(--foret);
  font: 900 13px/1.2 var(--f-texte); text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.document .wp-block-file__button:hover { transform: translateY(-2px); background: var(--blanc); opacity: 1; }

/* Phases : nouvelle lune dessinée en CSS */
.phase__img--nouvelle { font-size: 0; margin: 0 0 20px; }
.phase__img--nouvelle::before { content: ""; width: 40px; height: 40px; border: 3px solid #3a4a3e; border-radius: 50%; }
figure.phase__img { margin: 0 0 20px; }

/* Partenaires, membres, coordonnées */
.partenaire-carte__logo p { margin: 0; }
.coord .social { margin-top: 12px; }

/* Carte OpenStreetMap (bloc de l'extension) */
.carte-osm .wp-block-ootb-openstreetmap, .carte-osm .ootb-openstreetmap--map { height: 100% !important; min-height: inherit; margin: 0; }
.carte-osm .leaflet-container { font-family: var(--f-texte); }

/* Formulaire Contact Form 7 */
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .leger { font-weight: 400; }
.formulaire .wpcf7-submit {
  width: auto; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--terre); color: var(--blanc); box-shadow: 0 10px 22px -10px rgba(192, 82, 46, .8);
  font: 900 15px/1 var(--f-texte); text-transform: uppercase; letter-spacing: .1em; transition: transform .2s ease, background-color .2s ease;
}
.formulaire .wpcf7-submit:hover { transform: translateY(-2px); background: #a9461f; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 18px; border-radius: 10px; }
.wpcf7-not-valid-tip { font-size: 15px; color: var(--terre); margin-top: 6px; }

/* ---------- Bandeau d'information ---------- */
.annonce__coord a { color: var(--creme); }
.annonce__fermer { flex: none; }
.annonce__fermer .wp-block-button__link {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--creme); font-size: 0; cursor: pointer;
}
.annonce__fermer .wp-block-button__link::before { content: "×"; font: 400 22px/1 var(--f-texte); }
.annonce__fermer .wp-block-button__link:hover { background: rgba(255,255,255,.12); }

/* ---------- En-tête : logo, bouton mobile, navigation (core/navigation) ---------- */
.logo { flex: none; margin: 0; }
.logo a { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.logo img { width: 230px; height: auto; }
.wp-block-buttons.nav__cta-mobile { display: none; }

.wp-block-navigation.menu { margin-left: auto; font: 400 16px/1.2 var(--f-texte); letter-spacing: .02em; color: var(--texte); }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 4px; align-items: center; }
.wp-block-navigation.menu .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 8px; color: var(--texte); text-decoration: none; }
.wp-block-navigation.menu .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { background: var(--creme); }
.wp-block-navigation.menu .has-child > .wp-block-navigation-item__content { padding-right: 2px; }
.wp-block-navigation.menu .wp-block-navigation__submenu-icon { width: 14px; height: 14px; margin: 0 10px 0 0; padding: 0; }
.wp-block-navigation.menu .wp-block-navigation__submenu-icon svg { width: 14px; height: 14px; stroke-width: 2px; }
.wp-block-navigation.menu .wp-block-navigation__container > .est-actif > .wp-block-navigation-item__content,
.wp-block-navigation.menu .wp-block-navigation__container > .est-courant > .wp-block-navigation-item__content,
.wp-block-navigation.menu .wp-block-navigation__container > .est-actif > .wp-block-navigation__submenu-icon { color: var(--terre); font-weight: 900; }

.wp-block-navigation.menu .has-child > .wp-block-navigation__submenu-container {
  top: calc(100% + 8px); left: 0; padding: 10px; min-width: 250px;
  background: var(--blanc); color: var(--texte); border: 1px solid var(--filet); border-radius: var(--rayon); box-shadow: var(--ombre);
}
.wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; padding: 10px 14px; border-radius: 8px; font-size: 16px; }
.wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--creme); color: var(--foret); }
.wp-block-navigation.menu .wp-block-navigation__submenu-container .est-courant > .wp-block-navigation-item__content { background: var(--creme); color: var(--terre); font-weight: 900; }

/* « Nous rejoindre » : entrée en bouton pastille */
.wp-block-navigation.menu .nav__cta { margin-left: 10px; }
.wp-block-navigation.menu .nav__cta > .wp-block-navigation-item__content {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--terre); color: var(--blanc); font: 900 14px/1 var(--f-texte); letter-spacing: .1em; text-transform: uppercase;
}
.wp-block-navigation.menu .nav__cta > .wp-block-navigation-item__content:hover { background: #a9461f; }
.wp-block-navigation.menu .nav__cta > .wp-block-navigation__submenu-icon { display: none; }
.wp-block-navigation.menu .nav__cta > .wp-block-navigation__submenu-container { left: auto; right: 0; }

/* Bouton d'ouverture (burger) et panneau mobile */
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open {
  align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--creme); color: var(--foret);
}
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open svg { display: none; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open::before {
  content: ""; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: url(assets/img/icones/burger.svg) center / contain no-repeat; mask: url(assets/img/icones/burger.svg) center / contain no-repeat;
}
.wp-block-buttons.nav__cta-mobile { padding: 0; min-height: 0; }

@media (max-width: 1180px) {
  .wp-block-navigation.menu .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 10px 8px; font-size: 15px; }
  .wp-block-navigation.menu .has-child > .wp-block-navigation-item__content { padding-right: 2px; }
  .wp-block-navigation.menu .wp-block-navigation__submenu-icon { margin-right: 6px; }
  .wp-block-navigation.menu .nav__cta > .wp-block-navigation-item__content { padding: 0 24px; font-size: 14px; }
  .logo img { width: 190px; }
}
/* Le CSS du bloc est imprimé après le thème : qualifier et forcer (seul !important justifié). */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--texte) !important; padding: 20px var(--gouttiere) 40px;
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; align-items: stretch; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { border-bottom: 1px solid var(--filet); flex-direction: column; align-items: stretch; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 18px 4px; font-size: 19px; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container { position: static; min-width: 0; padding: 0 0 12px 12px !important; border: 0; box-shadow: none; background: none; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 18px; padding: 10px 10px; }
.wp-block-navigation.menu .is-menu-open .nav__cta { margin: 20px 0 0; border: 0 !important; }
.wp-block-navigation.menu .is-menu-open .nav__cta > .wp-block-navigation-item__content { justify-content: center; min-height: 58px; font-size: 14px; padding: 0 24px; }
.wp-block-navigation.menu .is-menu-open .nav__cta > .wp-block-navigation__submenu-container { padding-left: 0 !important; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close { top: 22px; right: var(--gouttiere); width: 46px; height: 46px; border-radius: 50%; background: var(--creme); color: var(--foret); display: grid; place-items: center; }

/* Le bloc bascule à 600 px ; la maquette à 1024 px. */
@media (min-width: 600px) and (max-width: 1024px) {
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open { display: flex; position: fixed; inset: 0; z-index: 100000; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: grid; }
  .wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
}

@media (max-width: 1024px) {
  .logo img { display: none; }
  .logo a::before { content: ""; width: 44px; aspect-ratio: 500 / 562; background: url(assets/img/herisson.webp) center / contain no-repeat; }
  .logo a::after { content: "Jardinot"; font-family: var(--f-main); color: var(--terre); font-size: 34px; line-height: 1; }
  .wp-block-buttons.nav__cta-mobile { display: flex; margin-left: auto; }
  .nav__cta-mobile .btn > .wp-block-button__link { min-height: 44px; padding: 0 16px; font-size: 12px; white-space: nowrap; letter-spacing: .08em; }
  .wp-block-navigation.menu { margin-left: 4px; order: 3; }
  .rejoindre::after { transform: scale(.75); transform-origin: right bottom; }
  .appel__boite::after { transform: scale(.8); transform-origin: left bottom; }
  .rejoindre__mascotte::after { max-width: 210px; }
  .bandeau--herisson::after { display: none; }
  .wp-block-gallery.galerie { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 720px) {
  .logo a::before { width: 38px; }
  .logo a::after { font-size: 28px; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open { width: 46px; height: 46px; }
  .rejoindre::before { width: 380px; right: -150px; top: -90px; }
  .rejoindre::after { transform: scale(.5); right: -50px; bottom: -54px; }
  .appel__boite::after { transform: scale(.6); left: -16px; bottom: -66px; }
  .rejoindre__mascotte::after { max-width: 160px; }
  .wp-block-gallery.galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .document .wp-block-file__button { width: 100%; }
  .bandeau > .wp-block-buttons, .itineraires > .wp-block-buttons { width: 100%; }
  .itineraires .wp-block-button, .bandeau .wp-block-button, .hero__actions .wp-block-button, .appel__actions .wp-block-button { width: 100%; }
  .itineraires .wp-block-button > .wp-block-button__link, .bandeau .wp-block-button > .wp-block-button__link,
  .hero__actions .wp-block-button > .wp-block-button__link, .appel__actions .wp-block-button > .wp-block-button__link { width: 100%; }
  .carte-osm .wp-block-ootb-openstreetmap, .carte-osm .ootb-openstreetmap--map { min-height: 300px; }
}

/* Légendes core : neutraliser la marge basse du block-library */
.prose .wp-element-caption { margin-bottom: 0; }
/* Ancien span en ligne dans un div : hauteur de ligne du parent (strut) */
.lien-utile .sous-titre { line-height: 29.7px; }

/* Réseaux sociaux (core/social-links) : la pastille passe de l'ul au lien */
.wp-block-social-links.social { display: flex; width: auto; height: auto; padding: 0; background: none; border-radius: 0; gap: 10px; font-size: inherit; }
.wp-block-social-links.social:hover { background: none; }
.wp-block-social-links.social .wp-social-link { width: 46px; height: 46px; margin: 0; border-radius: 50%; background: rgba(250,244,240,.12) !important; color: var(--creme) !important; transition: background-color .2s; }
.wp-block-social-links.social .wp-social-link:hover { background: rgba(250,244,240,.22) !important; transform: none; }
.wp-block-social-links.social .wp-block-social-link-anchor { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; }
.wp-block-social-links.social .wp-block-social-link-anchor svg { width: 22px; height: 22px; fill: var(--creme); }
/* <p><a class="lien-fleche"> fusionnés : le paragraphe reste un bloc (marges qui fusionnent, ligne de 29,7 px) */
p.en-bloc { display: flex; width: fit-content; min-height: 29.7px; }
.photo-a-fournir > p { margin: 0; }
.infos__venir > p:first-child { font-size: 0; line-height: 0; }

/* Navigation : largeur des sous-menus (la règle :hover du bloc est plus spécifique) et alignement du panneau mobile */
.wp-block-navigation.menu .has-child .wp-block-navigation__submenu-container { min-width: 250px !important; }
.wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: nowrap; }
.wp-block-navigation.menu .is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item,
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container { align-items: stretch !important; text-align: left; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: normal; width: 100%; }
