/* ==========================================================================
   Clinique dentaire Place Viau — design tokens

   The palette is the clinic's own, from the charte graphique
   (brand/charte/PLACE_VIAU_CHARTE_GRAPHIQUE.pdf), sampled off their business
   card: Marine for the name, Bleu Viau for the tooth, Ciel for the wave,
   Ardoise for the swoosh. Ocre, from the waiting-room chairs, is the one warm
   note and stays under 5 % of any screen.

   Token names predate the charte (--navy, --sky, --sky-deep) and are kept so
   every stylesheet and tests/test_contrast.py follow the new values unchanged:

     --navy       Marine #002460 — text, titles, dark grounds.
     --sky        Ciel. Legible on marine (5.8:1). On a light ground it is
                  2.6:1, so it is only ever decoration there.
     --sky-deep   Bleu Viau. AA on white, nuage and paper-2; takes white text
                  at 5.8:1. The button fill and every piece of blue small text.

   The six category hues keep three tones each: --cat-* tints rules, dots and
   borders, --cat-*-ink carries text on white or paper, --cat-*-lift carries it
   on marine. tests/test_contrast.py holds the line on every pairing.
   ========================================================================== */

:root {
  /* Brand — charte p. 15 */
  --navy:     #002460;   /* Marine */
  --navy-2:   #001A47;
  --navy-3:   #0B3A7A;
  --silver:   #C9D3DE;
  --ardoise:  #5A5A5A;
  --ocre:     #C99A3E;

  /* Action */
  --sky:      #5AA8EA;   /* Ciel */
  --sky-deep: #0666BA;   /* Bleu Viau */
  --sky-pale: #E3F0FC;

  --mist:      #D6E4F2;
  --mist-pale: #EEF4FA;

  --alert:     #C4553F;
  /* Text on the 8% alert tint of the contact page's urgent note. */
  --alert-ink: #B74D38;

  /* Ground */
  --paper:  #F2F6FB;     /* Nuage */
  --paper-2:#E6ECF3;
  --white:  #FFFFFF;
  --muted:  #55606F;

  /* Focus ring. Re-declared on dark scopes in base.css so the ring is always
     the tone that can actually be seen against what is behind it. */
  --focus: var(--sky-deep);

  /* Category hues, three tones each, chosen by the ground underneath:
       plain  rules, dots, borders, icons — decoration only
       -ink   text on white or paper  (>= 4.5:1)
       -lift  text on navy            (>= 4.5:1) */
  --cat-prevention:       #2B6690;
  --cat-prevention-ink:   #2B6690;
  --cat-prevention-lift:  #4D96CA;
  --cat-restauration:     #3E9BD6;
  --cat-restauration-ink: #1A6596;
  --cat-restauration-lift:#3E9BD6;
  --cat-esthetique:       #C08A4E;
  --cat-esthetique-ink:   #9C6C37;
  --cat-esthetique-lift:  #C08A4E;
  --cat-chirurgie:        #7B6AA6;
  --cat-chirurgie-ink:    #6E5D99;
  --cat-chirurgie-lift:   #9688B8;
  --cat-parodontie:       #C4553F;
  --cat-parodontie-ink:   #B04B37;
  --cat-parodontie-lift:  #D07866;
  --cat-famille:          #4E9268;
  --cat-famille-ink:      #46835D;
  --cat-famille-lift:     #549E70;
  --cat-botox:            #2F8A8A;
  --cat-botox-ink:        #237373;
  --cat-botox-lift:       #3FA3A3;

  /* Type — charte p. 12. One family for everything: Source Sans 3, the open
     Adobe cousin of the Myriad on the clinic's card. */
  --font-display: "SourceSans3", "Myriad Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: var(--font-display);
  --font-body: var(--font-display);

  --step--2: clamp(0.72rem, 0.70rem + 0.11vw, 0.78rem);
  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.22vw, 1.10rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.42vw, 1.42rem);
  --step-2:  clamp(1.40rem, 1.24rem + 0.80vw, 1.85rem);
  --step-3:  clamp(1.66rem, 1.38rem + 1.35vw, 2.45rem);
  --step-4:  clamp(1.97rem, 1.53rem + 2.15vw, 3.20rem);
  --step-5:  clamp(2.34rem, 1.65rem + 3.35vw, 4.10rem);

  /* Structure — rounded, in the register of the reference sites */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --pill: 999px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --measure: 62ch;
  --maxw: 1280px;
  --section-y: clamp(5rem, 9vw, 9rem);

  --shadow-sm: 0 2px 10px rgba(0, 36, 96, .06);
  --shadow: 0 18px 44px rgba(0, 36, 96, .10);
  --shadow-lg: 0 28px 70px rgba(0, 36, 96, .16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 560ms;
}

@font-face {
  font-family: "SourceSans3";
  src: url("/assets/fonts/SourceSans3-subset.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Base — reset, minimal premium typography, accessibility contract
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  /* WCAG 2.2 focus-not-obscured: the header is fixed, so anchor and focus
     scrolling must clear it. */
  scroll-padding-top: 7rem;
  /* Controls answer the press themselves (layout.css), so no grey tap flash. */
  -webkit-tap-highlight-color: transparent;
}
/* In-page jumps glide instead of teleporting. The browser's own scroll, so
   nothing is hijacked; off for reduced motion. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  overflow-x: clip;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3, h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-size: var(--step-1); }

strong, b { font-weight: 600; }
p { text-wrap: pretty; }
p, li { max-width: var(--measure); }

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Links inside prose keep a non-colour cue (WCAG 1.4.1: blue on navy text is
   under 3:1), but a light one: a thin, pale, well-offset line that firms up on
   hover. Navigation and the footer carry no underline at all. */
p a:not([class]), dd a:not([class]), li:not(.langs li, .site-menu__langs li) a:not([class]) {
  color: var(--sky-deep);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: text-decoration-color 260ms var(--ease-out);
}
p a:not([class]):hover, dd a:not([class]):hover, li:not(.langs li, .site-menu__langs li) a:not([class]):hover {
  text-decoration-color: currentColor;
}
.site-footer a:not([class]) { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-deep); color: var(--white); }

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 300;
  background: var(--navy); color: var(--white);
  padding: 0.85rem 1.4rem; border-radius: var(--pill);
  font-size: var(--step--1); font-weight: 600; transition: top 180ms var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* --focus defaults to --sky-deep, which is 5.9:1 on paper but invisible on
   navy. Every dark scope re-declares it as the bright tone, so the ring is
   always the one that can be seen — WCAG 2.2 focus-appearance. */
.stage--ink, .site-footer, .quick {
  --focus: var(--sky);
}

.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Reduced motion. cinema.js refuses to boot Lenis or GSAP when this is set, so
   smooth scroll, parallax and every reveal are absent rather than suppressed —
   and because all hidden states live under .cinema, the page renders complete.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ==========================================================================
   Layout — header, buttons, footer
   ========================================================================== */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* Ciel on a light ground is 2.6:1 — Bleu Viau clears AA. */
  color: var(--sky-deep);
}
.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: color-mix(in srgb, currentColor 74%, transparent);
  max-width: 52ch;
  font-weight: 300;
}
h2 + .lede { margin-top: 1.25rem; }

