/* =====================================================================
   COM1 — FEUILLE DE STYLE COMMUNE
   ---------------------------------------------------------------------
   Direction : sobre et graphique. Fonds neutres, une couleur par projet,
   utilisée avec parcimonie (boutons, pastilles, illustrations).
     violet = Notre Orga COM1      rose foncé = Nos campagnes
     bleu-vert = Rénovation & écologie   vert = Nos Îlots COM1 et Bruailles
   Thème clair et sombre : automatique (réglage de l'appareil) ou choisi
   avec le bouton de l'en-tête.
   Sécurité : aucun style ni script écrit dans les pages ; tout est ici
   ou dans assets/*.js (compatible avec une politique CSP stricte).
   ===================================================================== */

/* Polices hébergées avec le site (licence OFL) : aucune requête vers un tiers */
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* 1. RÉGLAGES — thème clair ========================================== */
:root {
  color-scheme: light;
  --bg: #F7F7F5; --surface: #FFFFFF; --surface-2: #EFEFEC; --line: #E2E2DE;
  --fg: #17161A; --muted: #5F5E66;
  /* Couleurs de remplissage (texte blanc posé dessus) */
  --violet: #5A2582; --rose: #C2177E; --teal: #0B7285; --vert: #A5BE50;
  /* Mêmes couleurs, pour du texte sur le fond */
  --violet-t: #5A2582; --rose-t: #C2177E; --teal-t: #0B7285; --vert-t: #5F7216;
  /* Couleurs des logos (illustrations) */
  --vert-vif: #7ED957; --rose-vif: #FF59BD; --cyan-vif: #0CC0DF;
  --ombre: 0 18px 40px rgba(23, 22, 26, .08);

  --c: var(--fg); --ct: var(--fg); --c-sur: var(--bg);   /* couleur de la page */

  --f-titres: "Manrope", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-xl: 36px; --r-lg: 26px; --r-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rebond: cubic-bezier(.3, 1.5, .5, 1);
  --entete-h: 6rem;
  --marge: clamp(16px, 5vw, 48px);
}
/* Thème sombre : choisi, ou automatique si l'appareil est en sombre */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121214; --surface: #1B1B1E; --surface-2: #26262A; --line: rgba(255,255,255,.1);
  --fg: #F5F5F3; --muted: #A8A7AE;
  --violet: #7B3DB3; --violet-t: #C9A7EB; --rose-t: #FF8ACF; --teal-t: #5CD3E6; --vert-t: #B6CF62;
  --ombre: 0 18px 40px rgba(0, 0, 0, .35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121214; --surface: #1B1B1E; --surface-2: #26262A; --line: rgba(255,255,255,.1);
    --fg: #F5F5F3; --muted: #A8A7AE;
    --violet: #7B3DB3; --violet-t: #C9A7EB; --rose-t: #FF8ACF; --teal-t: #5CD3E6; --vert-t: #B6CF62;
    --ombre: 0 18px 40px rgba(0, 0, 0, .35);
  }
}
.theme-orga      { --c: var(--violet); --ct: var(--violet-t); --c-sur: #fff; }
.theme-campagnes { --c: var(--rose);   --ct: var(--rose-t);   --c-sur: #fff; }
.theme-ilots, .theme-bruailles { --c: var(--vert); --ct: var(--vert-t); --c-sur: #17161A; }
/* Classes de couleur réutilisables (cartes, pastilles, panneaux) */
.t-violet { --c: var(--violet); --ct: var(--violet-t); --c-sur: #fff; }
.t-rose   { --c: var(--rose);   --ct: var(--rose-t);   --c-sur: #fff; }
.t-teal   { --c: var(--teal);   --ct: var(--teal-t);   --c-sur: #fff; }
.t-vert   { --c: var(--vert);   --ct: var(--vert-t);   --c-sur: #17161A; }
.t-encre  { --c: var(--fg);     --ct: var(--fg);       --c-sur: var(--bg); }

/* 2. BASES ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--entete-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 clamp(1rem, .96rem + .2vw, 1.07rem)/1.6 var(--f-texte); -webkit-font-smoothing: antialiased; transition: background-color .25s, color .25s; }
h1, h2, h3 { font-family: var(--f-titres); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; margin: 0 0 .45em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1.02rem + .3vw, 1.25rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 75ch; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-color: var(--ct); text-decoration-thickness: .14em; }
img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--ct); outline-offset: 3px; border-radius: 10px; }
.theme-accueil :focus-visible, .theme-rejoindre :focus-visible { outline-color: var(--rose-t); }
[tabindex="-1"]:focus { outline: none; }
::selection { background: color-mix(in srgb, var(--c) 30%, transparent); }
.conteneur { width: 100%; max-width: 74rem; margin-inline: auto; padding-left: max(var(--marge), env(safe-area-inset-left)); padding-right: max(var(--marge), env(safe-area-inset-right)); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 1rem; top: -10rem; z-index: 200; background: var(--fg); color: var(--bg); padding: .75rem 1.2rem; border-radius: 999px; font-weight: 700; }
.lien-evitement:focus { top: .5rem; }
.muted { color: var(--muted); }
.centre { text-align: center; margin-inline: auto; }
mark { color: inherit; padding: 0 .04em; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 32%, transparent) 62%, color-mix(in srgb, var(--c) 32%, transparent) 92%, transparent 92%); }
.theme-accueil mark, .theme-rejoindre mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--rose-vif) 40%, transparent) 62%, color-mix(in srgb, var(--rose-vif) 40%, transparent) 92%, transparent 92%); }

@keyframes grandit { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes apparait { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes clignote { 50% { opacity: .3; } }
html.avec-revele .revele { opacity: 0; translate: 0 14px; transition: opacity 600ms var(--ease), translate 600ms var(--ease); }
html.avec-revele .revele.vu { opacity: 1; translate: 0 0; }

/* 3. EN-TÊTE ========================================================== */
.entete { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.bandeau { margin: 0; max-width: none; background: var(--surface-2); color: var(--muted); font-size: .8rem; font-weight: 500; text-align: center; padding: .38rem 1rem; line-height: 1.35; }
.bandeau::before { content: ""; display: inline-block; vertical-align: .05em; width: .5rem; height: .5rem; margin-right: .5em; border-radius: 50%; background: var(--rose-vif); animation: clignote 1.6s ease-in-out infinite; }
.nav-interne { display: flex; align-items: center; gap: .75rem; min-height: 4.2rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.3rem var(--f-titres); letter-spacing: -.03em; min-height: 44px; flex: none; }
.marque img { width: 42px; height: 42px; }
.nav-liens { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-lien { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .8rem; border-radius: 999px; font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; color: var(--fg); }
.nav-lien:hover { background: var(--surface-2); }
.pastille { width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); flex: none; }
.nav-lien[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .35em; text-decoration-color: var(--c); }
.nav-rejoindre { background: var(--fg); color: var(--bg); padding: 0 1.1rem; }
.nav-rejoindre:hover { background: var(--fg); text-decoration: underline; }
.nav-rejoindre[aria-current="page"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.outils-entete { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.theme-bouton, .nav-menu-bouton { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); cursor: pointer; font: 700 .95rem var(--f-titres); }
.theme-bouton svg { width: 1.2rem; height: 1.2rem; }
.theme-bouton .soleil { display: none; }
:root[data-theme="dark"] .theme-bouton .soleil { display: block; }
:root[data-theme="dark"] .theme-bouton .lune { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-bouton .soleil { display: block; }
  :root:not([data-theme="light"]) .theme-bouton .lune { display: none; }
}
html:not(.js) .theme-bouton { display: none; }
.nav-menu-bouton { display: none; padding: 0 1rem; gap: .5rem; grid-auto-flow: column; }
@media (min-width: 1140px) { .nav-tiroir { margin-left: auto; } .outils-entete { margin-left: .25rem; } }
@media (max-width: 1139px) {
  html:not(.js) .nav-interne { flex-wrap: wrap; }
  html:not(.js) .nav-tiroir { width: 100%; overflow-x: auto; padding-bottom: .5rem; }
  html.js .nav-menu-bouton { display: inline-grid; }
  html.js .nav-menu-bouton[aria-expanded="true"] { background: var(--fg); color: var(--bg); }
  html.js .nav-tiroir { display: none; position: fixed; top: var(--entete-h); left: 0; right: 0; bottom: 0; overflow-y: auto; background: var(--bg); padding: 1.25rem var(--marge) 2rem; }
  html.js .nav-tiroir.est-ouvert { display: block; animation: apparait 250ms var(--ease); }
  html.js .nav-liens { flex-direction: column; align-items: stretch; gap: .3rem; }
  html.js .nav-lien { width: 100%; min-height: 56px; font: 700 1.2rem var(--f-titres); }
  html.js .nav-lien .pastille { width: .8rem; height: .8rem; }
  html.js .nav-rejoindre { justify-content: center; margin-top: .75rem; }
}
@media (min-width: 640px) and (max-width: 1139px) {
  html.js .nav-tiroir { left: auto; width: min(24rem, 100%); border-left: 1px solid var(--line); box-shadow: var(--ombre); }
}
html.menu-ouvert { overflow: hidden; }

/* 4. BOUTONS ET LIENS ================================================= */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .65rem 1.4rem; border: 0; border-radius: 999px; background: var(--c); color: var(--c-sur); font: 700 1rem/1.2 var(--f-titres); text-decoration: none; text-align: center; cursor: pointer; transition: transform .18s var(--rebond); }
.bouton:hover { transform: translateY(-2px); text-decoration: none; }
.bouton:active { transform: scale(.97); }
.bouton svg { width: 1.15em; height: 1.15em; flex: none; }
.bouton--encre { background: var(--fg); color: var(--bg); }
.bouton--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.bouton--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.lien-fleche { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 700; color: var(--fg); text-decoration: underline; text-decoration-color: var(--ct); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lien-fleche::after { content: "→"; transition: translate .2s var(--ease); }
.lien-fleche:hover::after { translate: 3px 0; }
.reseau { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem 0 .45rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: .92rem; text-decoration: none; color: var(--fg); }
.reseau svg { width: 1.7rem; height: 1.7rem; padding: .3rem; border-radius: 50%; background: var(--fg); color: var(--bg); flex: none; }
.reseau:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
@media (hover: none) { .bouton:hover { transform: none; } }

/* 5. SECTIONS ========================================================= */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--serree { padding-block: clamp(2rem, 4vw, 3rem); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.surtitre { display: inline-flex; align-items: center; gap: .5rem; font: 700 .74rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--ct); margin: 0 0 .9rem; }
.surtitre::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); flex: none; }
.theme-accueil .surtitre, .theme-rejoindre .surtitre { color: var(--muted); }
.theme-accueil .surtitre::before, .theme-rejoindre .surtitre::before { background: var(--rose-vif); }
.chapo { font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); color: var(--muted); max-width: 70ch; line-height: 1.5; margin-bottom: 0; }
.en-tete { margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem); max-width: 62rem; }
.en-tete.centre { text-align: center; }
.en-tete.centre .chapo { margin-inline: auto; }
.note { font-size: .86rem; color: var(--muted); max-width: 70ch; margin: 1rem 0 0; }

/* 6. HÉROS ============================================================ */
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grille { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hero-grille { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { max-width: 15ch; }
.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.22rem); color: var(--muted); max-width: 56ch; margin-bottom: 1.5rem; line-height: 1.5; }
/* Logo du projet au milieu de cercles concentriques (rappel du logo COM1) */
.embleme { position: relative; width: min(100%, 26rem); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.embleme .cercles { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--c); }
.embleme img, .embleme > svg.illu { position: relative; width: 56%; filter: drop-shadow(0 18px 30px rgba(23,22,26,.18)); }
@media (prefers-reduced-motion: no-preference) { html.js .embleme img, html.js .embleme > svg.illu { animation: grandit 700ms var(--ease) both; } }
@media (max-width: 899px) { .embleme { width: min(70%, 18rem); order: -1; } }

/* 7. CARROUSEL « À LA UNE » =========================================== */
.une { position: relative; }
.une-piste { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; scrollbar-width: none; border-radius: var(--r-xl); overscroll-behavior-x: contain; }
.une-piste::-webkit-scrollbar { display: none; }
.une-piste:focus-visible { outline-offset: 4px; }
.une-slide { flex: 0 0 100%; scroll-snap-align: start; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.une-visuel { background: var(--c); aspect-ratio: 16 / 8; display: grid; place-items: center; overflow: hidden; }
.une-visuel svg { width: 100%; height: 100%; }
.une-texte { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.une-texte .surtitre { margin: 0; color: var(--ct); }
.une-texte .surtitre::before { background: var(--c); }
.une-texte h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin: 0; }
.une-texte p { margin: 0 0 .25rem; color: var(--muted); font-size: .97rem; }
.une-commandes { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.une-points { display: flex; gap: .2rem; }
.une-point { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.une-point::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); transition: width .25s var(--ease), background .25s; }
.une-point[aria-current="true"]::before { width: 1.6rem; border-radius: 999px; background: var(--fg); }
.une-fleches { display: flex; gap: .4rem; }
.une-fleche { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); cursor: pointer; display: grid; place-items: center; }
.une-fleche:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.une-fleche svg { width: 1.2rem; height: 1.2rem; }
html:not(.js) .une-commandes { display: none; }

/* 8. CARTES =========================================================== */
.grille { display: grid; gap: clamp(.8rem, 2vw, 1.15rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grille-2 { display: grid; gap: clamp(.8rem, 2vw, 1.15rem); }
@media (min-width: 820px) { .grille-2 { grid-template-columns: 1fr 1fr; } }
.grille-4 { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.carte { position: relative; border-radius: var(--r-lg); padding: clamp(1.15rem, 2.6vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); }
.section--surface .carte { background: var(--bg); }
.carte h3 { margin-bottom: .3rem; }
.carte p { margin: 0 0 .5rem; color: var(--muted); font-size: .96rem; }
.carte p:last-child { margin-bottom: 0; }
.icone { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; margin-bottom: .8rem; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--ct); }
.icone svg { width: 1.4rem; height: 1.4rem; }
.icone--plein { background: var(--c); color: var(--c-sur); }
.tuile { display: flex; gap: .85rem; align-items: flex-start; }
.tuile .icone { margin: 0; flex: none; }
.tuile h3 { font-size: 1.02rem; margin: .1rem 0 .15rem; }
.tuile p { margin: 0; font-size: .92rem; color: var(--muted); }
.puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.puces li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.puces li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c); }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.liste li { position: relative; padding-left: 1.4rem; font-size: .96rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .1rem .6rem; border-radius: 999px; font: 700 .72rem/1.6 var(--f-texte); letter-spacing: .02em; white-space: nowrap; background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--muted); }
.badge--mecanisme::before { background: var(--cyan-vif); }
.badge--objectif::before { background: var(--vert-vif); }
.badge--hypothese::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.badge--risque { background: var(--fg); color: var(--bg); box-shadow: none; }
.badge--risque::before { background: var(--bg); }
.badge--ici { background: var(--c); color: var(--c-sur); box-shadow: none; }
.badge--ici::before { background: var(--c-sur); }
.aujourdhui { display: flex; gap: .8rem; align-items: flex-start; border-radius: var(--r-md); padding: .95rem 1.15rem; background: var(--surface); border: 1px dashed var(--muted); margin-top: 1.25rem; font-size: .93rem; }
.aujourdhui svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: .1rem; color: var(--muted); }
.aujourdhui p { margin: 0; max-width: none; }

/* Panneau d'illustration (dessins blancs sur la couleur du projet) */
.panneau-illu { background: var(--c); border-radius: var(--r-lg); overflow: hidden; }
.panneau-illu svg { width: 100%; height: auto; }

/* 9. ACCUEIL : les deux projets ======================================= */
.projets { display: grid; gap: clamp(1rem, 2vw, 1.25rem); }
@media (min-width: 880px) { .projets { grid-template-columns: 1fr 1fr; } }
.projet { display: flex; flex-direction: column; gap: .9rem; border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); }
.projet-tete { display: flex; align-items: center; gap: 1rem; }
.projet-tete img { width: clamp(5rem, 9vw, 6.5rem); flex: none; }
.projet-tete h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 .15rem; letter-spacing: -.03em; }
.projet-tete p { margin: 0; color: var(--ct); font-weight: 650; }
.sous-liens { display: grid; gap: .5rem; margin-top: auto; }
.sous-lien { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: var(--r-md); background: var(--bg); text-decoration: none; transition: box-shadow .2s; }
.sous-lien:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.sous-lien .disque { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: var(--c); color: var(--c-sur); display: grid; place-items: center; }
.sous-lien .disque svg { width: 1.25rem; height: 1.25rem; }
.sous-lien img { width: 2.6rem; height: 2.6rem; flex: none; }
.sous-lien strong { display: block; font: 800 1rem var(--f-titres); }
.sous-lien span span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.sous-lien::after { content: "→"; margin-left: auto; font-weight: 800; color: var(--ct); }

/* 10. ORGA : les deux jambes ========================================== */
.jambes { position: relative; display: grid; gap: 1rem; }
.jambes-tete { display: grid; justify-items: center; margin-bottom: .5rem; }
.jambes-tete img { width: 5.5rem; }
@media (min-width: 880px) {
  .jambes { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 7.5rem; }
  .jambes-tete { position: absolute; top: 0; left: 50%; translate: -50% 0; margin: 0; }
  .jambes::before { content: ""; position: absolute; top: 4.6rem; left: 25%; right: 25%; height: 2.4rem; border: 2px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; }
  .jambes::after { content: ""; position: absolute; top: 4.6rem; left: 50%; width: 2px; height: 1.1rem; background: var(--line); }
}
.jambe { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.jambe .panneau-illu { border-radius: 0; aspect-ratio: 16 / 7; }
.jambe .panneau-illu svg { height: 100%; }
.jambe-corps { padding: clamp(1.2rem, 2.8vw, 1.75rem); display: flex; flex-direction: column; gap: .7rem; }
.jambe-corps h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0; }
.jambe-corps .devise { margin: 0; color: var(--ct); font-weight: 700; }
.jambe-corps .lien-fleche { margin-top: auto; }

/* Méthode : cinq disques reliés */
.methode { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: m; }
.methode li { display: flex; align-items: center; gap: .9rem; counter-increment: m; }
.methode li::before { content: counter(m); flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--c); color: var(--c-sur); font: 800 1.05rem var(--f-titres); }
.methode strong { display: block; font: 800 1.02rem var(--f-titres); }
.methode span { display: block; font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) {
  .methode { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .methode li { flex-direction: column; text-align: center; position: relative; }
  .methode li:not(:last-child)::after { content: ""; position: absolute; top: 1.4rem; left: calc(50% + 1.9rem); right: calc(-50% + 1.9rem); border-top: 2px dashed var(--line); }
}
.pays { display: grid; gap: .8rem; }
@media (min-width: 720px) { .pays { grid-template-columns: 1fr 1fr; } }
.pays .carte { display: flex; gap: .9rem; align-items: center; }
.code-pays { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface-2); font: 800 .95rem var(--f-titres); }

