/* =========================================================
   Noémie Xhemal, Ostéopathe D.O. — refonte 2026
   Charte : sauge + crème, Cormorant Garamond + Inter.
   Palette construite en OKLCH à partir des couleurs d'origine.
   ========================================================= */
:root {
  /* Sauge (teinte 148°) */
  --sage-50:  #F2F9F2;
  --sage-100: #E4F1E5;
  --sage-200: #CAE3CC;
  --sage-300: #ADCEB0;
  --sage-400: #89B08E;
  --sage-500: #78A07C;
  --sage-600: #5D8061;
  --sage-700: #47634A; /* boutons et titres : 6,7:1 avec du blanc */
  --sage-800: #344836;
  --sage-900: #213023;

  /* Neutres chauds (crème du cabinet) */
  --paper: #F9F6F2;
  --sand:  #F0ECE4;
  --linen: #E8E2D7;
  --line:  #D8D4CA;
  --muted: #6C6861;
  --body:  #4A4741;
  --ink:   #282622;

  /* Bois blond du miroir : uniquement en touches fines */
  --clay-100: #F4E5D7;
  --clay-300: #D4B89C;
  --clay-500: #B08A64;
  --clay-700: #7C5C3A;

  /* Variables utilisées par les sections reprises du site actuel (Accès & contact, footer) */
  --color-primary:       var(--sage-500);
  --color-primary-dark:  var(--sage-700);
  --color-primary-light: #B8D4BB;
  --color-bg-main:       var(--paper);
  --color-bg-section:    var(--sand);
  --color-bg-card:       #F2EDE5;
  --color-text-dark:     var(--ink);
  --color-separator:     var(--line);
  --color-cabinet-1:     var(--sage-500); /* L'Hôpital-le-Grand */
  --color-cabinet-2:     var(--clay-500); /* Veauche */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 72px;
  --medal: 64px;
}

/* ---------- Base (remplace le reset de Tailwind, désactivé) ---------- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: currentColor; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
button { font: inherit; color: inherit; background: none; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; }
.nowrap { white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sage-800); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--clay-700); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--clay-500); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.005em; color: var(--sage-800); max-width: 18ch; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__note { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section-head--center { text-align: center; }
.section-head--center .h2 { margin-inline: auto; }

/* ---------- Boutons, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--font-body); border-radius: 999px; padding: 16px 24px; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--sage-700); color: #fff; }
.btn--primary:hover { background: var(--sage-800); }
.btn--ghost { border: 1.5px solid var(--sage-700); color: var(--sage-700); background: rgba(249, 246, 242, .85); }
.btn--ghost:hover { background: #fff; }
.btn--block { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); }
a.badge:hover { border-color: var(--clay-300); }
.stars { color: #C98F1F; letter-spacing: 1px; font-size: 12px; }

/* ---------- Menu + médaillon ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(16px, 4vw, 56px); background: rgba(249, 246, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.medal { position: relative; width: var(--medal); height: var(--medal); flex-shrink: 0; margin-top: calc(var(--medal) * .42); }
.medal__disc { position: absolute; inset: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(249, 246, 242, .7), 0 8px 22px rgba(33, 48, 35, .18); }
.medal__slot { position: absolute; inset: 16%; }
.medal__slot.is-filled { background: var(--sage-800); -webkit-mask: url(images/logo.svg) center / contain no-repeat; mask: url(images/logo.svg) center / contain no-repeat; }
.brand__text b { display: block; font: italic 600 22px/1 var(--font-display); color: var(--sage-800); }
.brand__text small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.nav__links { display: none; align-items: center; gap: clamp(18px, 2vw, 30px); font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage-700); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--sage-700); }
.nav .nav__cta { display: none; padding: 12px 20px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 24px; height: 1.5px; background: currentColor; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Logo volant (hero → médaillon) */
.logo-flight { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; width: var(--s); height: var(--s); transform: translate(var(--x), var(--y)); background: var(--sage-800); -webkit-mask: url(images/logo.svg) center / contain no-repeat; mask: url(images/logo.svg) center / contain no-repeat; }

