/* =========================================================
   Collectif Bien-être Pays de Nay — feuille de style unique
   Mobile d'abord : les règles de base visent 375 px.
   ========================================================= */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url(/polices/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(/polices/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(/polices/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/polices/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(/polices/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/polices/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url(/polices/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }

/* ---------- Couleurs et mesures ---------- */
:root {
  --creme: #F4EEE4;
  --creme-clair: #FAF6EF;
  --sable: #E3D5C0;
  --sable-clair: #EDE3D4;
  --terre: #B86F4C;          /* couleur de marque (décor, survols) */
  --terre-fonce: #9E5A3B;    /* boutons et liens : contraste AA avec le blanc et la crème */
  --terre-tres-fonce: #84492F;
  --olive: #3E4A33;
  --olive-doux: #56624A;
  --sauge: #8A9A7B;
  --sauge-clair: #C9D0BD;
  --texte: #333D2A;

  --titres: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --corps: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --rayon: 14px;
  --rayon-petit: 8px;
  --ombre: 0 1px 2px rgba(62, 74, 51, .05), 0 8px 28px -12px rgba(62, 74, 51, .18);
  --ombre-forte: 0 2px 4px rgba(62, 74, 51, .06), 0 18px 40px -16px rgba(62, 74, 51, .28);
  --marge: 16px;
  --rayon-carte: 16px;
  --ombre-carte: 0 1px 2px rgba(62, 74, 51, .04), 0 10px 30px -18px rgba(62, 74, 51, .22);
  --largeur-texte: 40rem;
  --largeur-page: 72rem;
  --duree: .35s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font: 300 1.0625rem/1.65 var(--corps);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terre-fonce); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--terre-tres-fonce); }
strong, b { font-weight: 500; }
h1, h2, h3 { font-family: var(--titres); font-weight: 500; color: var(--olive); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--terre-fonce); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--olive); color: var(--creme); padding: 10px 16px; border-radius: var(--rayon-petit); }
.lien-evitement:focus { top: 12px; color: var(--creme); }

.bandeau-demo { margin: 0; padding: 8px var(--marge); background: var(--olive); color: var(--creme); font-size: .85rem; text-align: center; letter-spacing: .02em; }

.icone { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1rem/1.2 var(--corps); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--duree), color var(--duree), border-color var(--duree), box-shadow var(--duree), transform var(--duree);
}
.bouton-principal { background: var(--terre-fonce); color: #fff; box-shadow: 0 6px 18px -8px rgba(158, 90, 59, .7); }
.bouton-principal:hover { background: var(--terre-tres-fonce); color: #fff; }
.bouton-secondaire { background: transparent; color: var(--olive); border-color: var(--olive-doux); }
.bouton-secondaire:hover { background: var(--olive); color: var(--creme); }
.bouton-discret { min-height: 0; padding: 0; color: var(--terre-fonce); border-radius: 0; font-weight: 500; }
.bouton-discret::after { content: "→"; transition: transform var(--duree); }

/* ---------- En-tête ---------- */
.entete { position: relative; z-index: 5; }
.entete-int { max-width: var(--largeur-page); margin: 0 auto; padding: 14px var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--olive); text-decoration: none; line-height: 1.05; }
.logo:hover { color: var(--olive); }
.logo-feuille { width: 30px; height: 30px; color: var(--sauge); flex: none; }
.logo b { display: block; font: 600 1.2rem/1 var(--titres); letter-spacing: .01em; }
.logo small { display: block; font: 400 .7rem/1.3 var(--corps); letter-spacing: .16em; text-transform: uppercase; color: var(--olive-doux); margin-top: 3px; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--olive); text-decoration: none; font-size: .95rem; font-weight: 400; padding: 8px 0; display: inline-block; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--terre); }
.nav li:last-child { display: none; }
@media (min-width: 560px) { .nav li:last-child { display: list-item; } }

/* ---------- Pied de page ---------- */
.pied { position: relative; margin-top: 72px; background: var(--olive); color: var(--sable-clair); padding: 64px var(--marge) 40px; font-size: .95rem; }
.pied a { color: var(--creme); }
.pied a:hover { color: #fff; }
.pied h2 { color: var(--creme); font-size: 1.4rem; margin-bottom: .4em; }
.pied-branche { position: absolute; top: 18px; left: 50%; width: 150px; margin-left: -75px; color: var(--sauge); }
.pied-int { max-width: var(--largeur-page); margin: 0 auto; display: grid; gap: 28px; }
.pied-nom { font: 500 1.5rem/1.2 var(--titres); color: var(--creme); margin-bottom: .4em; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 760px) { .pied-int { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }

/* ---------- Motifs ---------- */
.branche, .rameau { color: var(--sauge); }

/* ---------- Portrait ou initiales (fiches et cartes) ---------- */
.portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--rayon) var(--rayon); background: var(--sable); }
.initiales { display: grid; place-items: center; background: var(--sauge); color: var(--olive); font: 500 clamp(3.4rem, 18vw, 5.2rem)/1 var(--titres); letter-spacing: .04em; }
.initiales span { transform: translateY(6%); }