/* 11. CAMPAGNES : parcours et jauge ==================================== */
.parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: p; }
.parcours li { display: flex; gap: 1rem; align-items: flex-start; }
.parcours .num { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--c); color: var(--c-sur); }
.parcours .num svg { width: 1.45rem; height: 1.45rem; }
.parcours h3 { margin: .35rem 0 .15rem; font-size: 1.08rem; }
.parcours p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (min-width: 900px) {
  .parcours { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .parcours li { flex-direction: column; position: relative; }
  .parcours li:not(:last-child)::after { content: ""; position: absolute; top: 1.7rem; left: 4.2rem; right: -1rem; border-top: 2px dashed var(--line); }
}
.jauge { margin-top: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.jauge h3 { margin-bottom: 1.1rem; }
.jauge-barre { position: relative; height: 14px; border-radius: 999px; background: var(--surface-2); margin: 3.2rem .5rem 1rem; }
.jauge-barre::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), var(--c)); }
.jalon { position: absolute; top: 50%; translate: -50% -50%; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 4px solid var(--c); }
.jalon--1 { left: 20%; }
.jalon--2 { left: 100%; }
.jalon b { position: absolute; bottom: calc(100% + .55rem); left: 50%; translate: -50% 0; font: 800 clamp(1.05rem, .9rem + .7vw, 1.5rem) var(--f-titres); white-space: nowrap; color: var(--ct); }
.jalon--2 b { left: auto; right: -4px; translate: 0 0; }
.jalons-texte { display: grid; gap: .8rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .jalons-texte { grid-template-columns: 1fr 1fr; } }
.jalons-texte div { border-radius: var(--r-md); background: var(--bg); padding: .9rem 1.1rem; }
.jalons-texte strong { display: block; font: 800 1rem var(--f-titres); }
.jalons-texte span { font-size: .9rem; color: var(--muted); }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; counter-reset: e; }
@media (min-width: 820px) { .engagements { grid-template-columns: repeat(3, 1fr); } }
.engagements li { display: flex; gap: .85rem; align-items: flex-start; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 1.1rem 1.2rem; counter-increment: e; }
.engagements li::before { content: counter(e); flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--ct); font: 800 1rem var(--f-titres); }
.engagements strong { display: block; font: 800 1rem var(--f-titres); margin: .2rem 0 .1rem; }
.engagements span { font-size: .9rem; color: var(--muted); }
.encadre { border-radius: var(--r-lg); padding: 1rem 1.25rem; background: color-mix(in srgb, var(--c) 9%, var(--surface)); margin-top: .9rem; font-size: .93rem; }
.encadre p { margin: 0; max-width: none; }

