/* ============================================================
   Site du cabinet Dr Christophe Haus — version 2, registre sobre.
   Mise en page inspirée du site du Dr Maillard : sections plein écran,
   Raleway, titres en capitales espacées, panneaux translucides bleu
   ciel au grand arrondi, boutons pilule filaires. Les couleurs du
   cabinet (bleu du logo, orange, turquoise, vert, rose) ne sont que des
   touches : index de chapitre, icônes, lavis des panneaux.
   ============================================================ */

:root {
  --c-blue: #2E9BD7;   /* le bleu du logo */
  --c-sky: #7ED4F9;
  --c-deep: #1C6FA5;
  --c-orange: #F26B21;
  --c-turq: #18B6C4;
  --c-lime: #9BC83B;
  --c-magenta: #D81F77;

  --ink: #0E1420;
  --ink-2: #161E2E;
  --tx: #161A22;
  --tx-2: #5A6372;
  --tx-3: #8A93A1;
  --line: rgba(22, 26, 34, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #FFFFFF;
  --paper-2: #F5F8FB;

  --grad: linear-gradient(72deg, #7ED4F9 0%, #2E9BD7 100%);
  /* Boutons (28/09) : un bleu assez profond pour que le texte blanc se lise (contraste 4,7 à 5,4) */
  --grad-btn: linear-gradient(72deg, #1F79B6 0%, #1C6FA5 100%);
  --grad-panel: linear-gradient(72deg, rgba(126, 212, 249, .55) 0%, rgba(46, 155, 215, .55) 100%);
  --shadow: 0 24px 60px rgba(14, 20, 32, .14);
  --shadow-sm: 0 10px 30px rgba(14, 20, 32, .10);
  --r: 20px;
  --r-big: 120px;
  --hdr: 78px;   /* 64 avant le 28/09 ; 64 aussi sous 900 px */
  /* Bord gauche du contenu (= marge droite) : même calcul que .wrap ; sert à placer les touches de couleur */
  --g: max(clamp(20px, 5vw, 64px), calc((100vw - 1320px) / 2 + 64px));
  --font: 'Raleway', 'Segoe UI', system-ui, sans-serif;
  /* Titres (réponse Q34 du 28/09, choix n° 3) : une police à empattements, en minuscules */
  --font-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--tx);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; font-variant-numeric: tabular-nums;
}
html.dlg-open { overflow: hidden; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); width: 100%; }
.skip { position: absolute; left: 20px; top: -60px; z-index: 200; background: var(--c-blue); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }
.visually-hidden { position: absolute; left: -9999px; }
.nw { white-space: nowrap; }

/* ---------- Typographie ---------- */
.t-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.t-kicker b { font-weight: 300; font-size: 20px; letter-spacing: .04em; color: var(--tx); }
.on-dark .t-kicker { color: var(--c-sky); }
.on-dark .t-kicker b { color: #fff; }
.t-sec {
  font-family: var(--font-titre); font-weight: 400; letter-spacing: -.01em; font-optical-sizing: auto;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; color: var(--tx); text-wrap: balance;
}
.t-sec .lt { font-style: italic; color: var(--c-deep); }
.on-dark .t-sec .lt { color: var(--c-sky); }
.on-dark .t-sec { color: #fff; }
.t-lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--tx-2); max-width: 64ch; font-weight: 400; }
.on-dark .t-lead { color: rgba(255, 255, 255, .72); }
.sec__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vh, 56px); max-width: 900px; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--tx); background: transparent; position: relative; overflow: hidden; white-space: nowrap;
  /* isolation : le fond (::before, z-index -1) reste dans le bouton. Sans elle, posé sur un bloc
     qui a son propre fond (« Nouveau patient »), il passait derrière ce bloc et le bouton plein
     paraissait vide (28/09) */
  isolation: isolate;
  transition: color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--grad-btn); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover { color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:hover::before { opacity: 1; }
/* Le bouton plein sert à une seule action, le premier rendez-vous, et partout de la même façon */
.btn--fill { color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(28, 111, 165, .28); }
.btn--fill::before { opacity: 1; }
.btn--fill:hover { filter: brightness(1.12); box-shadow: 0 10px 28px rgba(28, 111, 165, .38); }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--light:hover { color: var(--ink); }
.btn--light:hover::before { background: #fff; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 12px; }
.btn svg { flex: none; }

.lnk {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--tx); position: relative; padding-bottom: 2px; cursor: pointer;
}
.lnk::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; opacity: .5; transition: transform .35s var(--ease), opacity .35s; }
.lnk:hover::after { transform: scaleX(1); opacity: 1; }
.lnk svg { transition: transform .35s var(--ease); }
.lnk:hover svg { transform: translateX(4px); }
.lnk--light { color: #fff; }
.lnk--accent { color: var(--c-deep); }

/* ---------- En-tête fixe ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: height .5s var(--ease), background .4s, border-color .4s, color .4s;
}
.hdr--light { background: rgba(255, 255, 255, .84); border-bottom: 2px solid var(--c-blue); color: var(--tx); }
.hdr--dark { background: rgba(14, 20, 32, .55); border-bottom: 1px solid var(--line-dark); color: #fff; }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; max-width: none; padding-inline: clamp(20px, 2.8vw, 44px); }
/* Le logo est placé à part (28/09) pour pouvoir glisser du centre, en grand, vers la gauche : voir
   .hdr--grand plus bas. Sur fond sombre, c'est le logo blanc de l'ancien site (logo-blanc.png). */
.hdr__logo { position: absolute; left: clamp(20px, 2.8vw, 44px); top: 50%; transform: translate(0, -50%); display: flex; align-items: center; gap: 16px; text-decoration: none; transition: left .55s var(--ease), transform .55s var(--ease); }
.hdr__logo img { height: 52px; width: auto; transition: height .55s var(--ease); }
/* La mention d'exercice suit le logo (28/09) : à sa droite dans le bandeau fin, sous lui en haut de
   l'accueil. Elle réapparaît en fondu à chaque changement (deux animations de noms différents). */
.hdr__exercice { display: block; max-width: 180px; padding-left: 16px; border-left: 1px solid; font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: .01em; animation: exerciceA .6s ease; }
.hdr--dark .hdr__exercice { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .3); }
.hdr--light .hdr__exercice { color: var(--tx-2); border-color: var(--line); }
@keyframes exerciceA { from { opacity: 0; } to { opacity: 1; } }
@keyframes exerciceB { from { opacity: 0; } to { opacity: 1; } }
.hdr__logo .lg-dark { display: none; }
.hdr--dark .hdr__logo .lg-light { display: none; }
.hdr--dark .hdr__logo .lg-dark { display: block; }
.hdr__nav { display: flex; gap: 26px; margin-left: auto; }
.hdr__nav a { text-decoration: none; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor; transform: translateY(4px); opacity: 0; transition: .3s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="true"] { opacity: 1; }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="true"]::after { transform: none; opacity: 1; }
.hdr__tools { display: flex; align-items: center; gap: 14px; }
.hdr__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c-blue); transition: transform .3s var(--ease), background .3s; }
.hdr--dark .hdr__ico { color: var(--c-sky); }
.hdr__ico:hover { transform: scale(1.1); background: rgba(46, 155, 215, .12); }
.hdr .btn { height: 42px; padding: 0 20px; font-size: 12px; }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.hdr__burger span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.hdr__burger span::before, .hdr__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.hdr__burger span::before { top: -7px; } .hdr__burger span::after { top: 7px; }
/* Les menus passent dans le menu à trois traits sous 1440 px (1180 avant le 28/09) : en dessous, ils
   chevauchaient le logo et sa mention d'exercice (mesuré de 1200 à 1366 px) */
@media (max-width: 1439px) { .hdr__nav { display: none; } .hdr__burger { display: grid; } .hdr__tools { margin-left: auto; } }
@media (max-width: 900px) { .hdr__ico { display: none; } }
@media (min-width: 641px) { .hdr--light .hdr__logo img { height: 48px; } }
/* En haut de l'accueil (28/09, comme sur l'ancien site) : un bandeau plus épais, le logo en grand au
   centre, sans les menus. Dès qu'on descend, main.js retire .hdr--grand : le bandeau s'affine, le
   logo rapetisse en glissant vers la gauche et les menus apparaissent. */
:root { --hdr-grand: 186px; }
.hdr__nav, .hdr__ico { transition: opacity .35s, visibility .35s; }
.hdr.hdr--grand { height: calc(var(--hdr-grand) + env(safe-area-inset-top, 0px)); border-bottom-color: transparent; background: linear-gradient(180deg, rgba(14, 20, 32, .78) 0%, rgba(14, 20, 32, .35) 70%, rgba(14, 20, 32, 0) 100%) border-box no-repeat; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* border-box : sans lui, le dégradé se répétait sous la bordure transparente et dessinait un trait sombre */
.hdr--grand .hdr__logo { left: 50%; transform: translate(-50%, -50%); }
.hdr--grand .hdr__logo { flex-direction: column; gap: 10px; }
.hdr--grand .hdr__logo img { height: 112px; }
.hdr--grand .hdr__exercice { max-width: none; padding-left: 0; border-left: 0; font-size: 14px; letter-spacing: .04em; text-align: center; white-space: nowrap; color: rgba(255, 255, 255, .9); animation-name: exerciceB; }
/* En haut de l'accueil, ni menus, ni bouton de rendez-vous, ni menu à trois traits (28/09) */
.hdr__tools { transition: opacity .35s, visibility .35s; }
.hdr--grand .hdr__nav, .hdr--grand .hdr__ico, .hdr--grand .hdr__tools { opacity: 0; visibility: hidden; }
@media (max-width: 900px) {
  :root { --hdr: 64px; --hdr-grand: 140px; }
  .hdr--grand .hdr__logo img { height: 70px; }
  .hdr--grand .hdr__exercice { white-space: normal; max-width: 300px; font-size: 12.5px; }
}
@media (max-width: 640px) {
  .hdr__logo { gap: 12px; }
  .hdr__logo img { height: 36px; }
  .hdr__exercice { max-width: 160px; padding-left: 12px; font-size: 10.5px; }
}
@media (max-width: 370px) { .hdr:not(.hdr--grand) .hdr__exercice { display: none; } }
@media (max-width: 640px) { .hdr__tools .btn, .hdr__ico { display: none; } .hdr__burger { display: grid; } }
/* Sur téléphone (26/11), le bouton de rendez-vous n'a pas sa place dans le bandeau : il flotte juste
   dessous, à droite, sur toutes les pages et même en haut de l'accueil (demande de Christophe). */
.hdr__rdv { display: none; }
@media (max-width: 640px) {
  .hdr__rdv { display: block; position: absolute; top: calc(100% + 10px); right: 14px; }
  .hdr__rdv .btn { height: 36px; padding: 0 16px; font-size: 12px; box-shadow: 0 6px 18px rgba(14, 20, 32, .28); }}

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hdr) + 24px) clamp(24px, 8vw, 120px) clamp(32px, 8vh, 96px);
  background: linear-gradient(72deg, rgba(126, 212, 249, .78), rgba(28, 111, 165, .82)); backdrop-filter: blur(30px);
  border-top-right-radius: var(--r-big); color: #fff;
  opacity: 0; visibility: hidden; transform: translateX(-100%); transition: opacity .35s, transform .45s var(--ease), visibility .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu__list { list-style: none; display: grid; gap: clamp(8px, 1.6vh, 18px); }
.menu__list a { text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: clamp(22px, 4.2vw, 40px); line-height: 1.1; display: inline-flex; gap: 16px; align-items: baseline; }
.menu__list a small { font-size: 13px; letter-spacing: .2em; font-weight: 300; opacity: .8; }
.menu__foot { margin-top: clamp(24px, 5vh, 48px); display: flex; flex-wrap: wrap; gap: 20px 36px; font-size: 15px; }
.menu__foot a { text-decoration: none; }

/* Les points de chapitre à droite ont été retirés le 28/09 : ils doublaient le menu du haut, et
   leurs étiquettes mordaient sur le contenu. */

