/* FCPE-Pensio — feuille unique du site.
   Palette « Encre & orange » reprise du thème WordPress fcpe-2026 (jetons GeneratePress).
   L'orange de marque #F49635 ne fait que 2,5:1 sur fond clair : réservé aux aplats et aux
   fonds sombres. Sur clair, on descend en teinte (--ambre-700 / --ambre-800). */

/* ---------- 1. Police (hébergée ici : aucune requête vers Google, nLPD) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- 2. Jetons ---------- */
:root {
  --encre: #0B1B2C;
  --nuit: #12293F;
  --nuit-2: #173553;
  --bleu: #14456F;
  --bleu-2: #1B3A5C;
  --texte: #3B4C60;
  --discret: #5E7186;
  --brume: #C3CEDA;
  --fond-2: #F4F6F9;
  --blanc: #FFFFFF;
  --page: #FFFFFF;     /* fond de page */
  --surface: #FFFFFF;  /* cartes posées sur la page */
  --titre: var(--encre); /* titres et texte appuyé */
  --bord-champ: #76889C; /* ≥ 3:1 sur la carte et le formulaire (WCAG 1.4.11) */

  --ambre: #F49635;
  --ambre-600: #D07B1F;
  --ambre-700: #B8681A;
  --ambre-800: #A85C14;

  --ligne: rgba(11, 27, 44, .11);
  --ligne-sombre: rgba(255, 255, 255, .15);
  --ombre: 0 1px 2px rgba(11, 27, 44, .05), 0 10px 26px -14px rgba(11, 27, 44, .24);
  --ombre-forte: 0 2px 5px rgba(11, 27, 44, .07), 0 22px 44px -18px rgba(11, 27, 44, .32);

  --rayon: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --largeur: 1200px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --haut-entete: 76px;
  --police: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* Thème sombre : data-theme posé dans le <head> (choix mémorisé, sinon préférence du système).
   Les bandes --encre / --nuit (hero, indépendance, devise, pied) restent identiques dans les deux thèmes ;
   seuls la page, les cartes, les textes et les teintes lisibles changent. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101F31;
  --surface: #16293E;
  --fond-2: #13243A;
  --titre: #F1F4F8;
  --texte: #C2CDD9;
  --discret: #93A3B5;
  --brume: #3A5068;
  --bleu: #8FB6DB;
  --ambre-700: #F49635;
  --ambre-800: #F7A452;
  --ligne: rgba(255, 255, 255, .1);
  --bord-champ: #62798F;
  --ombre: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 26px -14px rgba(0, 0, 0, .7);
  --ombre-forte: 0 2px 5px rgba(0, 0, 0, .3), 0 22px 44px -18px rgba(0, 0, 0, .8);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--bleu); text-underline-offset: .18em; }
