/* ============================================================
   Centre Messin d'Ostéopathie — prototype stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 470; line-height: 1.08; letter-spacing: -.01em; color: var(--blue-900); }
h1 { font-size: var(--step-4); font-optical-sizing: auto; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: 0; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: min(100% - 2*var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2*var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--sand-500); }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; }
.center { text-align: center; }
.center .eyebrow::before { display: none; }

/* -------- Buttons -------- */
.btn {
  --btn-bg: var(--blue-700); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-0);
  line-height: 1; padding: .85em 1.4em; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bg);
  cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--green { --btn-bg: var(--green-600); }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-700); background: var(--surface); }
.btn--lg { padding: 1em 1.7em; font-size: var(--step-1); }
.btn svg { width: 1.1em; height: 1.1em; }

/* -------- Top utility bar -------- */
.topbar {
  background: var(--blue-900); color: #DCE7F1;
  font-size: var(--step--1); letter-spacing: .01em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; padding-block: .5rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .sep { opacity: .4; }
.topbar .push { margin-left: auto; }
.topbar .dot { color: var(--sand-300); }
/* Bouton urgence (menu 2 numéros) */
.urgence { position: relative; }
.urgence summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; background: #C8553D; color: #fff; font-weight: 700; padding: .22rem .75rem; border-radius: var(--radius-pill); }
.urgence summary::-webkit-details-marker { display: none; }
.urgence summary:hover, .urgence[open] summary { background: #A9412C; }
.urgence__menu { position: absolute; top: calc(100% + .5rem); left: 0; z-index: 90; min-width: 240px; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: .8rem; display: grid; gap: .4rem; }
.urgence__menu p { font-size: .8rem; color: var(--ink-soft); padding: 0 .3rem .2rem; }
.topbar .urgence__menu a { display: flex; justify-content: space-between; gap: 1rem; color: var(--blue-900); background: var(--paper); padding: .6rem .8rem; border-radius: 10px; }
.topbar .urgence__menu a:hover { background: var(--green-100); }
.urgence__menu a span { font-weight: 500; color: var(--ink-soft); }

/* -------- Header / nav -------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--blue-900); }
.brand__mark { flex: none; width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1; letter-spacing: -.01em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); margin-top: .28em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .3rem; padding: 0; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--blue-900); text-decoration: none; padding: .5rem .8rem; border-radius: var(--radius-pill); transition: background .2s, color .2s; }
.nav a:hover { background: var(--blue-100); }
.nav a[aria-current="page"] { color: var(--green-800); background: var(--green-100); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }

/* -------- Fil signature (continuous hairline motif) -------- */
.fil { display: block; width: 100%; height: auto; color: var(--sand-500); }
.fil path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.fil--draw path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fil--draw path { stroke-dashoffset: 0; animation: none; } }

/* -------- Signature "le fil" -------- */
.hero-fil { display: block; width: 100%; max-width: 520px; height: auto; color: var(--sand-500); margin: .3rem 0 1.3rem; }
.hero-fil path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1220; stroke-dashoffset: 1220; animation: draw 2.6s var(--ease) .4s forwards; }
.title-fil { display: block; width: 108px; height: 14px; color: var(--sand-500); margin: .7rem auto 0; }
.title-fil path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.center .title-fil { margin-inline: auto; }
.page-head .title-fil { margin-left: 0; margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) { .hero-fil path { stroke-dashoffset: 0; animation: none; } }

