/* ==========================================================================
   Rivage, clinique dentaire : feuille de style commune aux trois pages
   Modèle de démonstration fictif conçu par MG Performance Web.
   Ordinateur dès 900 px, cellulaire en dessous (mise en page refaite, pas rétrécie).
   ========================================================================== */

/* ---------- Polices (fichiers locaux, licence OFL) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../polices/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../polices/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../polices/instrument-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../polices/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Libre Caslon Condensed"; src: url("../polices/caslon-cond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  --cobalt-1: #0E54C4;
  --cobalt-2: #1F6FDB;
  --cobalt-3: #3A86EA;
  --ecume: #D6E6F7;
  --creme: #FBFBF4;
  --sable: #F0E9DC;
  --sable-fonce: #E2D8C6;
  --perle: #F6F6F2;
  --encre: #13171A;
  --encre-64: rgba(19, 23, 26, .64);
  --encre-30: rgba(19, 23, 26, .30);
  --encre-12: rgba(19, 23, 26, .12);
  --noir: #0A0B0B;
  --radio: #0B1A2A;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --caslon: "Libre Caslon Condensed", "Instrument Serif", serif;

  --gouttiere: 32px;
  --entree: cubic-bezier(.2, .7, .1, 1);
  --carrousel: cubic-bezier(.4, 0, .2, 1);
  --rouleau: cubic-bezier(.5, 0, 0, 1);
  --bandeau-h: 34px;
}
@media (max-width: 899px) { :root { --gouttiere: 16px; --bandeau-h: 52px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font-family: var(--sans); font-size: 20px; line-height: 28px; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (max-width: 899px) { body { font-size: 17px; line-height: 25px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--cobalt-2); outline-offset: 3px; border-radius: 6px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--noir); color: var(--perle); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.evitement:focus { top: 12px; }
section[id], [id].ancre { scroll-margin-top: 90px; }
.conteneur { padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.seulement-cell { display: none; }
@media (max-width: 899px) { .seulement-ordi { display: none !important; } .seulement-cell { display: revert; } }

/* ---------- Bandeau de démonstration ---------- */
.bandeau-demo {
  position: relative; z-index: 60; min-height: var(--bandeau-h);
  display: block; text-align: center; text-wrap: balance;
  padding: 8px var(--gouttiere); background: #0B47A8; color: var(--perle);
  font-size: 13px; line-height: 18px; letter-spacing: 0;
}
.bandeau-demo a { color: inherit; text-underline-offset: 2px; }
.page-claire .bandeau-demo { background: var(--encre); }

/* ---------- Typographie des titres ---------- */
.titre { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .96; }
.titre em { letter-spacing: -.03em; }
.titre-xl { font-size: 112px; }
.titre-l { font-size: 64px; line-height: 1; }
.titre-m { font-size: 48px; line-height: 1; }
.titre-s { font-size: 40px; line-height: 1.05; }
@media (max-width: 899px) {
  .titre-xl { font-size: 60px; }
  .titre-l { font-size: 44px; }
  .titre-m { font-size: 40px; }
  .titre-s { font-size: 32px; }
}
.etiquette { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; letter-spacing: -.01em; margin-bottom: 20px; }
.etiquette svg { width: 9px; height: 9px; flex: none; }
.secondaire { color: var(--encre-64); }
.petite-note { font-size: 14px; line-height: 20px; color: var(--encre-64); }

/* ---------- Boutons pilules à rouleau (#5, #21) ---------- */
.pilule {
  --fond: var(--noir); --texte: var(--perle);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px 0 22px; border-radius: 999px;
  background: var(--fond); color: var(--texte); text-decoration: none;
  font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: background-color .3s, color .3s;
}
.pilule--perle { --fond: var(--perle); --texte: var(--encre); }
.pilule--sable { --fond: var(--sable); --texte: var(--encre); }
.pilule--plein { width: 100%; justify-content: center; height: 54px; }
.pilule__rouleau { position: relative; display: inline-block; height: 20px; overflow: hidden; }
.pilule__rouleau > span { display: block; transition: transform .35s var(--rouleau); }
.pilule__rouleau > span + span { position: absolute; left: 0; top: 100%; }
.pilule::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  border: 1.5px solid currentColor; background: transparent;
  transition: background-color .35s var(--rouleau), transform .35s var(--rouleau);
}
@media (hover: hover) {
  .pilule:hover .pilule__rouleau > span { transform: translateY(-100%); }
  .pilule:hover::after { background: currentColor; transform: scale(1.25); }
}
.pilule:active .pilule__rouleau > span, .pilule.joue .pilule__rouleau > span { transform: translateY(-100%); }
.pilule:active::after, .pilule.joue::after { background: currentColor; transform: scale(1.25); }

/* bouton carré à flèche (carrousels) */
.fleche {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px;
  background: var(--sable); color: var(--encre); transition: background-color .25s;
}
.fleche svg { width: 18px; height: 18px; transition: transform .25s var(--entree); }
@media (hover: hover) {
  .fleche:hover { background: var(--sable-fonce); }
  .fleche--suiv:hover svg { transform: translateX(3px); }
  .fleche--prec:hover svg { transform: translateX(-3px); }
}
.fleche:active { background: var(--sable-fonce); }
.fleches { display: flex; gap: 8px; }

/* lien souligné discret */
.lien { font-size: 16px; line-height: 22px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lien:hover { text-decoration-thickness: 2px; }

/* ---------- Apparitions au défilement ---------- */
.js [data-revele] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--entree), transform .6s var(--entree); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-revele].est-revele { opacity: 1; transform: none; }

/* ==========================================================================
   En-tête et menu
   ========================================================================== */
.entete {
  position: absolute; left: 0; right: 0; top: var(--bandeau-h); z-index: 50;
  height: 88px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gouttiere); color: var(--encre);
}
.page-bleue .entete { color: var(--perle); }
.entete.est-flottant {
  position: fixed; top: 0; transform: translateY(-110%); height: 72px;
  background: rgba(251, 251, 244, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--encre); box-shadow: 0 1px 0 var(--encre-12);
}
.entete.est-flottant.avec-transition { transition: transform .45s var(--entree); }
.entete.est-flottant.est-visible { transform: none; }
.entete.menu-ouvert { color: var(--encre); }
.logo { display: inline-flex; align-items: flex-start; gap: 2px; font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.03em; text-decoration: none; }
.logo svg { width: 13px; height: 13px; margin-top: -1px; }
.entete__actions { display: flex; align-items: center; gap: 12px; }
.btn-menu {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--sable); color: var(--encre);
  font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  transition: background-color .3s, color .3s;
}
.page-bleue .entete:not(.est-flottant):not(.menu-ouvert) .btn-menu { background: rgba(246, 246, 242, .16); color: var(--perle); }
.page-bleue .entete:not(.est-flottant):not(.menu-ouvert) .entete__rdv { --fond: var(--perle); --texte: var(--encre); }
.btn-menu__icone { position: relative; width: 12px; height: 12px; }
.btn-menu__icone::before, .btn-menu__icone::after { content: ""; position: absolute; left: 0; top: 5.25px; width: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--entree); }
.btn-menu__icone::after { transform: rotate(90deg); }
.btn-menu[aria-expanded="true"] .btn-menu__icone::after { transform: rotate(180deg); }
.btn-menu[aria-expanded="true"] .btn-menu__icone::before { transform: rotate(180deg); }
@media (hover: hover) { .btn-menu:hover { background: var(--sable-fonce); } }
@media (max-width: 899px) {
  .entete { height: 68px; }
  .entete.est-flottant { height: 60px; }
  .logo { font-size: 26px; }
  .entete__rdv { display: none; }
  .btn-menu { height: 44px; }
}