/* 12. ÎLOTS : le cycle ================================================= */
.cycle { position: relative; }
.cycle-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.etape-cycle { display: flex; gap: .9rem; align-items: flex-start; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 1rem 1.15rem; }
.etape-cycle .num { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c); color: var(--c-sur); }
.etape-cycle .num svg { width: 1.35rem; height: 1.35rem; }
.etape-cycle strong { display: block; font: 800 1.04rem/1.2 var(--f-titres); margin: .15rem 0 .2rem; }
.etape-cycle span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.etape-cycle small { display: inline-block; margin-top: .35rem; font: 700 .74rem var(--f-texte); letter-spacing: .06em; text-transform: uppercase; color: var(--ct); }
.cycle-fleche { display: grid; place-items: center; color: var(--muted); }
.cycle-fleche svg { width: 1.5rem; height: 1.5rem; }
.cycle-retour { display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; color: var(--ct); margin-top: .5rem; }
.cycle-retour svg { width: 1.4rem; height: 1.4rem; }
/* Grand écran : les 4 étapes autour d'un anneau */
@media (min-width: 980px) {
  .cycle { display: grid; grid-template-columns: 1fr 15rem 1fr; grid-template-rows: auto auto; gap: 1.25rem 1.5rem; align-items: center; }
  .cycle-liste { display: contents; }
  .cycle-fleche, .cycle-retour { display: none; }
  .etape-cycle:nth-child(1) { grid-column: 1; grid-row: 1; }
  .etape-cycle:nth-child(3) { grid-column: 3; grid-row: 1; }
  .etape-cycle:nth-child(5) { grid-column: 3; grid-row: 2; }
  .etape-cycle:nth-child(7) { grid-column: 1; grid-row: 2; }
  .anneau { grid-column: 2; grid-row: 1 / span 2; display: grid !important; }
}
.anneau { display: none; position: relative; aspect-ratio: 1; place-items: center; color: var(--c); }
.anneau svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.anneau p { position: relative; margin: 0; text-align: center; font: 800 1.05rem/1.2 var(--f-titres); color: var(--fg); max-width: 9ch; }
.cycle-plus { margin-top: 1rem; display: flex; gap: .9rem; align-items: center; border-radius: var(--r-lg); padding: 1rem 1.2rem; background: color-mix(in srgb, var(--violet) 9%, var(--surface)); border: 1px solid var(--line); }
.cycle-plus img { width: 3.2rem; flex: none; }
.cycle-plus p { margin: 0; max-width: none; font-size: .95rem; }