a:hover { color: var(--titre); }
h1, h2, h3 { color: var(--titre); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
sup { font-size: .6em; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.insecable { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ambre); color: var(--encre); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.lien-evitement:focus { top: 12px; }

.surtitre {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ambre);
}
.surtitre::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.titre-section { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.titre-section--clair { color: var(--blanc); }
.chapo { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--texte); max-width: 46ch; }

/* ---------- 4. Boutons ---------- */
.bouton {
  --fond: transparent; --couleur: var(--blanc); --bord: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--bord);
  background: var(--fond); color: var(--couleur);
  font: 600 1rem/1 var(--police); text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.bouton::after { content: "→"; transition: transform .25s var(--ease); }
.bouton:hover { transform: translateY(-1px); }
.bouton:hover::after { transform: translateX(4px); }
.bouton--plein { --fond: var(--ambre); --couleur: var(--encre); }
.bouton--plein:hover { --fond: #FFB15E; color: var(--encre); }
.bouton--contour { --bord: rgba(255, 255, 255, .55); }
.bouton--contour:hover { --fond: rgba(255, 255, 255, .1); --bord: var(--blanc); color: var(--blanc); }
.bouton--sombre { --fond: var(--nuit); --couleur: var(--blanc); }
.bouton--sombre:hover { --fond: var(--encre); color: var(--blanc); }

/* ---------- 5. En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.entete::before { /* voile sombre en haut pour lire le menu sur n'importe quelle photo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 27, 44, .7), rgba(11, 27, 44, 0));
  transition: opacity .35s var(--ease);
}
.entete.est-colle { background: var(--nuit); box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .7); }
.entete.est-colle::before { opacity: 0; }
.entete__barre {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto;
  height: var(--haut-entete); padding-inline: var(--gouttiere);
}
.entete__logo img { width: clamp(160px, 18vw, 210px); height: auto; }
.entete__nav { display: flex; align-items: center; gap: 28px; }
.menu, .langues { list-style: none; margin: 0; padding: 0; display: flex; }
.menu { gap: 4px; }
.menu a {
  position: relative; display: block; padding: 10px 12px;
  color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 500; font-size: .975rem;
}
.menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--ambre); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--blanc); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.langues { gap: 2px; padding-left: 20px; border-left: 1px solid var(--ligne-sombre); }
.langues a, .langues span {
  display: block; padding: 6px 8px; border-radius: 6px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-decoration: none;
  color: rgba(255, 255, 255, .62);
}
.langues a:hover { color: var(--blanc); background: rgba(255, 255, 255, .08); }
.langues [aria-current="true"] { color: var(--ambre); }

/* Sous-menu (La Fondation ▸ Fonctionnement, Organisation). Ordinateur : liste déroulante ouverte au survol
   de la souris (court délai à la fermeture) ou par le bouton chevron (clavier, toucher), via .est-ouvert posé
   par site.js ; sans JS, :hover et :focus-within. Elle suit le thème.
   Téléphone : sous-pages toujours visibles, en retrait sous leur parent. */
.menu__parent { position: relative; }
.menu a.est-actif { color: var(--blanc); }
.menu a.est-actif::after { transform: scaleX(1); }
.menu__ouvrir { display: none; }
.sous-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1081px) {
  .menu__parent { display: flex; align-items: center; }
  .menu .menu__parent > a { padding-right: 4px; }
  .menu .menu__parent > a::after { right: 4px; }
  .menu__ouvrir {
    display: grid; place-items: center; width: 30px; height: 36px; margin-right: 2px; padding: 0; /* cible ≥ 24 px (WCAG 2.5.8) */
    background: none; border: 0; border-radius: 6px; color: rgba(255, 255, 255, .7); cursor: pointer;
  }
  .menu__ouvrir[hidden] { display: none; }
  .menu__ouvrir svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
  .menu__ouvrir:hover { color: var(--blanc); }
  .sous-menu {
    position: absolute; top: calc(100% + 22px); left: 0; z-index: 2; min-width: 220px; padding: 8px; /* sous la barre, pas collé au lien */
    background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; box-shadow: var(--ombre-forte);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease) .15s, transform .2s var(--ease) .15s, visibility 0s .35s;
  }
  .entete.est-colle .sous-menu { top: calc(100% + 17px); } /* 10 px sous la pastille */
  .sous-menu::before { content: ""; position: absolute; inset: -24px 0 auto; height: 24px; } /* pont pour la souris */
  .menu__parent.est-ouvert > .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (min-width: 1081px) { /* sans JS seulement : avec JS, l'état passe par .est-ouvert et aria-expanded */
  html:not(.js) .menu__parent:hover > .sous-menu, html:not(.js) .menu__parent:focus-within > .sous-menu {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
}
@media (min-width: 1081px) {
  .menu__parent.est-ouvert .menu__ouvrir svg { transform: rotate(180deg); }
  .menu .sous-menu a {
    padding: 10px 14px; border-radius: 9px; white-space: nowrap;
    color: var(--titre); font-size: .95rem;
  }
  .sous-menu a::after { display: none; }
  .sous-menu a:hover, .sous-menu a:focus-visible { background: var(--fond-2); color: var(--titre); }
  .sous-menu a[aria-current="page"] { color: var(--ambre-800); background: var(--fond-2); }
}
@media (max-width: 1080px) {
  .menu .sous-menu a { padding: 13px 0 13px 22px; font-size: 1.125rem; color: rgba(255, 255, 255, .74); }
}

.entete__burger { display: none; }

/* Bouton clair / sombre : soleil en thème sombre, lune en thème clair (caché sans JS) */
.entete__theme {
  display: inline-grid; place-items: center; flex: none; order: 2;
  width: 38px; height: 38px; margin-left: -8px; padding: 0; border-radius: 50%;
  background: none; border: 1px solid var(--ligne-sombre); color: rgba(255, 255, 255, .78); cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.entete__theme[hidden] { display: none; }
.entete__theme:hover { color: var(--ambre); border-color: rgba(244, 150, 53, .6); background: rgba(255, 255, 255, .06); }
.entete__theme svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .entete__lune, :root:not([data-theme="dark"]) .entete__soleil { display: none; }
.entete__nav { order: 1; }
@media (min-width: 1081px) { .entete__nav { margin-left: auto; } }

/* Ordinateur : la bande du haut se contracte en longue pastille flottante dès qu'on descend. */
@media (min-width: 1081px) {
  .entete { pointer-events: none; transition: padding .45s var(--ease); }
  .entete__barre {
    pointer-events: auto; max-width: 100%;
    padding-inline: max(var(--gouttiere), calc((100% - var(--largeur)) / 2));
    border: 1px solid transparent; border-radius: 0;
    transition: max-width .45s var(--ease), height .35s var(--ease), padding .45s var(--ease),
                border-radius .45s var(--ease), background-color .35s var(--ease),
                border-color .35s var(--ease), box-shadow .35s var(--ease);
  }
  .entete__logo img { transition: width .35s var(--ease); }
  .entete.est-colle { background: none; box-shadow: none; padding: 10px var(--gouttiere) 0; }
  .entete.est-colle .entete__barre {
    max-width: var(--largeur); height: 60px; padding-inline: 26px 12px; border-radius: 30px;
    background: rgba(18, 41, 63, .92); border-color: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .2);
  }
  .entete.est-colle .entete__logo img { width: 168px; }
  .entete__logo { flex: none; }
  .menu a { white-space: nowrap; }
}
@media (max-width: 1080px) {
  .entete__theme { margin-left: auto; margin-right: -12px; }
  .entete__burger {
    order: 3;
    display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: var(--blanc);
  }
  .entete__burger-traits, .entete__burger-traits::before, .entete__burger-traits::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .entete__burger-traits { position: relative; }
  .entete__burger-traits::before, .entete__burger-traits::after { content: ""; position: absolute; left: 0; }
  .entete__burger-traits::before { top: -7px; }
  .entete__burger-traits::after { top: 7px; }
  [aria-expanded="true"] .entete__burger-traits { background: transparent; }
  [aria-expanded="true"] .entete__burger-traits::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .entete__burger-traits::after { transform: translateY(-7px) rotate(-45deg); }

  .entete__nav {
    position: fixed; inset: var(--haut-entete) 0 0; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 32px;
    padding: 24px var(--gouttiere) 40px; overflow-y: auto;
    background: var(--encre);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .menu-ouvert .entete { background: var(--encre); }
  .menu-ouvert .entete__nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu { flex-direction: column; gap: 0; }
  .menu a { padding: 16px 0; font-size: 1.375rem; border-bottom: 1px solid var(--ligne-sombre); }
  .menu a::after { display: none; }
  .menu a[aria-current="page"] { color: var(--ambre); }
  .langues { border: 0; padding: 0; gap: 8px; }
  .langues a, .langues span { padding: 10px 14px; font-size: .9375rem; border: 1px solid var(--ligne-sombre); }
}
html:not(.js) .entete__burger { display: none; }
@media (max-width: 1080px) {
  html:not(.js) .entete__nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; padding: 0; flex-basis: 100%; } /* toujours sous le logo */
  html:not(.js) .entete { position: relative; background: var(--encre); } /* sans JS, le menu déplié ne recouvre pas le titre */
  html:not(.js) .entete__barre { height: auto; flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 88vh, 860px);
  padding: calc(var(--haut-entete) + 48px) 0 clamp(120px, 14vw, 170px);
  background: var(--encre); color: var(--blanc);
}
.hero__image { position: absolute; inset: 0; z-index: -2; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: hero-zoom 14s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 27, 44, .9) 0%, rgba(11, 27, 44, .32) 34%, rgba(11, 27, 44, .5) 66%, rgba(11, 27, 44, .94) 100%),
    linear-gradient(90deg, rgba(11, 27, 44, .78) 0%, rgba(11, 27, 44, .35) 52%, rgba(11, 27, 44, 0) 80%);
}
.hero__contenu > * { animation: monte .9s var(--ease) both; }
.hero__contenu > :nth-child(2) { animation-delay: .12s; }
.hero__contenu > :nth-child(3) { animation-delay: .24s; }
.hero__titre { color: var(--blanc); font-size: clamp(2.3rem, 5.6vw, 4.5rem); line-height: 1.05; max-width: 17ch; letter-spacing: -.02em; margin-bottom: 36px; }
.hero .surtitre { /* ambre éclairci + halo sombre local : la photo varie selon la page et la largeur, le surtitre reste ≥ 4,5:1 */
  color: #FFB766;
  background: rgba(11, 27, 44, .55); box-shadow: 0 0 20px 12px rgba(11, 27, 44, .55); border-radius: 999px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

@media (max-width: 760px) { /* le texte du hero tombe plus bas, sur le ciel clair : voile plus dense */
  .hero::after {
    background: linear-gradient(180deg, rgba(11, 27, 44, .9) 0%, rgba(11, 27, 44, .64) 36%, rgba(11, 27, 44, .62) 66%, rgba(11, 27, 44, .94) 100%);
  }
}

@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Chiffres (chevauchent le bas du hero) ---------- */
.chiffres { position: relative; z-index: 2; margin-top: clamp(-110px, -9vw, -80px); }
.chiffres__grille { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.chiffre {
  position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 30px);
  background: var(--surface); box-shadow: var(--ombre);
}
.chiffre:first-child { border-radius: var(--rayon) 0 0 var(--rayon); }
.chiffre:last-child { border-radius: 0 var(--rayon) var(--rayon) 0; }
.chiffre + .chiffre::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--ligne); }
.chiffre dd {
  margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 700; line-height: 1;
  letter-spacing: -.03em; color: var(--titre); font-variant-numeric: tabular-nums;
}
.chiffre__plus { color: var(--ambre-700); }
.chiffre dt { font-size: .9375rem; color: var(--discret); line-height: 1.35; }
.chiffre::after { /* trait ambre qui se dessine à l'apparition */
  content: ""; position: absolute; left: clamp(18px, 2.4vw, 30px); top: 0; width: 36px; height: 3px;
  background: var(--ambre); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .25s;
}
.chiffre.est-visible::after, html:not(.js) .chiffre::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .chiffres__grille { grid-template-columns: 1fr 1fr; gap: 1px; }
  .chiffre { border-radius: 0 !important; }
  .chiffre:nth-child(1) { border-top-left-radius: var(--rayon) !important; }
  .chiffre:nth-child(2) { border-top-right-radius: var(--rayon) !important; }
  .chiffre:nth-child(3) { border-bottom-left-radius: var(--rayon) !important; }
  .chiffre:nth-child(4) { border-bottom-right-radius: var(--rayon) !important; }
  .chiffre + .chiffre::before { display: none; }
}

