/* =====================================================================
   monnoye.be : design system propre au site personnel du Dr Monnoye
   (bleu canard, Figtree, formes nettes), distinct du marine et or de la MC Clinic
   Blanc franc, bleu canard pour la structure et l'action, une seule famille.
   Mobile d'abord. Aucune dépendance externe.
   ===================================================================== */

/* ---------------------------------------------------------------- fonts */
/* Figtree (SIL Open Font License, assets/fonts/OFL-figtree.txt): one variable file, weights 300 to 900 */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
/* metric-matched fallback limits layout shift while the font loads */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}

/* ---------------------------------------------------------------- tokens */
:root {
  /* bleu canard : la couleur du Dr Monnoye (fond de son portrait), distincte du marine et or de la MC Clinic */
  --teal-950: #062a30;
  --teal-900: #0a3940;
  --teal-800: #0e4851;
  --teal-700: #135966;
  --teal-600: #1c6e7b;
  --teal-300: #94c0c5;
  --teal-200: #c4dddf;
  --teal-100: #e0edee;
  --teal-50: #f2f8f8;

  /* the action keeps one colour only: the deep teal; the old gold tokens now resolve to it */
  --accent-700: #0e4851;
  --accent-600: #135966;
  --accent-500: #135966;
  --accent-400: #0e4851;
  --accent-200: #c4dddf;
  --accent-100: #e0edee;
  --accent-50: #f2f8f8;

--ink: #1d2b2d;
  --ink-2: #475659;
  --ink-3: #5f6d70;
  --line: #dbe5e5;
  --line-strong: #bfd0d1;
  --bg: #ffffff;
  --bg-soft: #f4f8f8;

  --ok: #15734a;
  --ok-bg: #e6f4ed;
  --warn: #7f5600;
  --warn-bg: #fff4d9;
  --danger: #b42318;
  --danger-bg: #fdeceb;
  --info: #135966;
  --info-bg: #e8f2f3;

  --font-sans: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* one family on this site: headings are Figtree too (the clinic sets its headings in a serif) */
  --font-serif: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.3125rem, 1.15rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-3xl: clamp(2rem, 1.45rem + 2.6vw, 3.25rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgb(10 57 64 / 0.05), 0 2px 8px -2px rgb(10 57 64 / 0.07);
  --shadow-2: 0 2px 4px rgb(10 57 64 / 0.05), 0 14px 32px -12px rgb(10 57 64 / 0.2);
  --shadow-3: 0 4px 8px rgb(10 57 64 / 0.06), 0 24px 56px -16px rgb(10 57 64 / 0.28);

  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --measure: 68ch;
  --header-h: 68px;
  --actionbar-h: 70px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 180ms;
  --dur-slow: 320ms;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--teal-700);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "ss01" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--actionbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1080px) {
  body { padding-bottom: 0; font-size: var(--fs-md); }
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-900); text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--teal-200); color: var(--teal-950); }
[hidden] { display: none !important; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--teal-900); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: #fff; }