/* ---------- Drawer mobile ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(33, 48, 35, .35); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(86vw, 380px); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(33, 48, 35, .18); transition: transform .4s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding: 0 20px 0 28px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.drawer__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.drawer__close svg { width: 24px; height: 24px; }
.drawer__links { display: flex; flex-direction: column; padding: 18px 28px; }
.drawer__links a { font: 600 30px/1.1 var(--font-display); color: var(--sage-800); padding: 11px 0; border-bottom: 1px solid var(--linen); opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.drawer.is-open .drawer__links a { opacity: 1; transform: none; }
.drawer.is-open .drawer__links a:nth-child(2) { transition-delay: .04s; }
.drawer.is-open .drawer__links a:nth-child(3) { transition-delay: .08s; }
.drawer.is-open .drawer__links a:nth-child(4) { transition-delay: .12s; }
.drawer.is-open .drawer__links a:nth-child(5) { transition-delay: .16s; }
.drawer.is-open .drawer__links a:nth-child(6) { transition-delay: .2s; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 32px; }
.drawer__places { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.drawer__places li { display: flex; align-items: center; gap: 8px; }
body.drawer-open { overflow: hidden; }

/* ---------- Boutons flottants mobile ---------- */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-cta__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-700); color: #fff; box-shadow: 0 10px 24px rgba(33, 48, 35, .28); }
.float-cta__btn--light { background: #fff; color: var(--sage-700); border: 2px solid var(--sage-700); }
.float-cta__btn svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .float-cta { display: none; } }

