/*
Theme Name: FADD
Theme URI: https://fadd-ongd.org/
Author: FADD ONGD ASBL
Description: Thème bloc sur mesure pour FADD – Femme Actrice de Développement Durable. Tout le contenu est composé de blocs natifs, modifiables dans l'éditeur.
Version: 1.0.3
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fadd
Tags: block-theme, full-site-editing
*/

/* ==========================================================================
   Jetons
   Le blanc sur #f1445d donne 3,7:1 : les boutons utilisent --corail-bouton
   (4,8:1). Les petits textes corail utilisent --accent-texte, adapté au fond.
   ========================================================================== */
:root {
  --anthracite: #212027;
  --anthracite-2: #2c2b34;
  --corail: #f1445d;
  --corail-bouton: #d62e48;
  --corail-survol: #bb2640;
  --poudre: #f2d0d5;
  --doux: #f9e7ea;
  --encre: #212027;
  --gris: #5e5c66;
  --gris-poudre: #46444d;
  --trait: #ebe3e5;
  --sur-sombre: rgba(255, 255, 255, .76);
  --accent-texte: #c42a42;

  --police: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --enveloppe: 1240px;
  --gouttiere: 24px;
  --r-icone: 14px;
  --r-carte: 24px;
  --entete: 116px;
  --section: clamp(80px, 8vw, 116px);
  --ombre-corail: 0 14px 28px -12px rgba(214, 46, 72, .75);

  /* pictogrammes : utilisés comme masques CSS (substitution n° 1 du skill) */
  --fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E");
  --coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --avion: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3L10.5 13.5M21 3l-6.5 18-4-7.5L3 9.5z'/%3E%3C/svg%3E");
}
.ico-femme { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='5'/%3E%3Cpath d='M12 13.5V22M8.5 18h7'/%3E%3C/svg%3E"); }
.ico-ecole { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6C5.2 4.3 8.8 4.3 12 6.6c3.2-2.3 6.8-2.3 9.5-.6v13c-2.7-1.6-6.3-1.6-9.5.7-3.2-2.3-6.8-2.3-9.5-.7z'/%3E%3Cpath d='M12 6.6v13.1'/%3E%3C/svg%3E"); }
.ico-eau { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8s6.3 6.8 6.3 11.4a6.3 6.3 0 0 1-12.6 0C5.7 9.6 12 2.8 12 2.8z'/%3E%3Cpath d='M9.2 14.6a2.9 2.9 0 0 0 2.8 2.6'/%3E%3C/svg%3E"); }
.ico-ordinateur { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4.5' width='16' height='11' rx='1.6'/%3E%3Cpath d='M2 19.5h20'/%3E%3C/svg%3E"); }
.ico-entreprise { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8.8 7V5.2c0-.7.5-1.2 1.2-1.2h4c.7 0 1.2.5 1.2 1.2V7M3 12.5h18'/%3E%3C/svg%3E"); }
.ico-sante { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.8s-7.6-4.6-9.2-9.4C1.6 7.8 3.7 4.4 7.2 4.4c2 0 3.6 1.1 4.8 2.8 1.2-1.7 2.8-2.8 4.8-2.8 3.5 0 5.6 3.4 4.4 7-1.6 4.8-9.2 9.4-9.2 9.4z'/%3E%3Cpath d='M12 9.6v5M9.5 12.1h5'/%3E%3C/svg%3E"); }
.ico-ferme { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5v-9.5'/%3E%3Cpath d='M12 12C12 7.8 9 4.8 3.8 4.8c0 4.2 3 7.2 8.2 7.2zM12 14.5c0-3.7 2.6-6.3 7.4-6.3 0 3.7-2.6 6.3-7.4 6.3z'/%3E%3C/svg%3E"); }
.ico-envol { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 18.5l6-6 4 4 7-8.5'/%3E%3Cpath d='M15 8h5.5v5.5'/%3E%3C/svg%3E"); }
.ico-ensemble { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3.2'/%3E%3Ccircle cx='16.5' cy='8' r='3.2'/%3E%3Cpath d='M2.2 20c.6-3.5 2.9-5.6 5.8-5.6s5.2 2.1 5.8 5.6M10.7 20c.6-3.5 2.9-5.6 5.8-5.6s5.2 2.1 5.8 5.6'/%3E%3C/svg%3E"); }
.ico-feuille { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5C4.5 10.6 9.6 5 20.5 4c-.6 10.4-5.8 15.5-16 15.5z'/%3E%3Cpath d='M4.5 19.5l8.5-8.5'/%3E%3C/svg%3E"); }
.ico-ampoule { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21.2h4'/%3E%3Cpath d='M12 2.8a6.2 6.2 0 0 0-3.8 11.1c.8.6 1.2 1.4 1.2 2.3h5.2c0-.9.4-1.7 1.2-2.3A6.2 6.2 0 0 0 12 2.8z'/%3E%3C/svg%3E"); }
.ico-calendrier { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ico-coeur { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.8-4.7-9.4-9.6C1.4 7.3 3.6 3.9 7.1 3.9c2.1 0 3.7 1.1 4.9 2.9 1.2-1.8 2.8-2.9 4.9-2.9 3.5 0 5.7 3.4 4.5 7-1.6 4.9-9.4 9.6-9.4 9.6z'/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.ico-tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h3.3l1.6 4.4-2.2 1.5a11.8 11.8 0 0 0 6.9 6.9l1.5-2.2 4.4 1.6V19c0 .8-.7 1.5-1.5 1.5C10.4 20.5 3.5 13.6 3.5 5c0-.8.7-1.5 1.5-1.5z'/%3E%3C/svg%3E"); }
.ico-lieu { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6.1-7-11.6a7 7 0 0 1 14 0c0 5.5-7 11.6-7 11.6z'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3C/svg%3E"); }

/* petits textes corail lisibles selon le fond */
.section-poudre, .vision, .cta-bande { --accent-texte: #a61d33; }
.section-sombre, .valeurs, .formation, .don, .page-hero, .pied, .hero, .entete { --accent-texte: #ff8a9b; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--encre); font-family: var(--police); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; hyphens: none; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 10px; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0px),
   filet de sécurité à spécificité nulle pour ne pas écraser les marges des composants. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.enveloppe { width: 100%; max-width: var(--enveloppe); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ==========================================================================
   Boutons (core/button : la classe est sur le conteneur, le style sur le lien)
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 12px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--police); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-button.btn-plein .wp-block-button__link { background: var(--corail-bouton); color: #fff; box-shadow: var(--ombre-corail); }
.wp-block-button.btn-plein .wp-block-button__link:hover { background: var(--corail-survol); transform: translateY(-1px); }
.wp-block-button.btn-pilule .wp-block-button__link { border-radius: 999px; min-height: 46px; padding: 10px 24px; }
.wp-block-button.btn-grand .wp-block-button__link { min-height: 54px; padding: 14px 30px; font-size: 1.0625rem; }
.wp-block-button.btn-contour-sombre .wp-block-button__link { background: transparent; color: var(--anthracite); border-color: var(--anthracite); }
.wp-block-button.btn-contour-sombre .wp-block-button__link:hover { background: var(--anthracite); color: #fff; }
/* pictogramme avant le texte (cœur…) ou flèche après */
.wp-block-button[class*="ico-"] .wp-block-button__link::before {
  content: ""; flex: none; width: 19px; height: 19px; background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.wp-block-button.fleche .wp-block-button__link::after {
  content: ""; flex: none; width: 18px; height: 18px; background-color: currentColor; transition: transform .2s;
  -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat;
}
.wp-block-button.fleche .wp-block-button__link:hover::after { transform: translateX(3px); }

/* liens « Lire la suite », « Tous nos projets » */
.lire-suite a, .lien-fleche a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.lire-suite a::after, .lien-fleche a::after {
  content: ""; width: 18px; height: 18px; background-color: var(--corail); transition: transform .2s;
  -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat;
}
.lire-suite a:hover::after, .lien-fleche a:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Titres et textes communs
   ========================================================================== */
.surtitre { margin-bottom: 12px; font-size: .875rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-texte); }
.titre-section { font-size: clamp(2rem, 1.45rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.titre-corail { color: var(--corail); }
.formulaire-titre { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 22px; }
.chapeau { font-size: 1.0625rem; color: var(--gris); max-width: 34em; }
.chapeau-fort { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
/* « accents » : un <em> nu (format natif, donc valide et éditable), stylé par son contexte */
.hero-titre em, .page-titre em { font-style: normal; color: var(--corail); }
.formation .titre-section em, .inscription .titre-section em { font-style: normal; position: relative; isolation: isolate; white-space: nowrap; }
.formation .titre-section em::after, .inscription .titre-section em::after {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -8%; bottom: -.06em; height: .42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23f1445d' d='M3 13c22-5 52-8 88-8 36 0 70 1 104 3l2 5c-12 1-9 3-1 4l-3 5c-40-3-79-3-115-2-26 1-50 3-74 6l-4-5c9-1 6-3-1-4z'/%3E%3Cpath fill='%23f1445d' opacity='.55' d='M14 20c30-3 66-4 104-3l-2 3c-34 0-68 1-100 3z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* listes à pastilles cochées */
.liste-coches, .projet-liste { display: grid; gap: 12px; }
.liste-coches li, .projet-liste li { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; line-height: 1.45; }
.liste-coches li::before, .projet-liste li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--corail) var(--coche) no-repeat center / 14px; }

/* pictogramme en carré arrondi : ::before = carré, ::after = icône */
.liste-actions li, .liste-contact li, .impact-grille li, .leviers li { position: relative; }
.liste-actions li::before, .liste-contact li::before, .impact-grille li::before, .leviers li::before,
.tuile[class*="ico-"]::before, .option-don::before {
  content: ""; position: absolute; pointer-events: none; border-radius: 12px; background: var(--doux);
}
.liste-actions li::after, .liste-contact li::after, .impact-grille li::after, .leviers li::after,
.tuile[class*="ico-"]::after, .option-don::after {
  content: ""; position: absolute; pointer-events: none; background-color: var(--corail);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--anthracite); color: #fff; }
.admin-bar .entete { top: 32px; }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: .8125rem; }
.topbar-rangee { display: flex; justify-content: flex-end; align-items: center; gap: 22px; height: 38px; }
.topbar-lien { display: flex; align-items: center; gap: 8px; }
.topbar-lien::before { content: ""; width: 15px; height: 15px; background-color: #ff8a9b; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.topbar-lien a { text-decoration: none; color: #fff; }
.topbar-lien a:hover { color: var(--poudre); }

.barre { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; height: 78px; }
.marque { display: flex; align-items: center; gap: 12px; color: #fff; }
.marque .marque-badge, .marque .wp-block-site-logo { flex: none; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; }
.marque .wp-block-site-logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.marque .wp-block-site-logo img { width: 118% !important; max-width: none; height: auto; }
.marque-texte { display: grid; line-height: 1.15; }
.marque .marque-nom { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
/* le titre du site est un lien : il ne doit pas hériter de la taille des liens du pied (.pied a) */
.marque .marque-nom a { color: #fff; text-decoration: none; font-size: inherit; line-height: inherit; }
.marque .marque-sous-titre { font-size: .6875rem; color: var(--sur-sombre); max-width: 15em; }
.marque-sous { font-size: .6875rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--sur-sombre); }

/* core/navigation */
.wp-block-navigation.nav { justify-content: center; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: clamp(16px, 2vw, 30px); }
.wp-block-navigation.nav .wp-block-navigation-item__content { position: relative; padding: 8px 0; color: #fff; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.wp-block-navigation.nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--corail); transform: scaleX(0); transition: transform .2s; }
.wp-block-navigation.nav .wp-block-navigation-item__content:hover::after,
.wp-block-navigation.nav .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close { color: #fff; }
/* panneau mobile : sans ceci il s'ouvre blanc sur blanc (le CSS du bloc est imprimé après le thème) */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--anthracite) !important; color: #fff !important; padding: 28px var(--gouttiere); }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__container { gap: 0; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; padding: 14px 0; }
.barre-actions { justify-content: flex-end; }

/* ==========================================================================
   1 · Hero et diaporama
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(100svh, 720px); padding: calc(var(--entete) + 56px) 0 140px; display: grid; align-items: center; background: var(--anthracite); color: #fff; text-align: center; }
/* voile #212027 à 70 % minimum (brief), renforcé derrière le titre : pseudo-élément, pas de groupe vide */
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(33, 32, 39, .86), rgba(33, 32, 39, .7)); }
.diaporama { position: absolute; z-index: -3; inset: 0; }
.diaporama figure.wp-block-image.diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.diaporama figure.wp-block-image.diapo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.diaporama:not(.est-lance) figure.diapo:first-child,
.diaporama figure.wp-block-image.diapo.est-active { opacity: 1; }
.diaporama figure.wp-block-image.diapo.est-active img { transform: scale(1); }
.hero-titre, .hero-sous-titre { text-shadow: 0 2px 28px rgba(33, 32, 39, .55); }
.hero-contenu { max-width: 1040px; display: grid; justify-items: center; }
.hero .hero-titre { font-size: clamp(1.8rem, .95rem + 2.8vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; max-width: 19em; }
.hero .hero-titre em { display: block; font-size: 2.1em; line-height: .95; letter-spacing: -.05em; margin-bottom: .12em; }
.hero .hero-sous-titre { margin: 26px 0 38px; font-size: clamp(1.0625rem, .95rem + .55vw, 1.375rem); font-weight: 500; line-height: 1.55; max-width: 32em; color: rgba(255, 255, 255, .92); }
.hero-actions { justify-content: center; }
/* commandes créées par le script (aucun élément d'interface dans le contenu éditable) */
.diaporama-commandes { position: absolute; z-index: 2; bottom: 40px; left: max(var(--gouttiere), (100vw - var(--enveloppe)) / 2 + var(--gouttiere)); display: flex; align-items: center; gap: 6px; }
.diaporama-point { position: relative; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.diaporama-point::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .3s, margin .3s, background-color .3s; }
.diaporama-point.est-actif::before { width: 28px; margin-left: -14px; background: var(--corail); }
.bouton-rond { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 8px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(33, 32, 39, .35); color: #fff; cursor: pointer; }
.bouton-rond svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico-lecture { display: none; }
.est-en-pause .ico-pause { display: none; }
.est-en-pause .ico-lecture { display: block; }
.hero-defiler { position: absolute; left: 50%; bottom: 34px; margin-left: -25px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; animation: flotte 2.6s ease-in-out infinite; }
.hero-defiler svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flotte { 50% { transform: translateY(6px); } }

/* ==========================================================================
   2 · Nos actions et carte
   ========================================================================== */
.actions { padding: var(--section) 0; }
.actions-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.actions-sous-titre { margin: 10px 0 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.liste-actions { display: grid; gap: 10px; margin: 28px 0 36px; }
.liste-actions li { display: flex; align-items: center; min-height: 46px; padding-left: 62px; font-weight: 700; line-height: 1.35; }
.liste-actions li::before { left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; }
.liste-actions li::after { left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }

.carte { position: relative; }
.carte-feuille { position: relative; background: var(--anthracite); border-radius: 32px; aspect-ratio: 1 / .96; }
.carte-feuille figure.wp-block-image.carte-dessin { position: absolute; inset: 7% 6% 9% 8%; }
.carte-dessin img, .carte-dessin svg { width: 100%; height: 100%; overflow: visible; }
.carte-dessin svg path { transition: fill .2s; cursor: pointer; }
.carte-dessin svg path:hover, .carte-dessin svg path.est-survolee { fill: var(--corail); }
.carte-badge { position: absolute; left: -18px; bottom: 30px; min-width: 170px; padding: 16px 22px; border-radius: var(--r-carte); background: var(--corail-bouton); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; box-shadow: 0 18px 40px rgba(33, 32, 39, .3); }
.carte-badge-defaut strong { display: block; font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.carte-badge-province, .carte-badge-nom { display: none; }
.carte-badge.montre-province .carte-badge-defaut { display: none; }
.carte-badge.montre-province .carte-badge-province, .carte-badge.montre-province .carte-badge-nom { display: block; }
.carte-badge-province { margin-bottom: 6px; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.carte-badge-nom { font-size: 1.6rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.carte-legende { margin-top: 20px; font-size: .9375rem; color: var(--gris); }
.carte-credit { margin-top: 4px; font-size: .75rem; color: var(--gris); }

/* ==========================================================================
   3 · Valeurs et tuiles
   ========================================================================== */
.valeurs { padding: var(--section) 0; background: var(--anthracite); color: #fff; }
.entete-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.entete-section > .chapeau { justify-self: end; }
.valeurs .chapeau, .section-sombre .chapeau { color: var(--sur-sombre); }
.valeurs-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(270px, auto); gap: 18px; }
.tuile { position: relative; overflow: hidden; border-radius: var(--r-carte); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.tuile[class*="ico-"] { padding-top: 110px; }
.tuile[class*="ico-"]::before { left: 32px; top: 32px; width: 54px; height: 54px; border-radius: var(--r-icone); }
.tuile[class*="ico-"]::after { left: 47px; top: 47px; width: 24px; height: 24px; }
.tuile h3 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.tuile p { font-size: 1rem; line-height: 1.55; }
.tuile-corail { background: var(--corail); color: #fff; }
.tuile-corail p { font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
.tuile-corail[class*="ico-"]::before { background: #fff; }
.tuile-sombre { background: var(--anthracite-2); color: #fff; }
.tuile-sombre p { color: var(--sur-sombre); }
.tuile-sombre[class*="ico-"]::before { background: rgba(255, 255, 255, .08); }
.tuile-sombre[class*="ico-"]::after { background-color: #ff8a9b; }
figure.wp-block-image.tuile-photo { padding: 0; }
figure.wp-block-image.tuile-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   4 · Vision
   ========================================================================== */
.vision { position: relative; padding: var(--section) 0; background: var(--poudre); text-align: center; }
.vision-contenu { display: grid; justify-items: center; }
figure.wp-block-image.vision-logo { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 24px; box-shadow: 0 16px 36px rgba(33, 32, 39, .12); }
figure.wp-block-image.vision-logo img { width: 118%; max-width: none; }
.vision-texte { margin-top: 24px; max-width: 28em; font-size: clamp(1.2rem, .95rem + .9vw, 1.75rem); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; }
.vision-texte strong { font-weight: 800; }

/* ==========================================================================
   Bloc contact (Prendre rendez-vous, page Contact)
   ========================================================================== */
.rdv { padding: var(--section) 0; }
.contact-bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-infos .chapeau { margin-top: 14px; }
.liste-contact { display: grid; gap: 18px; margin: 32px 0 26px; }
.liste-contact li { display: block; min-height: 54px; padding-left: 72px; color: var(--gris); }
.liste-contact li::before { left: 0; top: 0; width: 54px; height: 54px; border-radius: var(--r-icone); }
.liste-contact li::after { left: 16px; top: 16px; width: 22px; height: 22px; }
.liste-contact strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; color: var(--encre); }
.liste-contact a { color: var(--encre); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.liste-contact a:hover { text-decoration: underline; }
.contact-infos .a-completer { margin-bottom: 22px; }
/* repère « à compléter » dans un élément de la liste : <em> nu, même pilule que .a-completer */
.liste-contact li em { font-style: normal; display: inline-flex; align-items: center; width: fit-content; margin-top: 6px; padding: 5px 14px; border: 1.5px dashed currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; color: var(--gris); }

/* core/social-links : les couleurs de marque du bloc sont neutralisées */
.wp-block-social-links.reseaux-simples, .wp-block-social-links.pied-reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.wp-block-social-links.reseaux-simples .wp-social-link,
.wp-block-social-links.pied-reseaux .wp-social-link { margin: 0; width: 44px; height: 44px; border-radius: 50%; background: transparent; transition: background-color .2s, border-color .2s; }
.wp-block-social-links .wp-social-link .wp-block-social-link-anchor { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; }
.wp-block-social-links .wp-social-link svg { width: 19px; height: 19px; }
.wp-block-social-links.reseaux-simples .wp-social-link { color: var(--encre); }
.wp-block-social-links.reseaux-simples .wp-social-link:hover { background: var(--doux); color: var(--corail); }
.wp-block-social-links.pied-reseaux .wp-social-link { color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); }
.wp-block-social-links.pied-reseaux .wp-social-link:hover { background: var(--corail-bouton); border-color: var(--corail-bouton); }

/* ==========================================================================
   Formulaires (Contact Form 7, gabarits dans deploiement/formulaires)
   ========================================================================== */
.carte-formulaire { padding: clamp(26px, 3.5vw, 40px); border-radius: var(--r-carte); background: #fff; color: var(--encre); scroll-margin-top: calc(var(--entete) + 24px); }
.carte-douce { background: var(--doux); }
.carte-formulaire .wpcf7-form { position: relative; display: grid; gap: 18px; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 8px; }
.champ label, .choix-pilules legend { font-weight: 700; font-size: .9375rem; }
.wpcf7-form-control-wrap { display: block; }
/* en ligne, la zone de texte laisse sous elle l'espace d'une ligne de base (+7 px) */
.wpcf7-form-control-wrap > textarea { display: block; }
.champ input, .champ textarea, .champ select { width: 100%; font: 500 1rem/1.5 var(--police); color: var(--encre); padding: 13px 16px; border: 1.5px solid var(--trait); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.champ textarea { resize: vertical; min-height: 130px; }
.champ select { appearance: none; padding-right: 48px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212027' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--corail); box-shadow: 0 0 0 4px rgba(241, 68, 93, .16); }
.facultatif { font-weight: 500; color: var(--gris); }
.case .wpcf7-list-item { margin: 0; }
.case label { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.case input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--corail); }
.case a { font-weight: 700; }
.carte-formulaire .wpcf7-submit {
  justify-self: start; display: inline-flex; align-items: center; min-height: 50px; margin-top: 6px; padding: 12px 26px 12px 54px; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 1rem/1.2 var(--police); color: #fff; background: var(--corail-bouton) var(--avion) no-repeat 24px center / 19px; box-shadow: var(--ombre-corail); transition: background-color .2s;
}
.carte-formulaire .wpcf7-submit.sans-icone { padding-left: 26px; background-image: none; }
.carte-formulaire .wpcf7-submit:hover { background-color: var(--corail-survol); }
/* l'indicateur d'envoi est caché au repos mais occupait une rangée de la grille (+42 px) : hors du flux */
.carte-formulaire .wpcf7-spinner { position: absolute; right: 0; bottom: 13px; margin: 0; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: .875rem; font-weight: 600; color: #b3203a; }
.carte-formulaire .wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
/* choix en pilules (radio CF7) */
.choix-pilules { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.choix-pilules .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.choix-pilules .wpcf7-list-item { margin: 0; }
.choix-pilules label { position: relative; cursor: pointer; }
.choix-pilules input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix-pilules .wpcf7-list-item-label { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--trait); font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.choix-pilules input:checked + .wpcf7-list-item-label { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.choix-pilules input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--corail); outline-offset: 3px; }

/* ==========================================================================
   6 · Rejoindre une formation
   ========================================================================== */
.formation { padding: var(--section) 0; background: var(--anthracite); color: #fff; }
.formation-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.formation .chapeau { color: var(--sur-sombre); margin: 16px 0 24px; }
.formation .liste-coches { margin-bottom: 34px; }
figure.wp-block-image.formation-photo img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--r-carte); }

/* ==========================================================================
   7 · Pourquoi nous soutenir
   ========================================================================== */
.don { padding: var(--section) 0; background: var(--anthracite); color: #fff; }
.formation + .don { border-top: 1px solid rgba(255, 255, 255, .1); }
.don-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.don .chapeau { color: var(--sur-sombre); margin: 14px 0 22px; }
.don .liste-coches { margin-bottom: 34px; }
.cartes-projets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 30px; }
.carte-projet { display: grid; gap: 10px; align-content: start; }
.carte-projet figure.wp-block-image img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 16px; margin-bottom: 8px; }
.carte-meta { font-size: .9375rem; color: var(--sur-sombre); }
.carte-meta strong { color: var(--accent-texte); font-weight: 700; }
.carte-projet h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.carte-projet h3 a { text-decoration: none; }
.carte-projet h3 a:hover { text-decoration: underline; }
.don-projets .lien-fleche { width: fit-content; margin-inline: auto; }

/* ==========================================================================
   8 · Témoignages
   ========================================================================== */
.temoignages { padding: var(--section) 0; overflow: hidden; }
.temoignages-entete { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.note-exemple { margin-top: 10px; font-size: .875rem; color: var(--gris); }
.carrousel-boutons { display: flex; gap: 10px; }
.carrousel-boutons button { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--trait); background: #fff; color: var(--anthracite); cursor: pointer; }
.carrousel-boutons button:hover { border-color: var(--anthracite); }
.carrousel-boutons .suivant { background: var(--corail-bouton); border-color: var(--corail-bouton); color: #fff; }
.carrousel-boutons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carrousel { overflow: hidden; padding: 6px; }
/* :root pour passer devant « :root :where(.is-layout-flow) > :last-child » de WordPress (0,2,0), qui annulait le -6px du bas */
:root .carrousel { margin: -6px; }
.carrousel-piste { display: flex; gap: 20px; transition: transform .7s cubic-bezier(.45, 0, .2, 1); }
.carrousel-piste > .temoignage { flex: 0 0 calc((100% - 40px) / 3); }
.temoignage { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 58px 30px 28px; border-radius: var(--r-carte); background: var(--doux); }
.temoignage:nth-child(even) { background: #fff; border: 1.5px solid var(--trait); }
.temoignage::before { content: "“"; position: absolute; top: 10px; left: 26px; font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--corail); }
.temoignage-texte { font-size: 1.0625rem; line-height: 1.6; }
.temoignage-auteur { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--anthracite); color: #fff; font-weight: 700; }
.temoignage-nom { font-size: .875rem; color: var(--gris); line-height: 1.3; }
.temoignage-nom strong { font-size: 1.0625rem; color: var(--encre); }
.grille-temoignages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied { background: var(--anthracite); color: #fff; padding: 72px 0 0; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1.35fr; gap: 36px; padding-bottom: 52px; }
.pied-texte { margin: 20px 0 24px; color: var(--sur-sombre); font-size: .9375rem; max-width: 22em; }
.pied .pied-titre { font-size: 1.0625rem; font-weight: 800; margin-bottom: 18px; color: #fff; }
.pied-liens, .pied-coordonnees { display: grid; gap: 10px; }
.pied a { text-decoration: none; color: var(--sur-sombre); font-size: .9375rem; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-coordonnees li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--sur-sombre); line-height: 1.5; }
.pied-coordonnees li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background-color: #ff8a9b; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.pied-bas { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: var(--sur-sombre); }
.pied-credits { font-size: .75rem; margin-top: 4px; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* bouton flottant « Nous soutenir » */
.wp-block-buttons.soutenir-flottant { position: fixed; right: 22px; bottom: 22px; z-index: 40; }
.soutenir-flottant .wp-block-button .wp-block-button__link { box-shadow: 0 14px 30px -10px rgba(214, 46, 72, .8), 0 4px 14px rgba(33, 32, 39, .18); }

/* ==========================================================================
   Pages internes
   ========================================================================== */
.page-hero { position: relative; background: var(--anthracite); color: #fff; padding: calc(var(--entete) + 56px) 0 64px; }
.page-hero-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero-simple .page-hero-grille { grid-template-columns: minmax(0, 1fr); }
.fil-ariane { margin-bottom: 22px; font-size: .875rem; color: var(--sur-sombre); }
.fil-ariane a { color: #fff; font-weight: 600; text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }
.page-hero .page-titre { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.page-hero .page-titre-long { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem); }
.page-chapeau { margin-top: 20px; max-width: 34em; font-size: clamp(1.0625rem, .98rem + .3vw, 1.2rem); color: var(--sur-sombre); }
.page-hero .a-completer { margin-top: 20px; }
figure.wp-block-image.page-hero-photo { position: relative; z-index: 1; margin-bottom: -120px; }
figure.wp-block-image.page-hero-photo img { width: 100%; aspect-ratio: .95; object-fit: cover; border-radius: var(--r-carte); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.page-hero + .section { padding-top: calc(var(--section) + 80px); }
.page-hero-simple + .section { padding-top: var(--section); }
.page-hero-simple + .section-sombre { padding-top: 16px; }
.page-simple { padding: calc(var(--entete) + 64px) 0 var(--section); }

.section { position: relative; padding: var(--section) 0; }
.section-sombre { background: var(--anthracite); color: #fff; }
.section-poudre { background: var(--poudre); }
.section-poudre .chapeau { color: var(--gris-poudre); }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.prose > * + * { margin-top: 16px; }
.prose .titre-section { margin-bottom: 22px; }
.prose p { max-width: 36em; }
.prose a { font-weight: 700; }

.a-completer { display: inline-flex; align-items: center; width: fit-content; padding: 5px 14px; border: 1.5px dashed currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; color: var(--gris); }
.section-sombre .a-completer, .page-hero .a-completer { color: var(--sur-sombre); }
.section-poudre .a-completer { color: var(--gris-poudre); }

/* À propos */
figure.wp-block-image.visuel-feuille img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--r-carte); }
.fondatrice { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fondatrice-portrait { position: relative; display: grid; place-items: center; aspect-ratio: .9; border-radius: var(--r-carte); background: var(--anthracite-2); }
.fondatrice-initiales { font-size: clamp(5rem, 3rem + 6vw, 8.5rem); font-weight: 800; letter-spacing: -.05em; color: #fff; }
.fondatrice-portrait .a-completer { position: absolute; bottom: 26px; }
.fondatrice-texte .titre-section { margin-bottom: 20px; }
.fondatrice-texte .chapeau { font-size: 1.1875rem; margin-bottom: 20px; }
.apercu-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.apercu-mission .prose { display: grid; gap: 26px; justify-items: start; }

/* Mission */
.piliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.piliers .tuile { min-height: 290px; }
.leviers { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.leviers li { border-radius: 18px; background: var(--anthracite-2); border: 1.5px solid transparent; transition: border-color .2s; }
.leviers li:hover { border-color: var(--corail); }
.leviers li::before { left: 16px; top: 50%; width: 46px; height: 46px; margin-top: -23px; background: rgba(255, 255, 255, .08); }
.leviers li::after { left: 28px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background-color: #ff8a9b; }
.leviers a { display: flex; align-items: center; gap: 16px; min-height: 82px; height: 100%; padding: 18px 20px 18px 78px; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.35; }
.leviers a::after { content: ""; flex: none; margin-left: auto; width: 20px; height: 20px; background-color: #ff8a9b; transition: transform .2s; -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; }
.leviers a:hover::after { transform: translateX(4px); }

/* Nos projets */
.sommaire-projets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; counter-reset: projet; }
.sommaire-projets li { counter-increment: projet; }
.sommaire-projets a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; border: 1.5px solid var(--trait); text-decoration: none; font-size: .9375rem; font-weight: 700; transition: border-color .2s, background-color .2s; }
.sommaire-projets a::before { content: counter(projet, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--doux); color: var(--accent-texte); font-size: .8125rem; font-weight: 800; }
.sommaire-projets a:hover { border-color: var(--corail); background: var(--doux); }
.projets { display: grid; gap: clamp(80px, 9vw, 130px); margin-top: clamp(56px, 6vw, 88px); }
.projet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--entete) + 24px); }
.projet:nth-child(even) > figure.projet-photo { order: 2; }
figure.wp-block-image.projet-photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: var(--r-carte); }
.projet-numero { margin-bottom: 8px; font-size: .875rem; font-weight: 800; letter-spacing: .18em; color: var(--accent-texte); }
.projet-numero::before { content: "Projet "; }
.projet .projet-titre { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 16px; }
.projet-liste { margin: 24px 0 32px; }

/* Bande d'appel */
.cta-bande { background: var(--poudre); padding: clamp(56px, 6vw, 88px) 0; }
.cta-bande-grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-bande .titre-section { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); max-width: 18em; }

/* Faire un don */
.impact-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.impact-grille li { display: flex; align-items: center; min-height: 74px; padding: 14px 16px 14px 76px; border-radius: 16px; background: var(--doux); font-weight: 700; line-height: 1.35; }
.impact-grille li::before { left: 16px; top: 50%; width: 46px; height: 46px; margin-top: -23px; background: #fff; }
.impact-grille li::after { left: 28px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.options-don { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.option-don { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 106px 30px 30px; border-radius: var(--r-carte); background: #fff; }
.option-don::before { left: 30px; top: 34px; width: 54px; height: 54px; border-radius: var(--r-icone); }
.option-don::after { left: 45px; top: 49px; width: 24px; height: 24px; }
.option-don h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.option-don p:not(.option-type) { color: var(--gris); }
.option-don .wp-block-buttons { margin-top: auto; }
.option-type { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-texte); }
.option-don-sombre { background: var(--anthracite); color: #fff; --accent-texte: #ff8a9b; }
.option-don-sombre::before { background: rgba(255, 255, 255, .08); }
.option-don-sombre::after { background-color: #ff8a9b; }
.option-don-sombre p:not(.option-type) { color: var(--sur-sombre); }
.options-don + .a-completer { margin-top: 28px; }
.rib { padding: clamp(26px, 3.5vw, 40px); border-radius: var(--r-carte); background: var(--anthracite); color: #fff; }
.rib-titre { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.rib figure.wp-block-table { margin: 0; }
.rib table { width: 100%; border-collapse: collapse; }
.rib td { padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); vertical-align: middle; font-weight: 700; }
/* maquette : colonne de 8.5em (sur 17 px) + 16 px d'écart ; dans un tableau, la largeur inclut la marge intérieure */
.rib td:first-child { width: calc(8.5 * 17px + 16px); padding-right: 16px; font-weight: 400; color: var(--sur-sombre); font-size: .9375rem; }
/* repères « à compléter » portés par un <em> : même pilule que .a-completer de la maquette */
.rib em, .fiche em, .prose-legal p em { font-style: normal; display: inline-flex; align-items: center; width: fit-content; padding: 5px 14px; border: 1.5px dashed currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; color: var(--gris); }
.rib em { color: var(--sur-sombre); }

/* Mentions légales et plan du site */
.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.legal-sommaire { position: sticky; top: calc(var(--entete) + 32px); padding: 26px; border-radius: 20px; background: var(--doux); }
.legal-sommaire-titre { font-weight: 800; margin-bottom: 12px; }
.legal-sommaire ul { display: grid; gap: 8px; }
.legal-sommaire a { text-decoration: none; font-weight: 600; }
.legal-sommaire a:hover { text-decoration: underline; }
.prose-legal > * + * { margin-top: 14px; }
.prose-legal h2 { margin-top: 56px; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; scroll-margin-top: calc(var(--entete) + 24px); }
.prose-legal h2:first-child { margin-top: 0; }
.prose-legal h3 { margin-top: 26px; font-size: 1.0625rem; font-weight: 800; }
.prose-legal p, .prose-legal li { max-width: 44em; color: #3d3b44; }
.prose-legal ul { list-style: disc; padding-left: 1.2em; }
.prose-legal li + li { margin-top: 6px; }
.prose-legal a { font-weight: 700; }
.fiche table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--trait); }
.fiche td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--trait); vertical-align: top; color: #3d3b44; }
.prose-legal .fiche { margin-top: 20px; }
.fiche td:first-child { width: calc(15em + 16px); padding-right: 16px; font-weight: 700; color: var(--encre); }
.fiche em { color: var(--gris); }
.plan-site { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.plan-site a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: 18px; background: var(--doux); text-decoration: none; font-weight: 700; }
.plan-site a::after { content: ""; width: 18px; height: 18px; background-color: var(--corail); -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; }
.plan-site a:hover { background: var(--poudre); }

/* Nous rejoindre */
.inscription-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.onglets-profil { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 20px; }
.pilule { min-height: 44px; padding: 9px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .2s, border-color .2s; }
.pilule:hover { border-color: #fff; }
.pilule[aria-selected="true"] { background: var(--corail-bouton); border-color: var(--corail-bouton); }
.panneau-profil > p { color: var(--sur-sombre); margin-bottom: 18px; }
.js .panneau-profil:not(.est-actif) { display: none; }
.inscription .liste-coches li { color: #fff; }

/* liste d'articles (index) */
.liste-articles .wp-block-post-title { margin-top: 32px; font-size: 1.4rem; font-weight: 800; }
.liste-articles .wp-block-post-title a { text-decoration: none; }

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 1240px) {
  /* le menu passe en panneau dès 1240 px (le bloc ne le fait qu'à 600 px) */
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .barre { grid-template-columns: auto 1fr auto; }
  .wp-block-navigation.nav { justify-content: flex-end; }
  .barre-actions .btn-inscription { display: none; }
}

@media (max-width: 1024px) {
  .actions-grille, .formation-grille, .don-grille, .entete-section, .contact-bloc,
  .page-hero-grille, .deux-colonnes, .fondatrice, .projet, .inscription-grille, .legal, .apercu-mission { grid-template-columns: minmax(0, 1fr); }
  .entete-section > .chapeau { justify-self: start; }
  .carte { max-width: 600px; justify-self: center; width: 100%; }
  .valeurs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  figure.tuile-f { display: none; }
  figure.wp-block-image.formation-photo { max-width: 560px; }
  .carrousel-piste > .temoignage { flex-basis: calc((100% - 20px) / 2); }
  .pied-grille { grid-template-columns: 1fr 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  figure.wp-block-image.page-hero-photo { max-width: 440px; margin-bottom: -96px; }
  .page-hero + .section { padding-top: calc(var(--section) + 64px); }
  .page-hero-simple + .section { padding-top: var(--section); }
  .projet:nth-child(even) > figure.projet-photo { order: 0; }
  figure.projet-photo, figure.visuel-feuille, .fondatrice-portrait { max-width: 560px; }
  .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options-don { grid-template-columns: minmax(0, 1fr); }
  .grille-temoignages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-sommaire { position: static; }
}

@media (max-width: 782px) {
  .admin-bar .entete { top: 46px; }
}

@media (max-width: 760px) {
  :root { --gouttiere: 16px; --entete: 70px; }
  body { font-size: 16px; }
  .topbar { display: none; }
  .barre { height: 70px; gap: 12px; }
  .marque .wp-block-site-logo { width: 44px; height: 44px; }
  .marque .marque-sous-titre { display: none; }
  .barre-actions .wp-block-button .wp-block-button__link { min-height: 42px; padding: 8px 16px; }
  .barre-actions .wp-block-button .wp-block-button__link::before { display: none; }
  .hero { min-height: 680px; padding: calc(var(--entete) + 48px) 0 190px; }
  .hero .hero-titre { font-size: 1.7rem; }
  .diaporama-commandes { left: 50%; transform: translateX(-50%); bottom: 100px; }
  .wp-block-button .wp-block-button__link { white-space: normal; text-align: left; }
  .carte-badge { left: 8px; bottom: 12px; padding: 12px 16px; min-width: 0; }
  .carte-badge-defaut strong { font-size: 2rem; }
  .carte-badge-nom { font-size: 1.2rem; }
  .valeurs-grille, .cartes-projets, .piliers, .grille-temoignages, .impact-grille, .champs-duo { grid-template-columns: minmax(0, 1fr); }
  .carrousel-piste > .temoignage { flex-basis: 100%; }
  figure.tuile-b { min-height: 240px; }
  .temoignages-entete { flex-direction: column; align-items: start; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-bas { flex-direction: column; align-items: flex-start; }
  .soutenir-flottant .wp-block-button .wp-block-button__link { width: 54px; height: 54px; min-height: 0; padding: 0; font-size: 0; gap: 0; }
  .soutenir-flottant .wp-block-button .wp-block-button__link::before { width: 22px; height: 22px; }
  .wp-block-buttons.soutenir-flottant { right: 14px; bottom: 14px; }
  .page-hero { padding: calc(var(--entete) + 36px) 0 52px; }
  figure.wp-block-image.page-hero-photo { max-width: none; margin-bottom: -64px; }
  figure.wp-block-image.page-hero-photo img { aspect-ratio: 1.3; }
  .page-hero + .section { padding-top: calc(var(--section) + 36px); }
  .piliers .tuile { min-height: 0; }
  .rib td, .fiche td { display: block; width: auto !important; padding: 4px 0; border: 0; }
  .rib tr, .fiche tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--trait); }
  .rib tr { border-color: rgba(255, 255, 255, .12); }
  .cta-bande-grille { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
