/* Kiné Alhéna — feuille de style unique, sans dépendance */

:root{
  --paper:#FBFAF8;
  --panel:#FFFFFF;
  --ink:#24211F;
  --muted:#6B6763;
  --faint:#98938E;
  --rule:#E2DDD6;
  /* orange de la charte, décliné pour rester lisible */
  --brand:#E64825;        /* logo — aplats et pastilles uniquement */
  --deep:#C13A1C;         /* texte et liens : 5,2:1 sur le papier */
  --deep-soft:#FCEDE8;
  --btn:#C13A1C;          /* fond de bouton : blanc dessus à 5,4:1 */
  --brass:#8A7E6F;        /* neutre chaud, remplace l'ancien laiton */
  --brass-soft:#F4F1EC;
  --shadow:0 1px 3px rgba(36,33,31,.06), 0 8px 24px -12px rgba(36,33,31,.14);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#17140F;
    --panel:#201C17;
    --ink:#EDE9E3;
    --muted:#ABA49B;
    --faint:#7E776E;
    --rule:#332D26;
    --brand:#F0603C;
    --deep:#F2795A;
    --deep-soft:#2C1C16;
    --btn:#C13A1C;
    --brass:#A79A8A;
    --brass-soft:#241F19;
    --shadow:0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"]{
  --paper:#17140F; --panel:#201C17; --ink:#EDE9E3; --muted:#ABA49B; --faint:#7E776E;
  --rule:#332D26; --brand:#F0603C; --deep:#F2795A; --deep-soft:#2C1C16; --btn:#C13A1C;
  --brass:#A79A8A; --brass-soft:#241F19;
  --shadow:0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.7);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--deep)}
a:focus-visible, button:focus-visible{outline:2px solid var(--brass); outline-offset:3px; border-radius:2px}

.skip{position:absolute;left:-9999px;top:0;background:var(--deep);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px;top:8px}

/* ---------- en-tête ---------- */
.site-head{
  background:var(--panel); border-bottom:1px solid var(--rule);
  position:sticky; top:0; z-index:50;
}
.bar{
  max-width:1080px; margin:0 auto; padding:14px 24px;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 28px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit}
.brand-mark{width:34px; height:auto; flex:none; display:block}
@media(max-width:640px){.brand-mark{width:29px}}
.brand-txt{display:flex; flex-direction:column; line-height:1.25}
.brand-txt strong{font-family:"Faustina",Georgia,serif; font-size:21px; font-weight:600; letter-spacing:.01em}
.brand-txt span{font-size:12px; color:var(--muted); letter-spacing:.02em}

.site-head nav ul{list-style:none; display:flex; flex-wrap:wrap; gap:4px 6px; margin:0; padding:0}
.site-head nav a{
  display:block; padding:7px 12px; border-radius:4px; text-decoration:none;
  color:var(--muted); font-size:14.5px; font-weight:500;
}
.site-head nav a:hover{background:var(--deep-soft); color:var(--deep)}
.site-head nav a.is-active{color:var(--ink); background:var(--deep-soft)}

/* ---------- structure ---------- */
main{max-width:1080px; margin:0 auto; padding:0 24px}
.wide{max-width:1080px}
section{padding:52px 0; border-bottom:1px solid var(--rule)}
section:last-of-type{border-bottom:none}
.prose{max-width:66ch}
.prose p, .prose ul, .prose ol{margin:0 0 1.05em}
.prose ul{padding-left:1.15em}
.prose li{margin-bottom:.4em}
.prose li::marker{color:var(--deep)}

h1{
  font-family:"Faustina",Georgia,serif; font-weight:600;
  font-size:clamp(30px,5vw,44px); line-height:1.12; letter-spacing:-.012em;
  margin:0 0 14px; text-wrap:balance;
}
h2{
  font-family:"Faustina",Georgia,serif; font-weight:600;
  font-size:clamp(22px,3vw,28px); line-height:1.25; margin:0 0 12px; text-wrap:balance;
}
h3{font-family:"Faustina",Georgia,serif; font-weight:600; font-size:19px; margin:0 0 6px; line-height:1.3}
.lede{font-size:20px; line-height:1.55; color:var(--muted); max-width:62ch; margin:0 0 8px}
.eyebrow{
  font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--deep); font-weight:600; margin:0 0 12px;
}