/* ---------- 8. Bienvenue et piliers ---------- */
.bienvenue__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; margin-bottom: clamp(44px, 6vw, 72px); }
.bienvenue__intro .titre-section { position: relative; padding-top: 22px; }
.bienvenue__intro .titre-section::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--ambre); }
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pilier {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3vw, 38px); border-radius: var(--rayon);
  background: var(--fond-2); border: 1px solid var(--ligne);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.pilier::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ambre);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.pilier:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); background: var(--surface); }
.pilier:hover::before { transform: scaleX(1); }
.pilier__numero { /* numéro et filet, à la manière des surtitres (remplace les pictogrammes) */
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ambre-800);
}
.pilier__numero::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.pilier h3 { font-size: 1.3rem; }
.pilier p { margin: 0; font-size: 1rem; }

@media (max-width: 960px) {
  .bienvenue__intro { grid-template-columns: 1fr; }
  .piliers { grid-template-columns: 1fr; }
}

/* ---------- 9. Indépendance (bande sombre) ---------- */
.independance {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(72px, 10vw, 128px);
  background: var(--encre); color: rgba(255, 255, 255, .8);
}
.independance::before { /* lignes de niveau discrètes, rappel du chevron du logo */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(244, 150, 53, .16), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 47px);
}
.independance__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.independance__phrase { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; font-weight: 600; color: var(--blanc); letter-spacing: -.01em; margin-bottom: 28px; }
.independance__texte > p:last-child { max-width: 62ch; font-size: 1.0625rem; margin: 0; }
@media (max-width: 960px) { .independance__grille { grid-template-columns: 1fr; } }

