/* ==========================================================================
   Pôle Kiné du Piémont : single stylesheet (direction « Entre gave et sommets », see docs/design.md)
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Pages · 6 Utilities · 7 Print
   Mobile first (390 px), then 700 / 900 / 1000 px. No framework, no remote asset.
   Works for <img> and <picture> > img alike (no dependence on the image format).
   ========================================================================== */

/* ---------- 1. TOKENS ---------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght.eb2486760f75.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* One true italic (static, weight 600) for the occasional emphasised word in a title. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-600-latin.c543cd62657b.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* Metric-adjusted fallback to limit the layout shift while Fraunces loads. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;

  /* colour: light theme ("chaux" paper, brick red accent, slate links, estive green) */
  --bg: #fbf5ea;
  --surface: #fffdf8;
  --surface-2: #f3e9d8; /* "lin" */
  --ink: #2b2320;
  --ink-2: #4a3f38;
  --line: #e2d5c0;
  --accent: #a93f2b; /* rouge brique béarnais */
  --accent-strong: #6e2819;
  --accent-ink: #823021; /* brick for small text: 7:1 on every light background */
  --accent-btn: #8e3524; /* fill of primary buttons: white text 7.8:1 */
  --on-accent: #ffffff;
  --accent-soft: #f6e3da;
  --link: #274456; /* ardoise: links inside text */
  --link-soft: #e1eaef;
  --green: #2a5236; /* vert estive */
  --green-soft: #e3eedd;
  --gold: #d9a441; /* decoration only (sun, fine rules), never text */
  --warn: #6f4700;
  --warn-soft: #fff3d6;
  /* sky and ridge line (the real skyline seen from the practice) */
  --sky: #fbe3c8;
  --plan-1: #c9d3df;
  --plan-2: #9fb3bf;
  --plan-3: #7f9c86;
  --plan-4: #5e8262;
  --neige: #ffffff;

  /* type */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: clamp(1.0625rem, 1.04rem + 0.12vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.12rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.25rem, 1.12rem + 0.65vw, 1.5rem); /* h3 */
  --step-3: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem); /* h2 */
  --step-4: clamp(2.25rem, 1.6rem + 3.1vw, 3.75rem); /* h1 */
  --step-num: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); /* key figures */

  /* space (4 px base) */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s12: 3rem;
  --s16: 4rem;
  --s24: 6rem;
  --section-y: clamp(3rem, 2rem + 5vw, 6rem);

  /* layout */
  --gutter: 20px;
  --max: 1180px;
  --measure: 68ch;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 60px;
  --bar-h: 72px; /* action bar: 56 px buttons + 2 × 8 px padding */
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow-bar: 0 -6px 24px rgb(70 40 20 / 0.1);
  --shadow: 0 1px 2px rgb(70 40 20 / 0.05), 0 10px 24px -14px rgb(70 40 20 / 0.22);

  /* The real skyline of the practice (computed from the terrain model), reduced to a fine rule and a
     footer silhouette, used as CSS masks; the contour-line motif is original (see docs/design.md). */
  --crest-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 24' preserveAspectRatio='none'%3E%3Cpath d='M5 4.8L7 5L10 3.5L12 3.3L13 3.7L16 3.3L18 3.5L22 2L31 4.5L32 4.3L34 4.6L36 4.3L47 5.8L53 5.4L57 5.8L60 5.2L72 8.8L76 7.9L80 7.9L84 8.2L86 8L90 8.2L94 9.2L100 9.4L104 8.6L110 8.8L114 7.1L115 7.3L116 6.9L121 6.5L130 9.2L134 9.2L136 9.6L147 10.5L155 9.9L161 9.9L171 12.2L176 14.7L179 13.7L182 13.5L188 14.7L191 14.5L193 14.8L195 14.7L200 15.2L203 14.5L210 14.3L224 19L227 17.5L234 15.2L243 13.9L259 9.2L268 9.7L272 9.4L278 9.7L294 8.6L302 9L309 7.5L315 6.9L318 7.3L324 9L326 9L332 9.7L336 9.4L342 10.3L349 9.6L352 10.1L354 10.1L356 8.6L357 8.4L358 8.8L361 7.5L370 9.2L380 7.9L384 8.4L390 6L393 6L396 6.7L401 4.6L404 4.1L412 6.5L420 6.5L429 7.9L434 8L450 9.7L454 9.9L459 8.6L462 9.7L467 9.9L476 11.4L476 13.1L467 11.6L462 11.4L459 10.3L454 11.6L450 11.4L434 9.7L429 9.6L420 8.2L412 8.2L404 5.8L401 6.3L396 8.4L393 7.7L390 7.7L384 10.1L380 9.6L370 10.9L361 9.2L358 10.5L357 10.1L356 10.3L354 11.8L352 11.8L349 11.3L342 12L336 11.1L332 11.4L326 10.7L324 10.7L318 9L315 8.6L309 9.2L302 10.7L294 10.3L278 11.4L272 11.1L268 11.4L259 10.9L243 15.6L234 16.9L227 19.2L224 20.7L210 16L203 16.2L200 16.9L195 16.4L193 16.5L191 16.2L188 16.4L182 15.2L179 15.4L176 16.4L171 13.9L161 11.6L155 11.6L147 12.2L136 11.3L134 10.9L130 10.9L121 8.2L116 8.6L115 9L114 8.8L110 10.5L104 10.3L100 11.1L94 10.9L90 9.9L86 9.7L84 9.9L80 9.6L76 9.6L72 10.5L60 6.9L57 7.5L53 7.1L47 7.5L36 6L34 6.3L32 6L31 6.2L22 3.7L18 5.2L16 5L13 5.4L12 5L10 5.2L7 6.7L5 6.5Z' fill='black'/%3E%3C/svg%3E");
  --crest-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48L0.8 16.1L4.2 16.1L7.5 18.5L10.8 18.9L14.2 21.2L17.5 21.2L23.3 24.7L30.8 33L36.7 33.7L40 31.8L52.5 19.3L55.8 19.3L58.3 21.2L61.7 20.8L75.8 14.2L80 14.6L86.7 13.8L96.7 4.8L100 4L104.2 7.9L110 6L113.3 8.7L114.2 8.3L115.8 9.5L119.2 7.9L124.2 7.5L128.3 4.4L130 4.4L135.8 6.3L145 12.2L153.3 14.2L162.5 20L166.7 20.8L169.2 22.8L173.3 23.6L184.2 23.2L195 26.3L198.3 25.5L203.3 19.7L208.3 16.9L219.2 18.1L225 11L229.2 10.7L237.5 5.2L246.7 7.5L250 9.1L259.2 19.3L264.2 20.8L270 15.3L280 12.2L287.5 13.8L295 17.3L300 16.5L301.7 16.9L310 23.2L315 22.8L320 25.1L326.7 20.4L329.2 21.2L342.5 40L345.8 34.5L352.5 30.2L355.8 29L360.8 23.2L364.2 21.2L366.7 20.8L371.7 21.6L384.2 21.2L390.8 27.1L396.7 30.6L400 48Z' fill='black'/%3E%3C/svg%3E");
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 360'%3E%3Cg fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M282 130C280 144 263 158 251 170C239 182 227 195 210 201C193 208 170 208 150 207C130 206 111 203 93 197C76 191 58 182 46 171C34 160 23 145 21 130C19 115 21 95 33 84C45 73 75 69 95 65C114 60 131 58 150 57C169 57 189 57 207 62C226 67 249 75 262 86C274 97 284 116 282 130Z'/%3E%3Cpath d='M262 128C261 139 247 151 237 160C227 170 217 181 203 186C189 191 170 191 154 191C137 190 121 188 107 183C93 178 78 171 68 161C58 152 49 139 47 128C45 116 47 98 57 89C67 80 92 77 108 74C124 70 138 68 153 68C169 67 185 68 201 72C216 75 235 82 246 91C256 101 264 116 262 128Z'/%3E%3Cpath d='M242 125C241 134 230 143 222 151C215 159 207 167 196 171C185 175 170 175 157 175C144 174 132 172 120 168C109 165 97 159 90 152C82 144 75 134 73 125C72 116 73 102 81 95C89 88 109 86 121 83C134 80 145 78 157 78C169 78 182 78 194 81C206 84 221 89 229 96C237 104 244 116 242 125Z'/%3E%3Cpath d='M223 122C222 129 214 136 208 141C203 147 197 153 189 156C181 159 170 159 160 159C151 158 142 157 134 154C126 151 117 147 111 142C106 137 101 129 99 122C98 116 99 106 105 101C111 96 125 94 134 92C144 90 152 88 160 88C169 88 179 88 188 90C196 93 207 96 213 102C219 107 224 116 223 122Z'/%3E%3Cpath d='M203 120C202 124 197 128 194 132C190 135 187 139 182 141C177 143 170 143 164 143C158 143 152 142 147 140C142 138 137 135 133 132C130 129 126 124 126 120C125 116 126 110 129 106C133 103 142 102 148 101C153 99 158 99 164 98C170 98 175 98 181 100C186 101 193 104 197 107C201 110 204 116 203 120Z'/%3E%3Cpath d='M519 240C515 256 511 269 501 282C491 294 476 304 459 314C443 324 421 337 400 339C379 341 351 333 332 324C314 315 299 301 288 287C277 273 266 255 267 240C269 225 285 210 297 197C309 185 323 173 340 165C357 158 378 154 400 152C422 150 450 146 471 152C492 158 516 174 524 188C533 203 523 224 519 240Z'/%3E%3Cpath d='M502 238C499 250 495 262 486 272C478 282 466 291 452 298C439 306 421 318 404 319C386 320 363 314 348 307C332 300 320 287 311 276C302 264 293 250 294 238C296 225 309 213 319 202C329 192 340 182 354 176C368 170 386 167 404 165C421 163 445 160 462 165C479 170 499 183 506 195C513 207 505 225 502 238Z'/%3E%3Cpath d='M484 235C482 245 479 254 472 262C466 270 456 277 446 283C435 289 421 298 407 299C393 300 375 295 363 290C351 284 341 274 334 265C327 256 320 245 321 235C322 225 333 215 340 207C348 199 357 192 368 187C379 182 393 179 407 178C421 176 440 174 453 178C466 182 482 192 488 202C493 211 487 225 484 235Z'/%3E%3Cpath d='M467 232C465 240 463 246 458 252C453 258 446 263 439 267C431 272 420 278 410 279C401 280 387 276 379 272C370 268 363 261 358 254C352 248 347 240 348 232C349 225 356 218 362 212C368 207 374 201 382 197C390 194 400 192 410 191C421 190 434 188 444 191C454 194 465 201 469 208C473 215 469 225 467 232Z'/%3E%3Cpath d='M449 230C448 235 447 239 444 242C441 246 437 249 432 252C427 255 420 259 414 259C408 260 400 257 394 255C388 252 384 248 381 244C378 240 374 234 375 230C375 226 380 221 384 217C387 214 391 210 396 208C401 206 408 205 414 204C420 203 429 202 435 204C441 206 448 210 451 215C453 219 451 225 449 230Z'/%3E%3Cpath d='M525 70C524 76 520 83 514 88C508 92 499 93 492 96C484 99 478 104 470 105C462 107 450 107 442 104C434 101 426 95 422 89C418 83 416 76 417 70C418 64 423 58 428 53C432 48 437 42 444 39C451 36 461 37 470 37C479 37 488 37 496 39C504 41 515 45 520 50C525 55 526 64 525 70Z'/%3E%3Cpath d='M513 68C512 72 509 77 505 80C501 83 494 84 489 86C484 88 479 92 474 93C468 93 459 93 454 91C448 90 443 85 440 81C437 77 435 72 436 68C437 63 440 59 444 56C447 52 450 48 455 46C460 44 467 44 474 44C480 44 486 44 492 46C498 47 505 50 509 53C512 57 513 63 513 68Z'/%3E%3Cpath d='M500 65C499 68 498 70 495 72C493 74 489 75 486 76C483 77 480 79 477 80C474 80 469 80 465 79C462 78 459 75 457 73C455 71 455 67 455 65C455 63 458 60 460 58C461 56 463 53 466 52C469 51 473 51 477 51C481 51 484 51 488 52C491 53 496 55 498 57C500 59 500 62 500 65Z'/%3E%3Cpath d='M129 300C129 307 123 314 118 320C113 325 105 331 97 334C89 336 79 335 70 335C61 335 51 337 42 335C33 333 21 328 15 323C10 317 9 307 10 300C11 293 17 286 23 281C29 276 38 274 46 270C54 267 61 261 70 260C79 259 91 261 99 264C107 267 115 273 120 279C125 285 130 293 129 300Z'/%3E%3Cpath d='M115 298C115 302 111 308 107 311C104 315 98 320 93 321C87 323 80 322 74 322C67 322 60 324 54 322C47 321 39 318 35 313C31 309 30 302 31 298C32 293 36 287 40 284C45 280 51 279 57 277C62 274 67 270 73 269C80 268 88 270 94 272C100 274 106 279 109 283C113 287 116 293 115 298Z'/%3E%3Cpath d='M101 295C101 298 99 301 97 303C95 306 92 308 88 309C85 310 81 309 77 309C73 309 69 310 65 309C62 309 57 307 54 304C52 302 52 298 52 295C53 292 55 289 58 287C60 285 64 284 67 283C70 281 73 279 77 278C81 278 85 279 89 280C92 282 96 284 98 286C100 289 102 292 101 295Z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    /* a night in the mountains: deep warm blue-violet, moonlit slate planes, brightened brick */
    --bg: #141729;
    --surface: #1c2038;
    --surface-2: #242946;
    --ink: #f2eadb;
    --ink-2: #c4bfd3;
    --line: #363c60;
    --accent: #ee8c74;
    --accent-strong: #f9c4b6;
    --accent-ink: #f3ac9b;
    --accent-btn: #ee8c74;
    --on-accent: #2a120c;
    --accent-soft: #3b2432;
    --link: #a0cde6;
    --link-soft: #1f3146;
    --green: #a2d9ae;
    --green-soft: #1e3a2c;
    --gold: #f1e4b8; /* the moon */
    --warn: #f0c36a;
    --warn-soft: #3a2c0a;
    --sky: #252b52;
    --plan-1: #56639a;
    --plan-2: #435080;
    --plan-3: #323e6c;
    --plan-4: #212b52;
    --neige: #dfe6f5;
    --shadow-bar: 0 -6px 24px rgb(0 0 0 / 0.45);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 24px -14px rgb(0 0 0 / 0.6);
  }
}

