/* Polices hébergées avec le site (SIL Open Font License) : aucune requête vers Google Fonts */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300 700; font-stretch: 100%; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300 700; font-stretch: 100%; font-display: swap; src: url(fonts/ibm-plex-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --nuit: #101e36;
  --nuit-2: #13243f;
  --nuit-3: #0c182c;
  --haut: #142546;
  --bas: #858c97;
  --or: #cfae78;
  --or-clair: #e3c99d;
  --or-fonce: #7d5f2e;
  --encre: #0a1428;           /* fonds les plus profonds : presse, pied de page */
  --releve: #17294a;          /* nuit relevée : encarts, un chapitre sur deux */
  --bloc: #12485f;            /* bleu-vert des champs opératoires : SOS Genoux, encadrés clés */
  --bloc-2: #0e3a50;
  --texte: #e8ecf2;
  --doux: #a3afc0;
  --trait: rgba(232, 236, 242, .16);
  --clair: #eef0f3;
  --clair-texte: #101e36;
  --clair-doux: #46536a;
  --clair-trait: rgba(16, 30, 54, .16);
  --hh: 76px;
  --maxw: 1280px;
  --serif: "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-img: 8px;               /* un seul arrondi pour toutes les photos et illustrations */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); }
body {
  margin: 0; background: var(--nuit); color: var(--texte);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--or); color: var(--nuit); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; letter-spacing: -.015em; }
.section-title { margin: 0; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.02; }
.lede { color: var(--doux); font-size: 1.15rem; max-width: 34em; }

/* Boutons */
/* Boutons : 54 px de haut, en pilule (références : Fortius, Perraudin, Gupte, de 48 à 60 px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 30px; border-radius: 999px; text-decoration: none; text-align: center; font-weight: 700; font-size: 1.02rem; line-height: 1.25; background: var(--or); color: var(--nuit); transition: background .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--or-clair); }
.btn.line { background: rgba(16, 30, 54, .35); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(232, 236, 242, .45); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--or); }
.btn.small { min-height: 46px; padding: 8px 22px; font-size: .98rem; }

/* Pages intérieures : en-tête toujours opaque, contenu sous l'en-tête */
.page main { padding-top: var(--hh); }

/* En-tête fixe */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hh); transition: background .3s, box-shadow .3s; }
.site-header.is-solid { background: rgba(12, 24, 44, .94); box-shadow: 0 1px 0 var(--trait); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand img { width: 30px; height: auto; }
.menu { display: flex; align-items: center; gap: 16px; }
.menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: rgba(12, 24, 44, .72); box-shadow: inset 0 0 0 1px rgba(232, 236, 242, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.menu ul a { display: block; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: .97rem; color: #d3dae5; transition: color .2s, background .2s; }
.menu ul a:hover { color: #fff; background: rgba(232, 236, 242, .08); }
.menu ul a[aria-current="page"] { color: var(--nuit); background: var(--or); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(12, 24, 44, .78); box-shadow: inset 0 0 0 1px rgba(232, 236, 242, .2); color: var(--texte); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 5px; }
.menu-toggle .bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Héros : photo du bloc opératoire à droite, fondue dans le bleu nuit */
.hero { position: relative; min-height: min(100vh, 960px); display: flex; align-items: center; background: var(--nuit); overflow: hidden; }
.hero .photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 760px); margin: 0; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to top, transparent 0, #000 22%);
-webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to top, transparent 0, #000 22%); mask-composite: intersect; }
.hero .photo figcaption { position: absolute; right: 32px; bottom: 32px; padding-left: 14px; border-left: 2px solid var(--or); color: #d0d7e2; font-size: .88rem; line-height: 1.4; }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--hh) + 48px); padding-bottom: 96px; }
.hero h1 { margin: 0; max-width: 12ch; font-size: clamp(2.9rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.025em; }
.hero h1 span { display: block; margin-top: 14px; font-size: .46em; line-height: 1.15; letter-spacing: -.01em; color: var(--or); }
.hero .who { margin: 28px 0 0; font-size: 1.15rem; color: #d0d7e2; max-width: 30em; }
.hero .who b { color: var(--texte); font-weight: 600; }
.actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Accueil : renvois vers les onglets */
.teasers { padding: 0 0 112px; }
.teasers .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.teaser { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 32px; align-items: start; padding: 48px 0; border-top: 1px solid var(--trait); }
.teaser-map { display: block; width: 13.5rem; height: 16.875rem; border-radius: var(--r-img); }
.teaser img { width: 13.5rem; height: 16.875rem; object-fit: cover; border-radius: var(--r-img); background: linear-gradient(var(--haut), var(--bas)); }
.teaser h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.teaser p { margin: 0 0 14px; color: var(--doux); }
.teaser .more { color: var(--or); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Spécialités */
.specialites { padding: 120px 0 96px; }
.specialites .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.specialites .head p { margin: 0; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.spec-list li { padding: 28px 28px 8px 0; }
.spec-list li + li { padding-left: 28px; border-left: 1px solid var(--trait); }
.spec-list li > a { text-decoration: none; display: inline-block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.spec-list li > a:hover { border-color: var(--or); }
.spec-list p { margin: 0; color: var(--doux); font-size: .98rem; }

/* Mobile : barre des trois chapitres, collée sous l'en-tête */
.joint-tabs { display: none; }

/* Chapitres : colonne image collante */
.chapters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); border-top: 1px solid var(--trait); }
.rail { position: sticky; top: var(--hh); align-self: start; height: min(calc(100vh - var(--hh)), 960px); overflow: hidden; background: linear-gradient(var(--haut), var(--bas)); }
.rail .pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.rail .pics img.on { opacity: 1; }
.rail::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to bottom, rgba(16, 30, 54, 0), rgba(16, 30, 54, .82)); pointer-events: none; }
.progress { position: absolute; left: 40px; bottom: 40px; z-index: 1; display: flex; gap: 20px; }
.progress .track { position: relative; width: 2px; background: rgba(232, 236, 242, .22); }
.progress .fill { position: absolute; inset: 0; background: var(--or); transform-origin: top; transform: scaleY(var(--p, 0)); }
.progress ol { margin: 0; padding: 0; list-style: none; }
.progress a { display: block; padding: 5px 0; text-decoration: none; font-size: .95rem; color: rgba(232, 236, 242, .66); transition: color .3s, transform .3s; }
.progress a:hover { color: var(--texte); }
.progress a.on { color: var(--texte); font-weight: 600; transform: translateX(6px); }

.chapter { min-height: min(100vh, 960px); padding: 112px 72px 104px; border-bottom: 1px solid var(--trait); }
.chapter:last-child { border-bottom: 0; }
.chapter-inner { max-width: 44rem; }
.chapter h2 { margin: 0 0 18px; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.025em; }
.chapter .intro { margin: 0 0 56px; color: var(--doux); font-size: 1.15rem; max-width: 32em; }
.chapter h3 { margin: 0 0 8px; font-size: 1.55rem; line-height: 1.2; }
.chapter .sub { margin: 0 0 22px; color: var(--doux); font-size: .95rem; }
.patho { margin: 0 0 64px; }
.patho > div { display: grid; grid-template-columns: 13em 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--trait); }
.patho > div:last-child { border-bottom: 1px solid var(--trait); }
.patho dt { font-weight: 600; line-height: 1.4; }
.patho dd { margin: 0; color: var(--doux); font-size: .98rem; }
.ops { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
/* Chaque intervention est une carte (référence : « Principales opérations » du Dr Haen) */
.ops > li { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 26px 24px; border-radius: 10px; background: rgba(232, 236, 242, .035); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .3); }
.ops > li > b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.18rem; line-height: 1.3; margin-bottom: 4px; }
.ops > li > span { display: block; color: var(--doux); font-size: .96rem; }
/* Fin de chapitre : la suite pour le patient */
.chapter-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 56px; padding: 28px 30px; border-radius: 4px; background: rgba(207, 174, 120, .07); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .35); }
.chapter-cta p { flex: 1 1 100%; margin: 0 0 4px; font-family: var(--serif); font-weight: 300; font-size: 1.3rem; line-height: 1.35; }
.chapter-cta .more { color: var(--or); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.chapter-cta .more:hover { color: var(--or-clair); }
.robot-badge { display: inline-flex; align-items: center; gap: 7px; margin: 4px 0 8px; padding: 3px 11px 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .6); color: var(--or-clair); font-size: .82rem; font-weight: 600; text-decoration: none; }
.robot-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.robot-badge:hover { background: rgba(207, 174, 120, .12); }
.chapter .inline-pic { display: none; }

/* Actes */
.actes { background: var(--nuit-3); padding: 112px 0; border-top: 1px solid var(--trait); }
.actes .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.actes .head p { margin: 20px 0 0; }
.actes ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.actes li { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) 4.5em; gap: 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.actes li b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.actes li span { color: var(--doux); font-size: .97rem; }
.actes li i { font-style: normal; color: var(--or); font-size: .9rem; white-space: nowrap; text-align: right; }

/* Consultations */
.consult { padding: 120px 0; }
.consult .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.consult .head p { margin: 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); }
.cols > div { padding: 32px 36px 8px 0; }
.cols > div + div { padding-left: 36px; border-left: 1px solid var(--trait); }
.cols h3 { margin: 0 0 14px; font-size: 1.65rem; line-height: 1.15; }
.cols p { margin: 0 0 14px; color: var(--doux); }
.cols p strong { color: var(--texte); font-weight: 600; }
.cols .more { color: var(--or); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Votre séjour : section claire */
.sejour { background: var(--clair); color: var(--clair-texte); padding: 120px 0; }
.sejour :focus-visible { outline-color: var(--nuit); }
.sejour .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.sejour .head p { margin: 0; color: var(--clair-doux); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 40px 0 0; }
.steps li + li { padding-left: 40px; border-left: 1px solid var(--clair-trait); }
.step-pic { margin: 0 0 28px; }
.step-pic img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--r-img); box-shadow: 0 14px 34px rgba(16, 30, 54, .16); }
.step-pic .credit { display: block; margin-top: 2px; font-size: .78rem; opacity: .8; }
.step-pic figcaption { margin-top: 10px; color: var(--clair-doux); font-size: .85rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 300; font-size: 5.5rem; line-height: .9; color: var(--or-fonce); margin-bottom: 20px; }
.steps h3 { margin: 0 0 14px; font-size: 1.7rem; line-height: 1.15; }
.steps p { margin: 0 0 12px; color: var(--clair-doux); }
.steps ul { margin: 0; padding: 0; list-style: none; }
.steps ul li { counter-increment: none; padding: 9px 0; border-top: 1px solid var(--clair-trait); border-left: 0; font-size: .98rem; }
.steps ul li::before { content: none; }