/* =========================================================
   FICHE PRATICIEN
   Mobile : tout s'empile en une colonne, marges de 16 px.
   Ordinateur : en-tête en deux colonnes, cartes en grille.
   ========================================================= */
.page-fiche { padding-bottom: 0; }
.page-fiche .pied { margin-top: 0; }
.fiche { max-width: var(--largeur-page); margin: 0 auto; padding: 0 var(--marge); }


/* Fil d'Ariane */
.fil ol { list-style: none; margin: 6px 0 16px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: .88rem; color: var(--olive-doux); }
.fil li { display: inline-flex; align-items: center; gap: 6px; }
.fil a { color: var(--olive-doux); text-decoration: none; padding: 6px 0; }
.fil a:hover { color: var(--terre-fonce); text-decoration: underline; }
.fil .icone { width: .9em; height: .9em; color: var(--sauge); }

/* ---------- Cartes : langage commun ---------- */
.fiche-tete, .carte-rubrique, .fiche-photo, .fiche-infos {
  border-radius: var(--rayon-carte);
  box-shadow: var(--ombre-carte);
}
.carte-rubrique {
  position: relative;
  background: var(--sable-clair);
  padding: 28px 22px;
}
.carte-rubrique h2 { font-size: 1.9rem; margin-bottom: .45em; }
.carte-rubrique h3 { font-size: 1.45rem; margin: 1.3em 0 .4em; }
.carte-rubrique > :last-child { margin-bottom: 0; }

/* ---------- En-tête ---------- */
.fiche-tete { overflow: hidden; background: var(--creme-clair); }
.fiche-portrait { position: relative; }
.fiche-portrait .portrait { width: 100%; aspect-ratio: 4 / 5; max-height: 72vh; border-radius: 0; object-fit: cover; object-position: 50% 25%; }
.fiche-portrait .initiales { aspect-ratio: 16 / 9; max-height: none; font-size: 4.4rem; }
.initiales-branche { position: absolute; left: -10px; bottom: -36px; width: 120px; color: var(--creme); opacity: .4; transform: scaleX(-1); pointer-events: none; }
.fiche-identite { position: relative; padding: 26px 22px 28px; isolation: isolate; }
.tete-branche { position: absolute; z-index: -1; top: -8px; right: -18px; width: 120px; color: var(--sauge); opacity: .55; }
.fiche-intitule { margin: 0 0 8px; font-size: .8rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--terre-fonce); }
.fiche-nom { margin-bottom: .15em; font-size: clamp(2.4rem, 9vw, 3.6rem); }
.fiche-structure { margin: 0 0 8px; color: var(--olive-doux); font-size: .95rem; font-style: italic; }
.fiche-lieu, .carte-lieu { display: flex; align-items: flex-start; gap: 7px; margin: 0 0 4px; color: var(--olive-doux); font-size: 1rem; }
.fiche-lieu .icone { color: var(--terre); margin-top: .2em; }
.fiche-citation { margin: 20px 0 16px; padding: 0; }
.fiche-citation p { margin: 0; font: italic 500 clamp(1.5rem, 5.6vw, 2rem)/1.3 var(--titres); color: var(--terre-fonce); }
.fiche-presentation { font-size: 1.05rem; }
.fiche-presentation p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { margin-top: 22px; }
.contact-boutons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-boutons .bouton { white-space: nowrap; }
.contact-boutons .libelle-court { display: none; }
/* Partager : petit bouton rond, icône seule, infobulle au survol et au clavier */
.bouton-partage { position: relative; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; background: var(--sable-clair); color: var(--olive); border-color: var(--sable); }
.bouton-partage:hover { background: var(--sable); color: var(--olive); }
.bouton-partage::after {
  content: attr(data-infobulle);
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  padding: 5px 12px; border-radius: 6px; background: var(--olive); color: var(--creme);
  font-size: .82rem; font-weight: 400; letter-spacing: 0; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.bouton-partage:hover::after, .bouton-partage:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .bouton-partage::after { display: none; } }
.contact-site { margin: 14px 0 0; font-size: .98rem; }
.contact-site a, .contact-reseaux a { display: inline-flex; align-items: center; gap: 8px; }
.contact-reseaux { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .98rem; }
.contact-site + .contact-reseaux { margin-top: 8px; }
.partage-confirmation { margin: 0; }
.partage-confirmation:not(:empty) { display: inline-block; margin-top: 12px; padding: 6px 16px; border-radius: 999px; background: var(--olive); color: var(--creme); font-size: .92rem; }

/* Barre de contact fixe (mobile) : élément à part, placé après le contenu de la fiche,
   hors de tout contexte d'empilement des cartes, et au-dessus de tout (sauf l'écran d'entrée). */