/* ---------- 10. Appel à l'action ---------- */
.appel__carte {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); border-radius: calc(var(--rayon) * 1.5);
  background: var(--fond-2); border: 1px solid var(--ligne);
}
.appel__carte .titre-section { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .4em; }
.appel__adresse { margin: 0; color: var(--discret); max-width: 52ch; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- 11. Pages internes ---------- */
.hero--interne { min-height: clamp(380px, 52vh, 520px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero--interne .hero__titre { margin-bottom: 0; }
.hero--chiffres { padding-bottom: clamp(120px, 14vw, 170px); }
.hero__actions--interne { margin-top: 32px; }
.en-construction { padding-block: 80px; color: var(--discret); }
.section--grise { background: var(--fond-2); }
.section + .section--grise, .section--grise + .section { border-top: 1px solid var(--ligne); }

/* Titre de section avec trait ambre, suivi d'un chapeau facultatif */
.entete-section { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.entete-section .titre-section { position: relative; padding-top: 22px; }
.entete-section .titre-section::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--ambre); }
.entete-section .chapo { margin: 0; }
.entete-section .question { margin: 0 0 .5em; color: var(--titre); font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 600; }
.intro .entete-section { margin-bottom: 0; }
.accent { color: var(--ambre-700); }

/* Fondation : texte + mosaïque de deux photos */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 88px); align-items: center; }
.intro__texte p { font-size: clamp(1.0625rem, 1.4vw, 1.175rem); }
.intro__texte p:last-child { margin-bottom: 0; }
.mosaique { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, minmax(0, 1fr)); aspect-ratio: 1 / .92; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
.mosaique__a { grid-column: 1 / 9; grid-row: 1 / 9; }
.mosaique__b { grid-column: 6 / 13; grid-row: 5 / 13; z-index: 1; outline: 8px solid var(--page); border-radius: var(--rayon); }
@media (max-width: 960px) { .intro { grid-template-columns: 1fr; } }