/* Le chirurgien */
.doc { padding: 128px 0; }
.doc .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; }
.doc .text p { margin: 0 0 18px; color: var(--doux); max-width: 34em; }
.doc .text p.first { color: var(--texte); font-family: var(--serif); font-weight: 300; font-size: 1.55rem; line-height: 1.35; margin-bottom: 28px; }
.facts { margin: 40px 0 0; }
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--trait); }
.facts > div:last-child { border-bottom: 1px solid var(--trait); }
.facts dt { color: var(--doux); font-size: .95rem; }
.facts dd { margin: 0; }
.facts dd a { color: var(--or); text-underline-offset: 3px; }

/* SOS Genoux */
.sos { background: var(--or); color: var(--nuit); }
.sos :focus-visible { outline-color: var(--nuit); }
.sos .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.sos .big { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .85; letter-spacing: -.03em; }
.sos h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.sos p { margin: 0 0 8px; max-width: 38em; }
.sos .warn { font-size: .95rem; padding-top: 10px; margin-top: 14px; border-top: 1px solid rgba(16, 30, 54, .28); }
.sos .call { text-align: left; }
.sos .call a { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 30px; border-radius: 999px; background: var(--nuit); color: var(--texte); text-decoration: none; font-weight: 600; white-space: nowrap; }
.sos .call a:hover { background: #1c3156; }
.sos .call a.sos-more { display: block; margin-top: 14px; padding: 0; background: none; color: var(--nuit); text-decoration: underline; text-underline-offset: 4px; font-size: .95rem; }
.sos .call a.sos-more:hover { background: none; }
.sos .call .num { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; white-space: nowrap; }

/* Contact */
.contact { padding: 120px 0 104px; }
.contact .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.contact .head p { margin: 0; }
.places { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--trait); }
.places > div { padding: 32px 36px 8px 0; }
.places > div + div { padding-left: 36px; border-left: 1px solid var(--trait); }
.places h2 { margin: 0 0 12px; font-size: 1.6rem; line-height: 1.15; }
.places address { font-style: normal; margin-bottom: 14px; }
.places p { margin: 0 0 12px; color: var(--doux); font-size: .98rem; }
.places .tel { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; text-decoration: none; display: inline-block; margin-bottom: 4px; }
.places .tel:hover { color: var(--or); }
.places .btn { margin: 8px 0 18px; }
.places .route { display: inline-flex; align-items: center; gap: 8px; color: var(--or); font-weight: 600; text-decoration: none; }
.places .route::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }
.places .route:hover { color: var(--or-clair); }
.note15 { margin: 48px 0 0; padding: 18px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); color: var(--texte); }
.note15 strong { color: var(--or); font-weight: 600; }

footer { background: var(--nuit-3); border-top: 1px solid var(--trait); padding: 48px 0 56px; color: var(--doux); font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 64px; }
footer p { margin: 0 0 8px; }
footer .id { color: var(--texte); }
footer nav ul { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
footer nav a { color: var(--texte); text-underline-offset: 3px; }
footer .credits { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--trait); }