/* ---------- Sections ---------- */
.sec { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--hdr) + 40px) 56px; }
.sec--light { background: var(--paper); color: var(--tx); }
.sec--soft { background: var(--paper-2); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--clear { background: transparent; z-index: 1; }
.sec > .wrap:not(.parcours__pin) { position: relative; }

/* ---------- Héros : un seul écran, la salle d'attente en grand ----------
   Trois photos du cabinet se relaient en fondu lent, comme la vidéo
   d'ouverture du site Maillard ; le panneau translucide reste fixe. */
.hero { padding: 0; justify-content: stretch; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
/* Lot 3 (28/09) : fondus plus calmes. 2,6 s de fondu doux et 9 s par image (DIAPO et FONDU dans
   main.js) ; le zoom est plus lent et plus léger (de 1,02 à 1,055 au lieu de 1,09), sur toute la
   durée où l'image se voit (9 s + 2,6 s), et ralentit en fin de course. */
.hero__img { position: absolute; inset: 0; opacity: 0; transition: opacity 2.6s cubic-bezier(.45, 0, .55, 1); }
.hero__img.is-active { opacity: 1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 58%); transform: scale(1.02); }
/* Zoom lent, une image sur deux en avant, l'autre en arrière. L'image qui s'en va garde son
   mouvement pendant le fondu (is-leaving) : sans cela, elle revenait d'un coup à sa taille de
   départ et l'image « sautait » au changement (remarque du 27/09). */
.hero__img[data-sens="out"] img { transform: scale(1.055); }
.hero__img.is-active img, .hero__img.is-leaving img { animation: heroZoom 11.6s cubic-bezier(.33, 0, .67, 1) forwards; }
.hero__img[data-sens="out"].is-active img, .hero__img[data-sens="out"].is-leaving img { animation-name: heroZoomOut; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.055); } }
@keyframes heroZoomOut { from { transform: scale(1.055); } to { transform: scale(1.02); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 20, 32, .5) 0%, rgba(14, 20, 32, 0) 34%), linear-gradient(180deg, rgba(14, 20, 32, .45) 0%, rgba(14, 20, 32, 0) 18%); }
.hero__panel {
  position: absolute; left: 0; bottom: 0; width: min(660px, 50vw); max-height: calc(100svh - var(--hdr) - 24px);
  background: var(--grad-panel); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-top-right-radius: var(--r-big); color: #fff;
  padding: clamp(34px, 6vh, 64px) clamp(32px, 4.4vw, 72px) clamp(30px, 5.4vh, 56px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; gap: clamp(16px, 2.6vh, 26px);
}
.hero__kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .92; }
.hero__title { font-weight: 500; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.1; letter-spacing: .01em; text-wrap: balance; }
.hero__title em { font-style: normal; font-weight: 300; display: block; }
.hero__text { font-size: clamp(15px, 1.15vw, 18px); max-width: 50ch; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 4px; }
.hero__legend { position: absolute; right: clamp(190px, 15vw, 220px); bottom: clamp(30px, 5vh, 52px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; color: #fff; }
.hero__caption:empty { display: none; }
.hero__caption { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; background: rgba(14, 20, 32, .45); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.hero__bars { display: flex; gap: 6px; }
.hero__bars i { position: relative; width: 36px; height: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; border-radius: 2px; }
.hero__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bars i.is-done::after { transform: none; }
.hero__bars i.is-on::after { animation: heroBar 9s linear forwards; }
@keyframes heroBar { to { transform: none; } }
.slnav { display: inline-flex; align-items: center; gap: 18px; }
.slnav__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; color: #fff; transition: background .3s, color .3s; }
.slnav__btn:hover { background: #fff; color: var(--c-blue); }
.slnav__count { font-size: 14px; letter-spacing: .12em; font-weight: 300; min-width: 64px; text-align: center; }
.slnav__count b { font-weight: 600; }
.hero__scroll { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vh, 36px); width: 150px; height: 150px; color: #fff; text-decoration: none; display: grid; place-items: center; }
.hero__scroll svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
/* L'espacement des lettres est recalculé par main.js pour que le texte fasse exactement le tour du
   cercle ; .17em en est la valeur approchée si le script ne passe pas (à .3em, le texte débordait
   et « Découvrir » chevauchait « Défiler ») */
.hero__scroll svg text { font-size: 12px; letter-spacing: .17em; text-transform: uppercase; fill: currentColor; font-weight: 500; }
.hero__scroll::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); }
.hero__scroll .arrow { position: relative; z-index: 1; }
/* L'aligneur 3D au centre du badge (28/09) : js/accueil3d.js le fait tourner sur lui-même, pendant
   que le texte tourne autour. La toile n'apparaît qu'une fois prête (is-3d) ; sinon, la flèche. */
.hero--accueil .hero__scroll { width: 196px; height: 196px; }
/* Disque intérieur et toile en proportion du badge (128 et 124 px pour 196 px), pour garder le
   même dessin quand le badge rapetisse sur téléphone */
.hero--accueil .hero__scroll::before { width: 65.3%; height: 65.3%; background: radial-gradient(circle, rgba(43, 75, 117, .55), rgba(14, 20, 32, .25)); }
.badge3d { position: absolute; z-index: 1; left: 50%; top: 50%; width: 63.3%; height: 63.3%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero__scroll.is-3d .badge3d { opacity: 1; }
.hero__scroll.is-3d .arrow { opacity: 0; }
/* Sur téléphone aussi (réponse Q38 du 28/09) : le badge passe sous les boutons, centré */
@media (max-width: 900px) {
  .hero--accueil .hero__scroll { display: grid; position: relative; right: auto; bottom: auto; flex: none; width: 164px; height: 164px; margin: -48px auto 64px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Accueil (27/09) : titre centré, posé sur les images sous un voile sombre. L'encadré bleu à
   gauche reste la marque du chapitre 02, pour que les deux écrans ne se ressemblent pas. */
.hero--accueil .hero__media::after { background: radial-gradient(120% 90% at 50% 50%, rgba(14, 20, 32, .5) 0%, rgba(14, 20, 32, .72) 62%, rgba(14, 20, 32, .88) 100%); }
/* Téléphone tenu droit (01/10) : l'image (centre vide, éléments sur les côtés) est cadrée sur sa partie
   droite, le praticien et son écran (choix de Christophe, plutôt qu'une image recomposée en vertical) ;
   le voile se concentre sur la bande du titre au lieu d'assombrir les bords */
@media (max-width: 700px) and (orientation: portrait) {
  .hero--accueil .hero__img:first-of-type img { object-position: 94% 50%; }
  .hero--accueil .hero__media::after { background: linear-gradient(180deg, rgba(14, 20, 32, .3) 0%, rgba(14, 20, 32, .62) 30%, rgba(14, 20, 32, .62) 62%, rgba(14, 20, 32, .3) 82%, rgba(14, 20, 32, .45) 100%); }
}
.hero__centre { position: relative; z-index: 1; margin: auto; width: min(1000px, 100%); padding: calc(var(--hdr) + 48px) clamp(20px, 5vw, 64px) 130px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vh, 26px); }
.hero__centre .hero__kicker { color: var(--c-sky); }
.hero__centre .hero__title { font-size: clamp(38px, 5.2vw, 82px); line-height: 1.04; }
.hero__centre .hero__title::after { content: ""; display: block; width: 72px; height: 2px; margin: clamp(18px, 3vh, 28px) auto 0; background: var(--grad); border-radius: 2px; }
.hero__centre .hero__text { font-size: clamp(16px, 1.3vw, 20px); max-width: 62ch; opacity: .92; }
/* Haut de l'accueil depuis le 28/09 (Q40) : le titre passe à la police des titres, la seconde partie
   en italique bleu ciel ; la ligne d'exercice sous le nom, en minuscules ; une phrase courte. Le
   contenu descend sous le grand bandeau d'en-tête (--hdr-grand). */
.hero--accueil .hero__centre { padding-top: calc(var(--hdr-grand) + 26px); }
.hero--accueil .hero__title { font-family: var(--font-titre); font-weight: 400; letter-spacing: -.015em; font-size: clamp(34px, 4.3vw, 66px); line-height: 1.08; }
/* 04/10 : trois lignes, sans « pour » (« L'orthodontie à l'ère du numérique / un traitement sur mesure / une
   expérience patient repensée ») ; chaque segment est un bloc */
.hero--accueil .hero__title .hero__ligne { display: block; white-space: nowrap; }
/* Taille calée sur la première ligne, la plus longue (14,6 fois la taille de la police, mesuré) : elle tient dans
   la largeur disponible à tous les écrans ; zone du titre élargie à 1180 px */
.hero--accueil .hero__centre { width: min(1180px, 100%); }
.hero--accueil .hero__title { font-size: clamp(18px, min(4.3vw, (min(1180px, 100vw) - 2 * clamp(20px, 5vw, 64px)) / 14.6), 66px); }
@media (max-width: 600px) { .hero--accueil .hero__title { font-size: calc((100vw - 2 * clamp(20px, 5vw, 64px)) / 15.8); } }   /* en petite taille, la ligne fait 15,35 fois la police (mesuré à 390 px) */
.hero--accueil .hero__title em { font-style: italic; font-weight: 400; color: var(--c-sky); }
/* Les couleurs du cabinet sur l'image numérique (29/09, choisi parmi plusieurs dosages : le plus
   léger) : un halo par coin (fuchsia, orange, turquoise, vert), le trait sous le titre en quatre
   couleurs, le cercle du badge en arc-en-ciel. Le centre reste calme. Des variantes plus marquées
   (trames de points, bandes pop art, hologrammes recolorés) ont été montrées et non retenues. */
.pop-coins { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; mix-blend-mode: screen; opacity: .9; }
.pop-coins b { position: absolute; width: 38vmax; height: 38vmax; border-radius: 50%; filter: blur(60px); opacity: .32; }
.pop-coins b:nth-of-type(1) { background: #D81F77; left: -16vmax; top: -14vmax; }
.pop-coins b:nth-of-type(2) { background: #F26B21; left: -18vmax; bottom: -20vmax; }
.pop-coins b:nth-of-type(3) { background: #18B6C4; right: -16vmax; top: -18vmax; }
.pop-coins b:nth-of-type(4) { background: #9BC83B; right: -20vmax; bottom: -18vmax; opacity: .22; }
.hero--accueil .hero__centre .hero__title::after { width: 150px; height: 4px; background: linear-gradient(90deg, #F26B21 0 25%, #D81F77 25% 50%, #18B6C4 50% 75%, #9BC83B 75% 100%); }
.hero--accueil .hero__scroll::before { border: 2px solid transparent; background: radial-gradient(circle, rgba(43, 75, 117, .6), rgba(14, 20, 32, .3)) padding-box, conic-gradient(#F26B21, #D81F77, #18B6C4, #9BC83B, #F26B21) border-box; }
.hero__public { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--c-sky); }
.hero__centre .hero__actions { justify-content: center; }
.hero--accueil .hero__legend { left: 50%; right: auto; transform: translateX(-50%); bottom: 34px; align-items: center; }

/* ---------- Chapitre 02, le praticien et le lieu : la mise en scène de l'accueil ----------
   Les photos du cabinet se relaient en fondu derrière l'encart de présentation ; la galerie des
   treize photos suit, sur le même fond sombre. */
.cabinet { padding: 0 0 clamp(48px, 8vh, 96px); background: var(--ink); justify-content: flex-start; }
.hero--cab { position: relative; min-height: 100svh; display: block; }
.hero--cab .hero__legend { right: auto; left: clamp(24px, 3vw, 48px); align-items: flex-start; }
/* L'encart passe à droite (27/09) : à gauche, il cachait une bonne part des photos du cabinet */
.cab__panel { left: auto; right: 0; width: min(700px, 50vw); max-height: none; gap: clamp(12px, 2vh, 20px); border-top-right-radius: 0; border-top-left-radius: var(--r-big); padding-left: clamp(40px, 4.6vw, 76px); padding-right: clamp(24px, 4vw, 64px); }
.cab__panel .hero__title { font-size: clamp(26px, 2.6vw, 40px); }
.cab__id { display: flex; align-items: center; gap: 20px; }
.cab__portrait { flex: none; width: 150px; height: 172px; object-fit: cover; object-position: 50% 25%; border-radius: 18px 44px 18px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.cab__pos { font-size: 13px; letter-spacing: .06em; font-weight: 500; opacity: .92; margin-top: 6px; }
.cab__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cab__tags span { font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); font-weight: 600; }
.cabinet .gal__note { color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; }
  .hero__panel { position: relative; width: 100%; max-height: none; margin-top: calc(var(--hdr) + 34vh); border-top-right-radius: 80px; padding: 34px 24px 30px; }
  .hero__legend, .hero--cab .hero__legend { left: auto; right: 20px; bottom: auto; top: calc(var(--hdr) + 16px); align-items: flex-end; }
  .cab__panel { border-top-left-radius: 80px; padding: 34px 24px 30px; }
  .hero--accueil .hero__legend { top: auto; bottom: 22px; }
  .hero__centre { padding: calc(var(--hdr) + 32px) 22px 80px; }
  .hero--accueil .hero__centre { padding-top: calc(var(--hdr-grand) + 20px); }
  .cab__panel { width: 100%; }
  .cab__portrait { width: 110px; height: 126px; }
  .hero__scroll { display: none; }
}

/* ---------- Le numérique : panneaux verticaux ----------
   Le 28/09, un essai en bleu nuit avec des titres à l'horizontale n'a pas été retenu : Christophe
   préfère les couleurs. On garde seulement la correction du débordement (overflow: hidden). */
.tech__list { display: flex; height: min(62vh, 620px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tech__item {
  /* overflow: hidden, sinon la photo zoomée au survol débordait de 10 px sur le panneau voisin, sans lavis */
  flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; text-align: left; color: #fff;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 78%, var(--ink)) 0%, color-mix(in srgb, var(--c) 34%, var(--ink)) 100%);
  border-right: 1px solid rgba(255, 255, 255, .12); transition: flex .6s var(--ease);
}
.tech__item:last-child { border-right: 0; }
.tech__item:hover, .tech__item.is-open { flex: 3.4 1 0; }
.tech__item:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff; }
.tech__idx { position: absolute; top: 26px; left: 28px; font-size: 13px; font-weight: 300; letter-spacing: .2em; }
.tech__ico { position: absolute; top: 20px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.tech__name {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: opacity .25s;
}
.tech__item:hover .tech__name, .tech__item.is-open .tech__name { opacity: 0; }
.tech__body { position: absolute; inset: 0; padding: 88px 40px 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; opacity: 0; transform: translateY(16px); transition: opacity .35s .15s, transform .45s .15s var(--ease); }
.tech__item:hover .tech__body, .tech__item.is-open .tech__body { opacity: 1; transform: none; }
.tech__body h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: .02em; line-height: 1.15; }
.tech__body p { font-size: 15px; line-height: 1.6; max-width: 46ch; opacity: .92; }
.tech__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start; }
.sec__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
@media (max-width: 900px) {
  .tech__list { flex-direction: column; height: auto; }
  .tech__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); min-height: 84px; flex: none; }
  .tech__item:hover, .tech__item.is-open { flex: none; }
  .tech__name { position: static; writing-mode: horizontal-tb; transform: none; display: block; padding: 30px 84px 30px 72px; opacity: 1 !important; }
  .tech__idx { top: 32px; left: 24px; }
  .tech__ico { top: 18px; }
  .tech__body { position: static; display: none; opacity: 1; transform: none; padding: 0 24px 28px; }
  .tech__item.is-open .tech__body { display: flex; }
}

/* ---------- Le parcours : liste à gauche, bouche en 3D à droite ----------
   Section d'un écran sur fond clair : l'écran 3D, sombre, s'en détache. La page
   défile normalement (plus de section épinglée de cinq écrans, demande du 27/09) ;
   une étape se choisit en posant la souris sur son titre, ou en le touchant, et la
   bouche la rejoue. Le texte de l'étape s'ouvre sous son titre ; main.js ne compte
   que les vrais mouvements de la souris, pour que la liste qui se décale ne choisisse
   pas l'étape voisine. */
.parcours { --fond: #EDF2F7; background: var(--fond); color: var(--tx); }
.parcours__pin { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.parcours__left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.parcours__left .sec__head { margin-bottom: 0; gap: 10px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.step { position: relative; cursor: pointer; border-radius: 14px; transition: background .3s, box-shadow .3s; }
/* Le fil qui relie les pastilles, coloré jusqu'à l'étape choisie ; il traverse le texte ouvert */
.step::before { content: ""; position: absolute; z-index: 1; left: 31px; top: 27px; bottom: -29px; width: 2px; margin-left: -1px; background: rgba(22, 26, 34, .14); transition: background .3s; }
.step:last-child::before { display: none; }
.step.is-done::before { background: var(--c); }
.step__head { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 10px 14px; border-radius: 12px; color: var(--tx-2); transition: color .3s, background .3s; }
.step__dot { position: relative; z-index: 2; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(22, 26, 34, .22); background: var(--fond); color: var(--tx-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; transition: background .3s, border-color .3s, color .3s; }
.step__title { flex: 1; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.step__head small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; opacity: .75; white-space: nowrap; }
@media (hover: hover) { .step:not(.is-active) .step__head:hover { background: rgba(22, 26, 34, .045); color: var(--tx); } }
.step.is-active { background: #fff; box-shadow: 0 6px 18px rgba(14, 20, 32, .08); }
.step.is-active .step__head { color: var(--tx); }
.step.is-active .step__dot { background: var(--c); border-color: var(--c); color: var(--ink); }
.step.is-done .step__head { color: var(--tx); }
.step.is-done .step__dot { background: #fff; border-color: var(--c); color: var(--c); }
/* Le texte de l'étape s'ouvre juste sous son titre (demande du 27/09) */
/* Le texte ouvert a toujours la hauteur du plus long (--corps, mesurée par main.js) : celui qui se
   ferme et celui qui s'ouvre suivent la même courbe, la liste garde sa hauteur et ne bouge plus. */
.step__body { height: 0; overflow: hidden; opacity: 0; padding: 0 18px 0 62px; transition: height .45s var(--ease), opacity .3s; }
.step.is-active .step__body { height: var(--corps, auto); opacity: 1; }
.step__body p { font-size: 15px; line-height: 1.55; color: var(--tx-2); }
.step__body .lnk { font-size: 13px; margin-top: 10px; }
.step__img { display: none; }

.stage { position: relative; height: clamp(480px, calc(100svh - var(--hdr) - 130px), 720px); border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 38%, #2a3d5c 0%, #142033 58%, #0c1320 100%); box-shadow: 0 30px 70px rgba(14, 20, 32, .28), 0 0 0 1px rgba(14, 20, 32, .06); }
.stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(126, 212, 249, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 212, 249, .11) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(85% 75% at 50% 55%, #000 45%, transparent 95%); pointer-events: none; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.stage.is-ready .stage__canvas { opacity: 1; }
.stage__wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5); transition: opacity .4s; }
.stage.is-ready .stage__wait, .no-3d .stage__wait { opacity: 0; }
/* Sans 3D (pas de WebGL, ou contexte perdu), l'introduction ne promet pas le modèle */
.parcours .sans-3d, .parcours.no-3d .si-3d { display: none; }
.parcours.no-3d .sans-3d { display: inline; }
.stage__fallback { position: absolute; inset: 0; display: none; }
.no-3d .stage__fallback { display: block; }
.stage__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.stage[data-seg="0"] .stage__fallback img:nth-child(1), .stage[data-seg="1"] .stage__fallback img:nth-child(2), .stage[data-seg="2"] .stage__fallback img:nth-child(3),
.stage[data-seg="3"] .stage__fallback img:nth-child(4), .stage[data-seg="4"] .stage__fallback img:nth-child(5) { opacity: 1; }
.stage__label { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 12px; align-items: baseline; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.stage__label b { font-size: 24px; font-weight: 300; letter-spacing: .04em; color: #fff; }

/* Surcouches de l'écran 3D, une par étape */
.ui { position: absolute; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .5s var(--ease); pointer-events: none; }
.stage[data-seg="1"] .ui--scan, .stage[data-seg="2"] .ui--plan, .stage[data-seg="2"] .ui--tags,
.stage.show-phone .ui--phone, .stage[data-seg="4"] .ui--note { opacity: 1; transform: none; }
.no-3d .ui { display: none; }
.ui--scan, .ui--note { left: 22px; top: 20px; background: rgba(14, 20, 32, .72); border: 1px solid rgba(126, 212, 249, .4); border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ui--scan { min-width: 260px; left: auto; top: auto; right: 22px; bottom: 20px; }
.ui--scan span { display: block; opacity: .8; }
.ui--scan b { display: block; font-size: 28px; font-weight: 300; letter-spacing: .02em; margin: 2px 0 8px; }
.ui--scan i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.ui--scan u { display: block; height: 100%; width: var(--scan, 0%); background: var(--c-sky); }
.ui--plan { left: 22px; top: 20px; width: 270px; background: rgba(245, 248, 251, .95); color: var(--tx); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.ui__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #e3eaf2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--tx-2); }
.ui__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-orange); }
.ui__bar i:nth-child(2) { background: var(--c-lime); }
.ui__bar i:nth-child(3) { background: var(--c-sky); }
.ui__bar span { margin-left: 8px; }
.ui__count { padding: 10px 14px 2px; font-size: 13px; letter-spacing: .06em; }
.ui__count b { font-size: 30px; font-weight: 300; color: var(--c-deep); }
.ui__legend { padding: 2px 14px 12px; font-size: 12px; color: var(--tx-2); display: flex; gap: 8px; align-items: center; }
.ui__legend i { width: 18px; height: 2px; background: var(--c-orange); }
.ui--tags { inset: 0; transform: none; }
/* Trois dents voisines : les étiquettes montent en escalier pour ne pas se chevaucher */
.ui--tags .tag {
  --lift: 18px;
  position: absolute; left: 0; top: 0; transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, calc(-100% - var(--lift) - 4px));
  background: rgba(14, 20, 32, .82); border: 1px solid rgba(242, 107, 33, .55); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 11px; border-radius: 8px;
  backdrop-filter: blur(8px); white-space: nowrap; opacity: 0; transition: opacity .35s;
}
.ui--tags .tag:nth-child(2) { --lift: 62px; }
.ui--tags .tag:nth-child(3) { --lift: 106px; }
.ui--tags .tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--lift); background: rgba(242, 107, 33, .8); }
.ui--tags .tag::before { content: ""; position: absolute; left: 50%; top: calc(100% + var(--lift)); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 0 4px rgba(242, 107, 33, .25); }
.ui--tags .tag.is-on { opacity: 1; }
.ui--phone { right: 24px; bottom: 22px; }
.phone { width: 212px; border-radius: 30px; background: #0b1018; border: 6px solid #202b3c; padding: 18px 14px 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); color: #fff; font-size: 12.5px; }
.phone__app { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-sky); font-weight: 600; }
.phone__day { font-size: 15px; font-weight: 600; margin: 4px 0 12px; }
.phone__list { list-style: none; display: grid; gap: 8px; }
.phone__list li { display: flex; gap: 8px; align-items: center; opacity: .25; transition: opacity .35s; }
.phone__list li::before { content: "✓"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-lime); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.phone__list li.is-on { opacity: 1; }
.phone__go { margin-top: 14px; padding: 9px 10px; border-radius: 10px; background: var(--grad); font-weight: 600; opacity: .25; transition: opacity .35s; }
.phone__go.is-on { opacity: 1; }
.ui--note { border-color: rgba(216, 31, 119, .5); }
.ui__note-b { display: none; }
.stage.is-smile .ui__note-a { display: none; }
.stage.is-smile .ui__note-b { display: inline; }

@media (max-height: 820px) {
  .step__head { padding-block: 8px; }
  .step__body p { font-size: 14px; }
}
@media (max-width: 900px) {
  .parcours__pin { grid-template-columns: 1fr; }
  .stage { display: none; }

  /* Sans 3D : les cinq étapes empilées, chacune avec sa photo */
  .parcours.no-3d .steps { display: flex; flex-direction: column; gap: 12px; }
  .parcours.no-3d .step { display: block; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
  .parcours.no-3d .step__head { color: var(--tx); background: none; box-shadow: none; }
  .parcours.no-3d .step::before { display: none; }
  .parcours.no-3d .step__dot { background: var(--c); border-color: var(--c); color: var(--ink); }
  /* 08/11 : chaque case reste fermée jusqu'au premier toucher, qui la déplie ; le second ouvre le chapitre */
  .parcours.no-3d .step__body { padding: 0 14px; }
  .parcours.no-3d .step.is-active .step__body { height: auto; opacity: 1; padding: 0 14px 16px; }
  .parcours.no-3d .step__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin: 2px 0 12px; }

  /* Avec la 3D : l'écran en haut, les cinq titres dessous, puis l'encart de l'étape touchée */
  .parcours.has-3d .parcours__pin { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .parcours.has-3d .parcours__left { display: contents; }
  .parcours.has-3d .sec__head { order: 0; }
  .parcours.has-3d .stage { order: 1; display: block; flex: none; height: min(52svh, 92vw); }
  .parcours.has-3d .steps { order: 2; }
  .parcours.has-3d .step__head { padding: 8px 12px; }
  .parcours.has-3d .step::before { left: 29px; top: 25px; bottom: -27px; }
  .parcours.has-3d .step__body { padding: 0 14px 0 56px; }
  /* Sur téléphone, les mentions en capitales faisaient passer les titres sur deux lignes */
  @media (max-width: 600px) { .parcours.has-3d .step__head small { display: none; } }
  .parcours.has-3d .step__body p { font-size: 14.5px; line-height: 1.5; }
  .parcours.has-3d .stage__label { display: none; }
  .parcours.has-3d .ui--scan { min-width: 0; right: 10px; bottom: 10px; padding: 8px 12px; font-size: 9.5px; }
  .parcours.has-3d .ui--scan b { font-size: 20px; margin: 0 0 6px; }
  .parcours.has-3d .ui--plan { left: 10px; top: 10px; width: 190px; }
  .parcours.has-3d .ui__count { padding: 6px 12px 0; }
  .parcours.has-3d .ui__count b { font-size: 22px; }
  .parcours.has-3d .ui__legend { padding: 0 12px 8px; }
  .parcours.has-3d .ui--note { left: 10px; top: 10px; padding: 8px 12px; font-size: 9.5px; }
  .parcours.has-3d .ui--phone { right: 8px; bottom: 8px; transform-origin: bottom right; }
  .parcours.has-3d .stage.show-phone .ui--phone { transform: scale(.7); }
  .parcours.has-3d .ui--tags .tag { font-size: 10.5px; padding: 5px 8px; }
}

/* ---------- Les soins : quatre orientations ---------- */
.orient__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.orient__item {
  text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 12px; min-height: 340px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.orient__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.orient__ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 6px; }
.orient__age { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--c); }
.orient__item h3 { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.orient__item p { font-size: 15px; color: var(--tx-2); line-height: 1.6; }
.orient__item .lnk { margin-top: auto; font-size: 14px; color: var(--tx); }
/* Au passage de la souris, la case survolée s'élargit et les autres lui font de la place (27/09) */
@media (min-width: 1101px) and (hover: hover) {
  .orient__grid { display: flex; }
  .orient__item { flex: 1 1 0; min-width: 0; transition: flex-grow .6s var(--ease), box-shadow .35s, border-color .35s; }
  .orient__grid:hover .orient__item { flex-grow: .78; }
  .orient__grid .orient__item:hover, .orient__grid .orient__item:focus-visible { flex-grow: 1.8; transform: none; }
  .orient__item .orient__img { transition: transform .6s var(--ease); }
  .orient__item:hover .orient__img { transform: scale(1.02); }
}
@media (max-width: 1100px) { .orient__grid { grid-template-columns: repeat(2, 1fr); } .orient__item { min-height: 0; } }
@media (max-width: 600px) { .orient__grid { grid-template-columns: 1fr; } }

/* ---------- Autour des aligneurs : trois volets ---------- */
.split { padding-block: calc(var(--hdr) + 32px) 40px; }
.split__list { display: flex; height: min(66vh, 680px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.split__side {
  position: relative; flex: 1 1 0; min-width: 0; color: #fff; cursor: pointer; overflow: hidden;
  background: linear-gradient(200deg, color-mix(in srgb, var(--c) 70%, var(--ink)) 0%, var(--ink) 95%);
  border-right: 1px solid rgba(255, 255, 255, .1); transition: flex .65s var(--ease);
}
.split__side:last-child { border-right: 0; }
.split__side.is-active { flex: 2.5 1 0; }
.split__over { position: absolute; inset: 0; padding: 40px 34px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .35s, transform .5s var(--ease); }
.split__idx { font-size: 13px; letter-spacing: .2em; font-weight: 300; }
.split__over h2 { font-family: var(--font-titre); font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.005em; line-height: 1.1; }
.split__over .sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; opacity: .85; }
.split__side.is-active .split__over { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.split__content { position: absolute; inset: 0; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0; transform: translateY(14px); transition: opacity .45s .2s, transform .55s .2s var(--ease); }
.split__side.is-active .split__content { opacity: 1; transform: none; }
.split__content .t-kicker { color: var(--c-sky); }
.split__content .t-kicker b { color: #fff; }
.split__content h2 { font-family: var(--font-titre); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
.split__content p { font-size: 15px; line-height: 1.65; max-width: 56ch; opacity: .92; }
.figs { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-block: 6px; }
.fig { display: flex; flex-direction: column; gap: 2px; }
.fig b { font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: .01em; line-height: 1; }
.fig span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 500; }
.split__content .btn { align-self: flex-start; margin-top: 6px; }
.lexique { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.lexique > span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--tx-2); margin-right: 8px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--c-blue)); }
.chip:hover { border-color: var(--c-blue); background: var(--paper-2); transform: translateY(-2px); }
@media (max-width: 900px) {
  .split__list { flex-direction: column; height: auto; }
  .split__side { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); min-height: 120px; flex: none; }
  .split__side.is-active { flex: none; }
  .split__over { position: static; padding: 24px; }
  .split__side.is-active .split__over { display: none; }
  .split__content { position: static; display: none; padding: 24px; }
  .split__side.is-active .split__content { display: flex; }
}

/* ---------- Le cabinet et le praticien ----------
   Le portrait en grand à côté du texte, puis les photos du cabinet
   en bande pleine largeur qui défile, à la manière du site Maillard. */
.cabinet { justify-content: flex-start; padding-bottom: clamp(48px, 8vh, 88px); }
.cab__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.doc { display: flex; flex-direction: column; gap: 14px; }
.doc__photo { margin: 0; aspect-ratio: 8 / 9; border-radius: var(--r) var(--r-big) var(--r) var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.doc__type { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--c-deep); }
.doc__name { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.1; }
.doc__pos { font-size: 14px; letter-spacing: .06em; color: var(--tx-2); font-weight: 500; }
.doc p { font-size: 15.5px; color: var(--tx-2); line-height: 1.65; }
.doc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.doc__tags span { font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--tx); font-weight: 600; }
.doc .lnk { margin-top: 8px; }
.gal { --gutter: max(clamp(20px, 5vw, 64px), calc((100vw - 1320px) / 2 + 64px)); position: relative; margin-top: clamp(40px, 7vh, 80px); }
.gal__track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track:focus-visible { outline: none; }
.gal__track figure { flex: none; height: min(68vh, 660px); position: relative; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.gal__track figure.is-l { aspect-ratio: 3 / 2; }
.gal__track figure.is-p { aspect-ratio: 2 / 3; }
.gal__track figure:first-child { border-top-right-radius: var(--r-big); }
.gal__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__track figure:hover img { transform: scale(1.03); }
.gal__track figcaption { position: absolute; left: 20px; bottom: 18px; background: rgba(255, 255, 255, .9); color: var(--tx); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; }
.gal__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 20px; }
.gal__nav .slnav__btn { border-color: var(--line); color: var(--tx); }
.gal__nav .slnav__btn:hover { background: var(--c-blue); color: #fff; }
.gal__nav .slnav__count { color: var(--tx-2); }
/* La galerie est sur le fond sombre du chapitre 02 : flèches et compteur en clair (28/09, ils étaient
   gris foncé sur bleu nuit, donc invisibles) */
.cabinet .gal__nav .slnav__btn { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); }
.cabinet .gal__nav .slnav__btn:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.cabinet .gal__nav .slnav__count { color: rgba(255, 255, 255, .82); }
.gal__note { font-size: 14px; color: var(--tx-2); max-width: 46ch; }
@media (max-width: 900px) {
  .cab__grid { grid-template-columns: 1fr; }
  .doc__photo { aspect-ratio: 4 / 3; border-top-right-radius: 80px; }
  /* 08/11 : chaque photo prend la largeur de l'écran, entière, au lieu d'une hauteur fixe qui la faisait déborder */
  .gal__track figure { height: auto; width: calc(100vw - 2 * var(--gutter)); }
  .gal__nav { flex-direction: column; align-items: flex-start; }
}

/* ---------- Le journal ---------- */
.journal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
/* Six colonnes : trois cartes par rangée, et les deux dernières des cinq se partagent la rangée du bas */
.journal__grid > .post:not(.post--une) { grid-column: span 2; }
.post { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; text-align: left; color: #fff; transition: background .35s, transform .4s var(--ease), border-color .35s; }
.post:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.post__cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--c); }
.post h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.post p { font-size: 15px; line-height: 1.6; opacity: .78; }
.post__meta { margin-top: auto; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
/* Chaque carte est un lien vers l'article, qui s'ouvre en fenêtre ; la première est « à la une » */
a.post { text-decoration: none; }
.post__txt { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post--une { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; min-height: 0; }
.post--une .post__img { aspect-ratio: auto; min-height: 320px; margin: -8px 0 -8px -8px; }
.post--une .post__txt { justify-content: center; padding-block: 8px; }
.post--une h3 { font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: .01em; }
.post--une p { font-size: 16.5px; max-width: 46ch; }
.post--une .post__meta { margin-top: 10px; gap: 24px; justify-content: flex-start; }
@media (max-width: 1000px) {
  .journal__grid { grid-template-columns: 1fr; }
  .journal__grid > .post:not(.post--une), .journal__grid > .post:not(.post--une):nth-last-child(-n+2) { grid-column: auto; }
  .post { min-height: 0; }
  .post--une { display: flex; }
  .post--une .post__img { min-height: 0; aspect-ratio: 16 / 9; margin: -8px -8px 4px; }
}

/* ---------- Le journal sur le mur graffé du cabinet (29/09) ----------
   Image générée d'après la décoration (outils/generer-fonds-chapitres.py). Le chapitre est bien plus
   haut qu'un écran : étirée, l'image perdait ses fresques des côtés. La vue (.deco-mur__vue) fait la
   hauteur de l'écran et reste collée pendant qu'on parcourt le chapitre ; le mur couvre ainsi toute la
   hauteur du journal. Un voile plus sombre à gauche garde le titre lisible ; les cartes sont opaques. */
#journal { isolation: isolate; }
.deco-mur { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.deco-mur__vue { position: sticky; top: 0; height: 100vh; height: 100svh; background: var(--ink) url(../assets/img/fond-journal-mur-1920.webp) center / cover no-repeat; }
.deco-mur__vue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 32, .74) 0%, rgba(14, 20, 32, .4) 40%, rgba(14, 20, 32, .18) 70%, rgba(14, 20, 32, .32) 100%); }
#journal .post { background: rgba(14, 20, 32, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#journal .post:hover { background: rgba(22, 32, 50, .9); }
#journal .videos { background: rgba(14, 20, 32, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 900px) {
  /* Écran en hauteur : on garde la fresque de droite et l'aligneur, sous un voile plus égal */
  .deco-mur__vue { background-image: url(../assets/img/fond-journal-mur-1100.webp); background-position: 88% center; }
  .deco-mur__vue::after { background: rgba(14, 20, 32, .5); }
}

/* ---------- Zone patients ---------- */
/* Le collage pop art du cabinet (01/10/2026) : le collage « numérique » recomposé en L autour du coin
   arrondi de la photo (labo/fonds/collage-patients-bureau-3.png, outils/preparer-collage-patients.py).
   Il est accroché au coin de la photo : le coin de sa zone vide (u = 0,6332, v = 0,3997 de l'image)
   tombe sur celui de la photo, et un liseré couleur papier (.pat__scene::after) redessine la même
   courbe à --jeu pixels. Ses bords s'effacent (masques) ; l'écran et la caméra restent sous l'en-tête
   et au-dessus du liseré de 900 à 2560 px. Sur téléphone, la photo descend (marge haute) pour laisser
   la bande du collage passer sous le titre, jamais derrière. */
/* 01/10, après avis : plus de liseré, « le graffiti doit sortir de la photo ». Le collage est prolongé vers
   le bas (outils/etendre-collage-patients.py : la bande de droite descend puis se dissout dans le papier)
   et sa zone vide est glissée sous la photo (--dx à gauche, --dy en bas) : l'arrondi de cette zone étant
   plus petit que celui de la photo (120 px), sans ce décalage un croissant de papier restait visible dans
   le coin. --dx est le plus petit décalage qui cache ce croissant (calculé par largeur de collage). */
/* overflow-x: clip : le collage dépasse à droite de l'écran ; sur téléphone, le body seul ne suffisait pas (la
   page faisait 461 px de large pour un écran de 390, mesuré le 01/10) */
#patients { isolation: isolate; overflow-x: clip; background: #FBF8F4; }
.pat__scene { --cw: clamp(960px, 76vw, 1100px); --dx: 38px; --dy: 6px; position: relative; margin-bottom: clamp(28px, 4vh, 48px); }
.pat__scene .pat__band { margin-bottom: 0; }
.pat__scene::before { content: ""; position: absolute; pointer-events: none; z-index: -1; width: var(--cw); aspect-ratio: 2000 / 1581;
  right: calc(var(--cw) * -.3668 + var(--dx)); top: calc(var(--cw) * -.2230 + var(--dy));
  background: url(../assets/img/collage-patients-2000.webp) center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 10%, #000 34%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 6%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 10%, #000 34%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 6%);
  mask-composite: intersect; }
/* Quelques éclaboussures en haut à gauche, dans la marge, à gauche du surtitre */
#patients::before { content: ""; position: absolute; z-index: -1; pointer-events: none; --tw: clamp(44px, calc(var(--g) - 22px), 130px);
  width: var(--tw); aspect-ratio: 1; left: max(4px, calc(var(--g) - var(--tw) - 12px)); top: calc(var(--hdr) + 24px);
  background: url(../assets/img/touches/eclats-a.webp) center / contain no-repeat; }
@media (max-width: 900px) {
  .pat__scene { --cw: 78vw; --dx: 60px; }
  .pat__scene::before { background-image: url(../assets/img/collage-patients-1100.webp); }
  #patients::before { --tw: 40px; left: 8px; top: calc(var(--hdr) - 2px); }
}
@media (max-width: 560px) {
  /* La marge haute se confond avec celle du titre (marges fusionnées) : elle doit couvrir à elle seule la
     hauteur du collage au-dessus du coin (0,223 de sa largeur), plus un peu d'air sous le titre */
  .pat__scene { --cw: 108vw; --dx: 64px; margin-top: calc(var(--cw) * .223 + 6px); }
}
.pat__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; margin-bottom: clamp(32px, 5vh, 56px); }
.cta { border-radius: var(--r); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
/* Bleu nuit depuis le 28/09 : sur l'ancien dégradé bleu ciel, le texte blanc se lisait mal, et le
   bouton plein du rendez-vous ne s'en détachait pas */
.cta--fill { background: radial-gradient(120% 160% at 100% 0%, rgba(46, 155, 215, .38) 0%, rgba(46, 155, 215, 0) 55%), linear-gradient(120deg, #1B3557 0%, var(--ink) 100%); color: #fff; border-radius: var(--r) 80px var(--r) var(--r); }
.cta--line { border: 1px solid var(--line); background: var(--paper); }
.cta h3 { font-family: var(--font-titre); font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
.cta p { font-size: 15.5px; line-height: 1.6; }
.cta--fill p { opacity: .95; }
.cta--line p { color: var(--tx-2); }
.cta .btn { align-self: flex-start; margin-top: auto; }
/* Zone patients : un bloc par ligne, sur toute la largeur ; le texte à gauche, les boutons à droite */
.pat__top .cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 5vw, 72px); row-gap: 14px; align-items: center; }
.pat__top .cta h3, .pat__top .cta p { grid-column: 1; }
.pat__top .cta p { max-width: 72ch; }
.cta__btns { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; max-width: 420px; }
.cta__btns .btn { margin-top: 0; }
.cta__btns .btn:first-child { flex-basis: 100%; }
.btn--ghost { border-color: var(--line); color: var(--tx-2); flex: 1; }
.acces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.acces > div span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 300; margin-bottom: 12px; color: var(--tx-2); }
/* Zone patients en couleur (28/09, « on est juste blanc et bleu ») : chaque information pratique
   prend une couleur du cabinet, en trait au-dessus de son titre, sur son titre et sur ses liens */
.acces > div { --c: var(--c-blue); }
.acces > div:nth-child(1) { --c: var(--c-orange); }
.acces > div:nth-child(2) { --c: var(--c-turq); }
.acces > div:nth-child(3) { --c: var(--c-lime); }
.acces > div:nth-child(4) { --c: var(--c-magenta); }
.acces > div::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 16px; }
.acces > div > span { color: color-mix(in srgb, var(--c) 68%, var(--ink)); font-weight: 600; }
.acces a { color: color-mix(in srgb, var(--c) 60%, var(--ink)); }
.acces a:hover { color: var(--c); }
/* Les patients déjà suivis : le jaune de l'application Dentapoche et son logo (28/09 ; le magenta
   essayé juste avant n'a pas plu). Texte foncé sur le jaune (contraste de 11), boutons foncés. */
.cta--poche {
  border: 0; color: var(--tx); border-radius: var(--r) var(--r) var(--r) 80px;
  background: radial-gradient(110% 150% at 100% 0%, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(120deg, #FFCB4C 0%, #F9A823 100%);
}
.cta--poche h3 { display: flex; align-items: center; gap: 18px; }
.poche__ico { flex: none; display: block; width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 10px 22px rgba(150, 90, 0, .3); }
.poche__ico svg { display: block; width: 100%; height: 100%; }
.cta--poche p { color: rgba(22, 26, 34, .86); }
.cta--poche .btn { color: #fff; background: var(--ink); border-color: var(--ink); }
.cta--poche .btn::before { background: #2A3446; }
.cta--poche .btn:hover { color: #fff; }
.cta--poche .btn--ghost { color: var(--ink); background: transparent; border-color: rgba(22, 26, 34, .55); }
.cta--poche .btn--ghost::before { background: var(--ink); }
.cta--poche .btn--ghost:hover { color: #fff; border-color: var(--ink); }
.acces p, .acces a { font-size: 17px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.acces a:hover { color: var(--c-deep); }
.acces .small { font-size: 14px; color: var(--tx-2); font-weight: 400; margin-top: 6px; }
.hours { list-style: none; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
@media (max-width: 900px) {
  .pat__top .cta { grid-template-columns: 1fr; }
  .cta__btns { grid-column: 1; grid-row: auto; justify-content: flex-start; max-width: none; }
  .cta__btns .btn { min-width: 0; padding: 0 18px; letter-spacing: .1em; }
  .cta__btns .btn:first-child { white-space: normal; height: auto; min-height: 54px; padding-block: 12px; text-align: center; line-height: 1.3; }
  .acces { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .acces { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 28px; font-size: 13px; color: var(--tx-2); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--c-deep); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Fenêtres de chapitre ---------- */
.dlg { border: 0; padding: 0; background: transparent; max-width: min(1180px, 94vw); width: 100%; max-height: min(88vh, 940px); height: min(88vh, 940px); margin: auto; color: var(--tx); }
.dlg::backdrop { background: rgba(14, 20, 32, .6); backdrop-filter: blur(14px); }
.dlg[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
/* Une seule zone de lecture (28/09) : le cadre défile d'un bloc, et l'en-tête de la fenêtre (photo,
   titre, chapeau, chiffres clés, sommaire) passe au-dessus du texte. Avant, deux colonnes
   défilaient chacune de son côté, et les chiffres clés de la colonne de gauche étaient coupés.
   --marge aligne l'en-tête et le texte sur une même colonne de lecture, centrée. */
.dlg__frame { --col: 800px; --marge: max(clamp(20px, 5vw, 72px), calc((100% - var(--col)) / 2)); display: block; height: 100%; background: var(--paper); border-radius: var(--r); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; box-shadow: var(--shadow); position: relative; }
.dlg__aside { background: linear-gradient(200deg, color-mix(in srgb, var(--c, var(--c-blue)) 78%, var(--ink)) 0%, var(--ink) 100%); color: #fff; padding: clamp(40px, 7vh, 72px) var(--marge) 30px; display: flex; flex-direction: column; gap: 16px; }
.dlg__aside .t-kicker { color: var(--c-sky); }
.dlg__aside .t-kicker b { color: #fff; }
.dlg__aside h2, .dlg__aside h1 { font-family: var(--font-titre); font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }

/* ---------- Pages de chapitre, aux adresses de l'ancien site (outils/generer-pages.py) ----------
   Même cadre que les fenêtres, posé dans la page : l'en-tête en haut, puis le texte. */
.page-chap { padding-top: var(--hdr); background: var(--paper); }
.page-chap .dlg__frame { height: auto; min-height: calc(100svh - var(--hdr)); border-radius: 0; box-shadow: none; overflow: visible; }
.page-chap .dlg__body h3, .page-chap .dlg__body h2.h-sec { scroll-margin-top: calc(var(--hdr) + 20px); }
.page-chap .dlg__body table { max-width: 100ch; }
@media (max-width: 820px) { .page-chap .dlg__body { overflow-x: auto; } }
.dlg__aside .lead { font-size: clamp(16px, 1.3vw, 18px); opacity: .92; line-height: 1.6; max-width: 62ch; }
/* Les chiffres clés en bandeau, puis le sommaire en pastilles */
.dlg__aside .figs { order: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 32px; margin: 6px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 20px; }
.dlg__toc { order: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dlg__toc a { text-decoration: none; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(14, 20, 32, .28); transition: background .2s, border-color .2s; }
.dlg__toc a:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .65); }
.dlg__toc a i { font-style: normal; font-size: 11px; letter-spacing: .1em; opacity: .7; }
.dlg__body:focus { outline: none; }
.dlg__body { padding: clamp(28px, 4vw, 48px) var(--marge) 64px; }
/* h2.h-sec : intertitres des pages générées (h3 dans les fenêtres, passés en h2 pour Google) */
.dlg__body h3, .dlg__body h2.h-sec { font-size: 21px; font-weight: 600; margin: 34px 0 12px; letter-spacing: .01em; scroll-margin-top: 20px; display: flex; gap: 14px; align-items: baseline; }
.dlg__body h3 i, .dlg__body h2.h-sec i { font-style: normal; font-size: 12px; letter-spacing: .16em; font-weight: 500; color: var(--c, var(--c-blue)); }
.dlg__body h3:first-of-type, .dlg__body h2.h-sec:first-of-type { margin-top: 0; }
.dlg__body p { font-size: 16.5px; line-height: 1.7; color: var(--tx); margin-bottom: 14px; max-width: 70ch; }
.dlg__body .intro { font-size: 19px; line-height: 1.6; color: var(--tx-2); margin-bottom: 28px; }
.dlg__body ul, .dlg__body ol { padding-left: 1.2em; margin: 0 0 16px; max-width: 70ch; }
.dlg__body li { font-size: 16px; line-height: 1.65; margin-bottom: 6px; }
.dlg__body li::marker { color: var(--c, var(--c-blue)); }
.dlg__body table { border-collapse: collapse; width: 100%; max-width: 70ch; font-size: 15px; margin: 0 0 20px; }
/* Liens d'étape écrits en dur : pour les pages aux anciennes adresses ; dans une fenêtre, main.js les recrée selon le chapitre d'origine */
dialog .lnk--etape { display: none; }
.dlg__etapes + .dlg__links { margin-top: 0; }
.dlg__body th, .dlg__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
/* Parcours du praticien (04/10) : une formation par ligne, date en couleur sur sa colonne, sans coupure ;
   sur téléphone, la date passe au-dessus de l'intitulé */
.dlg__body .parcours-dates td:first-child { white-space: nowrap; width: 1%; padding-right: 22px; font-weight: 600; color: var(--c, var(--c-blue)); }
@media (max-width: 600px) {
  .dlg__body .parcours-dates tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dlg__body .parcours-dates td { display: block; padding: 0; border: 0; width: auto; }
  .dlg__body .parcours-dates td:first-child { margin-bottom: 2px; }
}
.dlg__body th { font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.note { background: color-mix(in srgb, var(--c, var(--c-blue)) 10%, #fff); border-left: 3px solid var(--c, var(--c-blue)); border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 28px 0 20px; max-width: 70ch; }
.note h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; color: var(--c-deep); }
.note ul { margin: 0; }
.note li { font-size: 15.5px; }
/* Un service à mettre en avant : l'encadré plein, à ne pas confondre avec « Ce qu'il faut retenir » */
.note--offre { background: var(--c, var(--c-blue)); border-left: 0; border-radius: 14px; }
.note--offre h4, .note--offre li { color: #fff; }
.note--offre li::marker { color: #fff; }
.note--offre li::before { background: #fff; color: #fff; }
.refs { font-size: 13.5px; color: var(--tx-2); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; max-width: 70ch; }
.refs h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.refs li { font-size: 13.5px; line-height: 1.55; margin-bottom: 8px; }
.refs li em { color: var(--tx); font-style: normal; }
.dlg__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
/* La croix est le premier élément du cadre : collée en haut quand le cadre défile, et la marge
   négative l'empêche de pousser l'en-tête vers le bas */
.dlg__close { position: sticky; top: 14px; margin: 14px 14px -60px auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(14, 20, 32, .18); display: grid; place-items: center; color: var(--tx); transition: background .3s, color .3s, transform .3s var(--ease); z-index: 5; }
.dlg__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

/* Images dans les chapitres : une couverture, puis des figures au fil du texte */
.dlg__cover { position: relative; margin: 0 0 30px; aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.dlg__cover img { width: 100%; height: 100%; object-fit: cover; }
.dlg__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 20, 32, .78) 0%, rgba(14, 20, 32, .35) 34%, rgba(14, 20, 32, 0) 58%); }
.dlg__cover figcaption { position: absolute; left: 20px; right: 70px; bottom: 16px; z-index: 1; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.45; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.dlg__fig { margin: 10px 0 24px; max-width: 70ch; }
.dlg__fig img { width: 100%; height: auto; border-radius: 14px; background: var(--paper-2); }
.dlg__fig figcaption, .dlg__duo figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--tx-2); }
.dlg__fig--narrow { max-width: 460px; }
/* 15/11 : les images suivent la colonne de texte. Leur largeur maximale (70ch) se calculait sur une police
   plus petite que celle des paragraphes (16,5 px) : elles s'arrêtaient avant la fin du texte, collées à gauche.
   Même police de référence, donc même colonne ; les images étroites sont centrées dessus. */
.dlg__body .dlg__fig, .dlg__body .dlg__duo, .dlg__body .dlg__side, .dlg__body .savoir, .dlg__body .vid--cartes { font-size: 16.5px; max-width: 70ch; }
.dlg__body > .dlg__fig--narrow { max-width: 460px; margin-left: max(0px, calc((min(100%, 70ch) - 460px) / 2)); }
.dlg__body > .dlg__fig--phone { max-width: 230px; margin-left: max(0px, calc((min(100%, 70ch) - 230px) / 2)); }
.dlg__body > .dlg__fig--narrow figcaption, .dlg__body > .dlg__fig--phone figcaption { text-align: center; }
.dlg__fig--phone { max-width: 230px; }
.dlg__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 24px; max-width: 70ch; }
.dlg__duo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--paper-2); }
.dlg__duo--portraits img { aspect-ratio: 4 / 5; }
.dlg__duo--mixed { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); align-items: start; }
.dlg__duo--mixed .is-phone img { aspect-ratio: auto; object-fit: contain; }
.dlg__side { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; max-width: 70ch; margin-bottom: 16px; }
.dlg__side .dlg__fig { margin: 4px 0 0; }
@media (max-width: 640px) {
  .dlg__duo, .dlg__side, .dlg__duo--mixed { grid-template-columns: 1fr; }
  .dlg__side .dlg__fig--phone { max-width: 200px; }
}
/* Chapitre 07 : le bandeau des vidéos, titre en haut, onze miniatures qui défilent dessous */
.videos { margin-top: clamp(40px, 6vh, 72px); display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line-dark); border-radius: var(--r); background: linear-gradient(135deg, rgba(126, 212, 249, .12), rgba(255, 255, 255, .03)); }
.videos__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.videos__txt { display: flex; flex-direction: column; gap: 12px; max-width: 64ch; }
.videos__txt h3 { font-family: var(--font-titre); font-size: clamp(28px, 2.8vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.videos__txt > p:not(.t-kicker) { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.videos__nav { display: flex; align-items: center; gap: 10px; }
.videos__fl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
.videos__fl:hover:not(:disabled) { background: rgba(255, 255, 255, .1); border-color: var(--c-sky); }
.videos__fl:disabled { opacity: .3; cursor: default; }
.videos__bande { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.videos__bande::-webkit-scrollbar { display: none; }
.videos__bande li { scroll-snap-align: start; }
.vcard { display: flex; flex-direction: column; gap: 12px; color: #fff; text-decoration: none; }
.vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0c1320; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.vcard:hover .vcard__img img, .vcard:focus-visible .vcard__img img { transform: scale(1.05); }
.vcard__play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-deep); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.vcard__play svg { margin-left: 2px; }
.vcard:hover .vcard__play { transform: scale(1.1); }
.vcard__t { font-size: 15px; font-weight: 500; line-height: 1.35; }
@media (max-width: 1000px) { .videos__bande { grid-auto-columns: calc((100% - 18px) / 2.3); } }
@media (max-width: 600px) { .videos__bande { grid-auto-columns: 80%; } .videos__fl { display: none; } }
.vid { list-style: none; display: grid; gap: 10px; max-width: 70ch; margin-bottom: 20px; }
.vid a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .3s, background .3s; }
.vid a:hover { border-color: var(--c-blue); background: var(--paper-2); }
.vid a svg { flex: none; color: var(--c-blue); }
/* Vidéos de la chaîne du praticien dans un chapitre (15/11) : les cartes du chapitre 07, sur fond clair */
.vid--cartes { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vid--cartes a.vcard { display: flex; padding: 0; border: 0; color: var(--tx); }
.vid--cartes a.vcard:hover { background: none; }
.vid--cartes .vcard__img { box-shadow: 0 8px 20px rgba(14, 20, 32, .16); }
.vid--cartes .vcard__play svg { color: var(--c-deep); }
.vid--cartes .vcard__t { font-size: 14.5px; }
@media (max-width: 700px) { .vid--cartes { grid-template-columns: 1fr; } }
.vid--vignettes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: none; }
.vid--vignettes a { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 10px 14px; height: 100%; }
.vid--vignettes img { width: 100%; height: auto; max-height: none; margin: 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }
.vid--vignettes span { padding: 0 4px; line-height: 1.35; }
@media (max-width: 600px) { .vid--vignettes { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .dlg { max-width: 100vw; width: 100vw; height: 100dvh; max-height: 100dvh; }
  .dlg__frame { border-radius: 0; }
  .dlg__aside { padding: 30px 20px 20px; gap: 12px; }
  .dlg__aside .figs { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 20px; padding-top: 14px; }
  .dlg__aside .fig b { font-size: 20px; }
  /* Sur téléphone, le sommaire tient sur une ligne qui glisse sous le doigt */
  .dlg__toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 4px; scrollbar-width: none; }
  .dlg__toc::-webkit-scrollbar { display: none; }
  .dlg__toc a { white-space: nowrap; }
  .dlg__body { padding: 24px 20px 48px; }
}

/* ---------- Photos du cabinet en habillage ----------
   Chaque élément reçoit son image par la variable --img ; un lavis de la
   couleur du chapitre passe dessus pour garder le texte lisible et l'unité. */
.tech__item, .split__side { isolation: isolate; }
.tech__item::before, .split__side::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--img, none) var(--pos, center) / cover no-repeat;
  transition: transform .9s var(--ease), opacity .5s;
}
.tech__item::after, .split__side::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 62%, transparent) 0%, color-mix(in srgb, var(--c) 42%, var(--ink)) 48%, rgba(14, 20, 32, .94) 100%);
  opacity: .88; transition: opacity .5s;
}
.tech__item:hover::before, .tech__item.is-open::before, .split__side.is-active::before { transform: scale(1.05); }
/* Panneau ouvert : la photo se découvre, le lavis ne garde que le bas pour le texte */
.tech__item:hover::after, .tech__item.is-open::after, .split__side.is-active::after {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, transparent) 0%, color-mix(in srgb, var(--c) 16%, transparent) 36%, color-mix(in srgb, var(--c) 30%, var(--ink)) 68%, rgba(14, 20, 32, .94) 100%);
  opacity: 1;
}
.split__side.is-active::after { background: linear-gradient(90deg, rgba(14, 20, 32, .9) 0%, color-mix(in srgb, var(--c) 45%, var(--ink)) 48%, color-mix(in srgb, var(--c) 18%, transparent) 100%); }
.tech__idx, .tech__ico, .tech__name, .tech__body, .split__over, .split__content { z-index: 1; }
/* Couleurs plus vives, à l'essai (28/09) : l'ambiance colorée du cabinet. Chapitre 03 : un voile
   plus chargé en couleur, des photos un peu plus saturées ; le bas reste sombre pour le texte. */
.tech__item::before { filter: saturate(1.15); }
.tech__item::after {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 84%, transparent) 0%, color-mix(in srgb, var(--c) 70%, var(--ink)) 55%, color-mix(in srgb, var(--c) 40%, var(--ink)) 100%);
  opacity: .9;
}
.tech__item:hover::after, .tech__item.is-open::after {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 34%, transparent) 0%, color-mix(in srgb, var(--c) 24%, transparent) 36%, color-mix(in srgb, var(--c) 50%, var(--ink)) 68%, color-mix(in srgb, var(--c) 32%, var(--ink)) 100%);
}
/* Les soins : chaque carte prend un fond teinté de sa couleur, une bande de couleur en haut et une
   pastille pleine pour l'icône. Les textes colorés sont foncés d'un tiers pour rester lisibles. */
.orient__item { background: color-mix(in srgb, var(--c) 10%, #fff); border-color: color-mix(in srgb, var(--c) 38%, transparent); border-top: 6px solid var(--c); }
.orient__item:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); border-top-color: var(--c); }
.orient__ico { background: var(--c); color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 35%, transparent); }
.orient__age { color: color-mix(in srgb, var(--c) 68%, var(--ink)); }
.orient__item .lnk { color: color-mix(in srgb, var(--c) 55%, var(--ink)); }
.orient__item .orient__img::after { background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--c) 55%, transparent) 100%); }
/* La photo floue est agrandie de 6 % pour cacher ses bords flous : sans overflow: hidden,
   elle débordait sur la section précédente (bande sombre sous le parcours, visible depuis
   que celui-ci est sur fond clair) */
.sec--photo { position: relative; isolation: isolate; overflow: hidden; }
.sec--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; filter: blur(10px); transform: scale(1.06); }
.sec--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); }
.sec--photo.sec--dark::after { background: rgba(14, 20, 32, .86); }

/* Photo entière (3:2) depuis le 01/10/2026, cadrée par proportions fixes (2,4 sur ordinateur, 2,1 sur
   tablette, 1,4 sur téléphone) : le même cadrage à toutes les largeurs, avec l'écran TV et le tableau
   Iron Man en entier, et, à la demande de Christophe, plus de table, de bureau et de fauteuil. */
.pat__band { aspect-ratio: 2.4; border-radius: var(--r) var(--r-big) var(--r) var(--r); overflow: hidden; margin-bottom: clamp(28px, 4vh, 48px); box-shadow: var(--shadow); position: relative; }
@media (max-width: 900px) { .pat__band { aspect-ratio: 2.1; } }
@media (max-width: 560px) { .pat__band { aspect-ratio: 1.4; } }
.pat__band img { width: 100%; height: 100%; object-fit: cover; object-position: 14% 40%; display: block; }

/* ---------- Décors des chapitres 03 et 06 (01/10/2026, aperçu) ---------- */
/* « Vrais tags » (lettrages graffiti cernés de noir, comme au chapitre 07), pièce compacte aux bords fondus,
   qui sort de sous le coin d'un bloc avec un objet du métier : 03 sous le coin bas gauche des panneaux
   (caméra), 06 sous le coin bas droit des volets et du lexique (aligneur). Images : outils/generer-decors-tags.py
   puis outils/preparer-decors-chapitres.py (papier ramené au blanc, posé en mode produit). --u et --v : le
   point de l'image posé sur le coin du bloc (pour 03, le coin de l'encoche vide laissée par Gemini, mesuré),
   glissé de 6 px dessous. Variante « Smile is power » : classes .deco-smile (voir l'aperçu). */
#numerique, #aligneurs { isolation: isolate; overflow: clip; }
#numerique > .wrap::before, #aligneurs > .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  --dw: 600px; --dx: 0px; width: var(--dw); aspect-ratio: 1400 / 1045; mix-blend-mode: multiply; background: var(--deco) center / 100% 100% no-repeat; }
#numerique { padding-bottom: 180px; }
#numerique > .wrap::before { --deco: url(../assets/img/decor-tags-numerique-1400.webp); --u: .4971; --v: .4788; --dx: 180px;
  left: calc(clamp(20px, 5vw, 64px) - var(--dw) * var(--u) + 6px + var(--dx)); top: calc(100% - var(--dw) * .7464 * var(--v) - 6px); }
#numerique.deco-smile > .wrap::before { --deco: url(../assets/img/decor-tags-numerique-smile-1400.webp); --u: .5975; --v: .32; --dw: 560px; }
#aligneurs { padding-bottom: 190px; }
#aligneurs > .wrap::before { --deco: url(../assets/img/decor-tags-aligneurs-1400.webp); --u: .40; --v: .45; --dx: -150px; --lex: 62px;
  left: calc(100% - clamp(20px, 5vw, 64px) - var(--dw) * var(--u) + var(--dx)); top: calc(100% - var(--lex) - var(--dw) * .7464 * var(--v)); }