/* ---------- accueil ---------- */
.hero{padding:64px 0 52px; border-bottom:1px solid var(--rule)}
.hero h1{max-width:23ch}
.hero .lede{margin-top:6px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.btn{
  display:inline-block; padding:12px 22px; border-radius:5px; text-decoration:none;
  font-weight:600; font-size:15.5px; border:1px solid var(--deep);
}
.btn-primary:hover{filter:brightness(1.08)}
.btn-primary{background:var(--btn); color:#fff; border-color:var(--btn)}
.btn-primary:hover{filter:brightness(1.12)}
.btn-ghost{color:var(--deep); background:transparent}
.btn-ghost:hover{background:var(--deep-soft)}

/* ---------- grilles ---------- */
.duo{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:22px}
.cab{
  background:var(--panel); border:1px solid var(--rule); border-radius:6px;
  padding:26px 26px 24px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:10px;
}
.cab .tag{
  align-self:flex-start; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  font-weight:600; color:var(--deep); background:var(--deep-soft); padding:4px 9px; border-radius:3px;
}
.cab h2{margin:0}
.cab .addr{font-size:16px; margin:0; line-height:1.5}
.cab .addr strong{font-weight:600}
.cab .note{font-size:14.5px; color:var(--muted); margin:0}

.grid4{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px}
.kine{
  background:var(--panel); border:1px solid var(--rule); border-radius:6px; overflow:hidden;
  box-shadow:var(--shadow); text-decoration:none; color:inherit; display:flex; flex-direction:column;
}
.kine:hover{border-color:var(--deep)}
.kine .ph{aspect-ratio:4/5; background:var(--deep-soft); overflow:hidden}
.kine .ph img{width:100%; height:100%; object-fit:cover}
.kine .body{padding:14px 16px 16px}
.kine .body h3{margin:0 0 2px; font-size:17.5px}
.kine .body p{margin:0; font-size:13.5px; color:var(--muted)}

.roster{list-style:none; padding:0; margin:18px 0 0; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:10px 24px}
.roster li{padding:9px 0; border-top:1px solid var(--rule); font-size:16px;
  display:flex; justify-content:space-between; gap:14px; align-items:baseline}
.roster a{font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:500}
.roster .nm{font-weight:500}

.specs{list-style:none; padding:0; margin:0; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:0 32px}
.specs li{
  padding:12px 0 12px 26px; border-top:1px solid var(--rule); position:relative; font-size:16.5px;
}
.specs li::before{
  content:""; position:absolute; left:2px; top:21px; width:7px; height:7px;
  background:var(--deep); border-radius:50%;
}

.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin-top:26px}
.gallery figure{margin:0; display:flex; flex-direction:column; gap:7px}
.gallery figure > img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:5px;
  background:var(--deep-soft); border:1px solid var(--rule)}
.gallery figcaption{font-size:13px; color:var(--muted); line-height:1.4}

/* ---------- fiche kiné ---------- */
.fiche{display:grid; grid-template-columns:minmax(200px,260px) 1fr; gap:36px; align-items:start}
@media(max-width:720px){.fiche{grid-template-columns:1fr; gap:22px}}
.fiche .portrait{border-radius:6px; overflow:hidden; background:var(--deep-soft); aspect-ratio:4/5;
  border:1px solid var(--rule)}
.fiche .portrait img{width:100%; height:100%; object-fit:cover}
.facts{list-style:none; padding:0; margin:0 0 26px}
.facts li{display:flex; gap:12px; padding:8px 0; border-bottom:1px solid var(--rule); font-size:16px}
.facts .k{color:var(--muted); min-width:118px; flex:none}
.parcours{list-style:none; padding:0; margin:0}
.parcours li{position:relative; padding:0 0 16px 24px; border-left:1px solid var(--rule); margin-left:5px}
.parcours li:last-child{border-left-color:transparent; padding-bottom:0}
.parcours li::before{content:""; position:absolute; left:-4.5px; top:9px; width:8px; height:8px;
  border-radius:50%; background:var(--deep)}

