/* ==========================================================================
   Refonte — gabarits internes
   --------------------------------------------------------------------------
   Portage de pages.css de la maquette « Partenariat Ouagadougou-11 ».
   Complète assets/css/refonte.css : hero de page interne, fil d'ariane,
   explorateur de carte, et les mises en page propres à chaque gabarit
   (conseil, conseiller, contact, ressources, agenda, actualités, stratégie,
   société civile, équipe, résultats de recherche).

   Repris tel quel pour rester diffable avec la maquette ; seuls les chemins
   d'images ont été réécrits vers assets/img/refonte/.
   ========================================================================== */

/* ============================================================
   Pages internes (Notre Histoire, Conseil, Pays) — styles partagés
   S'appuie sur styles.css (tokens, .section, .wrap, .kicker, .btn…)
   ============================================================ */

/* ---------- Hero de page ----------
   Le fond reprend celui du hero de la page d'accueil (.hero-bleed) : la photo
   passe en fond pleine largeur, en niveaux de gris, sous le même voile marine.
   Les heros sans photo gardent le voile seul, en dégradé : le bandeau garde sa
   profondeur au lieu de laisser un aplat vide à droite du texte.
   La hauteur est tenue par min-height, pas par le seul remplissage du texte :
   les bandeaux se suivent ainsi au même rythme d'une page à l'autre. */
.page-hero {
  /* Hauteur de la bande déchirée, partagée par le masque du fond et .ph-torn. */
  --ph-torn-h: clamp(16px, 2.2vw, 26px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 26vw, 380px);
  background: var(--navy);
  color: var(--white);
  overflow: visible;
  z-index: 2;
}
.page-hero.ph-has-media { min-height: clamp(340px, 32vw, 460px); }
.page-hero.ph-aside { min-height: clamp(320px, 30vw, 440px); }

/* Les couches de fond : la photo, puis le voile. */
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero .ph-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
  filter: grayscale(1) contrast(1.02) brightness(.86);
}
.page-hero .ph-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgb(var(--navy-900-rgb) / .66), rgb(var(--navy-900-rgb) / .16) 55%),
    linear-gradient(90deg, rgb(var(--navy-900-rgb) / .92) 0%, rgb(var(--navy-900-rgb) / .66) 42%, rgb(var(--navy-900-rgb) / .44) 75%, rgb(var(--navy-900-rgb) / .54) 100%),
    rgb(var(--blue-veil-rgb) / .34);
}
/* Sans photo : dégradé marine et silhouette de l'Afrique en filigrane, le
   même tracé que la carte de la page d'accueil. */
.page-hero.ph-plain .ph-scrim,
.page-hero.ph-aside .ph-scrim {
  background:
    radial-gradient(118% 150% at 78% 6%, rgb(var(--blue-glow-rgb) / .5) 0%, rgb(var(--navy-rgb) / 0) 62%),
    linear-gradient(102deg, var(--navy-900) 0%, var(--navy) 54%, var(--navy-700) 100%);
}
.page-hero.ph-plain .ph-bg::after {
  content: "";
  position: absolute; right: clamp(1.5rem,5vw,4rem); top: 46%; transform: translateY(-50%);
  width: min(28%, 330px); aspect-ratio: 667 / 722;
  background: url("../img/refonte/africa_vector.svg") no-repeat center / contain;
  opacity: .09;
  pointer-events: none;
}
/* La déchirure du bas est découpée dans le fond du hero, elle n'est plus une
   bande marine posée en dessous : la photo — ou le dégradé — se prolonge
   jusque dans les dents de la découpe. Sinon l'aplat marine tranchait net avec
   la photo juste au-dessus.
   Le masque reprend le tracé de torn-navy.svg, cadré comme l'était la bande :
   une première couche opaque partout sauf la bande basse, une seconde couche
   qui est la découpe elle-même, calée en bas. Les navigateurs sans masque
   gardent l'ancienne bande, .ph-torn.
   Le hero « cover » en est exclu : le bandeau doré des Ressources vient s'y
   coller, il n'a pas de découpe. */
@supports (mask-image: url("../img/refonte/torn-navy.svg")) {
  .page-hero:not(.ph-cover) .ph-bg {
    bottom: calc(-1 * var(--ph-torn-h));
    -webkit-mask-image: linear-gradient(#000, #000), url("../img/refonte/torn-navy.svg");
    -webkit-mask-size: 100% calc(100% - var(--ph-torn-h)), 100% auto;
    -webkit-mask-position: left top, left bottom;
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-image: linear-gradient(#000, #000), url("../img/refonte/torn-navy.svg");
    mask-size: 100% calc(100% - var(--ph-torn-h)), 100% auto;
    mask-position: left top, left bottom;
    mask-repeat: no-repeat, no-repeat;
  }
  .page-hero:not(.ph-cover) .ph-torn { display: none; }
}

.page-hero .wrap { position: relative; z-index: 2; padding: clamp(2.2rem,4.4vw,3.6rem) 0 clamp(2.2rem,4vw,3.4rem); }
/* En colonne unique, c'est le texte qui donne la hauteur : la garantie de
   hauteur minimale ajouterait du vide sous le titre. */
@media (max-width: 700px) {
  .page-hero,
  .page-hero.ph-has-media,
  .page-hero.ph-aside { min-height: 0; }
}
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgb(var(--white-rgb) / .66); margin-bottom: 1.1rem; }
.breadcrumb a { color: rgb(var(--white-rgb) / .66); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
/* custom.css (ancien thème) impose « .single-post .breadcrumb { color: #17238C } ».
   Seuls les liens y échappaient : le maillon courant et les chevrons
   ressortaient en bleu foncé sur le bandeau marine. */
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb span,
.page-hero .breadcrumb svg { color: rgb(var(--white-rgb) / .66); }
.page-hero .kicker { color: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-spacing);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.05; margin: .6rem 0 0; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero .ph-lead { margin-top: 1.1rem; font-size: clamp(1rem,.96rem + .3vw,1.18rem); color: rgb(var(--white-rgb) / .84); max-width: 56ch; }
/* Mise en page « côté » : carte ou couverture de document à droite du texte.
   L'image garde ses proportions — la hauteur suit la largeur — au lieu d'être
   étirée dans un cadre au format imposé. */
.page-hero .ph-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.6rem,4vw,3.2rem); align-items: center; }
.page-hero .ph-media { position: relative; display: flex; justify-content: center; }
.page-hero .ph-media image-slot, .page-hero .ph-media img {
  display: block; width: auto; max-width: 100%;
  max-height: clamp(220px, 26vw, 340px);
  object-fit: contain;
}
.page-hero .ph-media.square img { max-height: clamp(240px, 28vw, 380px); }
[data-dir="organique"] .page-hero .ph-media { border-radius: 8px; overflow: hidden; }
.ph-stats { display: flex; gap: 2.2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.ph-stats .s b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.ph-stats .s span { font-size: .8rem; color: rgb(var(--white-rgb) / .72); }

/* leaf dots decorative */
.dots-deco { position: absolute; pointer-events: none; opacity: .9; z-index: 1; }

/* ---------- Carte explorer (réutilisable) ---------- */
.map-explorer { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(1.6rem,4vw,3.2rem); align-items: center; }
/* Les points sont positionnes en pourcentage du SVG : le conteneur doit donc
   avoir exactement la largeur de l'image. Quand la colonne etait plus large,
   les pourcentages portaient sur la colonne et tous les points glissaient vers
   la gauche. */
.map-explorer .me-stage { position: relative; width: min(100%, 520px); margin-inline: auto; }
.map-explorer .me-stage .base { width: 100%; height: auto; display: block; }
/* Les points sensibles ne sont pas redefinis ici : ils reprennent tels quels
   .hotspot de refonte.css, la version de la page d'accueil. Cette carte en
   avait sa propre declinaison — halo anime seulement sur le point actif,
   pastille blanche cerclee d'or au survol, transitions plus courtes — si bien
   que la meme carte s'animait de deux facons selon la page. La divergence est
   supprimee plutot que reecrite : une seule definition, partout.
   Le z-index fixe qui accompagnait cette declinaison mettait au passage tous
   les points sur le meme plan et laissait l'ordre du DOM recouvrir les
   etiquettes ; refonte.css remonte le point survole, ce qui les degage. */
.map-explorer .me-info { }
.me-fiche { margin-top: 1.2rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.me-fiche .cf-head { display: flex; align-items: center; gap: .8rem; }
.me-fiche .cf-flag { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; }
.me-fiche .cf-flag svg { width: 22px; height: 22px; }
.me-fiche .cf-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.45rem; color: var(--navy); line-height: 1.05; }
.me-fiche .cf-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.me-fiche .cf-meta { display: flex; gap: 2rem; margin-top: 1.2rem; }
.me-fiche .cf-meta b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--gold-600); font-size: 1.1rem; line-height: 1; }
.me-fiche .cf-meta span { font-size: .74rem; color: var(--muted); }
.me-fiche .cf-fact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* ---------- Principes / bento cards ---------- */
.principes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem,2.5vw,1.5rem); }
.principe { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.1rem); box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); overflow: hidden; }
.principe:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.principe .ic { width: 52px; height: 52px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin-bottom: 1rem; }
.principe .ic svg { width: 26px; height: 26px; }
.principe h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.3rem; }
.principe p { color: var(--muted); margin-top: .55rem; font-size: .98rem; }
.principe .num { position: absolute; right: 1.1rem; top: .8rem; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--line); }

/* ---------- Objectif band ---------- */
.objectif-band { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem,3vw,2.4rem); align-items: center; position: relative; overflow: hidden; }
.objectif-band .ob-ring { width: clamp(150px,20vw,210px); height: clamp(150px,20vw,210px); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) 50%, rgb(var(--white-rgb) / .16) 0); position: relative; flex: none; }
.objectif-band .ob-ring::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--navy); }
.objectif-band .ob-ring b { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 1.4vw, 3.1rem); color: var(--gold); }
.objectif-band h2 { color: var(--white); font-size: clamp(1.6rem,1.2rem+1.4vw,2.3rem); }
.objectif-band p { color: rgb(var(--white-rgb) / .84); margin-top: .7rem; max-width: 52ch; }
.objectif-band .ob-x2 { position: absolute; right: -20px; bottom: -30px; font-family: var(--font-display); font-weight: 800; font-size: 12rem; color: rgb(var(--white-rgb) / .05); line-height: 1; }

/* ---------- FACE — appel à candidature ---------- */
.face-cta {
  position: relative; overflow: visible;
  background: var(--gold);
  color: var(--navy-900); border-radius: 0;
  width: var(--vw); margin-inline: calc(50% - var(--vw) / 2);
  padding: clamp(2.4rem,4.5vw,3.6rem) max(clamp(1.8rem,4vw,3.4rem), calc(var(--vw) / 2 - 620px));
  margin-block: clamp(16px,2.4vw,26px);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.4rem,3vw,2rem);
}
.face-cta::before {
  content: ""; position: absolute; left: 0; right: 0;
  height: clamp(16px,2.2vw,26px); overflow: hidden;
  background: url("../img/refonte/torn-gold.svg") no-repeat center bottom / 100% auto;
  pointer-events: none;
  bottom: calc(100% - 1px); transform: scaleY(-1);
}
.face-cta .fcta-dots { position: absolute; right: clamp(1.4rem,4vw,3rem); bottom: clamp(1rem,3vw,1.8rem); width: clamp(96px,12vw,150px); height: clamp(82px,10vw,128px); background: url("../img/refonte/dots-cta.svg") no-repeat center / contain; opacity: .9; pointer-events: none; }
.face-cta .fcta-body { position: relative; z-index: 2; }
.face-cta .fcta-kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--navy-900); padding: .34rem .8rem; border: 1px solid rgb(var(--navy-900-rgb) / .35); border-radius: 999px; }
.face-cta h2 { color: var(--navy-900); font-size: clamp(1.7rem,1.2rem+1.7vw,2.5rem); line-height: 1.08; margin-top: 1rem; }
.face-cta p { color: rgb(var(--navy-900-rgb) / .82); margin-top: .8rem; max-width: 46ch; font-size: 1.02rem; line-height: 1.6; }
.face-cta .fcta-action { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.face-cta .fcta-btn { white-space: nowrap; padding: .95rem 1.7rem; font-size: 1rem; box-shadow: none; background: var(--navy); color: var(--white); border-color: var(--navy); }
.face-cta .fcta-btn:hover { background: var(--navy-900); color: var(--white); }
.face-cta .fcta-btn svg { transition: transform .22s ease; }
.face-cta .fcta-btn:hover svg { transform: translateX(4px); }
.face-cta .fcta-note { font-size: .82rem; color: rgb(var(--navy-900-rgb) / .65); }
/* CTA collé directement à la section précédente (blanc → bleu), puis au footer */
.section.cta-flush { padding-top: 0; padding-bottom: 0; background: var(--paper); }
.section.cta-flush.cream-flush { background: var(--cream); }
.cta-flush .face-cta { margin-top: 0; margin-bottom: 0; }
@media (max-width: 760px) {
  .face-cta .fcta-dots { display: none; }
  .face-cta .fcta-action { width: 100%; }
  .face-cta .fcta-btn { justify-content: center; flex: 1; }
}

/* ---------- Conseil — grille de membres ---------- */
.council-role { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.5vw,1.5rem); }
.council-role .cr { background: var(--white); border: 1px solid var(--line); border-radius: 8px !important; padding: 1.8rem 1.6rem; box-shadow: 0 18px 40px -30px rgb(var(--navy-900-rgb) / .4); position: relative; text-align: left; transition: transform .2s, box-shadow .2s; }
.council-role .cr:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgb(var(--navy-900-rgb) / .45); }
.council-role .cr .cr-num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--gold-200); }
.council-role .cr .ic { width: 46px; height: 46px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin: 0 0 1.1rem; }
.council-role .cr .ic svg { width: 23px; height: 23px; }
.council-role .cr h3 { font-family: var(--font-title); font-weight: 400; color: var(--navy); font-size: 1.15rem; }
.council-role .cr p { color: var(--muted); font-size: .92rem; margin-top: .5rem; line-height: 1.55; }

/* Section « Son rôle » : fond papier */
.conseil-role-sec { position: relative; background: var(--cream) url("../img/refonte/paper-bg.png") repeat; background-size: 420px 420px; }
.conseil-role-sec::after { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(120% 80% at 50% 0%, rgb(var(--white-rgb) / .5), transparent 60%); }
.conseil-role-sec > .wrap { position: relative; z-index: 1; }