.contact--barre { display: none; }
@media (max-width: 959.98px) {
  .contact--tete .contact-boutons { display: none; }   /* sur mobile, la barre prend le relais */
  .contact--tete .contact-site, .contact--tete .contact-boutons + .contact-reseaux { margin-top: 0; }
  .contact--tete .partage-confirmation { display: none; }

  .contact--barre {
    display: block; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 239, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px -18px rgba(62, 74, 51, .45);
    border-top: 1px solid var(--sable);
    transition: transform .3s ease, visibility 0s;
  }
  /* Masquée quand le bandeau « Envie d'en savoir plus ? » (ou ce qui suit) est à l'écran */
  .contact--barre.barre-masquee { transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
  .contact--barre .contact-boutons { flex-wrap: nowrap; gap: 8px; }
  .contact--barre .bouton { flex: 1 1 0; min-width: 0; padding-left: .8em; padding-right: .8em; font-size: .95rem; }
  .contact--barre .bouton span { overflow: hidden; text-overflow: ellipsis; }
  .contact--barre .contact-plus { display: none; }
  .contact--barre .libelle-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .contact--barre .libelle-court { display: inline; }
  .contact--barre .bouton-partage { flex: 0 0 48px; padding: 0; }
  .contact--barre .partage-confirmation { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); margin: 0; white-space: nowrap; }
  .contact--barre .partage-confirmation:not(:empty) { box-shadow: var(--ombre); }

  /* Bandeau « Envie d'en savoir plus ? » : libellés courts pour tenir sur une ligne */
  .contact--bas .contact-boutons { flex-wrap: nowrap; }
  .contact--bas .libelle-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .contact--bas .libelle-court { display: inline; }
  .contact--bas .contact-plus { display: none; }

  /* Espace en bas de la fiche égal à la hauteur de la barre (mesurée par site.js) */
  .page-fiche { padding-bottom: var(--hauteur-barre, 84px); }
}

/* ---------- Thématiques : pastilles ---------- */
.themes { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
.themes a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--olive); padding: 4px; border-radius: var(--rayon-petit); }
.pastille { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--sable-clair); color: var(--terre); box-shadow: inset 0 0 0 1px rgba(184, 111, 76, .14); transition: background-color var(--duree), transform var(--duree); }
.icone-theme { width: 32px; height: 32px; }
.theme-nom { font: 500 1.22rem/1.2 var(--titres); }
.themes a:hover .pastille { background: var(--sable); transform: translateY(-2px); }
.themes a:hover .theme-nom { color: var(--terre-fonce); }

/* ---------- Corps : cartes et photos ---------- */
.fiche-corps { display: grid; gap: 16px; }
.formations { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--sable); font-size: .88rem; color: var(--olive-doux); }
.formations li + li { margin-top: 4px; }

.fiche-photo { margin: 0; overflow: hidden; background: var(--sable); }
.fiche-photo img { width: 100%; height: 100%; max-height: 72vh; object-fit: cover; }

/* Citation reprise en grand (mise en page éditoriale) */
.citation-reprise { text-align: center; padding-top: 30px; padding-bottom: 34px; background: var(--creme-clair); }
.citation-reprise .branche { width: 150px; margin: 0 auto 10px; }
.citation-reprise p { margin: 0; font: italic 400 clamp(1.9rem, 7vw, 3.1rem)/1.2 var(--titres); color: var(--terre-fonce); }

/* Un mot sur moi */
.fiche-mot p { font: 500 1.35rem/1.45 var(--titres); color: var(--olive); }