/* ---------- articles ---------- */
.artlist{list-style:none; padding:0; margin:0; display:grid; gap:16px}
.artlist a{
  display:block; background:var(--panel); border:1px solid var(--rule); border-radius:6px;
  padding:22px 24px; text-decoration:none; color:inherit; box-shadow:var(--shadow);
}
.artlist a:hover{border-color:var(--deep)}
.artlist h2{margin:0 0 6px; font-size:22px}
.artlist p{margin:0; color:var(--muted); font-size:15.5px}
.article-body{max-width:66ch}
.article-body h2{margin-top:34px}
.signature{margin-top:34px; padding-top:18px; border-top:1px solid var(--rule); font-size:15.5px; color:var(--muted)}
.signature strong{color:var(--ink); font-weight:600; display:block}

.callout{
  background:var(--brass-soft); border-left:3px solid var(--brass);
  padding:18px 20px; border-radius:0 5px 5px 0; margin:26px 0; max-width:66ch;
}
.callout p{margin:0; font-size:16px}
.callout p + p{margin-top:8px}

/* ---------- contact ---------- */
.contact-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px}
.tel-list{list-style:none; padding:0; margin:0}
.tel-list li{border-bottom:1px solid var(--rule)}
.tel-list a{
  display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  padding:13px 2px; text-decoration:none; color:inherit; font-size:16.5px;
}
.tel-list a:hover{background:var(--deep-soft)}
.tel-list .num{color:var(--deep); font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap}
.tel-list .nm{font-weight:500}

/* ---------- pied ---------- */
.site-foot{
  background:var(--panel); border-top:1px solid var(--rule); margin-top:56px;
  padding:44px 24px 32px;
}
.foot-logo{max-width:1080px; margin:0 auto 30px}
.foot-logo img{width:150px; height:auto}
.foot-grid{
  max-width:1080px; margin:0 auto; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:26px 22px;
}
.site-foot h2{font-size:15px; font-family:"Public Sans",sans-serif; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase; color:var(--faint); margin:0 0 10px}
.site-foot .addr{margin:0 0 6px; font-size:15.5px; line-height:1.5}
.site-foot .muted{margin:0; font-size:14px; color:var(--muted)}
.legal{
  max-width:1080px; margin:32px auto 0; padding-top:20px; border-top:1px solid var(--rule);
  font-size:13px; color:var(--faint);
}

@media(max-width:640px){
  body{font-size:16.5px}
  .bar{padding:12px 18px}
  main{padding:0 18px}
  section{padding:38px 0}
  .hero{padding:44px 0 36px}
  .site-head nav ul{gap:2px}
  .site-head nav a{padding:6px 9px; font-size:14px}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}

/* ============ ARTICLES : composants ============ */

/* figures scientifiques : image pleine largeur + légende */
.fig{margin:30px 0; display:flex; flex-direction:column; gap:10px}
.fig > img{width:100%; height:auto; border:1px solid var(--rule); border-radius:5px;
  background:#fff; padding:10px; box-sizing:border-box}
.fig figcaption{font-size:13.5px; color:var(--muted); line-height:1.5; font-style:italic}

/* couleurs sémantiques, distinctes de l'accent laiton */
:root{
  --alert:#9B1B36; --alert-soft:#FBEAEE; --alert-line:#E0B3BF;
  --watch:#6F5A12; --watch-soft:#FAF2DE; --watch-line:#DFCE9C;
  --calm:#2C5F49;  --calm-soft:#E6F0EA;  --calm-line:#B9D4C5;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --alert:#F2909F; --alert-soft:#2C161C; --alert-line:#552A36;
    --watch:#D9BE73; --watch-soft:#26210F; --watch-line:#4A4025;
    --calm:#87C4A6;  --calm-soft:#17261F;  --calm-line:#2C4438;
  }
}
:root[data-theme="dark"]{
  --alert:#F2909F; --alert-soft:#2C161C; --alert-line:#552A36;
  --watch:#D9BE73; --watch-soft:#26210F; --watch-line:#4A4025;
  --calm:#87C4A6;  --calm-soft:#17261F;  --calm-line:#2C4438;
}

