/* LA RESSOURCERIE — `ressources/index`, `pz`, `monde`, `bibliotheque` et leurs cartes.

   ⚠️ CES RÈGLES VIVAIENT DANS `pz_theme.css`, ET LE NAVIGATEUR N'EN APPLIQUAIT AUCUNE. Cette feuille
   laisse 217 règles ouvertes (une accolade fermante manque), et le navigateur l'abandonne bien
   avant la Ressourcerie : mesuré sur la préprod le 17 octobre 2026, 8 règles lues. La page
   `/ressources` s'affichait donc sans mise en forme — portraits géants, rayons en colonne (capture
   de Boris). Elles sont DÉMÉNAGÉES ici, à l'identique, chacune refermée ; `pz_theme.css` n'est pas
   touchée (ni nettoyage, ni ajout : voir sa propre tête). Le jour où elle sera réparée, ses copies
   diront la même chose que celles-ci.

   Ce que la feuille porte : les règles `.res-*` (106, dans l'ordre du fichier d'origine, ses deux
   blocs `@media` compris) et l'en-tête partagé `.jp-header*` / `.jp-title` / `.jp-eyebrow` /
   `.jp-promesse`. Chargée par les quatre vues de la Ressourcerie seulement : les autres pages qui
   emploient une classe `res-*` (Cercles, ateliers, fils) ne changent pas avec ce lot. */

/* L'en-tête (vocabulaire partagé avec les pages de parcours ; `.jp-header` et `.jp-header-media`,
   que la Ressourcerie n'émet pas, restent dans leur feuille). */