/* Hero centré avec image de fond */
.conseil-hero { text-align: center; overflow: hidden; }
.conseil-hero .conseil-hero-bg { position: absolute; inset: 0; z-index: 0; background: url("../img/refonte/conseil-hero.jpg") center/cover no-repeat; opacity: .28; }
.conseil-hero::before { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgb(var(--navy-900-rgb) / .72), rgb(var(--navy-900-rgb) / .9)); }
.conseil-hero .wrap { position: relative; z-index: 2; }
.conseil-hero .breadcrumb { justify-content: center; }
.conseil-hero .ph-copy { max-width: 760px; margin-inline: auto; }
.conseil-hero .kicker { justify-content: center; }
.conseil-hero h1 { margin-inline: auto; }
.conseil-hero .ph-lead { margin-inline: auto; }
.conseil-hero .ph-stats { justify-content: center; gap: clamp(2rem,5vw,4rem); margin-top: 2rem; }
.conseil-hero .ph-stats .s { text-align: center; }

.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2.2vw,1.4rem); }
.member { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member .photo { position: relative; aspect-ratio: 1/1; }
.member .photo image-slot, .member .photo img { width: 100%; height: 100%; display: block; }
.member .plate { padding: .9rem 1rem 1.1rem; color: var(--white); }
.member .plate .nm { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.02rem; line-height: 1.15; }
.member .plate .ti { font-size: .78rem; color: rgb(var(--white-rgb) / .74); margin-top: .25rem; }
.member .plate .co { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; color: var(--gold); margin-top: .55rem; text-transform: uppercase; letter-spacing: .06em; }
.member .plate .co svg { width: 13px; height: 13px; }

/* ---------- Pays — onglets ---------- */
.pays-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.pays-tabs button { font-family: var(--body); font-weight: 700; font-size: .9rem; color: var(--white); background: rgb(var(--white-rgb) / .10); border: 1px solid rgb(var(--white-rgb) / .18); border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; transition: all .2s; }
.pays-tabs button:hover { background: rgb(var(--white-rgb) / .2); }
.pays-tabs button.active { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

/* ---------- Pays — explorateur (rail sticky + contenu) ---------- */
.pays-hero { padding-bottom: 0; }
.pays-hero .wrap { padding-top: clamp(1.2rem,2.5vw,1.8rem); padding-bottom: clamp(1.8rem,3.5vw,2.6rem); }
.pays-hero-copy { max-width: 60ch; }
.pays-hero-stats { display: flex; margin-top: clamp(1.8rem,3.5vw,2.6rem); border-top: 1px solid rgb(var(--white-rgb) / .16); padding-top: 1.4rem; max-width: 720px; }
.pays-hero-stats .s { flex: 1; padding-right: 1.4rem; }
.pays-hero-stats .s + .s { padding-left: 1.4rem; border-left: 1px solid rgb(var(--white-rgb) / .16); }
.pays-hero-stats .s b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--gold); font-size: clamp(2.6rem,2rem+1.8vw,3.6rem); line-height: .9; }
.pays-hero-stats .s span { display: block; font-size: .98rem; color: rgb(var(--white-rgb) / .82); margin-top: .15rem; }
.pays-hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: end; }
.pays-hero-meta { display: flex; gap: 1.8rem; justify-content: flex-end; }
.pays-hero-meta .s { text-align: right; }
.pays-hero-meta .s b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.pays-hero-meta .s span { font-size: .76rem; color: rgb(var(--white-rgb) / .72); }

.pays-explorer { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.6rem,3vw,2.6rem); align-items: start; padding-top: clamp(1.6rem,3vw,2.4rem); padding-bottom: clamp(2rem,5vw,4rem); }

/* RAIL */
.pays-rail { position: sticky; top: 132px; align-self: start; z-index: 30; }
.rail-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.1rem; }
.rail-map { position: relative; margin-bottom: 1rem; }
.rail-map .base { width: 100%; height: auto; display: block; }
.rail-map .hotspot { position: absolute; transform: translate(-50%,-50%); width: 16px; height: 16px; border: none; background: none; padding: 0; cursor: pointer; }
.rail-map .hotspot .pin { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2.5px solid var(--white); box-shadow: 0 1px 5px rgb(var(--navy-900-rgb) / .5); transition: transform .2s var(--ease); }
.rail-map .hotspot.active .pin { transform: scale(1.5); background: var(--white); box-shadow: 0 0 0 3px var(--gold); }
.rail-list { display: flex; flex-direction: column; gap: .25rem; max-height: 360px; overflow-y: auto; scrollbar-width: thin; }
.rail-item { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; background: none; border: none; border-radius: 8px; padding: .6rem .7rem; cursor: pointer; transition: background .18s; color: var(--navy); }
.rail-item:hover { background: var(--gold-050); }
.rail-item.active { background: var(--navy); }
.rail-item .ri-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; opacity: .55; transition: opacity .18s, transform .18s; }
.rail-item.active .ri-dot { opacity: 1; transform: scale(1.25); }
.rail-item .ri-text { display: flex; flex-direction: column; line-height: 1.15; }
.rail-item .ri-text b { font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.rail-item .ri-text span { font-size: .74rem; color: var(--muted); }
.rail-item.active .ri-text b { color: var(--white); }
.rail-item.active .ri-text span { color: rgb(var(--white-rgb) / .7); }
.rail-item .ri-ar { width: 16px; height: 16px; margin-left: auto; color: var(--gold-600); opacity: 0; transform: translateX(-5px); transition: all .18s; }
.rail-item:hover .ri-ar, .rail-item.active .ri-ar { opacity: 1; transform: none; }
.rail-item.active .ri-ar { color: var(--gold); }

/* CONTENU */
.pays-content { min-width: 0; }
.pc-head { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; animation: pc-in .4s var(--ease); }
.pc-title { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: clamp(2rem,1.5rem+1.8vw,2.9rem); line-height: 1; margin: .5rem 0 0; }
.pc-block { margin-bottom: clamp(2rem,4vw,3rem); animation: pc-in .45s var(--ease) both; }
.pc-block:nth-child(2) { animation-delay: .04s; } .pc-block:nth-child(3) { animation-delay: .08s; }
.pc-block:nth-child(4) { animation-delay: .12s; } .pc-block:nth-child(5) { animation-delay: .16s; }
@keyframes pc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-head, .pc-block { animation: none; } }
.pc-sub { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.3rem; margin: 0 0 1.1rem; }
.pc-blockhead { margin-bottom: 1.5rem; }
.pc-blockhead .pc-sub { margin: 0; }
.pc-blockhead .pc-note { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.pc-indics { grid-template-columns: repeat(2, 1fr); }
.pc-res { grid-template-columns: 1fr; }
.pc-staff { grid-template-columns: repeat(2, 1fr); }
.pays-content .objectif-band { border-radius: var(--radius); }

@media (min-width: 1200px) {
  .pc-indics { grid-template-columns: repeat(4, 1fr); }
  .pc-res { grid-template-columns: repeat(3, 1fr); }
  .pc-staff { grid-template-columns: repeat(4, 1fr); }
}

/* MOBILE : le rail devient une barre d'onglets sticky horizontale */
@media (max-width: 960px) {
  .pays-hero-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .pays-hero-meta { justify-content: flex-start; }
  .pays-hero-meta .s { text-align: left; }
  .pays-explorer { display: block; padding-top: 0; }
  .pays-rail { position: sticky; top: 64px; z-index: 40; margin: 0 -1.25rem; padding: 0; }
  .rail-card { border-radius: 0; border-left: none; border-right: none; border-top: none; box-shadow: var(--shadow-sm); padding: .6rem 1.25rem; background: rgb(var(--white-rgb) / .94); backdrop-filter: blur(12px); }
  .rail-map { display: none; }
  .rail-list { flex-direction: row; gap: .5rem; max-height: none; overflow-x: auto; overflow-y: visible; padding-bottom: .15rem; scroll-snap-type: x proximity; }
  .rail-item { flex: 0 0 auto; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; }
  .rail-item.active { border-color: var(--navy); }
  .rail-item .ri-text span, .rail-item .ri-ar { display: none; }
  .rail-item .ri-text b { font-size: .9rem; }
  .pays-content { padding-top: 1.8rem; }
}

/* indicators */
.indics { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2.2vw,1.4rem); }
.indic { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.indic .ic { width: 42px; height: 42px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin-bottom: .8rem; }
.indic .ic svg { width: 21px; height: 21px; }
.indic .big { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.9rem; line-height: 1; }
.indic .lab { color: var(--muted); font-size: .85rem; margin-top: .35rem; }

/* resources */
.res-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.2vw,1.4rem); }
.res { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.res:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.res .ic { width: 44px; height: 44px; border-radius: 8px; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: none; }
.res .ic svg { width: 22px; height: 22px; }
.res .nm { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.05rem; }
.res .meta { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* staff / focal points */
.staff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2.2vw,1.4rem); }
.staff { text-align: left; }
.staff .avatar { width: 100%; aspect-ratio: 1 / 1; margin: 0 0 .7rem; border-radius: 8px; overflow: hidden; }
.staff .avatar image-slot, .staff .avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.staff .nm { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.02rem; }
.staff .ti { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* generic intro split */
.intro-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.intro-split .media { position: relative; aspect-ratio: 5/4; }
.intro-split .media image-slot, .intro-split .media img { width: 100%; height: 100%; display: block; }
[data-dir="organique"] .intro-split .media { border-radius: 8px; overflow: hidden; }

/* section lead */
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin-top: 1rem; }

/* citation */
.po-quote { margin: 0; text-align: center; max-width: 60ch; margin-inline: auto; }
.po-quote svg { width: 40px; height: 40px; color: var(--gold); }
.po-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,1rem+1.4vw,1.9rem); color: var(--navy); line-height: 1.35; margin-top: 1rem; }

/* cta row */
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.center-head { text-align: center; }
.center-head .kicker { justify-content: center; }
.center-head h2 { text-align: center; }
.center-head .section-lead { margin-left: auto; margin-right: auto; }

/* ===========================================================
   CONSEIL — conseiller vedette + grille
   =========================================================== */
.council-feature { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(1.4rem,3vw,2.4rem); align-items: stretch; background: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; }hadow: var(--shadow-md); text-decoration: none; margin-top: 2.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.council-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cfeat-photo { position: relative; min-height: 320px; }
.cfeat-photo image-slot, .cfeat-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cfeat-body { color: var(--white); padding: clamp(1.6rem,3vw,2.6rem) clamp(1.4rem,3vw,2.4rem) clamp(1.6rem,3vw,2.6rem) 0; align-self: center; }
.cfeat-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-900); background: var(--gold); padding: .35rem .8rem; border-radius: 999px; }
.cfeat-badge svg { width: 14px; height: 14px; }
.cfeat-body h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.5rem,1.1rem+1.4vw,2.1rem); color: var(--white); margin: 1rem 0 0; line-height: 1.08; }
.cfeat-body p { color: rgb(var(--white-rgb) / .82); margin-top: .8rem; font-size: 1rem; max-width: 52ch; }
.cfeat-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-weight: 700; color: var(--gold); }
.cfeat-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.council-feature:hover .cfeat-link svg { transform: translateX(5px); }

.council-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2.2vw,1.4rem); margin-top: clamp(1.2rem,2.5vw,1.6rem); }
.cmember { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.cmember:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cm-photo { position: relative; aspect-ratio: 1/1; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.cmember { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cm-body :is(h3, h4) { transition: color .2s; }
.cmember:hover .cm-body :is(h3, h4) { color: var(--gold-600); }
.cm-photo image-slot, .cm-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cm-body { position: relative; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.cm-body :is(h3, h4) { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.04rem; line-height: 1.15; }
.cm-body p { color: var(--muted); font-size: .82rem; margin-top: .45rem; line-height: 1.4; }
.cm-link { position: absolute; top: -18px; right: 1rem; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(6px); transition: all .25s var(--ease); }
.cmember:hover .cm-link { opacity: 1; transform: none; }
.cm-link svg { width: 17px; height: 17px; }

/* ===========================================================
   FICHE CONSEILLER (single)
   =========================================================== */
.profil-hero { background: var(--navy); color: var(--white); padding: clamp(1.4rem,3vw,2rem) 0 clamp(2.4rem,5vw,3.6rem); position: relative; overflow: hidden; }
.profil-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(var(--gold-rgb) / .18), transparent 70%); }
.profil-hero .breadcrumb, .profil-hero .breadcrumb a { color: rgb(var(--white-rgb) / .7); }
.profil-hero .breadcrumb a:hover { color: var(--gold); }
.profil-back { display: inline-flex; align-items: center; gap: .55rem; margin: .8rem 0 1.8rem; color: rgb(var(--white-rgb) / .85); font-weight: 600; font-size: .9rem; transition: color .2s; }
.profil-back:hover { color: var(--gold); }
.profil-back .pb-ar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(var(--white-rgb) / .25); display: grid; place-items: center; transform: scaleX(-1); }
.profil-back .pb-ar svg { width: 15px; height: 15px; }
.profil-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; position: relative; z-index: 1; }
.profil-photo { aspect-ratio: 1/1; border-radius: 0; overflow: hidden; box-shadow: var(--shadow-md); max-width: 360px; }
.profil-photo image-slot, .profil-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profil-intro h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem,1.5rem+2vw,3.1rem); color: var(--white); line-height: 1.05; margin: .6rem 0 0; }
.profil-intro .kicker { color: var(--gold); }
.profil-role { color: rgb(var(--white-rgb) / .86); font-size: clamp(1rem,.96rem+.3vw,1.15rem); margin-top: 1rem; max-width: 52ch; }
.profil-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.profil-tags span { font-size: .78rem; font-weight: 700; color: var(--white); background: rgb(var(--white-rgb) / .12); border: 1px solid rgb(var(--white-rgb) / .18); padding: .4rem .85rem; border-radius: 999px; }

.profil-body { display: grid; grid-template-columns: 1.55fr .45fr; gap: clamp(1.6rem,4vw,3rem); align-items: start; }
.profil-bio h2 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: clamp(1.5rem,1.2rem+1vw,2rem); margin: .5rem 0 1.2rem; }
.profil-bio p { color: var(--ink); font-size: 1.02rem; line-height: 1.7; margin: 0 0 1.1rem; max-width: 68ch; }
.bio-lead { font-size: 1.14rem !important; color: var(--navy) !important; font-weight: 500; }