/* ---------- Informations pratiques : bandeau olive ---------- */
.fiche-infos { position: relative; overflow: hidden; isolation: isolate; background: var(--olive); color: var(--creme); padding: 28px 22px; }
.fiche-infos h2 { color: var(--creme); font-size: 1.9rem; margin-bottom: .7em; }
.infos-branche { position: absolute; z-index: -1; right: -24px; bottom: -40px; width: 150px; color: var(--sauge); opacity: .5; }
.fiche-infos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.fiche-infos li { display: flex; gap: 14px; align-items: flex-start; }
.infos-icone { width: 28px; height: 28px; color: var(--sable); margin-top: 1px; }
.fiche-infos p { margin: 0; }
.infos-titre { font-weight: 500; color: #fff; }
.infos-detail { margin-top: 2px !important; font-style: italic; color: var(--sable-clair); font-size: .95rem; }

.fiche-mention { margin: 28px auto 0; max-width: 40rem; font-size: .85rem; color: var(--olive-doux); text-align: center; }

/* ---------- Bandeau « Envie d'en savoir plus ? » ---------- */
.en-savoir-plus { position: relative; overflow: hidden; isolation: isolate; margin-top: 40px; padding: 56px var(--marge) 60px; background: #EADCC6; text-align: center; }
.ombres-feuillage { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #8C6B48; opacity: .2; }
.en-savoir-plus-int { max-width: 40rem; margin: 0 auto; }
.en-savoir-plus h2 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: .3em; }
.en-savoir-plus p { color: var(--olive-doux); }
.en-savoir-plus .contact { margin-top: 18px; }
.en-savoir-plus .contact-boutons { justify-content: center; }
.en-savoir-plus .bouton-secondaire { background: rgba(250, 246, 239, .6); }
.en-savoir-plus .bouton-partage { background: rgba(250, 246, 239, .7); }

/* ---------- Ordinateur ---------- */
@media (min-width: 960px) {
  .page-fiche { padding-bottom: 0; }

  .fiche-tete { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); min-height: 520px; }
  .fiche-portrait { min-height: 100%; }
  .fiche-portrait .portrait { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; max-height: none; }
  .fiche-portrait .initiales { font-size: 8rem; }
  .initiales-branche { left: 8px; bottom: -40px; width: 210px; }
  .fiche-identite { padding: 52px 56px 48px; align-self: center; }
  .tete-branche { top: -20px; right: -10px; width: 190px; }
  .fiche-citation p { font-size: 2.05rem; }
  .contact-site { margin-top: 16px; }

  .themes { display: flex; justify-content: center; gap: 0; margin: 44px 0; }
  .themes li { flex: 1 1 0; max-width: 280px; }
  .themes li + li { border-left: 1px solid var(--sable); }
  .pastille { width: 76px; height: 76px; }
  .icone-theme { width: 36px; height: 36px; }
  .theme-nom { font-size: 1.4rem; padding: 0 12px; }

  .fiche-corps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; grid-template-areas: var(--zones); }
  .carte-rubrique { padding: 40px 44px; }
  .carte-rubrique h2 { font-size: 2.2rem; }
  .fiche-photo { min-height: 320px; }
  .fiche-photo { position: relative; }
  .fiche-photo img { position: absolute; inset: 0; height: 100%; max-height: none; }

  .fiche--editorial { --zones: "parcours facon" "reprise reprise" "infos infos" "mot mot"; }
  .fiche--cote      { --zones: "parcours parcours" "facon photo1" "infos infos" "mot mot"; }
  .fiche--damier    { --zones: "parcours photo1" "photo2 facon" "infos infos" "mot mot"; }
  .zone-parcours { grid-area: parcours; }
  .zone-facon { grid-area: facon; }
  .zone-reprise { grid-area: reprise; }
  .zone-infos { grid-area: infos; }
  .zone-photo1 { grid-area: photo1; }
  .zone-photo2 { grid-area: photo2; }
  .zone-mot { grid-area: mot; }

  .fiche--cote .zone-parcours > * { max-width: 46rem; }
  .citation-reprise { padding: 52px 64px 56px; }
  .citation-reprise .branche { width: 190px; }
  .fiche-mot { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; align-items: baseline; }
  .fiche-mot h2 { margin: 0; }

  .fiche-infos { padding: 36px 44px 38px; }
  .fiche-infos h2 { font-size: 2.2rem; }
  .fiche-infos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .fiche-infos li { padding: 0 28px; }
  .fiche-infos li:first-child { padding-left: 0; }
  .fiche-infos li + li { border-left: 1px solid rgba(244, 238, 228, .22); }
  .infos-branche { right: 10px; bottom: -30px; width: 190px; }

  .en-savoir-plus { margin-top: 56px; padding: 72px var(--marge) 80px; }
}

/* =========================================================
   ÉCRAN D'ENTRÉE
   ========================================================= */
.entree { display: none; }
.js .entree {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
  background: var(--creme); color: var(--olive);
}
.js.entree-vue .entree { display: none; }
.entree-active { overflow: hidden; }
.filtres-eau { position: absolute; width: 0; height: 0; }

.entree-fond { position: absolute; inset: 0; z-index: -1; }
.entree-mosaique {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px;
  background: var(--creme);
}
/* Copie déformée : demi-résolution agrandie ×2, filtre calculé une fois (classe posée au repos) */
.entree-mosaique--onde { right: auto; bottom: auto; width: 50%; height: 50%; gap: 2px; transform-origin: 0 0; transform: scale(2); }
.entree-prete .entree-mosaique--onde { filter: url(#eau-mosaique); }
.entree-case { min-height: 0; overflow: hidden; background: var(--sable); }
.entree-case img { width: 100%; height: 100%; object-fit: cover; }
.entree-case:nth-child(6) img { object-position: 70% 50%; transform: scaleX(-1); }

/* Voile crème : renforcé sur mobile, où le texte passe sur les photos */
.entree-voile { position: absolute; inset: 0; background: rgba(244, 238, 228, .34); }
.entree-voile::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 60% at 50% 48%, rgba(244, 238, 228, .96) 0%, rgba(244, 238, 228, .9) 45%, rgba(244, 238, 228, .55) 75%, rgba(244, 238, 228, .25) 100%);
}