@media (min-width: 43.75em) {
  :root { --gutter: 32px; }
}
@media (min-width: 62.5em) {
  :root { --header-h: 72px; }
}

/* ---------- 2. BASE ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: calc(var(--bar-h) + var(--safe-b) + 16px);
}
@media (min-width: 80em) {
  html { scroll-padding-bottom: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--step-0) / 1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-size: var(--step-1); line-height: 1.25; }
h1 { font-weight: 660; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--accent); }

p, ul, ol, dl, figure, blockquote, table { margin: 0; }
p { text-wrap: pretty; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; background-color: var(--surface-2); } /* waiting colour while an image loads */
address { font-style: normal; }
b, strong { font-weight: 650; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- 3. LAYOUT ---------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.section__head { display: grid; gap: var(--s3); margin-bottom: var(--s8); max-width: 46rem; }
.section__head > p { color: var(--ink-2); }
.section__foot { margin-top: var(--s6); }
.stack > .section__head { margin-bottom: 0; }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s8); }

.split { display: grid; gap: var(--s8); }
@media (min-width: 56.25em) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
  .split--top { align-items: start; }
}

/* ---------- 4. COMPONENTS ------------------------------------------------ */

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* Preview banner */
.preview-banner {
  background: var(--ink); color: var(--bg);
  padding: 8px var(--gutter);
  font-size: 0.8125rem; line-height: 1.35; text-align: center;
}

/* Icons (sprite symbols, stroke only) */
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
}
.brand__mark .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.brand__name {
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  line-height: 1.05; letter-spacing: -0.01em;
}
.brand__name span { display: block; }
@media (max-width: 23.7499em) {
  .site-header__inner { gap: var(--s2); }
  .brand { gap: 8px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 0.96875rem; }
  .menu-toggle { padding: 0 14px 0 12px; }
  .action-bar__btn { gap: 6px; font-size: 0.875rem; }
}
@media (min-width: 43.75em) {
  .brand__name span { display: inline; }
  .brand__name { font-size: 1.1875rem; }
}

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; font-weight: 600; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.menu-toggle:hover { background: var(--ink); color: var(--bg); }

/* Menu: full-screen popover on phones and tablets, inline navigation from 1000 px */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: auto;
  background: var(--bg); color: var(--ink);
}
.menu:popover-open { display: flex; flex-direction: column; }
.menu__top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu__body {
  display: flex; flex-direction: column; gap: var(--s6); flex: 1;
  padding: var(--s6) var(--gutter) calc(var(--s8) + var(--safe-b));
  width: min(100%, 720px); margin-inline: auto;
}
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 56px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.menu__list a:hover { color: var(--accent-ink); }
.menu__list a[aria-current="page"] { color: var(--accent-ink); }
.menu__list a[aria-current="page"]::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}
.menu__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.menu__more a {
  display: flex; align-items: center; min-height: 48px; color: var(--ink-2); text-decoration: none;
}
.menu__more a:hover { color: var(--accent-ink); }
.menu__label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.menu__contact { display: grid; gap: var(--s2); color: var(--ink-2); }
.menu__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.lang { display: flex; gap: 0; align-items: center; margin-top: auto; }
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px; padding-inline: 12px;
  font-weight: 600; text-decoration: none;
}
.lang [aria-current] { color: var(--ink); background: var(--surface-2); border-radius: 999px; }
.menu__call { display: none; }