.icon { flex: none; width: 1.25em; height: 1.25em; }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { color: var(--teal-900); text-wrap: balance; }
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 700; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: var(--measure); }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--article { max-width: 880px; }
.container--article-wide { max-width: 1104px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: var(--space-6); }
.section__head > * + * { margin-top: var(--space-4); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4) var(--space-6); }
.section__head--row > div { max-width: 760px; }
.section__head--row > * + * { margin-top: 0; }
.section__title { margin-bottom: var(--space-4); }
.section__head .section__title { margin-bottom: 0; }
.section__title--sm { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
.section__more { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.subhead { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 700; color: var(--teal-900); margin-bottom: var(--space-4); }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.split { display: grid; gap: var(--space-7); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--teal-900);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.25em;
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { border-radius: var(--radius); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary { --btn-bg: var(--teal-700); --btn-fg: #fff; box-shadow: 0 1px 0 rgb(6 42 48 / 0.25), 0 8px 18px -10px rgb(19 89 102 / 0.75); }
.btn--primary:hover { --btn-bg: var(--teal-800); --btn-fg: #fff; }
.btn--secondary { --btn-bg: #fff; --btn-fg: var(--teal-900); --btn-bd: var(--teal-200); }
.btn--secondary:hover { --btn-bd: var(--teal-700); --btn-fg: var(--teal-900); background: var(--teal-50); }
.btn--quiet { --btn-bg: transparent; --btn-fg: var(--teal-700); padding-inline: 0.4em; min-height: 44px; }
.btn--quiet:hover { --btn-fg: var(--teal-900); text-decoration: underline; text-decoration-thickness: 2px; }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.45); }
.btn--on-dark:hover { --btn-bd: #fff; --btn-fg: #fff; background: rgb(255 255 255 / 0.08); }
.btn--sm { min-height: 44px; padding: 0.55em 1em; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.85em 1.5em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.linklike { color: var(--teal-200); text-decoration: underline; text-underline-offset: 0.18em; font-size: inherit; }
.linklike:hover { color: #fff; }

.tag {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.2em 0.65em; border-radius: var(--radius-sm);
  background: var(--teal-50); color: var(--teal-800);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.5; text-decoration: none;
}
a.tag:hover { background: var(--teal-100); color: var(--teal-900); }
.tag--soft { background: var(--teal-100); color: var(--teal-800); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-slow) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(10 57 64 / 0.4); }

.header__bar { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: grid; flex: none; margin-right: auto; padding-block: 6px; border-radius: 6px; color: var(--teal-900); text-decoration: none; line-height: 1.15; }
.brand:hover { color: var(--teal-900); text-decoration: none; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--teal-950); }
.brand__role { font-size: 0.8125rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.01em; }
@media (min-width: 600px) { .brand__name { font-size: 1.375rem; } .brand__role { font-size: 0.875rem; } }
.brand--sheet .brand__name { font-size: 1.25rem; }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.header__cta { display: none; white-space: nowrap; }
@media (min-width: 600px) { .header__cta { display: inline-flex; min-height: 44px; padding-inline: 1.1em; } }
.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 56px; min-height: 52px; padding: 4px 8px; border-radius: var(--radius-sm);
  color: var(--teal-900); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.menu-toggle:hover { background: var(--teal-50); }
@media (min-width: 960px) { .menu-toggle { display: none; } }

.nav { display: none; }
@media (min-width: 960px) { .nav { display: block; margin-right: var(--space-2); } }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75em; white-space: nowrap;
  color: var(--teal-900); font-weight: 700; text-decoration: none; border-radius: var(--radius-sm);
  position: relative;
}
.nav__link:hover { color: var(--teal-900); background: var(--teal-50); text-decoration: none; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85em; right: 0.85em; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal-700);
}
.nav__link--out { color: var(--ink-2); font-weight: 600; gap: 0.3em; }
.nav__out { width: 1em; height: 1em; color: var(--teal-300); }


/* mobile menu (native dialog) */
.menu-sheet {
  margin: 0 0 0 auto; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  border: 0; padding: 0; background: #fff; color: var(--ink);
  display: none; flex-direction: column;
  box-shadow: var(--shadow-3);
}
.menu-sheet[open] { display: flex; animation: sheet-in var(--dur-slow) var(--ease-out); }
.menu-sheet::backdrop { background: rgb(6 42 48 / 0.45); }
@keyframes sheet-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.menu-sheet__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--teal-900); }
.menu-sheet__close:hover { background: var(--teal-50); }
.menu-sheet nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-2) 0; }
.menu-sheet__list { list-style: none; padding: 0; }
.menu-sheet__list > li > a, .menu-sheet__sub > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 56px; padding: 0 var(--space-5);
  color: var(--teal-900); font-size: 1.125rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
.menu-sheet__list > li > a[aria-current="page"] { background: var(--teal-50); text-decoration: underline; text-underline-offset: 0.3em; }
.menu-sheet__list > li > a:hover, .menu-sheet__sub > summary:hover { background: var(--teal-50); }
.menu-sheet__sub > summary { list-style: none; }
.menu-sheet__sub > summary::-webkit-details-marker { display: none; }
.menu-sheet__sub[open] > summary .icon { transform: rotate(180deg); }
.menu-sheet__sub ul { list-style: none; padding: 0 0 var(--space-3); }
.menu-sheet__sub li a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-5) 0 calc(var(--space-5) + var(--space-4)); color: var(--ink-2); font-weight: 600; text-decoration: none; }
.menu-sheet__sub li a:hover { background: var(--teal-50); color: var(--teal-900); }
.menu-sheet__foot { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-soft); }
.menu-sheet__garde { font-size: var(--fs-sm); color: var(--ink-2); }
.menu-sheet__garde a { color: var(--danger); }

/* ---------------------------------------------------------------- tasks (action list) */
.tasks { list-style: none; padding: 0; display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tasks > li:nth-child(odd) { border-right: 1px solid var(--line); } }
.tasks > li { border-bottom: 1px solid var(--line); }
.tasks > li:last-child { border-bottom: 0; }
@media (min-width: 900px) { .tasks > li:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
.task {
  display: flex; align-items: center; gap: var(--space-4); height: 100%;
  padding: var(--space-4) var(--space-5); min-height: 76px;
  color: var(--ink); text-decoration: none;
  transition: background-color var(--dur) var(--ease-out);
}
.task:hover { background: var(--teal-50); color: var(--ink); text-decoration: none; }
.task__icon { display: grid; place-items: center; flex: none; width: 28px; color: var(--teal-700); }
.task__icon .icon { width: 26px; height: 26px; }
.task__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.task__text strong { color: var(--teal-900); font-size: 1.0625rem; line-height: 1.3; }
.task__text span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; }
.task__chevron { color: var(--teal-300); transition: transform var(--dur) var(--ease-out), color var(--dur); }
.task:hover .task__chevron { color: var(--teal-700); transform: translateX(2px); }
.task--main { padding-block: var(--space-5); }
.task--main .task__text strong { font-size: var(--fs-lg); }
.task--main .task__text span { font-size: var(--fs-base); }
.task--alert .task__icon { color: var(--danger); }