.entree-contenu { width: min(760px, 100% - 32px); padding: 32px 8px 72px; text-align: center; }
.entree-surtitre, .entree-coin { margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--olive); }
.entree-trait { display: block; width: 36px; height: 1px; margin: 16px auto 14px; background: var(--terre); }
.entree-accroche { margin: 0 auto 18px; font: 500 clamp(2.7rem, 11vw, 5.4rem)/.98 var(--titres); letter-spacing: -.02em; color: var(--olive); text-wrap: balance; }
.entree-accroche em { display: block; font-weight: 400; color: var(--terre-fonce); }
.entree-texte { max-width: 26rem; margin: 0 auto 28px; font-size: 1rem; font-weight: 400; color: var(--texte); }
.entree-bouton { min-height: 60px; padding: 14px 18px 14px 30px; gap: 16px; font-size: 1.02rem; box-shadow: 0 12px 34px -12px rgba(132, 73, 47, .75); }
.entree-fleche { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); font-size: .95rem; transition: transform var(--duree); }
.entree-bouton:hover .entree-fleche { transform: rotate(45deg); }
.entree-direct {
  position: absolute; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom)); margin: 0 auto;
  width: max-content; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px;
  background: rgba(250, 246, 239, .9); color: var(--olive); font-size: .88rem; font-weight: 400; text-align: center;
  text-decoration: underline; text-decoration-color: var(--terre); text-underline-offset: 4px;
}
.entree-direct:hover { color: var(--terre-fonce); }
.entree-coin { display: none; position: absolute; right: 32px; bottom: 28px; }

/* Transition « goutte d'eau » (pilotée par entree.js) */
.entree-onde { position: fixed; z-index: 3; width: 0; height: 0; pointer-events: none; }
.entree-onde span {
  position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(250, 246, 239, .9);
  box-shadow: 0 0 0 1px rgba(62, 74, 51, .08);
  transform: translate(-50%, -50%); opacity: 0;
}
.entree-onde span:first-child { box-shadow: 0 0 0 1px rgba(62, 74, 51, .08), inset 0 0 24px rgba(250, 246, 239, .4); }
/* Anneaux préparés presque invisibles, pour qu'ils soient déjà dessinés au moment du clic */
.entree-prete:not(.entree-en-cours) .entree-onde span { opacity: .001; }
/* Pendant la transition, seuls transform, opacity et le masque bougent :
   les couches sont dessinées une fois puis déplacées par la carte graphique. */
.entree-en-cours { pointer-events: none; }
.js .entree.entree-en-cours { background: transparent; }
/* Préparées au repos (classe « entree-prete ») : couches, masque et filtre existent avant le clic,
   pour qu'aucune image de l'animation n'ait à les créer. */
.entree-prete .entree-fond {
  -webkit-mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--r, 0px), #000 calc(var(--r, 0px) + var(--plume, 1px)));
          mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--r, 0px), #000 calc(var(--r, 0px) + var(--plume, 1px)));
}
.entree-prete .entree-mosaique, .entree-prete .entree-voile,
.entree-prete .entree-contenu, .entree-prete .entree-direct, .entree-prete .entree-coin,
.entree-prete .entree-onde span { will-change: transform, opacity; }
/* La page sous l'eau : limitée à l'écran pendant l'animation, pour que flou et échelle restent légers */
.page-sous-eau { height: 100vh; height: 100svh; overflow: hidden; will-change: transform; transform-origin: var(--x, 50%) var(--y, 50%); }
.entree-fondu { transition: opacity .45s ease; opacity: 0; }

@media (min-width: 760px) {
  .entree-mosaique { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; gap: 5px; }
  .entree-mosaique--onde { gap: 2.5px; }
  .entree-case:nth-child(6) { display: none; }
  .entree-voile { background: rgba(244, 238, 228, .22); }
  .entree-voile::after { background: radial-gradient(ellipse 48% 58% at 50% 50%, rgba(244, 238, 228, .93) 0%, rgba(244, 238, 228, .82) 35%, rgba(244, 238, 228, .45) 70%, rgba(244, 238, 228, 0) 100%); }
  .entree-coin { display: block; }
  .entree-texte { font-size: 1.05rem; }
}

/* =========================================================
   PAGE PRINCIPALE
   ========================================================= */
.section { max-width: var(--largeur-page); margin: 0 auto; padding: 64px var(--marge); }
.surtitre { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-doux); }
.surtitre-trait { width: 34px; height: 1px; background: var(--terre); }
.grand-titre { font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 1; letter-spacing: -.025em; margin-bottom: .35em; text-wrap: balance; }
.grand-titre em { font-weight: 400; color: var(--terre-fonce); }
.section-intro { max-width: 34rem; color: var(--olive-doux); }

.bandeau-lieu { margin: 0; padding: 10px var(--marge); border-top: 1px solid var(--sable); border-bottom: 1px solid var(--sable); text-align: center; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-doux); }
.bandeau-lieu span { color: var(--terre); }

.bouton-secondaire span[aria-hidden], .bouton-principal span[aria-hidden]:last-child { font-size: .95em; }
.lien-fleche { font-weight: 400; }

