/* ============================================================
   MINIPELLE — minipelle.css (composants)
   Habille les sorties RÉELLES des mu-plugins minipelle-gabarits.php
   (.mp-loueurs, .mp-prix, .mp-fourchette, .mp-faq…) et
   minipelle-devis.php (.mp-devis-*), + le chrome du site
   (header/nav CSS pur, badges, CTA, footer).
   Dépend de tokens.css. Zéro JS, zéro image, zéro requête ajoutée.
   Prévu pour être inliné en critical CSS avec tokens.css.
   ============================================================ */

/* ------------------------------------------------------------
   1. BASE — fond, sélection, focus clavier, mouvement réduit
   ------------------------------------------------------------ */
body {
  background: var(--mp-paper);
  color: var(--mp-ink);
  font-family: var(--mp-font-texte);
  font-size: var(--mp-t-corps);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mp-accent-pale); color: var(--mp-ink); }
:focus-visible { outline: none; box-shadow: var(--mp-focus); border-radius: 3px; }
/* Aucune animation au chargement nulle part ; les seules transitions sont
   des survols. On les coupe totalement si l'utilisateur le demande. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Conteneurs : le site (1140px) et la colonne de lecture (760px). */
.mp-conteneur { max-width: var(--mp-conteneur); margin: 0 auto; padding: 0 var(--mp-esp-2); }
.mp-colonne { max-width: var(--mp-colonne); }

/* ------------------------------------------------------------
   2. TYPOGRAPHIE — titres Bricolage Grotesk, texte Inter
   ------------------------------------------------------------ */
h1, h2, h3, h4, .entry-title, .site-title {
  font-family: var(--mp-font-titres);
  color: var(--mp-ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1, .entry-title { font-size: var(--mp-t-h1); font-weight: var(--mp-g-titre); }
h2 { font-size: var(--mp-t-h2); font-weight: var(--mp-g-soustitre); margin-top: 1.8em; }
h3 { font-size: var(--mp-t-h3); font-weight: var(--mp-g-soustitre); margin-top: 1.4em; }
p { margin: 0 0 1.1em; }
strong { font-weight: var(--mp-g-fort); }
/* Chapeau sous le H1 (résumé chiffré des gabarits §2.1/2.2) */
.mp-chapo { font-size: 1.15rem; color: var(--mp-ink-2); line-height: 1.55; }
/* Liens du contenu : encre + soulignement ocre épais — la couleur
   d'accent ne sert JAMAIS de couleur de texte (contraste). */
.entry-content a:not(.mp-devis-bouton):not(.mp-bouton),
.mp-lien {
  color: var(--mp-ink);
  text-decoration: underline;
  text-decoration-color: var(--mp-ocre);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.entry-content a:not(.mp-devis-bouton):not(.mp-bouton):hover,
.mp-lien:hover { background: var(--mp-accent-pale); }
/* Tous les nombres du site en chiffres tabulaires : les prix s'alignent. */
body { font-variant-numeric: lining-nums; }
table, .mp-reponse, .mp-fourchette { font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------
   3. SIGNATURE — la « règle graduée » (séparateur maison)
   Ticks anthracite + base jaune sécurité : évoque le mètre de
   chantier et le relevé. Sous le header + entre grandes sections.
   ------------------------------------------------------------ */
.mp-regle {
  height: 8px;
  border: 0;
  margin: 0;
  border-bottom: 3px solid var(--mp-accent);
  background: var(--mp-regle-ticks);
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: bottom 3px left 0;
}
.mp-regle--section { margin: var(--mp-esp-4) 0; opacity: 0.85; width: 120px; }

/* ------------------------------------------------------------
   4. HEADER + NAV — mobile 100 % CSS (case à cocher masquée),
   pas un octet de JS. Au clavier, :focus-within déplie le menu.
   ------------------------------------------------------------ */
.mp-header { background: var(--mp-card); }
.mp-header-in {
  max-width: var(--mp-conteneur); margin: 0 auto; padding: 0.7rem var(--mp-esp-2);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--mp-esp-2);
  min-height: 60px; /* hauteur réservée : zéro CLS */
}
.mp-marque {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mp-font-titres); font-weight: var(--mp-g-titre);
  font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--mp-ink); text-decoration: none;
}
.mp-marque-picto { flex: none; }               /* SVG inline du godet, 28px */
.mp-marque-basline { display: block; font-family: var(--mp-font-texte);
  font-weight: var(--mp-g-normal); font-size: var(--mp-t-badge);
  color: var(--mp-meta); letter-spacing: 0; }
/* État du menu : case visuellement masquée mais VOLONTAIREMENT gardée dans
   l'arbre d'accessibilité (opacity:0 ne l'en retire pas) : en mobile, elle
   reste actionnable au clavier/lecteur d'écran pour déplier le menu. */
.mp-nav-etat { position: absolute; opacity: 0; pointer-events: none; }
.mp-nav-bouton { display: none; }
/* En desktop le bouton n'existe pas (display:none) : la case est retirée du
   flux ET du focus (sinon : stop de tabulation invisible, a11y KO). */
@media (min-width: 861px) {
  .mp-nav-etat { display: none; }
}
.mp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.mp-nav a {
  display: block; padding: 0.5rem 0.75rem;
  font-weight: var(--mp-g-fort); font-size: 0.95rem;
  color: var(--mp-ink); text-decoration: none; border-radius: var(--mp-rayon);
}
.mp-nav a:hover { background: var(--mp-accent-pale); }
.mp-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--mp-accent); border-radius: var(--mp-rayon) var(--mp-rayon) 0 0; }
/* Le lien-CTA du menu : plein jaune, texte encre (7.97:1). */
.mp-nav .mp-nav-cta a { background: var(--mp-accent); }
.mp-nav .mp-nav-cta a:hover { background: var(--mp-accent-strong); }
@media (max-width: 860px) {
  .mp-nav-bouton {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.55rem 0.9rem; cursor: pointer;
    font-weight: var(--mp-g-fort); font-size: 0.95rem;
    border: 1.5px solid var(--mp-hairline-forte); border-radius: var(--mp-rayon);
    user-select: none;
  }
  /* Burger en pur CSS (3 barres dessinées au dégradé, aucune image). */
  .mp-nav-bouton::before {
    content: ""; width: 18px; height: 14px;
    background: linear-gradient(var(--mp-ink) 0 2px, transparent 2px 6px,
      var(--mp-ink) 6px 8px, transparent 8px 12px, var(--mp-ink) 12px 14px);
  }
  .mp-nav { flex-basis: 100%; overflow: hidden; max-height: 0; }
  .mp-nav ul { flex-direction: column; padding-bottom: 0.5rem; }
  .mp-nav-etat:checked ~ .mp-nav,
  .mp-nav:focus-within { max-height: 30rem; }
  .mp-nav-etat:checked ~ .mp-nav-bouton,
  .mp-nav-etat:focus-visible ~ .mp-nav-bouton { background: var(--mp-accent-pale); }
}