#aligneurs.deco-smile > .wrap::before { --deco: url(../assets/img/decor-tags-aligneurs-smile-1400.webp); --u: .35; --v: .40; }
@media (max-width: 900px) {
  #numerique > .wrap::before, #aligneurs > .wrap::before { --dw: 380px; }
  #numerique > .wrap::before { --dx: 110px; --deco: url(../assets/img/decor-tags-numerique-800.webp); }
  #numerique.deco-smile > .wrap::before { --dw: 360px; --deco: url(../assets/img/decor-tags-numerique-smile-800.webp); }
  #aligneurs > .wrap::before { --dx: -150px; --lex: 0px; --deco: url(../assets/img/decor-tags-aligneurs-800.webp); }
  #aligneurs.deco-smile > .wrap::before { --deco: url(../assets/img/decor-tags-aligneurs-smile-800.webp); }
  #numerique, #aligneurs { padding-bottom: 130px; }
}
/* 03 : « Smile is power » en haut à droite (01/10, classe .deco-aere sur la section). Après trois essais, ce
   que Christophe a demandé : fond blanc (pas d'aplat bleu nuit), couleurs profondes à l'intérieur du graphisme
   seulement, aéré, peu chargé, pas un « sticker carré posé dans le coin », bords fondus (haut gauche, bas
   droit), quelques taches et coulures, et SURTOUT ne pas toucher les panneaux colorés.
   Image recadrée sur la pièce par outils/preparer-decor-smile.py (pièce : x 0,084-0,917, y 0,136-0,892 de
   l'image, proportion 1,5949). --wp : largeur de la pièce ; elle est calée sous l'en-tête, son bord droit à
   60 px au-delà du contenu (12 px du bord de l'écran au plus) ; l'en-tête du chapitre s'allonge (min-height) pour que les panneaux commencent
   30 px sous la dernière coulure. Elle remplace alors la pièce de tags du bas. Variante .deco-aere2 : le
   second essai, plus chargé (pièce x 0,084-0,917, y 0,133-0,868, proportion 1,8022). */