/* Buttons — pill, in the register of the reference clinics -------------- */
.btn {
  font-family: var(--font-ui);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.01em;
  padding: 1.05em 2em;
  border: 1px solid transparent; border-radius: var(--pill);
  cursor: pointer; white-space: nowrap;
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out),
              border-color 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.btn--primary { background: var(--sky-deep); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn--urgent { background: var(--alert); color: var(--white); }
/* Hover colours only where a pointer hovers: on a phone a tapped button would
   otherwise keep its hover colour after the finger lifts. */
@media (hover: hover) {
  .btn--primary:hover { background: var(--navy); }
  .btn--light:hover { background: var(--mist); }
  .btn--ghost:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
  .btn--urgent:hover { background: #A8452F; }
}
.btn--lg { font-size: var(--step-0); padding: 1.15em 2.4em; }

/* Header ------------------------------------------------------------------
   A floating white bar (2026-09-30): detached from the screen edges so the
   hero photo runs to the top around it, rounded like the rest of the charte.
   Logo, three sections with the current one marked by a Ciel dot, a live
   open/closed status beside the phone, languages, booking. Below 940px the
   sections move into a full-screen menu. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding-top: 0.75rem; color: var(--navy);
  --header-accent: var(--sky-deep); pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid color-mix(in srgb, var(--navy) 8%, transparent);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 36, 96, .08);
  transition: box-shadow 420ms var(--ease-out), background-color 420ms var(--ease-out);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}
.site-header.is-stuck .site-header__bar { background: color-mix(in srgb, var(--white) 96%, transparent); box-shadow: 0 12px 36px rgba(0, 36, 96, .14); }

/* The lockup as on the card: "CLINIQUE DENTAIRE" tracked to the width of
   "PLACE VIAU" (charte p. 6-7). Letter-spacing is tuned for Source Sans 3. */
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--navy); text-decoration: none; }
.brand__mark { flex: none; width: 40px; height: 41px; }
.brand__words { display: flex; flex-direction: column; line-height: 0.9; }
.brand__sub {
  display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.118em;
  text-transform: uppercase; margin-right: -0.118em; margin-bottom: 0.2rem;
}
.brand__name {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.34rem; letter-spacing: -0.005em; text-transform: uppercase; white-space: nowrap;
}

.nav { display: none; gap: 0.25rem; }
.nav a {
  position: relative; padding: 0.55rem 0.9rem; border-radius: var(--pill);
  font-size: var(--step--1); font-weight: 600; text-decoration: none;
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out);
}
.nav a:hover { background: var(--paper); }
/* The current section sits on a quiet pill, in navy: no dot, no underline. */
.nav a[aria-current="page"] { background: var(--paper); color: var(--navy); }
@media (min-width: 940px) { .nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-call {
  display: none; flex-direction: column; align-items: flex-end; text-decoration: none;
  padding: 0.3rem 0.6rem; border-radius: 12px; transition: background-color 260ms var(--ease-out);
}
.header-call:hover { background: var(--paper); }
.header-call__phone { font-weight: 700; font-size: var(--step--1); line-height: 1.2; }
@media (min-width: 940px) { .header-call { display: flex; } }

/* Live status: one short line of text. Bleu Viau when open, muted when not. */
.open-status { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.open-status.is-open { color: var(--sky-deep); }
.open-status[hidden] { display: none; }
@media (max-width: 1139px) { .header-call .open-status { display: none; } }

.langs { display: none; gap: 0.1rem; list-style: none; padding: 0.2rem; margin: 0; border-radius: var(--pill); background: var(--paper); }
.langs a {
  display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 0.4rem; border-radius: var(--pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--muted);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}
.langs a:hover { color: var(--navy); }
.langs a[aria-current="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(0, 36, 96, .12); }
@media (min-width: 940px) { .langs { display: flex; } }

.header-book { padding: 0.85em 1.4em; }
@media (max-width: 559px) { .header-book { display: none; } }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--paper); color: var(--navy); text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.header-tel { display: none; }
@media (max-width: 939px) { .header-tel { display: grid; } }

.menu-toggle {
  display: none; align-items: center; gap: 0.55rem; height: 44px; padding: 0 1rem 0 0.85rem;
  border: 0; border-radius: 14px; background: var(--navy); color: var(--white);
  font-weight: 700; font-size: var(--step--1); cursor: pointer;
}
.menu-toggle__lines { display: grid; gap: 4px; width: 16px; }
.menu-toggle__lines span { display: block; height: 2px; border-radius: 1px; background: currentColor; }
.menu-toggle__lines span:last-child { width: 10px; }
@media (max-width: 939px) { .menu-toggle { display: inline-flex; } }

@media (max-width: 700px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 34px; height: 35px; }
  .site-header__row { padding-left: 0.75rem; }
}

/* Services page: its areas as the header's second row, in the same card. */
.site-header__sub { border-top: 1px solid color-mix(in srgb, var(--navy) 8%, transparent); padding: 0.4rem 0.5rem; }
.site-header__sub[hidden] { display: none; }
.site-header__sub .areas__list {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.site-header__sub .areas__list::-webkit-scrollbar { display: none; }
.site-header__sub li { flex: none; max-width: none; scroll-snap-align: center; }
.site-header__sub .areas__link {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0.4rem 0.9rem; border-radius: var(--pill);
  font-size: var(--step--1); font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--muted);
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out);
}
.site-header__sub .areas__link:hover { color: var(--navy); background: var(--paper); }
.site-header__sub .areas__link[aria-current="true"] { color: var(--white); background: var(--navy); }

/* Phone menu: navy, full screen, the pages in large type ------------------ */
.site-menu {
  position: fixed; inset: 0; z-index: 400; overflow-y: auto;
  background: var(--navy); color: var(--white); --focus: var(--sky); --tooth: #FFFFFF; --swoosh: var(--sky);
  display: flex; flex-direction: column;
}
/* Opening is answered with motion: site.js grows the menu out of the Menu
   button on a spring (clip-path) and folds it back the same way. The menu is
   never hidden by CSS (the [hidden] attribute does that), so no hidden state
   lives here. */
.site-menu[hidden] { display: none; }
html.menu-open { overflow: hidden; }
.site-menu__top { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1rem; }
.site-menu__brand { color: var(--white); }
.site-menu__close {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--white) 12%, transparent); color: var(--white);
}
.site-menu__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-menu__nav { display: flex; flex-direction: column; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-menu__nav a {
  font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
  text-decoration: none; padding-block: 0.35rem; color: var(--white);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
}
.site-menu__nav a[aria-current="page"] { color: var(--sky); }
.site-menu__foot { margin-top: auto; padding-top: 1.5rem; padding-bottom: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.site-menu__status { color: color-mix(in srgb, var(--white) 70%, transparent); font-size: var(--step--1); }
.site-menu__status.is-open { color: var(--sky); }
.site-menu__phone { font-size: var(--step-3); font-weight: 700; color: var(--white); text-decoration: none; }
.site-menu__book { justify-content: center; }
.site-menu__langs { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; gap: 1.25rem; }
.site-menu__langs a { color: color-mix(in srgb, var(--white) 70%, transparent); text-decoration: none; font-weight: 600; }
.site-menu__langs a[aria-current="true"] { color: var(--white); font-weight: 800; }

/* Footer -----------------------------------------------------------------
   Compact (Max, 2026-09-30): logo and nav on one line, three short columns,
   one quiet copyright line. No underlines: the links are a nav, not prose. */
.site-footer {
  background: var(--navy); color: color-mix(in srgb, var(--white) 72%, transparent);
  padding-block: clamp(2.75rem, 5vw, 3.75rem) 1.5rem; font-size: var(--step--1); line-height: 1.6;
}
.site-footer a { text-decoration: none; color: inherit; transition: color 260ms var(--ease-out); }
.site-footer a:hover { color: var(--white); }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
}
/* Reversed logo on marine: white tooth, Ciel swoosh (charte p. 9). */
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--white); --tooth: #FFFFFF; --swoosh: var(--sky); }
.site-footer .footer-brand:hover { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; font-weight: 600; }
.site-footer h2 {
  font-family: var(--font-body); font-size: var(--step--2); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.6rem;
}
.site-footer address { font-style: normal; }
.site-footer p { margin: 0; }
.footer-grid {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.footer-hours__list { list-style: none; padding: 0; margin: 0; max-width: 16rem; }
.footer-hours__row { display: flex; justify-content: space-between; gap: 1.5rem; max-width: none; }
.footer-hours__row.is-closed { opacity: 0.55; }
.footer-phone { font-size: var(--step-1); font-weight: 700; color: var(--white) !important; }
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  font-size: var(--step--2); opacity: 0.55; max-width: none;
}

