/* Schémas animés : chargé sur les articles et sur les pages du cabinet qui en affichent (voir inc/schemas.php). */

/* ---------- Éléments communs ---------- */
.s-peau { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.s-peau--pale { fill: #f8f1e6; }
.s-os { fill: #fbf6ee; stroke: #b9a687; stroke-width: 1.5; }
.s-muscle { fill: #e8b9a3; opacity: .55; }
.s-muscle--actif { animation: cou-muscle 2.4s ease-in-out infinite; }
.s-tendon { fill: none; stroke: var(--mer); stroke-width: 9; stroke-linecap: round; }
.s-ligament { fill: none; stroke: var(--mer); stroke-width: 5; stroke-linecap: round; }
.s-ligament--etire { stroke: var(--terre); stroke-dasharray: 7 4; }
.s-nerf { fill: none; stroke: #e7c66a; stroke-width: 5; stroke-linecap: round; }
.s-influx { fill: none; stroke: var(--terre); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 50 600; stroke-dashoffset: 50; animation: schema-influx 2.4s ease-in infinite; filter: drop-shadow(0 0 4px rgba(181, 83, 43, .5)); }
.s-sol { stroke: #b9a687; stroke-width: 2; }
.s-axe { fill: none; stroke: var(--mer); stroke-width: 2; stroke-dasharray: 5 4; }
.s-zone { fill: var(--terre); opacity: .3; animation: s-zone 1.8s ease-in-out infinite; }
@keyframes s-zone { 0%, 100% { opacity: .22; } 50% { opacity: .5; } }
.s-point { fill: var(--terre); }
.s-onde { fill: none; stroke: var(--terre); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tete-onde 1.4s ease-out infinite; }
.s-onde--2 { animation-delay: .7s; }
.s-titre { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; fill: var(--mer); }
.s-badge { fill: var(--mer-clair); }
.s-badge--alerte { fill: #f7e1d6; }
.s-badge-texte { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 700; fill: var(--mer-fonce); }
.s-alt-a { animation: pied-normal 6s ease-in-out infinite; }
.s-alt-b { animation: pied-affaisse 6s ease-in-out infinite; }
.schema__legendes .s-leg-alerte { fill: var(--terre); font-weight: 700; }

/* ---------- Fasciite plantaire ---------- */
.fasc__os-long { fill: none; stroke: #b9a687; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.fasc__fascia { fill: none; stroke: var(--mer); stroke-width: 5; stroke-linecap: round; animation: fasc-tension 6s ease-in-out infinite; }
.fasc__orteils { transform-box: view-box; transform-origin: 370px 282px; animation: fasc-orteils 6s ease-in-out infinite; }
@keyframes fasc-orteils { 0%, 35%, 95%, 100% { transform: rotate(0); } 45%, 85% { transform: rotate(-34deg); } }
@keyframes fasc-tension { 0%, 35%, 95%, 100% { stroke: var(--mer); stroke-width: 5; } 45%, 85% { stroke: var(--terre); stroke-width: 6.5; } }

/* ---------- Essuie-glace ---------- */
.itb__jambe { transform-box: view-box; transform-origin: 218px 200px; animation: itb-flexion 4s ease-in-out infinite; }
.itb__bande { fill: none; stroke: var(--mer); stroke-width: 7; stroke-linecap: round; opacity: .85; }
.itb__gerdy { fill: var(--mer); }
.itb__zone { fill: var(--terre); opacity: 0; animation: itb-zone 4s ease-in-out infinite; }
.itb__alerte { opacity: 0; animation: itb-zone-texte 4s ease-in-out infinite; }
@keyframes itb-flexion { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(60deg); } }
@keyframes itb-zone { 0%, 14% { opacity: 0; } 24% { opacity: .55; } 34%, 66% { opacity: 0; } 76% { opacity: .55; } 86%, 100% { opacity: 0; } }
@keyframes itb-zone-texte { 0%, 14% { opacity: 0; } 22%, 26% { opacity: 1; } 36%, 64% { opacity: 0; } 74%, 78% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* ---------- Achille ---------- */
.achille__flux { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 14; opacity: .8; animation: achille-flux 1.2s linear infinite; }
@keyframes achille-flux { to { stroke-dashoffset: -40; } }

/* ---------- Entorse ---------- */
.entorse__pied { transform-box: view-box; transform-origin: 220px 232px; animation: entorse-pied 6s ease-in-out infinite; }
@keyframes entorse-pied { 0%, 35%, 95%, 100% { transform: rotate(0); } 45%, 85% { transform: rotate(25deg); } }

/* ---------- Genou et rotule ---------- */
.genou__contour { fill: none; stroke: #d9c9b0; stroke-width: 66; stroke-linecap: round; stroke-linejoin: round; }
.genou__peau { fill: none; stroke: var(--sable); stroke-width: 62; stroke-linecap: round; }
.genou__peau--jambe { stroke-width: 50; }
.genou__rotule { fill: #fff; stroke: #b9a687; stroke-width: 2; }
.genou__fleche { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Lumbago ---------- */
.lumb__arc { fill: none; stroke-width: 3; stroke-linecap: round; }
.lumb__cercle--vicieux .lumb__arc { stroke: var(--terre); }
.lumb__cercle--vertueux .lumb__arc { stroke: var(--olive); }
.lumb__etape rect { fill: #fff; stroke: var(--bordure); stroke-width: 2; animation: lumb-etape 6s ease-in-out infinite; }
.lumb__cercle--vicieux .lumb__etape rect { --accent: #f7e1d6; --accent-trait: var(--terre); }
.lumb__cercle--vertueux .lumb__etape rect { --accent: #e6ecda; --accent-trait: var(--olive); }
.lumb__etape--2 rect { animation-delay: 1.5s; }
.lumb__etape--3 rect { animation-delay: 3s; }
.lumb__etape--4 rect { animation-delay: 4.5s; }
.lumb__etape text { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 600; fill: var(--mer-fonce); }
.lumb__centre { font-family: var(--titres, Georgia, serif); font-size: 15px; font-weight: 700; fill: var(--mer-fonce); }
@keyframes lumb-etape { 0%, 25%, 100% { fill: #fff; stroke: var(--bordure); } 6%, 19% { fill: var(--accent); stroke: var(--accent-trait); } }

/* ---------- Torticolis ---------- */
.torti__rotation { fill: none; stroke: var(--mer); stroke-width: 4; stroke-linecap: round; }
.torti__rotation--bloquee { stroke: var(--terre); stroke-dasharray: 5 5; animation: cou-rotation 2.4s ease-in-out infinite; }
.torti__stop { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; }
.torti__tete { transform-box: view-box; transform-origin: 210px 250px; transform: rotate(9deg); animation: torti-essai 4s ease-in-out infinite; }
.torti__oeil { fill: var(--mer-fonce); }
.torti__bouche { fill: none; stroke: var(--mer-fonce); stroke-width: 2; stroke-linecap: round; }
@keyframes torti-essai { 0%, 30%, 100% { transform: rotate(9deg); } 50%, 60% { transform: rotate(13deg); } }

/* ---------- Grossesse ---------- */
.gross__colonne { fill: none; stroke: var(--mer); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 7; }
.gross__colonne--cambree { stroke: var(--terre); }
.gross__gravite { fill: var(--terre); }

/* ---------- Tête plate ---------- */
.tp__plat { fill: none; stroke: var(--terre); stroke-width: 5; stroke-linecap: round; }
.tp__appui { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tp__gestes { max-width: 34rem; margin: 1rem auto 0 !important; }

/* ---------- Ostéopathe ou kiné ---------- */
.ok__lien { stroke: var(--mer); stroke-width: 2.5; transition: opacity .3s; }
.ok__lien--complement { stroke-dasharray: 5 5; }
.ok__noeud circle { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 2; transition: fill .3s, opacity .3s, stroke .3s; }
.ok__noeud--vous circle { fill: var(--sable); stroke: #b9a687; }
.ok__noeud text { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 700; fill: var(--mer-fonce); }
.ok__noeud, .ok__legendes { transition: opacity .3s; }
[data-vue="dos"] .ok__noeud--medecin, [data-vue="dos"] .ok__lien--medecin, [data-vue="dos"] .ok__lien--prescription, [data-vue="dos"] .ok__lien--complement,
[data-vue="reeducation"] .ok__lien--osteo, [data-vue="reeducation"] .ok__lien--kine,
[data-vue="alerte"] .ok__noeud--kine, [data-vue="alerte"] .ok__noeud--osteo, [data-vue="alerte"] .ok__lien--kine, [data-vue="alerte"] .ok__lien--osteo, [data-vue="alerte"] .ok__lien--prescription, [data-vue="alerte"] .ok__lien--complement { opacity: .15; }
[data-vue="reeducation"] .ok__noeud--osteo { opacity: .45; }
[data-vue="dos"] .ok__noeud--osteo circle, [data-vue="dos"] .ok__noeud--kine circle, [data-vue="reeducation"] .ok__noeud--kine circle, [data-vue="reeducation"] .ok__noeud--medecin circle { fill: #e6ecda; stroke: var(--olive); stroke-width: 3; }
[data-vue="alerte"] .ok__noeud--medecin circle { fill: #f7e1d6; stroke: var(--terre); stroke-width: 3; }
[data-vue="dos"] .ok__legendes, [data-vue="alerte"] .ok__legendes { opacity: .3; }

/* ---------- Mutuelle ---------- */
.mut__ligne { stroke: var(--bordure); stroke-width: 4; stroke-linecap: round; }
.mut__etape circle { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 2; animation: mut-etape 6s ease-in-out infinite; }
.mut__etape--2 circle { animation-delay: 1.5s; }
.mut__etape--3 circle { animation-delay: 3s; }
.mut__etape--4 circle { animation-delay: 4.5s; }
.mut__num { font-family: var(--titres, Georgia, serif); font-size: 24px; font-weight: 700; fill: var(--mer-fonce); }
.mut__legendes text { font-size: 12px; }
.mut__jeton { fill: var(--terre); animation: mut-jeton 6s ease-in-out infinite; }
@keyframes mut-etape { 0%, 25%, 100% { fill: var(--mer-clair); } 6%, 19% { fill: #f7e1d6; } }
@keyframes mut-jeton { 0% { transform: translateX(0); } 25% { transform: translateX(110px); } 50% { transform: translateX(220px); } 75%, 100% { transform: translateX(330px); } }
.calcul { max-width: 34rem; margin: 1.25rem auto 0; padding: 1rem 1.1rem; background: var(--sable); border-radius: var(--rayon); }
.calcul__titre { margin: 0 0 .75rem; font-weight: 700; color: var(--mer-fonce); text-align: center; }
.calcul__champs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.calcul label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; color: var(--doux); }
.calcul input, .calcul select { font: inherit; font-size: 1rem; padding: .5rem .6rem; border: 1px solid var(--bordure); border-radius: .6rem; background: #fff; color: var(--texte); }
.calcul input:focus-visible, .calcul select:focus-visible { outline: 3px solid var(--terre); outline-offset: 1px; }
.calcul__resultat { margin: 1rem 0 .4rem; text-align: center; font-size: 1.05rem; color: var(--mer-fonce); }
.calcul__resultat strong { font-size: 1.3rem; }
.calcul__note { margin: 0; font-size: .85rem; color: var(--doux); text-align: center; }
@media (max-width: 40rem) { .calcul__champs { grid-template-columns: 1fr; } }

/* ---------- Sciatique : douleur projetée ---------- */
.sc2__cerveau { fill: #f3e6e9; stroke: #cdb3b9; stroke-width: 1.5; }
.sc2__moelle { fill: none; stroke: #e7c66a; stroke-width: 4; stroke-linecap: round; }
.sc2__irritation { fill: var(--terre); opacity: .2; animation: sc2-irritation 6s ease-in-out infinite; }
.sc2__message { fill: none; stroke: var(--terre); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 28 400; stroke-dashoffset: 28; opacity: 0; animation: sc2-message 6s ease-in infinite; filter: drop-shadow(0 0 4px rgba(181, 83, 43, .5)); }
.sc2__recoit { fill: var(--terre); opacity: 0; animation: sc2-recoit 6s ease-in-out infinite; }
.sc2__ressenti { fill: none; stroke: var(--terre); stroke-width: 10; stroke-linecap: round; opacity: 0; animation: sc2-ressenti 6s ease-in-out infinite; }
.sc2__pied { fill: var(--terre); opacity: 0; animation: sc2-ressenti 6s ease-in-out infinite; }
.sc2__etape { fill-opacity: .45; font-weight: 600; }
.sc2__etape--1 { animation: sc2-etape1 6s infinite; }
.sc2__etape--2 { animation: sc2-etape2 6s infinite; }
.sc2__etape--3 { animation: sc2-etape3 6s infinite; }
@keyframes sc2-irritation { 0%, 100% { opacity: .2; } 8%, 18% { opacity: .65; } }
@keyframes sc2-message { 0%, 18% { stroke-dashoffset: 28; opacity: 0; } 20% { opacity: 1; } 42% { stroke-dashoffset: -190; opacity: 1; } 44%, 100% { stroke-dashoffset: -190; opacity: 0; } }
@keyframes sc2-recoit { 0%, 40% { opacity: 0; } 47%, 54% { opacity: .45; } 62%, 100% { opacity: 0; } }
@keyframes sc2-ressenti { 0%, 54% { opacity: 0; } 64%, 90% { opacity: .55; } 100% { opacity: 0; } }
@keyframes sc2-etape1 { 0%, 22%, 100% { fill-opacity: .45; } 4%, 18% { fill-opacity: 1; } }
@keyframes sc2-etape2 { 0%, 20%, 58%, 100% { fill-opacity: .45; } 26%, 54% { fill-opacity: 1; } }
@keyframes sc2-etape3 { 0%, 56%, 96%, 100% { fill-opacity: .45; } 62%, 92% { fill-opacity: 1; } }

/* ---------- Lumbago : réflexe de protection ---------- */
.lr__tronc { transform-box: view-box; transform-origin: 210px 290px; animation: lr-penche 6s ease-in-out infinite; }
.lr__muscle { fill: #e8b9a3; opacity: .45; transform-box: fill-box; transform-origin: center; animation: lr-contracte 6s ease-in-out infinite; }
.lr__irrit { fill: var(--terre); opacity: .15; animation: lr-irrit 6s ease-in-out infinite; }
.lr__etape { fill-opacity: .45; font-weight: 600; }
.lr__etape--1 { animation: sc2-etape1 6s infinite; }
.lr__etape--2 { animation: lr-etape2 6s infinite; }
.lr__etape--3 { animation: lr-etape3 6s infinite; }
@keyframes lr-irrit { 0%, 100% { opacity: .15; } 6%, 20% { opacity: .7; } }
@keyframes lr-contracte { 0%, 18%, 96%, 100% { opacity: .45; fill: #e8b9a3; transform: scaleX(1); } 30%, 88% { opacity: .9; fill: var(--terre); transform: scaleX(1.25); } }
@keyframes lr-penche { 0%, 40%, 96%, 100% { transform: rotate(0); } 52%, 88% { transform: rotate(-6deg); } }
@keyframes lr-etape2 { 0%, 20%, 50%, 100% { fill-opacity: .45; } 26%, 46% { fill-opacity: 1; } }
@keyframes lr-etape3 { 0%, 48%, 94%, 100% { fill-opacity: .45; } 54%, 90% { fill-opacity: 1; } }

/* ---------- Torticolis : les muscles ---------- */
.tm__oreille { fill: #f0e2cf; stroke: #d9c9b0; stroke-width: 1.5; }
.tm__omoplate { fill: #fbf6ee; stroke: #cdbb9f; stroke-width: 1.5; stroke-linejoin: round; opacity: .8; }
.tm__clavicule { fill: none; stroke: #b9a687; stroke-width: 6; stroke-linecap: round; }
.tm__muscle { fill: none; stroke: #e8b9a3; stroke-width: 12; stroke-linecap: round; opacity: .35; }
.tm__muscle--actif { opacity: .9; animation: tm-muscle 2.4s ease-in-out infinite; }
@keyframes tm-muscle { 0%, 100% { stroke: #e3a68b; } 50% { stroke: var(--terre); } }

/* ---------- Maux de tête : trois types ---------- */
.tt__centre { fill: var(--mer); stroke: #fff; stroke-width: 2; }
.tt__lien { fill: none; stroke: var(--terre); stroke-width: 2; stroke-dasharray: 4 4; animation: tt-lien 1s linear infinite; }
.tt__casque { fill: none; stroke: var(--terre); stroke-width: 7; stroke-linecap: round; opacity: .7; animation: tt-serre 2.4s ease-in-out infinite; }
.tt__casque--bas { animation-delay: -.3s; }
.tt__influx { fill: none; stroke: var(--terre); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 44 400; stroke-dashoffset: 44; animation: tete-influx 2.8s ease-in infinite; filter: drop-shadow(0 0 4px rgba(181, 83, 43, .5)); }
@keyframes tt-lien { to { stroke-dashoffset: -8; } }
@keyframes tt-serre { 0%, 100% { stroke-width: 5; opacity: .45; } 50% { stroke-width: 10; opacity: .9; } }

/* ---------- Dos : l'alarme ---------- */
.da__fond { fill: var(--mer-clair); stroke: var(--bordure); stroke-width: 2; }
.da__niveau { transform-box: fill-box; transform-origin: bottom; animation: da-monte 1.2s ease-out both; }
.da__niveau--tissus { fill: var(--olive); opacity: .75; }
.da__niveau--alarme { fill: var(--terre); opacity: .85; animation: da-monte 1.2s ease-out both, da-vibre 1.6s ease-in-out 1.2s infinite; }
.da__cloche path { fill: var(--terre); transform-box: fill-box; transform-origin: top center; animation: da-cloche 1.6s ease-in-out infinite; }
@keyframes da-monte { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes da-vibre { 0%, 100% { opacity: .85; } 50% { opacity: .6; } }
@keyframes da-cloche { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } }

/* ---------- Reprise : le cœur ---------- */
.rc__coeur { fill: #e3a68b; stroke: var(--terre); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.rc__coeur--rapide { animation: rc-bat .6s ease-in-out infinite; }
.rc__coeur--lent { animation: rc-bat 1.1s ease-in-out infinite; }
.rc__goutte { fill: var(--terre); opacity: 0; }
.rc__goutte--rapide { animation: rc-goutte .6s ease-in infinite; }
.rc__goutte--lent { animation: rc-goutte 1.1s ease-in infinite; }
.rc__bilan { font-family: var(--titres, Georgia, serif); font-size: 15px; font-weight: 700; fill: var(--mer-fonce); }
@keyframes rc-bat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.12); } 40% { transform: scale(.96); } }
@keyframes rc-goutte { 0%, 15% { opacity: 0; transform: translateY(0); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(34px); } }

/* ---------- Reprise : la frise ---------- */
.rf__progres { stroke: var(--terre); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 316; stroke-dashoffset: 316; animation: rf-progres 6s linear infinite; }
.rf__legendes text { font-size: 12.5px; }
@keyframes rf-progres { 0% { stroke-dashoffset: 316; } 75%, 100% { stroke-dashoffset: 0; } }

/* ---------- Reprise : le cartilage ---------- */
.rca__capsule { fill: #eef5f7; stroke: var(--mer); stroke-width: 1.5; stroke-dasharray: 5 4; }
.rca__cartilage { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 1.5; transform-box: fill-box; }
.rca__cartilage--haut { transform-origin: top; animation: rca-ecrase 4s ease-in-out infinite; }
.rca__cartilage--bas { transform-origin: bottom; animation: rca-ecrase 4s ease-in-out infinite; }
.rca__femur { animation: rca-appui 4s ease-in-out infinite; }
.rca__goutte { fill: var(--mer); }
.rca__goutte--g { animation: rca-gauche 4s ease-in-out infinite; }
.rca__goutte--d { animation: rca-droite 4s ease-in-out infinite; }
.rca__texte { font-weight: 700; opacity: 0; }
.rca__texte--appui { animation: rca-texte-appui 4s ease-in-out infinite; }
.rca__texte--relache { animation: rca-texte-relache 4s ease-in-out infinite; }
@keyframes rca-appui { 0%, 10%, 90%, 100% { transform: translateY(0); } 35%, 55% { transform: translateY(9px); } }
@keyframes rca-ecrase { 0%, 10%, 90%, 100% { transform: scaleY(1); } 35%, 55% { transform: scaleY(.6); } }
@keyframes rca-gauche { 0%, 10%, 90%, 100% { transform: translateX(0); opacity: 1; } 35%, 55% { transform: translateX(-70px); opacity: .5; } }
@keyframes rca-droite { 0%, 10%, 90%, 100% { transform: translateX(0); opacity: 1; } 35%, 55% { transform: translateX(70px); opacity: .5; } }
@keyframes rca-texte-appui { 0%, 15%, 60%, 100% { opacity: 0; } 25%, 52% { opacity: 1; } }
@keyframes rca-texte-relache { 0%, 58%, 100% { opacity: 0; } 68%, 92% { opacity: 1; } }

/* ---------- Reprise : surcompensation ---------- */
.rs__courbe { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: rs-trace 3.5s ease-out forwards; }
.rs__courbe--bon { stroke: var(--olive); }
.rs__courbe--trop { stroke: var(--terre); }
.rs__courbe--peu { stroke: var(--mer); }
.rs__seance { fill: #fff; stroke: var(--mer-fonce); stroke-width: 2.5; }
.rs__base { font-family: system-ui, sans-serif; font-size: 12px; fill: var(--doux); }
.rs__fleche { stroke: #b9a687; stroke-width: 2; }
.rs__note { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 700; fill: var(--mer-fonce); }
.rs__note--bon { fill: var(--olive); }
.rs__note--trop { fill: var(--terre); }
@keyframes rs-trace { to { stroke-dashoffset: 0; } }

/* ---------- Tableau du plan de reprise ---------- */
.plan-reprise { margin: 1rem 0 1.5rem; font-size: .97rem; }
.plan-reprise th { background: var(--mer-clair); color: var(--mer-fonce); }
.plan-reprise td:first-child { width: 6rem; font-weight: 700; color: var(--mer-fonce); text-align: center; }
.plan-reprise th:first-child { text-align: center; }

/* ---------- Cou : trajets de la douleur ---------- */
.ct__vertebres rect { fill: #fff; stroke: #b9a687; stroke-width: 1.2; }

/* ---------- Épaule : arc douloureux ---------- */
.ea__acromion { fill: none; stroke: #b9a687; stroke-width: 6; stroke-linecap: round; }
.ea__arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.ea__arc--ok { stroke: var(--olive); opacity: .7; }
.ea__arc--douleur { stroke: var(--terre); }
.ea__arc--bloque { stroke: #b9a687; stroke-dasharray: 3 9; }
.ea__bras { transform-box: view-box; transform-origin: 181px 170px; }
.ea__bras--tendinite { animation: ea-tendinite 6s ease-in-out infinite; }
.ea__bras--capsulite { animation: ea-capsulite 6s ease-in-out infinite; }
.ea__capsule { fill: none; stroke: var(--terre); stroke-width: 3; stroke-dasharray: 4 3; opacity: .8; }
@keyframes ea-tendinite { 0%, 8% { transform: rotate(0); } 50%, 60% { transform: rotate(-168deg); } 100% { transform: rotate(0); } }
@keyframes ea-capsulite { 0%, 10% { transform: rotate(0); } 38% { transform: rotate(-48deg); } 42% { transform: rotate(-44deg); } 46%, 62% { transform: rotate(-48deg); } 100% { transform: rotate(0); } }

/* ---------- Acouphènes : le volume du cerveau ---------- */
.av__signal { fill: none; stroke: var(--mer); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 8; animation: av-flux 1s linear infinite; }
.av__signal--faible { stroke: #b9a687; stroke-width: 2; opacity: .6; animation-duration: 2.4s; }
.av__cochlee { fill: none; stroke: var(--mer); stroke-width: 3; stroke-linecap: round; }
.av__jauge { fill: #fff; stroke: var(--bordure); stroke-width: 2; }
.av__niveau { fill: var(--terre); }
.av__niveau--ok { fill: var(--olive); }
@keyframes av-flux { to { stroke-dashoffset: -36; } }

/* ---------- Fasciite : le matin ---------- */
.fm__fascia { fill: none; stroke-width: 5; stroke-linecap: round; }
.fm__fascia--court { stroke: var(--mer); stroke-dasharray: 2 5; }
.fm__fascia--tire { stroke: var(--terre); animation: fm-tire 1.6s ease-in-out infinite; }
.fm__fascia--souple { stroke: var(--olive); }
.fm__calme { fill: var(--olive); opacity: .2; }
.fm__poids { fill: none; stroke: var(--mer-fonce); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fm__lune { font-size: 34px; fill: var(--mer); }
@keyframes fm-tire { 0%, 100% { stroke-width: 4; } 50% { stroke-width: 7; } }

/* ---------- Essuie-glace : le seuil ---------- */
.es__fond { fill: #fff; stroke: var(--bordure); stroke-width: 2; }
.es__niveau { fill: var(--olive); opacity: .8; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.es__niveau--plat { animation: es-plat 6s ease-in infinite; }
.es__niveau--descente { fill: var(--terre); animation: es-descente 6s ease-in infinite; }
.es__niveau--reprise { animation: es-reprise 6s ease-in-out infinite; }
.es__seuil { stroke: var(--terre); stroke-width: 3; stroke-dasharray: 6 4; }
.es__seuil--recule { stroke: var(--olive); }
.es__seuil-texte, .es__repere { font-family: system-ui, sans-serif; font-size: 12.5px; fill: var(--doux); }
.es__seuil-texte { font-weight: 700; fill: var(--mer-fonce); }
.es__recul { fill: none; stroke: var(--olive); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.es__alerte, .es__ok { font-family: system-ui, sans-serif; font-size: 15px; font-weight: 700; }
.es__alerte { fill: var(--terre); opacity: 0; }
.es__alerte--plat { animation: es-alerte-plat 6s infinite; }
.es__alerte--descente { animation: es-alerte-descente 6s infinite; }
.es__ok { fill: var(--olive); }
@keyframes es-plat { 0% { transform: scaleX(0); } 70% { transform: scaleX(.78); } 88%, 100% { transform: scaleX(.86); } }
@keyframes es-descente { 0% { transform: scaleX(0); } 40% { transform: scaleX(.78); } 85%, 100% { transform: scaleX(1); } }
@keyframes es-reprise { 0% { transform: scaleX(0); } 80%, 100% { transform: scaleX(.7); } }
@keyframes es-alerte-plat { 0%, 70% { opacity: 0; } 76%, 100% { opacity: 1; } }
@keyframes es-alerte-descente { 0%, 40% { opacity: 0; } 46%, 100% { opacity: 1; } }

/* ---------- Achille : les fibres ---------- */
.af__tendon { fill: #f4e7d4; stroke: #cdbb9f; stroke-width: 1.5; }
.af__tendon--epais { fill: #f3d8c8; stroke: var(--terre); }
.af__fibre { fill: none; stroke: var(--mer); stroke-width: 1.6; stroke-linecap: round; }
.af__fibre--desordre { stroke: var(--terre); }
.af__fibre--neuve { stroke: var(--olive); stroke-width: 2; }
.af__avant { animation: af-avant 6s ease-in-out infinite; }
.af__apres { opacity: 0; animation: af-apres 6s ease-in-out infinite; }
.af__charge { fill: none; stroke: var(--olive); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: af-charge 1.6s ease-in-out infinite; }
@keyframes af-avant { 0%, 30% { opacity: 1; } 55%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes af-apres { 0%, 30% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes af-charge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* ---------- Entorse : le réflexe ---------- */
.ec__pied { transform-box: view-box; transform-origin: 210px 208px; }
.ec__pied--rapide { animation: ec-rapide 4s ease-in-out infinite; }
.ec__pied--lent { animation: ec-lent 4s ease-in-out infinite; }
.ec__muscle { fill: none; stroke: #e8b9a3; stroke-width: 10; stroke-linecap: round; }
.ec__muscle--rapide { animation: ec-muscle-rapide 4s ease-in-out infinite; }
.ec__muscle--lent { animation: ec-muscle-lent 4s ease-in-out infinite; }
.ec__capteur { fill: var(--terre); }
.ec__capteur--rapide, .ec__capteur--lent { animation: ec-capteur 4s ease-in-out infinite; }
.ec__influx { fill: none; stroke: var(--terre); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 40 400; stroke-dashoffset: 40; filter: drop-shadow(0 0 4px rgba(181, 83, 43, .5)); }
.ec__influx--rapide { animation: ec-influx-rapide 4s ease-in infinite; }
.ec__influx--lent { animation: ec-influx-lent 4s ease-in infinite; }
@keyframes ec-rapide { 0%, 15% { transform: rotate(0); } 25% { transform: rotate(10deg); } 38%, 100% { transform: rotate(0); } }
@keyframes ec-lent { 0%, 15% { transform: rotate(0); } 45%, 70% { transform: rotate(28deg); } 90%, 100% { transform: rotate(0); } }
@keyframes ec-capteur { 0%, 14%, 40%, 100% { r: 5; } 20% { r: 8; } }
@keyframes ec-influx-rapide { 0%, 16% { stroke-dashoffset: 40; } 26%, 100% { stroke-dashoffset: -220; } }
@keyframes ec-influx-lent { 0%, 16% { stroke-dashoffset: 40; } 50%, 100% { stroke-dashoffset: -220; } }
@keyframes ec-muscle-rapide { 0%, 24%, 44%, 100% { stroke: #e8b9a3; } 28%, 38% { stroke: var(--terre); } }
@keyframes ec-muscle-lent { 0%, 48%, 78%, 100% { stroke: #e8b9a3; } 54%, 72% { stroke: var(--terre); } }

/* ---------- Rotule : la pression ---------- */
.rp__quadri { fill: none; stroke: #e3a68b; stroke-width: 10; stroke-linecap: round; animation: tm-muscle 2.4s ease-in-out infinite; }
.rp__rotule { fill: #fbf6ee; stroke: #b9a687; stroke-width: 2; }
.rp__zone--faible { fill: var(--olive); opacity: .2; }
.rp__jauge { fill: #fff; stroke: var(--bordure); stroke-width: 2; }
.rp__niveau { fill: var(--terre); }
.rp__niveau--ok { fill: var(--olive); }

/* ---------- Piriforme : assis ---------- */
.pa__siege { fill: #e8dcc8; stroke: #b9a687; stroke-width: 2; }
.pa__poids { fill: none; stroke: var(--mer-fonce); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Grossesse : les contraintes ---------- */
.gf__colonne { fill: none; stroke: #b9a687; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 8 3; }
.gf__fleche { fill: none; stroke: var(--terre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.gf__fleche--muscle { stroke: var(--mer); }
.gf__souple { animation: gf-souple 2.4s ease-in-out infinite; }
@keyframes gf-souple { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Tête du bébé : la croissance ---------- */
.tc__nez { fill: none; stroke: #b9a687; stroke-width: 2.5; stroke-linejoin: round; }
.tc__fleches path { fill: none; stroke: var(--olive); stroke-width: 3; stroke-linecap: round; marker-end: none; animation: tc-pousse 2.4s ease-in-out infinite; }
.tc__bloque { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; }
.tc__appui { fill: var(--terre); opacity: .15; }
.tc__appui--1 { animation: tc-appui 4.5s infinite; }
.tc__appui--2 { animation: tc-appui 4.5s 1.5s infinite; }
.tc__appui--3 { animation: tc-appui 4.5s 3s infinite; }
@keyframes tc-pousse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes tc-appui { 0%, 100% { opacity: .15; } 10%, 28% { opacity: .7; } 36% { opacity: .15; } }

/* ---------- Ski : le genou ---------- */
.sg__menisque { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 1.5; }
.sg__lca { stroke: var(--mer); stroke-width: 6; stroke-linecap: round; }
.sg__lca--tendu { stroke: var(--terre); animation: sg-tendu 1.6s ease-in-out infinite; }
.sg__lcp { stroke: var(--mer); stroke-width: 5; stroke-linecap: round; opacity: .4; }
.sg__muscle { fill: none; stroke: var(--olive); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sg__fleche { fill: none; stroke: var(--terre); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sg__mini { fill: none; stroke: var(--mer-fonce); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sg-tendu { 0%, 100% { stroke-width: 6; } 50% { stroke-width: 8.5; } }

/* ---------- Ski : la position ---------- */
.sp__neige { fill: #eef5f7; }
.sp__ski { fill: var(--mer); }
.sp__spatule { fill: none; stroke: var(--mer); stroke-width: 7; stroke-linecap: round; }
.sp__baton { stroke: #8a7a63; stroke-width: 3; stroke-linecap: round; }
.sp__membre { fill: none; stroke: #e3cdb0; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.sp__tronc { stroke-width: 28; }
.sp__bras { stroke-width: 11; }
.sp__chaussure { fill: var(--mer-fonce); }
.sp__zone-ok { fill: var(--olive); opacity: .3; }

/* ---------- Ski : courbatures ou blessure ---------- */
.skc__fantome { fill: none; stroke: #d9c9b0; stroke-width: 3; stroke-dasharray: 4 5; stroke-linecap: round; }
.skc__point { stroke: #fff; stroke-width: 2; }
.skc__point--bon { fill: var(--olive); }
.skc__point--alerte { fill: var(--terre); }

/* ---------- Déroulement d'une séance ---------- */
.se__fil { stroke: #d9c9b0; stroke-width: 4; stroke-linecap: round; }
.se__fil--progres { stroke: var(--mer); stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: se-progres 10s ease-in-out infinite; }
.se__etape circle { fill: #fff; stroke: var(--mer); stroke-width: 2.5; transition: fill .3s, opacity .3s; }
.se__etape text { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 700; fill: var(--mer-fonce); }
.se__etape { transition: opacity .3s; }
.se__icone { fill: none; stroke: var(--mer); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.se__repere { fill: var(--terre); animation: se-repere 10s ease-in-out infinite; }
[data-vue="tout"] .se__etape--entretien circle { animation: se-allume-1 10s infinite; }
[data-vue="tout"] .se__etape--bilan circle { animation: se-allume-2 10s infinite; }
[data-vue="tout"] .se__etape--traitement circle { animation: se-allume-3 10s infinite; }
[data-vue="tout"] .se__etape--conseils circle { animation: se-allume-4 10s infinite; }
@keyframes se-progres { 0%, 8% { stroke-dashoffset: 1; } 80%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes se-repere { 0%, 8% { transform: translateX(0); } 28%, 32% { transform: translateX(110px); } 52%, 56% { transform: translateX(220px); } 80%, 92% { transform: translateX(330px); } 100% { transform: translateX(0); } }
@keyframes se-allume-1 { 0%, 14% { fill: var(--mer-clair); } 20%, 100% { fill: #fff; } }
@keyframes se-allume-2 { 0%, 24% { fill: #fff; } 28%, 38% { fill: var(--mer-clair); } 44%, 100% { fill: #fff; } }
@keyframes se-allume-3 { 0%, 48% { fill: #fff; } 52%, 62% { fill: var(--mer-clair); } 68%, 100% { fill: #fff; } }
@keyframes se-allume-4 { 0%, 76% { fill: #fff; } 80%, 92% { fill: var(--mer-clair); } 100% { fill: #fff; } }
.schema--seance:not([data-vue="tout"]) .se__etape { opacity: .35; }
.schema--seance:not([data-vue="tout"]) .se__repere, .schema--seance:not([data-vue="tout"]) .se__fil--progres { animation: none; }
[data-vue="entretien"] .se__etape--entretien, [data-vue="bilan"] .se__etape--bilan, [data-vue="traitement"] .se__etape--traitement, [data-vue="conseils"] .se__etape--conseils { opacity: 1; }
[data-vue="entretien"] .se__etape--entretien circle, [data-vue="bilan"] .se__etape--bilan circle, [data-vue="traitement"] .se__etape--traitement circle, [data-vue="conseils"] .se__etape--conseils circle { fill: var(--mer-clair); stroke-width: 3.5; }
[data-vue="bilan"] .se__repere { transform: translateX(110px); }
[data-vue="traitement"] .se__repere { transform: translateX(220px); }
[data-vue="conseils"] .se__repere { transform: translateX(330px); }
[data-vue="entretien"] .se__fil--progres { stroke-dashoffset: 1; }
[data-vue="bilan"] .se__fil--progres { stroke-dashoffset: .667; }
[data-vue="traitement"] .se__fil--progres { stroke-dashoffset: .333; }
[data-vue="conseils"] .se__fil--progres { stroke-dashoffset: 0; }
.se__repere, .se__fil--progres { transition: transform .4s ease, stroke-dashoffset .4s ease; }

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
	.s-muscle--actif, .s-influx, .s-zone, .s-onde, .fasc__fascia, .fasc__orteils, .itb__jambe, .itb__zone, .itb__alerte,
	.achille__flux, .entorse__pied, .lumb__etape rect, .torti__rotation--bloquee, .torti__tete, .mut__etape circle, .mut__jeton { animation: none; }
	.se__repere, .se__fil--progres, .se__etape circle { animation: none !important; }
	[data-vue="tout"] .se__fil--progres { stroke-dashoffset: 0; }
	.s-alt-a { animation: none; opacity: 0; }
	.s-alt-b { animation: none; opacity: 1; }
	.s-influx { stroke-dasharray: none; opacity: .85; }
	.s-zone { opacity: .25; }
	.fasc__orteils { transform: rotate(-34deg); }
	.fasc__fascia { stroke: var(--terre); }
	.itb__zone { opacity: .5; }
	.itb__alerte { opacity: 1; }
	.entorse__pied { transform: rotate(25deg); }
	.mut__jeton { opacity: 0; }
	.sc2__irritation, .sc2__message, .sc2__recoit, .sc2__ressenti, .sc2__pied, .sc2__etape, .lr__tronc, .lr__muscle, .lr__irrit, .lr__etape,
	.tm__muscle--actif, .tt__lien, .tt__casque, .tt__influx, .da__niveau, .da__niveau--alarme, .da__cloche path { animation: none; }
	.sc2__irritation { opacity: .6; }
	.sc2__message { opacity: .8; stroke-dasharray: none; }
	.sc2__ressenti, .sc2__pied { opacity: .5; }
	.sc2__etape, .lr__etape { fill-opacity: 1; }
	.lr__muscle { opacity: .9; fill: var(--terre); }
	.lr__irrit { opacity: .6; }
	.tt__influx { stroke-dasharray: none; opacity: .85; }
	.rc__coeur, .rc__goutte, .rf__progres, .rca__cartilage--haut, .rca__cartilage--bas, .rca__femur, .rca__goutte, .rca__texte, .rs__courbe { animation: none; }
	.rc__goutte { opacity: .8; }
	.rf__progres { stroke-dashoffset: 0; }
	.rca__texte--relache { opacity: 1; }
	.rs__courbe { stroke-dashoffset: 0; }
	.ea__bras, .av__signal, .fm__fascia--tire, .es__niveau, .es__alerte, .af__avant, .af__apres, .af__charge, .ec__pied, .ec__muscle, .ec__capteur, .ec__influx,
	.rp__quadri, .gf__souple, .tc__fleches path, .tc__appui { animation: none; }
	.ea__bras--tendinite { transform: rotate(-90deg); }
	.ea__bras--capsulite { transform: rotate(-48deg); }
	.es__niveau--plat { transform: scaleX(.86); }
	.es__niveau--descente { transform: scaleX(1); }
	.es__niveau--reprise { transform: scaleX(.7); }
	.es__alerte { opacity: 1; }
	.af__avant { opacity: 0; }
	.af__apres { opacity: 1; }
	.ec__pied--lent { transform: rotate(28deg); }
	.ec__influx { stroke-dasharray: none; opacity: .8; }
	.tc__appui { opacity: .5; }
	.sg__lca--tendu { animation: none; stroke-width: 8; }
}