/* -------- Hero -------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 88% -10%, var(--green-100) 0%, transparent 45%),
  radial-gradient(90% 70% at 5% 0%, var(--sand-100) 0%, transparent 40%),
  var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(2.8rem, 2rem + 5vw, 5.5rem); }
.hero h1 { margin-block: .5rem .3rem; }
.hero h1 .accent { color: var(--green-600); font-style: italic; }
.hero__lede { max-width: 34ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: var(--step--1); color: var(--ink-soft); }
.hero__meta b { color: var(--blue-900); }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; }
.hero__card .fil { position: absolute; inset: auto 0 12% 0; opacity: .5; }
.stat-row { display: flex; gap: 1rem; }
.stat { flex: 1; text-align: center; padding: 1rem .5rem; background: var(--paper); border-radius: var(--radius); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--blue-700); line-height: 1; }
.stat span { font-size: var(--step--1); color: var(--ink-soft); }
.hero__card h3 { margin: 1.3rem 0 .6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; }

/* -------- Chips / tags -------- */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); font-weight: 600; padding: .35em .8em; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-800); }
.chip--sand { background: var(--sand-100); color: #7A5A22; }
.chip--blue { background: var(--blue-100); color: var(--blue-900); }

/* -------- Cabinets band -------- */
.cabinets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.cabinet-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.cabinet-card::after { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: linear-gradient(var(--blue-700), var(--green-600)); }
.cabinet-card h3 { display: flex; align-items: center; gap: .5rem; }
.cabinet-card .city { font-family: var(--font-display); font-size: var(--step-2); }
.cabinet-card dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.1rem 0; font-size: .96rem; }
.cabinet-card dt { color: var(--green-600); }
.cabinet-card dd { color: var(--ink); font-weight: 500; }
.cabinet-card .note { font-size: var(--step--1); color: var(--ink-soft); }
.cabinet-card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* -------- Team grid -------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.osteo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.osteo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.osteo__top { display: flex; align-items: center; gap: 1rem; }
.avatar { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.35rem; color: #fff; letter-spacing: .01em; object-fit: cover; overflow: hidden; background-color: var(--blue-100); }
.osteo h3 { font-size: var(--step-1); }
.osteo .role { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.osteo__school { font-size: .9rem; margin: .9rem 0 1rem; }
.osteo__tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* -------- Specialties -------- */
.specialties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.spec { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.spec__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; }
.spec__ico svg { width: 22px; height: 22px; }
.spec h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--blue-900); line-height: 1.25; }
.spec p { font-size: var(--step--1); margin-top: .2rem; }

/* -------- Steps (parcours) -------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; padding-top: 1rem; }
.step__n { font-family: var(--font-display); font-size: var(--step-2); color: var(--sand-500); line-height: 1; }
.step h3 { margin: .5rem 0 .4rem; }
.step p { font-size: .95rem; }

/* -------- Fil : connecteurs -------- */
.steps-fil { display: block; width: 100%; height: auto; color: var(--sand-500); margin-bottom: 6px; }
@media (max-width: 720px) { .steps-fil { display: none; } }
.cta-art { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); height: 150%; width: auto; opacity: .15; color: #fff; pointer-events: none; }
.fil-divider { display: block; width: 100%; max-width: 1000px; margin: .5rem auto; color: var(--sand-300); }