/* ------------------------------------------------------------
   5. FIL D'ARIANE — sobre, au-dessus du H1
   ------------------------------------------------------------ */
.mp-ariane {
  font-size: var(--mp-t-badge); color: var(--mp-meta);
  margin: var(--mp-esp-3) 0 var(--mp-esp-2);
}
.mp-ariane a { color: var(--mp-meta); text-decoration: underline;
  text-decoration-color: var(--mp-hairline-forte); text-underline-offset: 2px; }
.mp-ariane a:hover { color: var(--mp-ink); }
.mp-ariane .sep { margin: 0 0.4em; color: var(--mp-hairline-forte); }

/* ------------------------------------------------------------
   6. BADGES DE CONFIANCE — la signature éditoriale du site
   (vérifié / daté / indépendant). Pictos = SVG inline dans le HTML,
   trait currentColor. Hauteur fixe : zéro CLS.
   ------------------------------------------------------------ */
.mp-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 var(--mp-esp-2); }
.mp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px;
  background: var(--mp-card);
  border: 1px solid var(--mp-hairline-forte); border-radius: 999px;
  font-size: var(--mp-t-badge); font-weight: var(--mp-g-fort);
  color: var(--mp-ink); white-space: nowrap;
}
.mp-badge svg { width: 13px; height: 13px; flex: none; color: var(--mp-accent-text); }
/* Variante posée sur fond sombre (bloc CTA) */
.mp-badge--sombre { background: transparent; border-color: var(--mp-clair-meta); color: var(--mp-clair); }
.mp-badge--sombre svg { color: var(--mp-accent); }

/* ------------------------------------------------------------
   7. HÉROS DES PAGES PRIX — la réponse immédiate (parade AI
   Overviews) : la fourchette EN TEXTE est l'élément LCP.
   ------------------------------------------------------------ */