/* Prothèse du genou assistée par robot : étapes en alternance image et texte */
.robot { background: var(--nuit-3); padding: 120px 0 112px; border-top: 1px solid rgba(207, 174, 120, .45); }
.robot .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.robot .head p { margin: 0; }
.robot-steps { margin: 0; padding: 0; list-style: none; counter-reset: rs; }
.robot-steps > li { counter-increment: rs; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--trait); }
.robot-steps > li:nth-child(even) .shot { order: 2; }
.robot-steps .txt::before { content: counter(rs); display: block; margin-bottom: 14px; font-family: var(--serif); font-weight: 300; font-size: 4rem; line-height: .9; color: var(--or); }
.robot-steps h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
.robot-steps p { margin: 0 0 12px; color: var(--doux); max-width: 32em; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: var(--r-img); box-shadow: 0 0 0 1px var(--trait), 0 18px 50px rgba(0, 0, 0, .45); }
.shot figcaption { margin-top: 12px; color: var(--doux); font-size: .85rem; }
.shot.light img { width: auto; max-width: 100%; max-height: 460px; margin: 0 auto; padding: 24px 40px; background: #fff; }
.shot.model img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; background: linear-gradient(var(--haut), var(--bas)); }
.shot.light figcaption, .shot.model figcaption { text-align: center; }
.robot-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 56px; }
.robot-facts > div { padding: 26px 0; border-top: 1px solid var(--trait); }
.robot-facts h3 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.2; }
.robot-facts p { margin: 0; color: var(--doux); }
.robot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--trait); }
.robot-cta p { margin: 0; color: var(--doux); max-width: 30em; }
.robot .brand-note { margin: 28px 0 0; color: var(--doux); font-size: .85rem; }
.inline-more { color: var(--or); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Scène 3D interactive : dans la colonne collante (bureau) ou dans le chapitre visible (mobile) */
.stage3d { position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.stage3d.dragging { cursor: grabbing; }
.stage3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.stage3d.ready canvas { opacity: 1; }
.rail.has3d .pics img { opacity: 0 !important; }
.tip { position: absolute; z-index: 2; width: max-content; max-width: min(300px, calc(100% - 24px)); padding: 12px 16px 13px; border-radius: 4px; background: rgba(12, 24, 44, .95); box-shadow: 0 0 0 1px rgba(207, 174, 120, .5), 0 10px 30px rgba(0, 0, 0, .45); pointer-events: none; transform: translate(-50%, calc(-100% - 18px)); }
.tip b { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }
.tip b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.tip span { display: block; color: var(--doux); font-size: .92rem; line-height: 1.45; }
.hint3d { position: absolute; top: 24px; left: 40px; right: 40px; margin: 0; color: rgba(232, 236, 242, .78); font-size: .92rem; pointer-events: none; transition: opacity .4s; }
.stage3d.touched .hint3d { opacity: 0; }
.hint3d .coarse { display: none; }
@media (hover: none) { .hint3d .fine { display: none; } .hint3d .coarse { display: inline; } }
.explode-btn { position: absolute; right: 32px; bottom: 36px; z-index: 2; padding: 14px 24px; border: 0; border-radius: 999px; background: rgba(12, 24, 44, .78); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .75); color: var(--texte); font: 700 1rem/1.2 var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, color .2s; }
.explode-btn:hover { background: rgba(28, 49, 86, .9); }
.explode-btn[aria-pressed="true"] { background: var(--or); color: var(--nuit); }
.chapter .slot3d { display: none; }
.slot3d.has3d .inline-pic { visibility: hidden; }

/* Pièces du modèle 3D, sous l'intro de chaque chapitre (remplies par le script) */
.parts3d { margin: -28px 0 56px; }
.parts3d:empty { display: none; }
.parts3d p { margin: 0 0 12px; color: var(--doux); font-size: .95rem; }
.parts3d ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.parts3d button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 17px 8px 13px; border: 0; border-radius: 999px; background: rgba(232, 236, 242, .05); box-shadow: inset 0 0 0 1px var(--trait); color: var(--texte); font: 600 .95rem/1.25 var(--sans); cursor: pointer; transition: box-shadow .2s, background .2s; }
.parts3d button::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.parts3d button:hover, .parts3d button:focus-visible { background: rgba(232, 236, 242, .09); box-shadow: inset 0 0 0 1px var(--c); }
/* Actions 3D : de vrais boutons, assez grands pour le doigt */
button.see3d, a.see3d { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 16px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px; background: rgba(207, 174, 120, .08); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .6); font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; color: var(--or-clair); text-decoration: none; cursor: pointer; transition: background .2s; }
html:not(.has-3d) button.see3d { display: none; }
button.see3d, .illu summary { white-space: nowrap; }
button.see3d::before { content: "↻"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: var(--nuit); font-size: .9rem; line-height: 1; }
button.see3d:hover, .illu summary:hover { color: var(--or-clair); }