/* -------- CTA band -------- */
.cta-band { background: linear-gradient(135deg, var(--blue-900), var(--green-800)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 1.4rem + 3vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7E6E2; max-width: 46ch; }
.cta-band .fil { position: absolute; right: -5%; top: -30%; width: 55%; color: rgba(255,255,255,.16); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; position: relative; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--blue-900); border-color: #fff; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* -------- Page header -------- */
.page-head { background:
  radial-gradient(80% 120% at 100% 0%, var(--green-100) 0%, transparent 50%),
  var(--sand-100); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-head h1 { font-size: var(--step-3); max-width: 20ch; }
.page-head p { max-width: 54ch; margin-top: .8rem; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .8rem; }
.crumbs a { color: var(--green-800); text-decoration: none; }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.field { display: block; margin-bottom: 1.1rem; }
.field span { display: block; font-size: var(--step--1); font-weight: 600; color: var(--blue-900); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: var(--step-0); color: var(--ink);
  padding: .75em .9em; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.info-card + .info-card { margin-top: 1.2rem; }
.info-card h3 { display: flex; align-items: center; gap: .5rem; }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: var(--radius); filter: grayscale(.25) contrast(.95); background: var(--sand-100); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: .6rem; }
.hours-table td { padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--blue-900); font-weight: 600; }

/* -------- Footer -------- */
.site-footer { background: var(--blue-900); color: #C6D4E1; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name small { color: var(--sand-300); }
.foot-about { font-size: .92rem; color: #A9BACb; max-width: 34ch; margin-top: 1rem; }
.foot-social { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .92rem; font-weight: 600; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; padding-block: 1.2rem; font-size: var(--step--1); color: #90A2B2; }

/* -------- SEO text block -------- */
.seo-text { font-size: .95rem; color: var(--ink-soft); }
.seo-text h2 { font-size: var(--step-1); color: var(--blue-900); margin-bottom: .6rem; }
.seo-text p { margin-bottom: .8rem; }

/* -------- Tawk.to mock widget -------- */
.tawk { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80; }
.tawk__bubble {
  display: flex; align-items: center; gap: .6rem; border: none; cursor: pointer;
  background: var(--green-600); color: #fff; font: inherit; font-weight: 600;
  padding: .8rem 1.15rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease);
}
.tawk__bubble:hover { transform: translateY(-2px); }
.tawk__bubble svg { width: 22px; height: 22px; }
.tawk__status { width: 9px; height: 9px; border-radius: 50%; background: #7CF0B0; box-shadow: 0 0 0 3px rgba(124,240,176,.3); }
.tawk__panel {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: min(340px, 84vw);
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; transform-origin: bottom right; display: none;
}
.tawk.is-open .tawk__panel { display: block; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } }
.tawk__head { background: linear-gradient(135deg, var(--blue-900), var(--green-800)); color: #fff; padding: 1.1rem 1.2rem; }
.tawk__head b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.tawk__head p { color: #D7E6E2; font-size: var(--step--1); margin-top: .2rem; }
.tawk__head .online { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); }
.tawk__body { padding: 1.1rem 1.2rem; display: grid; gap: .7rem; }
.tawk__msg { background: var(--paper); border-radius: 14px 14px 14px 4px; padding: .7rem .9rem; font-size: .9rem; color: var(--ink); max-width: 92%; }
.tawk__foot { border-top: 1px solid var(--line); padding: .8rem 1rem; font-size: var(--step--1); color: var(--ink-soft); }
.tawk__note { background: var(--sand-100); color: #7A5A22; font-size: .78rem; text-align: center; padding: .4rem; }

/* -------- Reveal on scroll -------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* -------- Focus -------- */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* -------- Team banner -------- */
.team-banner { width: 100%; height: auto; aspect-ratio: 2400 / 1091; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* -------- Detailed profiles -------- */
.profiles { display: grid; gap: 1.3rem; }
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.profile__aside { text-align: center; }
.profile .avatar { width: 96px; height: 96px; font-size: 2rem; margin: 0 auto .9rem; }
.profile__aside h2 { font-size: var(--step-1); }
.profile__aside .role { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); display: block; margin-top: .2rem; }
.profile__reg { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .78rem; color: var(--ink-soft); display: grid; gap: .25rem; }
.profile__body h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: .5rem; }
.profile__body p { margin-bottom: 1rem; }
.profile__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.profile__actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) { .profile { grid-template-columns: 1fr; text-align: center; } .profile__body { text-align: left; } }

/* -------- Value row -------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.value .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; margin-bottom: .8rem; }
.value h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.value p { font-size: .95rem; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.values--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){ .values--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .values--4 { grid-template-columns: 1fr; } }
.approach-tagline { text-align: center; margin-top: 2.6rem; font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--blue-900); line-height: 1.25; }
.approach-tagline b { font-style: normal; color: var(--green-600); }

/* -------- Articles (Actualités) -------- */
.article-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem,.8rem + 2vw,2.4rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 2.4rem; }
.article-feature__media { min-height: 300px; height: 100%; background: linear-gradient(135deg, var(--blue-700), var(--green-800)); position: relative; display: grid; place-items: center; }
.article-feature__media .fil { width: 78%; color: rgba(255,255,255,.22); }
.article-feature__body { padding: clamp(1.4rem,1rem + 2vw,2.4rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .8rem; }
.article-meta time { font-weight: 600; }
.article-feature h2 { font-size: var(--step-2); margin-bottom: .6rem; }
.article-feature h2 a { color: inherit; text-decoration: none; }
.article-feature h2 a:hover { color: var(--green-800); }

.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card__media { height: 150px; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.article-card__media svg { width: 40px; height: 40px; }
.article-card__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { color: var(--green-800); }
.article-card p { font-size: .95rem; margin-bottom: 1rem; }
.article-card .more { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--green-800); text-decoration: none; }
.article-card .more:hover { text-decoration: underline; }
@media (max-width: 940px){ .articles { grid-template-columns: repeat(2,1fr); } .article-feature { grid-template-columns: 1fr; } .article-feature__media { min-height: 200px; } }
@media (max-width: 640px){ .articles { grid-template-columns: 1fr; } }

/* -------- Osteopath detail -------- */
.osteo-hero { background: radial-gradient(80% 120% at 100% 0%, var(--green-100) 0%, transparent 55%), var(--sand-100); border-bottom: 1px solid var(--line); }
.osteo-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,.8rem + 2vw,2.6rem); align-items: center; padding-block: clamp(2.2rem,1.6rem + 3vw,3.6rem); }
.osteo-hero .avatar { width: 128px; height: 128px; font-size: 2.6rem; }
.osteo-hero h1 { font-size: var(--step-3); }
.osteo-hero .role { display: block; font-size: var(--step-0); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); margin: .3rem 0 .9rem; }
.detail-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.6rem,1rem + 3vw,3.5rem); align-items: start; }
.detail-body h2 { font-size: var(--step-2); margin: 2rem 0 .7rem; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body > .reveal + .reveal { margin-top: 2.2rem; }
.detail-body p { margin-bottom: 1rem; }
.detail-body ul.check { list-style: none; padding: 0; display: grid; gap: .6rem; }
.detail-body ul.check li { display: flex; gap: .6rem; align-items: flex-start; }
.detail-body ul.check svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }
.detail-aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
@media (max-width: 900px){ .detail-grid { grid-template-columns: 1fr; } .detail-aside { position: static; } }
@media (max-width: 560px){ .osteo-hero .wrap { grid-template-columns: 1fr; text-align: center; } .osteo-hero .avatar { margin-inline: auto; } }