/* ---------------------------------------------------------------- reasons / values */
.reasons { list-style: none; padding: 0; display: grid; gap: var(--space-5); }
.reason { display: flex; gap: var(--space-4); }
.reason__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--teal-700); }
.reason__title { font-weight: 700; color: var(--teal-900); margin-bottom: 2px; }
.reason p:not(.reason__title) { color: var(--ink-2); }
.reason a { font-weight: 700; white-space: nowrap; }

.values { list-style: none; padding: 0; display: grid; gap: var(--space-5) var(--space-6); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .values:not(.values--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { padding-top: var(--space-4); border-top: 1px solid var(--teal-200); }
.value__title { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; color: var(--teal-900); margin-bottom: var(--space-2); line-height: 1.35; }
.value p:not(.value__title) { color: var(--ink-2); }

/* ---------------------------------------------------------------- feature (photo + text) */
.feature { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); } }
.feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.feature__text > * + * { margin-top: var(--space-5); }
.feature__text .section__title { margin-bottom: 0; }

.list-check { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.list-check li { position: relative; padding-left: 2rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315734a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* ---------------------------------------------------------------- article cards */
.article-grid { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.article-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.article-card:hover { box-shadow: var(--shadow-2); border-color: var(--teal-200); }
.article-card__media { aspect-ratio: 16 / 9; background: var(--teal-50); overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: 0.875rem; color: var(--ink-3); }
.article-card__title { font-size: 1.25rem; font-weight: 750; line-height: 1.25; letter-spacing: -0.015em; }
.article-card__title a { color: var(--teal-900); text-decoration: none; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; }
.article-card__title a:focus-visible { box-shadow: none; }
.article-card:has(a:focus-visible) { box-shadow: var(--focus); }
.article-card__excerpt { color: var(--ink-2); font-size: var(--fs-sm); }
.article-card--featured { margin-bottom: var(--space-6); }
@media (min-width: 900px) {
  .article-card--featured { flex-direction: row; }
  .article-card--featured .article-card__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
  .article-card--featured .article-card__body { padding: var(--space-7) var(--space-6); justify-content: center; }
  .article-card--featured .article-card__title { font-size: var(--fs-2xl); }
  .article-card--featured .article-card__excerpt { font-size: var(--fs-base); }
}

/* ---------------------------------------------------------------- CTA band (light panel, the clinic uses a dark band) */
.cta-band { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); background: #fff; }
.cta-band__inner { display: grid; gap: var(--space-5); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: var(--teal-50); border: 1px solid var(--teal-100); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7); } }
.cta-band h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.cta-band p { margin-top: var(--space-3); color: var(--ink-2); font-size: var(--fs-lg); max-width: 52ch; }
.cta-band__actions { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .cta-band__actions { display: flex; flex-wrap: wrap; } }

/* ---------------------------------------------------------------- page head */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }
.page-head--plain { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.page-head__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .page-head--media .page-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); } }
.page-head__title { max-width: 22ch; }
.page-head__text--wide .page-head__title { max-width: 28ch; }
.page-head__lead { margin-top: var(--space-4); font-size: var(--fs-lg); color: var(--ink-2); max-width: 60ch; }
.page-head__text > p:not(.page-head__lead) { margin-top: var(--space-3); color: var(--ink-2); max-width: 60ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.page-head__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.page-head__media--portrait .page-head__img img { aspect-ratio: 4 / 3; object-position: center 22%; }

.breadcrumbs { padding-block: var(--space-4) var(--space-5); font-size: 0.875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 0.5em; list-style: none; padding: 0; color: var(--ink-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5em; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--teal-300); border-top: 1.5px solid var(--teal-300); transform: rotate(45deg); margin-right: 0.15em; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; padding-block: 0.5em; }
.breadcrumbs a:hover { color: var(--teal-900); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-3); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- page body + aside */
.page-body { display: grid; gap: var(--space-7); padding-block: var(--space-7) var(--section-y); }
@media (min-width: 1000px) {
  .page-body { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); }
  .page-body--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
}
.page-body__main { min-width: 0; }
.page-body__main > * + * { margin-top: var(--space-6); }
.sticky { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) {
  .sticky { position: sticky; top: calc(var(--header-h) + 56px); }
  .page-body__toc-mobile, .article-layout__toc-mobile { display: none; }
}
@media (max-width: 999.98px) { .page-body__toc-desktop, .article-layout__toc-desktop { display: none; } }

.practical-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-1); }
.practical-card__head { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }
.practical-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--teal-50); color: var(--teal-700); }
.practical-card__title { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: var(--teal-900); margin: 0; }
.practical-card__sub { margin-top: 2px; font-size: 0.875rem; line-height: 1.4; color: var(--ink-2); }
.practical-card__status { display: flex; align-items: center; gap: 0.55em; font-weight: 700; color: var(--teal-900); margin-bottom: var(--space-3); }
.practical-card__status .icon { color: var(--teal-600); }
.practical-card__actions { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.practical-card__address, .practical-card__garde { display: flex; gap: 0.6em; margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--ink-2); }
.practical-card__address .icon { color: var(--teal-600); margin-top: 2px; }
.practical-card__garde .icon { color: var(--danger); margin-top: 2px; }
.practical-card__garde a { color: var(--danger); }
.practical-card__lead { font-weight: 700; color: var(--teal-900); }
.practical-card--plain { box-shadow: none; }