/* Panneau du menu (#3, #4) */
.menu {
  position: fixed; z-index: 45; top: 0; left: var(--gouttiere); right: var(--gouttiere);
  background: var(--creme); border-radius: 0 0 32px 32px; padding: 120px 40px 40px;
  box-shadow: 0 30px 80px rgba(10, 11, 11, .14);
  transform: translateY(-104%); visibility: hidden;
  transition: transform .5s var(--entree), visibility 0s linear .5s;
  max-height: 100svh; overflow-y: auto; overscroll-behavior: contain;
}
.menu.est-ouvert { transform: none; visibility: visible; transition: transform .5s var(--entree), visibility 0s; }
.menu__grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.25fr; gap: 32px; }
.menu__col > * { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--entree); }
.menu.est-ouvert .menu__col > * { opacity: 1; transform: none; transition-delay: .18s; }
.menu__titre { font-size: 14px; color: var(--encre-64); margin-bottom: 16px; }
.menu__pages a { display: block; font-family: var(--serif); font-size: 32px; line-height: 40px; letter-spacing: -.03em; text-decoration: none; transition: opacity .2s; }
.menu__raccourcis a { display: block; font-size: 18px; line-height: 32px; text-decoration: none; transition: opacity .2s; }
@media (hover: hover) { .menu__pages a:hover, .menu__raccourcis a:hover { opacity: .55; } }
.menu__infos { font-size: 16px; line-height: 24px; }
.menu__infos p + p { margin-top: 14px; }
.menu__carte { background: var(--sable); border-radius: 24px; padding: 12px 12px 22px; display: grid; gap: 14px; }
.menu__carte img { border-radius: 16px; aspect-ratio: 840 / 520; object-fit: cover; width: 100%; }
.menu__carte h3, .menu__carte .menu__carte-titre { color: var(--encre); font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: -.03em; padding: 0 10px; }
.menu__carte p { font-size: 15px; line-height: 21px; color: var(--encre-64); padding: 0 10px; }
.menu__carte .pilule { justify-self: start; margin-left: 10px; }
.voile-menu { position: fixed; inset: 0; z-index: 44; background: rgba(10, 11, 11, .25); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.voile-menu.est-visible { opacity: 1; visibility: visible; transition: opacity .4s; }
@media (max-width: 899px) {
  .menu { left: 8px; right: 8px; padding: 100px 20px 20px; border-radius: 0 0 28px 28px; }
  .menu__grille { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .menu__pages a { font-size: 28px; line-height: 36px; }
  .menu__raccourcis a { font-size: 16px; line-height: 28px; }
  .menu__col--infos { grid-column: 1 / -1; }
  .menu__col--carte { grid-column: 1 / -1; }
  .menu__infos { font-size: 14px; line-height: 20px; }
  .menu__infos p + p { margin-top: 8px; }
  .menu__titre { margin-bottom: 8px; }
  /* carte à l'horizontale : la photo à gauche, pour laisser une bande à toucher sous le panneau */
  .menu__carte { grid-template-columns: 92px 1fr; gap: 6px 12px; padding: 10px; border-radius: 20px; }
  .menu__carte img { grid-row: 1 / 4; aspect-ratio: 1; height: auto; align-self: start; border-radius: 14px; }
  .menu__carte h3, .menu__carte .menu__carte-titre { font-size: 24px; line-height: 1; padding: 0; }
  .menu__carte p { font-size: 13px; line-height: 18px; padding: 0; }
  .menu__carte .pilule { margin-left: 0; height: 44px; }
}

/* ==========================================================================
   S1. Héros et dent
   ========================================================================== */
.heros {
  position: relative; overflow: hidden; text-align: center; color: var(--perle);
  min-height: 1900px; padding: 190px var(--gouttiere) 0;
  background: linear-gradient(180deg, #0E54C4 0%, #1F6FDB 22%, #3A86EA 42%, #6FA6EE 58%, #B6D1F2 72%, #E4EEF5 84%, #FBFBF4 100%);
}
.heros__titre { font-family: var(--serif); font-weight: 400; font-size: 140px; line-height: .86; letter-spacing: -.04em; }
.heros__titre .ligne { display: block; }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .12em; margin: 0 -.07em -.12em; }
.mot > span { display: inline-block; }
.js .heros__titre .mot > span { transform: translateY(110%); animation: monte .9s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(.85s + var(--i) * 85ms); }
@keyframes monte { to { transform: none; } }
.heros__sous { max-width: 560px; margin: 34px auto 34px; font-size: 20px; line-height: 28px; color: rgba(246, 246, 242, .92); }
.heros__petit { margin-top: 14px; font-size: 14px; line-height: 20px; color: rgba(246, 246, 242, .7); }

.dent {
  /* dent haute et étroite (908 × 1600) : largeur réglée pour que les racines se fondent avant le bas du héros */
  position: absolute; left: 50%; top: 660px; width: min(700px, 50vw); margin-left: calc(min(700px, 50vw) / -2);
  perspective: 1400px; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, .55) 84%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, .55) 84%, transparent 99%);
}
.dent__parallaxe { will-change: transform; transform-origin: 50% 0; }
.dent__scene { position: relative; aspect-ratio: 908 / 1600; transform-style: preserve-3d; will-change: transform; pointer-events: auto; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.dent__scene canvas, .dent__scene .dent__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .dent__scene { animation: dent-monte 1.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes dent-monte { from { translate: 0 40px; } to { translate: 0 0; } }
.dent__scene canvas { opacity: 0; transition: opacity .6s; }
.dent.webgl-pret canvas { opacity: 1; }
.dent.webgl-pret .dent__img { opacity: 0; }
.dent__img { transition: opacity .6s; object-fit: contain; }
/* repli sans WebGL : bande satinée en CSS découpée par la silhouette de la dent */
.dent__satin {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent calc(var(--bande, 40%) - 14%), rgba(255, 255, 255, .55) var(--bande, 40%), transparent calc(var(--bande, 40%) + 14%));
  -webkit-mask: url("../img/dent-couleur-1000.webp") center / contain no-repeat; mask: url("../img/dent-couleur-1000.webp") center / contain no-repeat;
}
.dent.sans-webgl .dent__satin { opacity: 1; }
.dent__etoile { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; opacity: 0; transform: scale(0) rotate(0); pointer-events: none; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
.dent__etoile.scintille { animation: scintille .9s var(--entree) forwards; }
@keyframes scintille { 0% { opacity: 0; transform: scale(0) rotate(0); } 45% { opacity: 1; transform: scale(1.15) rotate(45deg); } 100% { opacity: 0; transform: scale(0) rotate(90deg); } }
.dent__indice { display: none; }
@media (max-width: 899px) {
  .heros { min-height: 0; padding: 124px var(--gouttiere) 48px; }
  .heros__titre { font-size: 58px; line-height: .92; }
  .heros__titre .ligne { display: inline; }
  .heros__titre .ligne::after { content: "\A"; white-space: pre; }
  .heros__sous { font-size: 17px; line-height: 25px; margin: 22px auto 26px; max-width: 330px; }
  .dent { position: relative; left: auto; top: auto; width: min(62vw, 300px); margin: 30px auto 0; -webkit-mask-image: none; mask-image: none; }
  .dent__indice { display: block; margin-top: 10px; font-size: 12px; line-height: 16px; color: var(--encre-64); opacity: 0; transition: opacity .5s; }
  .dent__indice.est-visible { opacity: 1; }
}

/* Curseur contextuel (ordinateur seulement) */
.curseur {
  position: fixed; left: 0; top: 0; z-index: 120; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--noir); color: var(--perle);
  display: grid; place-items: center; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  pointer-events: none; opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.2);
  transition: opacity .25s, background-color .25s, color .25s, scale .3s var(--entree);
}
.curseur span { transform: scale(var(--s, .2)); transition: transform .3s var(--entree); }
.curseur.est-actif { opacity: 1; }
.curseur.perle { background: var(--perle); color: var(--encre); }
@media not ((hover: hover) and (pointer: fine)) { .curseur { display: none; } }

/* ==========================================================================
   S2. À propos et compteurs à rouleau (#6)
   ========================================================================== */
.apropos { padding: 120px var(--gouttiere) 170px; text-align: center; }
.apropos .titre { margin-bottom: 30px; }
.apropos__texte { max-width: 800px; margin: 0 auto; font-family: var(--serif); font-size: 28px; line-height: 34px; letter-spacing: -.02em; }
.signature { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 16px; line-height: 22px; color: var(--encre-64); }
.signature img { width: 56px; height: 56px; border-radius: 50%; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: 90px auto 0; }
.stats--4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
.stat { padding: 10px 24px; border-left: 1px solid var(--encre-12); }
.stat:first-child { border-left: 0; }
.stat__nb { display: flex; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 96px; line-height: 1; letter-spacing: -.04em; height: 1em; overflow: hidden; }
.stat__lib { margin-top: 14px; font-size: 18px; line-height: 24px; color: var(--encre-64); }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo__bande { display: flex; flex-direction: column; transition: transform 1.3s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.odo__bande span { height: 1em; line-height: 1; }
.odo__fixe { display: inline-block; }
@media (max-width: 899px) {
  .apropos { padding: 80px var(--gouttiere) 90px; }
  .apropos__texte { font-size: 23px; line-height: 29px; }
  .stats, .stats--4 { grid-template-columns: 1fr; margin-top: 50px; }
  .stats--4 { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--encre-12); padding: 26px 8px; }
  .stat:first-child { border-top: 0; }
  .stats--4 .stat:nth-child(2) { border-top: 0; }
  .stats--4 .stat:nth-child(even) { border-left: 1px solid var(--encre-12); }
  .stat__nb { font-size: 72px; }
  .stats--4 .stat__nb { font-size: 56px; }
  .stat__lib { font-size: 16px; line-height: 22px; }
}

/* ==========================================================================
   S3. Symptômes (#7)
   ========================================================================== */