/* -------- Booking : Doctolib CTA -------- */
.btn--doctolib { --btn-bg: #107ACA; --btn-fg: #fff; }
.rdv-book { max-width: 760px; margin-inline: auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(2rem, 1.4rem + 3vw, 3.4rem); position: relative; overflow: hidden; }
.rdv-book::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #107ACA, var(--green-600)); }
.rdv-book__badge { display: inline-flex; align-items: center; gap: .5rem; background: #EAF4FC; color: #107ACA; font-weight: 700; letter-spacing: .02em; padding: .45em 1em; border-radius: var(--radius-pill); font-size: var(--step--1); }
.rdv-book__badge svg { width: 18px; height: 18px; }
.rdv-book h2 { margin: 1rem 0 .5rem; }
.rdv-book .lede { max-width: 44ch; margin-inline: auto; }
.rdv-feats { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.6rem; font-weight: 600; color: var(--blue-900); font-size: .96rem; }
.rdv-feats li { display: inline-flex; align-items: center; gap: .5rem; }
.rdv-feats svg { width: 20px; height: 20px; color: var(--green-600); flex: none; }
.rdv-book .btn { box-shadow: 0 10px 24px rgba(16,122,202,.28); }
.rdv-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: .9rem; }

/* -------- Booking (Primocréno) -------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.booking-card__head { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.booking-card__head .city { font-family: var(--font-display); font-size: var(--step-1); color: var(--blue-900); }
.booking-card__head .addr { font-size: var(--step--1); color: var(--ink-soft); margin-left: auto; }
.booking-card iframe { display: block; width: 100%; border: 0; min-height: 620px; background: var(--paper); }
.booking-fallback { margin-top: 1.4rem; font-size: var(--step--1); color: var(--ink-soft); text-align: center; }
@media (max-width: 860px){ .booking-grid { grid-template-columns: 1fr; } .booking-card__head .addr { display: none; } }

/* -------- Prototype ribbon -------- */
.proto-ribbon { background: var(--sand-500); color: #3a2a08; text-align: center; font-size: var(--step--1); font-weight: 600; padding: .4rem; letter-spacing: .02em; }

/* -------- Passe 3 : raffinements « le fil » -------- */

/* 1. Grain papier très discret (SVG bruit inline, teinté encre ~3%) —
   visible seulement sur les zones --paper, disparaît sous les sections colorées. */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .15 0 0 0 0 .18 0 0 0 .03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* 2. Le fil passe sous la carte au survol (cartes ostéopathes, cabinets,
   articles, profils). Petite onde sable qui glisse en place. */
.osteo, .article-card, .profile { position: relative; }
:is(.osteo, .article-card, .profile)::after,
.cabinet-card::before {
  content: "";
  position: absolute;
  left: 1.4rem; right: 1.4rem; bottom: .5rem;
  height: 12px;
  /* onde sans raccord, stroke = --sand-500 (#C79A55) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12' viewBox='0 0 56 12'%3E%3Cpath d='M0 6 Q 7 0 14 6 T 28 6 T 42 6 T 56 6' fill='none' stroke='%23C79A55' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 56px 12px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
:is(.osteo, .article-card, .profile):is(:hover, :focus-within)::after,
.cabinet-card:is(:hover, :focus-within)::before {
  opacity: .85;
  transform: none;
}
.cabinet-card::before { left: 2.1rem; }

/* 3. Chiffres : Fraunces italique + mini-fil sous les stats */
.stat b, .step__n { font-style: italic; font-weight: 500; }
.stat b::after {
  content: "";
  display: block;
  width: 34px; height: 8px;
  margin: .45rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12' viewBox='0 0 56 12'%3E%3Cpath d='M0 6 Q 7 0 14 6 T 28 6 T 42 6 T 56 6' fill='none' stroke='%23C79A55' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 34px auto;
  opacity: .8;
}

/* 4. Entrée en léger décalé dans les grilles (le fil « déroule » la grille) */
:is(.cabinets, .team, .specialties, .values, .steps, .articles) > .reveal:nth-child(3n+2) { transition-delay: .09s; }
:is(.cabinets, .team, .specialties, .values, .steps, .articles) > .reveal:nth-child(3n)   { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .reveal { transition-delay: 0s !important; } }

/* 5. Focus clavier & sélection : halo sable autour du bleu */
:focus-visible {
  outline: 2.5px solid var(--blue-700);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--sand-100);
}
.field :is(input, textarea, select):focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--green-100);
}
::selection { background: var(--sand-300); color: var(--blue-900); }