/* Sticky action bar — the recommended pattern puts a persistent CTA alongside
   the hero one. Phone first: someone in pain calls rather than fills a form. */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  display: flex; gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--paper-2);
  transform: translateY(110%);
  transition: transform 420ms var(--ease-out);
}
.actionbar.is-shown { transform: none; }
.actionbar .btn { flex: 1; justify-content: center; min-height: 44px; }
@media (min-width: 940px) { .actionbar { display: none; } }

/* Press feedback -----------------------------------------------------------
   Answered on press, not on release (Apple, "Designing Fluid Interfaces"):
   the control gives a little under the finger the instant it is touched. */
.btn:active, .icon-btn:active, .menu-toggle:active, .site-menu__close:active,
.nav a:active, .langs a:active, .siblings__link:active, .site-header__sub .areas__link:active {
  transform: scale(0.97); transition-duration: 100ms;
}
.icon-btn, .menu-toggle, .site-menu__close, .langs a, .siblings__link { transition-property: background-color, color, border-color, transform; }
@media (prefers-reduced-motion: reduce) {
  .btn:active, .icon-btn:active, .menu-toggle:active, .site-menu__close:active,
  .nav a:active, .langs a:active, .siblings__link:active, .site-header__sub .areas__link:active { transform: none; opacity: 0.8; }
}
/* Translucent chrome turns solid for people who ask for less transparency. */
@media (prefers-reduced-transparency: reduce) {
  .site-header__bar, .site-header.is-stuck .site-header__bar, .actionbar { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================================
   Motion
   Hidden states are set by GSAP at runtime, never in CSS. If the scripts fail
   to load, nothing was ever hidden and the page reads complete — the same
   contract as before, enforced by where the state lives rather than by a guard
   class. cinema.js bails before booting anything under reduced motion.
   ========================================================================== */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 220ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 420ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ==========================================================================
   Home — cinematic: fullscreen stages, layered parallax, scroll expansion
   ========================================================================== */

.stage--ink .eyebrow { color: var(--sky); }

/* Hero ---------------------------------------------------------------------
   The one bold moment. The treatment-room photo fills the right 60% and its
   left edge is the swoosh of the clinic's card: a mask, not a rectangle, with
   a Ciel hairline that draws itself once. The headline sits large on white.
   On a phone the photo comes first and the swoosh becomes its lower edge. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--white); }
.hero__visual { position: relative; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 60%; }
.hero__edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero__edge path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }

@media (min-width: 900px) {
  .hero { min-height: clamp(640px, 100svh, 980px); display: flex; align-items: center; }
  .hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
  .hero__media {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 C 6 30, 4 70, 16 100 L100 100 L100 0Z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 C 6 30, 4 70, 16 100 L100 100 L100 0Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  }
  .hero__edge-mob { display: none; }
  .hero__copy { position: relative; z-index: 2; width: 100%; padding-top: 6.5rem; padding-bottom: 4rem; }
  .hero__wrap { max-width: min(34rem, 40vw); }
}
@media (max-width: 899px) {
  .hero__visual { height: clamp(300px, 56svh, 520px); }
  .hero__media {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H100 V80 C 70 100, 30 100, 0 88 Z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H100 V80 C 70 100, 30 100, 0 88 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  }
  .hero__edge-desk { display: none; }
  .hero__copy { padding-top: 1.75rem; padding-bottom: clamp(2.5rem, 8vw, 3.5rem); }
}

.hero__eyebrow { margin-bottom: clamp(1rem, 2.5vh, 1.5rem); }
.hero__title {
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.7rem, 1rem + 4.2vw, 5.2rem); max-width: 11ch;
  margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
}
.hero__title em { font-style: normal; color: var(--sky-deep); white-space: nowrap; }
.hero__lede { max-width: 40ch; margin-bottom: clamp(1.75rem, 4vh, 2.5rem); color: var(--muted); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* The Google rating rides on the photo, attributed and linked to the listing. */
.hero__rating {
  position: absolute; z-index: 3; left: 20%; bottom: clamp(1.5rem, 5vh, 3rem);
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--white); color: var(--navy);
  padding: 0.85rem 1.2rem 0.85rem 1rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform 360ms var(--ease-out);
}
@media (max-width: 899px) { .hero__rating { left: 1rem; bottom: 1.75rem; } }
.hero__rating:hover { transform: translateY(-3px); }
.hero__rating-score { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.hero__rating-meta { display: flex; flex-direction: column; font-size: var(--step--2); font-weight: 600; line-height: 1.3; color: var(--muted); }
.hero__rating-date { font-weight: 400; font-size: 0.68rem; opacity: 0.85; }
.hero__rating-stars { color: var(--ocre); letter-spacing: 0.12em; font-size: 0.8rem; }

/* One entrance, CSS only: cinema.js is deferred, so a JS entrance could only
   hide what had already painted. The photo opens toward its curved edge, the
   hairline traces the curve, the copy rises. Always finishes, script or not. */
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes hero-open-x { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-open-y { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-fade { from { opacity: 0; } }
.hero__wrap > * { animation: hero-in 1s cubic-bezier(.22,.8,.3,1) both; }
.hero__wrap > :nth-child(2) { animation-delay: 0.08s; }
.hero__wrap > :nth-child(4) { animation-delay: 0.16s; }
.hero__wrap > :nth-child(5) { animation-delay: 0.24s; }
.hero__media { animation: hero-open-x 1.5s cubic-bezier(.7,0,.2,1) both; }
@media (max-width: 899px) { .hero__media { animation-name: hero-open-y; } }
/* The hairline appears once the photo has opened (a dash-drawn trace breaks
   up on a non-uniformly scaled SVG in Chrome, so it fades instead). */
.hero__edge path { animation: hero-fade 0.8s ease-out 1.2s both; }
.hero__rating { animation: hero-in 0.9s cubic-bezier(.22,.8,.3,1) 1.2s both; }
@media (prefers-reduced-motion: reduce) {
  .hero__wrap > *, .hero__media, .hero__edge path, .hero__rating { animation: none; }
}

/* Quick facts — the navy bar of the charte mock-up ----------------------- */
.quick { background: var(--navy); color: var(--white); --focus: var(--sky); }
.quick__card {
  display: grid; grid-template-columns: 1fr;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}
@media (min-width: 760px) { .quick__card { grid-template-columns: repeat(3, 1fr); } }
.quick__item { display: flex; gap: 0.9rem; align-items: center; padding: 0.9rem 0.25rem; max-width: none; }
.quick__item + .quick__item { border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent); }
@media (min-width: 760px) {
  .quick__item { padding: 0.5rem clamp(1rem, 2.5vw, 2rem); }
  .quick__item:first-child { padding-left: 0; }
  .quick__item + .quick__item { border-top: 0; border-left: 1px solid color-mix(in srgb, var(--white) 14%, transparent); }
}
.quick__icon {
  flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  background: var(--sky-deep); color: var(--white);
}
.quick__k { display: block; font-weight: 700; font-size: var(--step-0); color: var(--sky); }
.quick__v { display: block; font-size: var(--step--1); color: color-mix(in srgb, var(--white) 82%, transparent); }
a.quick__item:hover .quick__v { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Stage — a fullscreen storytelling section ------------------------------ */
/* Sections size to their content. They were 100svh "stages", which on a
   clinic site read as empty screens between facts. */
.stage { padding-block: var(--section-y); }
.stage--ink { background: var(--navy); color: var(--white); }
.stage--paper { background: var(--paper); }
.stage--mist { background: var(--mist-pale); }
.stage--white { background: var(--white); }

.stage__head { max-width: 46ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.stage__head--center { margin-inline: auto; text-align: center; }
.stage__head--center .lede { margin-inline: auto; }

/* Technology -------------------------------------------------------------- */
.tech__grid { list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .tech__grid { grid-template-columns: repeat(3, 1fr); } }
.tech__item {
  max-width: none; background: color-mix(in srgb, var(--white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: var(--radius); padding: clamp(1.6rem, 2.6vw, 2.4rem);
  transition: background-color 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.tech__item:hover { background: color-mix(in srgb, var(--white) 11%, transparent); transform: translateY(-4px); }
.tech__item h3 { color: var(--sky); margin-bottom: 0.6rem; }
.tech__item p { font-size: var(--step--1); color: color-mix(in srgb, var(--white) 72%, transparent); }

/* Nos soins — an editorial index -----------------------------------------
   Sticky heading on the left, six numbered rows on the right. Each row is the
   area in large type with three real treatments beneath as links. Hover (or
   focus) lifts the row onto nuage, nudges the name and fills the arrow. */
.svc { padding-block: var(--section-y); background: var(--white); }
.svc__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .svc__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } }
.svc__head h2 { margin-top: 0.4rem; }
.svc__head .lede { margin: 1rem 0 1.75rem; color: var(--muted); font-weight: 400; }
@media (min-width: 960px) { .svc__head { position: sticky; top: 7.5rem; } }

.svc__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--paper-2); counter-reset: none; }
.svc-row {
  position: relative; max-width: none;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0 clamp(1rem, 2.5vw, 2rem); align-items: start;
  padding: clamp(1.2rem, 2.4vw, 1.75rem) clamp(0.25rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--paper-2);
  transition: background-color 420ms var(--ease-out);
}
.svc-row__num { font-size: var(--step--1); font-weight: 700; color: var(--sky-deep); padding-top: 0.55rem; letter-spacing: 0.04em; }
.svc-row__name { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.05rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.svc-row__name a { text-decoration: none; display: inline-block; transition: transform 420ms var(--ease-out), color 420ms var(--ease-out); }
/* The category link covers the row, so the whole line is one target; the
   treatment links sit above it and stay individually clickable. */
.svc-row__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-row__items { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; margin: 0.55rem 0 0; max-width: none; position: relative; z-index: 1; }
.svc-row__item, .svc-row__more { font-size: var(--step--1); color: var(--muted); text-decoration: none; }
.svc-row__item:hover { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
.svc-row__more { color: var(--sky-deep); font-weight: 600; }
.svc-row__arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-top: 0.1rem;
  border: 1px solid var(--paper-2); color: var(--navy);
  transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out), border-color 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.svc-row__arrow svg { width: 18px; height: 18px; }
.svc-row:hover, .svc-row:focus-within { background: var(--paper); }
.svc-row:hover .svc-row__name a, .svc-row:focus-within .svc-row__name a { transform: translateX(6px); color: var(--sky-deep); }
.svc-row:hover .svc-row__arrow, .svc-row:focus-within .svc-row__arrow { background: var(--sky-deep); border-color: var(--sky-deep); color: var(--white); transform: rotate(-45deg); }
@media (max-width: 639px) {
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row__num { grid-column: 1 / -1; padding-top: 0; margin-bottom: 0.2rem; }
  .svc-row__arrow { width: 38px; height: 38px; }
}

/* Urgence ----------------------------------------------------------------
   Calm on purpose: a white band with a hairline, the alert red only on the
   icon and the call. It must be findable at a glance without shouting. */
.urgence { background: var(--white); border-bottom: 1px solid var(--paper-2); padding-block: clamp(1.1rem, 2.4vw, 1.5rem); }
.urgence__wrap { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.4rem); }
.urgence__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--alert) 10%, var(--white)); color: var(--alert-ink);
}
.urgence__icon svg { width: 22px; height: 22px; }
.urgence__text { flex: 1; min-width: 0; }
.urgence h2 { font-size: var(--step-1); line-height: 1.2; margin: 0; }
.urgence p { font-size: var(--step--1); color: var(--muted); margin: 0.15rem 0 0; max-width: 60ch; }
.urgence__call { background: var(--alert); color: var(--white); white-space: nowrap; }
.urgence__call:hover { background: var(--alert-ink); }
@media (max-width: 640px) {
  .urgence__wrap { flex-wrap: wrap; }
  .urgence__call { width: 100%; justify-content: center; }
  .urgence__call-label { display: none; }
}

/* Hours -------------------------------------------------------------------- */
.hours__wrap { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .hours__wrap { grid-template-columns: 1fr 1fr; } }
.hours__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.hours__list { display: grid; grid-template-columns: 1fr auto; font-size: var(--step-1); font-weight: 300; }
.hours__list dt, .hours__list dd {
  padding-block: 0.9rem; border-bottom: 1px solid var(--paper-2); max-width: none;
}
.hours__list dd { text-align: right; }
.hours__list .is-saturday { color: var(--sky-deep); font-weight: 600; }
.hours__list .is-closed { opacity: 0.45; }

/* Reviews — rendered only when real ones exist (src/reviews.py) ----------- */
.reviews { padding-block: var(--section-y); background: var(--paper-2); }
.reviews__list {
  list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .reviews__list { grid-template-columns: repeat(3, 1fr); } }
.reviews__list li { max-width: none; }
.review {
  padding: 2rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem; height: 100%;
}
.review__stars { color: var(--sky-deep); letter-spacing: 0.15em; }
.review__text { margin: 0; }
.review__text p { font-size: var(--step-0); line-height: 1.65; }
.review__meta { margin-top: auto; font-size: var(--step--1); color: var(--muted); }


/* Reputation ------------------------------------------------------------
   The number is the argument, so it gets the display face at display size and
   everything else stays quiet around it. Not a card: a rule and a lot of air,
   because a boxed rating reads like an advertisement for itself. */
.repute { padding-block: var(--section-y); background: var(--paper-2); }
.repute__inner {
  display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 46rem) {
  .repute__inner { grid-template-columns: auto 1fr; gap: 3.5rem; }
}
.repute__score {
  border-top: 2px solid var(--navy); padding-top: 1.1rem; min-width: 9rem;
}
.repute__rating {
  font-family: var(--font-display); font-weight: 600; line-height: 0.9;
  font-size: clamp(3.75rem, 9vw, 5.5rem); letter-spacing: -0.03em;
  color: var(--navy); margin: 0; font-variant-numeric: tabular-nums;
}
.repute__stars {
  margin: 0.6rem 0 0; color: var(--sky-deep); font-size: var(--step-1);
  letter-spacing: 0.1em;
}
.repute__half { opacity: 0.45; }
.repute__count {
  margin: 0.5rem 0 0; font-family: var(--font-ui); font-weight: 600;
  font-size: var(--step--1); color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.repute__body p { color: var(--muted); max-width: 44ch; }
.repute__body h2 { margin-bottom: 0.8rem; }
.repute__source {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.4rem 1rem;
}
.repute__source a {
  font-family: var(--font-ui); font-weight: 600; color: var(--sky-deep);
  text-underline-offset: 4px;
}
.repute__asof {
  font-family: var(--font-ui); font-size: var(--step--2); color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Gallery — a captionless mosaic ----------------------------------------
   Max 2026-09-30: more designed, no reused photo, no captions. Six tiles in a
   bento: one large, one tall, two small, two wide. The curtain reveal is made
   by cinema.js (runtime only); here the tiles are fully visible by default. */
.gallery { padding-block: var(--section-y); background: var(--paper); }
.gallery__head { display: flex; flex-direction: column; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery__head h2 { margin-top: 0.4rem; }
.gallery__mosaic {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(0.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 36vw, 240px);
  grid-template-areas:
    "t1 t1"
    "t1 t1"
    "t2 t3"
    "t4 t3"
    "t5 t5"
    "t6 t6";
}
@media (min-width: 900px) {
  .gallery__mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 17vw, 260px);
    grid-template-areas:
      "t1 t1 t2 t3"
      "t1 t1 t4 t3"
      "t5 t5 t6 t6";
  }
}
.gallery__tile--1 { grid-area: t1; } .gallery__tile--2 { grid-area: t2; }
.gallery__tile--3 { grid-area: t3; } .gallery__tile--4 { grid-area: t4; }
.gallery__tile--5 { grid-area: t5; } .gallery__tile--6 { grid-area: t6; }
.gallery__tile {
  position: relative; max-width: none; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
  isolation: isolate;
}
.gallery__tile picture, .gallery__tile img { display: block; width: 100%; height: 100%; }
.gallery__tile img {
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
/* Hover: a slow push-in and the card's blue rising from the bottom. */
.gallery__tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 36, 96, .55), rgba(6, 102, 186, 0) 60%);
  transform: translateY(101%); transition: transform 800ms var(--ease-out);
}
@media (hover: hover) {
  .gallery__tile:hover img { transform: scale(1.06); }
  .gallery__tile:hover::after { transform: none; }
}
/* Where each photo sits in its tile: the subject, not the ceiling. */
.gallery__tile--1 img { object-position: 45% 55%; }
.gallery__tile--3 img { object-position: 42% 60%; }
.gallery__tile--5 img { object-position: 50% 62%; }
.gallery__tile--6 img { object-position: 60% 58%; }
.gallery__frame { width: 100%; height: 100%; border: 1px dashed color-mix(in srgb, var(--muted) 40%, transparent); border-radius: inherit; }
.gallery--pending .placeholder-note { background: var(--white); margin-inline: 0; text-align: left; max-width: 38rem; }