.mp-reponse { font-size: 1.2rem; line-height: 1.5; max-width: var(--mp-colonne); }
.mp-reponse-prix {
  font-weight: var(--mp-g-fort);
  background: var(--mp-accent-pale);
  padding: 0.05em 0.25em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.mp-reponse-source { display: block; margin-top: 0.35em;
  font-size: var(--mp-t-petit); color: var(--mp-meta); }

/* ------------------------------------------------------------
   8. TABLEAUX DE PRIX ET DE LOUEURS — le héros visuel du site.
   Classes RÉELLES de minipelle-gabarits.php :
   .mp-tableau-scroll > table.mp-prix (avec <caption>) et
   .mp-tableau-scroll > table.mp-loueurs.
   Mobile : défilement horizontal contenu (aucun JS, aucun débord
   de page) ; ombres latérales en CSS pour signaler le scroll.
   ------------------------------------------------------------ */
.mp-tableau-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--mp-esp-3) 0 var(--mp-esp-1);
  border-radius: var(--mp-rayon-carte);
  border: 1px solid var(--mp-hairline);
  /* Indicateur de défilement : ombres qui n'apparaissent que
     s'il reste du contenu hors champ (background-attachment local). */
  background:
    linear-gradient(90deg, var(--mp-card) 30%, rgba(255,255,255,0)) left / 36px 100%,
    linear-gradient(270deg, var(--mp-card) 30%, rgba(255,255,255,0)) right / 36px 100%,
    radial-gradient(farthest-side at 0 50%, rgba(34,40,46,0.18), transparent) left / 14px 100%,
    radial-gradient(farthest-side at 100% 50%, rgba(34,40,46,0.18), transparent) right / 14px 100%,
    var(--mp-card);
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll, scroll;
}
table.mp-prix, table.mp-loueurs {
  width: 100%; border-collapse: collapse;
  font-size: var(--mp-t-tableau); line-height: 1.45;
  background: transparent; /* laisse voir les ombres de scroll */
}
table.mp-prix { min-width: 560px; }
table.mp-loueurs { min-width: 780px; }
/* Le badge « relevé le {date} » : c'est le <caption> généré par le
   mu-plugin (« Prix constatés au 1 août 2026 ») — traité en bandeau
   de tête, crédibilité avant les chiffres. */
table.mp-prix caption, table.mp-loueurs caption {
  caption-side: top; text-align: left;
  padding: 10px 14px;
  font-size: var(--mp-t-badge); font-weight: var(--mp-g-fort);
  color: var(--mp-accent-text);
  border-bottom: 1px solid var(--mp-hairline);
}
/* En-tête : panneau anthracite + filet jaune — la signalétique. */
table.mp-prix thead th, table.mp-loueurs thead th {
  background: var(--mp-sombre); color: var(--mp-card);
  font-weight: var(--mp-g-fort); font-size: var(--mp-t-badge);
  letter-spacing: 0.02em; text-align: left;
  padding: 9px 14px; border-bottom: 3px solid var(--mp-accent);
  white-space: nowrap;
}
table.mp-prix tbody td, table.mp-loueurs tbody td {
  padding: 10px 14px; border-bottom: 1px solid var(--mp-hairline);
  vertical-align: top;
}
table.mp-prix tbody tr:last-child td,
table.mp-loueurs tbody tr:last-child td { border-bottom: 0; }
/* Zébrage subtil (chaud, pas gris administratif). */
table.mp-prix tbody tr:nth-child(even) td,
table.mp-loueurs tbody tr:nth-child(even) td { background: var(--mp-zebra); }
/* Tableau de prix : 1re colonne = libellé en gras, colonnes de
   montants alignées À DROITE en chiffres tabulaires (lecture comptable). */
table.mp-prix tbody td:first-child { font-weight: var(--mp-g-fort); }
table.mp-prix th:not(:first-child), table.mp-prix td:not(:first-child) {
  text-align: right;
}
/* Tableau des loueurs : nom en gras, cellules texte à gauche. */
table.mp-loueurs tbody td:first-child { font-weight: var(--mp-g-fort); white-space: nowrap; }
/* Ligne de source sous le tableau (sortie du mu-plugin). */
.mp-prix-source {
  font-size: var(--mp-t-petit); color: var(--mp-meta);
  margin: 0.4rem 0 var(--mp-esp-3);
}
/* Filet de sécurité (ceinture-bretelles P1) : un tableau importé NU, sans
   l'enveloppe .mp-tableau-scroll, ne doit JAMAIS faire déborder la page en
   mobile — il défile dans son propre cadre. */