#numerique.deco-aere { --wp: clamp(380px, 36vw, 520px); --px0: .084; --py0: .136; --pfw: .833; --pfh: .756; --ratio: 1.5949; --img: url(../assets/img/decor-smile-aere-1200.webp);
  --we: calc(var(--wp) / var(--pfw)); --he: calc(var(--we) / var(--ratio)); --hp: calc(var(--he) * var(--pfh));
  padding-bottom: 56px; }
#numerique.deco-aere.deco-aere2 { --px0: .084; --py0: .133; --pfw: .833; --pfh: .735; --ratio: 1.8022; --img: url(../assets/img/decor-smile-aere2-1200.webp); }
#numerique.deco-aere > .wrap::before { display: none; }
#numerique.deco-aere::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: var(--we); height: var(--he);
  right: calc(max(12px, var(--g) - 60px) - var(--we) * (1 - var(--px0) - var(--pfw))); top: calc(var(--hdr) + 8px - var(--he) * var(--py0));
  background: var(--img) center / 100% 100% no-repeat; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); }
#numerique.deco-aere .sec__head { min-height: calc(var(--hp) - 2px - clamp(28px, 4vh, 56px)); }
@media (max-width: 900px) {
  /* Téléphone et tablette : pas de place à droite du titre ; la pièce ouvre le chapitre, centrée */
  #numerique.deco-aere { --wp: min(84vw, 420px); padding-top: calc(var(--hdr) + 14px + var(--hp) + 22px); }
  #numerique.deco-aere::before { right: auto; left: calc(50% - var(--we) / 2); top: calc(var(--hdr) + 14px - var(--he) * var(--py0)); }
  #numerique.deco-aere .sec__head { min-height: 0; }
  #numerique.deco-aere { --img: url(../assets/img/decor-smile-aere-700.webp); }
  #numerique.deco-aere.deco-aere2 { --img: url(../assets/img/decor-smile-aere2-700.webp); }
}
/* 03, essais de taille, d'inclinaison et de position du « Smile is power » (01/10, aperçu ; classes .t1 à .t4
   sur la section, à partir de 1200 px : plus étroit, B chevauchait le titre). La pièce tourne autour de son centre ; sa boîte une fois tournée
   (--bw × --bh) est calée dans le coin haut droit, à --mr du bord de l'écran (négatif : elle déborde et le
   bord la coupe) ; l'en-tête s'allonge pour garder 30 px avant les panneaux. */