.jp-header-text { min-width: 0; color: #fff; }
.jp-eyebrow { font-size: var(--pz-fs-11, 11px); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin: 0 0 2px; }
.jp-title { font-size: clamp(24px, 1.5rem, 36px); font-weight: 700; margin: 0 0 6px; color: #fff; overflow-wrap: anywhere; }
.jp-promesse { margin: 0; font-size: var(--pz-fs-14, 14px); line-height: 1.45; opacity: .95; white-space: pre-line; }
@media (max-width: 575.98px) { .jp-title { font-size: clamp(20px, 1.25rem, 30px); } }

/* Les rayons, les cartes et les fiches. */
.res-filtre { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; }
.res-filtre-label { margin: 0; font-size: var(--pz-fs-13, 13px); color: #7d7369; }
.res-filtre select { border: 1px solid #dee2e6; border-radius: 8px; padding: 6px 10px; font-size: var(--pz-fs-13, 13px); }
.res-section-titre { font-size: var(--pz-fs-13, 13px); letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #6d665f; margin: 28px 0 4px; }
.res-section-titre:first-child { margin-top: 0; }
.res-section-titre--fiche { margin-top: 0; }
.res-rayon { margin-top: 14px; }
.res-rayon-titre { font-size: var(--pz-fs-17, 17px); font-weight: 700; color: var(--pz-violet-deep); margin: 0 0 10px; }
.res-etagere { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.res-etagere::-webkit-scrollbar { height: 6px; }
.res-etagere::-webkit-scrollbar-thumb { background: #e6e0d8; border-radius: 3px; }
.res-carte { flex: none; width: 132px; scroll-snap-align: start; text-decoration: none;
  color: inherit; display: block; }
.res-carte:hover, .res-carte:focus { color: inherit; text-decoration: none; }
.res-carte-couverture { aspect-ratio: 2/3; border-radius: 10px; background-size: cover;
  background-position: center; box-shadow: 0 3px 10px rgba(0,0,0,.14); }
.res-carte-couverture--vide { background: linear-gradient(135deg, var(--pz-violet), var(--pz-rose)); }
.res-carte--exterieure { width: 180px; }
.res-carte--medaillon { width: 132px; }
.res-carte--exterieure.res-carte--medaillon .res-carte-couverture { aspect-ratio: 1024/1280;
  border-radius: 10px; background-size: cover; background-position: center; border: none;
  padding: 0; display: block; }
.res-carte--exterieure .res-carte-couverture { aspect-ratio: auto; border-radius: 10px;
  background: #f1ece2; border: 1px solid #e6ded1; padding: 5px; display: flex; }
.res-carte--exterieure .res-carte-image { width: 100%; aspect-ratio: 864/539; border-radius: 6px;
  background-size: cover; background-position: center; }
.res-carte--exterieure .res-carte-image--vide { background: #e6ded1; }
.res-carte-corps { padding: 8px 2px 0; }
.res-carte--experte { text-align: center; }
.res-carte-avatar-zone { position: relative; aspect-ratio: 2/3; display: flex;
  align-items: center; justify-content: center; border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center; }
.res-carte-avatar-zone--nue { background: #f1ece2; }
.res-carte-voile { position: absolute; inset: 0; }
.res-carte-avatar { position: relative; width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.28);
  transition: transform .15s; }
.res-carte--experte:hover .res-carte-avatar { transform: scale(1.04); }
.res-carte-avatar--vide { position: relative; width: 84px; height: 84px; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pz-violet), var(--pz-rose));
  color: #fff; font-size: 30px; font-weight: 700; }
.res-carte-titre--experte { text-align: center; }
.res-carte-fonction { margin: 2px 0 0; font-size: var(--pz-fs-11, 11px); line-height: 1.3; color: #8b8397;
  text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.res-carte-titre { margin: 0; font-size: 0.78125rem; line-height: 1.3; font-weight: 600;
  color: #3f3a36; overflow-wrap: anywhere; }
.res-carte--pz .res-carte-titre { color: var(--pz-violet-deep); }
.res-vide { color: #7d7369; font-size: var(--pz-fs-14, 14px); margin-top: 20px; }
.res-schemas { display: flex; gap: 14px; overflow-x: auto; margin: 18px 0 4px;
  padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.res-schema { flex: none; width: 220px; scroll-snap-align: start; margin: 0; }
.res-schema img { display: block; width: 100%; height: 160px; object-fit: contain;
  background: #faf6ee; border: 1px solid #e7d9b6; border-radius: 10px; }
.res-schema figcaption { margin-top: 6px; font-size: var(--pz-fs-12, 12px); line-height: 1.35; color: #8a7654; }
@media (max-width: 575.98px) { .res-schema { width: 180px; } .res-schema img { height: 130px; } }
.res-eclat { font-weight: 600; color: #6b4f1c; }
.res-experience-lien { margin-top: 22px; }
.res-deja-rencontre { display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: var(--pz-fs-14, 14px); font-weight: 600; color: #2e7d4f; }
.res-fiche-couverture { height: 320px; background-size: cover; background-position: center 22%; }
@media (max-width: 575.98px) { .res-fiche-couverture { height: 220px; } }
.res-monde-couverture { aspect-ratio: 864/539; background-size: cover; background-position: center; }
.res-credit { margin: 6px 14px 0; text-align: right; font-size: 0.71875rem; color: #8b8079; }
.res-credit a { color: #8b8079; text-decoration: underline; }
.res-credit a:hover { color: #62044f; }
.res-monde-famille { margin: 0; font-size: var(--pz-fs-12, 12px); letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #9a938d; }
.res-monde-titre { margin: 2px 0 18px; font-size: clamp(24px, 1.5rem, 36px); font-weight: 700; color: #2f2b27; }
.res-monde-entete { display: flex; align-items: center; gap: 16px; }
.res-portrait { width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  flex: none; box-shadow: 0 0 0 3px #fff, 0 1px 4px rgba(0,0,0,.15); }
.res-renvoi { display: block; margin: 4px 0 20px; padding: 12px 16px; border-radius: 8px;
  background: #f6f2f9; border: 1px solid #e4dcec; text-decoration: none; transition: background .15s; }
.res-renvoi:hover { background: #efe8f5; text-decoration: none; }
.res-renvoi-label { display: block; font-size: 0.65625rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: #7d7490; margin-bottom: 2px; }
.res-renvoi-nom { display: block; font-size: 0.96875rem; font-weight: 700; color: #6b2d8c; }
.res-renvoi-nom::after { content: " \2192"; }
.res-linkedin { display: inline-flex; align-items: center; gap: 8px; font-size: var(--pz-fs-14, 14px);
  font-weight: 600; color: #0a66c2; text-decoration: none; }
.res-linkedin:hover { text-decoration: underline; color: #0a66c2; }
.res-linkedin-marque { display: inline-block; width: 20px; height: 20px; border-radius: 3px;
  background: #0a66c2; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px;
  text-align: center; font-family: Georgia, serif; }
.res-cycle, .res-champions { margin: 24px 0 4px; }
.res-cycle-titre { font-size: var(--pz-fs-12, 12px); letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: #6b6478; margin: 0 0 14px; }
.res-cycle-liste { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative;
  counter-reset: oeuvre; }
.res-cycle-liste::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(#d8cfe4, #efe9f3); }
.res-cycle-etape { position: relative; margin: 0 0 16px; counter-increment: oeuvre; }
.res-cycle-etape:last-child { margin-bottom: 0; }
.res-cycle-etape::before { content: counter(oeuvre); position: absolute; left: -26px; top: 0;
  width: 16px; height: 16px; border-radius: 50%; background: #6b2d8c; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.res-cycle-etape--vide::before { background: #cfc7d8; }
.res-cycle-nom { display: block; font-size: var(--pz-fs-13, 13px); font-weight: 700; color: #3d3547;
  margin-bottom: 2px; }
.res-cycle-texte { margin: 0; font-size: var(--pz-fs-14, 14px); line-height: 1.55; color: #4a4459; }
.res-cycle-etape--vide .res-cycle-texte { color: #8b8397; font-style: italic; }
.res-champion { margin: 0 0 14px; padding-left: 12px; border-left: 3px solid #e4dcec; }
.res-champion:last-child { margin-bottom: 0; }
.res-champion-nom { margin: 0; font-size: var(--pz-fs-15, 15px); font-weight: 700; color: #3d3547; }
.res-champion-fonction { margin: 1px 0 0; font-size: 0.84375rem; color: #6b6478; }
.res-champion-devise { margin: 4px 0 0; font-size: 0.84375rem; font-style: italic; color: #4a4459; }
.res-devise { margin: -6px 0 16px; font-size: var(--pz-fs-16, 16px); font-style: italic; color: #4a4459;
  line-height: 1.45; }
.res-apercu { margin: 0 0 18px; padding: 10px 14px; border-left: 4px solid #a81e4d;
  background: #fdf2f5; color: #6e1533; font-size: 0.84375rem; line-height: 1.5;
  border-radius: 0 6px 6px 0; }
.res-apercu code { font-size: 0.78125rem; background: #fff; padding: 1px 5px; border-radius: 3px; }
.res-verticales { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.res-verticale-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.res-verticale-transition { font-size: 0.65625rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; flex: none; }
.res-verticale { display: inline-block; padding: 3px 11px; font-size: 0.78125rem; font-weight: 600;
  background: #fff; border: 1.5px solid; border-radius: 999px; }
.res-monde-meta { width: 100%; margin-bottom: 20px; border-collapse: collapse; font-size: 0.84375rem; }
.res-monde-meta th { text-align: left; font-weight: 600; color: #6d665f; padding: 5px 14px 5px 0;
  white-space: nowrap; vertical-align: top; }
.res-monde-meta td { padding: 5px 0; color: #3f3a36; }
.res-monde-section { margin-bottom: 18px; }
.res-monde-section h2 { font-size: var(--pz-fs-14, 14px); font-weight: 700; color: #2f2b27; margin: 0 0 6px; }
.res-monde-section p { margin: 0; font-size: var(--pz-fs-14, 14px); line-height: 1.55; color: #4a4540; }
.res-monde-section ul { margin: 0; padding-left: 20px; font-size: var(--pz-fs-14, 14px); line-height: 1.55; color: #4a4540; }
.res-monde-section li { margin-bottom: 4px; }
@media (max-width: 575.98px) {
  .res-carte { width: 108px; }
  .res-carte--exterieure { width: 150px; }
  .res-carte--medaillon { width: 108px; }
}
.res-filtre { flex-wrap: wrap; }
.res-recherche { border: 1px solid #dee2e6; border-radius: 8px; padding: 6px 10px; font-size: var(--pz-fs-13, 13px); min-width: 200px; }
.res-recherche-go { border: 1px solid #dee2e6; border-radius: 8px; padding: 6px 12px; font-size: var(--pz-fs-13, 13px); background: #fff; cursor: pointer; }
.res-recherche-go:hover { border-color: var(--pz-violet); color: var(--pz-violet); }
.res-lien-bibliotheque { font-size: var(--pz-fs-13, 13px); font-weight: 700; color: var(--pz-violet-deep); white-space: nowrap; }
.res-favori-bouton { border: 1px solid #dee2e6; border-radius: 999px; padding: 5px 14px; font-size: 0.78125rem;
  background: #fff; color: #6d665f; cursor: pointer; margin-top: 6px; }
.res-favori-bouton:hover { border-color: var(--pz-violet); color: var(--pz-violet); }
.res-favori-bouton.est-pose { border-color: var(--pz-violet); background: #f4ecf3; color: var(--pz-violet-deep); }
@media (max-width: 760px) {
  body:has(.res-filtre) .res-recherche,
  body:has(.res-filtre) .res-recherche-go,
  body:has(.res-filtre) .res-filtre select { min-height: 44px; }
  body:has(.res-filtre) .res-lien-bibliotheque { position: relative; }
  body:has(.res-filtre) .res-lien-bibliotheque::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    bottom: -12px;
  }
}