/* chiffres clés */
.bio-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(.7rem,1.6vw,1.1rem); margin: 0 0 2rem; }
.bio-metrics .bm { background: var(--cream); border-radius: 0; padding: 1.1rem 1.1rem 1rem; }
.bio-metrics .bm-v { font-family: var(--font-display); font-weight: 800; color: var(--gold-600); font-size: clamp(2.6rem,1.9rem+2.4vw,3.8rem); line-height: 1; }
.bio-metrics .bm-v span { font-size: .5em; color: var(--navy); margin-left: .15em; }
.bio-metrics .bm-l { font-size: .8rem; color: var(--muted); margin-top: .5rem; line-height: 1.3; }

.bio-block { margin: 2.2rem 0 0; }
.bio-h3 { display: block; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.18rem; line-height: 1.25; margin: 0 0 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }

/* frise de carrière */
.career-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.career-tl::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--gold-200)); }
.ct-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding: 0 0 1.5rem; }
.ct-item:last-child { padding-bottom: 0; }
.ct-marker { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--paper); }
.ct-marker svg { width: 21px; height: 21px; }
.ct-body { padding-top: .1rem; }
.ct-year { font-family: var(--font-display); font-weight: 800; color: var(--gold-600); font-size: .92rem; letter-spacing: .03em; }
.ct-body h4 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.1rem; margin: .15rem 0 0; }
.ct-body p { color: var(--muted); font-size: .94rem; line-height: 1.55; margin: .4rem 0 0; max-width: 60ch; }

/* initiatives */
.init-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; margin-top: 1.2rem; }
.init-intro { font-size: .98rem !important; color: var(--navy) !important; margin: 0 0 .4rem !important; }
.init-card { position: relative; background: var(--navy); color: var(--white); border-radius: 0; padding: 1.2rem 1.3rem; overflow: hidden; }
.init-card .init-no { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgb(var(--gold-rgb) / .28); position: absolute; right: .7rem; top: .2rem; line-height: 1; }
.init-card b { position: relative; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--gold); font-size: 1.12rem; padding-right: 2.2rem; display: block; }
.init-card .init-d { position: relative; display: block; font-size: .9rem; color: rgb(var(--white-rgb) / .85); margin-top: .5rem; line-height: 1.5; }

/* distinctions */
.distinction-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--gold-050); border: 1px solid var(--gold-200); border-radius: 0; padding: 1.4rem 1.5rem; }
.distinction-card .dc-ic { width: 42px; height: 42px; border-radius: 8px; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.distinction-card .dc-ic svg { width: 21px; height: 21px; }
.distinction-card p { margin: 0 !important; color: var(--navy) !important; font-size: .96rem !important; line-height: 1.6 !important; }

.profil-aside { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 1.2rem; }
.pa-card { background: var(--cream); border-radius: 0; padding: 1.4rem 1.5rem; }
.pa-card h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.1rem; margin: 0 0 1rem; }
.pa-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.pa-card li { display: flex; gap: .8rem; align-items: flex-start; }
.pa-card li .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--paper); color: var(--gold-600); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.pa-card li .ic svg { width: 20px; height: 20px; }
.pa-card li b { display: block; font-family: var(--font-display); color: var(--navy); font-size: .98rem; }
.pa-card li span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.pa-share { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .4rem; }
.pa-share > span { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pa-share-row { display: flex; gap: .5rem; }
.pa-share-row a { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; transition: all .2s; }
.pa-share-row a:hover { background: var(--navy); color: var(--white); }
.pa-share-row svg { width: 18px; height: 18px; }

/* contenus associés */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.2vw,1.4rem); margin-top: clamp(1.4rem,3vw,2rem); }
.related-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rc-media { aspect-ratio: 16/10; background: var(--cream); }
.rc-media image-slot, .rc-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rc-body { padding: 1.2rem 1.3rem 1.4rem; }
.rc-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gold-600); }
.rc-body h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.08rem; line-height: 1.25; margin: .5rem 0 .7rem; }
.rc-meta { font-size: .8rem; color: var(--muted); }

/* responsive */
@media (max-width: 960px) {
  .page-hero .ph-grid, .map-explorer, .intro-split { grid-template-columns: 1fr; }
  .page-hero .ph-media { max-width: 360px; margin-inline: auto; }
  /* Le filigrane passerait derrière le texte : sous 960 px il s'efface. */
  .page-hero.ph-plain .ph-bg::after { opacity: .05; width: 40%; right: -8%; }
  .members-grid, .staff-grid, .indics { grid-template-columns: repeat(2,1fr); }
  .council-role, .res-grid { grid-template-columns: 1fr; }
  .council-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .council-feature { grid-template-columns: 1fr; }
  .cfeat-photo { min-height: 260px; aspect-ratio: 16/10; }
  .cfeat-body { padding: 0 clamp(1.4rem,4vw,2rem) clamp(1.6rem,4vw,2.4rem); }
  .profil-grid { grid-template-columns: 1fr; }
  .profil-photo { max-width: 280px; }
  .profil-body { grid-template-columns: 1fr; }
  .profil-aside { position: static; }
  .bio-metrics { grid-template-columns: 1fr 1fr; }
  .init-grid { grid-template-columns: 1fr; }
  .objectif-band { grid-template-columns: 1fr; text-align: center; }
  .objectif-band .ob-ring { margin: 0 auto; }
}
@media (max-width: 560px) {
  .principes { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .council-grid, .related-grid { grid-template-columns: 1fr; }
  .indics { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   CONTACT
   =========================================================== */
.section.contact-paper { position: relative; background: var(--cream) url("../img/refonte/paper-bg.png") repeat; background-size: 420px 420px; }
.contact-paper::after {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 62%, rgb(var(--navy-rgb) / .05));
}
.contact-paper > .wrap { position: relative; z-index: 1; }

.c2-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem,4vw,3.4rem); align-items: start; }
.c2-step { display: flex; align-items: center; gap: .8rem; }
.c2-step-n { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--navy-900); background: var(--gold); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; flex: none; }
.c2-h { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: clamp(1.4rem,1.1rem+1vw,1.8rem); margin: 0; }

/* intent selector — compact */
.intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.2rem; }
.intent-card { position: relative; display: flex; align-items: center; gap: .7rem; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; padding: .7rem .85rem; padding-right: 2rem; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
.intent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold-200); }
.intent-card.on { border-color: var(--gold); background: var(--gold-050); box-shadow: var(--shadow-sm); }
.intent-card .ic { width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin: 0; transition: background .2s, color .2s; }
.intent-card.on .ic { background: var(--navy); color: var(--gold); }
.intent-card .ic svg { width: 19px; height: 19px; }
.intent-card .lb { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.15; }
.intent-card .ds { display: none; }
.intent-card .tick { position: absolute; top: 50%; right: .7rem; transform: translateY(-50%) scale(.7); width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; opacity: 0; transition: opacity .2s, transform .2s; }
.intent-card .tick svg { width: 12px; height: 12px; }
.intent-card.on .tick { opacity: 1; transform: translateY(-50%) scale(1); }

.c2-formsub { color: var(--muted); margin: .5rem 0 0; }
.c2-form { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: clamp(1.4rem,3vw,2rem); margin-top: 1.2rem; }
.c2-form form { display: flex; flex-direction: column; gap: 1rem; }
.c2-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 700; font-size: .82rem; color: var(--navy); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.c2-form input, .c2-form textarea { font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 8px; padding: .75rem .95rem; outline: none; transition: border-color .2s, background .2s; }
.c2-form input:focus, .c2-form textarea:focus { border-color: var(--gold); background: var(--white); }
.c2-form textarea { resize: vertical; min-height: 120px; }
.c2-form label.cf-check { flex-direction: row; align-items: center; justify-content: flex-start; gap: .6rem; font-weight: 500; font-size: .86rem; color: var(--muted); }
.cf-check input { width: 18px; height: 18px; accent-color: var(--gold-600); flex: none; }
.c2-form .btn { align-self: flex-start; margin-top: .3rem; }
.c2-privacy { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.c2-privacy svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.cf-sent { text-align: center; padding: 2.5rem 1rem; }
.cf-sent .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin: 0 auto 1rem; }
.cf-sent .ic svg { width: 30px; height: 30px; }
.cf-sent h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.4rem; }
.cf-sent p { color: var(--muted); margin: .5rem 0 1.4rem; }

/* aside contact card with map */
.c2-aside { position: sticky; top: 132px; }
.c2-card { background: var(--navy); color: var(--white); overflow: hidden; box-shadow: var(--shadow-md); }
.c2-map { position: relative; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); padding: 1.4rem 1.2rem 1.8rem; }
.c2-maprel { position: relative; width: 78%; max-width: 280px; margin: 0 auto; }
.c2-maprel img { width: 100%; display: block; filter: brightness(0) invert(1); opacity: .14; }
.c2-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translate(-50%,-50%); opacity: .8; }
.c2-hq { position: absolute; transform: translate(-50%,-50%); }
.c2-hq .hq-dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--gold); transform: translate(-50%,-50%); }
.c2-hq .hq-pulse { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); transform: translate(-50%,-50%); animation: c2ping 2s var(--ease) infinite; }
@keyframes c2ping { 0%{transform:translate(-50%,-50%) scale(1);opacity:.6;} 70%,100%{transform:translate(-50%,-50%) scale(4);opacity:0;} }
.c2-hq-label { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--navy-900); background: var(--gold); padding: .25rem .7rem; border-radius: 999px; }
.c2-card-body { padding: clamp(1.4rem,3vw,1.8rem); }
.c2-card-body h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--white); font-size: 1.25rem; margin: .4rem 0 0; line-height: 1.2; }
.c2-coords { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-direction: column; }
.c2-coords li > *, .c2-coords li { display: flex; align-items: flex-start; gap: .8rem; }
.c2-coords li { padding: .75rem 0; border-bottom: 1px solid rgb(var(--white-rgb) / .12); }
.c2-coords a { color: inherit; text-decoration: none; transition: color .2s; }
.c2-coords a:hover b { color: var(--gold); }
.c2-coords .ic { width: 36px; height: 36px; border-radius: 8px; background: rgb(var(--white-rgb) / .1); color: var(--gold); display: grid; place-items: center; flex: none; }
.c2-coords .ic svg { width: 17px; height: 17px; }
.c2-coords b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.c2-coords span { font-size: .9rem; color: rgb(var(--white-rgb) / .86); }
.c2-promise { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding: .9rem 1rem; background: rgb(var(--gold-rgb) / .14); border-radius: 8px; }
.c2-promise .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.c2-promise .ic svg { width: 18px; height: 18px; }
.c2-promise b { display: block; font-family: var(--font-display); color: var(--white); font-size: 1rem; }
.c2-promise span { font-size: .78rem; color: rgb(var(--white-rgb) / .7); }
.c2-socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.c2-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgb(var(--white-rgb) / .1); color: var(--white); display: grid; place-items: center; transition: all .2s; }
.c2-socials a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.c2-socials svg { width: 19px; height: 19px; }

/* FAQ */
.c2-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem,4vw,3rem); align-items: start; }
.c2-faq-intro .btn { margin-top: 1.4rem; }
.c2-faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; background: none; border: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.faq-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq-ic svg { width: 17px; height: 17px; }
.faq-item.open .faq-ic { transform: rotate(180deg); background: var(--gold); color: var(--navy-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .94rem; line-height: 1.55; }

@media (max-width: 980px) {
  .c2-grid { grid-template-columns: 1fr; }
  .c2-aside { position: static; }
  .c2-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .intent-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ===========================================================
   RESSOURCES — bibliothèque
   =========================================================== */
.featured-news { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.4rem,3vw,2.6rem); align-items: center; background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2.4rem); }
.featured-news .fn-body h2 { color: var(--navy); margin-top: .5rem; }
.featured-news .fn-body p { color: var(--muted); margin: .8rem 0 1.4rem; max-width: 48ch; }
.featured-news .fn-media { aspect-ratio: 16/11; overflow: hidden; box-shadow: var(--shadow-md); }
.featured-news .fn-media image-slot,
.featured-news .fn-media > img,
.featured-news .fn-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Variante « ressources » : la maquette pose la date en cartouche doré à cheval
   sur le bas de l'image. Le cadre blanc réserve la hauteur sous la photo, et
   le recadrage 16/11 passe donc sur .fn-img. */
.featured-news .fn-media.dated { aspect-ratio: auto; overflow: visible; position: relative; background: var(--paper); padding-bottom: 1.5rem; }
.featured-news .fn-img { aspect-ratio: 16/11; overflow: hidden; }
.featured-news .fn-date { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: var(--gold); color: var(--white); font-family: var(--font-title); font-size: clamp(1rem,1.7vw,1.3rem); line-height: 1.25; padding: .5rem 1.6rem; white-space: nowrap; }
/* Ressources : texte à gauche, couverture de la newsletter à droite. Les
   couvertures sont des pages entières, souvent en portrait : on les pose dans
   un encart blanc et on les affiche en entier (contain) plutôt que de les
   recadrer, sinon le titre de la une est mangé. */
.featured-news.stacked { grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.4rem,3vw,2.4rem); }
.featured-news.stacked .fn-body p { max-width: 56ch; }
.featured-news.stacked .fn-media.dated { padding: 1rem 1rem 2.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.featured-news.stacked .fn-img { aspect-ratio: 4/3; background: var(--cream); }
.featured-news.stacked .fn-img img { object-fit: contain; }
.featured-news.stacked .fn-date { bottom: .7rem; }

/* Actualités : la newsletter à la une précède la section des actus, qui pose le
   même fond. Sans ça les deux marges verticales s'additionnent et creusent un
   trou entre la carte et les filtres. */
.newsletter-une + .section.paper { padding-block-start: 0; }

.lib-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: clamp(1.6rem,3vw,2.2rem) 0 0; }
.lib-filters .chip { font-family: var(--body); font-weight: 700; font-size: .86rem; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; transition: all .2s; }
.lib-filters .chip:hover { border-color: var(--gold); color: var(--gold-600); }
.lib-filters .chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Le trait de pinceau sous le titre est centré sous ce titre-ci. */
[data-dir="organique"] .lib-head h2::after { background-position: center bottom; }