/* ---------- Suivi de lecture : colonne vertébrale ---------- */
.spine { --u: .85px; position: fixed; z-index: 45; right: 3px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 3px; border-radius: 999px; background: rgba(249, 246, 242, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.vert { --k: 1; display: block; width: 15px; height: 7px; color: var(--sage-300); transform: translateX(calc(var(--dx) * var(--u) * var(--k))) rotate(calc(var(--rot) * var(--k))); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), color .4s var(--ease); }
.vert svg { width: 100%; height: 100%; overflow: visible; }
.vert.is-on { --k: 0; color: var(--sage-700); }
@media (min-width: 1280px) {
  .spine { --u: 1px; right: 20px; gap: 5px; padding: 14px 6px; }
  .vert { width: 26px; height: 11px; }
}

/* ---------- Forme miroir ---------- */
.mirror { position: relative; }
.mirror__frame { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.mirror__frame path { fill: none; stroke: var(--clay-300); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mirror__img { width: 100%; height: 100%; object-fit: cover; clip-path: url(#mirrorClip); }

/* ---------- Hero ---------- */
/* Mobile : photo du cabinet en fond, voile clair, logo au centre */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 16px; text-align: center; padding: calc(var(--nav-h) + 44px) 20px 44px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(249, 246, 242, .9) 0%, rgba(249, 246, 242, .78) 55%, rgba(249, 246, 242, .62) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero .hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo .mirror__frame { display: none; }
.hero__photo .mirror__img { clip-path: none; object-position: center 45%; }

.hero__logo { width: min(44vw, 180px); height: min(44vw, 180px); margin-bottom: 6px;
  background: conic-gradient(from 200deg, var(--sage-800) var(--a), transparent var(--a));
  -webkit-mask: url(images/logo.svg) center / contain no-repeat; mask: url(images/logo.svg) center / contain no-repeat;
  --a: 0deg; animation: logo-draw 2.2s var(--ease) .2s forwards; }
.hero__logo.is-away { visibility: hidden; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes logo-draw { to { --a: 360deg; } }

.hero__title { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__name { font: italic 600 clamp(48px, 7vw, 96px)/.95 var(--font-display); color: var(--sage-800); }
.hero__sub { font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; color: var(--sage-700); }
.hero__ctas { display: flex; gap: 10px; width: 100%; margin-top: 14px; }
.hero__ctas .btn--primary { flex: 1; }
.hero__ctas .btn--call { padding: 16px 18px; }
.hero__ctas .btn__num { display: none; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* Apparition après le dessin du logo */
.hero__title, .hero__ctas, .hero__badges, .hero__photo { opacity: 0; animation: hero-rise .9s var(--ease) forwards; }
.hero__title { animation-delay: 1.5s; }
.hero__ctas { animation-delay: 1.75s; }
.hero__badges { animation-delay: 1.95s; }
.hero__photo { animation-name: hero-fade; animation-delay: .1s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { to { opacity: 1; } }

/* Ordinateur : split, texte à gauche, photo miroir à droite */
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.05fr .95fr; grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: 72px; row-gap: 22px; align-content: stretch; align-items: start; justify-items: start; text-align: left; padding: calc(var(--nav-h) + 24px) clamp(32px, 5vw, 72px) 48px;
    background: radial-gradient(900px 500px at 0% 0%, var(--sage-50), transparent 60%), var(--paper); }
  .hero::after { display: none; }
  .hero > * { grid-column: 1; }
  .hero__logo { grid-row: 2; }
  .hero__title { grid-row: 3; }
  .hero__ctas { grid-row: 4; }
  .hero__badges { grid-row: 5; }
  .hero__logo { width: 128px; height: 128px; margin-bottom: 0; }
  .hero__title { align-items: flex-start; gap: 18px; }
  .hero__sub { font-size: 15px; }
  .hero__ctas { width: auto; margin-top: 4px; }
  .hero__ctas .btn--primary { flex: 0 0 auto; }
  .hero__ctas .btn--call { padding: 16px 24px; }
  .hero__ctas .btn__num { display: inline; }
  .hero__badges { justify-content: flex-start; }
  .hero .hero__photo { position: relative; inset: auto; grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: end; width: 100%; max-width: 520px; height: min(76svh, 720px); }
  .hero__photo .mirror__frame { display: block; }
  .hero__photo .mirror__img { clip-path: url(#mirrorClip); object-position: center 35%; }
}

/* ---------- À propos ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__photo { width: min(78vw, 420px); aspect-ratio: 4 / 5; margin-inline: auto; }
.about__photo .mirror__img { object-position: center 20%; }
.prose { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.75; color: var(--body); max-width: 60ch; }
.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts__row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--clay-700); }
.facts dd { color: var(--ink); }
.facts dd ul { display: flex; flex-direction: column; gap: 4px; }
.facts dd ul:not(.places) li { position: relative; padding-left: 18px; }
.facts dd ul:not(.places) li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--sage-600); }
.places { gap: 14px !important; }
.places li { display: flex; flex-direction: column; }
.places strong { font-weight: 600; color: var(--sage-800); }
.places span { color: var(--body); }
.places small { font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .facts__row { grid-template-columns: 150px 1fr; gap: 24px; } }
@media (min-width: 1024px) {
  /* La photo reste fixe pendant que le texte défile */
  .about__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
  .about__photo { width: 100%; max-width: 460px; position: sticky; top: calc(var(--nav-h) + 56px); max-height: calc(100svh - var(--nav-h) - 96px); }
  .about__text { padding-block: 4vh 2vh; }
}

/* ---------- Expertises : mosaïque ---------- */
.expertises { background: var(--paper); }
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 280px; padding: clamp(26px, 3vw, 40px); border-radius: 28px; isolation: isolate; }
.tile__num { font: 500 clamp(52px, 6vw, 84px)/.8 var(--font-display); opacity: .9; }
.tile__icon { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); width: 34px; height: 34px; stroke-width: 1.4; transition: transform .5s var(--ease); }
.tile::after { content: ""; position: absolute; right: -70px; bottom: -70px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; border: 1px solid currentColor; opacity: .14; transition: transform .6s var(--ease); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); }
.tile:hover::after { transform: scale(1.12); }
.tile__title { font: 600 clamp(28px, 3vw, 38px)/1.05 var(--font-display); }
.tile__text { margin-top: 12px; max-width: 40ch; line-height: 1.65; }

.tile--sport { background: var(--sage-800); color: #fff; }
.tile--sport .tile__num, .tile--sport .tile__icon { color: var(--sage-200); }
.tile--sport .tile__text { color: rgba(255, 255, 255, .82); }
.tile--kids { background: var(--clay-100); color: var(--clay-700); }
.tile--kids .tile__title { color: #5E4529; }
.tile--kids .tile__text { color: #6B5136; }
.tile--maternity { background: var(--sage-100); color: var(--sage-700); }
.tile--maternity .tile__title { color: var(--sage-800); }
.tile--maternity .tile__text { color: var(--body); }
.tile--jaw { background: var(--linen); color: var(--clay-700); }
.tile--jaw .tile__title { color: var(--ink); }
.tile--jaw .tile__text { color: var(--body); }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .tile--sport { grid-column: span 7; min-height: 360px; }
  .tile--kids { grid-column: span 5; }
  .tile--maternity { grid-column: span 5; }
  .tile--jaw { grid-column: span 7; }
}

/* ---------- Pour qui ? : médaillons ---------- */
.audience { background: #EEF0E8; } /* sable légèrement sauge : rendu validé */
.audience .eyebrow { color: var(--sage-700); }
.audience .eyebrow::before { background: var(--sage-400); }
.medals { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 18px; }
.who { display: flex; flex-direction: column; align-items: center; text-align: center; }
.who:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 260px; justify-self: center; }
.who__medal { width: 96px; height: 96px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: #F8F7F1; color: var(--sage-700); box-shadow: 0 0 0 6px rgba(248, 247, 241, .6), 0 12px 28px rgba(33, 48, 35, .12); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.who__medal svg { width: 36px; height: 36px; stroke-width: 1.4; }
.who:hover .who__medal { transform: translateY(-4px); box-shadow: 0 0 0 6px rgba(248, 247, 241, .8), 0 18px 34px rgba(33, 48, 35, .16); }
.who h3 { font: 600 clamp(22px, 2.2vw, 26px)/1.15 var(--font-display); color: var(--sage-800); }
.who p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 28ch; }
@media (min-width: 768px) {
  .medals { grid-template-columns: repeat(6, 1fr); gap: 56px 28px; }
  .who { grid-column: span 2; }
  .who:nth-child(4) { grid-column: 2 / span 2; }
  .who:last-child:nth-child(odd) { grid-column: 4 / span 2; max-width: none; }
  .who__medal { width: 120px; height: 120px; }
  .who__medal svg { width: 44px; height: 44px; }
}
@media (min-width: 1200px) {
  .medals { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .who, .who:nth-child(4), .who:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- En pratique ---------- */
.practice { background: linear-gradient(180deg, var(--sage-50), var(--paper)); }
.steps-wrap { position: relative; }
.steps { display: grid; gap: 0; position: relative; }
.steps__track { position: absolute; z-index: 0; background: var(--sage-200); border-radius: 2px; }
.steps__fill { position: absolute; inset: 0; background: var(--sage-700); border-radius: 2px; transform-origin: left top; transform: scaleY(var(--p, 0)); }
.steps-wrap.is-row .steps__fill { transform: scaleX(var(--p, 0)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step__num { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--paper); color: var(--sage-500); box-shadow: inset 0 0 0 1.5px var(--sage-300); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.step h3 { font: 600 26px/1.2 var(--font-display); color: var(--sage-800); padding-top: 6px; }
.step p { color: var(--body); line-height: 1.65; margin-top: 4px; }
.step h3, .step p { opacity: .45; transition: opacity .45s var(--ease); }
.step.is-on .step__num { background: var(--sage-700); color: #fff; box-shadow: inset 0 0 0 1.5px var(--sage-700), 0 0 0 6px var(--sage-100); transform: scale(1.06); }
.step.is-on h3, .step.is-on p { opacity: 1; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step__num { grid-row: auto; margin-bottom: 20px; }
  .step h3 { padding-top: 0; }
}

.prices { margin-top: clamp(64px, 8vw, 96px); background: #fff; border: 1px solid var(--linen); border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.prices__title { font: 600 clamp(32px, 3.6vw, 44px)/1.1 var(--font-display); color: var(--sage-800); margin-bottom: 20px; }
.price-list { border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price h4 { font-size: 18px; font-weight: 600; color: var(--ink); }
.price p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.price__value { font: 600 clamp(40px, 4.5vw, 52px)/1 var(--font-display); color: var(--sage-700); }
.mutuelle { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--sage-50); color: var(--body); }
.mutuelle svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--sage-700); margin-top: 2px; }
.mutuelle__title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* ---------- Avis ---------- */
.reviews { background: var(--paper); }
.reviews__score { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--body); }
.reviews__score .stars { font-size: 16px; }
.reviews__link { display: block; width: max-content; margin: 10px auto 0; font-size: 14px; font-weight: 600; color: var(--sage-700); text-decoration: underline; text-underline-offset: 4px; }
.quotes { max-width: 860px; margin-inline: auto; }
.quotes__viewport { overflow: hidden; touch-action: pan-y; }
.quotes__track { display: flex; transition: transform .6s var(--ease); }
.quote { flex: 0 0 100%; padding: 0 4px; }
.quote blockquote { text-align: center; }
.quote blockquote::before { content: "“"; display: block; font: 600 96px/0.6 var(--font-display); color: var(--clay-300); margin-bottom: 18px; }
.quote p { font: italic 500 clamp(24px, 3vw, 34px)/1.35 var(--font-display); color: var(--sage-900); }
.quote footer { margin-top: 24px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--clay-700); }
.quotes__controls { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; }
@media (min-width: 640px) { .quotes__controls { gap: 22px; } }
.quotes__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--sage-700); color: var(--sage-700); transition: background-color .2s var(--ease), color .2s var(--ease); }
.quotes__arrow:hover { background: var(--sage-700); color: #fff; }
.quotes__arrow svg { width: 20px; height: 20px; }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s var(--ease); }
.quotes__dots button[aria-current="true"] { width: 26px; background: var(--sage-700); }

/* =========================================================
   Sections reprises du site actuel : Accès & contact + footer
   ========================================================= */
#acces { background: var(--color-bg-main); }
#acces .font-cormorant, footer .font-cormorant { font-family: var(--font-display); }
/* Les classes d'animation d'origine restent statiques (un seul geste animé : le logo) */
.animate-from-left, .animate-from-right, .animate-fade, .animate-on-scroll, .animate-zoom { opacity: 1; transform: none; }

.cabinets-map { height: 300px; position: relative; z-index: 0; }
@media (min-width: 1024px) { .cabinets-map { height: 100%; min-height: 460px; } }
.cabinets-map .leaflet-tile-pane { filter: saturate(0.6); }
.cabinet-marker { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.cabinets-map .leaflet-popup-content { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--color-text-dark); }
.cabinets-map .leaflet-popup-content a.popup-itineraire { display: inline-block; margin-top: 6px; color: var(--color-primary-dark); font-weight: 600; }
.cabinet-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); }
.horaire-slots { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-weight: 500; }
.horaire-slot { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cabinet-card.is-active { border-color: var(--color-primary); }
.horaire-today { box-shadow: inset 4px 0 0 var(--color-primary-dark), 0 1px 3px rgba(0, 0, 0, 0.08); color: var(--color-primary-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* ---------- Apparition douce au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__logo { animation: none; --a: 360deg; }
  .hero__title, .hero__ctas, .hero__badges, .hero__photo { animation: none; opacity: 1; }
  .quotes__track, .drawer, .drawer-scrim, .drawer__links a, .vert { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step h3, .step p { opacity: 1; }
  .about__photo { position: static; }
}