.symptomes { padding: 40px var(--gouttiere) 160px; }
.symptomes__grille { display: grid; grid-template-columns: 1fr 653px; gap: 40px; align-items: start; }
.symptomes__gauche { position: sticky; top: 110px; }
.symptomes__gauche .titre { margin-bottom: 48px; text-wrap: balance; }
.sympt__liste li + li { margin-top: 4px; }
.sympt__item {
  position: relative; display: inline-flex; align-items: center; gap: 14px; text-align: left;
  font-family: var(--serif); font-size: 60px; line-height: 64px; letter-spacing: -.035em;
  color: var(--encre-30); transition: color .25s, transform .35s var(--entree);
}
.sympt__item::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--entree); margin-left: -26px; }
.sympt__item.is-active { color: var(--encre); transform: translateX(26px); }
.sympt__item.is-active::before { opacity: 1; transform: none; }
@media (hover: hover) { .sympt__item:hover { color: var(--encre-64); } .sympt__item.is-active:hover { color: var(--encre); } }
.sympt__cartes { display: grid; gap: 24px; }
.sympt__carte { background: var(--sable); border-radius: 40px; overflow: hidden; display: flex; flex-direction: column; min-height: 601px; }
.sympt__carte img { width: 100%; aspect-ratio: 653 / 390; object-fit: cover; }
.sympt__corps { padding: 28px 34px 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; justify-content: space-between; }
.sympt__corps p { font-family: var(--serif); font-size: 26px; line-height: 30px; letter-spacing: -.02em; }
.sympt__corps .lien { align-self: flex-start; }
.sympt__onglets { display: none; }
@media (max-width: 899px) {
  .symptomes { padding: 20px 0 90px; }
  .symptomes__grille { display: block; }
  .symptomes__gauche { position: static; padding: 0 var(--gouttiere); }
  .symptomes__gauche .titre { margin-bottom: 0; }
  .sympt__liste { display: none; }
  .sympt__onglets {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gouttiere);
    position: sticky; top: 0; z-index: 5; background: var(--creme); margin: 18px 0 10px;
    transition: top .45s var(--entree);
  }
  .entete-visible .sympt__onglets { top: 60px; }
  .sympt__onglets::-webkit-scrollbar { display: none; }
  .sympt__onglet { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--encre-12); font-size: 15px; color: var(--encre-64); transition: background-color .3s, color .3s, border-color .3s; }
  .sympt__onglet[aria-selected="true"] { background: var(--noir); color: var(--perle); border-color: var(--noir); }
  .sympt__cartes { display: grid; padding: 0 var(--gouttiere); touch-action: pan-y; }
  .sympt__carte { grid-area: 1 / 1; min-height: 0; border-radius: 28px; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .3s, transform .4s var(--entree), visibility 0s .3s; }
  .sympt__carte.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--entree); }
  .sympt__corps { padding: 20px 22px 24px; }
  .sympt__corps p { font-size: 21px; line-height: 26px; }
  .sympt__points { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
}
.sympt__points { display: none; }
.sympt__points span { width: 6px; height: 6px; border-radius: 50%; background: var(--encre-30); transition: background-color .3s, width .3s; }
.sympt__points span.is-active { background: var(--encre); width: 18px; border-radius: 3px; }

/* ==========================================================================
   S4. Soins en rideau (#8)
   ========================================================================== */