/* Trois colonnes sur grand écran, deux dès que les couvertures se resserrent. */
.lib-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2.4vw,1.8rem); margin-top: clamp(1.4rem,3vw,2rem); }
.doc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); animation: pc-in .4s var(--ease) both; }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dc-cover { position: relative; aspect-ratio: 5/3; background: var(--cream); overflow: hidden; }
.dc-cover image-slot,
.dc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Badge unique, en haut à gauche, dans le bleu du site. */
.dc-cover .dc-cat { position: absolute; top: .8rem; left: .8rem; z-index: 2; pointer-events: none; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--navy); padding: .3rem .6rem; border-radius: 8px; }
.dc-info { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.dc-title { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.08rem; line-height: 1.22; flex: 1; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.dc-meta { font-size: .84rem; color: var(--muted); }
/* Flèche vers le bas, comme dans la maquette : elle plonge au survol. */
.dc-dl { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.doc-card:hover .dc-dl { transform: translateY(2px); }
.dc-dl svg { width: 17px; height: 17px; }

.nl-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.4rem,3vw,2.4rem); align-items: center; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.8rem); }
.nl-band h2 { color: var(--white); margin-top: .4rem; }
.nl-band p { color: rgb(var(--white-rgb) / .82); margin-top: .7rem; }
.nlb-form { display: flex; align-items: stretch; gap: .6rem; }
.nlb-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; border: 1.5px solid transparent; border-radius: 999px; padding: .8rem 1.3rem; outline: none; }
.nlb-form input:focus { border-color: var(--gold); }
.nlb-form .btn { flex: none; }
@media (max-width: 520px) { .nlb-form { flex-direction: column; align-items: stretch; } .nlb-form .btn { justify-content: center; } }

/* ===========================================================
   AGENDA — process + instituts
   =========================================================== */
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.8rem,2vw,1.2rem); counter-reset: ps; }
.process-steps li { display: flex; align-items: center; gap: .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.process-steps .ps-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--gold); flex: none; }
.process-steps .ps-txt { font-weight: 600; color: var(--navy); font-size: .94rem; line-height: 1.25; }

.inst-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.inst-tabs button { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.3rem; cursor: pointer; transition: all .2s; }
.inst-tabs button:hover { border-color: var(--gold); }
.inst-tabs button.active { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.inst-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.4rem,3vw,2.4rem); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2.2rem); animation: pc-in .4s var(--ease); }
.inst-panel .ip-body h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.35rem; margin: .4rem 0 0; }
.inst-panel .ip-body p { color: var(--muted); margin-top: .7rem; }
.ip-lead { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ip-lead .ic { width: 44px; height: 44px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.ip-lead .ic svg { width: 22px; height: 22px; }
.ip-lead b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.02rem; }
.ip-lead span { font-size: .82rem; color: var(--muted); }
.ip-media { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; }
.ip-media image-slot { width: 100%; height: 100%; display: block; }

/* Trois couvertures ne tiennent plus lisiblement sous 1100 px. */
@media (max-width: 1100px) {
  .lib-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  .contact-grid, .featured-news, .featured-news.stacked, .nl-band, .inst-panel { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
/* Deux couvertures côte à côte deviennent illisibles sous 700 px. */
@media (max-width: 700px) {
  .lib-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ===========================================================
   CARTES À ANGLES DROITS (suppression des arrondis sur les cards)
   =========================================================== */
.me-fiche,
.principe,
.council-role .cr,
.member,
.rail-card,
.indic,
.res,
.contact-form,
.contact-info,
.featured-news,
.doc-card,
.dc-cover,
.dc-cover image-slot,
.nl-band,
.process-steps li,
.inst-panel,
.ip-media,
.ip-media image-slot,
.fn-media,
.fn-media image-slot,
.ci-map,
.ci-map image-slot,
.objectif-band,
.pays-content .objectif-band { border-radius: 0 !important; }


/* ---- Conseil : cards radius 8 ---- */
.council-role .cr, .council-feature, .cmember { border-radius: 8px !important; }

/* ---- Titres en Chelsea Market (override, assets ouaga) ---- */
.page-hero h1, .profil-intro h1, .pc-title, .cfeat-body h3, .profil-bio h2,
.bio-h3, .pc-sub, .c2-h, .featured-news .fn-body h2, .nl-band h2, .objectif-band h2 {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0;
}


/* ---- Décor assets ouaga : dots, guillemets, aplat ---- */
.page-hero { position: relative; }
.page-hero::after { content:""; position:absolute; right: clamp(1rem,4vw,3rem); bottom: clamp(1rem,3vw,2rem); width: 84px; height: 80px; background: url("../img/refonte/dots.svg") no-repeat center/contain; opacity:.9; pointer-events:none; z-index:1; }
.page-hero .wrap { position: relative; z-index: 2; }
.ph-torn { position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: var(--ph-torn-h, clamp(16px,2.2vw,26px)); overflow: hidden; background: url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto; pointer-events: none; z-index: 2; }

/* guillemets sur la citation */
.po-quote { position: relative; padding-top: 1.4rem; }
.po-quote svg { display: none; }
.po-quote::before { content:"\201C"; display:block; font-family:"Chelsea Market", var(--font-display); color: var(--gold); font-size: 7rem; line-height: .7; height: 3.4rem; }

/* encart aplat torn-paper (utilitaire) */
.aplat-band { position: relative; background: url("../img/refonte/aplat-navy.svg") no-repeat center/100% 100%; color:var(--white); padding: clamp(1.6rem,4vw,2.6rem) clamp(1.6rem,4vw,2.8rem); }

/* ============================================================
   ACTUALITÉS — liste + article
   ============================================================ */
/* Le titre casse après « actualités », comme dans la maquette. */
.page-template-actualites .page-hero h1 { max-width: 14ch; }

.actu-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.actu-filter { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: .88rem; line-height: 1.2; text-decoration: none; color: var(--navy); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem; cursor: pointer; transition: all .2s; }
.actu-filter:hover { border-color: var(--gold); color: var(--gold-600); }
.actu-filter.on { background: var(--navy); color: var(--white); border-color: var(--navy); }

.actu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,2.2vw,1.8rem); }
@media (max-width: 900px) { .actu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .actu-grid { grid-template-columns: 1fr; } }

.actu-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.actu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.actu-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.actu-media image-slot, .actu-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.actu-cat { position: absolute; left: .8rem; top: .8rem; z-index: 2; background: rgb(var(--navy-900-rgb) / .82); color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 8px; backdrop-filter: blur(4px); }
.actu-cat.solid { position: static; display: inline-block; background: var(--gold); color: var(--navy-900); margin-bottom: 1rem; }
.actu-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: rgb(var(--navy-900-rgb) / .5); border: 1.5px solid rgb(var(--white-rgb) / .7); color: var(--white); backdrop-filter: blur(4px); }
.actu-play svg { width: 18px; height: 18px; margin-left: 3px; }
.actu-play.big { width: 74px; height: 74px; }
.actu-play.big svg { width: 26px; height: 26px; }
.actu-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.actu-meta { display: flex; align-items: center; gap: .7rem; font-size: .76rem; color: var(--muted); font-weight: 600; }
.actu-meta .actu-read::before { content: "·"; margin-right: .7rem; color: var(--gold-600); }
.actu-body h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.28; }
/* Titres et chapô bornés : les rangées de la grille gardent le même rythme
   quelle que soit la longueur des titres saisis en administration. */
.actu-card:not(.feat) .actu-body h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actu-body p { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actu-more { margin-top: auto; padding-top: .3rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-600); font-weight: 700; font-size: .86rem; transition: color .2s; }
.actu-more svg { width: 15px; height: 15px; transition: transform .2s; }
/* Au survol de la carte, le lien passe en bleu — flèche comprise, elle hérite
   de currentColor — et le libellé se souligne. */
.actu-card:hover .actu-more { color: var(--navy); }
.actu-card:hover .actu-more span { text-decoration: underline; text-underline-offset: .18em; }
.actu-card:hover .actu-more svg { transform: translateX(3px); }

/* À la une */
.actu-featured { margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.actu-card.feat { display: grid; grid-template-columns: 1.15fr 1fr; }
.actu-card.feat .actu-media { aspect-ratio: auto; min-height: 320px; }
.actu-card.feat .actu-body { padding: clamp(1.6rem,3vw,2.6rem); gap: .7rem; justify-content: center; }
.actu-card.feat .actu-body h3 { font-size: clamp(1.4rem,1.1rem+1.1vw,2rem); -webkit-line-clamp: none; }
.actu-card.feat .actu-body p { font-size: 1rem; -webkit-line-clamp: 4; }
@media (max-width: 720px) { .actu-card.feat { grid-template-columns: 1fr; } .actu-card.feat .actu-media { min-height: 220px; } }
.actu-empty { color: var(--muted); padding: 2rem 0; text-align: center; }

/* Pagination */
/* Trois colonnes pour que la suite des numéros reste centrée même lorsqu'un
   seul des deux liens « Précédent » / « Suivant » est présent. */
.actu-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .35rem clamp(.6rem,1.6vw,1.2rem); margin-top: clamp(2rem,4vw,3rem); }
.actu-pager-list { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.actu-pager-arrow[rel="prev"] { grid-column: 1; justify-self: end; }
.actu-pager-arrow[rel="next"] { grid-column: 3; justify-self: start; }
.actu-pager-num { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .5rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; transition: all .2s; }
a.actu-pager-num:hover { border-color: var(--gold); color: var(--gold-600); }
.actu-pager-num.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.actu-pager-gap { color: var(--muted); padding: 0 .2rem; }
.actu-pager-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--gold-600); text-decoration: none; padding: .5rem .2rem; }
.actu-pager-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.actu-pager-arrow[rel="prev"] svg { transform: rotate(180deg); }
.actu-pager-arrow[rel="next"]:hover svg { transform: translateX(3px); }
.actu-pager-arrow[rel="prev"]:hover svg { transform: rotate(180deg) translateX(3px); }
@media (max-width: 520px) { .actu-pager-arrow span { display: none; } }

/* Article (single) — le hero s'appuie sur .page-hero, seules les nuances
   propres à l'article sont ici. */
/* Le hero de l'article occupe une colonne et demie de plus que celui d'une page
   de rubrique : à 60ch / 26ch, les titres d'articles — souvent longs, et le
   fonds en compte de très longs — se cassaient sur cinq à six lignes serrées
   contre le bord gauche, laissant la moitié droite du bandeau vide. Les deux
   largeurs sont multipliées par 1,5, ce qui ramène la quasi-totalité des titres
   du fonds à trois lignes au plus. */
.article-hero .art-head { max-width: 90ch; }
.article-hero h1 { font-size: clamp(1.8rem, 1.15rem + 1.9vw, 2.6rem); line-height: 1.1; max-width: 39ch; margin-top: 1rem; }
.article-hero .actu-cat.solid { font-size: .72rem; margin-bottom: 0; }
/* Faute de rubrique distincte, le fil d'ariane se termine par le titre de
   l'article : il est tronqué pour rester sur une ligne. */
.article-hero .breadcrumb span[aria-current] { max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Colonne de lecture : la photo de couverture et le texte partagent la même
   largeur, comme dans la maquette. */
.art-col { max-width: 820px; margin-inline: auto; }
.art-media { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: clamp(1.6rem,3vw,2.4rem); aspect-ratio: 16/9; background: var(--cream); }
.art-media image-slot, .art-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Vidéo de une : l'iframe du fournisseur (ou la balise <video>) occupe le même
   cadre 16/9 que la photo de couverture qu'elle remplace. Le fond passe au
   marine, les lettrages de chargement des lecteurs étant clairs. */
.art-media-video { background: var(--navy-900); }
.art-media-video iframe,
.art-media-video video,
.art-media-video > :is(div, p) > iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
/* wp_oembed_get() enveloppe l'iframe dans .wp-embed-aspect-* : ce conteneur
   doit s'effacer, le cadre étant déjà porté par la figure. */
.art-media-video .wp-embed-aspect-16-9,
.art-media-video [class*="wp-embed-aspect"] { position: absolute; inset: 0; padding: 0; }
/* Le chapô a le corps du texte courant : la maquette ne le distingue que par
   sa place, en tête d'article. */
.art-lead { font-size: 1.05rem; color: var(--ink); line-height: 1.75; margin-bottom: 1.1rem; }
/* Contenu riche (éditeur) — corps d'article comme blocs de contenu des pages.
   Le style est le même partout : .rte est le nom générique, .art-body reste
   posée sur les articles et partage les mêmes règles. */
.rte p, .art-body p { color: var(--ink); line-height: 1.75; margin-bottom: 1.1rem; font-size: 1.05rem; }
.rte img, .art-body img { max-width: 100%; height: auto; }
/* Le corps des articles vient de l'éditeur : intertitres, listes, liens et
   citations n'existent pas dans la maquette mais se rencontrent dans les
   contenus déjà publiés. */
.rte h2, .art-body h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); color: var(--navy); margin: 2.2rem 0 .9rem; }
.rte h3, .art-body h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); color: var(--navy); margin: 1.8rem 0 .7rem; }
.rte h4, .art-body h4 { font-size: 1.05rem; color: var(--navy); margin: 1.5rem 0 .6rem; }
.rte ul, .rte ol, .art-body ul, .art-body ol { margin: 0 0 1.1rem 1.2rem; color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.rte li, .art-body li { margin-bottom: .4rem; }
.rte a, .art-body a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.rte a:hover, .art-body a:hover { color: var(--navy); }
.rte blockquote, .art-body blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--gold); color: var(--navy); font-size: 1.1rem; }
.rte figure, .art-body figure { margin: 1.6rem 0; }
.rte figcaption, .art-body figcaption { margin-top: .5rem; font-size: .84rem; color: var(--muted); }

/* ---- Boutons du corps d'article -----------------------------------------
   Quarante et un articles portent un bouton : bloc « Bouton » de Gutenberg
   pour les récents (.wp-block-button__link), lien de l'ancien thème pour les
   plus anciens (a.btn.btn-default). Chacun s'affichait avec le style par
   défaut de son époque — bleu Gutenberg, gris Bootstrap, ambre du bloc, voire
   une couleur choisie à la main dans l'éditeur.

   Ils reprennent ici, au trait près, le bouton d'événement du header (« RAPO
   2025 » : .btn.btn-gold.btn-hdr) : fond or, filet or, libellé marine, flèche,
   et le même décollement au survol. Passer par la feuille de style plutôt que
   par une réécriture du contenu couvre aussi les boutons à venir, et ne touche
   pas au balisage enregistré en base.

   Les !important sont nécessaires deux fois. Sur le fond et la couleur :
   l'éditeur a posé des styles en ligne (style="background-color:#065de5") sur
   une partie de ces boutons, et un style en ligne l'emporte sur n'importe quel
   sélecteur. Sur les marges intérieures : assets/css/custom.css, la feuille de
   l'ancien thème encore chargée, impose un padding !important au bloc Bouton
   (.wp-block-button .wp-element-button, ligne 264). */