/* en-tête d'article */
.art-head{padding:52px 0 30px; border-bottom:1px solid var(--rule)}
.art-head h1{max-width:20ch}
.art-head .sur{font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--deep); font-weight:600; margin:0 0 14px}
.art-head .sous{font-family:"Faustina",Georgia,serif; font-size:clamp(19px,2.6vw,23px);
  font-style:italic; color:var(--muted); margin:0 0 18px; max-width:44ch; line-height:1.35}
.art-head .by{font-size:15px; color:var(--muted); margin:0}
.art-head .by strong{color:var(--ink); font-weight:600}

/* résumé */
.resume{background:var(--deep-soft); border-left:3px solid var(--deep);
  padding:22px 24px; border-radius:0 5px 5px 0; margin:30px 0 0; max-width:68ch}
.resume .lab{font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  color:var(--deep); margin:0 0 8px}
.resume p{margin:0; font-size:16.5px; line-height:1.55}

/* blocs d'alerte parents */
.alerte{border-radius:5px; padding:20px 22px 18px; margin:0 0 18px;
  border:1px solid var(--alert-line); border-left:4px solid var(--alert); background:var(--alert-soft)}
.alerte.jaune{border-color:var(--watch-line); border-left-color:var(--watch); background:var(--watch-soft)}
.alerte.vert{border-color:var(--calm-line); border-left-color:var(--calm); background:var(--calm-soft)}
.alerte h2{font-family:"Public Sans",sans-serif; font-size:14px; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase; color:var(--alert); margin:0 0 12px}
.alerte.jaune h2{color:var(--watch)}
.alerte.vert h2{color:var(--calm)}
.alerte ul{list-style:none; margin:0; padding:0}
.alerte li{position:relative; padding:6px 0 6px 22px; font-size:16.5px; line-height:1.45}
.alerte li::before{content:"—"; position:absolute; left:0; top:6px; color:var(--alert); font-weight:600}
.alerte.jaune li::before{color:var(--watch)}
.alerte.vert li::before{color:var(--calm)}
.alerte li + li{border-top:1px solid rgba(128,128,128,.14)}

/* tableaux d'article */
.t-wrap{overflow-x:auto; border:1px solid var(--rule); border-radius:5px; background:var(--panel);
  box-shadow:var(--shadow); margin:22px 0}
.t-wrap table{border-collapse:collapse; width:100%; min-width:560px; font-size:15px}
.t-wrap caption{text-align:left; font-size:13.5px; color:var(--muted); padding:12px 16px 0;
  caption-side:top}
.t-wrap th{text-align:left; font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  font-weight:600; color:var(--faint); padding:12px 16px; border-bottom:1px solid var(--rule);
  vertical-align:bottom}
.t-wrap td{padding:12px 16px; border-bottom:1px solid var(--rule); vertical-align:top; line-height:1.5}
.t-wrap tbody tr:last-child td{border-bottom:none}
.t-wrap td:first-child{font-weight:600}
.t-wrap .num{font-variant-numeric:tabular-nums; white-space:nowrap}

.verdict{display:inline-block; font-size:11.5px; letter-spacing:.07em; font-weight:700;
  padding:3px 8px; border-radius:3px; white-space:nowrap}
.v-faux{background:var(--alert-soft); color:var(--alert)}
.v-part{background:var(--watch-soft); color:var(--watch)}

/* phases */
.phase{border-top:2px solid var(--rule); padding-top:20px; margin-top:34px}
.phase .n{font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  color:var(--deep); margin:0 0 4px}
.phase h3{font-size:21px; margin:0 0 4px}
.phase .quand{font-size:14px; color:var(--muted); margin:0 0 14px;
  font-variant-numeric:tabular-nums}

/* encadré dans le corps d'un article (classe distincte de .cab .note) */
.encart{border:1px solid var(--rule); border-left:3px solid var(--brass); background:var(--brass-soft);
  padding:18px 20px; border-radius:0 5px 5px 0; margin:26px 0; max-width:68ch}