/* Fondation : liens vers les sous-pages (Fonctionnement, Organisation) */
.section--suite { padding-top: 0; }
.suite { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.suite a {
  position: relative; overflow: hidden; height: 100%;
  display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: end;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--rayon);
  background: var(--fond-2); border: 1px solid var(--ligne); color: var(--texte); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.suite a::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ambre);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.suite a:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); background: var(--surface); }
.suite a:hover::before { transform: scaleX(1); }
.suite__titre { grid-column: 1 / -1; color: var(--titre); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.suite__texte { font-size: 1rem; line-height: 1.55; }
.suite__fleche { color: var(--ambre-700); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--ease); }
.suite a:hover .suite__fleche { transform: translateX(4px); }
@media (max-width: 760px) { .suite { grid-template-columns: minmax(0, 1fr); } }

/* Sommaire en pastilles (facteurs de succès, avantages) */
.pastilles { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--ligne); color: var(--titre); font-weight: 500; font-size: .975rem;
}
.pastilles li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--ambre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230B1B2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--grise .pastilles li { background: var(--surface); }

/* Blocs numérotés */
.blocs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: bloc; }
.blocs--trois { grid-template-columns: repeat(3, 1fr); }
.bloc {
  position: relative; counter-increment: bloc;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--rayon);
  background: var(--surface); border: 1px solid var(--ligne);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.section:not(.section--grise) .bloc { background: var(--fond-2); }
.bloc::before {
  content: counter(bloc, decimal-leading-zero); display: block; margin-bottom: 18px;
  font-size: .875rem; font-weight: 700; letter-spacing: .1em; color: var(--ambre-700);
}
.bloc:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.bloc--large { grid-column: 1 / -1; }
.bloc h3 { font-size: 1.3rem; overflow-wrap: break-word; hyphens: auto; } /* « Rückversicherungsbedingungen » */
.bloc p { font-size: 1rem; }
.bloc p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .blocs, .blocs--trois { grid-template-columns: minmax(0, 1fr); } }