.art-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0; }
.art-body .wp-block-button { margin: 0; }

.art-body .wp-block-button__link,
.art-body .wp-element-button,
.art-body a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  /* Les valeurs calculées du bouton du header : hauteur de .btn-hdr, marges
     intérieures de [data-dir="organique"] .btn, qui l'emportent sur celles de
     .btn-hdr — c'est le rendu réel, pas la lecture ligne à ligne. */
  height: 42px; box-sizing: border-box; padding: .85rem 1.4rem !important;
  font-family: inherit; font-weight: 700; font-size: .8rem; letter-spacing: .005em;
  line-height: 1.2; white-space: nowrap; text-decoration: none;
  border: 1.5px solid var(--gold); border-radius: 8px;
  background: var(--gold) !important; color: var(--navy-900) !important;
  box-shadow: 0 8px 20px rgb(var(--gold-rgb) / .32);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  will-change: transform;
}

.art-body .wp-block-button__link:hover,
.art-body .wp-element-button:hover,
.art-body a.btn:hover {
  transform: translateY(-2px);
  background: var(--gold-light) !important;
  box-shadow: 0 12px 28px rgb(var(--gold-rgb) / .42);
}

/* La flèche du bouton du header, en masque : la couleur suit currentColor,
   donc le marine du libellé. */
.art-body .wp-block-button__link::after,
.art-body .wp-element-button::after,
.art-body a.btn::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--po-arrow) center / contain no-repeat;
  mask: var(--po-arrow) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.art-body .wp-block-button__link:hover::after,
.art-body .wp-element-button:hover::after,
.art-body a.btn:hover::after { transform: translateX(2px); }

/* La variante « contour » du bloc Bouton et les couleurs de texte choisies dans
   l'éditeur ne survivent pas : l'unicité du bouton est le but. */
.art-body .wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--gold); }

/* Libellés longs — « Télécharger et lire le résumé » — sur mobile : le bouton
   passe sur plusieurs lignes plutôt que de déborder de la colonne. */
@media (max-width: 600px) {
  .art-body .wp-block-button__link,
  .art-body .wp-element-button,
  .art-body a.btn { white-space: normal; height: auto; min-height: 42px; text-align: center; }
}
.art-share { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.art-share > span { font-weight: 700; color: var(--navy); font-size: .9rem; }
.art-share-ic { display: flex; gap: .5rem; }
.art-share-ic a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--navy); border: 1px solid var(--line); transition: all .2s; }
.art-share-ic a:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-2px); }
.art-share-ic svg { width: 17px; height: 17px; }
.art-backrow { margin-top: clamp(1.8rem,3vw,2.6rem); }

/* ============================================================
   STRATÉGIE — axes
   ============================================================ */
.axes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.4rem); }
@media (max-width: 900px) { .axes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .axes-grid { grid-template-columns: 1fr; } }
.axis-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem 1.4rem; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.axis-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.axis-ic { width: 50px; height: 50px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; margin-bottom: 1rem; position: relative; z-index: 1; }
.axis-ic svg { width: 25px; height: 25px; }
.axis-card h3 { position: relative; z-index: 1; color: var(--navy); font-size: 1.12rem; margin-bottom: .4rem; }
.axis-card p { position: relative; z-index: 1; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.axis-num { position: absolute; right: .9rem; top: .4rem; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; color: var(--gold-050); line-height: 1; z-index: 0; }

/* ---- Explorateur de leviers (liste interactive + panneau illustré) ---- */
.lev-explorer { display: grid; grid-template-columns: minmax(min(320px, 100%), 5fr) 7fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.lev-list { display: flex; flex-direction: column; gap: .6rem; }
.lev-item { display: flex; gap: 1rem; align-items: flex-start; text-align: left; font: inherit; cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 1rem 1.1rem; transition: background .25s var(--ease), border-color .25s var(--ease); }
.lev-item:hover { background: rgb(var(--white-rgb) / .6); }
.lev-item.is-active { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.lev-num { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--gold-600); opacity: .55; padding-top: .35rem; min-width: 2ch; transition: opacity .25s; }
.lev-item.is-active .lev-num { opacity: 1; }
.lev-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lev-head { display: flex; align-items: center; gap: .65rem; }
.lev-ic { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; transition: background .25s, color .25s; }
.lev-ic svg { width: 18px; height: 18px; }
.lev-item.is-active .lev-ic { background: var(--gold); color: var(--navy-900); }
.lev-title { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.1rem; }
.lev-text { color: var(--muted); font-size: .92rem; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .4s var(--ease), opacity .35s var(--ease), margin-top .4s var(--ease); }
.lev-item.is-active .lev-text { max-height: 8em; opacity: 1; margin-top: .5rem; }
.lev-progress { display: block; height: 3px; border-radius: 2px; background: var(--line); margin-top: 0; max-height: 0; overflow: hidden; transition: max-height .3s, margin-top .3s; }
.lev-item.is-active .lev-progress { max-height: 3px; margin-top: .85rem; }
.lev-progress-bar { display: block; height: 100%; width: 100%; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.lev-progress-bar.is-running { animation: lev-fill 6s linear forwards; }
@keyframes lev-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .lev-progress { display: none; } }

.lev-stage { position: relative; min-height: 420px; }
.lev-panel { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lev-panel.is-active { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.lev-panel image-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.lev-bg { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); display: grid; place-items: center; }
.lev-bg svg { width: 38%; height: 38%; max-width: 220px; max-height: 220px; color: var(--navy); opacity: .22; }
.lev-caption { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: var(--display-weight); font-size: .95rem; padding: .55rem .95rem .55rem .6rem; border-radius: 999px; box-shadow: var(--shadow-md); }
.lev-caption-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; }
.lev-caption-ic svg { width: 14px; height: 14px; }
.lev-ghost { position: absolute; top: -.55em; right: .1em; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 6vw, 6.5rem); line-height: 1; color: var(--gold); -webkit-text-stroke: 0; text-shadow: 0 2px 0 var(--cream), 0 -2px 0 var(--cream), 2px 0 0 var(--cream), -2px 0 0 var(--cream); pointer-events: none; }
.lev-dots { position: absolute; left: -2.2rem; bottom: -2rem; width: 110px; opacity: .8; pointer-events: none; z-index: 0; }

@media (max-width: 900px) {
  .lev-explorer { grid-template-columns: 1fr; }
  .lev-stage { min-height: 0; height: 300px; order: -1; }
  .lev-dots { display: none; }
}

/* ============================================================
   SOCIÉTÉ CIVILE — page dédiée
   ============================================================ */
.scv-navy { background: var(--navy); color: var(--white); position: relative; padding-block: clamp(2.5rem, 4vw, 4rem); margin-block: clamp(1.2rem, 2.5vw, 2rem); }
.scv-navy::before, .scv-navy::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(16px, 2.2vw, 26px); overflow: hidden; background: url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto; pointer-events: none; }
.scv-navy::before { bottom: calc(100% - 1px); transform: scaleY(-1); }
.scv-navy::after { top: calc(100% - 1px); }
.scv-navy h2 { color: var(--white); }
.scv-navy .kicker.gold { color: var(--gold); }
.scv-navy-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.scv-navy-media { position: relative; min-height: 380px; }
.scv-navy-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.scv-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .9rem; }
.scv-points li { display: flex; gap: .8rem; align-items: flex-start; color: rgb(var(--white-rgb) / .88); font-size: .98rem; line-height: 1.55; }
.scv-points li svg { flex: none; width: 22px; height: 22px; margin-top: .1em; color: var(--navy-900); background: var(--gold); border-radius: 50%; padding: 4px; }
.scv-vision { margin-top: 1.8rem; border-left: 3px solid var(--gold); padding: .3rem 0 .3rem 1.2rem; }
.scv-vision-k { display: block; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.scv-vision p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--white); }
@media (max-width: 900px) {
  .scv-navy-grid { grid-template-columns: 1fr; }
  .scv-navy-media { min-height: 260px; order: -1; }
}

/* ---- Frise actions phares ---- */
.scv-tl-years { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.scv-year { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--navy); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1.15rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.scv-year:hover { border-color: var(--gold); color: var(--gold-600); }
.scv-year.on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.scv-tl-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.scv-tl-card { position: relative; background: var(--cream); border-radius: 16px; padding: clamp(1.6rem, 3vw, 2.4rem); animation: scv-in .45s var(--ease); }
@keyframes scv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scv-tl-card { animation: none; } }
.scv-tl-badge { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .05em; background: var(--gold); color: var(--navy-900); border-radius: 999px; padding: .35rem .9rem; margin-bottom: 1rem; }
.scv-tl-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .7rem; }
.scv-tl-card p { color: var(--muted); line-height: 1.65; }
.scv-tl-card p + p { margin-top: .7rem; }
.scv-tl-media { position: relative; min-height: 300px; }
.scv-tl-shot { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scv-tl-shot.on { opacity: 1; transform: none; pointer-events: auto; }
.scv-tl-shot image-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 900px) {
  .scv-tl-grid { grid-template-columns: 1fr; }
  .scv-tl-media { min-height: 240px; }
}

/* ---- Formulaire d'engagement (bande pleine largeur, bords déchirés) ---- */
.scv-form { position: relative; display: grid; grid-template-columns: 5fr 7fr; background: var(--navy); width: var(--vw); margin-inline: calc(50% - var(--vw) / 2); margin-block: clamp(2rem, 4vw, 3.5rem); }
.scv-form::before, .scv-form::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(16px, 2.2vw, 26px); overflow: hidden; background: url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto; pointer-events: none; }
.scv-form::before { bottom: calc(100% - 1px); transform: scaleY(-1); }
.scv-form::after { top: calc(100% - 1px); }
.scv-form-media { position: relative; min-height: 320px; }
.scv-form-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.scv-form-body { position: relative; padding: clamp(2.4rem, 5vw, 4rem) clamp(1.6rem, 6vw, 6rem) clamp(2.4rem, 5vw, 4rem) clamp(2rem, 4vw, 3.2rem); color: var(--white); }
.scv-form-body h2 { color: var(--white); margin: .6rem 0 .8rem; }
.scv-form-lead { color: rgb(var(--white-rgb) / .85); line-height: 1.6; max-width: 52ch; text-wrap: pretty; }
.scv-form-steps { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: flex; flex-direction: column; gap: .65rem; }
.scv-form-steps li { display: flex; align-items: center; gap: .8rem; color: rgb(var(--white-rgb) / .92); font-size: .96rem; }
.scv-form-steps li b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
@media (max-width: 900px) {
  .scv-form { grid-template-columns: 1fr; }
  .scv-form-media { min-height: 220px; }
}

/* ---- Points focaux ---- */
.scv-focaux-head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.scv-focaux-lead { color: var(--muted); line-height: 1.6; font-size: 1rem; margin-top: .9rem; max-width: 42ch; text-wrap: pretty; }
.scv-missions { display: flex; flex-direction: column; gap: .7rem; }
.scv-mission { display: flex; gap: .9rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .95rem 1.1rem; }
.scv-mission-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; }
.scv-mission-ic svg { width: 20px; height: 20px; }
.scv-mission h3 { color: var(--navy); font-size: .98rem; margin-bottom: .15rem; }
.scv-mission p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 900px) { .scv-focaux-head { grid-template-columns: 1fr; } }
.team-grid.scv-focaux-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .team-grid.scv-focaux-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid.scv-focaux-grid { grid-template-columns: 1fr 1fr; } }
.scv-pays { font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .3rem; }

/* ============================================================
   NOTRE ÉQUIPE — directrice à la une + trombinoscope
   ============================================================ */
.eq-feat { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; background: var(--gold); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.eq-feat-photo { position: relative; aspect-ratio: 4/4.4; background: var(--navy); border-radius: 6px; transform: rotate(-3deg); box-shadow: var(--shadow-md); }
.eq-feat-photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.eq-feat-body h2 { color: var(--navy); margin-bottom: .2rem; }
.eq-feat-role { display: block; font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); opacity: .75; margin-bottom: 1rem; }
.eq-feat-body p { color: var(--navy-900); line-height: 1.65; max-width: 58ch; text-wrap: pretty; }
.eq-feat-btn { margin-top: 1.4rem; background: var(--navy); color: var(--white); }
.eq-feat-btn:hover { background: var(--navy-900); }
.eq-feat-dots { position: absolute; right: 1.6rem; top: 1.4rem; width: 74px; opacity: .55; pointer-events: none; filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(2600%) hue-rotate(215deg) brightness(95%); }
@media (max-width: 800px) { .eq-feat { grid-template-columns: 1fr; } .eq-feat-photo { max-width: 260px; } }

.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.2rem, 2vw, 1.8rem); align-items: end; }
@media (max-width: 900px) { .eq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .eq-grid { grid-template-columns: 1fr 1fr; } }
.eq-card { display: flex; flex-direction: column; }
.eq-photo { position: relative; aspect-ratio: 1/1.04; z-index: 1; }
.eq-photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.eq-plate { position: relative; z-index: 0; background: var(--gold); padding: 1.9rem 1.1rem 1rem; margin: -1.4rem .55rem 0; text-align: center; box-shadow: var(--shadow-sm); }
.eq-nm { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.08rem; line-height: 1.2; }
.eq-ti { margin-top: .35rem; font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--white-rgb) / .95); }
.eq-panel { grid-column: span 2; align-self: stretch; background: var(--navy); color: var(--white); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.eq-panel h3 { color: var(--gold); font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8rem; }
.eq-panel p { color: rgb(var(--white-rgb) / .88); line-height: 1.65; font-size: .95rem; }
@media (max-width: 540px) { .eq-panel { grid-column: span 2; } }

/* ---- Flow (process en étapes) ---- */
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; max-width: 980px; margin: 0 auto; counter-reset: none; }
.flow-step { display: flex; align-items: center; gap: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.3rem .7rem .7rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.flow-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }

/* ---- Équipe (trombinoscope) ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.5rem); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; text-align: center; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar { position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; background: var(--cream); margin-bottom: .9rem; }
.team-avatar image-slot, .team-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.team-nm { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.02rem; line-height: 1.2; }
.team-ti { color: var(--muted); font-size: .84rem; margin-top: .25rem; }

/* ---- Appels à candidature ---- */
.calls-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem,2vw,1.5rem); }
@media (max-width: 720px) { .calls-grid { grid-template-columns: 1fr; } }
.call-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .2s, box-shadow .2s; }
.call-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.call-card.closed { opacity: .7; }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.call-tag { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; }
.call-tag.open { background: var(--state-ok-bg); color: var(--state-ok-ink); }
.call-tag.soon { background: var(--gold-050); color: var(--gold-600); }
.call-tag.closed { background: var(--grey-050); color: var(--grey-500); }
.call-deadline { font-size: .8rem; color: var(--muted); font-weight: 600; }
.call-card h3 { color: var(--navy); font-size: 1.2rem; line-height: 1.25; }
.call-meta { font-size: .82rem; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .03em; }
.call-text { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.call-cta { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-600); font-weight: 700; font-size: .9rem; text-decoration: none; }
.call-cta svg { width: 15px; height: 15px; transition: transform .2s; }
.call-cta:hover svg { transform: translateX(3px); }
.call-cta.off { color: var(--muted); pointer-events: none; }

/* ============================================================
   RECHERCHE — page de résultats
   ============================================================ */
/* Formulaire de recherche des pages Recherche et 404. Il vit sur fond clair :
   le champ reprend les couleurs du site. L'ancienne version, blanche sur fond
   translucide, venait d'un bandeau marine et devenait blanc sur blanc ici. */
.srch-form { display: flex; justify-content: center; margin-top: 1.6rem; }
.srch-form .header-search { flex: 0 1 auto; width: min(100%, 520px); max-width: none; }
.srch-form .header-search input { color: var(--ink); font-size: .95rem; }
.srch-form .header-search input::placeholder { color: var(--muted); }
.srch-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.4rem,2.5vw,2rem); }
.srch-count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; margin-left: .5rem; border-radius: 999px; background: rgb(var(--navy-rgb) / .08); font-size: .74rem; font-weight: 800; }
.actu-filter.on .srch-count { background: rgb(var(--white-rgb) / .18); }
.srch-results { display: flex; flex-direction: column; gap: .7rem; max-width: 860px; }
.srch-item { display: flex; align-items: flex-start; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.25rem; text-decoration: none; color: inherit; transition: transform .16s, box-shadow .16s, border-color .16s; }
.srch-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgb(var(--gold-rgb) / .5); }
.srch-type { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 8px; margin-top: .1rem; }
.srch-type.t-P { background: var(--gold-050); color: var(--gold-600); }
.srch-type.t-A { background: var(--navy-050); color: var(--navy); }
.srch-type.t-D { background: var(--state-ok-bg); color: var(--state-ok-ink); }
.srch-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.srch-body b { color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.srch-desc { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.srch-meta { color: var(--gold-600); font-size: .78rem; font-weight: 700; }
.srch-go { flex: none; width: 18px; height: 18px; color: var(--gold-600); opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s; margin-top: .3rem; }
.srch-item:hover .srch-go { opacity: 1; transform: none; }
.srch-empty { color: var(--muted); max-width: 60ch; padding: 1rem 0 2rem; }
.srch-empty b { color: var(--navy); }
.srch-empty p { margin-bottom: .4rem; }

/* ============================================================
   CONSEIL — table interactive des conseillers
   ============================================================ */
.ctable { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.2rem,2.5vw,2rem); align-items: stretch; margin-top: clamp(1.6rem,3vw,2.4rem); }
.ctable-list { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.ctable-list-head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctable-seats { color: var(--gold-600); }
.ctable-scroll { max-height: 430px; overflow-y: auto; }
.ctable-item { width: 100%; display: flex; align-items: center; gap: .85rem; padding: .8rem 1.1rem; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: background .18s; }
.ctable-item:last-child { border-bottom: 0; }
.ctable-item:hover, .ctable-item.active { background: var(--gold-050); }
.ctable-item.active { box-shadow: inset 3px 0 0 var(--gold); }
.ci-num { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--gold-600); flex: none; width: 1.6rem; }
.ci-txt { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.ci-txt b { font-size: .95rem; color: var(--navy); line-height: 1.2; }
.ci-txt span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctable-detail { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ctable-photo { position: relative; align-self: center; aspect-ratio: 4/5; min-height: 0; margin: clamp(1.1rem,2.5vw,1.7rem); border-radius: 8px; overflow: hidden; background: var(--navy); }
.ctable-photo image-slot, .ctable-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ctable-info { padding: clamp(1.4rem,3vw,2.2rem); display: flex; flex-direction: column; }
.ctable-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; background: var(--gold); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.ctable-badge svg { width: 13px; height: 13px; }
.ctable-info h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.3rem,1rem+1vw,1.75rem); color: var(--navy); margin: 1rem 0 .6rem; }
.ctable-info p { color: var(--muted); line-height: 1.6; font-size: .98rem; }
.ctable-nav { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.ctable-nav button { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: all .18s; }
.ctable-nav button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ctable-nav button svg { width: 18px; height: 18px; }
.ctable-count { margin-left: .4rem; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .ctable { grid-template-columns: 1fr; } .ctable-detail { grid-template-columns: 1fr; } .ctable-photo { min-height: 240px; } }

/* CONSEIL — explore + mouvement */
.cc-explore { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2vw,1.6rem); margin-top: clamp(1.6rem,3vw,2.4rem); }
@media (max-width: 700px){ .cc-explore { grid-template-columns: 1fr; } }
.cc-xcard { display: flex; align-items: center; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem 1.4rem; transition: transform .18s, box-shadow .18s; }
.cc-xcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc-xi { width: 48px; height: 48px; flex: none; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; }
.cc-xi svg { width: 22px; height: 22px; }
.cc-xt { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.cc-xt b { font-family: var(--font-title); font-weight: 400; font-size: 1.15rem; color: var(--navy); }
.cc-xt span { color: var(--muted); font-size: .9rem; }
.cc-xarrow { color: var(--gold-600); flex: none; }
.cc-movement { background: var(--navy); color: var(--white); text-align: center; padding-block: clamp(3rem,6vw,5rem); }
.cc-movement .wrap { max-width: 760px; }
.cc-movement .kicker { justify-content: center; color: var(--gold); }
.cc-movement .kicker::before { background: var(--gold); }
.cc-movement h2 { font-family: var(--font-title); font-weight: 400; color: var(--white); font-size: clamp(1.7rem,1.2rem+1.8vw,2.6rem); margin: 1rem 0; line-height: 1.14; }
.cc-movement p { color: rgb(var(--white-rgb) / .82); max-width: 52ch; margin: 0 auto 1.8rem; line-height: 1.6; }

/* ============================================================
   CONSEIL — refonte (hero motif + table roster/détail) · radius 8
   ============================================================ */
.co-hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); isolation: isolate; }
.co-hero::before { content: ""; position: absolute; left: 50%; bottom: -42%; width: min(120%, 1100px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, transparent 0 38%, rgb(var(--gold-rgb) / .16) 38% 38.4%, transparent 38.4% 49%, rgb(var(--gold-rgb) / .12) 49% 49.4%, transparent 49.4% 60%, rgb(var(--gold-rgb) / .08) 60% 60.4%, transparent 60.4%);
  pointer-events: none; z-index: 0; }
.co-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 110% at 50% -10%, rgb(var(--gold-rgb) / .22), transparent 60%); pointer-events: none; z-index: 0; }
.co-hero .wrap { position: relative; z-index: 2; padding-block: clamp(2.4rem,5vw,4.2rem) clamp(3rem,5vw,4.4rem); text-align: center; }
.co-hero .breadcrumb { justify-content: center; color: rgb(var(--white-rgb) / .6); }
.co-hero .breadcrumb a { color: rgb(var(--white-rgb) / .6); }
.co-hero .kicker { color: var(--gold); justify-content: center; }
.co-hero h1 { color: var(--white); font-size: clamp(2.1rem,1.5rem+3vw,3.6rem); line-height: 1.04; margin: .6rem auto 0; max-width: 20ch; }
.co-hero h1 .accent { color: var(--gold); }
.co-hero .co-lead { margin: 1.1rem auto 0; max-width: 60ch; color: rgb(var(--white-rgb) / .85); font-size: clamp(1rem,.96rem+.3vw,1.18rem); line-height: 1.6; }
.co-hero .co-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.8rem,4vw,3.6rem); margin-top: clamp(1.8rem,3vw,2.6rem); }
.co-hero .co-stat b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--gold); font-size: clamp(1.9rem,1.3rem+1.8vw,2.8rem); line-height: 1; }
.co-hero .co-stat span { display: block; margin-top: .35rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--white-rgb) / .7); }
.co-hero .ph-torn { position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: clamp(16px,2.2vw,26px); overflow: hidden; background: url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto; pointer-events: none; z-index: 1; }

/* Missions (3 rôles) */
.co-missions { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.4vw,1.6rem); margin-top: clamp(1.8rem,3vw,2.6rem); }
.co-mission { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.4rem,2.6vw,2rem); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.co-mission:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -38px rgb(var(--navy-950-rgb) / .55); }
.co-mission .mi { width: 52px; height: 52px; display: grid; place-items: center; background: rgb(var(--gold-rgb) / .16); color: var(--gold-600); border-radius: 50%; }
.co-mission .mi svg { width: 24px; height: 24px; }
.co-mission .mtag { position: absolute; right: 1.1rem; top: 1.1rem; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; color: var(--gold-200); }
.co-mission h3 { font-family: var(--font-title); font-weight: 400; color: var(--navy); font-size: 1.2rem; margin-top: 1rem; }
.co-mission p { color: var(--muted); margin-top: .55rem; font-size: .98rem; line-height: 1.65; }
@media (max-width: 760px) { .co-missions { grid-template-columns: 1fr; } }

/* Table du Conseil : roster + détail */
.co-table { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.4rem,3vw,2.6rem); align-items: start; margin-top: clamp(1.8rem,3vw,2.6rem); }
.co-roster { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; position: sticky; top: 80px; }
.co-roster-head { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.co-roster-head .t { font-family: var(--font-title); font-weight: 400; color: var(--navy); font-size: 1.05rem; }
.co-roster-head .n { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.co-roster-list { max-height: 460px; overflow-y: auto; }
.co-seat { display: flex; align-items: flex-start; gap: .7rem; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: .6rem 1rem; border-bottom: 1px solid var(--line); position: relative; transition: background .18s; }
.co-seat:last-child { border-bottom: 0; }
.co-seat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: center; transition: transform .22s var(--ease); }
.co-seat:hover { background: rgb(var(--navy-rgb) / .04); }
.co-seat .sn { flex: none; font-family: var(--font-display); font-weight: var(--display-weight); font-size: .85rem; color: var(--muted); width: 1.4rem; line-height: 1.3; }
.co-seat .si { min-width: 0; flex: 1; }
.co-seat .si .snm { display: block; font-weight: 700; color: var(--navy); font-size: .86rem; line-height: 1.25; }
.co-seat .si .sro { display: block; font-size: .72rem; color: var(--muted); margin-top: .12rem; line-height: 1.35; text-wrap: pretty; }
.co-seat.on { background: var(--navy); }
.co-seat.on::before { transform: scaleY(1); }
.co-seat.on .sn { color: var(--gold); }
.co-seat.on .si .snm { color: var(--white); }
.co-seat.on .si .sro { color: rgb(var(--white-rgb) / .72); }
.co-detail { position: relative; }
.co-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 300px 1fr; box-shadow: 0 30px 66px -46px rgb(var(--navy-950-rgb) / .55); min-height: 420px; }
.co-card-photo { position: relative; background: var(--cream); }
.co-card-photo image-slot, .co-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.co-card-photo .seatnum { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--gold); color: var(--navy-900); border-radius: 8px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: .85rem; padding: .35rem .7rem; }
.co-card-body { padding: clamp(1.6rem,3vw,2.6rem); display: flex; flex-direction: column; }
.co-mtag { align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; background: rgb(var(--gold-rgb) / .18); color: var(--gold-600); border-radius: 999px; font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .8rem; }
.co-mtag svg { width: 14px; height: 14px; }
.co-card-body .cnm { font-family: var(--font-title); font-weight: 400; color: var(--navy); font-size: clamp(1.5rem,1.2rem+1.2vw,2.1rem); line-height: 1.12; margin-top: 1rem; }
.co-card-body .cbio { color: var(--navy); font-size: 1.05rem; line-height: 1.7; margin-top: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.co-card-nav { margin-top: auto; display: flex; align-items: center; gap: .8rem; padding-top: 1.6rem; }
.co-nav-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.co-nav-btn:hover { background: var(--gold); color: var(--navy-900); transform: scale(1.06); }
.co-nav-btn svg { width: 18px; height: 18px; }
.co-nav-count { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1rem; }
.co-nav-count b { color: var(--gold-600); }

/* Aller plus loin */
.co-links { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2.4vw,1.6rem); margin-top: clamp(1.6rem,3vw,2.2rem); }
.co-link { display: flex; align-items: center; gap: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.3rem,2.4vw,1.8rem); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.co-link:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -38px rgb(var(--navy-950-rgb) / .55); border-color: rgb(var(--gold-rgb) / .5); }
.co-link-ic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--gold-rgb) / .16); color: var(--gold-600); }
.co-link-ic svg { width: 26px; height: 26px; }
.co-link-tx { display: flex; flex-direction: column; min-width: 0; }
.co-link-k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.co-link-t { font-family: var(--font-title); font-weight: 400; color: var(--navy); font-size: 1.3rem; line-height: 1.1; margin-top: .25rem; }
.co-link-d { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: .4rem; }
.co-link-go { flex: none; width: 22px; height: 22px; color: var(--navy); margin-left: auto; transition: transform .25s var(--ease); }
.co-link:hover .co-link-go { transform: translateX(5px); color: var(--gold-600); }
@media (max-width: 860px) {
  .co-links { grid-template-columns: 1fr; }
  .co-table { grid-template-columns: 1fr; }
  .co-roster { position: static; }
  .co-roster-list { display: flex; overflow-x: auto; scrollbar-width: none; max-height: none; }
  .co-roster-list::-webkit-scrollbar { display: none; }
  .co-seat { flex: none; width: auto; max-width: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
  .co-seat .si .sro { display: none; }
  .co-card { grid-template-columns: 1fr; min-height: 0; }
  .co-card-photo { aspect-ratio: 4 / 3; }
}

/* Retours client v2 */
/* Staff UCPO — carte mise en avant (fiche pays) */
.ucpo-feat { display: flex; gap: 1.4rem; align-items: center; background: var(--paper); border: 1.5px solid var(--gold); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.ucpo-feat .uf-photo { width: 132px; height: 132px; flex: none; border-radius: 10px; overflow: hidden; background: var(--gold-050); }
.ucpo-feat .uf-photo img, .ucpo-feat .uf-photo image-slot { width: 100%; height: 100%; object-fit: cover; display: block; }
.ucpo-feat .uf-nm { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.3rem; }
.ucpo-feat .uf-ti { color: var(--gold-600); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.ucpo-feat .uf-meta { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .88rem; margin-top: .6rem; }
.ucpo-feat .uf-meta svg, .ucpo-feat .uf-mail svg { width: 15px; height: 15px; }
.ucpo-feat .uf-mail { display: inline-flex; align-items: center; gap: .45rem; color: var(--navy); font-weight: 600; font-size: .9rem; margin-top: .35rem; text-decoration: none; }
.ucpo-feat .uf-mail:hover { color: var(--gold-600); }
/* FACE — page complète */
.fce-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.fce-steps li { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; font-size: .93rem; line-height: 1.5; }
.fce-steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.fce-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem 1.6rem; }
.fce-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; line-height: 1.55; }
.fce-list li svg { width: 18px; height: 18px; flex: none; margin-top: .18rem; color: var(--gold-600); }
.fce-panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
.fce-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.fce-panel.no { background: var(--gold-050); }
.fce-panel h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: var(--display-weight); color: var(--navy); font-size: 1.2rem; margin: 0 0 .4rem; }
.fce-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fce-badge svg { width: 18px; height: 18px; }
.fce-badge.yes { background: var(--navy); color: var(--gold); }
.fce-badge.no { background: rgb(var(--navy-900-rgb) / .1); color: var(--navy); }
.fce-panel .sub { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }
.fce-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.fce-panel ul li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; line-height: 1.5; }
.fce-panel ul li svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; }
.fce-panel.yes ul li svg { color: var(--gold-600); }
.fce-panel.no ul li svg { color: rgb(var(--navy-900-rgb) / .45); }
.fce-foot { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.fce-band { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: center; }
.fce-band .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); color: var(--gold); line-height: 1; }
.fce-band .amount span { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: rgb(var(--white-rgb) / .75); margin-top: .55rem; max-width: 18ch; }
.fce-band p { color: rgb(var(--white-rgb) / .86); margin: 0 0 .7rem; max-width: 66ch; line-height: 1.6; }
.fce-band p:last-child { margin-bottom: 0; }
.fce-crit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.2rem; counter-reset: crit; }
.fce-crit li { counter-increment: crit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1rem 3.1rem; position: relative; font-size: .93rem; line-height: 1.5; box-shadow: var(--shadow-sm); }
.fce-crit li::before { content: counter(crit, decimal-leading-zero); position: absolute; left: 1rem; top: 1rem; font-family: var(--font-display); font-weight: 800; color: var(--gold-600); font-size: .9rem; }
.fce-docs { background: var(--navy); }
.fce-docs h2 { color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); }
.fce-docs .fd-sub { color: rgb(var(--white-rgb) / .78); margin-top: .6rem; max-width: 58ch; }
.fce-mails { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.fce-mail { display: inline-flex; align-items: center; gap: .5rem; background: rgb(var(--white-rgb) / .08); border: 1px solid rgb(var(--white-rgb) / .2); color: var(--white); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; text-decoration: none; }
.fce-mail:hover { background: rgb(var(--white-rgb) / .16); color: var(--white); }
.fce-mail svg { width: 16px; height: 16px; color: var(--gold); }
.fce-doclist { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.fce-doc { display: flex; align-items: center; gap: .8rem; background: rgb(var(--white-rgb) / .06); border: 1px solid rgb(var(--white-rgb) / .15); border-radius: var(--radius); padding: .9rem 1.1rem; color: var(--white); text-decoration: none; transition: background .2s; }
.fce-doc:hover { background: rgb(var(--white-rgb) / .13); color: var(--white); }
.fce-doc .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--gold); color: var(--navy); display: grid; place-items: center; flex: none; }
.fce-doc .ic svg { width: 18px; height: 18px; }
.fce-doc .nm { font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .fce-panels, .fce-crit, .fce-list, .fce-doclist { grid-template-columns: 1fr; } .fce-band { grid-template-columns: 1fr; } .ucpo-feat { flex-direction: column; align-items: flex-start; } }
/* FACE — splits image + texte */
.fce-navy { background: var(--navy); }
.fce-navy h2 { color: var(--white); }
.fce-navy .fce-list li { color: rgb(var(--white-rgb) / .88); }
.fce-navy .fce-list li svg { color: var(--gold); }
.fce-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
/* « rev » = media a gauche, texte a droite. Le media est second dans le DOM
   (le texte reste en tete pour la lecture et le referencement) : c'est l'ordre
   d'affichage qui bascule, la colonne etroite 5fr revenant alors au media. */