@media (min-width: 80em) {
  .menu-toggle, .menu__top, .menu__label, .menu__more, .menu__contact { display: none; }
  .menu {
    position: static; inset: auto; width: auto; height: auto; overflow: visible;
    display: flex; align-items: center; background: transparent; color: inherit; margin-left: auto;
  }
  .menu__body { flex-direction: row; align-items: center; gap: var(--s2); padding: 0; width: auto; margin: 0; }
  .menu__list { display: flex; gap: 2px; }
  .menu__list a {
    position: relative; white-space: nowrap; min-height: 48px; padding-inline: 14px; border: 0; border-radius: 999px;
    font-family: var(--font-text); font-weight: 560; font-size: 1rem; letter-spacing: 0;
  }
  .menu__list a:hover { background: var(--surface-2); color: var(--ink); }
  .menu__list a { padding-inline: 10px; font-size: 0.9375rem; }
  .menu__list a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
  .menu__list a[aria-current="page"]::after { display: none; }
  .menu__list .is-secondary { display: none; }
  .lang { margin: 0 var(--s2) 0 var(--s2); }
  .menu__call { display: inline-flex; }
}

/* Action bar (phones and tablets) */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 25;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
  padding: 8px max(var(--gutter), calc((100% - 560px) / 2)) calc(8px + var(--safe-b));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-bar);
}
.action-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; border-radius: 18px;
  color: var(--ink); background: var(--surface-2);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.action-bar__btn:hover { color: var(--ink); background: var(--line); }
.action-bar__btn--primary { background: var(--accent-btn); color: var(--on-accent); }
.action-bar__btn--primary:hover { background: var(--accent-strong); color: var(--on-accent); }
@media (min-width: 80em) {
  .action-bar { display: none; }
}

/* Buttons and arrow links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--accent-btn); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 48px;
  font-weight: 600; text-decoration: none;
}
.link-arrow .icon { transition: transform 0.15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-ext .icon { display: inline-block; margin-left: 4px; vertical-align: -3px; }

/* Eyebrow (section label) */
.eyebrow {
  display: block; margin: 0;
  font-size: 0.8125rem; font-weight: 650; line-height: 1.3;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow--solo .eyebrow__num::after { display: none; }
.eyebrow__num::after {
  content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 10px;
  background: currentColor; vertical-align: middle;
}

/* Ridge rule: a fragment of the real skyline seen from the practice, in "or" (decoration only) */
.hills {
  display: block; height: 24px; color: var(--gold); opacity: 0.95;
  background: currentColor;
  -webkit-mask: var(--crest-line) 0 50% / 100% 24px no-repeat;
  mask: var(--crest-line) 0 50% / 100% 24px no-repeat;
}
.hills--inline { width: 96px; height: 14px; margin-top: var(--s4); -webkit-mask-size: 100% 14px; mask-size: 100% 14px; }

/* Contour lines: a very faint original motif behind some bands and in the cards without a picture */
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--topo-tone, var(--ink)); opacity: 0.055;
  -webkit-mask: var(--topo) 0 0 / 560px 360px repeat; mask: var(--topo) 0 0 / 560px 360px repeat;
}

/* Opening status pill (computed on the server) */
.status {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px 0 14px;
  border-radius: 999px; background: var(--green-soft); color: var(--green);
  font-size: 0.9375rem; font-weight: 600;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--closed { background: var(--surface-2); color: var(--ink-2); }

/* Provisional mark */
mark.provisional, mark.provisoire {
  background: var(--warn-soft); color: var(--warn);
  border: 1px dashed currentColor; border-radius: 6px; padding: 0 0.4em;
  font-size: 0.92em; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s6); box-shadow: var(--shadow);
}
.card__title {
  display: flex; align-items: center; gap: 12px; margin-bottom: var(--s4);
  font-size: 1.1875rem; line-height: 1.2;
}
.card__title .icon { color: var(--accent); }
.card__title { font-weight: 640; }
.card__note { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-2); }
.card-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

@media (min-width: 43.75em) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--feature { grid-template-columns: 1fr 1fr; }
  .card-grid--feature > :first-child { grid-row: span 2; }
}
@media (min-width: 62.5em) {
  .card-grid--feature { grid-template-columns: repeat(3, 1fr); }
  .card-grid--feature > :first-child { grid-row: auto; }
}

/* Opening hours (definition list) */
.hours { display: grid; gap: 2px; }
.hours__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4);
  padding: 8px 12px; border-radius: 4px 10px 10px 4px; border-left: 3px solid transparent;
}
.hours__row dt { color: var(--ink-2); }
.hours__row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours__row { flex-wrap: wrap; }
.hours__row mark { white-space: nowrap; }
.hours__row.is-today { background: var(--accent-soft); border-left-color: var(--accent); font-weight: 650; }
.hours__row.is-today dt { color: var(--ink); }
.hours--lg .hours__row { padding: 12px 16px; font-size: var(--step-1); }

/* Stats (key figures) */
.stats-wrap { container-type: inline-size; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; }
.stats__item {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); align-items: baseline; gap: var(--s4);
  padding-block: var(--s3); border-top: 1px solid var(--line);
}
.stats__item:last-child { border-bottom: 1px solid var(--line); }
.stats__num {
  font-family: var(--font-display); font-weight: 580; font-size: var(--step-num);
  line-height: 1; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: lining-nums;
}
.stats__label { color: var(--ink-2); }
@container (min-width: 37.5em) {
  .stats { grid-template-columns: repeat(auto-fit, minmax(9rem, 18rem)); gap: var(--s8); }
  .stats__item { grid-template-columns: 1fr; gap: var(--s2); border-top: 2px solid var(--accent); padding-top: var(--s4); }
  .stats__item:last-child { border-bottom: 0; }
}
@supports not (container-type: inline-size) {
  @media (min-width: 43.75em) {
    .stats { grid-template-columns: repeat(auto-fit, minmax(9rem, 18rem)); gap: var(--s8); }
    .stats__item { grid-template-columns: 1fr; border-top: 2px solid var(--accent); }
  }
}

/* Media (photos) */
.media { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.media picture { height: 100%; }
.media img, .media picture > img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1; }
/* Illustrations are drawn in 4:3 on a plain linen ground: shown whole at every width. */
.media.media--whole, .device .media.media--whole, .family__cover.media.media--whole { aspect-ratio: 4 / 3; }
.media--whole img, .media--whole picture > img { object-fit: contain; }
.figure-cap { margin-top: var(--s2); font-size: var(--step--1); color: var(--ink-2); }

/* Horizontal rails with snap (families, gallery) */
.rail {
  display: flex; gap: var(--s3); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) var(--s3);
  scrollbar-width: thin;
}
.rail > * { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -3px; }

/* Family card (home) */
.family-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: border-color 0.15s;
}
.family-card:hover { border-color: var(--accent); }
.family-card .media { border-radius: 0; }
.family-card__body { display: flex; flex-direction: column; gap: var(--s2); padding: 0 var(--s4) var(--s4); flex: 1; }
.family-card__title { font-size: 1.1875rem; line-height: 1.2; }
.family-card__title a, .link-card h3 a { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; }
.family-card__title a::after { content: ""; position: absolute; inset: 0; }
.family-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 600; font-size: 0.9375rem; }
/* Family card without a picture: soft coloured band + contour lines + pictogram (same height as a photo) */
.family-card__band {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: var(--tone-bg, var(--accent-soft)); color: var(--tone-fg, var(--accent)); --topo-tone: var(--tone-fg, var(--accent));
}
.family-card__band::before { opacity: 0.1; }
.family-card__band .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.family-card__band .icon-disc {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow);
}
.tone-1 { --tone-bg: var(--accent-soft); --tone-fg: var(--accent); }
.tone-2 { --tone-bg: var(--green-soft); --tone-fg: var(--green); }
.tone-3 { --tone-bg: var(--surface-2); --tone-fg: var(--accent-strong); }
.tone-4 { --tone-bg: var(--link-soft); --tone-fg: var(--link); }
@media (min-width: 62.5em) {
  .rail--families {
    display: grid; grid-template-columns: repeat(12, 1fr); overflow: visible;
    margin-inline: 0; padding: 0; gap: var(--s4);
  }
  .rail--families > * { grid-column: span 4; }
  .rail--families > :nth-child(-n + 4) { grid-column: span 3; }
}

/* Gallery: snap rail on phones, grid on larger screens */
.gallery__item { margin: 0; }
.gallery__item figcaption { margin-top: var(--s2); font-size: var(--step--1); color: var(--ink-2); }
@media (min-width: 43.75em) {
  .gallery { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding: 0; gap: var(--s4); }
  .gallery > * { flex: initial; }
}
@media (min-width: 62.5em) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

/* Point list (what it changes) */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); }
.point { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); align-items: start; }
.point__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.point h3, .point h4 { font-size: 1.1875rem; margin-bottom: var(--s1); }
.point p { color: var(--ink-2); }
@media (min-width: 43.75em) {
  .points { grid-template-columns: 1fr 1fr; gap: var(--s8) var(--s12); }
}