.soins { position: relative; background: var(--sable); height: 520vh; }
.soins__scene {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px;
  display: grid; grid-template-columns: 1fr 1.25fr 428px; grid-template-rows: auto 1fr;
  gap: 0 32px; padding: 64px var(--gouttiere) 52px; overflow: hidden;
}
.soins__intro { grid-column: 1 / 3; max-width: 470px; }
.soins__intro p:not(.etiquette) { font-family: var(--serif); font-size: 32px; line-height: 36px; letter-spacing: -.025em; }
.soins__bas { grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: end; }
.compteur { display: flex; align-items: flex-end; gap: 14px; font-family: var(--caslon); font-weight: 500; font-size: 80px; line-height: 1; letter-spacing: -.03em; }
.compteur__fen { display: inline-block; height: 1em; overflow: hidden; }
.compteur__bande { display: flex; flex-direction: column; transition: transform .6s var(--entree); }
.compteur__bande span { height: 1em; }
.compteur__sep { font-family: var(--serif); color: var(--encre-30); font-size: .55em; padding-bottom: .12em; }
.compteur__total { color: var(--encre-30); }
.soins__textes { display: grid; }
.soin__txt { grid-area: 1 / 1; align-self: end; }
.soin__titre { font-family: var(--serif); font-weight: 400; font-size: 88px; line-height: .92; letter-spacing: -.04em; }
.soin__titre .ligne { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.soin__titre .ligne > span { display: inline-block; transform: translateY(105%); transition: transform .55s var(--entree); }
.soin__titre .ligne:nth-child(2) > span { transition-delay: .05s; }
.soin__phrase { margin-top: 16px; max-width: 380px; font-size: 16px; line-height: 23px; color: var(--encre-64); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--entree); }
.soin__liens { display: flex; gap: 22px; margin-top: 16px; opacity: 0; transition: opacity .4s; visibility: hidden; }
.soin__txt.is-active .soin__titre .ligne > span { transform: none; }
.soin__txt.is-active .soin__phrase { opacity: 1; transform: none; transition-delay: .12s; }
.soin__txt.is-active .soin__liens { opacity: 1; visibility: visible; transition-delay: .18s; }
.soins__photos { grid-column: 3; grid-row: 1 / 3; align-self: center; position: relative; width: 428px; aspect-ratio: 428 / 583; border-radius: 24px; overflow: hidden; isolation: isolate; background: var(--sable-fonce); }
.soin__photo { position: absolute; inset: 0; will-change: transform; }
.soin__photo img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.soins__fleches { display: none; }
/* mode carrousel : cellulaire et mouvement réduit */
.soins--carrousel { height: auto; }
.soins--carrousel .soins__scene { position: relative; height: auto; min-height: 0; }
.soins--carrousel .soins__fleches { display: flex; }
@media (min-width: 900px) and (max-height: 760px) { .soin__titre { font-size: 72px; } .soins__photos { width: 380px; } .soins__scene { grid-template-columns: 1fr 1.25fr 380px; } }
@media (max-width: 899px) {
  .soins__scene { display: flex; flex-direction: column; gap: 0; padding: 70px var(--gouttiere) 80px; }
  .soins__intro p:not(.etiquette) { font-size: 26px; line-height: 30px; }
  .soins__photos { order: 2; width: 100%; aspect-ratio: 343 / 420; margin-top: 30px; touch-action: pan-y; }
  .soins__bas { order: 3; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .soins__ligne-compteur { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 16px; }
  .compteur { font-size: 56px; }
  .soin__titre { font-size: 52px; }
  .soin__phrase { font-size: 16px; }
}
@media (min-width: 900px) { .soins__ligne-compteur { display: contents; } }

/* ==========================================================================
   Avant / après (#10)
   ========================================================================== */
.avap { --pos: 50%; position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: var(--sable); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.avap img { color: transparent; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.avap__avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.avap__trait { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.avap__poignee {
  position: absolute; bottom: 14px; left: var(--pos); width: 48px; height: 48px; margin-left: -24px;
  border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .9); transition: transform .25s var(--entree);
}
.avap__poignee svg { width: 18px; height: 18px; color: #fff; }
.avap.glisse .avap__poignee { transform: scale(1.12); }
.avap__lib { position: absolute; top: 14px; font-size: 13px; line-height: 18px; padding: 5px 11px; border-radius: 999px; background: rgba(10, 11, 11, .45); color: #fff; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.avap__lib--avant { left: 14px; }
.avap__lib--apres { right: 14px; }
/* le range reste pour le clavier; le geste est géré par curseurPartout() dans rivage.js */
.avap { cursor: ew-resize; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.avap input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.avap input[type="range"]:focus-visible ~ .avap__poignee { outline: 2px solid var(--cobalt-2); outline-offset: 3px; }

/* ==========================================================================
   S5. Transformations devant le titre flouté (#9)
   ========================================================================== */
.trans { position: relative; padding-bottom: 140px; }
.trans__scene { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; text-align: center; padding: 0 var(--gouttiere); }
.trans__entete { max-width: 820px; will-change: filter, opacity; }
.trans__entete p { max-width: 520px; margin: 24px auto 28px; color: var(--encre-64); }
.trans__cartes { position: relative; z-index: 2; margin-top: -30vh; margin-top: -30svh; display: flex; flex-direction: column; gap: 90px; padding: 0 var(--gouttiere); pointer-events: none; }
.tcarte { width: 550px; pointer-events: auto; will-change: transform; }
.tcarte:nth-child(odd) { align-self: flex-start; }
.tcarte:nth-child(even) { align-self: flex-end; }
.tcarte .avap { aspect-ratio: 550 / 414; box-shadow: 0 30px 60px rgba(19, 23, 26, .10); }
.tcarte figcaption { margin-top: 14px; font-family: var(--serif); font-size: 26px; line-height: 30px; letter-spacing: -.02em; }
.trans__note { position: relative; z-index: 2; text-align: center; margin-top: 70px; }
@media (max-width: 899px) {
  .trans { padding-bottom: 80px; }
  .trans__scene { position: relative; height: auto; padding: 70px var(--gouttiere) 10px; }
  .trans__cartes { margin-top: 30px; gap: 40px; }
  .tcarte { width: 100%; }
  .tcarte .avap { aspect-ratio: 4 / 3; }
  .tcarte figcaption { font-size: 22px; line-height: 26px; }
  .trans__note { margin-top: 30px; padding: 0 var(--gouttiere); }
}

/* ==========================================================================
   S5b. Simulateur de sourire
   ========================================================================== */
.simu { padding: 140px var(--gouttiere); border-top: 1px solid var(--encre-12); }
.simu__grille { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 56px; align-items: start; }
.simu__cadre { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--sable); }
.simu__cadre img, .simu__couche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.simu__couche { -webkit-mask: url("../img/masque-dents-1100.webp") center / 100% 100% no-repeat; mask: url("../img/masque-dents-1100.webp") center / 100% 100% no-repeat; transition: opacity .25s; }
.simu__couche img { position: absolute; inset: 0; width: 100%; height: 100%; }
.simu__fonce img { filter: sepia(.35) brightness(.9) saturate(1.2); }
.simu__etoile { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: #fff; opacity: 0; filter: drop-shadow(0 0 8px #fff); pointer-events: none; }
.simu__etoile.scintille { animation: scintille 1s var(--entree) forwards; }
.simu__droite .titre { margin-bottom: 18px; }
.simu__droite > p { color: var(--encre-64); max-width: 470px; }
.nuancier { position: relative; margin: 28px 0 22px; padding: 4px 0 24px; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.nuancier__dents { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.nuancier__dent { display: grid; justify-items: center; gap: 6px; }
.nuancier__dent svg { width: 30px; height: 38px; filter: drop-shadow(0 1px 1px rgba(19, 23, 26, .15)); transition: transform .3s var(--entree); }
.nuancier__dent span { font-family: var(--mono); font-size: 12px; line-height: 14px; color: var(--encre-64); transition: color .25s; }
.nuancier__dent.is-active svg { transform: translateY(-5px) scale(1.1); }
.nuancier__dent.is-active span { color: var(--encre); }
.nuancier__rail { position: relative; height: 4px; margin: 30px calc(100% / 16) 0; border-radius: 2px; background: linear-gradient(90deg, #CDB07A, #E6D5B0, #F2EAD6, #FAF8F1); }
.nuancier__poignee { position: absolute; top: 50%; left: var(--p, 28.57%); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--perle); box-shadow: 0 0 0 3px var(--sable-fonce), 0 6px 14px rgba(19, 23, 26, .2); transition: left .25s var(--entree); pointer-events: none; }
.nuancier__poignee svg { width: 20px; height: 24px; color: var(--encre); }
.nuancier input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.nuancier input[type="range"]:focus-visible ~ .nuancier__rail .nuancier__poignee { outline: 2px solid var(--cobalt-2); outline-offset: 4px; }
.estimation { background: var(--sable); border-radius: 24px; padding: 24px 26px; }
.estimation__avert { font-size: 15px; line-height: 21px; color: var(--encre-64); margin-bottom: 16px; }
.estimation__avert strong { color: var(--encre); font-weight: 600; }
.estimation dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; line-height: 22px; }
.estimation dt { color: var(--encre-64); }
.estimation dd { margin: 0; font-weight: 500; }
.estimation dd.grand { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 26px; }
.simu__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-maintien { height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--encre-30); font-size: 15px; font-weight: 500; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; transition: background-color .2s, color .2s; }
.btn-maintien.appuye { background: var(--encre); color: var(--perle); }
.simu .petite-note { margin-top: 16px; }
@media (max-width: 899px) {
  .simu { padding: 80px var(--gouttiere); }
  .simu__grille { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .simu__droite { display: contents; }
  .simu__entete { order: 5; }
  .simu__visuel { order: 4; width: 100%; }
  .nuancier { order: 3; margin: 0; }
  .estimation { order: 2; }
  .simu__bas { order: 1; }
  .nuancier__dent svg { width: 26px; height: 33px; }
  .nuancier__dent span { font-size: 10px; }
  .estimation dl { grid-template-columns: 1fr 1fr; }
  .estimation dt { grid-column: 1 / -1; margin-bottom: -8px; font-size: 14px; }
  .simu__actions .pilule, .btn-maintien { width: 100%; justify-content: center; }
}

/* ==========================================================================
   S6. Processus (#11), téléphone et loupe radio
   ========================================================================== */
.processus { padding: 140px var(--gouttiere) 160px; }
.processus .titre { margin-bottom: 70px; }
.processus__grille { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.processus__onglets { position: sticky; top: 120px; border-top: 1px solid var(--encre-12); }
.processus__onglets button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--encre-12); font-family: var(--serif); font-size: 24px; line-height: 28px; letter-spacing: -.02em; color: var(--encre-30); text-align: left; transition: color .25s; }
.processus__onglets svg { width: 16px; height: 16px; flex: none; width: 0; opacity: 0; transition: width .3s var(--entree), opacity .25s; }
.processus__onglets button.is-active { color: var(--encre); }
.processus__onglets button.is-active svg { width: 16px; opacity: 1; }
.etapes { display: grid; gap: 90px; }
.etape { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 44px; align-items: center; }
.etape__visuel { border-radius: 24px; overflow: hidden; }
.etape__visuel > img { width: 100%; aspect-ratio: 520 / 600; object-fit: cover; }
.etape__txt .etiquette { margin-bottom: 12px; }
.etape__txt h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 38px; letter-spacing: -.025em; margin-bottom: 14px; }
.etape__txt p { font-size: 17px; line-height: 25px; color: var(--encre-64); max-width: 380px; }
.etape__indice { margin-top: 14px; font-size: 14px !important; }
/* téléphone dessiné */
.tel-panneau { aspect-ratio: 520 / 600; background: var(--sable); display: grid; place-items: center; }
.telephone { width: 250px; height: 500px; border-radius: 42px; background: var(--noir); padding: 10px; box-shadow: 0 40px 70px rgba(19, 23, 26, .22); transform: rotate(-4deg); }
.telephone__ecran { position: relative; height: 100%; border-radius: 33px; background: var(--creme); overflow: hidden; padding: 38px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.telephone__ecran::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: var(--noir); }
.tel__titre { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.tel__mois { font-size: 11px; color: var(--encre-64); margin-top: -6px; }
.tel__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 10px; text-align: center; }
.tel__cal span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; }
.tel__cal .j { color: var(--encre-64); }
.tel__cal .d { background: var(--sable); }
.tel__cal .x { color: var(--encre-30); }
.tel__cal .choisi { background: var(--cobalt-2); color: #fff; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(31, 111, 219, .22); } }
.tel__heures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; font-family: var(--mono); font-size: 10px; }
.tel__heures span { padding: 6px 0; text-align: center; border-radius: 8px; background: var(--sable); }
.tel__heures .choisi { background: var(--noir); color: var(--perle); }
.tel__confirme { margin-top: auto; background: var(--sable); border-radius: 16px; padding: 12px 14px; font-size: 12px; line-height: 16px; }
.tel__confirme strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 22px; }
.tel__confirme .ok { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: #1d7a45; font-weight: 600; }
.tel__pied { font-size: 9px; color: var(--encre-30); text-align: center; }
/* loupe radio */
.loupe { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--radio); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.loupe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.loupe__radio { --x: 50%; --y: 50%; --r: 95px; clip-path: circle(var(--r) at var(--x) var(--y)); transition: clip-path 0s; }
.loupe.radio-pleine .loupe__radio { clip-path: circle(150% at 50% 50%); transition: clip-path .7s var(--entree); }
.loupe__anneau { position: absolute; left: 0; top: 0; width: 190px; height: 190px; border-radius: 50%; border: 2px solid var(--perle); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 12px 30px rgba(0, 0, 0, .25); pointer-events: none; will-change: transform; }
.loupe__anneau svg { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); color: var(--perle); }
.loupe__etiquette { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--perle); background: rgba(11, 26, 42, .7); padding: 3px 8px; border-radius: 999px; }
.loupe.radio-pleine .loupe__anneau { opacity: 0; }
.loupe__bascule { margin-top: 14px; }
@media (hover: hover) and (pointer: fine) { .loupe { cursor: none; } }
@media (max-width: 899px) {
  .processus { padding: 80px var(--gouttiere) 90px; }
  .processus .titre { margin-bottom: 40px; }
  .processus__grille { display: block; }
  .processus__onglets { display: none; }
  .etapes { gap: 56px; }
  .etape { grid-template-columns: 1fr; gap: 22px; }
  .etape__visuel > img, .tel-panneau { aspect-ratio: 343 / 380; }
  .telephone { transform: rotate(-4deg) scale(.82); }
  .etape__txt h3 { font-size: 28px; line-height: 32px; }
  .loupe { touch-action: pan-y; }
  .loupe__anneau { pointer-events: auto; touch-action: none; cursor: grab; }
}

/* ==========================================================================
   S7. Équipe dispersée (#12)
   ========================================================================== */
.equipe { background: var(--sable); padding: 120px var(--gouttiere) 150px; }
.equipe__entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.equipe__entete p { max-width: 380px; text-align: right; font-size: 17px; line-height: 24px; color: var(--encre-64); }
.equipe__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 19px; }
.membre { position: relative; }
.membre:nth-of-type(1) { grid-area: 1 / 1; } .membre:nth-of-type(2) { grid-area: 1 / 2; } .membre:nth-of-type(3) { grid-area: 1 / 4; }
.membre:nth-of-type(4) { grid-area: 2 / 1; } .membre:nth-of-type(5) { grid-area: 2 / 3; } .membre:nth-of-type(6) { grid-area: 2 / 4; }
.trou--1 { grid-area: 1 / 3; } .trou--2 { grid-area: 2 / 2; }
.membre__face img { width: 100%; aspect-ratio: 329 / 420; object-fit: cover; border-radius: 24px; transition: transform .5s var(--entree); }
.membre__nom { margin-top: 14px; font-family: var(--serif); font-size: 26px; line-height: 28px; letter-spacing: -.02em; }
.membre__role { font-size: 16px; line-height: 22px; color: var(--encre-64); }
.membre__dos { display: none; }
.membre button.membre__declic { position: absolute; inset: 0; z-index: 2; border-radius: 24px; }
.trou { position: relative; }
.trou__carte {
  position: absolute; inset: 0; bottom: 64px; border-radius: 24px; background: var(--creme);
  padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: scale(.96); transition: opacity .25s, transform .35s var(--entree);
}
.trou__carte.est-visible { opacity: 1; transform: none; }
.trou__guillemet { font-family: var(--serif); font-size: 80px; line-height: .6; color: var(--cobalt-2); }
.trou__texte { font-family: var(--serif); font-size: 25px; line-height: 29px; letter-spacing: -.02em; }
.trou__texte em { color: var(--encre-64); font-style: normal; font-family: var(--sans); font-size: 14px; display: block; letter-spacing: 0; margin-bottom: 8px; }
.trou__signe { font-size: 15px; color: var(--encre-64); }
@media (hover: hover) { .membre:hover .membre__face img { transform: scale(.985); } }
@media (max-width: 899px) {
  .equipe { padding: 80px var(--gouttiere) 90px; }
  .equipe__entete { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .equipe__entete p { text-align: left; }
  .equipe__grille { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .membre:nth-of-type(n) { grid-area: auto; }
  .trou { display: none; }
  .membre { perspective: 1000px; }
  .membre__carte { position: relative; transform-style: preserve-3d; transition: transform .5s var(--entree); }
  .membre.est-retourne .membre__carte { transform: rotateY(180deg); }
  .membre__face, .membre__dos { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .membre__dos { display: flex; flex-direction: column; justify-content: center; position: absolute; inset: 0; transform: rotateY(180deg); background: var(--noir); color: var(--perle); border-radius: 18px; padding: 16px; font-family: var(--serif); font-size: 18px; line-height: 21px; letter-spacing: -.01em; }
  .membre__dos small { font-family: var(--sans); font-size: 12px; line-height: 16px; opacity: .7; margin-bottom: 8px; }
  .membre__face img { border-radius: 18px; }
  .membre__nom { font-size: 20px; line-height: 23px; margin-top: 10px; }
  .membre__role { font-size: 14px; line-height: 19px; }
}

/* ==========================================================================
   S8. Tarifs (#13)
   ========================================================================== */
.tarifs { padding: 140px var(--gouttiere) 150px; }
.tarifs__entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.tarifs__entete p { max-width: 380px; text-align: right; color: var(--encre-64); font-size: 17px; line-height: 24px; }
.forfaits { background: var(--sable); border-radius: 40px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto; }
.forfait { border-radius: 32px; padding: 36px 34px 32px; display: flex; flex-direction: column; }
.forfait--noir { background: var(--noir); color: var(--perle); margin: -14px 0; padding-top: 50px; padding-bottom: 46px; }
.forfait__haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.forfait__nom { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 34px; letter-spacing: -.025em; }
.forfait__badge { font-size: 12px; line-height: 16px; padding: 6px 11px; border-radius: 999px; background: var(--cobalt-2); color: #fff; white-space: nowrap; }
.forfait__sous { font-size: 16px; line-height: 22px; color: var(--encre-64); margin-top: 6px; }
.forfait--noir .forfait__sous, .forfait--noir .forfait__gris { color: rgba(246, 246, 242, .6); }
.prix { margin: 30px 0 26px; font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; }
.prix__dec { color: var(--encre-30); }
.forfait--noir .prix__dec { color: rgba(246, 246, 242, .35); }
.prix__unite { font-family: var(--sans); font-size: 16px; letter-spacing: 0; color: var(--encre-64); margin-left: 6px; }
.forfait--noir .prix__unite { color: rgba(246, 246, 242, .6); }
.forfait hr { border: 0; border-top: 1px solid var(--encre-12); margin: 0 0 22px; width: 100%; }
.forfait--noir hr { border-color: rgba(246, 246, 242, .16); }
.forfait__inclus { font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.coches li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 22px; }
.coches li + li { margin-top: 10px; }
.coches svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.forfait__gris { font-size: 14px; line-height: 20px; color: var(--encre-64); margin: 18px 0 24px; }
.forfait .pilule { margin-top: auto; align-self: flex-start; }
.tarifs__bas { max-width: 1100px; margin: 34px auto 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 899px) {
  .tarifs { padding: 80px var(--gouttiere) 90px; }
  .tarifs__entete { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .tarifs__entete p { text-align: left; }
  .forfaits { grid-template-columns: 1fr; border-radius: 28px; padding: 10px; gap: 10px; }
  .forfait { border-radius: 22px; padding: 26px 22px; }
  .forfait--noir { margin: 0; padding: 26px 22px; }
  .prix { font-size: 60px; }
}

/* ==========================================================================
   S9. Témoignages : section collée et carrousel infini (#14, #15)
   ========================================================================== */
.temoignages { position: relative; height: 230vh; background: #F7F4EC; }
.temoignages__scene { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; }
.papier { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--encre); opacity: .06; pointer-events: none; }
.temoignages__titre { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 0 var(--gouttiere); will-change: opacity, transform; }
.temoignages__titre p { max-width: 460px; margin: 20px auto 0; color: var(--encre-64); }
.temoignages__piste { position: absolute; left: 0; right: 0; top: 50%; margin-top: -250px; will-change: transform; }
.carrousel { position: relative; height: 440px; cursor: grab; touch-action: pan-y; }
.carrousel.tire { cursor: grabbing; }
.tc {
  position: absolute; left: 50%; top: 50%; width: 130px; height: 190px; margin: -95px 0 0 -65px;
  border-radius: 20px; background: var(--sable); overflow: hidden; user-select: none; -webkit-user-select: none;
  transition: width .6s var(--carrousel), height .6s var(--carrousel), margin .6s var(--carrousel), transform .6s var(--carrousel), opacity .4s;
}
.tc.sans-transition { transition: none; }
.tc.is-active { width: 760px; height: 420px; margin: -210px 0 0 -380px; cursor: default; }
.tc__petit { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 12px 10px 14px; text-align: center; transition: opacity .3s; }
.tc__petit .tc__mono { width: 106px; height: 106px; margin-bottom: auto; border-radius: 14px; display: grid; place-items: center; background: var(--sable-fonce); font-family: var(--serif); font-style: italic; font-size: 52px; letter-spacing: -.04em; color: var(--encre); }
.tc__petit strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; line-height: 20px; margin-top: 8px; }
.tc__petit span { font-size: 11px; line-height: 14px; color: var(--encre-64); }
.tc__grand { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 12px 12px 12px 30px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.tc.is-active .tc__petit { opacity: 0; pointer-events: none; }
.tc.is-active .tc__grand { opacity: 1; visibility: visible; transition: opacity .45s .2s, visibility 0s; }
.tc__contenu { display: flex; flex-direction: column; padding: 20px 0 16px; }
.etoiles { display: flex; gap: 3px; margin-bottom: 22px; }
.etoiles svg { width: 17px; height: 17px; }
.tc__citation { font-family: var(--serif); font-size: 25px; line-height: 29px; letter-spacing: -.02em; }
.tc__qui { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tc__qui strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; }
.tc__qui span { font-size: 14px; color: var(--encre-64); }
.tc__grand img { width: 340px; height: 396px; object-fit: cover; border-radius: 14px; }
.temoignages__commandes { position: absolute; left: 0; right: 0; top: 456px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.temoignages__commandes .petite-note { font-size: 13px; }
@media (max-width: 899px) {
  .temoignages { height: auto; padding: 80px 0 90px; }
  .temoignages__scene { position: relative; height: auto; min-height: 0; overflow: visible; }
  .temoignages__titre { position: relative; top: auto; transform: none; }
  .temoignages__piste { position: relative; top: auto; margin: 36px 0 0; padding: 0 var(--gouttiere); }
  .carrousel { height: auto; display: grid; cursor: auto; }
  .tc, .tc.is-active { position: relative; grid-area: 1 / 1; left: auto; top: auto; width: 100%; height: auto; margin: 0; transform: none !important; border-radius: 24px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
  .tc.is-active { opacity: 1; visibility: visible; transition: opacity .35s; }
  .tc__petit { display: none; }
  .tc__grand { position: relative; display: flex; flex-direction: column-reverse; padding: 10px 10px 20px; opacity: 1; visibility: visible; gap: 0; }
  .tc__grand img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; }
  .tc__contenu { padding: 20px 10px 0; }
  .tc__citation { font-size: 21px; line-height: 26px; }
  .tc__qui { margin-top: 18px; }
  .temoignages__commandes { position: relative; top: auto; align-items: flex-start; padding: 0 var(--gouttiere); margin-top: 18px; }
}

/* ==========================================================================
   S10. Assurances
   ========================================================================== */
.assurances { padding: 140px var(--gouttiere) 120px; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.assurances__texte > p { max-width: 520px; margin: 18px 0 26px; color: var(--encre-64); }
.assurances__cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 70px; max-width: 640px; }
.petite-carte { background: var(--sable); border-radius: 20px; padding: 22px 22px 24px; }
.petite-carte h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 28px; letter-spacing: -.02em; margin-bottom: 10px; }
.petite-carte p { font-size: 15px; line-height: 21px; color: var(--encre-64); }
.assurances .petite-note { margin-top: 18px; }
.assurances__photo img { width: 100%; aspect-ratio: 324 / 400; object-fit: cover; border-radius: 24px; }
@media (max-width: 899px) {
  .assurances { padding: 80px var(--gouttiere); grid-template-columns: 1fr; gap: 30px; }
  .assurances__cartes { grid-template-columns: 1fr; margin-top: 30px; }
}

/* ==========================================================================
   S11. FAQ (#16)
   ========================================================================== */
.faq { padding: 120px var(--gouttiere) 140px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq__gauche { position: sticky; top: 110px; display: flex; flex-direction: column; min-height: 440px; }
.mini-carte { margin-top: auto; max-width: 330px; background: var(--sable); border-radius: 24px; padding: 22px; display: grid; gap: 12px; }
.mini-carte__haut { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; }
.mini-carte img { width: 40px; height: 40px; border-radius: 50%; }
.mini-carte p { font-size: 15px; line-height: 21px; color: var(--encre-64); }
.mini-carte .pilule { justify-self: start; }
.accordeon { border-top: 1px solid var(--encre-12); }
.question { border-bottom: 1px solid var(--encre-12); }
.question__bouton { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 24px 0; text-align: left; font-family: var(--serif); font-size: 26px; line-height: 30px; letter-spacing: -.02em; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--entree); }
.plus::after { transform: rotate(90deg); }
.question.est-ouverte .plus::after { transform: rotate(0deg); }
.question__reponse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-in; }
.question.est-ouverte .question__reponse { grid-template-rows: 1fr; transition: grid-template-rows .32s var(--entree); }
.question__reponse > div { overflow: hidden; }
.question__reponse p { padding: 0 40px 26px 0; font-size: 17px; line-height: 25px; color: var(--encre-64); }
@media (max-width: 899px) {
  .faq { padding: 80px var(--gouttiere); grid-template-columns: 1fr; gap: 26px; }
  .faq__gauche { position: static; min-height: 0; }
  .faq .mini-carte { display: none; }
  .question__bouton { font-size: 21px; line-height: 25px; padding: 20px 0; }
  .question__reponse p { padding-right: 0; font-size: 16px; line-height: 23px; }
}

/* ==========================================================================
   S12. Conseils (#17, #18) et tiroir d'article
   ========================================================================== */
.conseils { padding: 120px var(--gouttiere) 140px; }
.conseils__entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.conseils__droite { max-width: 380px; display: grid; gap: 18px; justify-items: end; text-align: right; }
.conseils__droite p { color: var(--encre-64); font-size: 17px; line-height: 24px; }
.conseils__piste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.conseil { display: block; width: 100%; text-align: left; }
.conseil__img { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 437 / 500; background: var(--ecume); }
.conseil__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--entree); }
@media (hover: hover) { .conseil:hover .conseil__img img { transform: scale(1.1); } }
.conseil:active .conseil__img img { transform: scale(1.05); }
.conseil__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--encre-64); }
.conseil__titre { display: block; margin-top: 6px; font-family: var(--serif); font-size: 27px; line-height: 30px; letter-spacing: -.02em; }
.conseils__fleches { display: none; }
@media (max-width: 899px) {
  .conseils { padding: 80px 0 90px; }
  .conseils__entete { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 var(--gouttiere); margin-bottom: 28px; }
  .conseils__droite { justify-items: start; text-align: left; }
  .conseils__piste { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gouttiere); scrollbar-width: none; scroll-padding: 0 var(--gouttiere); }
  .conseils__piste::-webkit-scrollbar { display: none; }
  .conseil { flex: 0 0 100%; scroll-snap-align: start; }
  .conseils__fleches { display: flex; padding: 20px var(--gouttiere) 0; }
  .conseil__titre { font-size: 23px; line-height: 27px; }
}
.voile { position: fixed; inset: 0; z-index: 80; background: rgba(10, 11, 11, .42); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.voile.est-visible { opacity: 1; visibility: visible; transition: opacity .45s; }
.tiroir {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: 520px; max-width: 100%;
  background: var(--creme); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(102%); visibility: hidden; transition: transform .45s var(--entree), visibility 0s .45s;
  box-shadow: -30px 0 80px rgba(10, 11, 11, .18);
}
.tiroir.est-ouvert { transform: none; visibility: visible; transition: transform .45s var(--entree), visibility 0s; }
.tiroir__fermer { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--perle); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.tiroir__fermer svg { width: 16px; height: 16px; }
.tiroir__img { width: 100%; aspect-ratio: 520 / 340; object-fit: cover; }
.tiroir__corps { padding: 26px 34px 40px; }
.tiroir__corps .conseil__meta { margin-top: 0; }
.tiroir__corps h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 42px; letter-spacing: -.03em; margin: 10px 0 22px; }
.tiroir__corps p { font-size: 17px; line-height: 26px; color: var(--encre-64); }
.tiroir__corps p + p { margin-top: 14px; }
.tiroir__pied { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--encre-12); display: grid; gap: 14px; justify-items: start; }
.article-modele { display: none; }
@media (max-width: 899px) {
  .tiroir { top: auto; left: 0; width: 100%; height: 90svh; border-radius: 24px 24px 0 0; transform: translateY(102%); }
  .tiroir.est-ouvert { transform: none; }
  .tiroir__corps { padding: 22px 20px 34px; }
  .tiroir__corps h2 { font-size: 32px; line-height: 34px; }
}
html.verrou { overflow: hidden; }