/* Finale ---------------------------------------------------------------------
   A full-bleed room the clinic photographed, a marine veil from the left, one
   sentence and the two actions. The page ends on an invitation. */
.finale { position: relative; isolation: isolate; color: var(--white); --focus: var(--sky); overflow: hidden; }
.finale__media { position: absolute; inset: 0; z-index: -2; }
.finale__media picture, .finale__media img { display: block; width: 100%; height: 100%; }
.finale__media img { object-fit: cover; object-position: 50% 55%; }
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 36, 96, .92) 0%, rgba(0, 36, 96, .78) 38%, rgba(0, 36, 96, .15) 80%);
}
.finale__inner { padding-block: clamp(5rem, 14vw, 10rem); }
.finale h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 15ch; }
.finale p { margin-top: 1.1rem; font-size: var(--step-1); max-width: 40ch; color: color-mix(in srgb, var(--white) 84%, transparent); }
.finale__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.finale .btn--ghost { color: var(--white); }
@media (max-width: 700px) {
  .finale::before { background: linear-gradient(180deg, rgba(0, 36, 96, .55) 0%, rgba(0, 36, 96, .92) 55%); }
}

/* ==========================================================================
   Services — inner-page head, sticky category rail, service cards
   ========================================================================== */

/* Inner page head (privacy, thank-you, 404) ------------------------------
   Light, like every redesigned page (2026-09-30): the header is a floating
   white card now, so no page needs a dark band under it any more. */
