/* Pages Pilotage et Services : tableau de bord de démonstration, cycle, schémas et animations.
   S'appuie sur les jetons de site.css (--s-*). Les animations ne démarrent qu'à l'écran (vitrine.js)
   et s'effacent avec prefers-reduced-motion. */

:root { --v-ombre: 0 40px 90px -40px rgba(10, 42, 30, .35), 0 12px 30px -18px rgba(10, 42, 30, .18);
  --v-ambre: #b26a00; --v-ambre-pale: #fff4e0; --v-a: #0b8457; --v-b: #63bf8b; --v-c: #7fa6c6; --v-d: #bfcac4; }

/* Apparition au défilement (seulement si le script tourne) */
html.js [data-revele] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js [data-revele].vu { opacity: 1; transform: none; }
html.js [data-revele="2"] { transition-delay: .12s; } html.js [data-revele="3"] { transition-delay: .24s; } html.js [data-revele="4"] { transition-delay: .36s; }

.v-bientot, .v-dispo, .v-partie { display: inline-flex; align-items: center; gap: .3em; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: .16em .6em; white-space: nowrap;
  letter-spacing: .01em; }
.v-bientot { background: var(--v-ambre-pale); color: var(--v-ambre); }
.v-dispo { background: var(--s-vert-pale); color: var(--s-vert-fonce); }
.v-partie { background: #eef3fa; color: #3b5b85; }

/* ---------------------------------------------------------------- héros centré */
.v-heros { padding: 4.5rem var(--s-gouttiere) 0; text-align: center; overflow: hidden;
  background: radial-gradient(1100px 520px at 50% -10%, var(--s-vert-pale), transparent 70%), var(--s-blanc); }
.v-heros-texte { max-width: 54rem; margin: 0 auto; display: grid; gap: 1.2rem; justify-items: center; }
.v-heros h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 0; }
.v-heros h1 em { font-style: normal; background: linear-gradient(90deg, #0f8a5f, #2bb57f 60%, #0b5e3f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-heros .s-chapo { font-size: 1.2rem; max-width: 46rem; }
.v-heros .s-ctas { justify-content: center; }
.v-cycle-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .3rem; }
.v-cycle-mini span { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--s-doux); background: #fff; border: 1px solid var(--s-bord);
  border-radius: 999px; padding: .35em .85em; }
.v-cycle-mini span i { width: 8px; height: 8px; border-radius: 50%; background: var(--s-vert); }
.v-cycle-mini span.b i { background: #e0a43a; }
.v-cycle-mini b { color: var(--s-bord-2); font-weight: 400; }

/* ---------------------------------------------------------------- tableau de bord de démonstration */
.db-scene { max-width: 1240px; margin: 3rem auto 0; position: relative; perspective: 2000px; padding: 0 0 4rem; }
.db-scene::before { content: ""; position: absolute; inset: 10% 6% 20%; background: radial-gradient(closest-side, rgba(15, 138, 95, .28), transparent); filter: blur(30px); z-index: 0; }
.db { position: relative; z-index: 1; text-align: left; background: #fff; border: 1px solid var(--s-bord); border-radius: 20px; box-shadow: var(--v-ombre); overflow: hidden;
  transform: rotateX(10deg) scale(.96); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); font-size: .86rem; }
.db.vu { transform: none; }
.db-barre { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--s-bord); background: #fbfcfb; }
.db-barre i { width: 11px; height: 11px; border-radius: 50%; background: #e3e8e5; }
.db-barre i:nth-child(1) { background: #f3b3a8; } .db-barre i:nth-child(2) { background: #f4d79a; } .db-barre i:nth-child(3) { background: #a9dcbf; }
.db-url { margin: 0 auto; background: #fff; border: 1px solid var(--s-bord); border-radius: 8px; padding: .25rem 1.2rem; font-size: .76rem; color: var(--s-pale); }
.db-fictif { font-size: .7rem; color: var(--s-pale); }
.db-corps { display: grid; grid-template-columns: 190px minmax(0, 1fr) 270px; min-height: 520px; }
.db-menu { border-right: 1px solid var(--s-bord); padding: 1rem .7rem; display: grid; gap: .15rem; align-content: start; background: #fbfcfb; }
.db-marque { display: flex; align-items: center; gap: .5rem; font-family: var(--s-titre); font-weight: 800; font-size: 1rem; padding: .2rem .5rem .9rem; }
.db-marque .logo-ouvrage rect { fill: var(--s-vert); }
.db-menu a { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-radius: 9px; color: var(--s-doux); font-weight: 600; text-decoration: none; cursor: default; }
.db-menu a svg { width: 17px; height: 17px; flex: none; }
.db-menu a.actif { background: var(--s-vert-pale); color: var(--s-vert-fonce); }
.db-menu a .v-bientot { margin-left: auto; font-size: .6rem; }
.db-menu a .db-compteur { margin-left: auto; background: var(--s-vert); color: #fff; border-radius: 999px; font-size: .66rem; padding: .05em .5em; }
.db-centre { padding: 1.1rem 1.2rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.db-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.db-titre h3 { font-size: 1.15rem; margin: 0; }
.db-titre span { color: var(--s-pale); font-size: .78rem; }
.db-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.db-kpi { border: 1px solid var(--s-bord); border-radius: 14px; padding: .7rem .8rem .5rem; display: grid; gap: .15rem; position: relative; overflow: hidden; }
.db-kpi small { color: var(--s-doux); font-size: .72rem; font-weight: 600; display: flex; justify-content: space-between; gap: .3rem; }
.db-kpi b { font-family: var(--s-titre); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.db-kpi em { font-style: normal; font-size: .7rem; color: var(--s-vert-fonce); font-weight: 700; }
.db-kpi svg { width: 100%; height: 26px; margin-top: .1rem; }
.db-kpi svg path.ligne { fill: none; stroke: var(--s-vert); stroke-width: 2; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s ease .3s; }
.db-kpi svg path.aire { fill: url(#db-degrade); opacity: 0; transition: opacity 1s ease 1s; }
.vu .db-kpi svg path.ligne { stroke-dashoffset: 0; } .vu .db-kpi svg path.aire { opacity: 1; }

.db-pipeline-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.db-pipeline-tete b { font-family: var(--s-titre); font-size: .95rem; }
.db-pipeline-cadre { overflow-x: auto; margin: 0 -.2rem; padding: 0 .2rem .3rem; scrollbar-width: thin; }
.db-pipeline { display: grid; grid-template-columns: repeat(5, minmax(138px, 1fr)); gap: .55rem; min-width: 700px; }
.db-col { background: var(--s-fond); border-radius: 12px; padding: .5rem; display: grid; gap: .4rem; align-content: start; min-height: 245px; }
.db-col-tete { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; color: var(--s-doux); padding: .1rem .2rem .2rem; gap: .3rem; }
.db-col-tete .n { background: #fff; border: 1px solid var(--s-bord); border-radius: 999px; padding: 0 .45em; font-variant-numeric: tabular-nums; }
.db-carte { background: #fff; border: 1px solid var(--s-bord); border-radius: 10px; padding: .5rem .55rem; display: grid; gap: .2rem; box-shadow: 0 2px 6px -4px rgba(10, 42, 30, .25);
  transition: box-shadow .3s, border-color .3s; }
.db-carte b { font-size: .78rem; font-weight: 700; display: flex; justify-content: space-between; gap: .3rem; }
.db-carte span { font-size: .7rem; color: var(--s-pale); }
.db-carte .note { font-size: .64rem; font-weight: 800; border-radius: 6px; padding: 0 .35em; color: #fff; background: var(--v-a); flex: none; }
.db-carte .note.B { background: var(--v-b); } .db-carte .note.C { background: var(--v-c); }
.db-carte .jauge { height: 4px; border-radius: 4px; background: var(--s-bord); overflow: hidden; margin-top: .15rem; }
.db-carte .jauge i { display: block; height: 100%; background: var(--s-vert); border-radius: 4px; }
.db-carte.neuf { border-color: var(--s-vert); box-shadow: 0 0 0 3px rgba(15, 138, 95, .15); }
.db-carte.bouge { box-shadow: 0 14px 30px -12px rgba(10, 42, 30, .35); z-index: 2; position: relative; }

.db-droite { border-left: 1px solid var(--s-bord); padding: 1.1rem 1rem; display: grid; gap: 1.1rem; align-content: start; background: #fcfdfc; min-width: 0; }
.db-bloc h4 { font-family: var(--s-titre); font-size: .85rem; margin: 0 0 .55rem; display: flex; justify-content: space-between; align-items: center; }
.db-graphe { display: flex; align-items: flex-end; gap: .4rem; height: 92px; padding-top: .3rem; }
.db-graphe div { flex: 1; position: relative; height: 100%; }
.db-graphe i { position: absolute; left: 0; right: 0; bottom: 16px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #2bb57f, #0f8a5f); height: 0; transition: height 1s cubic-bezier(.2, .7, .2, 1); }
.db-graphe div:last-child i { background: linear-gradient(180deg, #0f8a5f, #0b5e3f); }
.db-graphe span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .62rem; color: var(--s-pale); }
.db-echeances { display: grid; gap: .45rem; }
.db-echeance { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .5rem; align-items: center; font-size: .74rem; }
.db-echeance .j { font-family: var(--s-titre); font-weight: 800; font-size: .78rem; text-align: center; border-radius: 8px; padding: .25rem 0; background: var(--v-ambre-pale); color: var(--v-ambre); line-height: 1.05; }
.db-echeance .j.ok { background: var(--s-vert-pale); color: var(--s-vert-fonce); }
.db-echeance b { display: block; font-weight: 700; color: var(--s-texte); } .db-echeance span { color: var(--s-pale); }
.db-flux { display: grid; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.db-flux li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: .55rem; font-size: .74rem; color: var(--s-doux); animation: db-entre .5s ease both; }
.db-flux li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s-vert); margin-top: .35rem; }
.db-flux li.ambre::before { background: #e0a43a; } .db-flux li.bleu::before { background: var(--v-c); }
.db-flux li small { display: block; color: var(--s-pale); font-size: .66rem; }
@keyframes db-entre { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- le cycle en cinq étapes */
.cy { display: grid; gap: 1.6rem; }
.cy-etapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; position: relative; counter-reset: cy; }
.cy-etapes::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 3px; background: var(--s-bord); border-radius: 3px; }
.cy-progres { position: absolute; left: 4%; top: 22px; height: 3px; background: linear-gradient(90deg, #0f8a5f, #2bb57f); border-radius: 3px; width: 0; transition: width .6s ease; }
.cy-etape { position: relative; display: grid; justify-items: center; gap: .45rem; text-align: center; background: none; border: 0; cursor: pointer; padding: 0 .2rem; font: inherit; color: var(--s-doux);
  counter-increment: cy; }
.cy-etape::before { content: counter(cy); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--s-bord);
  font-family: var(--s-titre); font-weight: 800; font-size: 1.05rem; color: var(--s-pale); transition: all .35s; position: relative; z-index: 1; }
.cy-etape b { font-family: var(--s-titre); font-size: .98rem; color: var(--s-texte); }
.cy-etape.fait::before { background: var(--s-vert-pale); border-color: var(--s-vert); color: var(--s-vert-fonce); }
.cy-etape.actif::before { background: var(--s-vert); border-color: var(--s-vert); color: #fff; box-shadow: 0 0 0 7px rgba(15, 138, 95, .14); transform: scale(1.06); }
.cy-etape:focus-visible { outline: 2px solid var(--s-vert); outline-offset: 4px; border-radius: 12px; }
.cy-panneaux { position: relative; }
.cy-panneau { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--s-bord);
  border-radius: 22px; padding: 2rem; box-shadow: 0 30px 70px -45px rgba(10, 42, 30, .35); }
.cy-panneau.actif { display: grid; animation: cy-entre .5s ease both; }
@keyframes cy-entre { from { opacity: 0; transform: translateY(10px); } }
.cy-panneau h3 { font-size: 1.6rem; margin: .4rem 0 .6rem; letter-spacing: -.01em; }
.cy-panneau p { color: var(--s-doux); margin: 0 0 1rem; }
.cy-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cy-liste li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; border-top: 1px solid var(--s-bord); padding-top: .55rem; }
.cy-liste li span:first-child { color: var(--s-texte); font-weight: 600; }
.cy-visuel { background: var(--s-fond); border-radius: 18px; padding: 1.2rem; min-height: 250px; display: grid; align-content: center; gap: .6rem; }

/* Petites maquettes des panneaux */
.mq-carte { background: #fff; border: 1px solid var(--s-bord); border-radius: 14px; padding: .9rem 1rem; display: grid; gap: .45rem; box-shadow: 0 10px 30px -22px rgba(10, 42, 30, .4); }
.mq-ligne { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .85rem; }
.mq-ligne span { color: var(--s-doux); }
.mq-puces { display: flex; flex-wrap: wrap; gap: .35rem; }
.mq-puces span { font-size: .72rem; font-weight: 600; background: #fff; border: 1px solid var(--s-bord); border-radius: 999px; padding: .2em .65em; color: var(--s-doux); }
.mq-note { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--s-titre); font-weight: 800; font-size: 1.4rem; color: var(--v-a);
  background: conic-gradient(var(--v-a) calc(var(--p, 80) * 1%), var(--s-bord) 0); position: relative; flex: none; }
.mq-note::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.mq-note span { position: relative; }
.mq-coche { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: .55rem; align-items: center; font-size: .85rem; padding: .35rem 0; border-top: 1px solid var(--s-bord); }
.mq-coche:first-of-type { border-top: 0; }
.mq-coche i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--s-bord-2); display: grid; place-items: center; transition: all .35s; }
.mq-coche i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.mq-coche.fait i { background: var(--s-vert); border-color: var(--s-vert); } .mq-coche.fait i::after { opacity: 1; }
.mq-coche small { color: var(--s-pale); font-size: .72rem; }
.mq-devis { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); font-size: .8rem; background: #fff; border: 1px solid var(--s-bord); border-radius: 14px; overflow: hidden; }
.mq-devis > * { padding: .5rem .6rem; border-bottom: 1px solid var(--s-bord); }
.mq-devis .t { font-weight: 700; font-size: .72rem; color: var(--s-pale); text-transform: uppercase; letter-spacing: .05em; background: var(--s-fond); }
.mq-devis .mieux { color: var(--s-vert-fonce); font-weight: 700; background: var(--s-vert-voile); }
.mq-frise { display: grid; gap: .5rem; position: relative; padding-left: 1.2rem; }
.mq-frise::before { content: ""; position: absolute; left: .35rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--s-bord-2); }
.mq-frise div { position: relative; background: #fff; border: 1px solid var(--s-bord); border-radius: 12px; padding: .55rem .75rem; font-size: .82rem; display: flex; justify-content: space-between; gap: .6rem; }
.mq-frise div::before { content: ""; position: absolute; left: -1.08rem; top: .85rem; width: 10px; height: 10px; border-radius: 50%; background: var(--s-vert); box-shadow: 0 0 0 3px var(--s-fond); }
.mq-frise div.ambre::before { background: #e0a43a; }

/* Import du portefeuille existant */
.imp { background: #fff; border: 1px solid var(--s-bord); border-radius: 20px; padding: 1.2rem; box-shadow: var(--v-ombre); display: grid; gap: .8rem; }
.imp-depot { border: 2px dashed var(--s-bord-2); border-radius: 14px; padding: 1rem; display: flex; align-items: center; gap: .8rem; background: var(--s-vert-voile); }
.imp-depot svg { width: 30px; height: 30px; color: var(--s-vert); flex: none; }
.imp-depot b { display: block; } .imp-depot span { color: var(--s-pale); font-size: .82rem; }
.imp-barre { height: 8px; background: var(--s-bord); border-radius: 8px; overflow: hidden; }
.imp-barre i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0f8a5f, #2bb57f); border-radius: 8px; transition: width 2.2s ease; }
.imp-lignes { display: grid; gap: .35rem; }
.imp-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .85rem; padding: .45rem .2rem; border-top: 1px solid var(--s-bord);
  opacity: .25; transition: opacity .4s; }
.imp-ligne.vu { opacity: 1; }
.imp-ligne span { color: var(--s-pale); font-size: .75rem; display: block; }

/* ---------------------------------------------------------------- Services : la roue du cycle */
.roue-heros { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.rcycle { position: relative; max-width: 470px; width: 100%; margin: 0 auto; }
.rcycle svg { width: 100%; height: auto; display: block; overflow: visible; }
.rcycle .rc-anneau { fill: none; stroke: var(--s-bord); stroke-width: 14; }
.rcycle .rc-plein { fill: none; stroke: url(#roue-degrade); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1100; stroke-dashoffset: 1100; transition: stroke-dashoffset 2s cubic-bezier(.3, .6, .2, 1); }
.rcycle.vu .rc-plein { stroke-dashoffset: 440; }
.rcycle .rc-bille { fill: #fff; stroke: var(--s-vert); stroke-width: 4; }
.rcycle .noeud { cursor: pointer; }
.rcycle .noeud circle { fill: #fff; stroke: var(--s-bord-2); stroke-width: 2; transition: all .35s; }
.rcycle .noeud.dispo circle { stroke: var(--s-vert); }
.rcycle .noeud.bientot circle { stroke: #e0a43a; stroke-dasharray: 5 4; }
.rcycle .noeud.partie circle { stroke: #6f97c2; }
.rcycle .noeud.partie .rc-ico { stroke: #3b5b85; }
.rcycle .noeud.partie.actif circle { fill: #6f97c2; stroke: #6f97c2; }
.rcycle .noeud text { font-family: var(--s-titre); font-weight: 800; font-size: 15px; fill: var(--s-texte); text-anchor: middle; dominant-baseline: middle; pointer-events: none;
  paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.rcycle .noeud .rc-ico { fill: none; stroke: var(--s-vert-fonce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.rcycle .noeud.bientot .rc-ico { stroke: var(--v-ambre); }
.rcycle .noeud.actif circle { fill: var(--s-vert); stroke: var(--s-vert); transform-box: fill-box; transform-origin: center; transform: scale(1.1); }
.rcycle .noeud.bientot.actif circle { fill: #e0a43a; stroke: #e0a43a; }
.rcycle .noeud.actif .rc-ico { stroke: #fff; }
.rcycle .centre-titre { font-family: var(--s-titre); font-weight: 800; font-size: 30px; fill: var(--s-texte); text-anchor: middle; }
.rcycle .centre-sous { font-size: 13px; fill: var(--s-pale); text-anchor: middle; }
.roue-legende { margin-top: 1rem; background: #fff; border: 1px solid var(--s-bord); border-radius: 16px; padding: 1rem 1.2rem; min-height: 6.5rem; box-shadow: 0 20px 50px -35px rgba(10, 42, 30, .4); }
.roue-legende b { font-family: var(--s-titre); font-size: 1.05rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.roue-legende p { margin: .35rem 0 0; color: var(--s-doux); font-size: .95rem; }

/* Services : le circuit des données, des registres aux assureurs */
.circuit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem; position: relative; }
.circuit-col { background: #fff; border: 1px solid var(--s-bord); border-radius: 18px; padding: 1.2rem; display: grid; gap: .6rem; align-content: start; position: relative; }
.circuit-col.coeur { border: 2px solid var(--s-vert); box-shadow: 0 30px 70px -40px rgba(15, 138, 95, .55); background: linear-gradient(180deg, var(--s-vert-voile), #fff 60%); }
.circuit-col h3 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.circuit-col .s-sur { font-size: .7rem; }
.circuit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.circuit-col li { font-size: .85rem; color: var(--s-doux); background: var(--s-fond); border-radius: 9px; padding: .4rem .6rem; display: flex; justify-content: space-between; gap: .4rem; align-items: center; }
.circuit-col:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -2.2rem; width: 2.2rem; height: 3px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--s-vert) 0 8px, transparent 8px 14px); background-size: 28px 3px; animation: circuit-flux 1s linear infinite; }
.circuit-col:not(:last-child)::before { content: ""; position: absolute; top: 50%; right: -2.25rem; width: 0; height: 0; transform: translateY(-50%);
  border-left: 8px solid var(--s-vert); border-block: 6px solid transparent; z-index: 1; }
@keyframes circuit-flux { to { background-position: 28px 0; } }

/* Services : familles en onglets */
.fam-onglets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; position: sticky; top: 4.6rem; z-index: 5; padding: .6rem 0; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fam-onglets a { display: inline-flex; align-items: center; gap: .45rem; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--s-bord); text-decoration: none; color: var(--s-doux);
  font-weight: 600; font-size: .9rem; background: #fff; transition: all .25s; }
.fam-onglets a:hover { border-color: var(--s-vert); color: var(--s-vert-fonce); }
.fam-onglets a.actif { background: var(--s-vert); border-color: var(--s-vert); color: #fff; }
.fam-onglets a i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.s-famille-tete .fam-jauge { display: grid; gap: .3rem; margin-top: .3rem; }
.fam-jauge div { height: 6px; border-radius: 6px; background: var(--s-bord); overflow: hidden; display: flex; }
.fam-jauge div i { display: block; height: 100%; background: var(--s-vert); width: 0; transition: width 1.2s ease; }
.fam-jauge div i + i { background: #8fb3d6; } .fam-jauge div i + i + i { background: #e7b45a; }
.fam-jauge span { font-size: .78rem; color: var(--s-pale); }
.s-fonction { transition: transform .25s, box-shadow .25s, border-color .25s; }
.s-fonction:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(10, 42, 30, .45); border-color: var(--s-bord-2); }
.s-offre { transition: transform .3s, box-shadow .3s; }
.s-offre:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -38px rgba(10, 42, 30, .45); }
.s-offre.vedette:hover { box-shadow: 0 34px 70px -30px rgba(15, 138, 95, .55); }

/* Chiffres qui défilent */
.v-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.v-chiffre { border-radius: 18px; padding: 1.3rem 1.2rem; background: #fff; border: 1px solid var(--s-bord); }
.v-chiffre b { display: block; font-family: var(--s-titre); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--s-vert); font-variant-numeric: tabular-nums; }
.v-chiffre span { display: block; color: var(--s-doux); font-size: .9rem; margin-top: .45rem; }

/* ---------------------------------------------------------------- écrans étroits */
@media (max-width: 1080px) {
  .db-corps { grid-template-columns: minmax(0, 1fr); }
  .db-menu { display: none; }
  .db-droite { border-left: 0; border-top: 1px solid var(--s-bord); grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .roue-heros, .cy-panneau { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .circuit { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .circuit-col:not(:last-child)::after { top: auto; bottom: -2rem; right: 50%; width: 3px; height: 2rem; transform: translateX(50%);
    background: repeating-linear-gradient(180deg, var(--s-vert) 0 8px, transparent 8px 14px); background-size: 3px 28px; animation-name: circuit-flux-v; }
  .circuit-col:not(:last-child)::before { top: auto; bottom: -2.2rem; right: 50%; transform: translateX(50%); border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-top: 8px solid var(--s-vert); border-bottom: 0; }
  .v-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes circuit-flux-v { to { background-position: 0 28px; } }
@media (max-width: 760px) {
  .v-heros { padding-top: 2.6rem; }
  .db-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db-droite { grid-template-columns: minmax(0, 1fr); }
  .db { transform: none; }
  .cy-etapes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .2rem; }
  .cy-etape b { font-size: .72rem; }
  .cy-etape::before { width: 38px; height: 38px; font-size: .9rem; }
  .cy-etapes::before, .cy-progres { top: 18px; }
  .cy-panneau { padding: 1.2rem; }
  .fam-onglets { top: 4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--s-gouttiere)); padding-inline: var(--s-gouttiere); }
  .fam-onglets a { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-revele] { opacity: 1; transform: none; transition: none; }
  .db, .db-graphe i, .imp-barre i, .fam-jauge div i, .rcycle .rc-plein { transition: none; }
  .db-kpi svg path.ligne { transition: none; stroke-dashoffset: 0; } .db-kpi svg path.aire { opacity: 1; transition: none; }
  .circuit-col::after { animation: none; }
  .db-flux li, .cy-panneau.actif { animation: none; }
}