/* toc */
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc__title { display: flex; align-items: center; gap: 0.6em; min-height: 52px; padding: 0 var(--space-4); font-weight: 700; color: var(--teal-900); cursor: pointer; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title > span { flex: 1; }
.toc__chevron { color: var(--ink-3); transition: transform var(--dur) var(--ease-out); }
.toc[open] .toc__chevron { transform: rotate(180deg); }
.toc__list { list-style: none; padding: 0 var(--space-4) var(--space-4); margin: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc__list a { display: block; padding: 0.4em 0.6em; margin-inline: -0.6em; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); line-height: 1.4; }
.toc__list a:hover { background: var(--teal-50); color: var(--teal-900); }
.toc__list a.is-active { color: var(--teal-900); font-weight: 700; background: var(--teal-50); }

/* summary (En bref) */
.summary { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: var(--space-5); }
.summary__title { font-family: var(--font-sans); font-size: var(--fs-md); font-weight: 800; color: var(--teal-900); margin-bottom: var(--space-2); }
.summary__text { font-size: var(--fs-md); color: var(--ink); line-height: 1.6; }

/* ---------------------------------------------------------------- prose */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9375rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose > h3 { margin-top: 1.9em; font-size: var(--fs-xl); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose > h4 { margin-top: 1.6em; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--teal-300); }
.prose ol li::marker { font-weight: 700; color: var(--teal-700); }
.prose .list-check { padding-left: 0; }
.prose blockquote { padding: var(--space-5); background: var(--teal-50); border-radius: var(--radius); font-size: var(--fs-md); color: var(--teal-900); }
.prose blockquote > * + * { margin-top: 0.6em; }
.prose blockquote p:last-child:not(:first-child) { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 700; }
.prose figure, .content-figure { margin-block: var(--space-6); }
.prose figure img, .content-figure img { width: 100%; border-radius: var(--radius); }
.prose a { font-weight: 600; }
.prose--legal { font-size: var(--fs-base); }
.prose--legal > h2 { font-size: var(--fs-xl); font-family: var(--font-sans); font-weight: 700; }

/* callouts */
.callout { border-radius: var(--radius); padding: var(--space-5); background: var(--teal-50); color: var(--ink); }
.callout__title { font-weight: 800; color: var(--teal-900); margin-bottom: var(--space-2); font-size: var(--fs-md); }
.callout__body > * + * { margin-top: 0.7em; }
.callout__body ul, .callout__body ol { padding-left: 1.3em; }
.callout--note { background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.callout--info { background: var(--info-bg); }
.callout--success { background: var(--ok-bg); }
.callout--success .callout__title { color: var(--ok); }
.callout--warning { background: var(--warn-bg); box-shadow: inset 0 0 0 1px #f3d58a; }
.callout--warning .callout__title { color: var(--warn); }
.callout--danger { background: var(--danger-bg); box-shadow: inset 0 0 0 1px #f5c2bd; }
.callout--danger .callout__title { color: var(--danger); }
.callout--cta { background: var(--teal-50); color: var(--ink); padding: var(--space-6); box-shadow: inset 0 0 0 1px var(--teal-100); }
.callout--cta .callout__title { color: var(--teal-900); font-weight: 800; font-size: var(--fs-xl); }
.callout--cta a:not(.btn) { color: var(--teal-700); }
.callout__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.callout--cta .btn--ghost { --btn-bg: #fff; --btn-fg: var(--teal-900); --btn-bd: var(--teal-200); }
.callout:not(.callout--cta) .btn--ghost { --btn-bg: #fff; --btn-fg: var(--teal-900); --btn-bd: var(--teal-200); }

/* migrated grids & steps */
.content-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .content-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.content-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); background: #fff; }
.content-card > * + * { margin-top: 0.6em; }
.content-card h2, .content-card h3, .content-card h4 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; margin: 0; }
.content-card a[href^="tel:"] { display: inline-block; font-size: 1.5rem; font-weight: 800; color: var(--teal-900); text-decoration: none; letter-spacing: 0.01em; }
.content-card ul { padding-left: 1.2em; }
.steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps > li { counter-increment: step; position: relative; padding: var(--space-5); padding-top: calc(var(--space-5) + 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 !important; }
.steps > li::before {
  content: counter(step); position: absolute; top: var(--space-5); left: var(--space-5);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-900); color: #fff; font-weight: 800;
}
.steps__title { font-weight: 800; color: var(--teal-900); margin-bottom: 0.3em; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { box-shadow: var(--focus); }
.prose table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 0.75em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--teal-50); color: var(--teal-900); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: #fbfcfe; }

/* chips */
.chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { margin: 0 !important; padding: 0.3em 0.8em; border-radius: var(--radius-sm); background: var(--teal-50); color: var(--teal-800); font-size: var(--fs-sm); font-weight: 600; }

/* ---------------------------------------------------------------- FAQ */
.faq { margin-top: var(--space-7); }
.faq__heading { margin-bottom: var(--space-5); font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9375rem); }
.faq__list { display: grid; gap: var(--space-3); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur), box-shadow var(--dur); }
.faq__item[open] { border-color: var(--teal-200); box-shadow: var(--shadow-1); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); min-height: 60px; cursor: pointer; list-style: none; font-weight: 700; color: var(--teal-900); line-height: 1.4; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--teal-700); }
.faq__icon { flex: none; color: var(--teal-600); transition: transform var(--dur-slow) var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--ink-2); max-width: none; }
.split .faq { margin-top: 0; }