/* EBP diagram */
.ebp { display: grid; gap: var(--s4); justify-items: center; }
.ebp__svg { width: 100%; max-width: 440px; height: auto; }
.ebp__frame { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 5 5; }
.ebp__c1 { fill: var(--accent); fill-opacity: 0.2; stroke: var(--accent); stroke-width: 1.5; }
.ebp__c2 { fill: var(--green); fill-opacity: 0.22; stroke: var(--green); stroke-width: 1.5; }
.ebp__c3 { fill: var(--ink-2); fill-opacity: 0.18; stroke: var(--ink-2); stroke-width: 1.5; }
.ebp__core { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.ebp__text { fill: var(--ink); font: 600 14px/1.2 var(--font-text); text-anchor: middle; }
.ebp__text--sm { font-size: 12.5px; }
.ebp__text--ctx { font-weight: 500; font-size: 12.5px; fill: var(--ink-2); }
.ebp__text--core { fill: var(--accent); font-size: 12px; font-weight: 700; }
.ebp__badge { fill: var(--ink); }
.ebp__badge-n { fill: var(--bg); font: 700 11px/1 var(--font-text); text-anchor: middle; }
.ebp__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); width: 100%; max-width: 440px; }
.ebp__legend li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; font-size: 0.9375rem; color: var(--ink-2); }
.ebp__legend strong { display: block; color: var(--ink); }
.ebp__n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-size: 0.8125rem; font-weight: 700;
}

/* EBP + "what it changes": stacked on phones, two columns with the diagram spanning both rows from 900 px */
.ebp-layout { display: grid; gap: var(--s8); }
.ebp-layout__intro { display: grid; gap: var(--s4); align-content: start; }
.ebp-layout__intro .section__head { margin-bottom: 0; }
.ebp-layout__points > h3 { margin-bottom: var(--s6); }
@media (min-width: 56.25em) {
  .ebp-layout { grid-template-columns: 1fr 1fr; grid-template-areas: "intro diagram" "points diagram"; column-gap: var(--s12); align-items: start; }
  .ebp-layout__intro { grid-area: intro; }
  .ebp-layout__points { grid-area: points; }
  .ebp-layout .ebp { grid-area: diagram; position: sticky; top: calc(var(--header-h) + 24px); }
  .ebp-layout .points { grid-template-columns: 1fr; gap: var(--s6); }
}

/* Link cards (Comprendre) */
.link-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color 0.15s;
}
.link-card:hover { border-color: var(--accent); }
.link-card > .icon { color: var(--accent); width: 28px; height: 28px; }
.link-card h3 a::after { content: ""; position: absolute; inset: 0; }
.link-card p { color: var(--ink-2); font-size: 0.9375rem; }
.link-card__go { margin-top: auto; padding-top: var(--s2); color: var(--accent-ink); }

/* Notices and callouts */
.notice {
  display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) var(--s6);
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--ink-2);
  border-radius: 4px 10px 10px 4px; font-size: 0.9375rem;
}
.notice .icon { margin-top: 2px; color: var(--ink-2); }
.callout {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); padding: var(--s6);
  background: var(--accent-soft); border-radius: 4px var(--radius) var(--radius) 4px; border-left: 4px solid var(--accent);
}
.callout .icon { width: 32px; height: 32px; color: var(--accent); }
.callout h3 { margin-bottom: var(--s2); font-size: 1.1875rem; }

/* Map placeholder */
.map { position: relative; overflow: hidden; border-radius: var(--radius); }
.map__frame {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10;
  background: var(--surface-2); border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: var(--ink-2); text-align: center;
}
.map__frame::before {
  content: ""; position: absolute; inset: auto 0 0; height: 40%;
  background: var(--line); opacity: 0.6;
  -webkit-mask: var(--crest-fill) 0 0 / 100% 100% no-repeat; mask: var(--crest-fill) 0 0 / 100% 100% no-repeat;
}
.map__label { position: relative; display: grid; justify-items: center; gap: var(--s2); font-weight: 600; }
.map__label .icon { width: 32px; height: 32px; color: var(--accent); }
.map__img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); }
.map__credit { margin-top: var(--s2); font-size: 0.8125rem; color: var(--ink-2); }

/* FAQ (details): one card per question, chevron like .fold, no JavaScript */
.faq { display: grid; gap: var(--s3); max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: border-color 0.15s; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 60px; padding: var(--s3) var(--s4); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 620; font-size: 1.125rem; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem; color: var(--accent);
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s;
}
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq__answer { padding: 0 var(--s4) var(--s4); max-width: var(--measure); color: var(--ink-2); }
.faq__answer > * + * { margin-top: 0.8em; }
.faq__answer a { text-decoration-thickness: 1.5px; }
.faq-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); justify-items: start; max-width: 52rem; margin-top: var(--s8); padding: var(--s5); border-radius: var(--radius); background: var(--surface-2); }
.faq-more h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.faq-more p { color: var(--ink-2); }

/* News list */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { display: grid; gap: var(--s1); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.news-list time { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

.news-list h2, .news-list h3 { font-size: 1.1875rem; }
.news-list h2 a, .news-list h3 a { color: var(--ink); text-decoration: none; }
.news-list h2 a:hover, .news-list h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.news-list p { color: var(--ink-2); max-width: var(--measure); }
@media (min-width: 43.75em) {
  .news-list li { grid-template-columns: 9rem 1fr; gap: var(--s6); }
  .news-list time { padding-top: 0.35rem; }
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
caption { padding: var(--s3) var(--s4); text-align: left; font-weight: 600; color: var(--ink-2); }
th, td { padding: 12px var(--s4); text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--surface-2); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-top: 0; }
tbody th { font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Footer */
.site-footer {
  position: relative; margin-top: var(--s24); background: var(--surface-2); isolation: isolate;
  padding: var(--s12) 0 calc(var(--s12) + var(--bar-h) + var(--safe-b));
}
.site-footer::before {
  content: ""; position: absolute; inset: auto 0 calc(100% - 1px); height: clamp(34px, 7vw, 76px);
  background: var(--surface-2);
  -webkit-mask: var(--crest-fill) 0 0 / 100% 100% no-repeat; mask: var(--crest-fill) 0 0 / 100% 100% no-repeat;
}
.site-footer__grid { display: grid; gap: var(--s8); }
.site-footer h2 { font-size: 1.125rem; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a, .site-footer p a, .link-block { display: inline-flex; align-items: center; min-height: 48px; }
.site-footer__brand { display: grid; align-content: start; gap: var(--s3); max-width: 24rem; }
.site-footer__legal { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-2); }
.site-footer .hours__row { padding-block: 4px; }
@media (min-width: 43.75em) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s12); }
}
@media (min-width: 62.5em) {
  .site-footer__grid { grid-template-columns: 1.1fr 1fr 1.3fr; }
}
@media (min-width: 80em) {
  .site-footer { padding-bottom: var(--s12); }
}

/* ---------- 5. PAGES ----------------------------------------------------- */

/* Page header (inner pages) */
.page-head { padding-top: clamp(2rem, 1rem + 5vw, 4.5rem); }
.page-head .container { display: grid; gap: var(--s4); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 56ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.page-head .hills { margin-top: var(--s6); }

/* Home: hero. A dawn sky and, at the bottom, the real ridge line seen from the practice
   (three crops of one drawing: phone, tablet, desktop). By night: moon and stars. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; padding-top: var(--s8);
  background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 88%);
}
.hero__inner { display: grid; }
.hero__text { display: grid; gap: var(--s3); align-content: start; max-width: 44rem; padding-bottom: var(--s6); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); margin-top: var(--s2); }
.hero h1 { max-width: 16ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.hero__actions { display: none; }
.hero__sms-note { flex: 1 0 100%; max-width: 36rem; }
.hero__sms-note .card__note { margin-top: 0; }
.hero__stars { position: absolute; left: 0; top: -52px; display: none; width: 100%; height: 130px; fill: var(--ink); }
.hero__ridge { position: relative; margin-top: var(--s2); }
.sky { position: absolute; top: 4px; right: 12%; width: 96px; height: 96px; overflow: visible; color: var(--gold); }
.sky .sun { fill: var(--gold); }
.sky .halo, .sky .halo-moon { fill: url(#glow); }
.sky .moon, .sky .halo-moon { display: none; }
.crete { display: block; width: 100%; height: auto; }
.crete--m, .crete--l { display: none; }
.p1 { fill: var(--plan-1); }
.p2 { fill: var(--plan-2); }
.p3 { fill: var(--plan-3); }
.p4 { fill: var(--plan-4); }
.sn { fill: var(--neige); }
@media (prefers-color-scheme: dark) {
  .hero__stars { display: block; }
  .sky .sun, .sky .halo { display: none; }
  .sky .moon { display: inline; fill: var(--gold); }
  .sky .halo-moon { display: inline; }
  .sky { width: 84px; height: 84px; }
}
@media (min-width: 37.5em) {
  .crete--s { display: none; }
  .crete--m { display: block; }
  .sky { right: 14%; top: -8px; width: 130px; height: 130px; }
}
@media (min-width: 56.25em) {
  .hero { padding-top: var(--s12); }
  .hero__text { padding-bottom: var(--s6); }
  .sky { right: 16%; top: -36px; width: 190px; height: 190px; }
}
@media (min-width: 62.5em) {
  .crete--m { display: none; }
  .crete--l { display: block; }
  .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s2); }
}

.hero__oc { margin: 0; font: italic 600 1.0625rem/1.2 var(--font-display); color: var(--accent-ink); }
.bring__title { margin-top: var(--s3); font-weight: 650; color: var(--ink) !important; }
.bring { list-style: none; margin: var(--s2) 0 var(--s3); padding: 0; display: grid; gap: var(--s2); }
.bring li {
  position: relative; padding: var(--s2) var(--s3) var(--s2) 2.4rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.4;
}
.bring li::before {
  content: ""; position: absolute; left: 0.95rem; top: 50%; width: 0.55rem; height: 0.95rem; margin-top: -0.62rem;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(40deg);
}
.site-footer__oc { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--step--1); }
.site-footer__oc span { font: italic 600 1.0625rem/1.2 var(--font-display); color: var(--accent-ink); margin-right: 0.35em; }

/* Goals: "Reprendre ce qui compte pour vous" */
.goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: var(--s3); }
.goal {
  display: grid; gap: var(--s2); align-content: start; padding: var(--s4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.goal__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.goal:nth-child(4n+2) .goal__icon, .goal:nth-child(4n+3) .goal__icon { background: var(--link-soft); color: var(--link); }
.goal h3 { margin-top: var(--s1); font-size: 1.0625rem; line-height: 1.2; font-weight: 640; }
.goal p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.goals-note { margin-top: var(--s6); max-width: 46rem; color: var(--ink-2); font-size: var(--step--1); }
@media (min-width: 43.75em) {
  .goals { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .goal { padding: var(--s6) var(--s4) var(--s6); }
}
@media (max-width: 22.4999em) {
  .goals { grid-template-columns: 1fr; }
}

/* First visit, step by step: a trail with numbered waypoints */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.step {
  position: relative; counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4);
  padding-bottom: var(--s6);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-btn); color: var(--on-accent); font: 640 1.375rem/1 var(--font-display);
}
.step::after {
  content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); opacity: 0.45;
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1875rem; margin: 0 0 var(--s1); padding-top: 0.7rem; }
.step p { color: var(--ink-2); }
.step p + p { margin-top: var(--s2); }
@media (min-width: 56.25em) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
  .step { grid-template-columns: 1fr; padding-bottom: 0; gap: var(--s3); align-content: start; }
  .step::after { left: 56px; right: calc(var(--s6) * -1 + 8px); top: 23px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
  .step h3 { padding-top: 0; }
}