.fce-split.rev { grid-template-columns: 5fr 7fr; }
.fce-split.rev .fce-split-media { order: -1; }
.fce-split .fce-list { grid-template-columns: 1fr; margin-top: 1.4rem; }
.fce-split .lede { color: var(--muted); margin-top: .8rem; max-width: 56ch; }
.fce-split-media { align-self: stretch; }
.fce-split-media image-slot { width: 100%; height: 100%; min-height: 300px; display: block; }
@media (max-width: 860px) { .fce-split, .fce-split.rev { grid-template-columns: 1fr; } .fce-split.rev .fce-split-media { order: 2; } .fce-split-media image-slot { min-height: 220px; } }

/* ---------- Bande citation (effet dechire) ---------- */
.quote-band{position:relative;z-index:2;background:var(--navy);color:var(--white);padding:clamp(3.2rem,6vw,4.8rem) 0;}
.quote-band::before,.quote-band::after{content:"";position:absolute;left:0;right:0;height:clamp(16px,2.2vw,26px);overflow:hidden;background:url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto;pointer-events:none;}
.quote-band::before{bottom:calc(100% - 1px);transform:scaleY(-1);}
.quote-band::after{top:calc(100% - 1px);}
.quote-band .wrap{position:relative;}
.quote-band .qb-inner{position:relative;max-width:840px;margin:0;}
.quote-band blockquote{margin:0;font-family:var(--font-display);font-weight:var(--display-weight);font-size:clamp(1.25rem,1rem + 1.3vw,1.9rem);line-height:1.45;color:var(--white);text-wrap:pretty;}
.quote-band figcaption{margin-top:1.4rem;display:flex;flex-direction:column;gap:.2rem;}
.quote-band figcaption b{color:var(--gold);font-size:.95rem;}
.quote-band figcaption span{color:rgb(var(--white-rgb) / .65);font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;}
.quote-band .qb-dots{position:absolute;right:clamp(1rem,4vw,3rem);bottom:clamp(.2rem,1.5vw,1rem);width:clamp(90px,10vw,140px);opacity:.55;pointer-events:none;}

/* ---------- Cartes "autres strategies" ---------- */
.strat-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2.2rem;}
a.strat-link{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:var(--white);border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease;}
a.strat-link:hover{transform:translateY(-4px);box-shadow:0 24px 48px -30px rgb(var(--navy-900-rgb) / .5);}
.strat-link .sl-img{position:relative;aspect-ratio:16/9;overflow:hidden;}
.strat-link .sl-img image-slot,.strat-link .sl-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
a.strat-link:hover .sl-img img{transform:scale(1.05);}
.strat-link .sl-body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.4rem;flex:1;}
.strat-link .sl-k{font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-600,var(--gold-deep));}
.strat-link .sl-t{font-family:var(--font-display);font-weight:var(--display-weight);color:var(--navy);font-size:1.12rem;}
.strat-link .sl-d{color:var(--muted,rgb(var(--navy-rgb) / .65));font-size:.88rem;line-height:1.5;}
.strat-link .sl-go{margin-top:auto;padding-top:.6rem;display:inline-flex;align-items:center;gap:.4rem;color:var(--gold-600,var(--gold-deep));font-weight:700;font-size:.85rem;}
.strat-link .sl-go svg{width:15px;height:15px;transition:transform .22s;}
a.strat-link:hover .sl-go svg{transform:translateX(4px);}
@media (max-width:900px){.strat-links{grid-template-columns:1fr;}}

/* ---------- Hero conseil avec photo ---------- */
.co-hero .co-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(1.8rem,4vw,3.4rem);align-items:center;}
.co-hero .co-media{position:relative;aspect-ratio:4/3;border-radius:8px;overflow:hidden;box-shadow:0 34px 70px -34px rgba(0,0,0,.6);}
.co-hero .co-media image-slot,.co-hero .co-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.co-hero .co-media::after{content:"";position:absolute;inset:0;border-radius:8px;box-shadow:inset 0 0 0 1px rgb(var(--white-rgb) / .14);pointer-events:none;}
@media (max-width:960px){.co-hero .co-hero-grid{grid-template-columns:1fr;}.co-hero .co-media{max-width:420px;}}

/* ---------- Recherche : surlignage + suggestions ---------- */
.srch-results mark{background:rgb(var(--gold-rgb) / .32);color:inherit;padding:0 .12em;border-radius:3px;}
.srch-pop{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:1.15rem;}
.srch-pop .lbl{font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgb(var(--white-rgb) / .55);}
.srch-pop button{font:inherit;font-size:.84rem;font-weight:600;color:var(--white);background:rgb(var(--white-rgb) / .06);border:1px solid rgb(var(--white-rgb) / .28);border-radius:999px;padding:.38rem .95rem;cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.srch-pop button:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-900,var(--navy-900));}
.srch-summary{color:var(--muted,rgb(var(--navy-rgb) / .65));font-size:.92rem;margin:0 0 1.4rem;}
.srch-summary b{color:var(--navy);}

/* co-hero avec photo : alignement gauche */
.co-hero .co-hero-grid{text-align:left;margin-top:.8rem;}
.co-hero .co-hero-grid .kicker{justify-content:flex-start;}
.co-hero .co-hero-grid h1{margin-left:0;max-width:16ch;}
.co-hero .co-hero-grid .co-lead{margin-left:0;}
.co-hero .co-hero-grid .co-stats{justify-content:flex-start;}
.co-hero .breadcrumb{justify-content:flex-start;}

/* face-cta : composition en 2 colonnes sur desktop */
@media (min-width: 761px){
  .face-cta{flex-direction:row;align-items:center;justify-content:space-between;gap:clamp(2.4rem,6vw,5rem);}
  .face-cta .fcta-body{max-width:58ch;}
  .face-cta .fcta-body p{max-width:52ch;}
  .face-cta .fcta-action{flex:none;}
}

/* ---------- Jeunes du PO ---------- */
.jn-missions{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;margin-top:2.2rem;}
.jn-mission{position:relative;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:1.4rem 1.3rem 1.5rem;overflow:hidden;}
.jn-mission-num{position:absolute;right:.9rem;top:.5rem;font-family:var(--font-display);font-weight:var(--display-weight);font-size:2.4rem;color:rgb(var(--navy-900-rgb) / .08);line-height:1;}
.jn-mission-ic{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:rgb(var(--gold-rgb) / .16);color:var(--gold-600,var(--gold-deep));margin-bottom:.9rem;}
.jn-mission-ic svg{width:20px;height:20px;}
.jn-mission h3{margin:0 0 .4rem;font-family:var(--font-display);font-weight:var(--display-weight);color:var(--navy);font-size:1.08rem;}
.jn-mission p{margin:0;color:var(--muted,rgb(var(--navy-rgb) / .68));font-size:.88rem;line-height:1.55;}
@media (max-width:980px){.jn-missions{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.jn-missions{grid-template-columns:1fr;}}
.jn-objectifs{list-style:none;margin:1.6rem 0 0;padding:0;display:flex;flex-direction:column;gap:1rem;}
.jn-objectifs li{display:flex;gap:1rem;align-items:flex-start;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:1rem 1.2rem;}
.jn-objectifs li b{flex:none;font-family:var(--font-display);font-weight:var(--display-weight);color:var(--gold-600,var(--gold-deep));font-size:1.3rem;line-height:1.3;}
.jn-objectifs li span{color:var(--navy);font-size:.95rem;line-height:1.55;}
.jn-crit{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;margin-top:2rem;}
.jn-crit-col{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:1.6rem 1.6rem 1.8rem;}
.jn-crit-col h3{display:flex;align-items:center;gap:.6rem;margin:0 0 1.1rem;font-family:var(--font-display);font-weight:var(--display-weight);color:var(--navy);font-size:1.2rem;}
.jn-crit-col h3 svg{width:20px;height:20px;color:var(--gold-600,var(--gold-deep));}
.jn-crit-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem;}
.jn-crit-col li{display:flex;gap:.65rem;align-items:flex-start;color:var(--navy);font-size:.92rem;line-height:1.55;}
.jn-crit-col li svg{flex:none;width:16px;height:16px;margin-top:.2rem;color:var(--gold-600,var(--gold-deep));}
@media (max-width:820px){.jn-crit{grid-template-columns:1fr;}}
.jn-yl-role{margin:.5rem 0 0;color:var(--muted,rgb(var(--navy-rgb) / .65));font-size:.84rem;line-height:1.5;}

/* ============================================================
   STRATÉGIE — engagement société civile
   Blocs ACF portés sur la maquette : intro, actions phares,
   points focaux, appel à rejoindre le Partenariat.
   ============================================================ */
/* L'image de droite épouse la hauteur de la colonne de texte : c'est le texte
   qui donne sa hauteur à la rangée, le média s'y étire (pas de ratio imposé). */
.sc-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem,4vw,3.4rem); align-items: stretch; }
.sc-split .section-head { margin-bottom: 1.2rem; }
.sc-split-media { border-radius: 8px; overflow: hidden; background: var(--cream); align-self: stretch; min-height: 320px; margin: 0; }
.sc-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-rte { color: var(--ink); line-height: 1.75; }
.sc-rte p { margin-bottom: 1rem; }
.sc-rte p:last-child { margin-bottom: 0; }
.sc-rte ul { margin: 0 0 1rem 1.2rem; }
.sc-rte li { margin-bottom: .4rem; }
.sc-rte strong { color: var(--navy); }
.sc-split .btn { margin-top: 1.6rem; }