/* Illustration repliable d'une intervention */
.ops > li:has(details[open]) { grid-column: 1 / -1; }
.illu { margin-top: 10px; }
.illu summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 20px 8px 10px; border-radius: 999px; background: rgba(207, 174, 120, .08); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .6); color: var(--or-clair); font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; list-style: none; transition: background .2s; }
button.see3d:hover, .illu summary:hover { background: rgba(207, 174, 120, .18); }
.illu summary::-webkit-details-marker { display: none; }
.illu summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: var(--nuit); font-size: 1.05rem; font-weight: 700; line-height: 1; }
.illu[open] summary::before { content: "−"; }
.illu-body { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.illu .legend { margin-bottom: 18px; }
.illu .legend li { font-size: .88rem; }
.illu .tx > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
/* l'image est agrandie autour de la zone des repères (--z, --zx, --zy) ; les pastilles gardent leur taille */
.illu .stage > .dots { position: absolute; inset: 0; }
.illu .stage > img, .illu .stage > .dots { transform-origin: var(--zx, 50%) var(--zy, 50%); transform: scale(var(--z, 1)); }
.illu .dot { transform: translate(-50%, -50%) scale(calc(1 / var(--z, 1))); }
.illu .dot b { width: 26px; height: 26px; font-size: .8rem; }
/* Intervention ouverte : sa prothèse s'affiche dans la scène 3D (bureau : la colonne ; mobile : à la place de l'image) */
.see-left { display: none; margin: 0 0 18px; color: var(--or-clair); font-size: .92rem; }
@media (min-width: 901px) {
  html.has-3d .illu[data-model] .illu-body { grid-template-columns: 1fr; }
  html.has-3d .illu[data-model] .scene { display: none; }
  html.has-3d .illu[data-model] .see-left { display: block; }
}
.illu .stage > .stage3d .hint3d { top: 12px; left: 12px; right: 12px; font-size: .8rem; }
.illu .stage > .stage3d .explode-btn { right: 10px; bottom: 10px; padding: 8px 14px; font-size: .85rem; }
.illu .stage > .stage3d .opbar { display: none; }
.opbar { position: absolute; top: 20px; left: 32px; right: 32px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.opbar[hidden] { display: none; }
.opbar b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.opbar button { min-height: 42px; padding: 9px 18px; border: 0; border-radius: 999px; background: rgba(12, 24, 44, .78); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .75); color: var(--texte); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.opbar button:hover { background: rgba(28, 49, 86, .9); }
.stage3d.is-op .hint3d { display: none; }
.illu .dot i { display: none; }

/* Illustrations des interventions (dans les chapitres) */
.scene { margin: 0; }
.stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(var(--haut), var(--bas)); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.dot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.dot b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(12, 24, 44, .8); box-shadow: 0 0 0 1.5px var(--or), 0 2px 10px rgba(0, 0, 0, .35); color: var(--or-clair); font-size: .85rem; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.dot i { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 5px 10px; border-radius: 3px; background: rgba(12, 24, 44, .94); box-shadow: 0 0 0 1px rgba(207, 174, 120, .5); font-style: normal; font-size: .86rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dot.on { z-index: 1; }
.dot.on b { background: var(--or); color: var(--nuit); transform: scale(1.12); }
.dot.on i { opacity: 1; }
.scene figcaption { margin-top: 12px; color: var(--doux); font-size: .85rem; }
.explain h3 { margin: 0 0 22px; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--trait); font-size: .93rem; line-height: 1.3; cursor: default; transition: box-shadow .2s; }
.legend li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--or); color: var(--or-clair); font-size: .78rem; font-weight: 600; transition: background .2s, color .2s; }
.legend li.on { box-shadow: inset 0 0 0 1px var(--or); }
.legend li.on span { background: var(--or); color: var(--nuit); }
.tx { margin: 0; }
.tx > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--trait); }
.tx > div:last-child { border-bottom: 1px solid var(--trait); }
.tx dt { font-weight: 600; }
.tx dd { margin: 0; color: var(--doux); }
.tx ul { margin: 0; padding: 0; list-style: none; }
.tx ul li { position: relative; padding: 0 0 6px 18px; }
.tx ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--or); }
.press-note { margin: 24px 0 0; color: var(--texte); font-size: .97rem; }
.press-note a, .doc-more a { color: var(--or); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.doc-more { margin-top: 28px; }

/* Dans la presse */
.press-teaser { padding: 112px 0; border-top: 1px solid var(--trait); }
.press-teaser .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.press-photo { margin: 36px 0 0; }
.press-photo img { width: 100%; height: auto; border-radius: var(--r-img); }
.press-photo figcaption, .place-pic + h2 { margin-top: 10px; }
.press-photo figcaption { color: var(--doux); font-size: .85rem; }
/* Le chirurgien : grande photo fondue dans le bleu nuit, le titre posé sur le fondu */
.doc-photo { position: relative; margin: 0; }
.doc-photo img { width: 100%; max-width: 540px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img) var(--r-img) 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.doc-photo::before { content: ""; position: absolute; left: -18px; top: 24px; bottom: 30%; width: 2px; background: var(--or); }
.doc-photo + .section-title { position: relative; margin-top: -72px; }
.portrait { width: 220px; height: 220px; margin: 0 0 32px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px var(--trait); }
.place-pic { width: 100%; height: auto; aspect-ratio: 16 / 10; margin-bottom: 22px; border-radius: var(--r-img); object-fit: cover; }
.press-card .src { margin: 0 0 12px; color: var(--or); font-size: .95rem; }
.press-card h3 { margin: 0 0 16px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.12; }
.press-card h3 a { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.press-card h3 a:hover { color: var(--or-clair); }
.press-card p { color: var(--doux); max-width: 36em; }
blockquote { margin: 30px 0; padding: 2px 0 2px 24px; border-left: 2px solid var(--or); }
blockquote p { margin: 0 0 10px; font-family: var(--serif); font-weight: 300; font-size: 1.4rem; line-height: 1.4; color: var(--texte) !important; }
blockquote footer { padding: 0; border: 0; background: none; color: var(--doux); font-size: .92rem; }   /* annule le style du pied de page du site */
.press-card .links { margin: 0; }

/* Tablette : menu repliable */
@media (max-width: 1140px) {
  .hero .photo { width: 48%; }
  .menu-toggle { display: inline-flex; }
  .js .menu { display: none; position: absolute; top: var(--hh); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px; background: rgba(12, 24, 44, .98); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); max-height: calc(100vh - var(--hh)); overflow-y: auto; }
  .js .site-header.menu-open .menu { display: flex; }
  .js .site-header.menu-open { background: rgba(12, 24, 44, .98); }
  .js .menu ul { flex-direction: column; gap: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .menu ul a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--trait); font-size: 1.1rem; color: var(--texte); }
  .js .menu ul a:hover { background: none; color: var(--or); }
  .js .menu ul a[aria-current="page"] { background: none; color: var(--or); }
  .js .menu .btn { margin-top: 20px; text-align: center; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .menu ul { display: none; }
  .chapter { padding: 96px 48px; }
  .patho > div { grid-template-columns: 1fr; gap: 4px; }
  .actes .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tx > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .site-header { background: rgba(12, 24, 44, .96); box-shadow: 0 1px 0 var(--trait); }
  .hero { padding-top: var(--hh); }
  .site-header .bar { padding: 0 24px; }
  /* tablette et mobile : le genou au-dessus, le texte dessous, jamais l'un sur l'autre */
  .hero { display: block; min-height: 0; }
  .hero .photo { position: relative; width: 100%; height: 480px; }
  .hero .photo img { object-position: 50% 30%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero .photo figcaption { right: auto; left: 24px; bottom: 64px; }
  .hero .wrap { margin-top: -56px; padding-top: 0; padding-bottom: 72px; }
  .specialites .head, .consult .head, .sejour .head, .contact .head { grid-template-columns: 1fr; gap: 20px; }
  .chapters { grid-template-columns: 1fr; }
  .joint-tabs { position: sticky; top: var(--hh); z-index: 40; display: flex; gap: 6px; padding: 10px 24px; background: rgba(12, 24, 44, .96); box-shadow: 0 1px 0 var(--trait); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .joint-tabs a { flex: 1; padding: 11px 0; border-radius: 999px; text-align: center; text-decoration: none; font-size: 1rem; font-weight: 600; color: #d3dae5; box-shadow: inset 0 0 0 1px var(--trait); }
  .joint-tabs a.on { color: var(--nuit); background: var(--or); box-shadow: none; font-weight: 600; }
  html:has(.joint-tabs) { scroll-padding-top: calc(var(--hh) + 58px); }
  .rail { display: none; }
  .chapter { min-height: 0; padding: 72px 24px; }
  .chapter .slot3d { display: block; position: relative; width: calc(100% + 48px); margin: -72px -24px 40px; aspect-ratio: 1 / 1; background: linear-gradient(var(--haut), var(--bas)); }
  .chapter .inline-pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .slot3d .hint3d { top: 16px; left: 16px; right: 16px; }
  .slot3d .explode-btn { right: 16px; bottom: 16px; }
  .cols, .steps, .places { grid-template-columns: 1fr; }
  .cols > div, .cols > div + div, .places > div, .places > div + div { padding: 28px 0 12px; border-left: 0; }
  .cols > div + div, .places > div + div { border-top: 1px solid var(--trait); }
  .places .rdv { order: -1; padding-top: 4px; border-top: 0; }
  .places .rdv + div, .places > div:first-child { border-top: 1px solid var(--trait); }
  .steps li, .steps li + li { padding: 0 0 40px; border-left: 0; }
  .steps li + li { padding-top: 40px; border-top: 1px solid var(--clair-trait); }
  .steps ul li, .steps ul li + li { padding: 9px 0; border-top: 1px solid var(--clair-trait); }
  .doc .wrap { grid-template-columns: 1fr; gap: 24px; }
  .doc-photo img { max-width: 420px; }
  .doc-photo::before { left: -12px; }
  .sos .wrap { grid-template-columns: 1fr; gap: 20px; }
  footer .wrap { grid-template-columns: 1fr; }
  .press-teaser .wrap { grid-template-columns: 1fr; gap: 28px; }
  .teasers .wrap { grid-template-columns: 1fr; }
  .robot .head, .robot-facts { grid-template-columns: 1fr; gap: 20px; }
  .robot .head { margin-bottom: 32px; }
  .robot-steps > li { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .robot-steps > li:nth-child(even) .shot { order: 0; }
  .shot.light img { max-height: 380px; }
  .shot.model img { max-height: 440px; }
  .robot-facts { gap: 0; margin-top: 40px; }
  footer nav ul { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --hh: 64px; }
  .wrap { padding: 0 16px; }
  .site-header .bar { padding: 0 16px; }
  .js .menu { padding: 4px 16px 24px; }
  .brand { font-size: .98rem; }
  .brand img { width: 26px; }
  .hero { display: block; min-height: 0; }
  .hero .photo { position: relative; width: 100%; height: 400px; }
  /* cadrage haut : le chirurgien et le bras du robot ; le champ opératoire reste dans le fondu */
  .hero .photo img { object-position: 50% 0; -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 92%); mask-image: linear-gradient(to bottom, #000 58%, transparent 92%); }
  .hero .photo figcaption { right: auto; left: 16px; bottom: 64px; }
  .hero .wrap { margin-top: -56px; padding-top: 0; padding-bottom: 64px; }
  .hero .who { font-size: 1.05rem; }
  .actions .btn { width: 100%; text-align: center; }
  .specialites, .consult, .sejour, .contact { padding: 80px 0; }
  .hero + main .specialites { padding-top: 40px; }
  .chapter-cta { padding: 22px 20px; }
  .chapter-cta .btn { width: 100%; text-align: center; }
  .actes, .doc { padding: 80px 0; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list li, .spec-list li + li { padding: 22px 0 14px; border-left: 0; }
  .spec-list li + li { border-top: 1px solid var(--trait); }
  .chapter { padding: 64px 16px; }
  .joint-tabs { padding: 10px 16px; }
  .chapter .slot3d { width: calc(100% + 32px); margin: -64px -16px 36px; aspect-ratio: 4 / 5; }
  .illu-body { grid-template-columns: 1fr; }
  .illu .scene { max-width: 340px; }
  .parts3d { margin-top: -16px; }
  .chapter .intro { margin-bottom: 40px; }
  .ops { grid-template-columns: 1fr; }
  .actes li { grid-template-columns: 1fr; gap: 4px; }
  .actes li i { text-align: left; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .steps li::before { font-size: 4.5rem; }
  .sos .wrap { padding-top: 48px; padding-bottom: 48px; }
  .sos .call a { display: block; text-align: center; }
  .press-teaser, .robot { padding: 80px 0; }
  .teasers { padding-bottom: 80px; }
  .teaser { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 20px; padding: 36px 0; }
  .teaser img, .teaser-map { width: 7.5rem; height: 9.375rem; }
  .robot-steps .txt::before { font-size: 3.2rem; }
  .dot b { width: 26px; height: 26px; font-size: .8rem; }
  .dot i { display: none; }
  blockquote p { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==== Couleurs : rythme sombre et clair ====
   Panneaux « négatoscope » : clairs et bleutés comme une radio sur la table lumineuse, une seule lueur en haut.
   Les variables y sont redéfinies : titres, textes, filets, liens et boutons s'adaptent sans règles en double. */
.lit {
  --texte: #13233f; --doux: #475873; --trait: rgba(19, 35, 63, .14); --or: #74572a; --or-clair: #5e4520;
  color: var(--texte);
  background: radial-gradient(120% 70% at 30% -10%, #fdfbf7 0%, #f4eee3 45%, #ebe3d4 100%);
}
.lit :focus-visible { outline-color: #13233f; }
.lit .btn { background: #13233f; color: #f3f6fa; }
.lit .btn:hover { background: #22406c; }
.lit .btn.line { background: transparent; color: #13233f; box-shadow: inset 0 0 0 1px rgba(19, 35, 63, .45); }
.lit .btn.line:hover { box-shadow: inset 0 0 0 1px #13233f; }
.lit .places .tel:hover { color: var(--or); }
.lit .place-pic, .lit .feature figure img { box-shadow: 0 18px 40px rgba(19, 35, 63, .18); }
.sejour.lit .steps li::before { color: var(--or); }

/* Profondeur des fonds sombres */
.teasers { padding-top: 104px; background: linear-gradient(var(--releve), var(--nuit) 85%); }
.teaser { border-top-color: rgba(232, 236, 242, .12); }
.teaser img, .teaser-map { box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.press-teaser, .pubs { background: var(--encre); border-top: 0; }
footer { background: var(--encre); }
.consult { background: linear-gradient(var(--nuit), var(--releve)); }
.robot { background: radial-gradient(90% 60% at 80% 0%, #1b3459 0%, var(--nuit) 60%); }

/* Encadré clé du chapitre robot : bleu bloc */
.robot-facts { padding: 12px 44px 20px; border-radius: 6px; background: linear-gradient(135deg, var(--bloc), var(--bloc-2)); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .3); }
.robot-facts > div { border-top-color: rgba(234, 242, 246, .18); }
.robot-facts > div:nth-child(-n+2) { border-top: 0; }
.robot-facts p { color: rgba(234, 242, 246, .82); }

/* SOS Genoux : bleu bloc, l'or pour l'essentiel */
.sos { color: #eaf2f6; background: linear-gradient(115deg, var(--bloc-2) 0%, #135069 50%, var(--bloc-2) 100%); box-shadow: inset 0 1px 0 rgba(207, 174, 120, .55), inset 0 -1px 0 rgba(207, 174, 120, .55); }
.sos :focus-visible { outline-color: var(--or); }
.sos .big { color: var(--or); }
.sos h2 { color: #fff; }
.sos p { color: rgba(234, 242, 246, .86); }
.sos .warn { color: #fff; border-top-color: rgba(234, 242, 246, .22); }
.sos .call a { background: var(--or); color: var(--nuit); }
.sos .call a:hover { background: var(--or-clair); }
.sos .call .num { color: #fff; }
.sos .call a.sos-more { background: none; color: var(--or-clair); }
.sos .call a.sos-more:hover { background: none; color: #fff; }

@media (max-width: 900px) {
  .teasers { padding-top: 72px; }
  .robot-facts { padding: 4px 24px 16px; }
  .robot-facts > div:nth-child(2) { border-top: 1px solid rgba(234, 242, 246, .18); }
}

/* Accueil : trois cartes de spécialité, os en 3D sur la nuit (référence : « Principales opérations », Dr Haen) */
.spec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.spec-cards a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; background: var(--nuit); color: #e8ecf2; text-decoration: none; box-shadow: 0 22px 50px rgba(19, 35, 63, .22); transition: transform .3s, box-shadow .3s; }
.spec-cards a:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(19, 35, 63, .3); }
.spec-cards .pic { display: block; aspect-ratio: 1 / 1; background: radial-gradient(70% 60% at 50% 60%, #2a4470 0%, #17294a 55%, var(--nuit) 100%); }
.spec-cards .pic { position: relative; overflow: hidden; }
.spec-cards .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: transform .6s; }
.spec-cards a:hover .pic img { transform: scale(1.04); }
.spec-cards .k { padding: 22px 26px 0; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; }
.spec-cards .d { flex: 1; padding: 10px 26px 0; color: #b9c3d2; font-size: .98rem; }
.spec-cards .go { display: inline-flex; align-items: center; min-height: 46px; margin: 20px 26px 26px; padding: 0 20px; align-self: flex-start; border-radius: 999px; background: #cfae78; color: var(--nuit); font-weight: 700; font-size: .95rem; }
.spec-cards a:focus-visible { outline: 3px solid #13233f; outline-offset: 4px; }

/* Entrée par symptôme (référence : Dr Perraudin) */
.symptoms { margin-top: 56px; }
.symptoms h2, .symptoms h3 { margin: 0 0 18px; font-size: 1.6rem; line-height: 1.2; }
.symptoms ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.symptoms a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--trait); color: var(--texte); font-weight: 600; text-decoration: none; transition: box-shadow .2s, background .2s; }
.symptoms a:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--or); }
.symptoms p { margin: 0; color: var(--doux); font-size: .95rem; }
.symptoms p a { display: inline; min-height: 0; padding: 0; background: none; box-shadow: none; color: var(--or); text-decoration: underline; text-underline-offset: 3px; }
/* Pathologie atteinte par un lien de symptôme */
.patho > div:target { margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 8px; background: rgba(207, 174, 120, .1); box-shadow: inset 3px 0 0 var(--or); }

/* Cartes d'intervention cliquables (site.js : .is-action) : la carte change de couleur au survol ;
   l'action devient un lien du texte, souligné quand on survole la carte */
.ops > li.is-action { position: relative; cursor: pointer; transition: background .25s, box-shadow .25s; }
/* « Montrer dans le modèle 3D » : plus de bouton visible, la carte entière le fait (survol et clic) ; le bouton reste pour le clavier */
.ops > li.is-action > button.see3d { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ops > li.is-action:focus-within { box-shadow: inset 0 0 0 2px var(--or); }
.ops > li.is-action:hover { background: rgba(207, 174, 120, .09); box-shadow: inset 0 0 0 1px var(--or); }
.ops > li.is-action button.see3d, .ops > li.is-action .illu summary { min-height: 0; margin-top: 10px; padding: 4px 0; background: none; box-shadow: none; color: var(--or-clair); font-size: 1rem; }
.ops > li.is-action .illu { margin-top: 0; }
.ops > li.is-action:hover button.see3d, .ops > li.is-action:hover .illu summary { color: var(--or); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ops > li.is-action button.see3d::before, .ops > li.is-action .illu summary::before { width: 24px; height: 24px; transition: transform .25s; }
.ops > li.is-action:hover button.see3d::before, .ops > li.is-action:hover .illu summary::before { transform: scale(1.12); }

/* « Ce qui peut arriver » : chaque pathologie montre sa zone en rouge dans le modèle 3D (scene3d.js) */
.patho > div[data-zone].is-zone { padding-left: 18px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.patho > div[data-zone].is-zone:hover, .patho > div.is-hurt { background: rgba(255, 90, 78, .07); box-shadow: 16px 0 0 rgba(255, 90, 78, .07), inset 3px 0 0 #ff5a4e; }
.zone3d { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 8px; padding: 2px 0; border: 0; background: none; color: #ff8a7f; font: 600 .86rem/1.3 var(--sans); cursor: pointer; }
.zone3d::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff5a4e; box-shadow: 0 0 0 4px rgba(255, 90, 78, .2); }
.patho > div.is-hurt .zone3d::before { animation: pouls-zone 1.4s ease-out infinite; }
@keyframes pouls-zone { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 78, 0); } }
.lit .zone3d { color: #b3261e; }

/* Cartes d'intervention : repères pratiques */
.ops > li > b { font-size: 1.3rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.chips li { padding: 3px 11px; border-radius: 999px; background: rgba(232, 236, 242, .07); color: #c9d2de; font-size: .82rem; font-weight: 600; }
.ops > li .robot-badge { margin: 0 0 12px; }

/* Parcours fréquents, en étapes numérotées (référence : « parcours rapides » du Dr Perraudin) */
.parcours-title { margin-top: 56px !important; }
.parcours { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.parcours > div { padding: 26px 26px 18px; border-radius: 10px; background: linear-gradient(135deg, var(--bloc), var(--bloc-2)); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .3); }
.parcours h4 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: #fff; }
.parcours ol { margin: 0; padding: 0; list-style: none; counter-reset: pc; }
.parcours ol li { counter-increment: pc; position: relative; padding: 0 0 14px 40px; color: rgba(234, 242, 246, .86); font-size: .96rem; }
.parcours ol li::before { content: counter(pc); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: var(--nuit); font-weight: 700; font-size: .85rem; }
.parcours ol li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 30px; bottom: 4px; width: 1px; background: rgba(207, 174, 120, .45); }
.parcours a { color: var(--or-clair); }

/* Questions fréquentes (référence : FAQ du Dr Haen) */
.faq { padding: 104px 0; background: var(--encre); }
.faq .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq-list details { border-top: 1px solid var(--trait); }
.faq-list details:last-child { border-bottom: 1px solid var(--trait); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--or); color: var(--or); font-family: var(--sans); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; background: var(--or); color: var(--nuit); }
.faq-list details > div { padding: 0 48px 22px 0; color: var(--doux); }
.faq-list details > div p { margin: 0 0 10px; }
.faq-list a { color: var(--or); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .spec-cards { grid-template-columns: 1fr; gap: 20px; }
  .spec-cards .pic { aspect-ratio: 16 / 10; }
  .spec-cards .pic img { object-position: 50% 62%; }
  .spec-cards .k { padding: 20px 20px 0; font-size: 1.7rem; }
  .spec-cards .d { padding: 6px 20px 0; font-size: .93rem; }
  .spec-cards .go { margin: 14px 20px 20px; }
  .parcours, .faq .wrap { grid-template-columns: 1fr; gap: 24px; }
  .faq { padding: 72px 0; }
  .faq-list details > div { padding-right: 0; }
}
@media (max-width: 420px) {
  button.see3d, .illu summary { white-space: normal; }
  .ops > li { padding: 22px 18px 20px; }
  .symptoms a { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
}

/* Spécialités : un chapitre à la fois (site.js pose .chapters-tabs) ; onglets collés sous l'en-tête à toutes les largeurs */
.chapters-tabs .chapter:not(.is-active) { display: none; }
.chapters-tabs .chapter.is-active { animation: chapitre .5s ease both; }
@keyframes chapitre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.next-chapter { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; padding: 26px 30px; border-radius: 12px; background: linear-gradient(120deg, rgba(207, 174, 120, .16), rgba(207, 174, 120, .04)); box-shadow: inset 0 0 0 1px rgba(207, 174, 120, .45); text-decoration: none; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--texte); transition: background .2s; }
.next-chapter span { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--or); }
.next-chapter:hover { background: rgba(207, 174, 120, .24); }
@media (min-width: 901px) {
  .chapters-tabs .joint-tabs { position: sticky; top: var(--hh); z-index: 40; display: flex; justify-content: center; gap: 10px; padding: 12px 40px; background: rgba(12, 24, 44, .96); box-shadow: 0 1px 0 var(--trait); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .chapters-tabs .joint-tabs a { flex: 0 1 220px; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1.05rem; color: #d3dae5; box-shadow: inset 0 0 0 1px var(--trait); transition: background .25s, color .25s, box-shadow .25s; }
  .chapters-tabs .joint-tabs a:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--or); }
  .chapters-tabs .joint-tabs a.on { background: var(--or); color: var(--nuit); box-shadow: none; }
  html.chapters-tabs { scroll-padding-top: calc(var(--hh) + 73px); }
  .chapters-tabs .chapters { border-top: 0; }
  .chapters-tabs .rail { top: calc(var(--hh) + 73px); height: calc(100vh - var(--hh) - 73px); }
  .chapters-tabs .progress { display: none; }
  .chapters-tabs .chapter { min-height: calc(100vh - var(--hh) - 73px); padding-top: 72px; border-bottom: 0; }
}

/* Mobile : barre d'action en bas d'écran (rendez-vous, deux secrétariats) */
.quickbar { display: none; }
@media (max-width: 900px) {
  .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 24, 44, .97); box-shadow: 0 -1px 0 var(--trait), 0 -10px 30px rgba(0, 0, 0, .25); }
  .quickbar .btn, .q-call summary { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; font-size: 1rem; }
  .q-call summary { border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(232, 236, 242, .45); color: var(--texte); font-weight: 600; cursor: pointer; list-style: none; }
  .q-call summary::-webkit-details-marker { display: none; }
  .q-call[open] summary { box-shadow: inset 0 0 0 1px var(--or); color: var(--or); }
  .q-list { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 8px); padding: 6px 18px 14px; border-radius: 6px; background: #0c182c; box-shadow: 0 0 0 1px rgba(207, 174, 120, .45), 0 18px 40px rgba(0, 0, 0, .5); }
  .q-list a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); text-decoration: none; }
  .q-list a b { font-weight: 600; }
  .q-list a span { font-family: var(--serif); font-size: 1.3rem; color: var(--or); }
  .q-list p { margin: 12px 0 0; color: var(--doux); font-size: .92rem; }
  body:has(.quickbar) footer { padding-bottom: calc(56px + 70px); }
  .js .site-header.menu-open ~ .quickbar { display: none; }
}
@media print { .quickbar, .callbar { display: none !important; } }

/* Contenus médicaux : auteur et date de relecture (critères de qualité des sites de santé) */
.page-meta { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--trait); color: var(--doux); font-size: .88rem; max-width: 60em; }
.actes .page-meta { grid-column: 1 / -1; margin-top: 0; }

/* Spécialités : traitements sans chirurgie, avant les interventions */
.nonop { margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.nonop li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--trait); font-size: .98rem; }
.nonop li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 12px; height: 1px; background: var(--or); }
.nonop-note { margin: 0 0 64px; color: var(--doux); font-size: .98rem; }
.tx-note { margin: 4px 0 0; color: var(--texte); font-size: .92rem; }

/* Votre séjour : préparer la consultation, signes d'alerte après l'opération */
.prep { padding: 104px 0; background: var(--releve); }
.prep .head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.prep .head p { margin: 0; }
.prep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.prep h3 { margin: 0 0 16px; font-size: 1.55rem; line-height: 1.2; }
.prep .nonop-note { margin: 0; }
.alert-after { margin-top: 64px; padding: 28px 32px; border-left: 4px solid #b3261e; border-radius: 0 4px 4px 0; background: rgba(255, 255, 255, .72); box-shadow: 0 14px 34px rgba(16, 30, 54, .1); }
.alert-after h3 { margin: 0 0 12px; font-size: 1.6rem; line-height: 1.2; }
.alert-after ul { margin: 0 0 14px; padding-left: 1.1em; }
.alert-after li { padding: 3px 0; }
.alert-after p { margin: 0 0 8px; color: var(--doux); }
.alert-after a { color: var(--or); font-weight: 600; text-underline-offset: 3px; }
.alert-15 { display: flex; gap: 14px; align-items: center; margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--trait); color: #5c1410 !important; }
.alert-15 strong { font-family: var(--serif); font-size: 2rem; line-height: 1; color: #b3261e; }
.sejour .page-meta { margin-top: 32px; }
/* Contact : honoraires */
.fees { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--trait); }
.fees h2 { margin: 0 0 16px; font-size: 1.6rem; line-height: 1.15; }
.fees-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.fees p { margin: 0 0 12px; color: var(--doux); max-width: 36em; }
.fees strong { color: var(--texte); font-weight: 600; }
@media (max-width: 900px) { .fees-cols { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .prep .head, .prep-cols { grid-template-columns: 1fr; gap: 20px; }
  .prep-cols { gap: 40px; }
  html:has(.quickbar) { scroll-padding-bottom: 84px; }   /* WCAG 2.4.11 : la barre du bas ne masque pas l'élément qui a le focus */
}
@media (max-width: 640px) {
  .prep { padding: 72px 0; }
  .alert-after { padding: 22px 18px; }
}

/* ==== Direction artistique « Radiographie » (choisie le 2026-10-30) : le site devient un négatoscope ====
   Films noirs, os en radiographie (rendus Blender, OS_MATIERE=radio, dans assets/os/radio-*.webp), panneaux clairs = la plaque
   lumineuse ; le modèle 3D est radiographié (scene3d.js, XRAY). La ligne du scanner balaie le héros (référence : effets
   « x-ray scanner », Speckyboy). Les photos passent du noir et blanc à la couleur à mesure qu'elles montent dans l'écran (site.js, --dev).
   Ces règles viennent après les règles de base et les redéfinissent ; les anciennes versions sont dans outils/versions-archivees/. */
:root {
  --nuit: #050709; --nuit-2: #07090c; --nuit-3: #020304; --haut: #050709; --bas: #0c1418;
  --or: #8fe6ff; --or-clair: #c9f4ff; --or-fonce: #2b8aa6;
  --encre: #000; --releve: #0a0e11; --bloc: #0b1a20; --bloc-2: #061016;
  --texte: #e4f2f6; --doux: #93a9b1; --trait: rgba(143, 230, 255, .16);
  --r-img: 4px;
  --signal: #ff5a4e;          /* rouge des alertes et des zones douloureuses */
}
/* Police : IBM Plex Sans (titres, interface, texte) et IBM Plex Mono (petites étiquettes) */
:root { --serif: "IBM Plex Sans", system-ui, sans-serif; --ui: "IBM Plex Sans", system-ui, sans-serif; --sans: "IBM Plex Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; --t-wght: 300; --t-ls: -.025em; }
body {
  background-color: var(--nuit);
  background-image: linear-gradient(rgba(143, 230, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 230, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
}
::selection { background: var(--or); color: #000; }
h1, h2, h3 { font-weight: var(--t-wght); letter-spacing: var(--t-ls); }

/* En-tête */
.site-header.is-solid, .js .site-header.menu-open { background: rgba(2, 3, 4, .92); box-shadow: 0 1px 0 rgba(143, 230, 255, .2); }
.menu ul { background: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .2); }
.menu ul a { font-family: var(--ui); font-size: .93rem; color: #bccfd6; }
.menu ul a[aria-current="page"] { background: var(--or); color: #000; }
.menu-toggle { background: #000; box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .35); font-family: var(--ui); }
.brand { font-family: var(--ui); }
.brand img { filter: grayscale(1) brightness(2.2) sepia(1) hue-rotate(150deg) saturate(2.5); }

/* Boutons : lumière froide, halo */
.btn { font-family: var(--ui); font-weight: 600; background: var(--or); color: #000; box-shadow: 0 0 0 1px var(--or), 0 0 28px rgba(143, 230, 255, .3); }
.btn:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 0 40px rgba(143, 230, 255, .55); }
.btn.line { background: transparent; color: var(--or); box-shadow: inset 0 0 0 1px var(--or); }
.btn.line:hover { background: rgba(143, 230, 255, .1); }

/* Héros : la radiographie du bas du squelette, le texte, la photo du bloc en noir et blanc.
   À l'arrivée, la ligne du scanner descend une seule fois et révèle le héros sur son passage, puis s'efface. */
.hero { background: #000; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 0; background: url(os/radio-squelette.webp) 34% 30% / auto 118% no-repeat; opacity: .42; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent); mask-image: linear-gradient(to right, #000 55%, transparent); }
/* Le scanner : un calque deux fois plus haut que le héros, la ligne lumineuse en son milieu, du noir dessous. Il glisse vers le bas
   et découvre le héros ; seule la transformation est animée (calculée par la carte graphique, sans saccade). Invisible sans animation. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200%; z-index: 3; pointer-events: none; opacity: 0; will-change: transform, opacity;
  background: linear-gradient(to bottom, transparent calc(50% - 150px), rgba(143, 230, 255, .14) calc(50% - 30px), rgba(214, 247, 255, .95) calc(50% - 1px), #000 50%);
  animation: scanner 2.4s cubic-bezier(.5, .05, .25, 1) .2s 1 both; }
@keyframes scanner {
  from { transform: translateY(-50%); opacity: 1; }
  92% { opacity: 1; }
  to { transform: translateY(170px); opacity: 0; }
}
/* Bureau : trois bandes ; le texte au centre, dans le noir entre la radiographie et la photo */
@media (min-width: 901px) {
  .hero::before { width: 33%; opacity: .62; background-position: 50% 28%; background-size: auto 116%;
    -webkit-mask-image: linear-gradient(to right, #000 72%, transparent); mask-image: linear-gradient(to right, #000 72%, transparent); }
  .hero .photo { width: 37%; }
  .hero .wrap { max-width: none; margin: 0; padding-left: 33%; padding-right: 37%; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero h1 { max-width: none; font-size: clamp(2.6rem, 5.2vw, 5.4rem); }
  .hero h1 span { font-size: .36em; white-space: nowrap; }
  .hero .who { max-width: 26em; padding: 0 12px; }
  .hero .actions { justify-content: center; padding: 0 12px; }
  .hero .actions .btn { max-width: 100%; }
}
.hero .photo img { filter: grayscale(1) contrast(1.2) brightness(.88); }
.hero .photo figcaption { font-family: var(--ui); border-left-color: var(--or); }
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
.hero h1 span { font-family: var(--ui); font-weight: 400; color: var(--or); }

/* Plaque lumineuse : les sections claires */
.lit {
  --texte: #041016; --doux: #314a54; --trait: rgba(4, 16, 22, .18); --or: #005e74; --or-clair: #00394a;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eaf6f9 40%, #cfe3e9 100%);
  box-shadow: inset 0 0 120px rgba(143, 230, 255, .3);
}
.lit .btn { background: #000; color: #fff; box-shadow: none; }
.lit .btn:hover { background: #005e74; }

/* Cartes de spécialité : trois radiographies sur film noir */
.spec-cards a { background: #000; box-shadow: 0 0 0 1px rgba(143, 230, 255, .22), 0 30px 60px rgba(0, 0, 0, .35); }
.spec-cards a:hover { box-shadow: 0 0 0 1px var(--or), 0 30px 60px rgba(0, 0, 0, .4); }
.spec-cards .pic { background: #000 center 55% / cover no-repeat; }
.spec-cards li:nth-child(1) .pic { background-image: url(os/radio-genou.webp); }
.spec-cards li:nth-child(2) .pic { background-image: url(os/radio-hanche.webp); }
.spec-cards li:nth-child(3) .pic { background-image: url(os/radio-epaule.webp); }
.spec-cards .pic img { visibility: hidden; }
.spec-cards .k { color: #fff; font-weight: var(--t-wght); }
.spec-cards .d { color: #9db3bb; }
.spec-cards .go { background: var(--or); font-family: var(--ui); }
.symptoms a { background: rgba(255, 255, 255, .72); font-family: var(--ui); }

/* Photos : elles sortent du noir et blanc à mesure qu'elles montent dans l'écran (--dev, de 0 à 1, posé par site.js) */
.teasers { background: linear-gradient(#000, #070b0d); }
.teaser img, .step-pic img, .place-pic, .press-photo img, .doc-photo img, .shot img, .feature figure img {
  filter: grayscale(calc(1 - var(--dev, 1))) contrast(calc(1.12 - .12 * var(--dev, 1))); transition: filter .5s ease-out; }
.teaser-map rect { fill: #000; }
.robot-badge, .chips li, .parts3d button { font-family: var(--ui); }
.robot-badge::before { background: var(--or); box-shadow: 0 0 8px var(--or); }

/* Spécialités : la colonne devient un film, le modèle 3D est radiographié */
.chapters-tabs .joint-tabs, .joint-tabs { background: rgba(0, 0, 0, .94); }
.joint-tabs a { font-family: var(--ui); }
.rail, .chapter .slot3d, .stage { background: radial-gradient(70% 60% at 50% 45%, #0e2229 0%, #000 75%); }
.rail .pics img, .chapter .inline-pic { filter: grayscale(1) invert(1) brightness(.9) sepia(1) hue-rotate(160deg) saturate(1.4); mix-blend-mode: screen; }
.rail::after { background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .7)); }
.patho dt { color: #fff; }
.ops > li { background: rgba(143, 230, 255, .03); box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .2); }
.ops > li.is-action:hover { background: rgba(143, 230, 255, .08); box-shadow: inset 0 0 0 1px var(--or), 0 0 34px rgba(143, 230, 255, .12); }
.ops > li > b { font-family: var(--serif); font-weight: var(--t-wght); }
.explode-btn, .opbar button { background: #000; font-family: var(--ui); box-shadow: inset 0 0 0 1px var(--or); }
/* Bouton Rayons X / Couleur naturelle, au-dessus de « Décomposer » ; la pastille montre la matière qu'on obtiendra */
.xray-btn { position: absolute; right: 32px; bottom: 96px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .78); box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .55); color: var(--texte); font: 700 1rem/1.2 var(--ui); cursor: pointer; transition: background .2s; }
.xray-btn:hover { background: rgba(14, 34, 41, .95); }
.xray-btn::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #e3d3b6; }
.xray-btn[aria-pressed="false"]::before { background: var(--or); box-shadow: 0 0 10px var(--or); }
.slot3d .xray-btn { right: 16px; bottom: 74px; }
.illu .stage > .stage3d .xray-btn { right: 10px; bottom: 54px; padding: 8px 14px; font-size: .85rem; }
.explode-btn[aria-pressed="true"] { background: var(--or); color: #000; }
.tip { background: rgba(0, 0, 0, .95); box-shadow: 0 0 0 1px var(--c, var(--or)), 0 0 30px rgba(143, 230, 255, .2); }
.parcours > div { background: #000; box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .28); }
.next-chapter { font-weight: var(--t-wght); background: linear-gradient(90deg, rgba(143, 230, 255, .12), transparent); box-shadow: inset 0 0 0 1px var(--or); }
.chapter-cta { background: rgba(143, 230, 255, .05); box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .28); }

/* SOS Genoux : un film de nuit, la radiographie du genou en fond, un point rouge qui bat */
.sos { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(60% 120% at 85% 50%, rgba(143, 230, 255, .08), transparent 60%), linear-gradient(100deg, #000 0%, #04090b 55%, #071318 100%);
  box-shadow: inset 0 1px 0 rgba(143, 230, 255, .3), inset 0 -1px 0 rgba(143, 230, 255, .3); }
.sos::before { content: ""; position: absolute; right: -4%; top: -30%; bottom: -30%; width: 46%; background: url(os/radio-genou.webp) center 42% / cover no-repeat; opacity: .32; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); pointer-events: none; }
.sos .wrap { position: relative; z-index: 1; }
.sos .big { position: relative; color: #fff; font-family: var(--serif); font-weight: 200; letter-spacing: -.05em; text-shadow: 0 0 40px rgba(143, 230, 255, .35); }
.sos h2::before { content: ""; display: inline-block; width: 12px; height: 12px; margin: 0 14px 4px 2px; border-radius: 50%; vertical-align: middle; background: var(--signal); animation: pouls 1.6s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, .55); } 80%, 100% { box-shadow: 0 0 0 14px rgba(255, 90, 78, 0); } }
.sos h2 { color: #fff; }
.sos p { color: #b6c8ce; }
.sos .warn { color: #fff; border-top-color: rgba(143, 230, 255, .2); padding-left: 14px; box-shadow: inset 3px 0 0 var(--signal); }
.sos .call a { background: #fff; color: #000; font-family: var(--ui); box-shadow: 0 0 34px rgba(143, 230, 255, .35); }
.sos .call a:hover { background: var(--or); }
.sos .call .num { font-family: var(--mono); color: var(--or); letter-spacing: .02em; }
.sos .call a.sos-more { background: none; color: var(--or); box-shadow: none; }
.sos-page { --marine: #041016; --or-s: #005e74; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #eaf6f9 40%, #cfe3e9 100%) !important; }
.sos-btn { font-family: var(--ui); }
.sos-btn.gold { background: #000 !important; color: #fff !important; }
.alert15, .alert-after { border-left-color: var(--signal); }

/* Presse, pied de page, foire aux questions */
.press-teaser, .pubs, .faq, footer { background: #000; }
.faq-list summary { font-weight: var(--t-wght); }
footer { font-size: .88rem; }
footer .credits { color: var(--or); }
.prep { background: #000; }
.robot { background: radial-gradient(90% 60% at 80% 0%, #0d2a33 0%, #000 60%); }
.robot-facts { background: #000; box-shadow: inset 0 0 0 1px rgba(143, 230, 255, .28); }
.steps li::before, .robot-steps .txt::before { color: var(--or); }
.quickbar { background: rgba(0, 0, 0, .96); box-shadow: 0 -1px 0 rgba(143, 230, 255, .3); }
@media (max-width: 900px) {
  .site-header { background: rgba(0, 0, 0, .96); }
  .hero::before { width: 100%; opacity: .35; background-position: 50% 30%; background-size: auto 100%; }
  .sos::before { width: 100%; right: 0; opacity: .18; }
}
@media (max-width: 420px) {
  h1, h2, h3, .ops > li > b, .spec-cards .k { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
  .sos .call a { white-space: normal; text-align: center; }
}