/* Devise sur bande sombre */
.devise { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 9vw, 112px); background: var(--encre); text-align: center; }
.devise::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(ellipse 50% 90% at 50% 120%, rgba(244, 150, 53, .22), transparent 70%), repeating-linear-gradient(135deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 47px); }
.devise p { margin: 0; color: var(--blanc); font-size: clamp(1.6rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.devise span { color: var(--ambre); padding-inline: .3em; }

/* Organisation */
.conseil { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.groupe { padding: clamp(28px, 3vw, 40px); border-radius: var(--rayon); background: var(--fond-2); border: 1px solid var(--ligne); }
.groupe h3 { font-size: 1.15rem; color: var(--bleu); margin-bottom: 18px; }
.personnes { list-style: none; margin: 0; padding: 0; }
.personnes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--ligne); color: var(--titre); font-weight: 500; font-size: 1.0625rem; }
.personnes li:first-child { border-top: 0; padding-top: 0; }
.role { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ambre-800); }
.organes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.organe { padding: clamp(26px, 3vw, 36px); background: var(--surface); }
.organe h2 { margin-bottom: 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); }
.organe p { margin: 0; color: var(--titre); font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.organe p + p { margin-top: 6px; }
.organe a { color: inherit; text-decoration: underline; text-decoration-color: var(--brume); text-decoration-thickness: 1.5px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.organe a:hover { text-decoration-color: var(--ambre-700); }
.organe--large { grid-column: span 2; }
@media (max-width: 960px) { .conseil { grid-template-columns: 1fr; } .organes { grid-template-columns: 1fr 1fr; } .organe--large { grid-column: 1 / -1; } }
@media (max-width: 600px) { .organes { grid-template-columns: 1fr; } }

/* Formulaires : deux colonnes, liste de téléchargements */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .deux-colonnes { grid-template-columns: 1fr; } }
.texte p:last-child { margin-bottom: 0; }
.texte h3 { font-size: 1.2rem; margin-top: 1.6em; }
.note { display: flex; gap: 14px; padding: 18px 22px; border-radius: 10px; background: var(--fond-2); border-left: 3px solid var(--ambre); color: var(--titre); }
.telechargements { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.telechargement a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px 4px; border-bottom: 1px solid var(--ligne);
  color: var(--titre); font-weight: 500; text-decoration: none;
  transition: background-color .25s var(--ease), padding .25s var(--ease);
}
.telechargement a:hover { background: var(--fond-2); padding-inline: 14px; }
.telechargement svg { width: 34px; height: 34px; fill: none; stroke: var(--bleu); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.telechargement small { display: block; color: var(--discret); font-size: .8125rem; font-weight: 400; letter-spacing: .04em; }
.telechargement__fleche { color: var(--ambre-700); font-size: 1.25rem; transition: transform .25s var(--ease); }
.telechargement a:hover .telechargement__fleche { transform: translateY(2px); }
.carte-adresse { padding: clamp(28px, 3vw, 36px); border-radius: var(--rayon); background: var(--nuit); color: rgba(255, 255, 255, .8); }
.carte-adresse h2 { color: var(--blanc); font-size: 1.15rem; }
.carte-adresse address { font-style: normal; line-height: 1.7; }
.colle { position: sticky; top: calc(var(--haut-entete) + 24px); display: grid; gap: 20px; }

/* Source des chiffres clés, sous la grille */
.chiffres__source { margin-top: 12px; margin-bottom: 0; font-size: .8125rem; color: var(--discret); text-align: right; }

/* Listes dans les blocs (gouvernance) */
.bloc ul { margin: 0 0 1em; padding-left: 1.15em; font-size: 1rem; }
.bloc li { margin-bottom: .4em; }
.bloc li::marker { color: var(--ambre-700); }

/* Schéma « une œuvre de prévoyance par entreprise » (Fonctionnement) */
.schema { --ecart-schema: clamp(12px, 1.6vw, 20px); margin: 0 0 clamp(56px, 7vw, 88px); }
.schema__oeuvres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ecart-schema); }
.schema__oeuvre { padding: 22px 24px 14px; border-radius: var(--rayon); background: var(--fond-2); border: 1px solid var(--ligne); border-top: 3px solid var(--ambre); }
.schema__oeuvre h3 { margin-bottom: 10px; font-size: 1.15rem; }
.schema__oeuvre ul { list-style: none; margin: 0; padding: 0; font-size: .9375rem; color: var(--texte); }
.schema__oeuvre li { padding: 8px 0; border-top: 1px solid var(--ligne); }
.schema__commun { position: relative; margin: 24px 0 0; padding: 16px 24px; border-radius: var(--rayon); background: var(--encre); color: var(--blanc); font-weight: 600; text-align: center; }
.schema__commun::before { /* trois traits qui relient les œuvres au socle commun */
  content: ""; position: absolute; left: calc((100% - 2 * var(--ecart-schema)) / 6); right: calc((100% - 2 * var(--ecart-schema)) / 6); bottom: 100%; height: 24px;
  background: linear-gradient(var(--brume), var(--brume)) left / 1px 100% no-repeat, linear-gradient(var(--brume), var(--brume)) center / 1px 100% no-repeat, linear-gradient(var(--brume), var(--brume)) right / 1px 100% no-repeat;
}
:root[data-theme="dark"] .schema__commun { background: var(--nuit-2); }
.schema figcaption { margin-top: 12px; font-size: .875rem; color: var(--discret); }
@media (max-width: 760px) {
  .schema__oeuvres { grid-template-columns: minmax(0, 1fr); }
  .schema__commun::before { left: 50%; right: auto; width: 1px; background: var(--brume); }
}

/* Autorité de surveillance (Organisation), hors de la liste des mandataires */
.surveillance { max-width: 72ch; margin: 28px 0 0; color: var(--texte); font-size: 1rem; }
.surveillance a { color: var(--titre); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brume); text-decoration-thickness: 1.5px; }
.surveillance a:hover { text-decoration-color: var(--ambre-700); }

/* ---------- 12. Pied de page ---------- */
.pied { background: var(--nuit); color: rgba(255, 255, 255, .72); font-size: .9688rem; }
.pied a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.pied a:hover { color: var(--ambre); }
.pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 28px; }
.pied__bas p { margin: 0; font-size: .875rem; }
.langues--pied { border: 0; padding: 0; }

/* ---------- 13. Apparition au défilement (le contenu reste visible sans JS) ---------- */
.js [data-apparition] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delai, 0s); }
.js [data-apparition].est-visible { opacity: 1; transform: none; }