/* ---------- Rencontre du mois ---------- */
.rencontre { max-width: var(--largeur-page); margin: 0 auto; padding: 36px var(--marge) 56px; display: grid; gap: 34px; }
.rencontre[hidden] { display: none; }
.rencontre-photo { position: relative; width: min(100%, 420px); margin: 0 auto; }
.rencontre-photo .portrait { aspect-ratio: .82; border-radius: 200px 200px 10px 10px; box-shadow: var(--ombre-forte); }
.rencontre-photo .initiales { font-size: clamp(4rem, 22vw, 7rem); }
.tampon {
  position: absolute; right: 6px; bottom: 22px; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 106px; height: 106px; border-radius: 50%; transform: rotate(10deg);
  background: var(--creme); color: var(--olive);
  outline: 1px solid rgba(62, 74, 51, .25); outline-offset: -8px;
  font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.3;
  box-shadow: var(--ombre);
}
.tampon-fleur { font-size: 1.4rem; line-height: 1.2; color: var(--terre); }
/* « Exemple fictif » : même tampon, en haut à gauche, teinte terre cuite */
.tampon.tampon-fictif { z-index: 2; right: auto; bottom: auto; left: 10px; top: 14px; transform: rotate(-9deg); color: var(--terre-tres-fonce); outline-color: rgba(158, 90, 59, .4); }
.carte .tampon.tampon-fictif { left: 18px; top: 18px; width: 96px; height: 96px; font-size: .66rem; letter-spacing: .08em; outline-offset: -6px; }
.carte .tampon-fictif .tampon-fleur { font-size: 1.1rem; }
.fiche-portrait .tampon.tampon-fictif { left: 14px; top: 14px; }
.rencontre-intro { margin: 0 0 22px; font: 500 clamp(1.9rem, 6.5vw, 2.6rem)/1.08 var(--titres); color: var(--olive); }
.rencontre-intro em { font-weight: 400; color: var(--terre-fonce); }
.rencontre-nom { font-size: clamp(2.8rem, 10vw, 4.4rem); line-height: 1; margin-bottom: .2em; }
.rencontre-role { margin-bottom: 18px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-doux); }
.rencontre-citation { margin: 0 0 16px; padding: 0; }
.rencontre-citation p { margin: 0; font: italic 500 clamp(1.45rem, 5vw, 1.9rem)/1.3 var(--titres); color: var(--terre-fonce); }
.rencontre-presentation { max-width: 34rem; margin-bottom: 24px; }

/* ---------- Carrousel ---------- */
.praticiens { padding-top: 40px; }
.section-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.carrousel-commandes { display: flex; gap: 10px; }
.bouton-rond {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid var(--olive-doux); background: transparent; color: var(--olive); cursor: pointer;
  transition: background-color var(--duree), color var(--duree);
}
.bouton-rond:hover { background: var(--olive); color: var(--creme); }
.bouton-rond .icone-lecture, .bouton-rond.en-pause .icone-pause { display: none; }
.bouton-rond.en-pause .icone-lecture { display: block; }

.carrousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge);
  margin: 0 calc(var(--marge) * -1); padding: 6px var(--marge) 22px;
  scrollbar-width: thin; scrollbar-color: var(--sable) transparent;
}
.carrousel:focus-visible { outline-offset: -2px; }
.carrousel .carte { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
.carrousel-consigne { margin: 4px 0 0; font-size: .85rem; color: var(--olive-doux); }
.voir-tous { margin: 28px 0 0; text-align: center; }

/* Carte de praticien (carrousel, annuaire, pages thématiques) */
.carte {
  position: relative; display: flex; flex-direction: column;
  background: var(--creme-clair); border-radius: var(--rayon-carte); box-shadow: var(--ombre-carte);
  overflow: hidden; transition: transform var(--duree), box-shadow var(--duree);
}
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.carte-portrait { position: relative; padding: 14px 14px 0; }
.carte-portrait .portrait { aspect-ratio: .86; border-radius: 160px 160px 8px 8px; }
.carte-portrait .initiales { font-size: 3.6rem; }
.carte-corps { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.carte-intitule { margin: 0 0 4px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--terre-fonce); }
.carte-nom { margin: 0 0 4px; font-size: 1.75rem; }
.carte-nom a { color: var(--olive); text-decoration: none; }
.carte-nom a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon-carte); }
.carte-nom a:focus-visible { outline: none; }
.carte-nom a:focus-visible::after { outline: 2px solid var(--terre-fonce); outline-offset: -3px; }
.carte-lieu { font-size: .9rem; }
.carte-lieu .icone { color: var(--terre); margin-top: .2em; }
.carte-citation { margin: 10px 0 16px; font: italic 500 1.15rem/1.35 var(--titres); color: var(--olive); }
.carte-bouton { margin-top: auto; align-self: flex-start; font-size: .92rem; gap: .4em; }
.carte:hover .bouton-discret::after { transform: translateX(3px); }