@media (min-width: 1200px) {
  #numerique.deco-aere.t1 { --wp: clamp(480px, 42vw, 640px); --rot: 0deg; --s: 0; --c: 1; --mr: 24px; }
  #numerique.deco-aere.t2 { --wp: clamp(480px, 42vw, 640px); --rot: -8deg; --s: .1392; --c: .9903; --mr: 16px; }
  #numerique.deco-aere.t3 { --wp: clamp(540px, 50vw, 760px); --rot: -12deg; --s: .2079; --c: .9781; --mr: -90px; }
  #numerique.deco-aere.t4 { --wp: clamp(500px, 46vw, 700px); --rot: -18deg; --s: .309; --c: .951; --mr: -24px; }
  #numerique.deco-aere:is(.t1, .t2, .t3, .t4) { --bw: calc(var(--wp) * var(--c) + var(--hp) * var(--s)); --bh: calc(var(--wp) * var(--s) + var(--hp) * var(--c)); }
  #numerique.deco-aere:is(.t1, .t2, .t3, .t4)::before { right: auto;
    left: calc(100% - var(--mr) - var(--bw) / 2 - var(--we) * (var(--px0) + var(--pfw) / 2));
    top: calc(var(--hdr) + 8px + var(--bh) / 2 - var(--he) * (var(--py0) + var(--pfh) / 2));
    transform-origin: calc(var(--we) * (var(--px0) + var(--pfw) / 2)) calc(var(--he) * (var(--py0) + var(--pfh) / 2)); transform: rotate(var(--rot)); }
  #numerique.deco-aere:is(.t1, .t2, .t3, .t4) .sec__head { min-height: calc(var(--bh) - 2px - clamp(28px, 4vh, 56px)); }
}
/* 03, essai B retenu (01/10) : « quelques pointes de couleur à gauche pour habiller la page ». Une grappe
   d'éclaboussures centrée dans la marge gauche (taille suivant la marge), au tiers de la hauteur du chapitre (demande du 02/10), seulement quand
   la marge la contient (1400 px et plus). Le trait de bombe orange essayé sous l'introduction a été retiré le
   02/10 (« trop proche, je n'aime pas trop »). */