/* ==========================================================================
   S13. Rendez-vous, mini-calendrier (#20)
   ========================================================================== */
.rdv { padding: 120px var(--gouttiere) 140px; display: grid; grid-template-columns: 1fr minmax(0, 700px); gap: 70px; align-items: start; }
.rdv__info > p { margin: 20px 0 26px; max-width: 470px; color: var(--encre-64); font-size: 17px; line-height: 25px; }
.adresse { font-family: var(--serif); font-size: 28px; line-height: 32px; letter-spacing: -.02em; }
.adresse small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--encre-64); }
.rdv__cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; max-width: 540px; }
.rdv__cartes .petite-carte p { font-size: 15px; line-height: 22px; }
.rdv__cartes .tel { font-family: var(--serif); font-size: 28px; color: var(--encre); text-decoration: none; display: block; margin-bottom: 6px; }
.formulaire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; transition: opacity .4s; }
.champ { display: grid; gap: 8px; align-content: start; min-width: 0; }
.cal { min-width: 0; max-width: 100%; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend, .champ .lib { font-size: 15px; font-weight: 500; }
.champ input, .champ select, .champ textarea {
  width: 100%; border: 1px solid transparent; background: var(--sable); border-radius: 20px;
  padding: 14px 18px; font-size: 16px; line-height: 22px; outline: none; transition: border-color .2s, background-color .2s;
}
.champ select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre-30); background: #F5F0E6; }
.champ.en-erreur input, .champ.en-erreur select, .champ.en-erreur .cal { border-color: #B3261E; }
.erreur { font-size: 14px; line-height: 18px; color: #B3261E; min-height: 0; }
.erreur:empty { display: none; }
.note-soin { font-size: 14px; color: var(--cobalt-1); }
.note-soin:empty { display: none; }
fieldset.champ { border: 0; padding: 0; margin: 0; min-width: 0; }
.cal { border: 1px solid transparent; border-radius: 22px; background: var(--sable); padding: 14px; }
.cal__jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.jour { display: grid; justify-items: center; gap: 2px; padding: 8px 0 9px; border-radius: 14px; background: var(--creme); font-size: 12px; line-height: 15px; color: var(--encre-64); transition: background-color .2s, color .2s, transform .2s; }
.jour strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 24px; color: var(--encre); }
.jour .complet { font-size: 10px; }
.jour:disabled { opacity: .45; cursor: not-allowed; background: transparent; }
.jour[aria-pressed="true"] { background: var(--noir); color: rgba(246, 246, 242, .7); }
.jour[aria-pressed="true"] strong { color: var(--perle); }
@media (hover: hover) { .jour:not(:disabled):not([aria-pressed="true"]):hover { background: var(--sable-fonce); } }
.cal__legende { margin: 14px 2px 10px; font-size: 14px; color: var(--encre-64); }
.cal__heures { display: flex; flex-wrap: wrap; gap: 6px; }
.heure { min-width: 74px; height: 38px; padding: 0 12px; border-radius: 999px; background: var(--creme); font-family: var(--mono); font-size: 13px; transition: background-color .2s, color .2s; }
.heure:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.heure[aria-pressed="true"] { background: var(--noir); color: var(--perle); }
@media (hover: hover) { .heure:not(:disabled):not([aria-pressed="true"]):hover { background: var(--sable-fonce); } }
.cal__vide { font-size: 14px; color: var(--encre-64); }
.case { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.case input { width: 20px; height: 20px; accent-color: var(--noir); }
.rdv__merci { display: none; background: var(--sable); border-radius: 28px; padding: 40px 36px; }
.rdv__merci.est-visible { display: block; animation: apparait .5s var(--entree); }
@keyframes apparait { from { opacity: 0; transform: translateY(12px); } }
.rdv__merci h3 { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; letter-spacing: -.03em; margin-bottom: 18px; }
.rdv__merci p { font-size: 17px; line-height: 25px; }
.rdv__merci .petite-note { margin: 14px 0 24px; }
.formulaire.est-cache { display: none; }
@media (max-width: 899px) {
  .rdv { padding: 80px var(--gouttiere); grid-template-columns: 1fr; gap: 36px; }
  .rdv__cartes { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: minmax(0, 1fr); }
  .cal__jours { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; scroll-padding: 0 14px; }
  .cal__jours::-webkit-scrollbar { display: none; }
  .jour { flex: 0 0 calc((100% - 30px) / 6); min-width: 44px; scroll-snap-align: start; }
  .jour strong { font-size: 18px; }
  .cal__heures { display: grid; grid-template-columns: repeat(3, 1fr); }
  .heure { min-width: 0; height: 44px; }
  .rdv__merci { padding: 30px 22px; }
  .rdv__merci h3 { font-size: 40px; }
}

/* ==========================================================================
   S14. Visite
   ========================================================================== */
.visite { padding: 60px var(--gouttiere) 140px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 940px); gap: 50px; align-items: end; }
.visite__texte > p { margin: 18px 0 24px; color: var(--encre-64); }
.visite .coches { margin-bottom: 34px; }
.visite .adresse { margin-bottom: 20px; font-size: 24px; line-height: 28px; }
.visite__photo { position: relative; }
.visite__photo img { width: 100%; aspect-ratio: 940 / 480; object-fit: cover; border-radius: 24px; }
.visite__enseigne { position: absolute; left: 28px; bottom: 24px; padding: 8px 16px; border-radius: 999px; background: rgba(251, 251, 244, .85); font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 899px) {
  .visite { grid-template-columns: 1fr; padding: 40px var(--gouttiere) 90px; gap: 30px; }
  .visite__photo { order: -1; }
  .visite__photo img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Pied de page (#19)
   ========================================================================== */
.pied { background: var(--noir); color: var(--perle); padding: 90px var(--gouttiere) 0; overflow: hidden; }
.pied__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; font-size: 15px; line-height: 26px; }
.pied h2 { font-size: 13px; font-weight: 500; color: rgba(246, 246, 242, .5); margin-bottom: 12px; letter-spacing: 0; }
.pied a { text-decoration: none; transition: opacity .2s; }
@media (hover: hover) { .pied a:hover { opacity: .6; } }
.pied__geant { font-family: var(--serif); font-size: 29vw; line-height: .78; letter-spacing: -.05em; color: rgba(246, 246, 242, .10); margin: 70px 0 -0.24em -0.04em; white-space: nowrap; user-select: none; }
.pied__droits { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid rgba(246, 246, 242, .14); font-size: 13px; line-height: 20px; color: rgba(246, 246, 242, .6); background: var(--noir); }
.pied__droits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) {
  .pied { padding-top: 64px; }
  .pied__cols { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .pied__geant { font-size: 34vw; margin-top: 40px; }
}

/* ==========================================================================
   Pages Tarifs et Transformations
   ========================================================================== */
.page-entete { position: relative; overflow: hidden; padding: calc(var(--bandeau-h) + 170px) var(--gouttiere) 90px; text-align: center; }
.page-entete__fond { position: absolute; inset: 0; z-index: -1; }
.page-entete__fond img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(.9); transform: scale(1.15); opacity: .55; }
.page-entete__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 251, 244, .35), var(--creme) 92%); }
.page-entete > p:not(.etiquette) { max-width: 560px; margin: 24px auto 0; color: var(--encre-64); }
.page-entete .forfaits { margin-top: 70px; text-align: left; }
.page-entete .forfait { text-align: left; }
@media (max-width: 899px) { .page-entete { padding: calc(var(--bandeau-h) + 110px) var(--gouttiere) 60px; } .page-entete .forfaits { margin-top: 40px; } }