/* ---------- 14. Mouvement réduit : état final, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-apparition] { opacity: 1; transform: none; }
  .chiffre::after { transform: scaleX(1); }
}

/* ---------- 15. Graphique de performance (SVG généré au build) ---------- */
.graphique { margin: 0; padding: clamp(20px, 3vw, 36px); border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.graphique__legende { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; color: var(--titre); font-weight: 500; }
.graphique__cle { display: inline-flex; align-items: center; gap: 10px; }
.graphique__cle::before { content: ""; width: 26px; height: 4px; border-radius: 2px; }
.graphique__cle--a::before { background: var(--ambre); }
.graphique__cle--b::before { background: var(--bleu); }
.graphique__zone { position: relative; }
.graphique__svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.graphique__grille { stroke: var(--ligne); stroke-width: 1; }
.graphique__axe { fill: var(--discret); font: 500 var(--axe, 13px) var(--police); }
.graphique__ligne { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.graphique__ligne--a { stroke: var(--ambre); }
.graphique__ligne--b { stroke: var(--bleu); stroke-width: 2.5; }
.graphique__fin--a { fill: var(--ambre); }
.graphique__fin--b { fill: var(--bleu); }
.graphique__valeur { font: 700 var(--valeur, 17px) var(--police); }
.graphique__valeur--a { fill: var(--ambre-800); }
.graphique__valeur--b { fill: var(--bleu); }
.graphique__repere { stroke: var(--brume); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; transition: opacity .2s; }
.graphique__zone.survol .graphique__repere { opacity: 1; }
.graphique__bulle {
  position: absolute; top: 0; z-index: 2; transform: translateX(-50%); pointer-events: none;
  min-width: 170px; padding: 10px 14px; border-radius: 10px;
  background: var(--encre); color: var(--blanc); font-size: .875rem; line-height: 1.5; box-shadow: var(--ombre-forte);
}
.graphique__bulle strong { display: block; margin-bottom: 4px; color: #C3CEDA; font-weight: 500; }
.graphique__bulle span { display: flex; justify-content: space-between; gap: 16px; }
.graphique__bulle b { font-variant-numeric: tabular-nums; }
.graphique__bulle .a b { color: var(--ambre); }
.graphique__bulle .b b { color: #8FB6DB; }
/* Les courbes se dessinent à l'apparition */
.js .graphique .graphique__ligne { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js .graphique .graphique__aire, .js .graphique .graphique__fin, .js .graphique .graphique__valeur { opacity: 0; transition: opacity .6s var(--ease) 1.6s; }
.js .graphique.est-visible .graphique__ligne { stroke-dashoffset: 0; }
.js .graphique.est-visible .graphique__aire, .js .graphique.est-visible .graphique__fin, .js .graphique.est-visible .graphique__valeur { opacity: 1; }
.graphique__donnees { margin-top: 18px; font-size: .9375rem; }
.graphique__donnees summary { cursor: pointer; color: var(--bleu); font-weight: 500; }
.graphique__donnees table { width: 100%; max-width: 560px; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.graphique__donnees th, .graphique__donnees td { padding: 6px 10px; border-bottom: 1px solid var(--ligne); text-align: right; }
.graphique__donnees th:first-child { text-align: left; }
.graphique__svg--etroit { display: none; }
@media (max-width: 600px) { .graphique__svg--large { display: none; } .graphique__svg--etroit { display: block; } }

/* Effectifs : barres empilées générées au build (bloc_effectifs) ; --a et --b = part de l'échelle */
.barres { --haut-barres: 260px; }
.barres__cle::before { width: 14px; height: 14px; border-radius: 3px; }
.barres__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(4px, 1.2vw, 16px); align-items: end; }
.barres__liste li { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.barres__total { margin-bottom: 6px; font-size: .8125rem; font-weight: 600; color: var(--titre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.barres__pile { display: flex; flex-direction: column; gap: 2px; transform-origin: bottom; transition: transform .9s var(--ease); }
.barres__a { height: calc(var(--a) * var(--haut-barres)); background: var(--ambre-700); }
.barres .graphique__cle--a::before { background: var(--ambre-700); }
.barres__source { margin-top: 12px; font-size: .8125rem; color: var(--discret); }
.barres__b { height: calc(var(--b) * var(--haut-barres)); background: var(--bleu); border-radius: 4px 4px 0 0; }
.barres__annee { padding-top: 8px; border-top: 1px solid var(--brume); font-size: .8125rem; color: var(--discret); font-variant-numeric: tabular-nums; }
.js .barres:not(.est-visible) .barres__pile { transform: scaleY(0); }
@media (max-width: 600px) {
  .barres { --haut-barres: 200px; }
  .barres__liste li:not(:last-child) .barres__total { visibility: hidden; } /* seul le dernier total tient à cette largeur */
  .barres__siecle { display: none; }
  .barres .graphique__donnees th, .barres .graphique__donnees td { padding: 6px 4px; }
  .barres .graphique__donnees thead th { hyphens: manual; } /* coupures U+00AD posées par cesure() */
}

/* ---------- 16. Reportings ---------- */
.reportings { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.reportings__annee { padding: 24px 24px 18px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--ligne); }
.reportings__annee h3 { margin-bottom: 12px; font-size: 1.5rem; letter-spacing: -.02em; }
.reportings__annee ul { list-style: none; margin: 0; padding: 0; }
.reportings__annee a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--ligne); color: var(--titre); font-weight: 500; text-decoration: none;
  transition: color .2s var(--ease), padding .25s var(--ease);
}
.reportings__annee a:hover { color: var(--ambre-700); padding-left: 6px; }
.reportings__annee small { color: var(--discret); font-size: .8125rem; font-weight: 400; white-space: nowrap; }

/* ---------- 17. Contact ---------- */
.deux-colonnes--contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 960px) { .deux-colonnes--contact { grid-template-columns: 1fr; } }
.texte .carte-adresse { margin-top: 28px; }
.carte-adresse__titre { color: var(--blanc); font-size: 1.15rem; margin-top: 0 !important; }
.photo-large img { width: 100%; height: auto; margin-top: 20px; border-radius: var(--rayon); }
.formulaire { padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--rayon) * 1.5); background: var(--fond-2); border: 1px solid var(--ligne); }
.formulaire__titre { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 24px; }
.formulaire form { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { color: var(--titre); font-weight: 600; font-size: .9375rem; }
.champ input, .champ textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--bord-champ);
  background: var(--surface); color: var(--titre); font: 400 1rem/1.5 var(--police);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.champ textarea { resize: vertical; min-height: 160px; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(20, 69, 111, .14); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: #B3261E; }
.champ--piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire button { justify-self: start; cursor: pointer; }
.formulaire button[disabled] { opacity: .6; cursor: wait; }
.formulaire__etat { margin: 0; min-height: 1.5em; font-weight: 500; }
.formulaire__etat.est-succes { color: #1E6B3A; }
.formulaire__etat.est-erreur { color: #B3261E; }

/* ---------- 18. Bande des partenaires (logos) ---------- */
.partenaires { padding-block: clamp(48px, 6vw, 72px); background: var(--fond-2); border-top: 1px solid var(--ligne); }
.partenaires__titre { margin: 0 0 28px; text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--discret); }
.partenaires__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partenaires__liste a {
  display: grid; place-items: center; width: 150px; height: 80px; padding: 16px 18px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--ligne); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partenaires__liste img { max-width: 100%; max-height: 40px; width: auto; height: auto; filter: grayscale(1); opacity: .72; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.partenaires__texte { color: var(--titre); font-weight: 600; font-size: .9375rem; text-align: center; line-height: 1.25; }
.partenaires__liste a:hover, .partenaires__liste a:focus-visible { transform: translateY(-3px); box-shadow: var(--ombre); }
.partenaires__liste a:hover img, .partenaires__liste a:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 600px) { .partenaires__liste { display: grid; grid-template-columns: 1fr 1fr; } .partenaires__liste a { width: auto; } }

/* ---------- 19. Pages juridiques ---------- */
.hero--sobre { min-height: 0; padding-top: calc(var(--haut-entete) + clamp(56px, 8vw, 96px)); background: var(--nuit); }
.hero--sobre::after { background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(244, 150, 53, .14), transparent 60%), repeating-linear-gradient(135deg, transparent 0 46px, rgba(255, 255, 255, .03) 46px 47px); }
.juridique { max-width: 760px; }
.juridique h2 { margin: 2em 0 .5em; font-size: 1.3rem; }
.juridique .chapo { max-width: none; margin-bottom: 1.5em; }
.juridique__date { margin-top: 2.5em; color: var(--discret); font-size: .9375rem; }
.formulaire__note { margin: 0; color: var(--discret); font-size: .875rem; }
.pied__bas a { text-decoration: underline; text-decoration-color: var(--ligne-sombre); }

/* ---------- 20. Thème sombre : ce que les jetons ne couvrent pas ---------- */
[data-theme="dark"] .entete.est-colle .entete__barre { border-color: rgba(255, 255, 255, .13); }
[data-theme="dark"] .bouton--sombre { --fond: transparent; --bord: rgba(255, 255, 255, .45); }
[data-theme="dark"] .bouton--sombre:hover { --fond: rgba(255, 255, 255, .08); --bord: var(--blanc); }
[data-theme="dark"] .carte-adresse, [data-theme="dark"] .graphique__bulle { border: 1px solid var(--ligne); }
[data-theme="dark"] .pied { border-top: 1px solid var(--ligne); }
[data-theme="dark"] .champ input, [data-theme="dark"] .champ textarea { background: var(--page); }
[data-theme="dark"] .champ input:focus, [data-theme="dark"] .champ textarea:focus { box-shadow: 0 0 0 4px rgba(143, 182, 219, .22); }
[data-theme="dark"] .champ input:user-invalid, [data-theme="dark"] .champ textarea:user-invalid { border-color: #FF8A80; }
[data-theme="dark"] .formulaire__etat.est-succes { color: #7FD69F; }
[data-theme="dark"] .formulaire__etat.est-erreur { color: #FF9A8F; }
/* Logos partenaires (sombres ou en couleur) : tuiles claires mais adoucies */
[data-theme="dark"] .partenaires__liste a { background: #DCE3EB; border-color: transparent; }
[data-theme="dark"] .partenaires__texte { color: var(--encre); }