/* Fiche du produit d'épargne */
.fiche { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.fiche dl { margin: 0; display: grid; }
.fiche-ligne { display: grid; gap: .3rem .9rem; padding: .95rem clamp(1.1rem, 3vw, 1.6rem); border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 720px) { .fiche-ligne { grid-template-columns: 11rem 1fr auto; } }
.fiche dt { font: 800 .98rem var(--f-titres); }
.fiche dd { margin: 0; color: var(--muted); font-size: .94rem; }
.fiche .badge { justify-self: start; }
.zero { display: flex; gap: 1rem; align-items: center; padding: 1.1rem clamp(1.1rem, 3vw, 1.6rem); background: var(--fg); color: var(--bg); }
.zero b { flex: none; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--bg); color: var(--fg); font: 800 1.3rem var(--f-titres); }
.zero p { margin: 0; max-width: none; font-size: .93rem; }
.zero strong { font-family: var(--f-titres); }
.preuve { display: grid; gap: 1rem; align-items: center; margin-top: 1rem; border-radius: var(--r-lg); padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 820px) { .preuve { grid-template-columns: auto 1fr; } }
.chiffres { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.chiffres div { line-height: 1.15; }
.chiffres strong { display: block; font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.7rem) var(--f-titres); color: var(--ct); white-space: nowrap; }
.chiffres span { font-size: .8rem; color: var(--muted); }
.preuve p { margin: 0; font-size: .9rem; color: var(--muted); max-width: none; }

/* Feuille de route */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 860px) { .route { grid-template-columns: repeat(4, 1fr); } }
.route li { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 1rem 1.15rem; }
.route li.ici { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
.route .etiquette { font: 700 .72rem var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.route h3 { margin: .25rem 0 .2rem; font-size: 1.05rem; }
.route p { margin: 0; font-size: .9rem; color: var(--muted); }

/* 13. BRUAILLES : état et étapes ====================================== */
.etat { display: grid; gap: .8rem; }
@media (min-width: 860px) { .etat { grid-template-columns: repeat(3, 1fr); } }
.etat .carte h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; }
.etat .carte h3 svg { width: 1.35rem; height: 1.35rem; color: var(--ct); }
.etat .liste li { font-size: .92rem; color: var(--muted); }
.etat .carte--pointille { border-style: dashed; border-color: var(--muted); }
.ambitions { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }
.ambitions .tuile { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); padding: .9rem 1rem; align-items: center; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: s; }
.etapes li { display: flex; align-items: center; gap: .85rem; counter-increment: s; }
.etapes li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--c); color: var(--ct); font: 800 .98rem var(--f-titres); }
.etapes li.ici::before { background: var(--c); color: var(--c-sur); }
.etapes strong { display: block; font: 800 .98rem/1.2 var(--f-titres); }
.etapes span { display: block; font-size: .84rem; color: var(--muted); }
@media (min-width: 980px) {
  .etapes { grid-template-columns: repeat(7, 1fr); gap: .5rem; }
  .etapes li { flex-direction: column; text-align: center; position: relative; }
  .etapes li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: calc(50% + 1.6rem); right: calc(-50% + 1.6rem); border-top: 2px dashed var(--line); }
}
.verifs { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.verifs li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.verifs li::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; border-radius: 50%; border: 2px dashed var(--ct); }