.page-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding-top: clamp(7.5rem, 15vh, 9.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-head h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; }
.page-head__lede { margin-top: 1.1rem; max-width: 56ch; font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
.page-head__meta { margin-top: 0.9rem; font-size: var(--step--1); color: var(--muted); }

/* ==========================================================================
   Services index (redesigned 2026-09-30)
   Opens with the patient's need, not the clinic's taxonomy: seven starting
   points in plain words, a search that filters as you type, then the seven
   areas as calm rows. The one bold element is the starting-points panel.
   ========================================================================== */

/* Head --------------------------------------------------------------------- */
.idx-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--white) 35%, var(--paper) 100%);
  padding-top: clamp(9.5rem, 18vh, 11.5rem); padding-bottom: clamp(3rem, 6vw, 5rem);
}
.idx-head__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .idx-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.idx-head h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.8rem); letter-spacing: -0.03em; line-height: 1; }
.idx-head__lede { margin-top: 1.25rem; max-width: 48ch; font-size: var(--step-1); line-height: 1.6; color: var(--muted); }

/* Finder ------------------------------------------------------------------- */
.finder { margin-top: clamp(1.75rem, 4vw, 2.5rem); max-width: 34rem; }
.finder__label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.finder__field {
  position: relative; display: flex; align-items: center;
  background: var(--white); border: 1.5px solid var(--paper-2); border-radius: var(--pill);
  box-shadow: var(--shadow-sm); transition: border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.finder__field:focus-within { border-color: var(--sky-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-deep) 16%, transparent); }
.finder__field svg { position: absolute; left: 1.15rem; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.finder__field input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 1rem 1rem 1rem 3.1rem; font-size: var(--step-0); color: var(--navy);
}
.finder__field input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.finder__field input::-webkit-search-cancel-button { display: none; }
.finder__clear {
  margin-right: 0.4rem; border: 0; background: var(--paper); color: var(--navy); cursor: pointer;
  font-weight: 600; font-size: var(--step--1); padding: 0.55rem 1rem; border-radius: var(--pill); min-height: 40px;
}
.finder__clear:hover { background: var(--paper-2); }
.finder__status { min-height: 1.4em; margin-top: 0.6rem; font-size: var(--step--1); font-weight: 600; color: var(--sky-deep); }

/* Starting points — the page's one bold element ------------------------- */
.start { background: var(--navy); color: var(--white); --focus: var(--sky); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.start__title { font-size: var(--step-2); letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.start__list { list-style: none; padding: 0; margin: 0; }
.start__list li { max-width: none; border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent); }
.start__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 52px; padding-block: 0.85rem; text-decoration: none;
  font-size: var(--step-1); font-weight: 600; color: var(--white);
  transition: color 260ms var(--ease-out), padding 360ms var(--ease-out);
}
.start__link svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 360ms var(--ease-out); }
.start__link:hover { color: var(--sky); padding-left: 0.35rem; }
.start__link:hover svg { transform: translateX(4px); }

