/* v=20260802-19 */
   Cormorant Garamond + Hanken Grotesk (fichiers variables, sous-ensembles
   latin/latin-ext) servies depuis /assets/fonts/ — aucun appel à Google Fonts. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   OsteoAxis — osteoaxis.fr
   Charte : turquoise #53AABC · bleu marine #2A4A6D (couleurs du logo)
   ========================================================================== */

:root {
  --teal: #53aabc;
  --teal-dark: #3d8a9a;
  --teal-soft: #e8f3f5;
  --navy: #2a4a6d;
  --navy-deep: #1e3650;
  --ink: #22303f;
  --muted: #5b6b7c;
  --bg: #fbfcfd;
  --card: #ffffff;
  --line: #e3e9ee;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(42, 74, 109, 0.10);
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }

.serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--teal-dark); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
/* Seconde ligne du hero patients dans une police différente (serif) */
.lead-serif { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--teal-dark); margin-top: 14px; }
/* Coupure imposee entre les deux phrases du hero, sur grand ecran seulement :
   en dessous, le texte se replie tout seul et une coupure forcee tomberait mal. */
.br-large { display: none; }
@media (min-width: 780px) { .br-large { display: inline; } }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

/* Bandeau fiche formation (accueil pro) : les 4 infos clés sur une ligne, fond marine */
.formation-strip { display: block; background: var(--navy); color: #fff; text-decoration: none; }
.formation-strip-inner { display: flex; align-items: center; gap: 14px; padding-top: 13px; padding-bottom: 13px; }
.formation-strip-label {
  flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 12px;
}
.formation-strip-items { font-size: 0.95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.formation-strip svg { flex: none; margin-left: auto; opacity: .8; transition: transform 0.15s ease; }
.formation-strip:hover { background: var(--navy-deep); }
.formation-strip:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .formation-strip-items { white-space: normal; font-size: 0.9rem; } }

.sec { padding: 84px 0; }
/* Fond des sections alternées : gris-bleu marine (ambiance espace pro).
   L'espace patients le repasse en voile turquoise (voir body.space-patients). */
.sec-alt { background: #edf0f6; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); margin-top: 14px; }

/* Titres de section « Grâce à… » sur une seule ligne, en gras, sans italique */
.head-oneline {
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(1.15rem, 3.1vw, 2.1rem);
}
@media (max-width: 620px) {
  .head-oneline { white-space: normal; }
}

/* --------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #47a0b2; } /* survol : reste dans le bleu clair, jamais bleu marine (--teal-dark est redéfini en navy sur l'espace pro) */
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-lg { padding: 14px 34px; font-size: 1.08rem; }
/* Même gabarit que la pastille du bandeau (.nav-links .btn). */
.btn-sm { padding: 7px 18px; font-size: 0.92rem; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links .btn { padding: 7px 18px; font-size: 0.92rem; }
/* Les six pôles forment un parcours ordonné : ils sont reliés par des flèches
   et regroupés, pour que « Se connecter » reste en dehors de l'enchaînement.
   Le filet vertical marque cette séparation. */
.nav-chaine {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  padding: 0 16px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
/* Rubrique annoncée dont la page n'existe pas encore : même graphie que les
   autres, mais filet en pointillés et pas de curseur main. À rétablir en lien
   le jour où la page est créée. */
.nav-item-soon { cursor: default; opacity: .7; border-bottom-style: dashed; }
.nav-item-soon:hover { color: var(--navy); border-bottom-color: var(--line); }
.nav-fleche {
  color: var(--teal-dark);
  font-size: 0.95rem;
  line-height: 1;
  padding-bottom: 5px; /* aligné sur le filet des liens */
}
/* « Se connecter » : marine sur blanc, cerné d'un filet — le registre
   traditionnel d'un bouton d'accès. Il s'inverse au survol. */
.nav-login { background: #fff; white-space: nowrap; }
.nav-login:hover { background: var(--navy); color: #fff; }

/* Bandeau replié (petits écrans) : le filet de séparation n'a plus de sens
   une fois les rubriques passées sur plusieurs lignes. */
@media (max-width: 1180px) {
  .nav-chaine { padding: 0; border-left: 0; border-right: 0; }
}
/* Liens du bandeau : texte marine souligné d'un filet gris, qui se marque
   en marine au survol et sur la page courante. Le turquoise est réservé à
   la porte « patients » (.btn-teal), pour bien séparer les deux espaces. */
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-item:hover,
.nav-item.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.nav-item svg { flex: none; }

/* ------------------------------------------------------------------ Hero */
.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(42, 74, 109, 0.12), transparent 65%),
    radial-gradient(700px 380px at -10% 110%, rgba(42, 74, 109, 0.07), transparent 60%);
}

/* Bandeau photo pleine largeur (image à droite, texte lisible à gauche) */
.hero-banner {
  padding: 68px 0 100px;
  background-color: #d8ebf4;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.62) 40%, rgba(255, 255, 255, 0) 68%),
    url('/assets/img/bandeau-pro.jpg');
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat;
}
.hero-banner .lead { max-width: 26em; }
/* Ligne d'en-tête du hero : le marqueur « vous êtes ici », puis dans sa
   continuité la porte vers l'autre espace. Le bandeau de navigation, lui,
   ne garde plus que « Se connecter ». */
.hero-space-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-space-bar .kicker { margin: 0; }
/* Marqueur d'espace : police légèrement agrandie */
.hero-space { display: inline-flex; align-items: center; font-size: 0.95rem; }
/* « du type Prendre rendez-vous » : réplique en miniature du bouton teal que voient
   les patients — cliquable vers la section RDV de l'espace patients. */
.hero-rdv-demo {
  display: inline-block; background: var(--teal); color: #fff;
  font-family: var(--font-sans); font-style: normal; font-weight: 600;
  font-size: 0.8rem; line-height: 1.4; padding: 3px 13px; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease;
}
.hero-rdv-demo:hover { background: #47a0b2; }
/* Encart « Recherche collaborative » (accueil pro, bloc dynamique et vision) */
.research-callout {
  background: var(--navy); border-left: 4px solid var(--teal);
  border-radius: 12px; padding: 22px 26px; margin-top: 28px;
}
.research-callout p { color: #fff; max-width: none; }
.research-callout a { color: #fff; font-weight: 600; }
@media (max-width: 880px) {
  .hero-banner { padding: 70px 0 60px; background-position: 70% center, center; }
}

/* Bandeau photo de l'espace patients : texte à gauche, sujet décalé à droite. */
.hero-banner-patients {
  padding: 68px 0 100px;
  background-color: #cfe7f5;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.80) 38%, rgba(255, 255, 255, 0.32) 62%, rgba(255, 255, 255, 0) 82%),
    url('/assets/img/bandeau-patients.jpg');
  background-size: cover, cover;
  background-position: center, left 30%;
  background-repeat: no-repeat;
}
.hero-banner-patients .hero-text { max-width: 580px; }
.hero-banner-patients .lead { max-width: 26em; }
@media (max-width: 880px) {
  .hero-banner-patients {
    padding: 70px 0 60px;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.80)),
      url('/assets/img/bandeau-patients.jpg');
    background-position: center, 30% center;
  }
}
.hero .lead { margin: 22px 0 34px; }
.hero-logo { max-width: 420px; margin-bottom: 30px; }

/* Cartes « deux portes » ------------------------------------------------ */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.door {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(42, 74, 109, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.door.door-pro { background: var(--navy); border-color: var(--navy); }
.door.door-pro h2, .door.door-pro h3 { color: #fff; }
.door.door-pro p { color: #c8d6e4; }
.door .door-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.door.door-pro .door-icon { background: rgba(83, 170, 188, 0.22); color: #9fd4de; }
.door p { color: var(--muted); flex-grow: 1; }
.door .btn { align-self: flex-start; }

/* ----------------------------------------------------------- Grilles */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--teal);
  display: block;
  margin-bottom: 8px;
}
/* Carte avec icône : badge + numéro sur une ligne */
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
}
.card-head .num { margin-bottom: 0; }

/* Étapes numérotées ------------------------------------------------------ */
/* En-tête de section avec petit encadré latéral (note UETD, espace patients). */
.head-with-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 40px;
  margin-bottom: 48px;
}
.head-with-aside .sec-head { flex: 1 1 420px; margin-bottom: 0; }
.side-note {
  flex: 1 1 260px;
  max-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 16px 20px;
}
.side-note p { color: var(--navy); font-size: 0.92rem; margin: 0; }
/* Fil conducteur (page patients) : pastille devant « En bref » + trait bleu clair
   dans la gouttière gauche, jusqu'au bas de la carte « Cohérente » (comme la page pro). */
body.space-patients .thread-line { position: relative; }
body.space-patients .engagements.sec-alt { background: #fff; }
body.space-patients .thread-line::before {
  content: "";
  position: absolute;
  top: 150px;
}
/* Section « Le parcours » : pas de vidéo au-dessus, la pastille est plus haut */
body.space-patients .parcours.thread-line::before { top: 100px; background: #fff; }
/* Section « Paroles de patients » : idem, pastille plus haut (fond blanc → fil bleu clair) */
body.space-patients .temoignages.thread-line::before { top: 100px; }
/* Section « Prendre un rendez-vous » : annuaire des ostéopathes formés */
body.space-patients .findpro.thread-line::before { top: 100px; }
body.space-patients .findpro.sec-alt { background: #fff; }
/* Fiche ostéopathe en bleu clair, écriture blanche */
body.space-patients .findpro .pro-card { background: #53aabc; border-color: #53aabc; }
body.space-patients .findpro .pro-card .pro-name { color: #fff; }
body.space-patients .findpro .pro-card .pro-title { color: rgba(255, 255, 255, .85); }
body.space-patients .findpro .pro-card .pro-meta li { color: #fff; }
body.space-patients .findpro .pro-card .pro-meta svg { color: #fff; }
body.space-patients .findpro .pro-card .pro-badge { background: #fff; color: #2a6b78; }
/* Badge « Fondateur » : fond bleu marine pour distinguer Michel Bœuf */
body.space-patients .findpro .pro-card .pro-badge-founder { background: var(--navy); color: #fff; }
/* « Ostéopathe D.O. » à droite du nom + espacement resserré pour limiter la hauteur
   de la fiche malgré les lignes Tél et E-mail ajoutées. */
body.space-patients .findpro .pro-card .pro-id { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.space-patients .findpro .pro-card .pro-title { margin: 0; }
/* Publications scientifiques : 3e ligne de crédentiel, discrète et cliquable vers les études */
body.space-patients .findpro .pro-card .pro-cred--pubs a {
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
body.space-patients .findpro .pro-card .pro-cred--pubs a:hover { text-decoration: none; }
body.space-patients .findpro .pro-card .pro-badge { margin-bottom: 2px; }
body.space-patients .findpro .pro-card .pro-head { margin-bottom: 0; }
body.space-patients .findpro .pro-card .pro-meta { gap: 5px; margin-bottom: 0; }
/* Espace sous le tarif identique à l'espace au-dessus du badge (padding haut = padding bas) */
body.space-patients .findpro .pro-card .pro-info { padding-top: 14px; padding-bottom: 14px; }
/* Bouton « Prendre rendez-vous » : petit, sur la même ligne que le tarif, poussé à droite */
body.space-patients .findpro .pro-card .btn { padding: 4px 12px; font-size: 0.8rem; }
body.space-patients .findpro .pro-card .pro-meta-tarif { align-items: center; }
body.space-patients .findpro .pro-card .pro-meta-tarif .btn { margin-left: auto; flex: none; }
/* Téléphone et e-mail cliquables, en blanc comme le reste de la fiche */
body.space-patients .findpro .pro-card .pro-meta a:not(.btn) { color: inherit; text-decoration: none; }
body.space-patients .findpro .pro-card .pro-meta a:not(.btn):hover { text-decoration: underline; }
body.space-patients .findpro .pro-card .pro-photo { background: rgba(255, 255, 255, .22); color: #eaf4f7; }
body.space-patients .findpro .pro-card .btn-teal { background: #fff; color: var(--navy); }
body.space-patients .findpro .pro-card .btn-teal:hover { background: #eef6f8; }
/* Crédentiels sous le nom : « formé à la méthode » + « cabinet connecté » (2e ligne discrète) */
.pro-creds { display: flex; flex-direction: column; gap: 3px; margin: 2px 0 10px; }
body.space-patients .findpro .pro-card .pro-name { font-size: 1.4rem; }
.pro-cred { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; font-weight: 500; color: var(--navy); }
.pro-cred svg { width: 18px; height: 18px; flex: none; }
.pro-cred--connected { font-weight: 500; opacity: 0.9; }
body.space-patients .findpro .pro-card .pro-cred { color: #fff; }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pro-grid { grid-template-columns: 1fr; } }
.pro-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.pro-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.pro-head .pro-title { margin: 2px 0 0; }
.pro-photo { width: 66px; height: 66px; border-radius: 50%; flex: none; background: #e6eef2; display: grid; place-items: center; color: #9db9c3; overflow: hidden; }
.pro-photo svg { width: 32px; height: 32px; }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; }
.pro-info { padding: 20px 22px 22px; display: flex; flex-direction: column; }
.pro-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-soft); color: var(--teal-dark);
  font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.pro-name { font-size: 1.15rem; color: var(--navy); margin: 0; }
.pro-title { color: var(--muted); font-size: 0.92rem; margin: 2px 0 14px; }
.pro-meta { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0 0 18px; padding: 0; }
.pro-meta li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-size: 0.94rem; line-height: 1.45; }
.pro-meta svg { width: 18px; height: 18px; color: #53aabc; flex: none; margin-top: 2px; }
.pro-info .btn { align-self: flex-start; margin-top: auto; }
/* Liste alphabétique des ostéopathes (sous la carte) */
.osteo-list-wrap { margin-top: 16px; }
.osteo-list-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.osteo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 162px; overflow-y: auto; }
.osteo-list::-webkit-scrollbar { width: 8px; }
.osteo-list::-webkit-scrollbar-thumb { background: #cdd8dd; border-radius: 8px; }
.osteo-list-btn {
  width: 100%; text-align: left; font: inherit; font-weight: 600; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  color: var(--navy); display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.osteo-list-btn:hover { border-color: #53aabc; }
.osteo-list-btn.is-active { border-color: #53aabc; background: #eef6f8; }
.osteo-list-city { color: var(--muted); font-size: 0.9rem; font-weight: 400; }
/* Carte interactive + fiche affichée à la sélection */
.findpro-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .findpro-layout { grid-template-columns: 1fr; } }
.findpro-map { height: 440px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.findpro-map[hidden] { display: none; }
/* Cadre de consentement : la carte ne charge les tuiles OpenStreetMap qu'après ce clic */
.map-consent {
  height: 440px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--teal-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px; padding: 28px;
}
.map-consent[hidden] { display: none; }
.map-consent svg { width: 42px; height: 42px; color: var(--teal-dark); }
.map-consent-title { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.map-consent-text { color: var(--muted); font-size: 0.92rem; max-width: 34em; line-height: 1.5; margin: 0; }
.map-consent .btn { margin-top: 4px; }
.pro-empty { background: #fff; border: 1px dashed #c7d6dd; border-radius: 14px; padding: 44px 26px; text-align: center; color: var(--muted); }
.pro-card[hidden] { display: none; }
/* Toutes les fiches à la même taille : hauteur commune + contenu centré verticalement
   (l'adresse de certains praticiens tient sur 2 lignes, la hauteur s'aligne sur ce cas). */
/* La fiche s'adapte à son contenu : les lignes sans valeur ne sont plus affichées,
   il n'y a donc plus de hauteur commune à forcer. */
.osteo-pin span {
  display: block; width: 20px; height: 20px; border-radius: 50% 50% 50% 0;
  background: #53aabc; border: 2.5px solid #fff; transform: rotate(-45deg);
  box-shadow: 0 2px 5px rgba(42, 74, 109, .4);
}
/* Repère du fondateur : fond bleu marine */
.osteo-pin--founder span { background: var(--navy); }

/* Section « Éléments de preuves » : inversée (fond bleu clair, titres blancs, pastille et fil blancs) */
body.space-patients .preuves.thread-line::before { top: 100px; background: #fff; }
body.space-patients .preuves { background: #53aabc; }
body.space-patients .preuves .kicker { color: #fff; }
body.space-patients .preuves .kicker-chip { background: #fff; color: #53aabc; }
body.space-patients .preuves h2,
body.space-patients .preuves h2 .serif-it { color: #fff; }
/* Bloc titre élargi pour que le sous-titre tienne sur une ligne */
body.space-patients .temoignages .sec-head { max-width: 780px; }

/* --- Carrousel de témoignages : même système que les études (marquee + glisser),
   cartes en fond bleu clair, écriture blanche --- */
.tmn-marquee .card.tmn-card { flex-basis: 360px; background: #53aabc; border-color: #53aabc; }
.tmn-card .tmn-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
/* Contexte du témoignage : motif de consultation + ancienneté de la douleur */
.tmn-card .tmn-context { font-size: .82rem; font-style: italic; color: rgba(255, 255, 255, .85); margin: 0 0 10px; }
.tmn-card .tmn-name { font-weight: 700; color: #fff; }
.tmn-card .tmn-year { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.tmn-card .tmn-title { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.tmn-card .tmn-quote {
  color: #fff; font-size: .97rem; line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 640px) { .tmn-marquee .card.tmn-card { flex-basis: 82vw; } }
/* Bloc titre élargi pour que le sous-titre tienne sur une ligne */
body.space-patients .parcours .sec-head { max-width: 780px; }
/* Sous-titre des preuves sur une seule ligne */
body.space-patients .preuves .sec-head { max-width: 900px; }
/* Version inversée (alternance avec la 1re partie) : fond bleu clair, titres blancs,
   cartes blanches à écriture bleu clair, pastille et fil en blanc. */
body.space-patients .parcours { background: #53aabc; }
body.space-patients .parcours .kicker { color: #fff; }
body.space-patients .parcours .kicker-chip { background: #fff; color: #53aabc; }
body.space-patients .parcours h2,
body.space-patients .parcours h2 .serif-it { color: #fff; }
body.space-patients .parcours .steps .step { background: #fff; border-color: #fff; }
body.space-patients .parcours .steps .step h3 { color: #53aabc; }
/* Texte courant (non gras) en teal profond : bon contraste sur blanc + harmonie bleu clair */
body.space-patients .parcours .steps .step p { color: #1f5b68; }
body.space-patients .parcours .steps .step .n { background: #53aabc; color: #fff; }
/* Détail des étapes replié derrière « Voir plus… » (même principe que la FAQ) */
.step-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: #53aabc; font-weight: 600; font-size: 0.88rem; }
.step-more summary::-webkit-details-marker { display: none; }
.step-more summary::after { content: "\25BE"; font-size: 0.8em; }
.step-more[open] summary::after { content: "\25B4"; }
.step-more .vm { display: none; }
.step-more[open] .vp { display: none; }
.step-more[open] .vm { display: inline; }
.step-more p { margin-top: 8px; }
/* Bouton « Prendre rendez-vous » répété à la fin de chaque section (taille du hero).
   Teal sur fond blanc ; blanc sur les sections inversées (fond bleu clair). */
.sec-cta { text-align: center; margin-top: 36px; }
body.space-patients .parcours .sec-cta .btn-light,
body.space-patients .preuves .sec-cta .btn-light,
body.space-patients .faq-sec .sec-cta .btn-light { background: #fff; color: var(--navy); }
body.space-patients .parcours .sec-cta .btn-light:hover,
body.space-patients .preuves .sec-cta .btn-light:hover,
body.space-patients .faq-sec .sec-cta .btn-light:hover { background: #eef6f8; }
/* Étape « Reconnaître votre schéma » : flèche de rotation autour de la pastille */
body.space-patients .parcours .n-rot { position: relative; overflow: visible; }
body.space-patients .parcours .rot-arrow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; color: #1f5b68; pointer-events: none;
}
/* Variante sens inverse (« Réaliser le traitement » : contrarier la torsion) */
body.space-patients .parcours .rot-arrow.rot-rev { transform: translate(-50%, -50%) scaleX(-1); }
body.space-patients .thread-line::before {
  bottom: 84px;
  left: max(14px, calc((100% - 1120px) / 2 + 5px));
  width: 3px;
  border-radius: 3px;
  background: #53aabc;
}
body.space-patients .kicker-thread { position: relative; }
body.space-patients .kicker-chip {
  position: absolute;
  left: -34px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #53aabc;
  color: #fff;
}
/* Espace sous le bloc titre/hôpital = même écart que celui entre les trois cartes (18 px) */
body.space-patients .head-with-aside { align-items: flex-end; margin-bottom: 18px; }
/* Titre/sous-titre : plus de largeur pour éviter que « cohérente » ne passe seul à la ligne */
body.space-patients .head-with-aside .sec-head { max-width: 760px; }
/* Petit bloc vidéo à droite du titre « En bref » (bord droit aligné aux cartes) */
body.space-patients .head-video { flex: 0 1 300px; align-self: center; }
/* Encadré latéral (page patients) : plus étroit (bord droit toujours aligné aux cartes), fond bleu clair, écriture blanche, icône en pastille blanche */
body.space-patients .side-note { flex: 0 1 300px; max-width: none; background: #53aabc; border-color: #53aabc; display: flex; gap: 14px; align-items: center; }
body.space-patients .side-note p { color: #fff; }
body.space-patients .side-note-chip { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
body.space-patients .side-note-ico { width: 22px; height: 22px; color: #53aabc; }

/* ================================================================
   Ambiance turquoise de l'espace patients (le marine reste le défaut
   du site). Seuls titres, accents et fonds basculent ; le corps de
   texte demeure en encre sombre pour la lisibilité. Le turquoise foncé
   (--teal-dark) est utilisé pour les titres, plus lisible que le vif.
   ================================================================ */
body.space-patients h1,
body.space-patients h2,
body.space-patients h3 { color: var(--teal-dark); }
body.space-patients .sec-alt { background: var(--teal-soft); }

/* Espace pro : tout le texte sur fond clair passe en marine #2A4A6D (charte).
   Les sections à fond marine (témoignages, pied de page, carte « Se connecter »,
   bandeaux légaux) gardent leur texte clair, codé en dur — non affecté. */
body:not(.space-patients) {
  --ink: #2a4a6d;
  --muted: #2a4a6d;
  --teal-dark: #2a4a6d;
}

.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.step .n {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
/* Les trois engagements (page patients) : cartes fond bleu clair, écriture blanche */
body.space-patients .steps .step { background: #53aabc; border-color: #53aabc; }
body.space-patients .steps .step h3 { color: #fff; }
body.space-patients .steps .step p { color: #fff; font-size: 1.06rem; }
body.space-patients .steps .step .n { background: #fff; color: #53aabc; }

/* Listes à coches -------------------------------------------------------- */
.checks { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 16 16"><path d="M3 8.5l3.2 3.2L13 5" fill="none" stroke="%233d8a9a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center no-repeat;
}

/* Vidéos ------------------------------------------------------------------ */
.video-ph {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #3a6289 100%);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.video-ph .play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: grid; place-items: center;
}
.video-ph .play svg { margin-left: 4px; }
.video-caption { margin-top: 12px; font-weight: 600; color: var(--navy); }
.video-note { font-size: 0.9rem; color: var(--muted); }

/* Témoignages ------------------------------------------------------------- */
.testi-sec { background: linear-gradient(160deg, var(--navy) 0%, #33587e 100%); }
.testi-sec .kicker { color: #fff; }
.testi-sec .sec-head h2 { color: #fff; }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote p { color: #3a4a5b; font-size: 0.98rem; flex-grow: 1; }
.quote .who .nm { font-weight: 700; color: var(--navy); }
.quote .who .rl { font-size: 0.88rem; color: var(--teal-dark); }
/* Auteur avec vignette ronde (témoignages utilisateurs) */
.who-photo { display: flex; align-items: center; gap: 14px; }
.who-photo .avatar {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 3px 12px rgba(42, 74, 109, 0.18);
}
@media (max-width: 880px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* Carrousel de témoignages ------------------------------------------------- */
.testi-carousel {
  position: relative;
  --per-view: 3;
  --gap: 26px;
}
.car-viewport { overflow: hidden; transition: height 0.4s ease; }
.car-track {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.4, 0.15, 0.2, 1);
  will-change: transform;
}
.testi-carousel .quote {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0;
}
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.car-arrow:hover { background: var(--teal); color: #fff; }
.car-arrow:active { transform: translateY(-50%) scale(0.94); }
.car-arrow:focus-visible { outline: 3px solid #9fd4de; outline-offset: 2px; }
.car-prev { left: -20px; }
.car-next { right: -20px; }
.car-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.car-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.car-dots button:hover { background: rgba(255, 255, 255, 0.6); }
.car-dots button.is-active { background: #9fd4de; transform: scale(1.25); }
@media (max-width: 1000px) {
  .testi-carousel { --per-view: 2; }
}
@media (max-width: 640px) {
  .testi-carousel { --per-view: 1; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  /* Une carte à la fois : hauteur naturelle, l'auteur suit le texte. */
  .car-track { align-items: flex-start; }
  .testi-carousel .quote p { flex-grow: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .car-track { transition: none; }
}

/* Carrousel des études : bandeau à défilement continu ---------------------- */
.studies-carousel { position: relative; }
.study-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 22px;
}
.study-arrow {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.study-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.study-arrow:active { transform: scale(0.94); }
.study-arrow:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.study-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.study-viewport.is-grabbing { cursor: grabbing; user-select: none; }
.study-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}
.studies-carousel .card {
  flex: 0 0 340px;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
}
.study-link {
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
  text-decoration: none;
}
.study-link:hover { color: var(--navy); }
.study-link svg { transition: transform 0.15s ease; }
.study-link:hover svg { transform: translate(2px, -2px); }
@media (max-width: 640px) {
  .studies-carousel .card { flex-basis: 82vw; }
  .study-viewport {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .study-viewport { overflow-x: auto; }
}

/* Compteurs & partenaires -------------------------------------------------- */
.stat-card { text-align: center; padding: 34px 20px; }
.stat-big { font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-lbl { color: var(--muted); margin-top: 6px; }
.stat-date { font-size: 0.72rem; margin-top: 12px; letter-spacing: 0.02em; color: var(--muted); }
.pair-research .stat-date { color: rgba(255, 255, 255, 0.6); }
/* Section partenaires sur fond marine, titre et intitulé en blanc. */
.sec-partners { background: var(--navy); position: relative; }
.sec-partners h2,
.sec-partners h2 .serif-it { color: #fff; }
/* Vignette « Nos partenaires » : pastille blanche, texte marine (comme les
   autres vignettes sur fond marine). */
.sec-partners .pair-num { color: var(--navy); background: #fff; }
/* Fil vertical blanc sous la vignette, aligné comme celui des paires. */
.sec-partners::before {
  content: "";
  position: absolute;
  top: 116px;
  bottom: 84px;
  left: max(14px, calc((100% - 1120px) / 2 + 8px));
  width: 3px;
  border-radius: 3px;
  background: #fff;
}

.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
}
/* FAQ (accordéon natif <details>, sans JavaScript) ---------------------- */
.faq { max-width: 840px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: var(--teal-dark);
  flex: none;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 10px; }

/* FAQ page patients : barres bleu marine, ouverture en teal, panneau clair (style de l'ancien site) */
/* Section en fond bleu clair (inversée) : libellé, pastille et fil en blanc */
body.space-patients .faq-sec { background: #53aabc; }
body.space-patients .faq-sec.thread-line::before { top: 100px; background: #fff; }
body.space-patients .faq-sec .kicker { color: #fff; }
body.space-patients .faq-sec .kicker-chip { background: #fff; color: #53aabc; }
body.space-patients .faq-sec h2,
body.space-patients .faq-sec h2 .serif-it { color: #fff; }
body.space-patients .faq { max-width: none; }
body.space-patients .faq-item { border: none; background: transparent; border-radius: 0; margin-bottom: 12px; }
body.space-patients .faq-item summary {
  background: #fff; color: var(--navy); border-radius: 10px;
  padding: 16px 22px; justify-content: flex-start; gap: 14px;
}
body.space-patients .faq-item summary::after { display: none; }
body.space-patients .faq-item summary::before {
  content: "\25BE"; order: -1; flex: none; color: var(--navy); font-size: 1.3rem; line-height: 1;
}
body.space-patients .faq-item[open] summary { color: #53aabc; }
body.space-patients .faq-item[open] summary::before { content: "\2013"; color: #53aabc; font-size: 1.4rem; line-height: 0.6; }
body.space-patients .faq-a {
  background: #f2f6f8; border: 1px solid var(--line); border-radius: 10px;
  margin-top: 8px; padding: 22px 26px; color: var(--navy);
}
body.space-patients .faq-a p { color: var(--navy); }
body.space-patients .faq-a ul { margin: 14px 0 0; padding-left: 22px; }
body.space-patients .faq-a li { margin: 5px 0; color: var(--navy); }

.partner-card img { max-height: 76px; width: auto; }
/* Logo Bpifrance : fichier de petite taille native (77×22) ; on l'agrandit
   en fixant sa largeur (SVG vectoriel, reste net à l'agrandissement). */
.partner-card img.logo-bpi { width: 78%; max-height: none; height: auto; }
/* Logo Technopole : quasi carré (arcs haut/bas) ; agrandi pour rendre le
   sous-titre « Nouvelle-Calédonie » lisible. */
.partner-card img.logo-technopole { max-height: 104px; }
/* Logo CHT complet : monogramme + 3 lignes de texte ; agrandi pour lisibilité. */
.partner-card img.logo-cht { max-height: 116px; }
/* Logo Province Sud complet : emblème + « Province Sud » ; format quasi carré. */
.partner-card img.logo-psud { max-height: 108px; }
/* Logo UNC (recadré) : format vertical, agrandi pour la lisibilité du bloc texte. */
.partner-card img.logo-unc { max-height: 100px; }
/* Logo CRESICA : large bandeau, agrandi pour lisibilité du mot-symbole. */
.partner-card img.logo-cresica { max-height: 92px; }
.partner-name { font-weight: 700; color: var(--navy); font-size: 0.95rem; text-align: center; }
@media (max-width: 880px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}

/* Bandeau CTA ------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #35618b 100%);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #cddcea; max-width: 34em; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Hero accueil : les deux boutons partagent la même largeur (alignés sur le plus large). */
.cta-actions .btn { min-width: 156px; justify-content: center; }

/* Encadré duo de boutons pro ---------------------------------------------- */
.pro-access { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.access-card {
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--card);
}
.access-card.teal { background: var(--teal-soft); border-color: #cfe6ea; }
.access-card.navy { background: var(--navy); border-color: var(--navy); }
.access-card.navy h3 { color: #fff; }
.access-card.navy p { color: #c8d6e4; }
.access-card p { color: var(--muted); flex-grow: 1; }
.access-card .btn { align-self: flex-start; }
.access-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.access-card.navy .access-tag { color: #9fd4de; }

/* Prose (page méthode) ----------------------------------------------------- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; color: #3a4a5b; }
.prose h2 { margin: 44px 0 16px; }
.prose h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.prose ul,
.prose ol { margin: 0 0 20px; padding-left: 22px; color: #3a4a5b; }
.prose li { margin-bottom: 8px; }
.prose .doc-date { color: var(--muted); font-size: 0.9rem; margin: -18px 0 30px; }
/* Tableaux des pages légales : défilement horizontal sur petit écran */
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: #3a4a5b; }
.legal-table th { background: #f2f7f9; color: var(--navy); }

/* Formulaire de positionnement (page inscription) ----------------------- */
.qform { max-width: 780px; }
.qform fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 22px;
  background: #fff;
}
.qform legend {
  font-weight: 700;
  color: var(--navy);
  padding: 0 8px;
  font-size: 1.02rem;
}
.qform .field { margin-bottom: 16px; }
.qform .field:last-child { margin-bottom: 0; }
.qform label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: 0.95rem; }
.qform input[type="text"],
.qform input[type="email"],
.qform input[type="tel"],
.qform textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.qform textarea { min-height: 92px; resize: vertical; }
.qform input:focus,
.qform textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.qform .radio-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.qform .radio-row label { font-weight: 400; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.qform .consent label { font-weight: 400; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.qform .consent label:last-child { margin-bottom: 0; }
.qform input[type="radio"], .qform input[type="checkbox"] { accent-color: var(--teal-dark); flex: none; }
.qgrid { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.9rem; }
.qgrid th, .qgrid td { border: 1px solid var(--line); padding: 9px 10px; text-align: center; }
.qgrid thead th { background: #f2f7f9; color: var(--navy); font-size: 0.82rem; font-weight: 700; }
.qgrid td:first-child, .qgrid th:first-child { text-align: left; color: var(--navy); }
.qform-note { color: var(--muted); font-size: 0.9rem; max-width: 60em; margin: 0 0 24px; }
.qform-note a { color: var(--teal-dark); }
/* Pages légales : mise en forme documentaire, fidèle aux originaux Word de Michel
   (bandeau et en-têtes de tableau #184D7A, corps #1F2937, alerte fond #E58BA8,
   passages restant à confirmer en rouge #EE0000). */
.doc-legal { max-width: 760px; margin: 0 auto; }
.doc-legal .doc-band {
  background: #184D7A; color: #fff; text-align: center;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 6px; margin-bottom: 36px;
}
.doc-legal h1 { color: #184D7A; text-align: center; font-size: 1.9rem; margin-bottom: 10px; }
.doc-legal .doc-meta { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0 0 36px; }
/* À l'intérieur d'un même chapitre, pas d'espacement entre paragraphes et
   puces (comme dans les documents Word) ; seuls les titres aèrent. */
.doc-legal h2 { color: #184D7A; font-size: 1.22rem; margin: 30px 0 8px; }
.doc-legal h3 { color: #184D7A; font-size: 1.02rem; margin: 16px 0 4px; }
.doc-legal p, .doc-legal li { color: #1F2937; font-size: 0.97rem; }
.doc-legal p { margin-bottom: 0; }
.doc-legal ul,
.doc-legal ol { margin: 0; padding-left: 22px; }
.doc-legal li { margin-bottom: 0; }
.doc-legal .table-scroll { margin: 8px 0; }
.doc-legal .legal-table th { background: #184D7A; color: #fff; border-color: #184D7A; }
.doc-legal .legal-table td { background: #F3F4F6; }
.doc-legal .legal-table td.cell-alerte { background: #E58BA8; }
.doc-alerte { background: #E58BA8; text-align: center; border-radius: 6px; padding: 14px 18px; margin: 0 0 28px; }
.doc-alerte p, .doc-alerte li { color: #EE0000; }
.doc-alerte ul { text-align: left; }
.doc-alerte > :last-child { margin-bottom: 0; }
.rouge { color: #EE0000; }
/* .doc-legal p / li fixe la couleur d'encre avec une spécificité supérieure à
   .rouge : sans ces sélecteurs, un marqueur posé directement sur un <p> ou un
   <li> resterait noir. */
.doc-legal .rouge,
.doc-legal p.rouge,
.doc-legal li.rouge { color: #EE0000; }

/* Marqueurs de travail — à retirer avant publication.
   Un surlignage par interlocuteur dont la réponse est attendue.
   Texte en encre sombre sur fond pastel : lisible à l'écran comme à l'impression. */
.compta, .doc-legal .compta, .doc-legal p.compta, .doc-legal li.compta,
.avocat, .doc-legal .avocat, .doc-legal p.avocat, .doc-legal li.avocat,
.ben,    .doc-legal .ben,    .doc-legal p.ben,    .doc-legal li.ben,
.rouge,  .doc-legal .rouge,  .doc-legal p.rouge,  .doc-legal li.rouge {
  color: #1F2937; border-radius: 2px;
}
.compta, .doc-legal .compta, .doc-legal p.compta, .doc-legal li.compta {
  background: #BFDBFE; box-shadow: 0 0 0 2px #BFDBFE;
}
.avocat, .doc-legal .avocat, .doc-legal p.avocat, .doc-legal li.avocat {
  background: #FDE68A; box-shadow: 0 0 0 2px #FDE68A;
}
.ben, .doc-legal .ben, .doc-legal p.ben, .doc-legal li.ben {
  background: #BBF7D0; box-shadow: 0 0 0 2px #BBF7D0;
}
.rouge, .doc-legal .rouge, .doc-legal p.rouge, .doc-legal li.rouge {
  background: #FECACA; box-shadow: 0 0 0 2px #FECACA;
}
.legende-travail {
  border: 1px dashed #94a3b8; border-radius: 8px; padding: 12px 16px;
  margin: 0 0 24px; font-size: 0.9rem; background: #f8fafc;
}
.legende-travail b { display: block; margin-bottom: 4px; color: #334155; }
.legende-travail span { font-weight: 600; }

/* Pages de contenu en présentation « document » (concept, formation, logiciel) :
   colonne étroite, typographie dense, peu de chrome. */
.doc-sec { padding: 50px 0 76px; }
.doc-page { max-width: 800px; margin: 0 auto; }
.doc-page .doc-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--teal-dark); margin-bottom: 8px;
}
.doc-page h1 { font-size: clamp(1.75rem, 3.4vw, 2.15rem); margin-bottom: 12px; }
.doc-page .doc-lead {
  color: var(--muted); font-size: 1.05rem; line-height: 1.55;
  padding-bottom: 22px; margin-bottom: 6px; border-bottom: 1px solid var(--line); max-width: none;
}
.doc-page h2 {
  font-size: 1.28rem; color: var(--navy);
  margin: 34px 0 9px; padding-top: 6px;
}
.doc-page h3 { font-size: 1.04rem; color: var(--navy); margin: 18px 0 5px; }
/* Portrait posé à droite du texte, dans le récit d'origine. Petit format :
   il accompagne le récit sans l'interrompre. */
.portrait-cote {
  float: right; width: 190px; margin: 4px 0 16px 26px;
}
.portrait-cote img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; background: var(--line);
}
.portrait-cote figcaption {
  margin-top: 9px; font-size: 0.8rem; color: var(--muted); line-height: 1.4;
}
.portrait-cote figcaption strong { color: var(--navy); }
/* Le titre suivant ne doit pas venir se loger à côté du portrait. */
.doc-page h2 { clear: both; }
@media (max-width: 620px) {
  .portrait-cote { float: none; width: 200px; margin: 4px 0 18px; }
}

/* Année en pastille devant les titres du récit d'origine : le lecteur qui
   parcourt la page voit la chronologie avant de lire les titres. */
.doc-annee {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--teal-dark); background: var(--teal-soft);
  border-radius: 999px; padding: 3px 11px;
  vertical-align: 3px; margin-right: 12px;
}
.doc-page p { color: var(--ink); font-size: 0.99rem; margin-bottom: 12px; }
.doc-page .doc-close { color: var(--muted); }
.doc-page ul { margin: 6px 0 14px; padding-left: 22px; }
.doc-page ul li { margin-bottom: 8px; color: var(--ink); font-size: 0.99rem; }
.doc-page ul ul { margin: 8px 0 4px; padding-left: 20px; list-style: circle; }
.doc-page ul ul li { margin-bottom: 4px; }
.doc-page strong { color: var(--navy); }
.doc-page a { color: var(--teal-dark); }
.doc-page .doc-note {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.92rem;
}
/* Encadré marine « sommaire » : chaque point est dépliable (accordéon natif),
   le texte complet s'ouvrant dans un panneau clair. */
.doc-brief {
  background: var(--navy);
  border-radius: 14px;
  padding: 6px 28px;
  margin: 12px 0 32px;
}
.doc-brief > :last-child { border-bottom: 0; }
.doc-brief .brief-plain {
  color: #fff; font-size: 0.99rem; margin: 0;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; gap: 13px; align-items: flex-start;
}
/* Petite icône en tête de chaque point du sommaire. */
.brief-ico { flex: none; width: 22px; height: 22px; margin-top: 1px; }
/* Icône du titre de page (reprend celle du bandeau). */
.doc-page h1 { display: flex; align-items: center; gap: 13px; }
.doc-title-ico { flex: none; width: 30px; height: 30px; color: var(--navy); }
.brief-plain strong { color: #fff; }
.brief-item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.brief-item > summary {
  list-style: none; cursor: pointer; position: relative;
  color: #eaf1f7; font-size: 0.99rem; padding: 15px 82px 15px 0;
  display: flex; gap: 13px; align-items: flex-start;
}
.brief-item > summary::-webkit-details-marker { display: none; }
.brief-item > summary strong { color: #fff; }
.brief-item > summary:hover { color: #fff; }
.brief-item > summary::after {
  content: "Plus"; position: absolute; right: 0; top: 13px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--navy); background: #fff; padding: 4px 13px; border-radius: 7px;
}
.brief-item[open] > summary::after { content: "Moins"; }
.brief-full {
  background: #fff; border-radius: 10px;
  padding: 16px 20px; margin: 2px 0 16px;
}
.brief-full p { color: var(--ink); font-size: 0.96rem; margin-bottom: 10px; }
.brief-full p:last-child { margin-bottom: 0; }
.brief-full .doc-close { color: var(--muted); }
.brief-full ul { margin: 8px 0 10px; padding-left: 20px; }
.brief-full li { color: var(--ink); font-size: 0.96rem; margin-bottom: 6px; }
.brief-full ul ul { margin: 6px 0 2px; list-style: circle; }
.brief-full strong { color: var(--navy); }
/* Référence bibliographique citée à la suite d'un point : passe à la ligne,
   en plus petit et en gris, pour se distinguer du texte sans le couper. */
.ref { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
/* Tiret d'appel : signale d'un coup d'œil que la ligne est une référence
   et non la suite du texte. Ajouté en CSS, donc valable pour toutes les
   références à venir sans avoir à le saisir à chaque fois. */
.ref::before { content: "—\00a0"; }
.ref sup { font-size: 0.72em; }
.prose blockquote {
  border-left: 3px solid var(--teal);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: #fff;
  color: var(--navy);
  padding: 60px 0 28px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin-top: 16px; font-size: 0.95rem; max-width: 26em; color: var(--navy); }
.foot-col h4 {
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col a { display: block; color: var(--navy); text-decoration: none; margin-bottom: 10px; font-size: 0.95rem; }
.foot-col a:hover { color: var(--navy); text-decoration: underline; }
.foot-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--navy);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 16px;
}
.foot-legal a { color: var(--navy); text-decoration: none; }
.foot-legal a:hover { color: var(--navy); text-decoration: underline; }
.foot-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 880px) {
  .doors, .grid-3, .grid-2, .pro-access { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }

  .nav { height: auto; flex-wrap: wrap; justify-content: center; padding-top: 12px; padding-bottom: 14px; row-gap: 10px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .nav-links .btn { padding: 8px 14px; font-size: 0.85rem; }
  .nav-item { font-size: 0.85rem; gap: 6px; padding-bottom: 4px; }
}

/* ================================================================
   Paires de sections : fond partagé (A) + fil turquoise (B) + intertitre (C)
   ================================================================ */
.pair { position: relative; }
.pair-white { background: var(--bg); }
.pair-grey  { background: #f2f7f9; }
.pair-navy  { background: linear-gradient(160deg, var(--navy) 0%, #33587e 100%); }

/* Les sections d'une paire deviennent transparentes : le fond vient de la paire. */
.pair > section { background: transparent; padding-top: 46px; padding-bottom: 58px; }
.pair > section:first-of-type { padding-top: 10px; }

/* (C) Intertitre de partie */
.pair-head { padding: 64px 0 0; }
.pair-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
}
.pair-num {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #fff;
  background: var(--navy);
  padding: 6px 13px;
  border-radius: 999px;
}
/* Icône de vignette : pastille ronde distincte, détachée du libellé. */
.pair-ico {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.pair-ico svg { width: 21px; height: 21px; }
/* La pastille de l'icône reprend l'habillage de la vignette correspondante. */
.pair-navy .pair-ico,
.sec-partners .pair-ico { background: #fff; color: var(--navy); }
/* Partenaires : aligner la pastille ronde et la vignette blanche. */
/* Vignette partenaires : centrée sur le fil vertical (comme les paires). */
.sec-partners .pair-eyebrow { margin-bottom: 14px; margin-left: -31.5px; }
.pair-navy .pair-eyebrow { color: #fff; }
.pair-navy .pair-num { color: var(--navy); background: #fff; }

/* (B) Fil conducteur : trait turquoise vertical le long de la paire */
.pair::before {
  content: "";
  position: absolute;
  top: 96px;
  bottom: 52px;
  left: max(14px, calc((100% - 1120px) / 2 + 8px));
  width: 3px;
  border-radius: 3px;
  background: var(--navy);
  opacity: 1;
}
.pair-navy::before { background: #fff; opacity: 1; }
/* Centre la pastille d'icône sur le fil vertical de la paire (desktop). */
.pair .pair-eyebrow { margin-left: -7.5px; }

/* Section « Des recherches et une vision » : encadrés (fiches d'études et
   cartes de chiffres) en marine, texte blanc. */
.pair-research .card { background: var(--navy); border-color: var(--navy); }
.pair-research .card p,
.pair-research .card .stat-lbl,
.pair-research .card .stat-big { color: #fff; }
.pair-research .card .num { color: #9fd4de; }
.pair-research .study-link { color: #9fd4de; }
.pair-research .study-link:hover { color: #fff; }

/* Cartes sur fond marine, texte blanc (section agenda). */
.cards-navy .card { background: var(--navy); border-color: var(--navy); }
.cards-navy .card h3 { color: #fff; }
.cards-navy .card p { color: #c8d6e4; }
.cards-navy .card-ico { background: rgba(255,255,255,.12); color: #fff; }
.cards-navy .card .num { color: #9fd4de; }

/* Section « Un réseau et des rencontres » : fond marine, texte blanc
   (la carte blanche « Une question… » conserve son texte sombre). */
.pair-network h2,
.pair-network h2 .serif-it { color: #fff; }
.pair-network .checks li { color: #fff; }
/* Liste des 5 points dans l'encadré blanc : texte marine (et non blanc). */
.pair-network .card .checks li { color: var(--navy); }
@media (max-width: 900px) {
  .pair::before { left: 12px; top: 84px; }
  .pair-head { padding-top: 52px; }
  .pair-eyebrow { font-size: 1.3rem; }
  .pair .pair-eyebrow,
  .sec-partners .pair-eyebrow { margin-left: 0; }
  .sec-partners::before { display: none; }
}

/* ================================================================
   Page « Le concept » : listes à amorce en gras
   ================================================================ */
.concept-list { list-style: none; display: grid; gap: 20px; margin: 22px 0 0; max-width: 62em; }
.concept-list > li { position: relative; padding-left: 26px; color: var(--muted); }
.concept-list > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}
.concept-list strong { color: var(--navy); }
.concept-sub { list-style: none; display: grid; gap: 8px; margin: 12px 0 2px; padding-left: 26px; }
.concept-sub > li { position: relative; padding-left: 20px; color: var(--muted); }
.concept-sub > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-dark);
}
.concept-close { max-width: 62em; margin-top: 22px; color: var(--ink); }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 30px; box-shadow: var(--shadow); }
.summary-card .checks li strong { color: var(--navy); }
.part-label { display: block; margin-top: 36px; }
.part-label:first-of-type { margin-top: 8px; }

/* ------------------------------------------------------------------
   Mentions annoncées pour février 2027
   « Formation en février 2027 » reste une mention non cliquable tant que
   les inscriptions ne sont pas ouvertes. Le bouton « Se connecter » du
   bandeau, lui, est un lien actif vers app.osteoaxis.fr depuis le
   23 août 2026.
   ------------------------------------------------------------------ */
.btn.is-soon {
  background: transparent;
  border: 1px dashed var(--navy);
  color: var(--navy);
  opacity: .8;
}
.btn.is-soon:hover { background: transparent; }
/* Rendue en <span> quand la destination n'existe pas encore (« Connexion ») :
   pas de curseur main, contraste un peu plus discret. */
span.btn.is-soon { cursor: default; opacity: .72; }
/* Dans les blocs à fond marine, le bouton passe en blanc sur transparent,
   sans quoi le texte marine deviendrait illisible. */
.pair-navy .btn.is-soon { border-color: rgba(255,255,255,.7); color: #fff; }
.foot-col .foot-soon {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--navy);
  opacity: .7;
}

/* Inscription — ouverture annoncée pour février 2027.
   Le questionnaire reste visible mais n'est pas soumissible : les champs
   sont neutralisés par <fieldset disabled>. À rouvrir au lancement. */
.notice-soon {
  border: 1px solid var(--teal);
  border-left: 4px solid var(--teal);
  background: var(--teal-soft, #eef7f9);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 22px 0 0;
}
.notice-soon strong { display: block; margin-bottom: 4px; color: var(--teal-dark); }
.notice-soon p { margin: 0; font-size: 0.97rem; }
.qform-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform-fs:disabled { opacity: .62; }
.form-closed {
  border: 1px dashed var(--navy);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.97rem;
  color: var(--navy);
}

/* Chaîne des six pôles : l'architecture du projet, lue comme un schéma. */
.chaine { background: var(--teal-soft); border-bottom: 1px solid var(--line); }
.chaine-inner { display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 12px; padding-top: 15px; padding-bottom: 15px; }
.chaine a { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 3px; transition: border-color 0.15s ease; }
.chaine a:hover { border-bottom-color: var(--navy); }
.chaine-fleche { color: var(--teal-dark); font-size: 0.9rem; line-height: 1; }
@media (max-width: 700px) {
  .chaine a { font-size: 0.68rem; letter-spacing: 0.08em; }
  .chaine-inner { gap: 4px 8px; }
}

/* Second paragraphe du chapô : respiration sans creuser le hero. */
.lead-suite { margin-top: -16px; }

/* Vidéos : l'image d'aperçu s'affiche, le fichier ne se charge qu'au clic —
   même principe que la carte, rien n'est téléchargé sans le geste du visiteur. */
.video-ph[data-video] { cursor: pointer; background-size: cover; background-position: center; }
.video-ph[data-video]::before { content: ''; position: absolute; inset: 0;
  background: rgba(30, 54, 80, 0.32); transition: background 0.2s ease; }
.video-ph[data-video]:hover::before { background: rgba(30, 54, 80, 0.18); }
.video-ph[data-video]:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.video-ph .play { position: relative; z-index: 1; transition: transform 0.2s ease; }
.video-ph[data-video]:hover .play { transform: scale(1.08); }
.video-ph.is-playing { background: #000; cursor: default; }
.video-ph.is-playing::before { display: none; }
.video-ph video { width: 100%; height: 100%; display: block; }

/* Pendant le téléchargement, l'aperçu reste visible et le bouton tourne. */
.video-ph.is-loading video { opacity: 0; }
.video-ph.is-loading .play { border-top-color: transparent; border-right-color: transparent;
  animation: video-tourne 0.9s linear infinite; }
.video-ph.is-loading .play svg { display: none; }
@keyframes video-tourne { to { transform: rotate(360deg); } }
.video-ph.is-playing video { opacity: 1; }
.video-ph video { position: absolute; inset: 0; transition: opacity 0.25s ease; }
/* Vidéos de l'espace professionnel : cadre volontairement plus étroit que la
   colonne, pour ne pas concurrencer le texte des objectifs pédagogiques. */
.video-compact { max-width: 420px; }

.video-ph.is-erreur::after { content: 'Vidéo momentanément indisponible';
  position: absolute; inset: auto 0 0 0; padding: 10px; text-align: center;
  background: rgba(0,0,0,.6); color: #fff; font-size: 0.9rem; }

/* Documents officiels charges depuis l'application ----------------------- */
/* Le fragment <article class="oa-doc"> vient de app.osteoaxis.fr ; ces regles
   lui rendent l'apparence des anciennes pages legales. Le texte lui-meme ne
   se modifie jamais ici. */
.oa-doc-loading { color: var(--muted); font-size: 0.95rem; text-align: center; padding: 40px 0; }
.doc-legal .oa-doc { max-width: 100%; }
.doc-legal .oa-doc-header { margin-bottom: 36px; }
.doc-legal .oa-doc-header h1 { color: #184D7A; text-align: center; font-size: 1.9rem; margin-bottom: 10px; }
.doc-legal .oa-doc-subtitle { text-align: center; color: #1F2937; font-size: 1.02rem; margin: 0 0 8px; }
.doc-legal .oa-doc-meta { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }
.doc-legal .oa-doc-part {
  color: #184D7A; font-size: 1.22rem; margin: 40px 0 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.doc-legal .oa-doc-section { margin: 0 0 18px; }
.doc-legal .oa-doc-section h3 { color: #184D7A; font-size: 1.02rem; margin: 26px 0 10px; }
.doc-legal .oa-doc-section h4 { color: #184D7A; font-size: 0.97rem; font-weight: 600; margin: 18px 0 8px; }
.doc-legal .oa-doc p, .doc-legal .oa-doc li { color: #3a4a5b; font-size: 0.97rem; }
.doc-legal .oa-doc p { margin-bottom: 14px; }
.doc-legal .oa-doc ul,
.doc-legal .oa-doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc-legal .oa-doc li { margin-bottom: 8px; }
.doc-legal .oa-doc-table { overflow-x: auto; margin: 10px 0; }
.doc-legal .oa-doc-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
.doc-legal .oa-doc-table th,
.doc-legal .oa-doc-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc-legal .oa-doc-table th { background: #184D7A; color: #fff; border-color: #184D7A; }
.doc-legal .oa-doc-table td { background: #F3F4F6; color: #1F2937; }
.doc-legal .oa-doc-footer {
  margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}