/* ---------------------------------------------------------------- curriculum */
.cv { border-top: 1px solid var(--line); padding-top: var(--space-5); max-width: var(--measure); }
.cv__title { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--space-3); }
.cv__list { padding-left: 1.2em; display: grid; gap: 0.4em; color: var(--ink-2); }
.cv__list li::marker { color: var(--teal-300); }
.cv__articles { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.cv__articles a { font-weight: 700; }
.cv__date { display: block; font-size: 0.875rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- blog */
.filter { margin-top: var(--space-5); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filter::-webkit-scrollbar { display: none; }
.filter ul { display: flex; gap: var(--space-2); list-style: none; padding: 0; width: max-content; }
.filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff; color: var(--teal-900); font-weight: 700; text-decoration: none; white-space: nowrap; }
.filter a:hover { border-color: var(--teal-700); }
.filter a[aria-current="page"] { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.empty { color: var(--ink-2); }

/* article page */
.article-head { padding-bottom: var(--space-6); background: #fff; }
.article-head__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.125rem); line-height: 1.12; }
.byline { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.byline__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--teal-100); }
.byline__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.byline__avatar--mark { display: grid; place-items: center; background: var(--teal-900); }
.byline__avatar--mark img { width: 70%; height: auto; object-fit: contain; }
.byline__name { font-weight: 700; color: var(--teal-900); }
.byline__meta { font-size: var(--fs-sm); color: var(--ink-3); }
.article-hero { margin: 0 0 var(--space-6); }
.article-hero img { width: 100%; max-height: 280px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.article-layout { display: grid; gap: var(--space-7); padding-bottom: var(--section-y); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8); max-width: 1104px; } }
.article-layout__main { min-width: 0; }
.article-layout__main > * + * { margin-top: var(--space-6); }
.prose--article { font-size: var(--fs-md); }
@media (min-width: 1080px) { .prose--article { font-size: 1.1875rem; } }
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-5); background: var(--bg-soft); border-radius: var(--radius-lg); }
.author-box__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--teal-200), var(--teal-100)); }
.author-box__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.author-box__photo--mark { display: grid; place-items: center; background: var(--teal-900); }
.author-box__photo--mark img { width: 70%; height: auto; }
.author-box__name { font-weight: 800; font-size: var(--fs-md); }
.author-box__role { color: var(--teal-700); font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--space-2); }
.author-box p:not(.author-box__name):not(.author-box__role) { color: var(--ink-2); font-size: var(--fs-sm); }
.disclaimer { display: flex; gap: 0.6em; font-size: var(--fs-sm); color: var(--ink-3); }
.disclaimer .icon { margin-top: 3px; }
.medical-notice { padding: var(--space-5); border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-sm); color: var(--ink-2); }
.medical-notice > * + * { margin-top: 0.6em; }
.medical-notice__title { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-base); font-weight: 800; color: var(--teal-900); }
.medical-notice__title .icon { color: var(--teal-700); }
.archive-notice { margin-top: var(--space-7); max-width: 860px; }
.medical-notice__urgent { padding-top: 0.6em; border-top: 1px solid var(--line); }
.md-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }

/* sitemap */
.sitemap { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sitemap__title { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.sitemap ul { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.sitemap a { display: inline-block; padding-block: 0.3em; font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-soft); color: var(--ink-2); font-size: var(--fs-sm); border-top: 1px solid var(--line); }
.site-footer a { color: var(--teal-800); text-decoration-color: rgb(14 72 81 / 0.35); }
.site-footer a:hover { color: var(--teal-950); text-decoration-color: currentColor; }
.footer__grid { display: grid; gap: var(--space-7); padding-block: var(--space-8) var(--space-7); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.05fr 1.3fr 1.05fr 1fr; gap: var(--space-6); } }
.footer__logo { height: 34px; width: auto; margin-bottom: var(--space-5); }
.footer__brand p + p { margin-top: var(--space-3); }
.footer__title { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 800; color: var(--teal-900); letter-spacing: 0.02em; margin-bottom: var(--space-4); }
.footer__title--spaced { margin-top: var(--space-6); }
.footer-garde { display: grid; gap: 0; margin-top: var(--space-5); border-top: 1px solid var(--line); }
.footer-garde__title { display: flex; align-items: center; gap: 0.5em; font-weight: 800; color: var(--teal-900); padding-top: var(--space-4); margin-bottom: var(--space-1); }
.footer-garde__title .icon { color: var(--danger); }
.site-footer .footer-garde__line { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 56px; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.site-footer .footer-garde__line:hover { color: var(--teal-900); }
.footer-garde__line > span { display: grid; font-weight: 700; line-height: 1.3; }
.footer-garde__line small { font-size: 0.8125rem; font-weight: 400; color: var(--ink-3); }
.footer-garde__line strong { font-size: 1.625rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.footer-garde__line--urgent strong { color: var(--danger); }
.footer__address { font-style: normal; color: var(--ink); font-size: var(--fs-base); line-height: 1.5; }
.footer__contact { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: var(--space-1); }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.55em; min-height: 40px; text-decoration: none; }
.footer__contact .icon { color: var(--teal-600); }
.footer__links { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.footer__links a { display: inline-block; padding-block: 0.3em; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--line); }
.footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-block: var(--space-5); font-size: 0.875rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); list-style: none; padding: 0; }
.footer__legal a, .footer__legal .linklike { color: var(--ink-2); }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--teal-900); }