/* ---------- Le collectif ---------- */
.collectif { background: #E9E6DA; }
.collectif-int { max-width: var(--largeur-page); margin: 0 auto; padding: 64px var(--marge); display: grid; gap: 40px; }
.collectif-visuel { position: relative; }
.collectif-photo { overflow: hidden; border-radius: 200px 200px 10px 10px; aspect-ratio: .9; box-shadow: var(--ombre-carte); }
.collectif-photo img { width: 100%; height: 100%; object-fit: cover; }
.pastille-citation {
  position: absolute; right: -4px; bottom: -18px; margin: 0;
  display: grid; place-items: center; width: 128px; height: 128px; padding: 18px; border-radius: 50%;
  background: var(--creme); box-shadow: var(--ombre);
  font: italic 500 1.12rem/1.1 var(--titres); color: var(--olive); text-align: center;
}
.valeurs { list-style: none; margin: 30px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.valeurs li { padding-top: 12px; border-top: 1px solid rgba(62, 74, 51, .22); }
.valeur-numero { display: block; margin-bottom: 6px; font-size: .74rem; color: var(--terre-fonce); }
.valeurs strong { display: block; font: 500 1.55rem/1.1 var(--titres); color: var(--olive); }
.valeur-texte { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--olive-doux); }

/* ---------- Le petit rituel du mois ---------- */
.rituel { display: grid; gap: 36px; align-items: center; }
.rituel-etapes { list-style: none; margin: 22px 0; padding: 0; counter-reset: rituel; }
.rituel-etapes li { counter-increment: rituel; position: relative; padding: 12px 0 12px 48px; border-bottom: 1px solid var(--sable); }
.rituel-etapes li::before { content: "0" counter(rituel); position: absolute; left: 0; top: 13px; font-size: .8rem; color: var(--terre-fonce); }
.rituel-note { font-size: .88rem; color: var(--olive-doux); }
.rituel-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--rayon-carte); aspect-ratio: 1.05; box-shadow: var(--ombre-carte); }
.rituel-photo img { width: 100%; height: 100%; object-fit: cover; }
.rituel-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; max-width: 280px;
  padding: 18px 20px; border-radius: var(--rayon-petit); background: rgba(244, 238, 228, .94);
  font: italic 500 1.4rem/1.15 var(--titres); color: var(--olive);
}