.actes { padding: 100px var(--gouttiere) 120px; }
.actes__entete { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.actes__entete p { color: var(--encre-64); max-width: 460px; justify-self: end; font-size: 17px; line-height: 24px; }
.actes__bandeau { position: relative; margin-bottom: 30px; }
.actes__bandeau img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: 24px; }
.actes__bandeau figcaption { position: absolute; left: 22px; bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(251, 251, 244, .9); font-size: 14px; }
.grille-prix { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.grille-prix th { text-align: left; font-size: 14px; font-weight: 500; color: var(--encre-64); padding: 0 24px 6px; }
.grille-prix td { padding: 18px 24px; font-size: 16px; line-height: 22px; background: #fff; }
.grille-prix tr:nth-child(even) td { background: var(--sable); }
.grille-prix td:first-child { border-radius: 16px 0 0 16px; font-family: var(--serif); font-size: 24px; line-height: 26px; letter-spacing: -.02em; }
.grille-prix td:last-child { border-radius: 0 16px 16px 0; text-align: right; font-weight: 500; white-space: nowrap; }
.grille-prix th:last-child { text-align: right; }
.grille-prix td:nth-child(2) { color: var(--encre-64); }
@media (max-width: 899px) {
  .actes { padding: 70px var(--gouttiere) 80px; }
  .actes__entete { grid-template-columns: 1fr; gap: 16px; }
  .actes__entete p { justify-self: start; }
  .actes__bandeau img { aspect-ratio: 16 / 9; }
  .grille-prix thead { display: none; }
  .grille-prix, .grille-prix tbody, .grille-prix tr, .grille-prix td { display: block; }
  .grille-prix tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-radius: 16px; background: #fff; margin-bottom: 6px; }
  .grille-prix tr:nth-child(even) { background: var(--sable); }
  .grille-prix td, .grille-prix tr:nth-child(even) td { padding: 0; background: none; border-radius: 0 !important; }
  .grille-prix td:first-child { font-size: 21px; }
  .grille-prix td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; line-height: 19px; }
  .grille-prix td:last-child { grid-column: 2; grid-row: 1; font-size: 15px; }
}

.comparatif { padding: 100px var(--gouttiere) 120px; }
.comparatif__entete { text-align: center; margin-bottom: 46px; }
.comparatif__entete p { color: var(--encre-64); margin-top: 16px; }
.tableau-comp { width: 100%; border-collapse: separate; border-spacing: 0 6px; table-layout: fixed; }
.tableau-comp th { font-size: 15px; font-weight: 500; text-align: left; padding: 14px 22px; color: var(--encre-64); }
.tableau-comp th.rivage { color: var(--perle); background: var(--noir); border-radius: 18px 18px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.tableau-comp td { padding: 18px 22px; font-size: 16px; line-height: 22px; background: #fff; }
.tableau-comp tr:nth-child(odd) td { background: var(--sable); }
.tableau-comp td:first-child { border-radius: 16px 0 0 16px; font-family: var(--serif); font-size: 22px; line-height: 25px; letter-spacing: -.02em; }
.tableau-comp td.rivage, .tableau-comp tr:nth-child(odd) td.rivage { background: var(--noir); color: var(--perle); border-radius: 0 16px 16px 0; font-weight: 500; }
.tableau-comp td:not(:first-child):not(.rivage) { color: var(--encre-64); }
.comp-cartes { display: none; }
.comparatif .petite-note { text-align: center; margin-top: 22px; }
@media (max-width: 899px) {
  .comparatif { padding: 70px var(--gouttiere) 80px; }
  .tableau-comp { display: none; }
  .comp-cartes { display: grid; gap: 10px; }
  .comp-carte { background: var(--sable); border-radius: 22px; padding: 18px; }
  .comp-carte h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -.02em; margin-bottom: 10px; }
  .comp-carte dl { display: grid; gap: 8px; }
  .comp-carte div { background: var(--creme); border-radius: 14px; padding: 10px 12px; }
  .comp-carte div.rivage { background: var(--noir); color: var(--perle); }
  .comp-carte dt { font-size: 12px; color: var(--encre-64); }
  .comp-carte div.rivage dt { color: rgba(246, 246, 242, .6); }
  .comp-carte dd { margin: 0; font-size: 15px; line-height: 21px; }
}

.bandeau-avap { padding: 0 var(--gouttiere); margin-top: 50px; }
.bandeau-avap .avap { aspect-ratio: auto; height: 60vh; height: 60svh; min-height: 380px; border-radius: 28px; }
.bandeau-avap figcaption { margin-top: 14px; text-align: center; font-family: var(--serif); font-size: 24px; letter-spacing: -.02em; }
@media (max-width: 899px) { .bandeau-avap .avap { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 22px; } .bandeau-avap figcaption { font-size: 20px; } }
.stats-page { padding: 110px var(--gouttiere) 40px; }
.stats-page .stats { margin-top: 0; }
.cas-section { padding: 100px var(--gouttiere) 80px; }
.cas-section__entete { text-align: center; margin-bottom: 60px; }
.cas { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 50px; align-items: center; padding: 50px 0; border-top: 1px solid var(--encre-12); }
.cas:nth-child(even) .cas__visuel { order: 2; }
.cas .avap { aspect-ratio: 16 / 10; }
.cas__probleme { font-size: 14px; color: var(--encre-64); }
.cas__soin { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 42px; letter-spacing: -.03em; margin: 6px 0 16px; }
.cas__txt > p { color: var(--encre-64); font-size: 17px; line-height: 25px; }
.cas__faits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cas__faits div { background: var(--sable); border-radius: 16px; padding: 14px 16px; }
.cas__faits dt { font-size: 13px; color: var(--encre-64); }
.cas__faits dd { margin: 4px 0 0; font-size: 16px; line-height: 21px; font-weight: 500; }
.detail { padding: 100px var(--gouttiere); background: var(--sable); }
.detail__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 60px; align-items: start; margin-top: 50px; }
.detail__photo img { width: 100%; aspect-ratio: 428 / 520; object-fit: cover; border-radius: 24px; }
.patient { display: flex; align-items: center; gap: 14px; background: var(--creme); border-radius: 20px; padding: 14px 18px; margin-top: 14px; }
.patient__mono { width: 48px; height: 48px; border-radius: 50%; background: var(--sable-fonce); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; }
.patient strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 24px; }
.patient span { font-size: 14px; color: var(--encre-64); }
.detail h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 34px; letter-spacing: -.02em; margin: 34px 0 14px; }
.detail h3:first-child { margin-top: 0; }
.puces li { position: relative; padding-left: 22px; font-size: 17px; line-height: 25px; }
.puces li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.puces li + li { margin-top: 6px; }
.etapes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.etapes3 div { background: var(--creme); border-radius: 18px; padding: 18px; }
.etapes3 strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
.etapes3 strong span { color: var(--encre-30); margin-right: 6px; }
.etapes3 p { font-size: 15px; line-height: 21px; color: var(--encre-64); }
.detail__resultat { font-size: 17px; line-height: 25px; color: var(--encre-64); margin-bottom: 24px; }
@media (max-width: 899px) {
  .stats-page { padding: 70px var(--gouttiere) 20px; }
  .cas-section { padding: 70px var(--gouttiere) 50px; }
  .cas-section__entete { margin-bottom: 30px; }
  .cas { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .cas:nth-child(even) .cas__visuel { order: 0; }
  .cas .avap { aspect-ratio: 4 / 3; }
  .cas__soin { font-size: 30px; line-height: 33px; }
  .detail { padding: 70px var(--gouttiere); }
  .detail__grille { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .etapes3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .heros__titre .mot > span { transform: none; animation: none; }
  .js [data-revele] { opacity: 1; transform: none; }
  .trans__entete { filter: none !important; opacity: 1 !important; }
}

/* Très petits écrans (320 px) : les pilules longues passent sur deux lignes au lieu de déborder
   (le rouleau est alors remplacé par le seul remplissage de l'anneau) */
@media (max-width: 360px) {
  .pilule { white-space: normal; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; text-align: center; max-width: 100%; }
  .pilule__rouleau { height: auto; overflow: visible; }
  .pilule__rouleau > span + span { display: none; }
  .pilule:hover .pilule__rouleau > span, .pilule:active .pilule__rouleau > span, .pilule.joue .pilule__rouleau > span { transform: none; }
}

/* Simulateur sous 480 px : la méthode conseillée passe sous son libellé, sur toute la largeur */
@media (max-width: 480px) {
  .estimation dd[data-est="methode"] { grid-column: 1 / -1 !important; }
}

/* 320 px : titres de section un peu plus petits pour éviter les mots seuls en fin de titre */
@media (max-width: 360px) { .titre-l { font-size: 38px; } .titre-xl { font-size: 52px; } }

/* ==========================================================================
   Rythme vertical resserré (demande de Maxim, novembre 2026) : aucun vide entre les sections.
   Une seule règle : chaque section claire n'a de l'air qu'au-dessus d'elle (--espace);
   les sections colorées ont une marge au-dessus et de l'air à l'intérieur.
   Le héros (la dent) et le rideau des soins gardent leur rythme.
   ========================================================================== */
:root { --espace: 72px; }
@media (max-width: 899px) { :root { --espace: 46px; } }
.apropos, .symptomes, .simu, .processus, .tarifs, .assurances, .faq, .conseils, .rdv, .visite,
.actes, .comparatif, .stats-page, .cas-section { padding-top: var(--espace); padding-bottom: 0; }
.soins, .equipe, .temoignages, .detail, .pied { margin-top: var(--espace); }
.equipe, .detail { padding-top: var(--espace); padding-bottom: var(--espace); }
.simu { border-top: 0; }
/* détails internes qui faisaient des trous */
.stats { margin-top: 48px; }
.symptomes__gauche .titre { margin-bottom: 32px; }
.processus .titre { margin-bottom: 36px; }
.etapes { gap: 56px; }
.equipe__entete, .tarifs__entete, .conseils__entete { margin-bottom: 32px; }
@media (min-width: 900px) { .simu__grille { align-items: center; } }
.assurances__cartes { margin-top: 32px; }
.assurances .petite-note { margin-top: 14px; }
.tarifs__bas { margin-top: 24px; }
.faq__gauche { min-height: 0; gap: 28px; }
.mini-carte { margin-top: 0; }
.actes__entete { margin-bottom: 24px; }
.comparatif__entete { margin-bottom: 28px; }
.cas-section__entete { margin-bottom: 28px; }
.cas { padding: 32px 0; }
.page-entete { padding-bottom: 40px; }
.page-entete .forfaits { margin-top: 40px; }
.bandeau-avap { margin-top: 0; }
.detail__grille { margin-top: 28px; }
.pied { padding-top: 56px; }
.pied__geant { margin-top: 32px; }
/* transformations : le titre n'attend plus au milieu d'un écran vide, les cartes montent tout de suite */
.trans { padding-bottom: 0; }
.trans__scene { place-items: start center; padding-top: calc(var(--espace) + 16px); }
.trans__cartes { margin-top: -52vh; margin-top: -52svh; gap: 48px; }
.trans__note { margin-top: 24px; }
/* témoignages : scène moins haute, plus de bande vide sous les flèches à la sortie */
.temoignages { height: 190vh; }
.temoignages__scene { height: min(100svh, 760px); min-height: 660px; }
.temoignages__piste { margin-top: -240px; }
@media (min-width: 1200px) {
  /* cartes en quinconce : la voisine commence à côté, pas en dessous */
  .tcarte:nth-child(n+2) { margin-top: -230px; }
}
@media (max-width: 899px) {
  .heros { padding-bottom: 8px; }
  .symptomes { padding-bottom: 0; }
  .sympt__onglets { margin: 10px 0 6px; }
  .soins__scene { padding-top: var(--espace); padding-bottom: var(--espace); }
  .soins__photos { margin-top: 20px; }
  .trans__scene { padding-top: var(--espace); padding-bottom: 0; }
  .trans__cartes { margin-top: 24px; gap: 28px; }
  .stats, .stats--4 { margin-top: 28px; }
  .stat { padding: 18px 8px; }
  .etapes { gap: 36px; }
  .temoignages { height: auto; padding: var(--espace) 0; }
  .temoignages__scene { height: auto; min-height: 0; }
  .temoignages__piste { margin: 24px 0 0; }
  .assurances { gap: 24px; }
  .faq { gap: 20px; }
  .rdv { gap: 28px; }
  .visite { gap: 24px; }
  .pied { padding-top: 44px; }
  .cas { padding: 26px 0; }
  .page-entete { padding-bottom: 28px; }
}

/* Autour des sections colorées, le changement de fond fait déjà la coupure : on serre davantage */
:root { --espace-couleur: 52px; }
@media (max-width: 899px) { :root { --espace-couleur: 34px; } }
.soins, .equipe, .temoignages, .detail, .pied { margin-top: var(--espace-couleur); }
.equipe, .detail { padding-top: var(--espace-couleur); padding-bottom: var(--espace-couleur); }
.tarifs, .assurances, .page-transformations .processus { padding-top: var(--espace-couleur); }
.soins__scene { padding-top: 44px; padding-bottom: 40px; }
.temoignages__titre { top: 42%; }
.pied { padding-top: 44px; }
@media (max-width: 899px) {
  .soins__scene { padding-top: var(--espace-couleur); padding-bottom: var(--espace-couleur); }
  .trans__scene { padding-top: var(--espace-couleur); }
  .temoignages { padding: var(--espace-couleur) 0; }
  .temoignages__titre { top: auto; }
  .pied { padding-top: 36px; }
}