@media (min-width: 1400px) {
  #numerique.deco-aere::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: clamp(90px, calc(var(--g) * .6), 170px); aspect-ratio: 346 / 338;
    left: calc((var(--g) - clamp(90px, calc(var(--g) * .6), 170px)) / 2 - 12px); top: calc(33.3% - clamp(90px, calc(var(--g) * .6), 170px) / 2); opacity: .9; mix-blend-mode: multiply;
    background: url(../assets/img/touches/eclats-b.webp) center / contain no-repeat; }
}
/* 06 : un aligneur dans le même esprit que le « Smile is power » du chapitre 03, sans texte (01/10, classe
   .deco-al et une des variantes .al1, .al2, .al3 ; outils/generer-decor-aligneur.py, recadré par
   outils/preparer-decor-smile.py). Pas en haut à droite (déjà pris au 03) : en bas à droite, sous les volets.
   Sur grand écran, à droite des étiquettes du lexique, 30 px sous les volets ; sous 1200 px, les étiquettes
   prennent la largeur : la pièce passe sous le lexique. La section s'allonge d'autant. */
#aligneurs.deco-al > .wrap::before { display: none; }
/* Sans décor choisi (01/10, Christophe réfléchit entre .al1, .al2 et .al3) : le chapitre reste nu, comme dans la
   version 44 ; la pièce de tags essayée plus haut ne s'affiche plus */