/* Areas and treatment rows -------------------------------------------------- */
/* Anchors clear the fixed header and the sticky bar (WCAG 2.2 focus-not-obscured). */
.area { padding-block: clamp(3rem, 6vw, 5rem); scroll-margin-top: 8.5rem; background: var(--white); }
/* The header carries the area row on this page, so it is taller. */
.page-services .area { scroll-margin-top: 9.5rem; }
.area + .area { border-top: 1px solid var(--paper-2); }
.area__grid { display: grid; gap: 1.5rem clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .area__grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr); }
  .area__head { position: sticky; top: 10.5rem; }
}
.area__head h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
.area__head p { margin-top: 0.6rem; color: var(--muted); max-width: 34ch; }
.area__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--paper-2); }
.svc-item { max-width: none; border-bottom: 1px solid var(--paper-2); }
.svc-item__link {
  display: flex; align-items: center; gap: 1.5rem; text-decoration: none;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.25rem, 1.2vw, 1rem);
  transition: background-color 360ms var(--ease-out);
}
.svc-item__text { flex: 1; min-width: 0; }
.svc-item__name { font-size: var(--step-1); letter-spacing: -0.01em; transition: color 280ms var(--ease-out); }
.svc-item__lead { margin: 0.3rem 0 0; font-size: var(--step--1); line-height: 1.55; color: var(--muted); max-width: 64ch; }
.svc-item__go {
  flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%;
  border: 1px solid var(--paper-2); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 360ms var(--ease-out), stroke 360ms var(--ease-out), border-color 360ms var(--ease-out), transform 360ms var(--ease-out);
}
.svc-item__link:hover { background: var(--paper); }
.svc-item__link:hover .svc-item__name { color: var(--sky-deep); }
.svc-item__link:hover .svc-item__go { background: var(--sky-deep); border-color: var(--sky-deep); stroke: var(--white); transform: rotate(-45deg); }

.finder__empty { padding-block: clamp(3rem, 6vw, 5rem); }
.finder__empty p { font-size: var(--step-1); max-width: 40ch; }
.finder__call { margin-top: 1.25rem; }

/* ==========================================================================
   Service detail page (redesigned 2026-09-30)

   The four paragraphs of every service are who / the visit / how long /
   afterwards. The page shows that shape: a light head, then a three-stop
   journey on a rail beside a booking panel that carries the duration and
   stays in view. Questions are a native accordion. Charte palette only.
   ========================================================================== */

/* Top: head and journey in the left column, the booking panel on the right
   from the first screen, so duration and booking are visible on arrival. */
.svc-top {
  background: linear-gradient(180deg, var(--white) 0%, var(--white) 30%, var(--paper) 100%);
  padding-top: clamp(7.5rem, 15vh, 9.5rem);
}
.svc-head { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--paper-2); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  font-size: var(--step--1); font-weight: 600; color: var(--muted);
}
.crumbs a { text-decoration: none; transition: color 240ms var(--ease-out); }
.crumbs a:hover { color: var(--sky-deep); }
.crumbs svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0.6; }
.svc-head h1 {
  margin-top: clamp(1rem, 2.5vw, 1.5rem); max-width: 18ch;
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); letter-spacing: -0.025em; line-height: 1.04;
}
.svc-head__lead {
  margin-top: clamp(1.1rem, 2.5vw, 1.6rem); max-width: 62ch;
  font-size: var(--step-1); line-height: 1.6; color: var(--muted);
}

/* Journey + panel ------------------------------------------------------------ */
.svc-layout {
  display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start;
  grid-template-columns: 1fr;
  padding-bottom: var(--section-y);
}
.svc-main { min-width: 0; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 22rem; } }

/* On a phone the panel sits between the head and the journey: how long and
   how to book, right after the lead. The main column is split with contents
   so the panel can slot in between. */
@media (max-width: 959px) {
  .svc-main { display: contents; }
  .svc-head { order: 1; margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
  .svc-panel { order: 2; }
  .journey { order: 3; }
}

/* The rail: a line through three stops. A stop's ring fills when it has been
   read (cinema.js adds .is-read, once); without script every ring is filled. */
.journey { list-style: none; padding: 0; margin: 0; position: relative; }
.journey::before {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, var(--sky-deep), var(--sky) 60%, color-mix(in srgb, var(--sky) 20%, transparent));
  border-radius: 2px;
}
.journey__stop { position: relative; padding-left: clamp(2.75rem, 5vw, 3.5rem); max-width: none; }
.journey__stop + .journey__stop { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.journey__stop::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky-deep); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--paper-2);
  transition: background-color 600ms var(--ease-out);
}
.journey.is-live .journey__stop:not(.is-read)::before { background: var(--white); box-shadow: inset 0 0 0 2px var(--sky-deep), 0 0 0 6px var(--white); }
.journey__title { font-size: var(--step-2); letter-spacing: -0.015em; line-height: 1.2; }
.journey__stop p { margin-top: 0.7rem; font-size: var(--step-1); line-height: 1.7; max-width: 60ch; }

.svc-panel { position: relative; }
@media (min-width: 960px) { .svc-panel { position: sticky; top: 7rem; margin-top: 2.6rem; } }
.svc-panel__card {
  background: var(--navy); color: var(--white); --focus: var(--sky);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.svc-panel__label {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--step-0); color: var(--sky);
}
.svc-panel__label svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.svc-panel__duration { font-size: var(--step-0); line-height: 1.6; color: color-mix(in srgb, var(--white) 86%, transparent); margin-bottom: 0.75rem; }
.svc-panel__btn { justify-content: center; width: 100%; }
.svc-panel .btn--primary { background: var(--white); color: var(--navy); }
.svc-panel .btn--primary:hover { background: var(--sky-pale); }
.svc-panel .btn--ghost { color: var(--white); }
.svc-panel__hint { font-size: var(--step--1); color: color-mix(in srgb, var(--white) 66%, transparent); text-align: center; }

/* Questions — a native accordion ----------------------------------------- */
.faq { background: var(--paper); padding-block: var(--section-y); }
.faq__grid { display: grid; gap: 1.5rem clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 0.7fr 1.3fr; } }
.faq h2 { max-width: 12ch; }
.faq__list { border-top: 1px solid color-mix(in srgb, var(--navy) 14%, transparent); }
.faq__item { border-bottom: 1px solid color-mix(in srgb, var(--navy) 14%, transparent); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.35rem; font-weight: 700; font-size: var(--step-1); line-height: 1.3;
  transition: color 240ms var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sky-deep); }
.faq__icon {
  flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--navy) 18%, transparent);
  transition: transform 360ms var(--ease-out), background-color 360ms var(--ease-out), border-color 360ms var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: currentColor; border-radius: 1px;
}
.faq__icon::after { transform: rotate(90deg); transition: transform 360ms var(--ease-out); }
.faq__item[open] .faq__icon { background: var(--sky-deep); border-color: var(--sky-deep); color: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
/* While an answer folds away (site.js), the icon turns back with it. */
.faq__item.is-closing .faq__icon { background: transparent; border-color: color-mix(in srgb, var(--navy) 18%, transparent); color: inherit; }
.faq__item.is-closing .faq__icon::after { transform: rotate(90deg); }
.faq__item summary:active .faq__icon { transform: scale(0.92); transition-duration: 100ms; }
.faq__item p { padding-bottom: 1.5rem; margin: 0; color: var(--muted); font-size: var(--step-0); line-height: 1.7; max-width: 62ch; }

/* Same area: plain links, no cards -------------------------------------- */
.siblings { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--white); }
.siblings__title { font-size: var(--step-1); letter-spacing: -0.01em; }
.siblings__list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.siblings__list li { max-width: none; }
.siblings__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.1rem;
  border: 1px solid var(--paper-2); border-radius: var(--pill);
  font-weight: 600; font-size: var(--step--1); text-decoration: none;
  transition: border-color 260ms var(--ease-out), color 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.siblings__link:hover { border-color: var(--sky-deep); color: var(--sky-deep); background: var(--sky-pale); }