/* "La vue depuis le cabinet": the whole ridge, scrolling sideways on phones */
.pano-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 46rem; }
.pano {
  margin-inline: calc(var(--gutter) * -1); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: thin;
  background: linear-gradient(180deg, var(--sky), var(--bg) 92%);
}
.pano:focus-visible { outline-offset: -3px; }
.pano__track { position: relative; width: 1120px; }
.pano svg { display: block; width: 100%; max-width: none; height: auto; }
.pano__snap { position: absolute; top: 0; bottom: 0; width: 1px; scroll-snap-align: start; }
.pano__snap--a { left: 0; }
.pano__snap--b { left: 23.75%; width: 35%; scroll-initial-target: nearest; }
.pano__snap--c { left: 100%; margin-left: -390px; }
.pano__name { font: 600 22px/1 var(--font-text); fill: var(--ink); }
.pano__alt { font: 500 20px/1 var(--font-text); fill: var(--ink-2); }
.pano__lead { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.pano__dot { fill: var(--ink); }
.pano__hint { margin-top: var(--s2); font-size: var(--step--1); color: var(--ink-2); }
.pano-cap { margin-top: var(--s3); max-width: 46rem; font-size: var(--step--1); color: var(--ink-2); }
@media (min-width: 62.5em) {
  .pano { margin-inline: 0; overflow: visible; border-radius: var(--radius); overflow-x: hidden; }
  .pano__track { width: 100%; }
  .pano__snap { display: none; }
  .pano__hint { display: none; }
}

/* Practical info section follows the hero closely */
.practical { padding-block: var(--s6) var(--section-y); }
.practical .section__head { margin-bottom: var(--s6); }

/* Plateau page */
.jump { list-style: none; margin: 0; padding: 4px var(--gutter) var(--s3); display: flex; gap: var(--s2); overflow-x: auto; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; }
.jump a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; white-space: nowrap;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 560; font-size: 0.9375rem; text-decoration: none;
}
.jump a:hover { border-color: var(--accent-ink); color: var(--accent); }
@media (min-width: 62.5em) {
  .jump { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.family { padding-block: var(--s12); border-top: 1px solid var(--line); }
.family:first-of-type { border-top: 0; }
.family__grid { display: grid; gap: var(--s6); }
.family__cover.media--4x3 { aspect-ratio: 16 / 10; }
.family__cover--none {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius);
  background: var(--tone-bg, var(--accent-soft)); color: var(--tone-fg, var(--accent)); --topo-tone: var(--tone-fg, var(--accent));
}
.family__cover--none::before { opacity: 0.1; }
.family__cover--none .icon-disc {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow);
}
.family__cover--none .icon { width: 58px; height: 58px; stroke-width: 1.35; }
.family__cover--none .family__num {
  position: absolute; left: var(--s4); bottom: var(--s2); font: italic 600 3.25rem/1 var(--font-display); opacity: 0.55;
}
.family__body { display: grid; gap: var(--s3); align-content: center; }
.family__devices { grid-column: 1 / -1; container-type: inline-size; }
.device-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.device { display: grid; gap: var(--s3); align-content: start; }
.device h3, .device h4 { font-size: 1.125rem; line-height: 1.25; }
.device p { color: var(--ink-2); font-size: 0.9375rem; }
.device .media { aspect-ratio: 16 / 10; }
.device--card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
/* Devices without a photo: a compact list flowing in two balanced columns (no gaps between rows). */
.device-list { list-style: none; margin: 0; padding: 0; }
.device-list .device { padding: var(--s3) 0 var(--s2); border-top: 1px solid var(--line); break-inside: avoid; }
.device-grid + .device-list, .device-grid + .chips, .device-list + .chips { margin-top: var(--s6); }
.device-grid { align-items: start; }
.family__usage { color: var(--ink-2); max-width: 56ch; }
.fold { margin-top: var(--s6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 56px; padding: var(--s2) var(--s4); cursor: pointer; list-style: none; font-weight: 650; color: var(--ink);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem; color: var(--accent);
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s;
}
.fold[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.fold > summary:focus-visible { outline-offset: -3px; }
.fold__body { padding: 0 var(--s4) var(--s4); }
.fold__body > :first-child { margin-top: 0 !important; }
.family__devices > .fold { margin-top: var(--s4); }
.family__usage > * + * { margin-top: var(--s3); }
.device__more { margin-top: var(--s2); border-top: 1px solid var(--line); }
.device__more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; font-size: 0.9375rem; color: var(--accent-ink);
}
.device__more > summary::-webkit-details-marker { display: none; }
.device__more > summary::after {
  content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-right: 0.3rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s;
}
.device__more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.device__more-body { padding-bottom: var(--s3); color: var(--ink-2); font-size: 0.9375rem; }
.device__more-body ul { margin: 0; padding-left: 1.2em; }
.device__more-body li + li { margin-top: 0.35em; }
.device__more-body li::marker { color: var(--accent); }
.device__more-body h4 { margin: var(--s4) 0 var(--s2); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.device-note { max-width: var(--measure); font-size: var(--step--1); color: var(--ink-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.9375rem; }
@container (min-width: 32.5em) { .device-grid { grid-template-columns: repeat(2, 1fr); } .device .media { aspect-ratio: 4 / 3; } }
@container (min-width: 55em) { .device-grid { grid-template-columns: repeat(3, 1fr); } }
@container (min-width: 40em) { .device-list { columns: 2; column-gap: var(--s8); } }
@media (min-width: 56.25em) {
  .family__grid { grid-template-columns: 5fr 6fr; gap: var(--s8) var(--s12); }
  .family__cover.media--4x3 { aspect-ratio: 4 / 3; }
  .family__cover--none { aspect-ratio: 4 / 3; }
  .family--flip .family__grid { grid-template-columns: 6fr 5fr; }
  .family--flip .family__cover { grid-column: 2; grid-row: 1; }
  .family--flip .family__body { grid-column: 1; grid-row: 1; }
}

/* Long text (prose) */
.prose { max-width: var(--measure); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  position: relative; margin-block: 1.8em; padding: var(--s4) var(--s6) var(--s4) var(--s8);
  border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4;
}
.prose blockquote cite { display: block; margin-top: var(--s2); font: 0.875rem/1.4 var(--font-text); color: var(--ink-2); }
.prose blockquote::before {
  content: "\201C"; position: absolute; left: 10px; top: 2px; font-size: 3rem; line-height: 1; color: var(--accent);
}
.prose .table-wrap { margin-block: 1.6em; }
.prose a { text-decoration-thickness: 1.5px; }
.prose-layout { display: grid; gap: var(--s8); }
.prose table { display: block; max-width: 100%; overflow-x: auto; margin-block: 1.6em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table:focus-visible { outline-offset: 2px; }
.prose th, .prose td { min-width: 5rem; padding-inline: 10px; }
@media (min-width: 43.75em) { .prose th, .prose td { padding-inline: var(--s4); } }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
/* On phones a text table becomes a list of cards: first cell as title, last cell emphasised. */
@media (max-width: 37.4999em) {
  .prose table { border: 0; border-radius: 0; background: none; overflow: visible; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prose tbody, .prose tr, .prose td { display: block; }
  .prose tr { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .prose tr + tr { margin-top: var(--s3); }
  .prose td { min-width: 0; padding: 0; border: 0; text-align: left; }
  .prose td:first-child { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
  .prose td:last-child:not(:first-child) { margin-top: 10px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
}
.price-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }

/* Contact */
.contact-grid { display: grid; gap: var(--s4); }
.cta-list { display: grid; gap: var(--s3); }
.cta {
  display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: var(--s4);
  min-height: 72px; padding: var(--s3) var(--s4);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.cta:hover { border-color: var(--accent); color: var(--ink); }
.cta__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.cta--primary { background: var(--accent-btn); border-color: var(--accent); color: var(--on-accent); }
.cta--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.cta--primary .cta__icon { background: rgb(255 255 255 / 0.16); color: var(--on-accent); }
.cta__label { display: block; font-size: 0.875rem; }
.cta__value { display: block; font-weight: 650; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
@media (min-width: 56.25em) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
}

/* Team */
.profile { display: grid; gap: var(--s6); align-items: center; justify-items: start; }
.avatar {
  position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); border: 1.5px solid var(--accent);
  font: 600 2.25rem/1 var(--font-display); letter-spacing: 0.02em; overflow: hidden;
}
.avatar::after {
  content: ""; position: absolute; inset: auto 12% 20%; height: 12px; background: currentColor; opacity: 0.45;
  -webkit-mask: var(--crest-line) 0 50% / 100% 12px no-repeat; mask: var(--crest-line) 0 50% / 100% 12px no-repeat;
}
.avatar--photo { border: 0; background: var(--surface-2); }
.avatar--photo::after { display: none; }
.avatar picture { width: 100%; height: 100%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__role { color: var(--ink-2); font-size: var(--step-1); }
.training { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: t; }
.training li {
  counter-increment: t; display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s2);
  padding-block: var(--s3); border-bottom: 1px solid var(--line);
}
.training li::before { content: counter(t, decimal-leading-zero); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; color: var(--accent-ink); padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
@media (min-width: 43.75em) {
  .profile { grid-template-columns: auto 1fr; gap: var(--s8); }
  .training { grid-template-columns: 1fr 1fr; column-gap: var(--s12); }
}

/* Notices at the top of a page, legal facts, small print */
.notice-top { padding-top: var(--s6); }
.facts { display: grid; gap: var(--s4); margin: 0; }
.facts > div { display: grid; gap: 2px; }
.facts dt { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 43.75em) {
  .facts > div { grid-template-columns: 16rem 1fr; gap: var(--s6); align-items: baseline; }
}
.legal > * + * { margin-top: var(--s4); }
.legal > h2 { margin-top: var(--s12); font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.legal > h2:first-child { margin-top: 0; }
.fineprint { font-size: var(--step--1); color: var(--ink-2); }
.hours-note { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-2); }
.news-body { margin-top: var(--s4); }
.faq-group + .faq-group { margin-top: var(--s12); }
.faq-group > h2 { margin-bottom: var(--s4); }
.link-list { list-style: none; margin: 0; padding: 0; }

/* 404 */
.not-found { display: grid; gap: var(--s4); justify-items: start; padding-block: var(--s12); }
.not-found__code { font-family: var(--font-display); font-weight: 580; font-size: clamp(5rem, 3rem + 12vw, 10rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--accent); }
.not-found .hills { width: min(100%, 320px); }

/* ---------- 6. UTILITIES ------------------------------------------------- */
.nd { display: none; }
.mail { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.text-muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.pos-top { object-position: 50% 0; }
.pos-mid { object-position: 50% 55%; }
.pos-low { object-position: 50% 70%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-contrast: more) {
  :root { --line: var(--ink-2); }
  .card, .link-card, .family-card, .cta { border-color: var(--ink-2); }
}

/* ---------- 6b. ACCESSIBILITY: reflow, large text, low windows, forced colours (audit 29/11/2026) -------- */
/* Breakpoints are in em on purpose: they follow the reader's default text size, so a phone set to 200 %
   text switches to the compact layout instead of overflowing (WCAG 1.4.4, 1.4.10, 1.4.12). */
.site-header__inner { flex-wrap: wrap; column-gap: var(--s2); row-gap: var(--s2); padding-block: 6px; }
.brand { flex: 1 1 9rem; min-width: 0; }
.brand__name { white-space: normal; overflow-wrap: break-word; }
.menu-toggle { flex: none; }
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; }
/* Action bar: three equal buttons while the labels fit; with enlarged text the buttons wrap onto a second
   line as whole buttons (never a clipped or broken word), and the icon goes away when space is short. */
@media (max-width: 79.9999em) { .action-bar { display: flex; flex-wrap: wrap; justify-content: center; } }
.action-bar__btn { flex: 1 1 0; min-width: max-content; padding-inline: 14px; text-align: center; white-space: nowrap; overflow-wrap: normal; hyphens: manual; }
@media (max-width: 30em) { .action-bar__btn { padding-inline: 8px; gap: 6px; } }
.lede, .lead, p, li, dd { overflow-wrap: break-word; }
.faq-more, .faq-more > *, .bring, .bring li, .faq, .faq details, .faq summary, .faq__answer, .cta, .cta-list, .stats, .steps, .step, .step > * { min-width: 0; }
.faq__answer, .cta__value, .cta__label { overflow-wrap: anywhere; }
a.cta, a.btn, .cta[href^="tel:"], .cta[href^="sms:"] { white-space: normal; text-align: center; }
.btn { max-width: 100%; }
@media (min-width: 80em) {
  .site-header__inner { flex-wrap: wrap; }
  .brand { flex: 0 1 auto; }
  .menu { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
  .menu__body { flex-wrap: wrap; justify-content: flex-end; row-gap: var(--s1); }
  .menu__list { flex-wrap: wrap; justify-content: flex-end; }
}
/* Very large text on a narrow screen (about 150 % and more on a phone): nothing sticks to the screen edges. */
@media (max-width: 24em) {
  .site-header, .action-bar { position: static; }
  .action-bar { grid-auto-flow: row; box-shadow: none; }
  html { scroll-padding-top: 16px; scroll-padding-bottom: 16px; }
}
/* Low windows (phone held sideways, 400 % zoom on a laptop): the header and the bar would hide half of the page. */
@media (max-height: 36em) {
  .site-header, .action-bar { position: static; }
  .action-bar { box-shadow: none; }
  html { scroll-padding-top: 16px; scroll-padding-bottom: 16px; }
}
/* Small print stays readable */
.eyebrow, .eyebrow__num, .map__credit, .site-footer__oc small { font-size: 0.875rem; }
.preview-banner { font-size: 0.875rem; }
.prose p, .prose li, .section p, .section li, .legal p, .legal li, .bring li { line-height: 1.6; }

@media (prefers-contrast: more) {
  :root { --ink-2: var(--ink); }
  a { text-decoration-thickness: 2px; }
  .btn--secondary, .menu-toggle { border-width: 2px; }
}
@media (forced-colors: active) {
  .action-bar__btn, .btn, .cta, .menu-toggle { border: 2px solid ButtonText; }
  .status::before { background: CanvasText; forced-color-adjust: none; }
  .action-bar { border-top: 2px solid CanvasText; }
  .hours__row.is-today { border-left: 6px solid Highlight; }
  .faq details, .fold, .card { border: 1px solid CanvasText; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* ---------- 7. PRINT ----------------------------------------------------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --ink: #000; --ink-2: #333; --line: #bbb; --accent: #000; }
  body { font-size: 11pt; }
  .site-header, .action-bar, .skip-link, .preview-banner, .menu-toggle, .hills, .hero__ridge, .hero__stars, .pano, .topo::before, .site-footer::before, .map { display: none !important; }
  .hero { background: none; }
  .section, .family { padding-block: 1.2rem; }
  a { color: #000; }
  .btn--primary, .action-bar__btn--primary, .cta--primary { background: #fff !important; color: #000 !important; border: 1.5px solid #000; }
  .hours__row.is-today { background: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .card, .family, .point, .device, figure, tr { break-inside: avoid; }
  .site-footer { padding-bottom: 1rem; margin-top: 1rem; }
}

/* ---------- 7. MOUNTAIN WEATHER on the panorama (decorative; see cabinet/meteo.py) ---------- */
/* Only drawn when a fresh weather state exists (.meteo wrapper). Animations use transform and opacity only,
   stop with the checkbox (no JavaScript), do not run with reduced motion and vanish in forced colours. */
.meteo { --fx-cloud: rgb(255 255 255 / 0.62); --fx-veil: 98 112 142; --fx-flake: #fff; --fx-rain: 74 96 132; --fx-fog: 255 255 255; }
@media (prefers-color-scheme: dark) {
  .meteo { --fx-cloud: rgb(150 160 205 / 0.3); --fx-veil: 12 15 36; --fx-rain: 160 190 235; --fx-fog: 150 160 205; }
}
.meteo--nuit .pano {
  /* real night: the night palette of the dark theme, whatever the visitor's colour scheme */
  --sky: #252b52; --bg: #141729; --plan-1: #56639a; --plan-2: #435080; --plan-3: #323e6c; --plan-4: #212b52;
  --neige: #dfe6f5; --ink: #f2eadb; --ink-2: #c4bfd3;
}
.meteo--nuit { --fx-cloud: rgb(150 160 205 / 0.3); --fx-veil: 12 15 36; --fx-rain: 160 190 235; --fx-fog: 150 160 205; }
.meteo { position: relative; }
/* pause control: a real checkbox (keyboard, screen readers) laid over a 48 px target, drawn by the label */
.meteo__pause { position: absolute; left: 0; top: 0; z-index: 4; width: 3rem; height: 3rem; margin: 0; opacity: 0; cursor: pointer; }
.meteo__pause-label { position: relative; display: flex; align-items: center; min-height: 3rem; padding-left: 3rem; font-size: var(--step--1); color: var(--ink-2); cursor: pointer; }
.meteo__pause-label::before { content: ""; position: absolute; left: 0.75rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -0.75rem; border: 2px solid var(--ink-2); border-radius: 6px; background: var(--surface); }
.meteo__pause:checked + .meteo__pause-label::before { border-color: var(--accent-btn); background: var(--accent-btn); }
.meteo__pause:checked + .meteo__pause-label::after { content: ""; position: absolute; left: 1.3rem; top: 50%; width: 0.4rem; height: 0.75rem; margin-top: -0.55rem; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.meteo__pause:focus-visible + .meteo__pause-label::before { outline: 3px solid var(--accent); outline-offset: 2px; }
.pano__sky, .pano__fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pano__sky { z-index: 0; }
.meteo .pano__ridge { position: relative; z-index: 1; }
.pano__fx { z-index: 2; }
.pano__labels { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.fx { position: absolute; display: none; }
.fx__veil { inset: 0; background: linear-gradient(180deg, rgb(var(--fx-veil) / 0.34), rgb(var(--fx-veil) / 0) 85%); }
.fx__sun { left: 85%; top: 0; width: 10%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 244 214 / 0.95) 0 14%, rgb(255 214 140 / 0.5) 30%, rgb(255 214 140 / 0) 70%); animation: fx-sun 7s ease-in-out infinite alternate; }
.fx__moon { left: 86%; top: 6%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 40%, #f6efd6 0 55%, #d9d2b4 100%); box-shadow: 0 0 18px 6px rgb(241 228 184 / 0.28); }
.fx__stars { inset: 0 0 35% 0; background-repeat: no-repeat; }
.fx__stars--a { background-image: radial-gradient(circle at 8% 14%, #fff 0 1.1px, #fff0 1.8px), radial-gradient(circle at 21% 32%, #fff 0 1.4px, #fff0 2.1px), radial-gradient(circle at 34% 9%, #fff 0 1px, #fff0 1.7px), radial-gradient(circle at 47% 26%, #fff 0 1.3px, #fff0 2px), radial-gradient(circle at 71% 16%, #fff 0 1.1px, #fff0 1.8px), radial-gradient(circle at 88% 34%, #fff 0 1.4px, #fff0 2.1px), radial-gradient(circle at 95% 8%, #fff 0 1px, #fff0 1.7px); animation: fx-twinkle 4.2s ease-in-out infinite alternate; }
.fx__stars--b { background-image: radial-gradient(circle at 14% 24%, #fff 0 1.2px, #fff0 1.9px), radial-gradient(circle at 28% 12%, #fff 0 1px, #fff0 1.7px), radial-gradient(circle at 41% 36%, #fff 0 1.3px, #fff0 2px), radial-gradient(circle at 56% 10%, #fff 0 1.4px, #fff0 2.1px), radial-gradient(circle at 66% 30%, #fff 0 1px, #fff0 1.7px), radial-gradient(circle at 79% 24%, #fff 0 1.2px, #fff0 1.9px), radial-gradient(circle at 92% 20%, #fff 0 1.3px, #fff0 2px); animation: fx-twinkle 5.8s ease-in-out -2s infinite alternate; }
.fx__cloud { top: 4%; width: 36%; height: 17%; background: radial-gradient(ellipse 34% 52% at 26% 62%, var(--fx-cloud), #fff0 72%), radial-gradient(ellipse 30% 66% at 50% 48%, var(--fx-cloud), #fff0 72%), radial-gradient(ellipse 34% 50% at 74% 62%, var(--fx-cloud), #fff0 72%); animation: fx-sway 70s ease-in-out infinite alternate; }
.fx__cloud--1 { left: 2%; }
.fx__cloud--2 { left: 34%; top: 15%; width: 30%; animation-duration: 95s; animation-delay: -30s; }
.fx__cloud--3 { left: 62%; top: 2%; width: 34%; animation-duration: 120s; animation-delay: -60s; }
.fx__fog { left: -6%; right: -6%; height: 34%; background: linear-gradient(180deg, rgb(var(--fx-fog) / 0), rgb(var(--fx-fog) / 0.6) 45%, rgb(var(--fx-fog) / 0)); animation: fx-fog 22s ease-in-out infinite alternate; }
.fx__fog--1 { top: 30%; }
.fx__fog--2 { top: 52%; animation-duration: 31s; animation-delay: -9s; opacity: 0.8; }
.fx__dark { inset: 0; background: rgb(8 10 28 / 0.26); animation: fx-breathe 9s ease-in-out infinite alternate; }
/* rain: long thin irregular streaks (SVG masks, coloured by --fx-rain), three layers whose tile sizes and speeds
   are prime to one another, so no pattern or band repeats; each layer moves exactly one tile height per loop */
.meteo { --r1: 0.5; --r2: 0.4; --r3: 0.32; }
@media (prefers-color-scheme: dark) { .meteo { --r1: 0.38; --r2: 0.3; --r3: 0.24; } }
.meteo--nuit { --r1: 0.38; --r2: 0.3; --r3: 0.24; }
.meteo--orage { --r1: 0.68; --r2: 0.55; --r3: 0.44; }
@media (prefers-color-scheme: dark) { .meteo--orage { --r1: 0.52; --r2: 0.42; --r3: 0.34; } }
.meteo--orage.meteo--nuit { --r1: 0.52; --r2: 0.42; --r3: 0.34; }
.fx__rain { left: 0; right: 0; bottom: 0; background: rgb(var(--fx-rain)); -webkit-mask-repeat: repeat; mask-repeat: repeat; }
.fx__rain--1 { top: -229px; opacity: var(--r1); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='173' height='229' viewBox='0 0 173 229'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='138.2' y1='151.3' x2='143.2' y2='180.8' stroke-opacity='0.55'/%3E%3Cline x1='124.8' y1='94.5' x2='129.7' y2='123.6' stroke-opacity='0.7'/%3E%3Cline x1='20.4' y1='7.1' x2='28.3' y2='53.6' stroke-opacity='0.7'/%3E%3Cline x1='123.9' y1='2.4' x2='130.2' y2='39.6' stroke-opacity='0.7'/%3E%3Cline x1='130.6' y1='115.5' x2='136.2' y2='148.5' stroke-opacity='0.25'/%3E%3Cline x1='10.7' y1='6.5' x2='19.1' y2='55.9' stroke-opacity='0.85'/%3E%3Cline x1='143.9' y1='138.4' x2='148.4' y2='164.7' stroke-opacity='0.7'/%3E%3Cline x1='86.9' y1='139.6' x2='94.6' y2='184.4' stroke-opacity='0.7'/%3E%3Cline x1='59.3' y1='127.0' x2='66.1' y2='167.3' stroke-opacity='0.7'/%3E%3Cline x1='147.2' y1='74.5' x2='155.8' y2='125.3' stroke-opacity='0.85'/%3E%3Cline x1='21.3' y1='112.2' x2='29.7' y2='162.1' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='173' height='229' viewBox='0 0 173 229'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='138.2' y1='151.3' x2='143.2' y2='180.8' stroke-opacity='0.55'/%3E%3Cline x1='124.8' y1='94.5' x2='129.7' y2='123.6' stroke-opacity='0.7'/%3E%3Cline x1='20.4' y1='7.1' x2='28.3' y2='53.6' stroke-opacity='0.7'/%3E%3Cline x1='123.9' y1='2.4' x2='130.2' y2='39.6' stroke-opacity='0.7'/%3E%3Cline x1='130.6' y1='115.5' x2='136.2' y2='148.5' stroke-opacity='0.25'/%3E%3Cline x1='10.7' y1='6.5' x2='19.1' y2='55.9' stroke-opacity='0.85'/%3E%3Cline x1='143.9' y1='138.4' x2='148.4' y2='164.7' stroke-opacity='0.7'/%3E%3Cline x1='86.9' y1='139.6' x2='94.6' y2='184.4' stroke-opacity='0.7'/%3E%3Cline x1='59.3' y1='127.0' x2='66.1' y2='167.3' stroke-opacity='0.7'/%3E%3Cline x1='147.2' y1='74.5' x2='155.8' y2='125.3' stroke-opacity='0.85'/%3E%3Cline x1='21.3' y1='112.2' x2='29.7' y2='162.1' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-size: 173px 229px; mask-size: 173px 229px; animation: fx-rain-a 1.25s linear infinite; }
.fx__rain--2 { top: -181px; opacity: var(--r2); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='131' height='181' viewBox='0 0 131 181'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='108.4' y1='8.4' x2='119.4' y2='72.9' stroke-opacity='0.25'/%3E%3Cline x1='24.8' y1='108.3' x2='32.6' y2='153.9' stroke-opacity='0.55'/%3E%3Cline x1='29.7' y1='6.8' x2='36.9' y2='48.9' stroke-opacity='0.4'/%3E%3Cline x1='74.8' y1='91.2' x2='86.0' y2='157.2' stroke-opacity='0.85'/%3E%3Cline x1='64.8' y1='52.1' x2='75.7' y2='116.5' stroke-opacity='0.55'/%3E%3Cline x1='100.3' y1='43.6' x2='111.0' y2='106.4' stroke-opacity='0.55'/%3E%3Cline x1='51.9' y1='102.7' x2='62.6' y2='165.8' stroke-opacity='0.4'/%3E%3Cline x1='32.0' y1='5.0' x2='40.8' y2='56.9' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='131' height='181' viewBox='0 0 131 181'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='108.4' y1='8.4' x2='119.4' y2='72.9' stroke-opacity='0.25'/%3E%3Cline x1='24.8' y1='108.3' x2='32.6' y2='153.9' stroke-opacity='0.55'/%3E%3Cline x1='29.7' y1='6.8' x2='36.9' y2='48.9' stroke-opacity='0.4'/%3E%3Cline x1='74.8' y1='91.2' x2='86.0' y2='157.2' stroke-opacity='0.85'/%3E%3Cline x1='64.8' y1='52.1' x2='75.7' y2='116.5' stroke-opacity='0.55'/%3E%3Cline x1='100.3' y1='43.6' x2='111.0' y2='106.4' stroke-opacity='0.55'/%3E%3Cline x1='51.9' y1='102.7' x2='62.6' y2='165.8' stroke-opacity='0.4'/%3E%3Cline x1='32.0' y1='5.0' x2='40.8' y2='56.9' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-size: 131px 181px; mask-size: 131px 181px; animation: fx-rain-b 0.8s linear infinite; }
.fx__rain--3 { top: -149px; opacity: var(--r3); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='211' height='149' viewBox='0 0 211 149'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='111.9' y1='46.0' x2='116.3' y2='72.1' stroke-opacity='0.85'/%3E%3Cline x1='118.4' y1='70.2' x2='123.9' y2='102.6' stroke-opacity='0.7'/%3E%3Cline x1='51.6' y1='119.7' x2='56.1' y2='146.5' stroke-opacity='0.7'/%3E%3Cline x1='112.2' y1='46.1' x2='118.0' y2='80.1' stroke-opacity='0.4'/%3E%3Cline x1='35.5' y1='112.1' x2='39.9' y2='138.2' stroke-opacity='0.7'/%3E%3Cline x1='135.1' y1='8.8' x2='141.8' y2='48.0' stroke-opacity='0.85'/%3E%3Cline x1='158.4' y1='104.0' x2='162.0' y2='125.1' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='211' height='149' viewBox='0 0 211 149'%3E%3Cg stroke='black' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='111.9' y1='46.0' x2='116.3' y2='72.1' stroke-opacity='0.85'/%3E%3Cline x1='118.4' y1='70.2' x2='123.9' y2='102.6' stroke-opacity='0.7'/%3E%3Cline x1='51.6' y1='119.7' x2='56.1' y2='146.5' stroke-opacity='0.7'/%3E%3Cline x1='112.2' y1='46.1' x2='118.0' y2='80.1' stroke-opacity='0.4'/%3E%3Cline x1='35.5' y1='112.1' x2='39.9' y2='138.2' stroke-opacity='0.7'/%3E%3Cline x1='135.1' y1='8.8' x2='141.8' y2='48.0' stroke-opacity='0.85'/%3E%3Cline x1='158.4' y1='104.0' x2='162.0' y2='125.1' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-size: 211px 149px; mask-size: 211px 149px; animation: fx-rain-c 0.5s linear infinite; }
.fx__snow { left: 0; right: 0; top: -150px; bottom: 0; }
.fx__snow--1 { background: radial-gradient(circle at 30% 40%, var(--fx-flake) 0 1.7px, #fff0 2.6px), radial-gradient(circle at 78% 82%, var(--fx-flake) 0 1.4px, #fff0 2.3px); background-size: 70px 90px; animation: fx-snow-1 7s linear infinite; }
.fx__snow--2 { background: radial-gradient(circle at 44% 28%, var(--fx-flake) 0 2.4px, #fff0 3.4px), radial-gradient(circle at 12% 74%, var(--fx-flake) 0 2px, #fff0 3px); background-size: 110px 130px; animation: fx-snow-2 10s linear infinite; }
.fx__snow--3 { background: radial-gradient(circle at 60% 50%, var(--fx-flake) 0 1.1px, #fff0 1.9px), radial-gradient(circle at 20% 15%, var(--fx-flake) 0 1px, #fff0 1.8px); background-size: 50px 150px; animation: fx-snow-3 13s linear infinite; }
@media (prefers-color-scheme: dark) {
  .meteo--jour .fx__sun { background: radial-gradient(circle, rgb(255 240 205 / 0.7) 0 14%, rgb(255 214 140 / 0.28) 32%, rgb(255 214 140 / 0) 70%); }
}
@keyframes fx-sun { from { opacity: 0.75; transform: scale(1); } to { opacity: 1; transform: scale(1.07); } }
@keyframes fx-twinkle { from { opacity: 0.3; } to { opacity: 1; } }
@keyframes fx-sway { from { transform: translateX(-9%); } to { transform: translateX(9%); } }
@keyframes fx-fog { from { transform: translateX(-3%); opacity: 0.55; } to { transform: translateX(3%); opacity: 0.95; } }
@keyframes fx-breathe { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes fx-rain-a { to { transform: translateY(229px); } }
@keyframes fx-rain-b { to { transform: translateY(181px); } }
@keyframes fx-rain-c { to { transform: translateY(149px); } }
@keyframes fx-snow-1 { to { transform: translate(-70px, 90px); } }
@keyframes fx-snow-2 { to { transform: translate(110px, 130px); } }
@keyframes fx-snow-3 { to { transform: translate(-50px, 150px); } }
/* what each state shows */
.meteo--clair.meteo--jour .fx__sun,
.meteo--clair.meteo--nuit .fx__moon, .meteo--clair.meteo--nuit .fx__stars,
.meteo--nuageux .fx__cloud, .meteo--nuageux .fx__veil,
.meteo--brouillard .fx__fog, .meteo--brouillard .fx__veil,
.meteo--pluie .fx__cloud, .meteo--pluie .fx__veil, .meteo--pluie .fx__rain--1, .meteo--pluie .fx__rain--2,
.meteo--neige .fx__cloud, .meteo--neige .fx__veil, .meteo--neige .fx__snow,
.meteo--orage .fx__cloud, .meteo--orage .fx__veil, .meteo--orage .fx__dark, .meteo--orage .fx__rain { display: block; }
.meteo--nuageux.meteo--nuit .fx__moon { display: block; opacity: 0.55; }
.meteo--pluie .fx__cloud, .meteo--orage .fx__cloud { opacity: 1; }
.meteo--orage .fx__veil { opacity: 1.6; }
.meteo__pause:checked ~ .pano .fx { animation-play-state: paused; }
.pano-meteo { margin-top: var(--s2); max-width: 46rem; font-size: var(--step--1); color: var(--ink-2); }
.pano-meteo__credit { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  .meteo .fx { animation: none !important; }
  .meteo__pause, .meteo__pause-label { display: none; }
}
@media (forced-colors: active) {
  .pano__sky, .pano__fx { display: none; }
  .meteo__pause-label::before { border-color: ButtonText; background: Canvas; }
  .meteo__pause:checked + .meteo__pause-label::before { background: Highlight; border-color: Highlight; }
  .meteo__pause:checked + .meteo__pause-label::after { border-color: HighlightText; }
}

/* ---------- 8. Guides: sources list and framed warning signs ---------- */
.warning-box { margin-block: 2em; padding: var(--s4) var(--s6); border: 1px solid var(--line); border-left: 6px solid var(--accent-ink); border-radius: var(--radius-sm); background: var(--surface-2); }
.prose .warning-box > h2 { margin-top: 0; }
.prose .warning-box > :last-child { margin-bottom: 0; }
.prose [id^="source-"] { scroll-margin-top: var(--s6); }
.prose [id^="source-"]:target { background: var(--accent-soft); border-radius: 4px; }
.prose h2#sources + ol { font-size: var(--step--1); overflow-wrap: anywhere; }
.prose .warning-box > * + * { margin-top: 1.1em; }
.prose .warning-box > h2 + * { margin-top: 0.6em; }