/* Actions phares — pastilles d'années puis panneau de l'année choisie. */
.sc-years .actu-filters { margin-bottom: clamp(1.4rem,3vw,2rem); }
.sc-year-pane { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem,3vw,2.2rem); align-items: stretch; }
.sc-year-pane[hidden] { display: none; }
.sc-year-card { background: var(--cream); border-radius: 8px; padding: clamp(1.4rem,3vw,2rem); }
.sc-year-badge { display: inline-block; background: var(--gold-050); color: var(--gold-600); font-weight: 700; font-size: .82rem; letter-spacing: .04em; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.sc-year-media { border-radius: 8px; overflow: hidden; min-height: 240px; background: var(--cream); }
.sc-year-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Points focaux — portraits.
   Le titre et le chapô des points focaux vivent dans le bloc qui précède :
   la grille en est la suite directe, elle démarre donc sans respiration haute. */
.section.paper.sc-focaux { padding-top: 0; }
/* Flex plutot que grid : le nombre de points focaux n'est pas un multiple du
   nombre de colonnes, la derniere rangee est donc incomplete. En flex elle se
   centre au lieu de rester calee a gauche. Les cartes gardent la largeur
   qu'elles avaient en grille — d'ou --pf-cols, que les paliers font varier. */
.pf-grid { --pf-gap: clamp(1rem,2.2vw,1.6rem); --pf-cols: 4;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pf-gap); }
.pf-grid > * { flex: 0 1 calc((100% - (var(--pf-cols) - 1) * var(--pf-gap)) / var(--pf-cols)); }
.pf-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pf-photo { aspect-ratio: 1/1; background: var(--cream); display: grid; place-items: center; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-photo-empty { color: var(--gold-200); }
.pf-photo-empty svg { width: 44px; height: 44px; }
.pf-body { padding: 1.1rem 1.2rem 1.4rem; text-align: center; }
.pf-pays { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .4rem; }
.pf-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.pf-body p { margin-top: .35rem; font-size: .85rem; color: var(--muted); }

/* Rejoindre le Partenariat — image jusqu'au bord, étapes numérotées. */
.section.navy.sc-osc { padding-block: 0; overflow: hidden; }
.sc-osc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.8rem,4vw,3.4rem); align-items: center; }
.sc-osc-media { align-self: stretch; min-height: 320px; margin-left: calc(50% - 50vw); }
.sc-osc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-osc-body { padding-block: clamp(2.6rem,5vw,4.4rem); }
.sc-osc-body h2 { font-family: var(--font-title); font-weight: 400; color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.14; }
.sc-osc-lead { color: rgb(var(--white-rgb) / .84); margin-top: 1rem; line-height: 1.7; max-width: 52ch; }
.sc-steps { list-style: none; counter-reset: scstep; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.sc-steps li { counter-increment: scstep; display: flex; align-items: center; gap: .8rem; color: rgb(var(--white-rgb) / .9); font-size: .95rem; }
.sc-steps li::before { content: counter(scstep); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.sc-osc .btn { margin-top: 1.8rem; }
.sc-osc-form { padding-bottom: clamp(2.6rem,5vw,4.4rem); }
.sc-osc-form[hidden] { display: none; }

/* La cartographie réutilise l'explorateur de la refonte. */
.sc-maps .map-explorer { margin-top: clamp(1.4rem,3vw,2rem); }

/* ---- Carte Google des acteurs (sociétés civiles) ----
   Le balisage et les identifiants viennent de l'ancien thème, que les scripts
   de carte attendent tels quels ; seule la présentation est reprise ici, aux
   couleurs et aux arrondis de la refonte. Les règles .kl-* d'origine calaient
   les champs en colonne de 278 px à côté du titre : ils passent en ligne,
   sous le titre centré. */
.carte-acteurs { margin-top: clamp(1.4rem,3vw,2rem); }
.carte-acteurs .ca-controls { width: auto; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: .75rem; margin-bottom: clamp(1.1rem,2.4vw,1.7rem); }
.carte-acteurs .ca-search { flex: 1 1 240px; max-width: 340px; background: var(--white); border: 2px solid var(--gold); border-radius: 6px; }
.carte-acteurs .ca-search-input { font-size: 1rem; color: var(--navy); }
.carte-acteurs .ca-search-input::placeholder { font-family: inherit; color: var(--muted); opacity: 1; }
.carte-acteurs .ca-search button { color: var(--gold-600); background: none; border: 0; }
.carte-acteurs .ca-filtre { flex: 0 0 auto; margin-top: 0; gap: .75rem; }
.carte-acteurs .ca-filtre .select2-container--default .select2-selection--single { height: 100%; min-height: 47px; border: 2px solid var(--gold); border-radius: 6px; display: flex; align-items: center; }
.carte-acteurs .ca-filtre .select2-container--default .select2-selection--single .select2-selection__rendered,
.carte-acteurs .ca-filtre .select2-container--default .select2-selection--single .select2-selection__placeholder { font-family: inherit; font-size: 1rem; color: var(--navy); }
.carte-acteurs .ca-filtre .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--muted); }
.carte-acteurs .ca-filtre button { width: auto; padding: 0 1.3rem; display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: var(--navy-900); border-radius: 6px; font-weight: 600; }
.carte-acteurs .ca-filtre button:hover { background: var(--gold); color: var(--navy-900); opacity: .85; }
.carte-acteurs .ca-map-wrap { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.carte-acteurs #id-map { height: clamp(420px, 62vh, 604px); }
@media (max-width: 620px) {
  .carte-acteurs .ca-controls { flex-direction: column; }
  .carte-acteurs .ca-search { max-width: none; }
  .carte-acteurs .ca-filtre .select2-container { width: auto !important; flex: 1 1 auto; }
}

/* ---- Bandes marine : bords déchirés en haut et en bas ----
   Même traitement que la bande citation et le hero : les aplats marine des
   pages stratégie sont détourés au papier déchiré, en haut comme en bas. */
.page-template-strategie-societes .po-imgdesc.fce-navy,
.page-template-strategie-societes .section.navy.sc-osc { position: relative; }
.page-template-strategie-societes .po-imgdesc.fce-navy::before,
.page-template-strategie-societes .po-imgdesc.fce-navy::after,
.page-template-strategie-societes .section.navy.sc-osc::before,
.page-template-strategie-societes .section.navy.sc-osc::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: clamp(16px, 2.2vw, 26px);
  background: url("../img/refonte/torn-navy.svg") no-repeat center bottom / 100% auto;
  pointer-events: none; z-index: 2;
}
.page-template-strategie-societes .po-imgdesc.fce-navy::before,
.page-template-strategie-societes .section.navy.sc-osc::before { bottom: calc(100% - 1px); transform: scaleY(-1); }
.page-template-strategie-societes .po-imgdesc.fce-navy::after,
.page-template-strategie-societes .section.navy.sc-osc::after { top: calc(100% - 1px); }
/* Le bandeau du formulaire masquait tous ses débords pour retenir l'image qui
   file jusqu'au bord de la fenêtre : on ne clippe plus que l'axe horizontal,
   afin de laisser les déchirures déborder en haut et en bas. */
.page-template-strategie-societes .section.navy.sc-osc { overflow: visible; overflow-x: clip; }

/* ---- « Pourquoi une stratégie de la société civile » : hauteur du visuel ----
   L'image de cette bande est un portrait (591 × 1024). À la largeur de sa
   colonne elle dépassait de loin le texte d'en face, et c'est elle qui donnait
   sa hauteur à la rangée. Sortie du flux, elle ne pèse plus dans le calcul :
   la rangée est dimensionnée par le seul texte, et le visuel étiré s'y cale
   exactement. Le recadrage est assumé — c'est ce que demande une hauteur
   imposée. */
.page-template-strategie-societes .po-imgdesc.fce-navy .fce-split-media {
  position: relative;
  min-height: 0;
}
.page-template-strategie-societes .po-imgdesc.fce-navy .fce-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sous 860px les deux colonnes s'empilent : le texte ne donne plus la hauteur
   de la rangée, et une image hors du flux n'en aurait plus du tout. Elle
   reprend donc son flux et son ratio d'origine. */
@media (max-width: 860px) {
  .page-template-strategie-societes .po-imgdesc.fce-navy .fce-split-media { position: static; }
  .page-template-strategie-societes .po-imgdesc.fce-navy .fce-split-media img {
    position: static;
    height: auto;
    object-fit: initial;
  }
}

/* ---- Cartographie : titre centré ----
   Même rendu que .center-head, mais la classe n'est pas posée sur le bloc :
   il est partagé avec « Stratégie jeunes » et « Agenda Recherche », dont les
   titres restent alignés à gauche. La règle est donc portée par le gabarit. */
.page-template-strategie-societes .sc-maps .section-head,
.page-template-strategie-societes .sc-maps .section-head h2 { text-align: center; }
.page-template-strategie-societes .sc-maps .section-head .lede { margin-left: auto; margin-right: auto; }
[data-dir="organique"] .page-template-strategie-societes .sc-maps .section-head h2::after { background-position: center bottom; }

@media (max-width: 1180px) {
  .pf-grid { --pf-cols: 3; }
}
@media (max-width: 900px) {
  .sc-split, .sc-year-pane, .sc-osc-grid { grid-template-columns: 1fr; }
  /* En colonne unique le texte ne porte plus la hauteur : le média retrouve
     le ratio de la maquette. */
  .sc-split-media { aspect-ratio: 4/5; min-height: 0; }
  .pf-grid { --pf-cols: 2; }
  .sc-osc-media { margin-left: 0; min-height: 220px; }
  .section.navy.sc-osc { padding-block: 0 0; }
}
@media (max-width: 560px) {
  .pf-grid { --pf-cols: 1; }
}

/* Points focaux — les trois missions, au-dessus des portraits. */
.pf-missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem,2vw,1.2rem); margin-bottom: clamp(1.6rem,3.5vw,2.6rem); }
.pf-mission { display: flex; align-items: flex-start; gap: .8rem; background: var(--cream); border-radius: 8px; padding: 1.1rem 1.2rem; }
.pf-mission .ic { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; }
.pf-mission .ic svg { width: 18px; height: 18px; }
.pf-mission b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--navy); }
.pf-mission p { margin-top: .3rem; font-size: .88rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) { .pf-missions { grid-template-columns: 1fr; } }

/* ---- Bloc image+description : intertitres et citation du champ riche ----
   Le WYSIWYG de la bande marine porte deux <h3> : le premier introduit la
   liste, le second annonce la vision de la stratégie. La maquette traite ce
   second bloc en citation encadrée d'un filet doré. */
.po-imgdesc-body h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; margin: 0 0 .4rem; }
.fce-navy .po-imgdesc-body h3 { color: var(--white); }
.po-imgdesc-body h3 + ul { margin-top: 1.1rem; }
/* Le sur-titre dore est celui qui annonce une citation : on le reconnait au
   <blockquote> qui le suit, pas a sa place dans le bloc. :last-of-type ne
   distinguait pas un sur-titre d'un simple intertitre — le nombre de h3 change
   d'une page a l'autre et d'une reecriture a l'autre. Il suffisait de reformuler
   pour que le sur-titre reprenne le style de titre blanc (:only-of-type le lui
   rendait des qu'il restait seul), et ailleurs le dernier intertitre d'une serie
   se retrouvait dore a tort.
   Le selecteur est ancre sur .po-imgdesc : sans cela .fce-navy .po-imgdesc-body
   h3, plus specifique, imposerait le blanc sur la bande marine. */
.po-imgdesc .po-imgdesc-body h3:has(+ blockquote) { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 2rem 0 0; padding: 0 0 .55rem 1.1rem; border-left: 3px solid var(--gold); }
/* Le filet dore court sans interruption du sur-titre a la citation : les deux
   bordures se touchent, les marges verticales sont remplacees par du padding. */
.po-imgdesc-body blockquote { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: clamp(1rem, .95rem + .4vw, 1.15rem); line-height: 1.55; margin: 1.4rem 0 0; padding: .55rem 0 .2rem 1.1rem; border-left: 3px solid var(--gold); }
.po-imgdesc-body blockquote p { margin: 0; }
/* -.85rem annule la gouttiere de .fce-list, qui est une grille : sans cela le
   filet dore se coupait entre le sur-titre et la citation. */
.po-imgdesc-body h3:has(+ blockquote) + blockquote { margin-top: -.85rem; }

/* Axes stratégiques — liste à gauche, visuel numéroté à droite. */
.sc-axes-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.sc-axes-list { display: flex; flex-direction: column; gap: .8rem; }
.sc-axe { display: block; width: 100%; text-align: left; background: none; border: 1.5px solid transparent; border-radius: 8px; padding: .9rem 1.1rem; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.sc-axe:hover { border-color: var(--gold-200); }
.sc-axe.on { background: var(--paper); border-color: var(--gold-200); box-shadow: var(--shadow-sm); }
.sc-axe-head { display: flex; align-items: center; gap: .8rem; }
.sc-axe-num { font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: var(--gold-600); flex: none; }
.sc-axe-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--gold-050); color: var(--gold-600); display: grid; place-items: center; transition: background .2s, color .2s; }
.sc-axe-ic svg { width: 16px; height: 16px; }
.sc-axe.on .sc-axe-ic { background: var(--gold); color: var(--navy-900); }
.sc-axe-titre { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); }
.sc-axe-desc { display: none; margin-top: .6rem; padding-left: calc(30px + 1.6rem); font-size: .92rem; line-height: 1.55; color: var(--muted); }
.sc-axe.on .sc-axe-desc { display: block; }
.sc-axe-bar { display: none; height: 3px; border-radius: 999px; background: var(--line); margin-top: .9rem; position: relative; overflow: hidden; }
.sc-axe.on .sc-axe-bar { display: block; }
.sc-axe-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 32%; border-radius: 999px; background: var(--gold); }

.sc-axes-media { position: relative; border-radius: 8px; overflow: visible; }
.sc-axes-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; border-radius: 8px; }
.sc-axes-num { position: absolute; right: .6rem; top: -1.6rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,2rem+2.4vw,4rem); line-height: 1; color: var(--gold); z-index: 2; }
.sc-axes-tag { position: absolute; left: 1.2rem; bottom: -1.1rem; display: inline-flex; align-items: center; gap: .6rem; background: var(--navy); color: var(--white); border-radius: 999px; padding: .5rem .95rem .5rem .5rem; box-shadow: var(--shadow-md); }
.sc-axes-tag .sc-axe-ic { width: 26px; height: 26px; background: var(--gold); color: var(--navy-900); border-radius: 50%; }
.sc-axes-tag .sc-axe-ic svg { width: 14px; height: 14px; }
.sc-axes-tag b { font-family: var(--font-display); font-weight: 700; font-size: .88rem; }

@media (max-width: 900px) {
  .sc-axes-grid { grid-template-columns: 1fr; }
  .sc-axes-num { top: -1.2rem; }
}

/* Le hero de l'engagement société civile casse après « Engagement », comme
   dans la maquette : la portion dorée occupe sa propre ligne. */
.page-template-strategie-societes .page-hero h1 .accent { display: block; }