/* ==========================================================================
   Contact (redesigned 2026-09-30) — the closing page

   Where a patient hands over their details, so everything reads calm and
   professional: a map drawn in the charte (tools/build_map.py), the address
   and a route button on one card, phone / hours / languages as three quiet
   rows, and the form as three short numbered steps inside a white sheet.
   ========================================================================== */

.contact-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding-top: clamp(7.5rem, 15vh, 9.5rem); padding-bottom: clamp(2rem, 4vw, 3rem);
}
.contact-head h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; }
.contact-head__lede { margin-top: 1rem; max-width: 52ch; font-size: var(--step-1); line-height: 1.6; color: var(--muted); }

.contact-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start;
  padding-bottom: var(--section-y);
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-head + .contact-grid { background: none; }
.page-contact main { background: var(--paper); }

/* Map + address card ------------------------------------------------------- */
.visit { position: relative; }
.map { margin: 0; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: #EEF3F9; }
.map__svg { display: block; width: 100%; height: 100%; }
@media (max-width: 640px) { .map { aspect-ratio: 5 / 4; } }
.map__street {
  font-family: var(--font-body); font-size: 21px; font-weight: 700; letter-spacing: 0.01em;
  fill: #4A5B70; paint-order: stroke; stroke: #FFFFFF; stroke-width: 5px; stroke-linejoin: round;
}
.map__callout { font-family: var(--font-body); font-size: 22px; font-weight: 700; fill: #FFFFFF; }
.map__credit {
  position: absolute; right: 0.6rem; bottom: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 6px;
  font-size: 0.68rem; color: var(--muted); background: color-mix(in srgb, var(--white) 85%, transparent);
}
.visit__card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  background: var(--white); padding: clamp(1.25rem, 2.5vw, 1.6rem);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-sm);
}
.map + .visit__card { border-top: 1px solid var(--paper-2); }
.visit__card:only-child { border-radius: var(--radius-lg); }
.visit__addr address { font-style: normal; line-height: 1.55; font-size: var(--step-0); }
.visit__addr strong { font-size: var(--step-1); }
.visit__hint { margin-top: 0.25rem; font-size: var(--step--1); color: var(--muted); }
.contact-directions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* Phone / hours / languages -------------------------------------------------- */
.reach { margin-top: clamp(1.5rem, 3vw, 2rem); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 0.5rem clamp(1.25rem, 2.5vw, 1.6rem); }
.reach__item { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.15rem; }
.reach__item + .reach__item { border-top: 1px solid var(--paper-2); }
.reach__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-pale); color: var(--sky-deep); }
.reach__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reach__item > div { flex: 1; min-width: 0; }
.reach__k { font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.reach__phone { display: block; font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-decoration: none; color: var(--navy); }
.reach__phone:hover { color: var(--sky-deep); }
.reach__mail { display: inline-block; margin-top: 0.2rem; font-size: var(--step--1); color: var(--sky-deep); text-decoration: none; overflow-wrap: anywhere; }
.reach__mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.reach__hours { list-style: none; padding: 0; margin: 0.35rem 0 0; max-width: 20rem; }
.reach__hours li { display: flex; justify-content: space-between; gap: 1.5rem; max-width: none; line-height: 1.75; }
.reach__hours .is-closed { color: var(--muted); }
.reach__v { margin-top: 0.2rem; }

/* Emergency note ----------------------------------------------------------- */
.urgent-note {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--white); border: 1px solid color-mix(in srgb, var(--alert) 22%, var(--white));
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem;
}
.urgent-note__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--alert) 10%, var(--white)); color: var(--alert-ink); }
.urgent-note__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.urgent-note h2 { font-size: var(--step-0); line-height: 1.3; }
.urgent-note p { margin-top: 0.2rem; color: var(--muted); font-size: var(--step--1); max-width: none; }
.urgent-note__call { color: var(--alert-ink); font-weight: 700; white-space: nowrap; text-decoration: none; }

/* The form: a white sheet in three steps ------------------------------------ */
.booking {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.booking__head h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
.booking__lede { margin-top: 0.5rem; color: var(--muted); }
.booking__group { border: 0; padding: 0; margin: clamp(1.5rem, 3vw, 2rem) 0 0; min-width: 0; }
.booking__group + .booking__group { padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--paper-2); }
.booking__group > legend { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: var(--step-1); padding: 0; }
.booking__step {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-size: 0.85rem; font-weight: 700;
}
.field { margin-top: 1.1rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > legend { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 0.4rem; padding: 0; }
.req { color: var(--alert-ink); font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--paper-2); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--navy); font-size: var(--step-0);
  transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--silver); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--sky-deep);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-deep) 16%, transparent);
}
.field input:user-invalid { border-color: var(--alert); }
.field__hint { margin-top: 0.35rem; font-size: var(--step--2); color: var(--muted); }