/* ---------- Et si on avançait ensemble ? ---------- */
.rejoindre { position: relative; overflow: hidden; isolation: isolate; background: var(--olive); color: var(--creme); text-align: center; padding: 72px var(--marge) 80px; }
.rejoindre::before, .rejoindre::after { content: ""; position: absolute; z-index: -1; width: 330px; height: 330px; border: 1px solid rgba(244, 238, 228, .13); border-radius: 50%; }
.rejoindre::before { left: -190px; top: -125px; }
.rejoindre::after { right: -160px; bottom: -180px; }
.rejoindre-branche { position: absolute; z-index: -1; right: 4%; top: 18px; width: 120px; color: var(--sauge); opacity: .45; }
.rejoindre-int { max-width: 36rem; margin: 0 auto; }
.rejoindre .surtitre { justify-content: center; color: #D7B89C; }
.rejoindre .grand-titre { color: var(--creme); }
.rejoindre .grand-titre em { color: #DCC4A9; }
.rejoindre p:not(.surtitre) { color: #E8E9DD; margin-bottom: 26px; }
.bouton-clair { background: var(--creme); color: var(--olive); }
.bouton-clair:hover { background: #fff; color: var(--olive); }
.page-accueil .pied { margin-top: 0; }

@media (min-width: 960px) {
  .rencontre { grid-template-columns: .9fr 1fr; gap: 6%; align-items: center; padding-top: 56px; padding-bottom: 96px; }
  .rencontre-photo { width: 100%; }
  .rencontre-photo .tampon { right: -18px; bottom: 40px; width: 122px; height: 122px; font-size: .68rem; }
  .rencontre-photo .tampon.tampon-fictif { right: auto; bottom: auto; left: -14px; top: 40px; }
  .fiche-portrait .tampon.tampon-fictif { left: 22px; top: 22px; }
  .rencontre-intro { margin-bottom: 34px; }

  .carrousel { margin: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; gap: 22px; }
  .carrousel .carte { flex-basis: calc((100% - 66px) / 4); }

  .collectif-int { grid-template-columns: .85fr 1.15fr; gap: 7%; align-items: center; padding-top: 96px; padding-bottom: 96px; }
  .collectif-photo { aspect-ratio: auto; height: 540px; }
  .pastille-citation { right: -28px; bottom: 36px; width: 150px; height: 150px; font-size: 1.3rem; }

  .rituel { grid-template-columns: 1fr .9fr; gap: 8%; padding-top: 96px; padding-bottom: 96px; }
  .rituel-photo { aspect-ratio: .9; }
  .rituel-photo figcaption { left: 24px; bottom: 24px; font-size: 1.6rem; }

  .rejoindre { padding: 96px var(--marge) 104px; }
  .rejoindre-branche { width: 170px; right: 10%; }
}

/* =========================================================
   ANNUAIRE, PAGES DE THÉMATIQUE / DISCIPLINE, PAGES LÉGALES, 404
   ========================================================= */
.fil--section ol { margin-top: 0; }
.page-liste .section, .page-legale .section { padding-top: 20px; }
.liste-entete { max-width: 46rem; margin-bottom: 28px; }
.liste-entete .grand-titre { font-size: clamp(2.5rem, 8.5vw, 4.2rem); }
.titre-section { font-size: clamp(1.7rem, 5vw, 2.2rem); margin: 8px 0 18px; }

/* Filtres */
.filtres { display: none; }
.js .filtres {
  display: none; gap: 14px; margin-bottom: 18px; padding: 20px;
  background: var(--sable-clair); border-radius: var(--rayon-carte); box-shadow: var(--ombre-carte);
}
/* Mobile : panneau replié derrière le bouton « Filtrer » */
.js .filtres.ouvert { display: grid; animation: panneau .25s ease-out; }
@keyframes panneau { from { opacity: 0; transform: translateY(-6px); } }
.bouton-filtrer { display: none; position: relative; margin-bottom: 14px; }
.js .bouton-filtrer { display: inline-flex; }
.bouton-filtrer[aria-expanded="true"] { background: var(--olive); color: var(--creme); }
.filtres-compte {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; margin-left: 2px;
  border-radius: 999px; background: var(--terre-fonce); color: #fff; font-size: .8rem; font-weight: 500; line-height: 1;
}
.filtres-compte[hidden] { display: none; }
.filtres-fermer { width: 100%; grid-column: 1 / -1; }
.filtre { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.filtre label:not(.case) { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-doux); }
.filtre select {
  width: 100%; min-height: 48px; padding: 10px 40px 10px 14px;
  border: 1px solid var(--sable); border-radius: 12px; background: var(--creme-clair);
  font: 400 1rem/1.3 var(--corps); color: var(--olive);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E5A3B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.filtre select:hover { border-color: var(--sauge); }
.filtre-cases { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.case { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: .98rem; color: var(--olive); }
.case input { width: 20px; height: 20px; margin: 0; accent-color: var(--terre-fonce); }
.bouton-texte { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font: 400 .95rem var(--corps); color: var(--terre-fonce); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.annuaire-resultat { margin: 0 0 16px; font-size: .9rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-doux); }

/* Grille de cartes */
.grille-cartes { display: grid; grid-template-columns: 1fr; gap: 16px; }
.carte[hidden] { display: none; }
.annuaire-vide { margin: 8px 0 24px; padding: 32px 22px; text-align: center; background: var(--creme-clair); border-radius: var(--rayon-carte); box-shadow: var(--ombre-carte); }
.annuaire-vide[hidden] { display: none; }
.annuaire-vide .branche { width: 130px; margin: 0 auto 10px; }
.annuaire-vide p { max-width: 30rem; margin: 0 auto 18px; }

/* Liens vers les autres pages */
.liste-liens { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--sable); }
.liste-liens h2 { font-size: clamp(1.7rem, 5vw, 2.1rem); margin-bottom: 18px; }
.themes--liens { margin: 0 0 18px; grid-template-columns: repeat(2, 1fr); }
.liens-pastilles { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.liens-pastilles a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--sable-clair); border: 1px solid var(--sable); color: var(--olive); text-decoration: none; font-size: .95rem; }
.liens-pastilles a:hover { background: var(--sauge-clair); border-color: var(--sauge); }
.liste-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.pastille--grande { width: 84px; height: 84px; margin-bottom: 18px; }
.pastille--grande .icone-theme { width: 40px; height: 40px; }
.mention-liste { margin: 32px 0 0; font-size: .85rem; color: var(--olive-doux); }

/* Pages légales */
.legale-maj { font-size: .88rem; color: var(--olive-doux); }
.legale-corps { display: grid; gap: 16px; max-width: 48rem; }
.legale-corps h2 { font-size: 1.7rem; }
.legale-corps p { overflow-wrap: anywhere; }
/* Nos engagements : listes avec une petite feuille terre cuite */
.liste-engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.liste-engagements li { position: relative; padding-left: 28px; }
.liste-engagements li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px;
  border-radius: 0 70% 0 70%; background: var(--terre); opacity: .8;
}
.legale-conclusion { margin: 8px 0 0; padding: 22px 24px; border-radius: var(--rayon-carte); background: var(--olive); color: var(--creme); font: 500 1.3rem/1.4 var(--titres); }
.legale-conclusion a { color: #fff; }

/* 404 */
.page-404 { text-align: center; padding-top: 72px; padding-bottom: 72px; }
.page-404 .grand-titre { max-width: 40rem; margin-left: auto; margin-right: auto; }
.page-404 .section-intro { margin: 0 auto; }
.page-404 .liste-actions { justify-content: center; }
.page-404-branche { width: 170px; margin: 0 auto 18px; }

@media (min-width: 640px) {
  .grille-cartes { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .js .filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filtre-cases { grid-column: 1 / -1; }
  .bouton-texte { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .grille-cartes { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  /* Ordinateur : filtres toujours visibles, sans bouton */
  .js .filtres, .js .filtres.ouvert { display: grid; animation: none; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; padding: 24px 28px; }
  .js .bouton-filtrer, .filtres-fermer { display: none; }
  .filtre-cases { grid-column: 1 / 4; }
  .bouton-texte { grid-column: 4; grid-row: 2; justify-self: end; }
  .themes--liens { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 18px 0; }
  .themes--liens li { flex: 0 0 25%; max-width: none; }
  .themes--liens li + li { border-left: 0; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-motion: reduce) {
  .entree-fondu { transition: opacity .45s ease !important; }
}