#aligneurs:not(.deco-al) > .wrap::before { display: none; }
#aligneurs:not(.deco-al) { padding-bottom: 40px; }
#aligneurs.deco-al { --wp: clamp(300px, 26vw, 400px); --we: calc(var(--wp) / var(--pfw)); --he: calc(var(--we) / var(--ratio)); --hp: calc(var(--he) * var(--pfh));
  --off: min(100px, var(--g) - 12px); padding-bottom: calc(var(--hp) - 32px + 48px); }
#aligneurs.al1 { --ratio: 1.1624; --px0: .0836; --pfw: .8334; --py0: .1327; --pfh: .7353; --img: url(../assets/img/decor-al1-1200.webp); }
#aligneurs.al2 { --ratio: 1.2474; --px0: .0835; --pfw: .8335; --py0: .0827; --pfh: .8769; --img: url(../assets/img/decor-al2-1200.webp); }
#aligneurs.al3 { --ratio: 1.1377; --px0: .0837; --pfw: .8332; --py0: .1349; --pfh: .7490; --img: url(../assets/img/decor-al3-1200.webp); }
#aligneurs.deco-al .lexique { position: relative; }
#aligneurs.deco-al .lexique::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: var(--we); height: var(--he);
  right: calc(-1 * var(--off) - var(--we) * (1 - var(--px0) - var(--pfw))); top: calc(8px - var(--he) * var(--py0));
  background: var(--img) center / 100% 100% no-repeat; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); }
@media (max-width: 1199px) {
  #aligneurs.deco-al { --off: min(60px, var(--g) - 12px); padding-bottom: calc(var(--hp) + 18px + 40px); }
  #aligneurs.deco-al .lexique::after { top: calc(100% + 18px - var(--he) * var(--py0)); }
}
@media (max-width: 900px) {
  #aligneurs.deco-al { --wp: min(70vw, 320px); }
  #aligneurs.deco-al .lexique::after { right: auto; left: calc(50% - var(--we) / 2); }
  #aligneurs.al1 { --img: url(../assets/img/decor-al1-700.webp); }
  #aligneurs.al2 { --img: url(../assets/img/decor-al2-700.webp); }
  #aligneurs.al3 { --img: url(../assets/img/decor-al3-700.webp); }
}
/* 06 retenu (01/10) : la proposition 3 réduite à une seule gouttière (.al3u, outils/generer-decor-aligneur.py 3u),
   « à gauche de l'écran en redimensionnant légèrement les trois onglets » (.deco-alg). À partir de 1200 px : une
   colonne de --colg à gauche, les volets et le lexique se resserrent à droite ; la pièce, centrée sur les volets,
   s'arrête 30 px avant eux et mord un peu sur la marge. En dessous, elle reste sous le lexique (.deco-al).
   Plus quelques touches de couleur dispersées (haut droit, sous le lexique). */