.entry-content > table { display: block; overflow-x: auto; max-width: 100%; }

/* ------------------------------------------------------------
   9. FOURCHETTES LOCALES — encart .mp-fourchette du mu-plugin
   (titre + <ul> de gammes). Carte à liseré jaune.
   ------------------------------------------------------------ */
.mp-fourchette {
  background: var(--mp-card);
  border: 1px solid var(--mp-hairline);
  border-left: 4px solid var(--mp-accent);
  border-radius: var(--mp-rayon-carte);
  padding: var(--mp-esp-2) var(--mp-esp-3);
  margin: var(--mp-esp-3) 0;
  max-width: var(--mp-colonne);
}
.mp-fourchette-titre { margin: 0 0 0.6rem; font-size: 1rem; }
.mp-fourchette ul { list-style: none; margin: 0; padding: 0; }
.mp-fourchette li {
  padding: 0.5rem 0; border-top: 1px solid var(--mp-hairline);
  font-size: var(--mp-t-corps);
}
.mp-fourchette li:first-child { border-top: 0; }
.mp-fourchette-source { color: var(--mp-meta); font-size: var(--mp-t-petit); }

/* ------------------------------------------------------------
   10. FAQ — deux formes, zéro JS :
   (a) sortie réelle du shortcode [minipelle_faq] : .mp-faq avec
       h3.mp-faq-q + p.mp-faq-r → Q/R OUVERTES (bon pour le SEO),
       filets entre les questions ;
   (b) accordéons natifs <details class="mp-accordeon"> pour les
       piliers rédigés à la main.
   ------------------------------------------------------------ */
.mp-faq { max-width: var(--mp-colonne); margin: var(--mp-esp-3) 0; }
.mp-faq .mp-faq-q {
  margin: 0; padding: 0.9rem 0 0.25rem;
  border-top: 1px solid var(--mp-hairline);
  font-size: var(--mp-t-h3);
}
.mp-faq .mp-faq-q:first-child { border-top: 0; padding-top: 0; }
.mp-faq .mp-faq-r { color: var(--mp-ink-2); margin: 0 0 0.9rem; }
/* Accordéon natif — marqueur +/− dessiné en CSS, aucun script. */
details.mp-accordeon {
  border: 1px solid var(--mp-hairline); border-radius: var(--mp-rayon);
  background: var(--mp-card); margin: 0 0 0.5rem;
  max-width: var(--mp-colonne);
}
details.mp-accordeon summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1rem;
  font-weight: var(--mp-g-fort); font-size: 1rem;
}
details.mp-accordeon summary::-webkit-details-marker { display: none; }
details.mp-accordeon summary::after {
  content: "+"; flex: none;
  font-family: var(--mp-font-titres); font-weight: var(--mp-g-soustitre);
  font-size: 1.25rem; line-height: 1; color: var(--mp-accent-text);
}
details.mp-accordeon[open] summary::after { content: "−"; }
details.mp-accordeon > :not(summary) { padding: 0 1rem; color: var(--mp-ink-2); }
details.mp-accordeon > p:last-child { padding-bottom: 0.9rem; }

/* ------------------------------------------------------------
   11. FORMULAIRE DEVIS — classes RÉELLES de minipelle-devis.php.
   Carte blanche, champs à hauteur FIXE (zéro CLS), focus jaune.
   ------------------------------------------------------------ */
.mp-devis {
  background: var(--mp-card);
  border: 1px solid var(--mp-hairline);
  border-top: 4px solid var(--mp-accent);
  border-radius: var(--mp-rayon-carte);
  padding: var(--mp-esp-3);
  margin: var(--mp-esp-3) 0;
  max-width: var(--mp-colonne);
}
.mp-devis-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.25rem; }
.mp-devis-champ { margin: 0; }
.mp-devis-champ label { display: block; font-weight: var(--mp-g-fort);
  font-size: var(--mp-t-petit); margin-bottom: 0.3rem; }