/* ---------------------------------------------------------------- mobile action bar */
.action-bar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 6px;
  padding: var(--space-2) var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgb(10 57 64 / 0.5);
  transition: transform var(--dur-slow) var(--ease-out);
}
@media (min-width: 1080px) { .action-bar { display: none; } }
.action-bar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; min-width: 0; border-radius: var(--radius); color: var(--teal-900); font-size: 0.78rem; font-weight: 700; line-height: 1.15; text-decoration: none;
}
.action-bar__item:hover { background: var(--teal-50); color: var(--teal-900); text-decoration: none; }
.action-bar__item--primary { background: var(--teal-700); color: #fff; font-size: 0.8125rem; }
@media (max-width: 359.98px) { .action-bar__item, .action-bar__item--primary { font-size: 0.6875rem; } }
.action-bar__item--primary:hover { background: var(--teal-800); color: #fff; }
.menu-open .action-bar { transform: translateY(110%); }

/* ---------------------------------------------------------------- consent (cookie banner) */
.consent { position: fixed; z-index: 60; left: var(--space-3); right: var(--space-3); bottom: calc(var(--actionbar-h) + var(--space-3) + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
@media (min-width: 1080px) { .consent { bottom: var(--space-5); left: var(--space-5); right: auto; justify-content: flex-start; } }
.consent__inner { pointer-events: auto; width: min(100%, 440px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); padding: var(--space-5); animation: consent-in var(--dur-slow) var(--ease-out); }
@keyframes consent-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.consent__title { display: flex; align-items: center; gap: 0.5em; font-weight: 800; color: var(--teal-900); }
.consent__title .icon { color: var(--teal-700); }
.consent__text { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.footer__legal .linklike { text-decoration: underline; text-decoration-color: rgb(14 72 81 / 0.35); }

/* ---------------------------------------------------------------- motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .site-header, .action-bar, .cta-band, .site-footer, .page-body__aside, .article-layout__aside, .toc, .consent, .map-facade, .contact-form { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  a { color: inherit; }
  .page-head, .article-head { background: none; }
}

/* back-office preview banner */
.preview-flag { position: sticky; top: 0; z-index: 70; margin: 0; padding: 0.5rem 1rem; background: var(--teal-900); color: #fff; font-weight: 800; text-align: center; }
@media (max-width: 599.98px) { .breadcrumbs li:last-child:not(:first-child) { display: none; } }
.tpl-404 .page-head { padding-top: var(--space-7); }


/* =====================================================================
   monnoye.be : la page profil et ses compagnons
   ===================================================================== */

/* ---------------------------------------------------------------- profile head (home) */
.profile-head { position: relative; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.profile-head__grid { display: grid; gap: var(--space-6); padding-top: clamp(1.75rem, 1rem + 3vw, 4rem); }
.profile-head__text { padding-bottom: var(--space-2); }
.profile-head__name { margin-top: 0; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: var(--teal-950); }
.profile-head__lead { margin-top: var(--space-5); font-size: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.profile-head__actions { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 560px) { .profile-head__actions { display: flex; flex-wrap: wrap; } }
.profile-head__media { align-self: end; justify-self: center; width: min(100%, 440px); }
@media (min-width: 960px) {
  .profile-head__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-8); align-items: center; padding-top: var(--space-7); }
  .profile-head__text { padding-bottom: var(--space-8); }
  .profile-head__media { justify-self: end; }
}

/* real portrait, cut out, in a light arch: the signature of this site */
.portrait-panel {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: radial-gradient(90% 70% at 50% 30%, #fff 0%, var(--teal-100) 55%, var(--teal-200) 100%);
}
.portrait-panel__img, .portrait-panel__img img { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.portrait-panel__img img { padding-top: 6%; }

/* « Je consulte à la MC Clinic » under the actions */
.where {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px var(--space-3); align-items: start;
  margin-top: var(--space-6); padding: var(--space-4) var(--space-5); max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.where__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.where__text { display: grid; line-height: 1.4; }
.where__text strong { color: var(--teal-900); }
.where__text span { color: var(--ink-2); font-size: var(--fs-sm); }
.where__links { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--fs-sm); font-weight: 700; }
.where__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------------------------------------------------------------- facts (answer-first) */
.facts { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.facts__row { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { font-size: 0.875rem; font-weight: 700; color: var(--ink-3); }
.facts dd { margin: 0; color: var(--teal-900); font-weight: 600; }
@media (min-width: 760px) {
  .facts__row { grid-template-columns: 180px minmax(0, 1fr); gap: var(--space-5); align-items: baseline; }
  .facts dt { font-size: 0.9375rem; }
}

/* ---------------------------------------------------------------- practice */
@media (min-width: 1000px) { .values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.value__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-3); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--teal-700); }
.value h3.value__title { font-size: 1.125rem; }
.section--soft .value { border-top-color: var(--teal-200); }

/* ---------------------------------------------------------------- the clinic, with the scrubs photo */
.feature__img--portrait img { aspect-ratio: 4 / 5; object-position: center 18%; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.tasks--single { grid-template-columns: 1fr !important; }
.tasks--single > li { border-right: 0 !important; }
.tasks--single > li:nth-last-child(2) { border-bottom: 1px solid var(--line) !important; }

/* ---------------------------------------------------------------- articles on mcclinic.be (link cards) */
.link-cards { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
.link-card { position: relative; display: grid; gap: var(--space-2); height: 100%; padding: var(--space-5) calc(var(--space-5) + 32px) var(--space-5) var(--space-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color var(--dur), box-shadow var(--dur) var(--ease-out); }
.link-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow-2); }
.link-card:has(a:focus-visible) { box-shadow: var(--focus); }
.link-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: 0.875rem; color: var(--ink-3); }
.link-card__title { font-size: 1.1875rem; font-weight: 750; line-height: 1.28; letter-spacing: -0.015em; }
.link-card__title a { color: var(--teal-900); text-decoration: none; }
.link-card__title a::after { content: ""; position: absolute; inset: 0; }
.link-card__title a:focus-visible { box-shadow: none; }
.link-card__text { color: var(--ink-2); font-size: var(--fs-sm); }
.link-card__go { position: absolute; top: var(--space-5); right: var(--space-5); color: var(--teal-300); transition: color var(--dur), transform var(--dur) var(--ease-out); }
.link-card:hover .link-card__go { color: var(--teal-700); transform: translate(2px, -2px); }

/* ---------------------------------------------------------------- CTA band: garde line */

/* ---------------------------------------------------------------- parcours: timeline */
.timeline { list-style: none; padding: 0; margin: 0 0 var(--space-7); position: relative; display: grid; gap: var(--space-5); max-width: var(--measure); }
.timeline::before { content: ""; position: absolute; left: 47px; top: 12px; bottom: 12px; width: 2px; background: var(--teal-100); }
.timeline__item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.timeline__year {
  position: relative; z-index: 1; justify-self: center;
  display: inline-grid; place-items: center; min-width: 72px; min-height: 32px; padding: 0 0.6em;
  border-radius: var(--radius-sm); background: #fff; border: 1.5px solid var(--teal-200);
  font-size: 0.875rem; font-weight: 800; color: var(--teal-900); font-variant-numeric: tabular-nums; text-align: center; line-height: 1.2;
}
.timeline__item:last-child .timeline__year { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.timeline__body { padding-top: 3px; }
.timeline__title { font-weight: 800; color: var(--teal-900); }
.timeline__body p:not(.timeline__title) { color: var(--ink-2); }
.cv { margin-top: var(--space-6); }
.cv__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.cv__links a { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; font-weight: 700; }

/* ---------------------------------------------------------------- consult card (asides) */
.consult-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-1); }
.consult-card__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.consult-card__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--teal-100); }
.consult-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.consult-card__name { font-weight: 800; color: var(--teal-900); line-height: 1.25; }
.consult-card__sub { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.consult-card__actions { display: grid; gap: var(--space-3); }
.consult-card__line { display: flex; gap: 0.6em; margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--ink-2); }
.consult-card__line .icon { flex: none; margin-top: 2px; color: var(--teal-600); }
.consult-card__line--garde .icon, .consult-card__line--garde a { color: var(--danger); }

/* ---------------------------------------------------------------- articles page: archive */
.filter__count { margin-left: 0.4em; font-size: 0.8125rem; color: var(--ink-3); font-weight: 700; }
.filter a[aria-current="page"] .filter__count { color: var(--teal-200); }
.archive { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-8); align-items: start; } }
.archive__group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.archive__title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.015em; padding-bottom: var(--space-3); margin-bottom: var(--space-2); border-bottom: 2px solid var(--teal-700); }
.archive__list { list-style: none; padding: 0; display: grid; }
.archive__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); border-bottom: 1px solid var(--line); }
.archive__list a { display: flex; align-items: center; flex: 1; min-height: 44px; padding-block: 0.45em; font-weight: 600; color: var(--teal-800); text-decoration: none; line-height: 1.4; }
.archive__list a:hover { color: var(--teal-900); text-decoration: underline; }
.archive__year { flex: none; font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.archive-search { margin-bottom: var(--space-6); max-width: 560px; }
.archive-search__label { display: block; font-weight: 700; color: var(--teal-900); margin-bottom: var(--space-2); }
.archive-search__field { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: 0 var(--space-4); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-3); }
.archive-search__field:focus-within { border-color: var(--teal-700); box-shadow: var(--focus); }
.archive-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: var(--fs-md); color: var(--ink); min-height: 48px; }
.archive-search__none { margin-top: var(--space-3); color: var(--ink-2); }