#aligneurs.al3u { --ratio: 1.1398; --px0: .0838; --pfw: .833; --py0: .1356; --pfh: .7516; --img: url(../assets/img/decor-al3u-1200.webp); }
@media (max-width: 900px) { #aligneurs.al3u { --img: url(../assets/img/decor-al3u-700.webp); } }
@media (min-width: 1200px) {
  #aligneurs.deco-alg { --wp: clamp(320px, 28vw, 430px); --colg: calc(var(--wp) - 20px); --lh: min(66vh, 680px); padding-bottom: 56px; }
  #aligneurs.deco-alg .split__list, #aligneurs.deco-alg .lexique { margin-left: var(--colg); }
  /* La pièce est accrochée au lexique (juste sous les volets, 22 px) et remonte au centre des volets (--lh) */
  #aligneurs.deco-alg .lexique::after { right: auto; left: calc(-30px - var(--wp) - var(--we) * var(--px0));
    top: calc(-22px - var(--lh) / 2 - var(--he) * (var(--py0) + var(--pfh) / 2)); }
  #aligneurs.deco-alg::before, #aligneurs.deco-alg::after { content: ""; position: absolute; z-index: -1; pointer-events: none; mix-blend-mode: multiply; opacity: .85; background: center / contain no-repeat; }
  #aligneurs.deco-alg::before { width: 120px; aspect-ratio: 1; right: max(10px, calc(var(--g) - 110px)); top: calc(var(--hdr) + 30px); background-image: url(../assets/img/touches/eclats-c.webp); }
  #aligneurs.deco-alg::after { width: 150px; aspect-ratio: 438 / 263; right: calc(var(--g) + 10px); bottom: 14px; transform: rotate(4deg); background-image: url(../assets/img/touches/bombe-lime.webp); }
}
/* 06, choix final du 02/10 : « reprends la déco que tu m'avais faite à l'époque pour le chapitre 5 » (le collage
   à l'aligneur sur arcade en fil de fer, labo/fonds/fond-soins.png, maquette du 29/09). Fond du haut de la section
   sur toute la largeur, papier ramené au blanc et posé en mode produit ; un masque éclaircit l'angle haut gauche,
   sous le surtitre. Les essais .deco-al / .al* / .deco-alg restent dans la feuille mais ne sont plus posés. */
/* Titre sur deux lignes à toutes les largeurs : sur une ligne (1024 à 1366 px) sa fin passait sur le collage */
#aligneurs.deco-soins .t-sec { max-width: 13.5em; }
#aligneurs.deco-soins::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; top: 0; aspect-ratio: 1920 / 1072;
  background: url(../assets/img/decor-soins-1920.webp) center top / 100% auto no-repeat; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(34% 30% at 14% 18%, transparent 0%, rgba(0, 0, 0, .35) 60%, #000 100%);
  mask-image: radial-gradient(34% 30% at 14% 18%, transparent 0%, rgba(0, 0, 0, .35) 60%, #000 100%); }
@media (max-width: 900px) {
  /* Téléphone : le collage ouvre le chapitre en bandeau, au-dessus du surtitre (il passait derrière le titre) */
  #aligneurs.deco-soins { padding-top: calc(var(--hdr) + 40px + 30vw); }
  #aligneurs.deco-soins::before { top: calc(var(--hdr) - 6px); background-image: url(../assets/img/decor-soins-1100.webp); background-size: 150% auto; background-position: 100% 2%; aspect-ratio: auto; height: 42vw; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
}
/* 04 : la photo de la salle d'attente en fond, traitée comme le chapitre 05 (demande de Christophe : une
   vraie photo plutôt qu'un graffiti). Les stores portent des marques : le flou et le voile les rendent
   illisibles, à vérifier si on éclaircit encore. */
#parcours { isolation: isolate; overflow: clip; }
#parcours::before, #parcours::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
#parcours::before { z-index: -2; background: var(--fond) url(../assets/img/fond-attente-2400.webp) center 40% / cover no-repeat; filter: blur(1.5px); transform: scale(1.02); }
/* Au niveau du chapitre 05 (voile 0,72 → 0,42 → 0,3, flou 1,5 px), plus un léger renfort derrière la seule
   colonne de texte (la liste des étapes est posée directement sur la photo) */
#parcours::after { z-index: -1; background: linear-gradient(90deg, rgba(237, 242, 247, .18) 0%, rgba(237, 242, 247, .14) 38%, rgba(237, 242, 247, 0) 46%), linear-gradient(90deg, rgba(237, 242, 247, .72) 0%, rgba(237, 242, 247, .42) 45%, rgba(237, 242, 247, .3) 100%); }
@media (max-width: 900px) {
  /* Téléphone : la photo calée en largeur sur le panneau « Smile » et les stores, derrière le titre, puis fondue */
  #parcours::before { background: var(--fond) url(../assets/img/fond-attente-1280.webp) 22% 0 / 230% auto no-repeat; }
  #parcours::after { background: linear-gradient(180deg, rgba(237, 242, 247, .6) 0, rgba(237, 242, 247, .5) 280px, rgba(237, 242, 247, .75) 420px, var(--fond) 560px); }
}

/* ---------- Chapitre 05 : la photo du cabinet plus visible (01/10/2026) ---------- */
/* Christophe veut voir davantage la photo de fond (le tableau Spider-Man, assets/img/soins-fond.webp) :
   une vraie photo casse la monotonie des décors d'un chapitre à l'autre. Moins de flou, voile blanc plus
   léger, plus dense à gauche sous le titre. Pas de collage ici. Les touches de couleur essayées le même
   jour sur 03, 04, 06 et les fenêtres sont retirées (« trop de taches »). */
#orientations::before { filter: blur(1.5px); transform: scale(1.02); }
#orientations::after { background: linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .42) 45%, rgba(255, 255, 255, .3) 100%); }
/* Téléphone : la section, très haute (cartes empilées), ne montrait en « cover » qu'une tranche floue de la
   photo. On la cale en largeur sur le tableau (centre à 66 % de la largeur, 28 % de la hauteur) derrière
   le titre ; plus bas, le papier de la section continue sous le voile. */
@media (max-width: 900px) {
  #orientations::before { background-size: 250% auto; background-position: 68% 0; background-color: var(--paper-2); }
  #orientations::after { background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0, rgba(255, 255, 255, .5) 300px, rgba(255, 255, 255, .7) 440px, var(--paper-2) 600px); }
}
.pat__band figcaption { position: absolute; left: 20px; bottom: 16px; background: rgba(255, 255, 255, .9); color: var(--tx); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; }

.orient__img, .post__img { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--img) center / cover no-repeat; position: relative; }
.orient__img { margin: -8px -8px 6px; }
.orient__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c) 35%, transparent) 100%); }
.post__img { aspect-ratio: 16 / 9; margin: -8px -8px 4px; }
.post__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 20, 32, .55) 100%); }

.dlg__aside { position: relative; isolation: isolate; }
.dlg__aside::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, none) center / cover no-repeat; }
.dlg__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, color-mix(in srgb, var(--c, var(--c-blue)) 78%, var(--ink)) 0%, var(--ink) 100%); opacity: .9; }
.dlg__aside[data-img]::after { opacity: .8; }

/* ---------- Apparitions ---------- */
html.js .rv { opacity: 0; transform: translateY(22px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s var(--ease); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; scroll-snap-type: none; }
  html.js .rv { opacity: 1; transform: none; }
}

/* Fenêtre aligneurs : la vignette à côté du texte, comme sur l'ancien site */
.savoir { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; margin: 18px 0; max-width: 70ch; }
.savoir img { width: 120px; height: auto; border-radius: 12px; }
.savoir h4 { margin: 0 0 4px; font-size: 16.5px; font-weight: 600; }
.savoir p { margin: 0 0 6px; }
/* Le quiz de l'article « Aligneurs ou bagues » */
.quiz { display: grid; gap: 14px; margin: 18px 0; max-width: 70ch; }
.quiz fieldset { border: 1px solid rgba(22, 26, 34, .14); border-radius: 12px; padding: 14px 16px; margin: 0; min-width: 0; display: grid; gap: 8px; }
.quiz legend { padding: 0 6px; font-weight: 600; }
.quiz legend i { font-style: normal; color: var(--c); margin-right: 4px; }
.quiz label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15.5px; }
.quiz input { margin-top: 5px; accent-color: var(--c); }
.quiz__bas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.quiz__res { background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 12px; padding: 16px 18px; }
.quiz__res b { display: block; font-size: 18px; margin-bottom: 4px; }

/* Plan d'accès, redessiné d'après le croquis du praticien */
.plan { max-width: 480px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { font-size: 14px; color: var(--tx-2); margin-top: 10px; }

/* Chapitres 03 et 06 sur téléphone (08/11) : le texte de chaque panneau et de chaque volet reste affiché,
   sur un voile sombre qui le rend lisible (le dégradé de côté du grand écran le laissait illisible), et un
   seul toucher ouvre le chapitre (js/main.js). Le titre vertical et la couverture des volets n'y servent plus. */
@media (max-width: 900px) {
  .tech__item .tech__name, .split__side .split__over { display: none; }
  .tech__item .tech__body { display: flex; position: relative; opacity: 1; transform: none; padding: 78px 24px 26px; gap: 10px; }
  .tech__body h3 { font-size: 22px; }
  .tech__body p { opacity: 1; }
  .tech__idx { top: 30px; }
  .tech__item::after, .tech__item:hover::after, .tech__item.is-open::after,
  .split__side::after, .split__side.is-active::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 42%, var(--ink)) 0%, color-mix(in srgb, var(--c) 22%, var(--ink)) 45%, rgba(14, 20, 32, .95) 100%);
    opacity: .93;
  }
  /* position: relative, sinon le voile (en position absolue) passe au-dessus du texte */
  .split__side .split__content { display: flex; position: relative; opacity: 1; transform: none; padding: 28px 24px; }
}

/* Chapitre 04 (15/11) : l'encart du quiz « Aligneurs ou bagues », sous les quatre cartes */
.quiz-encart { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; padding: 24px 28px;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c-blue); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.quiz-encart__t { font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; color: var(--tx); }
.quiz-encart p:not(.quiz-encart__t) { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.6; color: var(--tx-2); }
.quiz-encart .btn { flex: none; }
@media (max-width: 600px) { .quiz-encart { padding: 20px; } .quiz-encart .btn { width: 100%; justify-content: center; } }
/* 19/11/2026 : les cartes et boutons qui ouvrent un chapitre sont des liens vers sa page (Google suit le lien, le clic ouvre toujours la fenêtre) */
a.orient__item { text-decoration: none; color: inherit; }
.tech__suite { margin-top: 28px; }

/* 19/11/2026 : lisibilité sur téléphone (recommandations de Google). Plus aucun texte sous 12 px ; les
   informations pratiques (horaires, adresse, chiffres clés, dates des cartes) passent à 13 px. */
.step__head small, .post__cat { font-size: 12.5px; }
@media (max-width: 600px) {
  .hours span, .acces span, .fig span, .post__meta { font-size: 13px; }
}
/* Zone de toucher d'au moins 44 px pour les liens de texte, sans rien déplacer : la marge négative rend
   à la mise en page la hauteur ajoutée par le remplissage. */
@media (pointer: coarse) {
  .lnk { padding-block: 10px; margin-block: -10px; }
  .foot nav a, .acces a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}

/* Fil d'Ariane des pages générées (19/11/2026) : Accueil › chapitre › page, au-dessus du titre. */
.fil { font-size: 13px; line-height: 1.5; letter-spacing: .02em; opacity: .88; }
.fil a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.fil a:hover { text-decoration-color: currentColor; }
.fil span[aria-hidden] { margin: 0 4px; opacity: .7; }
@media (pointer: coarse) { .fil a { display: inline-block; padding-block: 12px; margin-block: -12px; } }