/* 14. FORMULAIRES ===================================================== */
.zone-form { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 920px) { .zone-form { grid-template-columns: .85fr 1.15fr; } }
.formulaire { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.15rem, 3vw, 1.75rem); box-shadow: var(--ombre); display: flex; flex-direction: column; gap: .95rem; }
.formulaire fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.formulaire legend { font: 800 1.1rem var(--f-titres); padding: 0; margin-bottom: .5rem; }
.champ { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .93rem; }
.opt { font-weight: 400; color: var(--muted); }
.saisie { width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); font: 400 1rem var(--f-texte); }
textarea.saisie { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.saisie:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.theme-rejoindre .saisie:focus { border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 22%, transparent); }
.saisie[aria-invalid="true"] { border-color: #C82424; }
.deux { display: grid; gap: .8rem; }
@media (min-width: 520px) { .deux { grid-template-columns: 1fr 1fr; } }
.coche { display: flex; gap: .7rem; align-items: flex-start; font-size: .91rem; cursor: pointer; line-height: 1.45; font-weight: 400; }
.coche input { width: 22px; height: 22px; margin: .05rem 0 0; accent-color: var(--c); flex: none; }
.theme-rejoindre .coche input, .theme-rejoindre .choix input { accent-color: var(--violet); }
.choix { display: flex; flex-wrap: wrap; gap: .4rem; }
.choix label { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .3rem .85rem .3rem .55rem; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); font-weight: 600; font-size: .87rem; cursor: pointer; }
.choix input { width: 17px; height: 17px; accent-color: var(--c); margin: 0; }
.choix label:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--bg)); }
.theme-rejoindre .choix label:has(input:checked) { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, var(--bg)); }
.erreur { color: #C82424; font-size: .86rem; font-weight: 600; }
:root[data-theme="dark"] .erreur { color: #FF7373; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .erreur { color: #FF7373; } }
.erreur:empty { display: none; }
.pot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mentions { font-size: .8rem; color: var(--muted); }
.mentions p { max-width: none; margin-bottom: .5em; }
.mentions details { border-radius: 12px; background: var(--bg); padding: .1rem .9rem; }
.mentions summary { cursor: pointer; font-weight: 700; color: var(--fg); min-height: 44px; display: flex; align-items: center; }
.mentions ul { margin: .1rem 0 .8rem; padding-left: 1.1rem; }
.mentions li { margin-bottom: .3rem; }
.onglets { display: flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
html:not(.js) .onglets { display: none; }
.onglet { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 700 .92rem var(--f-titres); color: var(--muted); cursor: pointer; padding: 0 .8rem; }
.onglet[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.onglet .opt { font: 500 .78rem var(--f-texte); }
.envoye { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.envoye .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--c); display: grid; place-content: center; color: var(--c-sur); }
.theme-rejoindre .envoye .ok { background: var(--violet); color: #fff; }
.envoye .ok svg { width: 28px; height: 28px; }

/* 15. BANDEAU « REJOINDRE » ET PIED DE PAGE =========================== */
.appel { display: grid; gap: 1.25rem; align-items: center; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.25rem); }
@media (min-width: 860px) { .appel { grid-template-columns: 1fr auto; } }
.appel h2 { margin: 0 0 .3rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.appel p { margin: 0; color: var(--muted); }
.famille { display: flex; gap: .4rem; margin-bottom: .8rem; }
.famille i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.contact-ligne { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; word-break: break-all; }
.contact-ligne svg { width: 1.15rem; height: 1.15rem; flex: none; }
.pied { border-top: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 3rem) 1.75rem; font-size: .9rem; }
.pied-grille { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.pied-marque .marque { margin-bottom: .5rem; }
.pied-marque p { color: var(--muted); max-width: 30ch; margin: 0; }
.pied h2 { font-size: .9rem; letter-spacing: 0; margin-bottom: .5rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pied ul a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; }
.pied ul a svg { width: 1.1rem; height: 1.1rem; flex: none; }
.pied-bas { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: .8rem; color: var(--muted); }
.pied-bas p { max-width: none; margin: 0; }
.sans-js { margin: 0; max-width: none; background: var(--surface-2); padding: .5rem 1rem; text-align: center; font-size: .86rem; }

/* 16. PETITS ÉCRANS, MOUVEMENT RÉDUIT, CONTRASTE FORCÉ ================= */
@media (max-width: 699px) {
  .bandeau { font-size: .74rem; padding: .3rem .75rem; }
  .nav-interne { min-height: 3.7rem; }
  .marque img { width: 38px; height: 38px; }
  .une-visuel { aspect-ratio: 16 / 10; }
}
@media (max-height: 500px) and (orientation: landscape) { .nav-interne { min-height: 3rem; } .bandeau { padding: .2rem .75rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.avec-revele .revele { opacity: 1; translate: 0 0; }
}
@media (forced-colors: active) {
  .pastille, .surtitre::before, .icone, .badge, .methode li::before, .parcours .num, .etape-cycle .num, .jalon { border: 2px solid CanvasText; }
  .nav-lien[aria-current="page"] { outline: 2px solid CanvasText; }
}

/* Illustration dans un disque (Bruailles, Nous rejoindre) */
.i-disque { fill: var(--c); }
.hero-grille > *, .zone-form > *, .grille-2 > * { min-width: 0; }
.lien-fleche svg { width: 1.1em; height: 1.1em; flex: none; }

/* 16. V4 : mouvement, écosystème, actions, piliers, coopérative, accord ===== */
.ecosysteme { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .ecosysteme { grid-template-columns: 1.1fr 1fr; } }
.phrase { font: 700 clamp(1.15rem, 1rem + .7vw, 1.45rem)/1.4 var(--f-titres); letter-spacing: -.015em; margin: 0 0 1rem; }
.briques { display: grid; gap: .55rem; border-radius: var(--r-xl); padding: clamp(1rem, 2.5vw, 1.4rem); background: var(--surface); border: 1px solid var(--line); }
.briques .sous-lien { background: var(--bg); }
.briques-titre { margin: 0 0 .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.actions-orga { display: grid; gap: clamp(.9rem, 2vw, 1.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.actions-orga .jambe-corps h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.actions-orga .jambe-corps p { margin: 0; font-size: .93rem; }
.piliers { display: grid; gap: .9rem; margin-top: clamp(1.2rem, 3vw, 1.8rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.piliers .carte { margin: 0; }
.suisse { margin-top: 1.25rem; }
.suisse .encadre { margin: 0; }
.pourquoi { border-left: 4px solid var(--c); padding: .2rem 0 .2rem 1rem; margin: 0 0 1.1rem; }
.pourquoi p { margin: 0; }
.accord { gap: .35rem; }
.retrait { margin: 0 0 0 calc(22px + .7rem); font-size: .8rem; color: var(--muted); max-width: none; }
.cooperative { display: grid; gap: 1.1rem; align-items: center; margin-top: 1rem; border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.7rem); background: color-mix(in srgb, var(--teal) 9%, var(--surface)); border: 2px dashed color-mix(in srgb, var(--teal) 45%, transparent); }
.cooperative img { width: 5rem; height: auto; }
.cooperative h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .35rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); }
.cooperative p { margin: 0; color: var(--muted); max-width: none; }
@media (min-width: 640px) { .cooperative { grid-template-columns: auto 1fr; } }

/* 17. V7 : Bruailles aux couleurs de la Coopérative ======================= */
:root { --coop: #17789B; --coop-t: #17789B; --coop-vif: #58BDDB; }
:root[data-theme="dark"] { --coop-t: #7FD4EE; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --coop-t: #7FD4EE; } }
.theme-bruailles { --c: var(--coop); --ct: var(--coop-t); --c-sur: #fff; }
.t-coop { --c: var(--coop); --ct: var(--coop-t); --c-sur: #fff; }
.theme-bruailles .i-disque { fill: var(--coop-vif); }

/* Logo mosaïque devant « Accueil » */
.pastille-logo { width: .95rem; height: .95rem; flex: none; border-radius: 50%; }

/* 18. V7 : bascule France / Suisse (Nos campagnes) ======================== */
.bascule-pays { border: 1px solid var(--line); margin: 0 auto clamp(1.5rem, 4vw, 2.4rem); padding: .35rem; display: flex; justify-content: center; gap: .35rem; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--bg); }
.bascule-pays legend { float: left; align-self: center; padding: 0 .5rem 0 .8rem; font: 700 .9rem var(--f-titres); color: var(--muted); }
.bascule-pays label { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .3rem 1.1rem; border-radius: 999px; cursor: pointer; font: 700 .95rem var(--f-titres); transition: background .2s, box-shadow .2s; }
.bascule-pays input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bascule-pays label:has(input:checked) { background: var(--surface); box-shadow: 0 2px 12px rgba(0,0,0,.12), inset 0 -3px 0 var(--c); }
.bascule-pays label:has(input:focus-visible) { outline: 3px solid var(--ct); outline-offset: 2px; }
@media (max-width: 560px) {
  .bascule-pays { width: 100%; }
  .bascule-pays legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bascule-pays label { flex: 1; padding: .3rem .6rem; }
}
.drapeau { width: 1.5rem; height: 1rem; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.drapeau--carre { width: 1.05rem; height: 1.05rem; }
.vue-pays + .vue-pays { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.js .vue-pays + .vue-pays { margin-top: 0; padding-top: 0; border-top: 0; }
.js .vue-pays { animation: apparait .35s var(--ease); }
@keyframes apparait { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .js .vue-pays { animation: none; } }
.seuils-ch { display: grid; gap: 1rem; margin-top: clamp(1.4rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.seuil strong { display: block; font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.6rem)/1 var(--f-titres); letter-spacing: -.03em; color: var(--ct); margin-bottom: .5rem; }
.seuil h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.seuil p { margin: 0; color: var(--muted); font-size: .93rem; }
.allie { margin-top: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-xl); padding: clamp(1.3rem, 3.5vw, 2.2rem); background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--c); display: grid; gap: .8rem; justify-items: start; }
.allie-tete { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.allie-marque { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1 var(--f-titres); letter-spacing: .02em; }
.allie-marque b { color: var(--ct); }
.allie p { margin: 0; color: var(--muted); max-width: 62ch; }
.allie-campagne { display: grid; gap: .2rem; width: 100%; border-radius: var(--r-md); padding: .9rem 1.1rem; background: var(--surface); border-left: 4px solid var(--c); }
.allie-campagne span { font-size: .85rem; color: var(--muted); }
.allie-campagne strong { font: 800 1.05rem var(--f-titres); }

/* 19. V8 : formulaire commun ================================================ */
.form-tete h2, .form-tete h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin: 0 0 .3rem; }
.form-tete p { margin: 0; color: var(--muted); font-size: .93rem; }
.req { font-weight: 600; color: var(--ct); font-size: .85em; }
.formulaire .sous-groupe { gap: .5rem; }
.formulaire .sous-groupe legend { font: 600 .93rem var(--f-texte); margin-bottom: .45rem; }
.formulaire fieldset.accord { border-radius: var(--r-md); padding: .9rem 1rem; background: color-mix(in srgb, var(--c) 7%, var(--bg)); gap: .4rem; }
.theme-rejoindre .formulaire fieldset.accord { background: color-mix(in srgb, var(--violet) 7%, var(--bg)); }
.formulaire fieldset.accord legend { float: left; width: 100%; font-size: .95rem; margin-bottom: .35rem; }
.form-statut { margin: 0; font-size: .9rem; font-weight: 600; }
.form-statut:empty { display: none; }
.form-statut[data-type="erreur"] { color: #C82424; }
:root[data-theme="dark"] .form-statut[data-type="erreur"] { color: #FF7373; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-statut[data-type="erreur"] { color: #FF7373; } }
.formulaire[aria-busy="true"] .bouton { opacity: .75; cursor: progress; }
.notice { margin-top: 1.2rem; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); padding: .2rem 1rem; font-size: .88rem; }
.notice summary { cursor: pointer; font-weight: 700; padding: .6rem 0; min-height: 44px; display: flex; align-items: center; }
.notice ul { padding-left: 1.1rem; margin: 0 0 .8rem; display: grid; gap: .4rem; }

/* 20. V8 : bloc de soutien (page Nous rejoindre) ============================ */
.soutien-tete { max-width: 62rem; margin-bottom: clamp(1.2rem, 3vw, 1.8rem); }
.soutien-tete h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin: 0 0 .6rem; }
.soutien-tete p { margin: 0; color: var(--muted); }
.soutien-tete strong { color: var(--fg); }
.soutien-fin { text-align: center; margin: clamp(1.2rem, 3vw, 1.8rem) auto 0; font-size: 1.02rem; }
.lien-externe::after { content: "↗"; margin-left: .3rem; font-weight: 800; }

/* 21. V9 : nouveaux blocs de texte ========================================== */
.en-tete .chapo + .chapo { margin-top: .7rem; }
.en-tete.centre .chapo { margin-inline: auto; }
.en-tete .chapo strong { color: var(--fg); }
.chapo--suite { margin: -.4rem 0 1.4rem; }
.cycle-titre { text-align: center; margin: clamp(1.6rem, 4vw, 2.4rem) 0 1rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.anneau-centre { position: relative; display: grid; place-items: center; width: 62%; }
.anneau-centre img { width: 78%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.lede strong { color: var(--fg); }
.appel p + p { margin-top: .5rem; }
.appel .appel-chute { margin-top: .8rem; color: var(--fg); font: 800 1.05rem var(--f-titres); }
.appel .surtitre { margin-bottom: .5rem; }
.t-coop.famille, .famille .t-coop { background: var(--coop); }
.brique-demain { border: 1.5px dashed var(--line); background: transparent !important; }
.brique-demain::after { content: none; }
.disque--pointille { background: transparent !important; color: var(--muted) !important; border: 2px dashed var(--line); }
.engagement-simple { margin: 1.2rem 0 0; }
.suisse { margin-top: 1.25rem; }
.suisse .encadre { margin: 0; }
.aide-champ { margin: .5rem 0 0; font-size: .82rem; color: var(--muted); max-width: none; }
#valeurs .tuile p { font-size: .9rem; }

/* Épargne solidaire : six cases */
.fiche--cases dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1px; background: var(--line); }
.fiche-case { background: var(--surface); padding: 1.1rem clamp(1.1rem, 3vw, 1.5rem); }
.fiche-case dt { font: 800 1rem var(--f-titres); color: var(--ct); margin-bottom: .3rem; }
.fiche-case dd { margin: 0; color: var(--muted); font-size: .93rem; }

/* Bruailles : laboratoire */
.labo { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.labo li { display: grid; gap: .15rem; padding: .85rem 1.1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c); }
.labo strong { font: 800 1rem var(--f-titres); color: var(--ct); }
.labo span { color: var(--muted); font-size: .93rem; }

/* Faire un don */
.don { display: grid; gap: 1.2rem; align-items: center; border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 860px) { .don { grid-template-columns: 1.4fr 1fr; } }
.don h2 { margin: 0 0 .4rem; }
.don p { margin: 0 0 .5rem; color: var(--muted); }
.don .phrase { color: var(--fg); }
.don-action { display: grid; gap: .6rem; justify-items: start; }
.don-action .note { font-size: .82rem; margin: 0; }

/* 22. V9 : glossy & dégradés ================================================= */
:root { --c2: var(--c); }
.theme-orga, .t-violet { --c2: #8E4FC2; }
.theme-campagnes, .t-rose { --c2: #E8459E; }
.theme-ilots, .t-vert { --c2: #C9DB7A; }
.theme-bruailles, .t-coop { --c2: #58BDDB; }
.theme-rejoindre { --c2: #8E4FC2; }
.hero { background:
  radial-gradient(55% 75% at 88% 18%, color-mix(in srgb, var(--c2) 18%, transparent), transparent 70%),
  radial-gradient(45% 60% at 0% 100%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); }
.bouton:not(.bouton--ghost):not(.bouton--encre) {
  background-image: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 48%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 82%, #000));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -12px var(--c); }
.etape-cycle .num, .icone--plein { background-image: linear-gradient(150deg, color-mix(in srgb, var(--c2) 55%, var(--c)), var(--c) 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.appel { background: linear-gradient(135deg, color-mix(in srgb, var(--c2) 12%, var(--surface)), var(--surface) 55%); }
.carte, .etape-cycle { transition: box-shadow .25s; }
.etape-cycle:hover { box-shadow: 0 14px 30px -18px var(--c); }
/* Bruailles : dégradés bleus et cyan */
.theme-bruailles .hero { background:
  radial-gradient(60% 80% at 85% 20%, rgba(88,189,219,.28), transparent 70%),
  radial-gradient(50% 70% at 5% 100%, rgba(23,120,155,.16), transparent 70%); }
.theme-bruailles .section--surface { background: linear-gradient(180deg, color-mix(in srgb, #58BDDB 9%, var(--surface)), var(--surface) 70%); }
.theme-bruailles .ambitions .tuile .icone { background: linear-gradient(140deg, rgba(88,189,219,.35), rgba(23,120,155,.18)); }
.theme-bruailles .labo li { border-left-color: transparent; border-image: linear-gradient(180deg, #58BDDB, #17789B) 1; border-left-width: 4px; border-left-style: solid; border-radius: 0 var(--r-md) var(--r-md) 0; }
.theme-bruailles mark { background: linear-gradient(transparent 62%, rgba(88,189,219,.45) 62%, rgba(23,120,155,.3) 92%, transparent 92%); }
/* Ajustements V9 */
.fiche--cases dl { grid-template-columns: 1fr; }
@media (min-width: 640px) { .fiche--cases dl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .fiche--cases dl { grid-template-columns: repeat(3, 1fr); } }
.theme-bruailles .labo li { border-image: none; border-left: 0; border-radius: var(--r-md); padding-left: 1.35rem; background: linear-gradient(180deg, #58BDDB, #17789B) left / 5px 100% no-repeat, var(--surface); }
.theme-accueil .hero { background:
  radial-gradient(50% 70% at 90% 15%, color-mix(in srgb, var(--rose-vif) 14%, transparent), transparent 70%),
  radial-gradient(40% 60% at 65% 95%, color-mix(in srgb, var(--cyan-vif) 12%, transparent), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, #8E4FC2 10%, transparent), transparent 70%); }

/* 23. V11 : bandeau des références (Notre Orga) =========================== */
.refs-bande { position: relative; display: flex; align-items: center; gap: .35rem; padding: .3rem; border-radius: 999px; background: #fff; color: #17161A; border: 1px solid #E2E2DE; box-shadow: 0 12px 32px -22px rgba(40, 10, 70, .45); }
.refs-titre { flex: none; margin: 0; padding: .5rem 1.1rem; border-radius: 999px; max-width: 26rem; font: 700 .86rem/1.3 var(--f-titres); color: #fff; background: linear-gradient(120deg, #5A2582, #8E4FC2); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.refs-titre strong { color: #FFD9A8; white-space: nowrap; }
.refs-defile { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.refs-piste { display: flex; width: max-content; animation: defile 70s linear infinite; }
.refs:hover .refs-piste, .refs:focus-within .refs-piste, .refs.en-pause .refs-piste { animation-play-state: paused; }
.refs-liste { list-style: none; margin: 0; padding: 0; display: flex; }
.refs-liste a { display: inline-flex; align-items: baseline; gap: .4rem; padding: .45rem 1rem; white-space: nowrap; color: #17161A; text-decoration: none; border-right: 1px solid #ECECE8; }
.refs-liste a:hover strong, .refs-liste a:focus-visible strong { text-decoration: underline; text-decoration-color: #8E4FC2; text-underline-offset: 3px; }
.refs-liste strong { font: 800 .9rem var(--f-titres); }
.refs-liste span { font-size: .76rem; color: #5F5E66; }
.refs-liste i { font-style: normal; font-weight: 800; font-size: .78rem; color: #5A2582; transition: translate .2s var(--ease); }
.refs-liste a:hover i { translate: 2px -2px; }
@keyframes defile { to { transform: translateX(-50%); } }
.refs-pause { flex: none; width: 40px; height: 40px; border: 1px solid #E2E2DE; border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; }
.refs-icone { width: 9px; height: 11px; border-inline: 3px solid #5A2582; }
.refs.en-pause .refs-icone { width: 0; height: 0; border: 0; border-left: 9px solid #5A2582; border-block: 6px solid transparent; translate: 1px 0; }
.refs-livres { flex: none; position: relative; }
.refs-livres summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border-radius: 999px; cursor: pointer; list-style: none; font: 700 .84rem var(--f-titres); color: #5A2582; background: #F3ECFA; white-space: nowrap; }
.refs-livres summary::-webkit-details-marker { display: none; }
.refs-livres summary span { font-size: 1.05rem; transition: rotate .2s var(--ease); }
.refs-livres[open] summary span { rotate: 45deg; }
.refs-panneau { position: absolute; z-index: 5; top: calc(100% + .7rem); right: 0; width: min(22rem, 86vw); padding: 1rem 1.15rem; border-radius: 18px; background: #fff; color: #17161A; border: 1px solid #E2E2DE; box-shadow: 0 18px 40px -18px rgba(40, 10, 70, .45); font-size: .88rem; }
.refs-panneau p { margin: 0 0 .4rem; font-weight: 700; }
.refs-panneau ul { margin: 0; padding-left: 1.1rem; color: #3A3940; display: grid; gap: .3rem; }
@media (max-width: 860px) {
  .refs-bande { flex-wrap: wrap; border-radius: 24px; }
  .refs-titre { flex: 1 1 100%; max-width: none; text-align: center; }
  .refs-defile { flex: 1 1 0; }
}
@media (max-width: 520px) {
  .refs-livres { flex: 1 1 100%; text-align: center; }
  .refs-livres summary { justify-content: center; width: 100%; }
  .refs-panneau { position: static; width: auto; margin-top: .5rem; box-shadow: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .refs-piste { animation: none; }
  .refs-defile { overflow-x: auto; mask-image: none; }
  .refs-liste[aria-hidden="true"] { display: none; }
  .refs-pause { display: none; }
}

/* 24. V10 : mise en page sur tous les écrans ================================ */
.lede--suite { font-size: clamp(.98rem, .95rem + .2vw, 1.06rem); margin-top: -.6rem; }
.hero .lede:last-of-type { margin-bottom: 1.6rem; }
.appel { gap: 1.5rem 2.5rem; }
@media (min-width: 860px) {
  .appel .actions { flex-direction: column; align-items: stretch; min-width: 16rem; }
  .appel .actions .bouton { width: 100%; }
}
.don-action .bouton { min-width: 14rem; }
@media (max-width: 600px) {
  .actions { flex-direction: column; align-items: stretch; gap: .6rem; }
  .actions > .bouton, .actions > .reseau { width: 100%; justify-content: center; }
  .don-action { justify-items: stretch; } .don-action .bouton { width: 100%; min-width: 0; }
  .en-tete.centre { text-align: left; }
  .en-tete.centre .chapo, .en-tete.centre .surtitre { margin-inline: 0; }
  .cycle-titre { text-align: left; }
  .section { padding-block: 2.6rem; }
  .section--serree { padding-block: 1.8rem; }
  .appel, .don { padding: 1.3rem 1.1rem; }
  .hero { padding-block: 1.4rem 2.4rem; }
  .phrase { font-size: 1.12rem; }
}
@media (min-width: 601px) and (max-width: 899px) {
  .hero-grille { text-align: left; }
  .hero .lede { max-width: 60ch; }
  .ecosysteme { gap: 2rem; }
}

h1, h2 { text-wrap: balance; }

@media (max-width: 760px) { .refs-defile { flex: 1 1 calc(100% - 44px); } }
.theme-accueil { --c2: #C9A7EB; }
.theme-accueil .appel { background: linear-gradient(135deg, color-mix(in srgb, #FF59BD 9%, var(--surface)), color-mix(in srgb, #0CC0DF 6%, var(--surface)) 45%, var(--surface) 75%); }
@media (min-width: 720px) { #valeurs .grille { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 601px) and (max-width: 899px) { .hero .une { max-width: 34rem; justify-self: center; width: 100%; } }

/* V11 : la largeur des textes suit la colonne, pas un gabarit étroit */
.en-tete.centre { margin-inline: auto; }
.allie p { max-width: 75ch; }
.ecosysteme p, .zone-form p, .grille-2 p { max-width: none; }
.refs-titre { flex: 0 0 auto; max-width: 20rem; }
@media (max-width: 860px) { .refs-titre { max-width: none; } }
@media (max-width: 520px) {
  .refs-defile { flex: 1 1 100%; }
  .refs-livres { flex: 1 1 0; text-align: center; }
  .refs-panneau { margin-top: .5rem; }
}
@media (max-width: 860px) { .refs-titre { flex: 1 1 100%; } }

/* 25. V12 : logo COM1 (figure de Metatron), version claire ou sombre selon le thème */
.logo-sombre { display: none !important; }
:root[data-theme="dark"] .logo-clair { display: none !important; }
:root[data-theme="dark"] .logo-sombre { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-clair { display: none !important; }
  :root:not([data-theme="light"]) .logo-sombre { display: block !important; }
}
img.pastille-logo { width: 1.4rem; height: 1.4rem; border-radius: 0; margin: -.15rem 0; }
.anneau-centre img.logo-cycle { width: 104%; max-width: none; filter: none; }

/* 26. V12 : empreinte de la figure de Metatron
   Élément d'identité COM1 : la figure est tracée dans le fichier metatron-fond.svg
   avec une opacité très faible intégrée au dessin lui-même. Elle doit rester présente
   sur toutes les pages (fond, emblèmes, appels, pied de page). */
body::before, body::after {
  content: ""; position: fixed; z-index: 1; pointer-events: none; aspect-ratio: 1;
  background: url("metatron-fond.svg") center / contain no-repeat;
  /* Évanescent : la figure se dissout vers le centre de l'écran, là où l'on lit */
  -webkit-mask-image: radial-gradient(circle at center, #000 18%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 60%, transparent 72%);
          mask-image: radial-gradient(circle at center, #000 18%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 60%, transparent 72%);
}
body::before { width: 88vmax; right: -34vmax; top: -30vmax; animation: tourne 600s linear infinite, respire 19s ease-in-out infinite alternate; }
body::after  { width: 74vmax; left: -30vmax; bottom: -28vmax; animation: tourne 600s linear infinite reverse, respire 23s ease-in-out -9s infinite alternate; }
@keyframes tourne { to { rotate: 360deg; } }
/* Fond sombre : un peu plus discret ; fond clair : intensité pleine du dessin */
:root[data-theme="dark"] body::before, :root[data-theme="dark"] body::after { filter: opacity(.72); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before, :root:not([data-theme="light"]) body::after { filter: opacity(.72); } }
@keyframes respire { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; opacity: .8; } }
@media (max-width: 700px) {
  body::before { width: 150vmin; right: -70vmin; top: -45vmin; }
  body::after  { width: 130vmin; left: -62vmin; bottom: -40vmin; }
}
.entete { z-index: 50; }
.embleme { background: url("metatron-fond.svg") center / 96% no-repeat; }
.appel { background-image: url("metatron-fond.svg"), linear-gradient(135deg, color-mix(in srgb, var(--c2) 12%, var(--surface)), var(--surface) 55%); background-position: right 1.5rem center, 0 0; background-size: auto 86%, auto; background-repeat: no-repeat; }
.theme-accueil .appel { background-image: url("metatron-fond.svg"), linear-gradient(135deg, color-mix(in srgb, #FF59BD 9%, var(--surface)), color-mix(in srgb, #0CC0DF 6%, var(--surface)) 45%, var(--surface) 75%); }
@media print { body::before, body::after { display: none; } }