/* ---------------------------------------------------------------- article: archive note */
.archive-note { display: flex; gap: 0.65em; margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--warn-bg); color: var(--warn); font-size: var(--fs-base); line-height: 1.5; }
.archive-note .icon { flex: none; margin-top: 1px; }
.archive-note a { color: var(--warn); font-weight: 700; }
.article-head { padding-bottom: var(--space-5); }

/* ---------------------------------------------------------------- contact */
/* contact */
.contact-grid { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* three tiles side by side only when the column itself is wide enough (not the viewport: the aside takes 340px) */
.page-body__main:has(.contact-grid) { container-type: inline-size; }
.contact-tile + .contact-tile { border-top: 1px solid var(--line); }
@container (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .contact-tile + .contact-tile { border-top: 0; border-left: 1px solid var(--line); } }
.contact-tile { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px var(--space-4); padding: var(--space-5); color: var(--ink); text-decoration: none; transition: background-color var(--dur); }
.contact-tile:hover { background: var(--teal-50); color: var(--ink); text-decoration: none; }
.contact-tile__icon { grid-row: span 3; color: var(--teal-700); padding-top: 2px; }
.contact-tile__label { font-size: 0.875rem; font-weight: 700; color: var(--ink-3); }
.contact-tile__value { font-size: 1.1875rem; color: var(--teal-900); overflow-wrap: anywhere; }
.contact-tile__hint { font-size: var(--fs-sm); color: var(--ink-2); }
.contact-urgent { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--danger-bg); box-shadow: inset 0 0 0 1px #f5c2bd; }
.contact-urgent__title { display: flex; align-items: center; gap: 0.5em; font-family: var(--font-sans); font-size: var(--fs-xl); font-weight: 800; color: var(--danger); margin-bottom: var(--space-2); }
.contact-urgent__sub { font-size: var(--fs-md); margin-top: var(--space-4); margin-bottom: var(--space-1); }
.contact-urgent a { color: var(--danger); }

.contact-block { margin-top: var(--space-7); }
.contact-block__address { font-style: normal; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); }
.contact-urgent { margin-top: var(--space-6); }
.contact-form { margin-top: var(--space-7); }
.contact-form > p { max-width: var(--measure); color: var(--ink-2); }
.contact-form .callout { margin-top: var(--space-5); }
.contact-form noscript .callout { display: block; margin-top: var(--space-5); }
/* the form needs the signed token fetched by site.js: without JavaScript the <noscript> alternative replaces it */
.no-js [data-contact-form] { display: none; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field label { font-weight: 700; color: var(--teal-900); }
.field__req { color: var(--danger); }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.75em 0.9em;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 1.0625rem; line-height: 1.4;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--teal-300); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgb(19 89 102 / 0.16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-weight: 700; font-size: var(--fs-sm); }
.field__hint { color: var(--ink-3); font-size: var(--fs-sm); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { color: var(--ink-3); font-size: var(--fs-sm); max-width: var(--measure); }
.form__status { padding: var(--space-4) var(--space-5); border-radius: var(--radius); font-weight: 700; }
.form__status.is-ok { background: var(--ok-bg); color: var(--ok); }
.form__status.is-error { background: var(--danger-bg); color: var(--danger); }
.form [type="submit"] { justify-self: start; }
.form [type="submit"][aria-busy="true"] { opacity: 0.7; pointer-events: none; }
@media (max-width: 639.98px) { .form [type="submit"] { justify-self: stretch; } }

/* ---------------------------------------------------------------- address + map (Google loads only on click) */
.map-facade { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-facade__placeholder { display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-6) var(--space-5); }
.map-facade__pin { width: 32px; height: 32px; color: var(--teal-700); }
.map-facade__address { font-size: var(--fs-lg); line-height: 1.45; color: var(--ink); }
.map-facade__address a { color: var(--teal-900); }
.map-facade__name { font-weight: 800; }
.map-facade__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.map-facade__note { font-size: 0.8125rem; color: var(--ink-3); }
.map-facade iframe { display: block; width: 100%; height: 380px; border: 0; border-top: 1px solid var(--line); }
.map-facade.is-loaded .map-facade__note { display: none; }

/* ---------------------------------------------------------------- footer */
.footer__name { font-weight: 800; font-size: 1.375rem; color: var(--teal-900); line-height: 1.15; letter-spacing: -0.015em; }
.footer__role { margin: var(--space-1) 0 var(--space-4); color: var(--teal-600); font-weight: 700; }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-7); } }

.site-footer a.btn, .site-footer a.btn:hover { color: var(--btn-fg); text-decoration: none; }
/* phones and tablets: the face first, compact, then the name and the actions */
@media (max-width: 959.98px) {
  .profile-head__media { order: -1; width: min(46vw, 190px); justify-self: start; }
  .profile-head__grid { gap: var(--space-5); }
}
@media (max-width: 599.98px) { .byline { align-items: flex-start; } }
/* the CTA panel aligns on the content edges of the other containers */
.cta-band__inner { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }
/* article page: head, notice and image share the left edge of the reading column (desktop) */
@media (min-width: 1000px) {
  .article .container--article { max-width: 1104px; }
  .article-head__title, .article .byline, .archive-note, .article-hero { max-width: calc(1104px - 300px - var(--space-8) - 2 * var(--gutter)); }
}