/* New / current patient: a two-way switch, not two loose radios. */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.segmented > legend { grid-column: 1 / -1; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.6rem 1rem;
  border: 1.5px solid var(--paper-2); background: var(--paper); font-weight: 600; font-size: var(--step--1);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.segmented label:first-of-type span { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.segmented label:last-of-type span { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left: 0; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.booking__required { margin-top: 1.75rem; font-size: var(--step--2); color: var(--muted); }
.booking__submit { margin-top: 0.75rem; width: 100%; justify-content: center; }
.booking__privacy {
  display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.1rem; max-width: none;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm); background: var(--sky-pale);
  font-size: var(--step--1); line-height: 1.55; color: var(--navy);
}
.booking__privacy svg { flex: none; width: 18px; height: 18px; margin-top: 0.15rem; fill: none; stroke: var(--sky-deep); stroke-width: 2; stroke-linecap: round; }
.booking__note { margin-top: 0.9rem; font-size: var(--step--2); line-height: 1.6; color: var(--muted); max-width: none; }

.booking--external { text-align: left; }
.booking--external .btn { margin-top: 1.75rem; }

/* Thank-you page ---------------------------------------------------------- */
.page-head--tall { min-height: 72svh; display: flex; align-items: center; }
.merci__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* ==========================================================================
   Legal and 404 — plain prose pages (the team page lives in team.css)
   ========================================================================== */

.legal { padding-block: var(--section-y); max-width: 52rem; }
.legal__section + .legal__section { margin-top: 3rem; }
.legal__section h2 {
  font-family: var(--font-ui); font-size: var(--step-1); font-weight: 600;
  letter-spacing: -0.015em; margin-bottom: 0.9rem;
}
.legal__section p + p { margin-top: 1rem; }
.legal__section p { color: var(--muted); line-height: 1.75; }

/* Team ------------------------------------------------------------------- */
/* Placeholder notice — used on the team page and above sample reviews -------
   Deliberately plain and unstyled-looking. It is a note to the client reading
   the pitch, not a design element to be admired or overlooked. */
.placeholder-note {
  margin: 1.75rem auto 2.5rem; padding: 0.7rem 1rem; max-width: 44rem;
  font-size: var(--step--1); color: var(--muted); text-align: center;
  background: var(--paper-2); border-radius: var(--radius-sm);
  border: 1px dashed color-mix(in srgb, var(--muted) 40%, transparent);
}

/* 404 --------------------------------------------------------------------- */
.notfound__langs {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.notfound__langs li { max-width: none; }
.notfound__langs .btn--ghost { color: var(--navy); }

/* ==========================================================================
   Team page (redesigned 2026-09-30) — "l'âme de la clinique"

   Story, the founder's word, then each person with a line of their own. The
   founder band is the one bold element: navy, the words large, a Ciel quote
   mark. Everything else is white, calm, photo-led. Proposals carry a
   .draft-tag until the clinic supplies its own words (src/about.py).
   ========================================================================== */

/* Proposal tag: visible, never alarming. Ocre, the charte's one warm note. */
.draft-tag {
  display: inline-flex; align-items: center; gap: 0.45rem; width: fit-content;
  padding: 0.35rem 0.8rem; border-radius: var(--pill); margin-bottom: 1rem;
  font-size: var(--step--2); font-weight: 700; max-width: none;
  background: color-mix(in srgb, var(--ocre) 16%, var(--white)); color: #6E5213;
}
.draft-tag--dark { background: color-mix(in srgb, var(--ocre) 22%, var(--navy)); color: #F1DDAE; }

/* Head --------------------------------------------------------------------- */
.team-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding-top: clamp(7.5rem, 15vh, 9.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.team-head h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 14ch; }
.team-head__intro { margin-top: 1.25rem; max-width: 52ch; font-size: var(--step-1); line-height: 1.6; color: var(--muted); }

/* Story -------------------------------------------------------------------- */
.story { padding-block: clamp(3rem, 7vw, 6rem); background: var(--paper); }
.story__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .story__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.story__media { aspect-ratio: 4 / 5; max-height: 78svh; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.story__media picture, .story__media img { width: 100%; height: 100%; }
.story__media img { object-fit: cover; object-position: 40% 55%; }
/* Phones crop to 4:3: anchor at the top so the wall sign stays whole (Max, 2026-11-20). */
@media (max-width: 959px) { .story__media { aspect-ratio: 4 / 3; } .story__media img { object-position: 50% 0%; } }
.story__text h2 { font-size: var(--step-4); letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.story__text p:not(.draft-tag) { font-size: var(--step-1); line-height: 1.7; max-width: 56ch; }
.story__text p + p { margin-top: 1rem; }
/* The clinic's own story runs long: keep its photo in view beside it. */
@media (min-width: 960px) {
  .story__grid:has(.story__closing) { align-items: start; }
  .story__grid:has(.story__closing) .story__media { position: sticky; top: 7rem; }
}
.story__text p.story__lede { font-size: var(--step-2); line-height: 1.35; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.story__text p.story__closing {
  margin-top: 2rem; padding-left: 1.1rem; border-left: 3px solid var(--sky);
  display: flex; flex-direction: column; gap: 0.2rem; font-size: var(--step-0);
}
.story__closing strong { color: var(--navy); }
.story__closing span { font-style: italic; color: var(--muted); }

/* Founder — the page's one bold moment ---------------------------------- */
.founder { background: var(--navy); color: var(--white); --focus: var(--sky); padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; overflow: hidden; }
.founder__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .founder__grid { grid-template-columns: 16rem minmax(0, 1fr); } }
.founder__portrait {
  width: clamp(9rem, 22vw, 16rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--white) 8%, var(--navy));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--white) 16%, transparent), 0 0 0 14px color-mix(in srgb, var(--sky) 10%, transparent);
}
.founder__portrait--photo { overflow: hidden; }
.founder__portrait--photo picture, .founder__portrait--photo img { width: 100%; height: 100%; }
.founder__portrait--photo img { object-fit: cover; }
.founder__portrait svg { width: 52%; height: 52%; fill: color-mix(in srgb, var(--white) 30%, transparent); }
.founder__title { font-size: var(--step-1); color: var(--sky); letter-spacing: 0; margin-bottom: 1rem; }
.founder__quote { margin: 0; position: relative; padding-top: clamp(2.6rem, 5vw, 3.6rem); }
.founder__quote::before {
  content: "\201C"; position: absolute; left: -0.06em; top: -0.12em;
  font-size: clamp(7rem, 14vw, 11rem); line-height: 1; font-weight: 800; color: var(--sky); opacity: 0.35;
  pointer-events: none;
}
.founder__quote p {
  position: relative; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); line-height: 1.4;
  font-weight: 400; letter-spacing: -0.012em; max-width: 34ch;
}
.founder__quote p + p { margin-top: 1.1rem; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem); color: color-mix(in srgb, var(--white) 78%, transparent); max-width: 48ch; }
@media (min-width: 960px) {
  .founder__grid:has(.founder__salutation) { align-items: start; }
  .founder__grid:has(.founder__salutation) .founder__portrait { position: sticky; top: 8rem; }
}
.founder__quote p.founder__salutation { margin-top: 1.75rem; color: var(--white); font-weight: 600; }
.founder__quote p.founder__closing { color: var(--white); font-weight: 600; }
.founder__quote p.founder__closing:last-child { font-weight: 400; font-style: italic; color: color-mix(in srgb, var(--white) 78%, transparent); }
.founder__sign { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.1rem; padding-left: 1.1rem; border-left: 3px solid var(--sky); }
.founder__name { font-weight: 700; font-size: var(--step-1); }
.founder__role { font-size: var(--step--1); color: color-mix(in srgb, var(--white) 70%, transparent); }

/* People --------------------------------------------------------------------- */
.people { padding-block: var(--section-y); background: var(--white); }
.people__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.people__group { margin-bottom: clamp(2.5rem, 5vw, 4rem); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.people__group img { width: 100%; height: auto; display: block; }
.people__head h2 { font-size: var(--step-4); letter-spacing: -0.025em; }
.people__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Five people sit on one row on a desktop (no orphan card); two across on a
   phone so a portrait never fills the whole screen. */
@media (min-width: 760px) { .people__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .people__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* The full roster (17 portraits) sits six across: 6 + 6 + 5, no orphan. */
@media (min-width: 1100px) { .people__list:has(> :nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.person { max-width: none; }
.person__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper);
  margin-bottom: 1.1rem;
}
.person__photo picture, .person__photo img { width: 100%; height: 100%; }
.person__photo img { object-fit: cover; object-position: 50% 20%; }
/* Studio portraits are shot on pure white: multiply turns that white into the
   card's Nuage tint, so each card keeps its shape on the white section. */
.person__photo:not(.person__photo--pending) { background: var(--paper); }
.person__photo:not(.person__photo--pending) img { mix-blend-mode: multiply; }
.person__photo--pending {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.6rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  padding-bottom: 1rem;
}
.person__photo--initials {
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}
.person__photo--initials span {
  font-size: var(--step-4); font-weight: 700; letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--navy) 32%, transparent);
}
.person__photo--pending svg { width: 62%; fill: color-mix(in srgb, var(--navy) 14%, transparent); }
.person__photo--pending span { font-size: var(--step--2); font-weight: 600; color: var(--muted); }
.person__role { font-size: var(--step--1); font-weight: 700; color: var(--sky-deep); max-width: none; }
.person__name { font-size: var(--step-1); margin-top: 0.15rem; }
.person__name--pending { color: var(--muted); font-weight: 600; }
.person__creds { margin-top: 0.25rem; font-size: var(--step--2); color: var(--muted); }
.person__line {
  margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--paper-2);
  font-size: var(--step-0); line-height: 1.55; color: var(--navy);
}

/* Meet --------------------------------------------------------------------- */
/* White, so the photo's pure-white studio background disappears into it; the
   photo sits flush on the section's bottom edge, which crops the figures. */
.meet { padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--white); border-top: 1px solid var(--paper-2); }
.meet__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 2rem 3rem; }
@media (min-width: 960px) { .meet__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .meet__text { padding-bottom: clamp(3rem, 6vw, 5rem); } }
.meet__photo { line-height: 0; }
.meet__photo img { width: 100%; height: auto; display: block; }
.meet__actions { margin-top: 1.5rem; }
.meet h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
.meet p { margin-top: 0.4rem; color: var(--muted); }
.meet__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