.mp-devis-champ input[type="text"],
.mp-devis-champ input[type="tel"],
.mp-devis-champ input[type="date"],
.mp-devis-champ select {
  width: 100%; height: 46px; /* hauteur fixe = zéro CLS, cible tactile ok */
  padding: 0 12px; font: inherit; color: var(--mp-ink);
  background: var(--mp-card);
  border: 1.5px solid var(--mp-hairline-forte); border-radius: var(--mp-rayon);
}
.mp-devis-champ input:focus-visible, .mp-devis-champ select:focus-visible {
  box-shadow: var(--mp-focus); border-color: var(--mp-accent-text);
}
.mp-devis-req { color: var(--mp-accent-text); }
.mp-devis-aide { display: inline-block; margin-top: 0.35rem;
  font-size: var(--mp-t-petit); color: var(--mp-meta);
  text-decoration: underline; text-decoration-color: var(--mp-hairline-forte);
  text-underline-offset: 3px; }
.mp-devis-aide:hover { color: var(--mp-ink); }
/* Champ combiné date + durée : le markup réel du plugin les met dans
   un seul <p> — le 2e label prend juste un peu d'air. */
.mp-devis-duree-label { margin-top: 0.6rem; }
/* Case « avec chauffeur » : label flex simple (input + un seul texte). */
.mp-devis-chauffeur label {
  display: flex; gap: 0.6rem; align-items: center;
  font-weight: var(--mp-g-fort); font-size: var(--mp-t-corps);
}
.mp-devis input[type="checkbox"] {
  width: 20px; height: 20px; flex: none; margin: 0;
  accent-color: var(--mp-accent-text);
}
/* Consentement RGPD : le label du plugin contient du TEXTE BRUT + un
   lien → pas de flex (il éclaterait les nœuds texte) : case en absolu. */
.mp-devis-rgpd { grid-column: 1 / -1; font-size: var(--mp-t-petit);
  color: var(--mp-ink-2); border-top: 1px solid var(--mp-hairline); padding-top: 0.9rem; }
.mp-devis-rgpd label { display: block; position: relative; padding-left: 32px;
  font-weight: var(--mp-g-normal); font-size: var(--mp-t-petit); line-height: 1.55; }
.mp-devis-rgpd input[type="checkbox"] { position: absolute; left: 0; top: 0.1em; }
.mp-devis-envoi { grid-column: 1 / -1; margin: 0; }
/* LE bouton : panneau jaune sécurité, texte encre (7.97:1). */
.mp-devis-bouton, .mp-bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6rem;
  background: var(--mp-accent); color: var(--mp-ink);
  font: var(--mp-g-fort) 1.05rem/1.2 var(--mp-font-texte);
  border: 0; border-radius: var(--mp-rayon); cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.mp-devis-bouton:hover, .mp-bouton:hover { background: var(--mp-accent-strong); }
.mp-devis-bouton:focus-visible, .mp-bouton:focus-visible { box-shadow: var(--mp-focus); }
/* Messages de confirmation / d'erreur (redirection admin-post). */
.mp-devis-msg { padding: 0.8rem 1rem; border-radius: var(--mp-rayon);
  font-weight: var(--mp-g-fort); font-size: var(--mp-t-corps); margin: 0 0 1rem; }
.mp-devis-msg-ok { background: var(--mp-accent-pale); color: var(--mp-ink);
  border: 1px solid var(--mp-accent-strong); }