.encart .lab{font-size:11.5px; letter-spacing:.13em; text-transform:uppercase; font-weight:600;
  color:var(--muted); margin:0 0 7px}
.encart p{margin:0; font-size:16px}
.encart p + p{margin-top:9px}

/* liste ordonnée « gestes » */
.gestes{list-style:none; counter-reset:g; margin:0; padding:0; max-width:68ch}
.gestes li{counter-increment:g; position:relative; padding:0 0 18px 48px; font-size:16.5px}
.gestes li::before{content:counter(g); position:absolute; left:0; top:-1px; width:30px; height:30px;
  border-radius:50%; background:var(--btn); color:#fff; font-size:14px; font-weight:600;
  display:flex; align-items:center; justify-content:center}
.gestes li:last-child{padding-bottom:0}

/* liste « rôles » à tirets */
.roles{list-style:none; margin:0; padding:0; max-width:68ch}
.roles li{padding:14px 0; border-top:1px solid var(--rule); font-size:16.5px; line-height:1.5}
.roles li:last-child{border-bottom:1px solid var(--rule)}
.roles strong{display:block; margin-bottom:2px}

/* références */
.refs{list-style:none; counter-reset:r; margin:0; padding:0; max-width:none}
.refs li{counter-increment:r; position:relative; padding:9px 0 9px 34px; font-size:13.5px;
  line-height:1.5; color:var(--muted); border-bottom:1px solid var(--rule)}
.refs li:last-child{border-bottom:none}
.refs li::before{content:counter(r) "."; position:absolute; left:0; top:9px;
  font-variant-numeric:tabular-nums; color:var(--faint); font-size:12.5px}
.refs em{font-style:italic}

.decl{font-size:13.5px; color:var(--faint); margin-top:24px; padding-top:16px;
  border-top:1px solid var(--rule)}

/* assistants collaborateurs */
.assist-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px}
.assist{display:flex; align-items:center; gap:14px; background:var(--panel);
  border:1px solid var(--rule); border-radius:6px; padding:14px 16px; box-shadow:var(--shadow)}
.assist h3{margin:0; font-size:16.5px; line-height:1.25}
.assist p{margin:1px 0 0; font-size:13px; color:var(--muted)}
.mono{flex:none; width:42px; height:42px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; background:var(--deep-soft); color:var(--deep);
  font-family:"Faustina",Georgia,serif; font-size:16px; font-weight:600; letter-spacing:.02em}

.assist-list{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
.assist-list li{display:flex; align-items:center; gap:16px; padding:14px 2px;
  border-bottom:1px solid var(--rule)}
.assist-list .who{flex:1; min-width:0}
.assist-list .who strong{display:block; font-size:17px; font-weight:600; line-height:1.3}
.assist-list .who span{font-size:13.5px; color:var(--muted)}
.assist-list .num{font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:600;
  color:var(--deep); font-size:16px; text-decoration:none}
.assist-list .num.vide{color:var(--faint); font-weight:400; font-size:13.5px}
@media(max-width:520px){
  .assist-list li{flex-wrap:wrap}
  .assist-list .num{margin-left:58px}
}

/* index articles : deux publics */
.pub{margin-bottom:44px}
.pub > h2{display:flex; align-items:baseline; gap:12px; margin-bottom:4px}
.pub .cnt{font-size:12.5px; color:var(--faint); font-weight:400;
  font-family:"Public Sans",sans-serif}
.pub .intro{color:var(--muted); font-size:15.5px; margin:0 0 20px; max-width:64ch}
.artlist .tag{display:inline-block; font-size:11px; letter-spacing:.09em; text-transform:uppercase;
  font-weight:600; padding:3px 8px; border-radius:3px; margin-bottom:9px;
  background:var(--deep-soft); color:var(--deep)}
.artlist .tag.fam{background:var(--calm-soft); color:var(--calm)}

/* sur la fiche parents, l'orange de marque s'efface : seules les alertes sont colorées */
body.famille .art-head .sur{color:var(--muted)}
body.famille .prose li::marker{color:var(--muted)}

@media(max-width:640px){
  .alerte li{font-size:16px}
  .art-head{padding:36px 0 24px}
}