/* Soulignement des liens de contenu : le fil en filigrane */
a { text-decoration-color: var(--sand-500); }
.topbar a, .site-footer a { text-decoration-color: currentColor; }

@media (max-width: 720px) {
  :is(.osteo, .article-card, .profile)::after, .cabinet-card::before { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .team, .specialties, .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 82vw); background: var(--surface); box-shadow: var(--shadow-lg); padding: 5rem 1.5rem 2rem; transform: translateX(100%); transition: transform .3s var(--ease); margin: 0; }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { display: block; padding: .8rem 1rem; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--blue-900); position: relative; transition: transform .3s, opacity .2s; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .header-cta .btn--phone, .header-cta .btn--write { display: none; }
  .cabinets, .team, .specialties, .steps, .contact-grid, .site-footer .wrap { grid-template-columns: 1fr; }
  .topbar .push { display: none; }
}

/* ============================================================
   Tarifs
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--lead { border-color: var(--green-300); background: var(--green-100); }
.price-card h3 { font-size: var(--step-1); }
.price-card .amount { font-family: var(--font-display); font-style: italic; font-size: var(--step-3); color: var(--blue-900); line-height: 1; margin: .7rem 0 .2rem; }
.price-card .amount small { font-family: var(--font-body); font-style: normal; font-size: var(--step--1); color: var(--ink-soft); margin-left: .3rem; }
.price-card p { font-size: .95rem; margin-top: .5rem; }
.price-card ul { list-style: none; padding: 0; margin-top: .9rem; display: grid; gap: .4rem; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 940px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ (accordéon natif)
   ============================================================ */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.3rem; font-weight: 600; color: var(--blue-900); display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.faq summary:hover { background: var(--green-100); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; }
.faq .faq__a p + p { margin-top: .7rem; }
.faq .faq__a ul { margin-top: .7rem; padding-left: 1.2rem; display: grid; gap: .5rem; }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; }
.notfound .code { font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 3rem + 8vw, 9rem); color: var(--sand-500); line-height: .9; }
.notfound .links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }

/* ============================================================
   Bandeau cookies
   ============================================================ */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 60; max-width: 760px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.2rem 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie[hidden] { display: none; }
.cookie p { font-size: var(--step--1); max-width: 52ch; }
.cookie p a { color: var(--green-800); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie .btn { padding: .55em 1.1em; font-size: var(--step--1); }
@media (max-width: 640px) { .cookie { left: .8rem; right: .8rem; } .cookie__actions { width: 100%; } .cookie__actions .btn { flex: 1; justify-content: center; } }
.price-card h3 { min-height: 2.5em; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .price-card h3 { min-height: 0; } }

/* RDV — Doctolib dans l'encadré Metz (feedback V3) */
.booking-card__doctolib { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem 1.3rem; background: #F3F8FC; border-bottom: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }
.booking-card__doctolib--none { background: var(--paper); }
.booking-card__doctolib .btn { box-shadow: 0 8px 20px rgba(16,122,202,.22); }
.booking-card__foot { padding: .8rem 1.3rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }

/* Liste ostéopathes — lieu de consultation (feedback V3) */
.profile__where { display: flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); }
.profile__where svg { color: var(--green-600); flex: none; }

/* Tarifs — tarif unique + paiement (feedback V3) */
.price-single { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; max-width: 860px; margin-inline: auto; }
.price-single .price-card h3 { min-height: 0; }
.price-pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.price-pay h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.pay-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pay-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .35em .9em; font-weight: 600; font-size: .92rem; color: var(--blue-900); }
@media (max-width: 720px) { .price-single { grid-template-columns: 1fr; } }

/* Articles — feedback V3 */
.article-photo { margin: 1.4rem 0 0; }
.article-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-photo figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-soft); }

/* En-tête — « Nous écrire » + nav sur une ligne (feedback V3) */
.nav a, .header-cta .btn { white-space: nowrap; }
.site-header .wrap { gap: 1rem; }
.nav a { padding-inline: .65rem; }
.header-cta .btn { padding-inline: 1.1em; }
.btn--write { display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 1360px) { .btn--write span { display: none; } .btn--write { padding-inline: .8em; } }