.mp-devis-msg-err { background: #FBEAE8; color: #8C2318; border: 1px solid #D8998F; }
/* Réassurances sous le bouton (page /devis/) */
.mp-devis-reassurance { grid-column: 1 / -1; display: flex; flex-wrap: wrap;
  gap: 0.4rem 1.25rem; margin: 0; padding: 0; list-style: none;
  font-size: var(--mp-t-petit); color: var(--mp-meta); }
.mp-devis-reassurance li { display: flex; align-items: center; gap: 6px; }
.mp-devis-reassurance svg { width: 13px; height: 13px; color: var(--mp-accent-text); }
@media (max-width: 640px) {
  .mp-devis { padding: var(--mp-esp-2); }
  .mp-devis-form { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   12. BLOC CTA « panneau de chantier » — anthracite + bouton jaune.
   Encadre le formulaire ou un simple lien vers /devis/.
   ------------------------------------------------------------ */
.mp-cta {
  background: var(--mp-sombre); color: var(--mp-clair);
  border-radius: var(--mp-rayon-carte);
  padding: var(--mp-esp-3);
  margin: var(--mp-esp-4) 0;
  max-width: var(--mp-colonne);
  border-bottom: 4px solid var(--mp-accent);
}
.mp-cta-titre { color: var(--mp-card); font-size: var(--mp-t-h3);
  font-family: var(--mp-font-titres); font-weight: var(--mp-g-soustitre);
  margin: 0 0 0.4rem; }
.mp-cta p { margin: 0 0 1rem; }
.mp-cta .mp-badges { margin-top: var(--mp-esp-2); margin-bottom: 0; }

/* ------------------------------------------------------------
   13. ENCADRÉ « bon à savoir » + note éditeur des mu-plugins
   ------------------------------------------------------------ */
.mp-encadre {
  background: var(--mp-accent-pale);
  border-radius: var(--mp-rayon);
  padding: var(--mp-esp-2) var(--mp-esp-3);
  margin: var(--mp-esp-3) 0;
  max-width: var(--mp-colonne);
  font-size: var(--mp-t-corps);
}
.mp-encadre-titre { display: block; font-weight: var(--mp-g-fort);
  font-size: var(--mp-t-badge); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mp-accent-text); margin-bottom: 0.3rem; }
/* .mp-note-editeur : style inline côté PHP (pointillés rouges),
   on borne juste sa largeur pour qu'elle reste discrète. */
.mp-note-editeur { max-width: var(--mp-colonne); }

/* ------------------------------------------------------------
   14. MAILLAGE BAS DE PAGE — liens sœurs/parents des gabarits
   ------------------------------------------------------------ */
.mp-maillage {
  border-top: 1px solid var(--mp-hairline);
  margin-top: var(--mp-esp-4); padding-top: var(--mp-esp-2);
  font-size: var(--mp-t-petit); color: var(--mp-meta);
  max-width: var(--mp-colonne);
}
.mp-maillage-titre { font-weight: var(--mp-g-fort); color: var(--mp-ink);
  font-size: var(--mp-t-petit); margin: 0 0 0.4rem; }
.mp-maillage ul { list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.mp-maillage li:not(:last-child)::after { content: "·"; margin: 0 0.55em;
  color: var(--mp-hairline-forte); }

/* ------------------------------------------------------------
   15. FOOTER — anthracite, 3 colonnes, règle graduée inversée
   ------------------------------------------------------------ */
.mp-footer { background: var(--mp-sombre); color: var(--mp-clair);
  margin-top: var(--mp-esp-5); border-top: 3px solid var(--mp-accent); }
.mp-footer-in { max-width: var(--mp-conteneur); margin: 0 auto;
  padding: var(--mp-esp-4) var(--mp-esp-2);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--mp-esp-3); }
.mp-footer h2, .mp-footer .mp-footer-titre {
  color: var(--mp-card); font-family: var(--mp-font-texte);
  font-size: var(--mp-t-petit); font-weight: var(--mp-g-fort);
  letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 0.7rem; }
.mp-footer p { font-size: var(--mp-t-petit); color: var(--mp-clair); }
.mp-footer ul { list-style: none; margin: 0; padding: 0; }
.mp-footer li { margin-bottom: 0.35rem; }
.mp-footer a { color: var(--mp-clair); text-decoration: underline;
  text-decoration-color: var(--mp-clair-meta); text-underline-offset: 3px;
  font-size: var(--mp-t-petit); }
.mp-footer a:hover { color: var(--mp-card); text-decoration-color: var(--mp-accent); }
.mp-footer-bas { border-top: 1px solid var(--mp-sombre-2); }
.mp-footer-bas-in { max-width: var(--mp-conteneur); margin: 0 auto;
  padding: var(--mp-esp-2); font-size: var(--mp-t-badge); color: var(--mp-clair-meta); }
@media (max-width: 720px) {
  .mp-footer-in { grid-template-columns: 1fr; gap: var(--mp-esp-3); }
}

/* ------------------------------------------------------------
   16. GABARIT GÉNÉRAL DES PAGES — espacement des sections,
   colonne de lecture pour le texte, pleine largeur pour tableaux
   ------------------------------------------------------------ */
.entry-content > p, .entry-content > ul, .entry-content > ol,
.entry-content > h2, .entry-content > h3 { max-width: var(--mp-colonne); }
.entry-content > .mp-tableau-scroll { max-width: 100%; } /* les tableaux respirent */
.mp-hero { padding: var(--mp-esp-2) 0 var(--mp-esp-3); }

/* Logo Pelle Jaune (fichier /logo.svg) : la baseline passe sous le logo. */
.mp-marque { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mp-marque-logo { display: block; height: 40px; width: auto; }

