/* ==========================================================================
   Cabinet d'ostéopathie Lauzière - style.css (refonte "cabinet feutré")
   Éditorial premium, sans néon. Palette minérale, encre & sauge éteinte.
   Colonne vertébrale = fil conducteur à l'encre. Thème clair par défaut.
   ========================================================================== */

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

:root {
  /* Clair - "cabinet feutré" (défaut) */
  --bg: #f4f1ea;
  --bg-2: #ebe6db;
  --surface: #fbfaf6;
  --text: #2a2621;
  --muted: #6e675c;
  --line: #d8d1c4;
  --accent: #6e7d5b;       /* vert sauge éteint, mat */
  --accent-ink: #4a5340;
  --warm: #a8623b;         /* terracotta brûlé, usage rare */
  --shadow-soft: 0 18px 40px -24px rgba(42, 38, 33, .18);
  --shadow-lift: 0 14px 34px -20px rgba(42, 38, 33, .26);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .7s;
  --maxw: 1080px;
  --radius: 8px;

  /* Polices reprises de la référence (système, sans Google Fonts) */
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #20241f;
  --bg-2: #191c17;
  --surface: #2a2e27;
  --text: #e9e5db;
  --muted: #a29b8c;
  --line: #3e4339;
  --accent: #9daa86;
  --accent-ink: #9daa86;
  --warm: #c17a4e;
  --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, .5);
  --shadow-lift: 0 16px 36px -20px rgba(0, 0, 0, .55);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  background-color: var(--bg);
  /* Fond vivant : dégradé minéral qui dérive imperceptiblement */
  background-image:
    radial-gradient(120% 80% at 18% 0%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 58%),
    radial-gradient(120% 85% at 82% 100%, color-mix(in srgb, var(--warm) 4%, transparent), transparent 55%);
  background-attachment: fixed;
  background-size: 200% 200%, 200% 200%;
  animation: bg-drift 34s ease-in-out infinite alternate;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .6s ease, color .6s ease;
}
@keyframes bg-drift {
  0%   { background-position: 0% 0%, 100% 100%; }
  100% { background-position: 24% 18%, 76% 82%; }
}

/* grain papier très subtil */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.012em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.018em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1rem; }
a { color: inherit; }
em, .italic { font-style: italic; }

.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8.5rem) 1.5rem; }
/* bande pleine largeur pour rythmer les sections (trick box-shadow + clip) */
.band { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); }
.section-head { max-width: 52ch; margin: 0 0 clamp(2.2rem, 5vw, 3.5rem); position: relative; padding-top: 1.6rem; }
.section-head::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.section-head.is-visible::before { transform: scaleX(1); transition: transform .9s var(--ease-out) .1s; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center::before { left: 50%; transform: translateX(-50%); }
.muted { color: var(--muted); }
.center { text-align: center; }
.note-demo { font-size: .8rem; color: var(--muted); opacity: .8; font-style: italic; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-size: 1rem; transition: transform .35s var(--ease-out), background-color .3s, border-color .3s, color .3s;
  min-height: 46px;
}
.btn-primary {
  background: var(--accent); color: #fbfaf6; box-shadow: var(--shadow-soft);
  /* halo très discret : une respiration toutes les 5 s (pas de clignotement) */
  animation: rdv-breathe 5s ease-in-out 2s infinite;
}
@keyframes rdv-breathe {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
  50%      { box-shadow: var(--shadow-soft), 0 0 16px 2px color-mix(in srgb, var(--accent) 30%, transparent); }
}
:root[data-theme="dark"] .btn-primary { color: #20241f; }
.btn-primary:hover { background: var(--accent-ink); }
:root[data-theme="dark"] .btn-primary:hover { background: #b3bd9d; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .8rem clamp(1rem, 4vw, 2rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease, color .4s ease;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
/* En-tête transparent posé sur le héros sombre : texte clair */
.site-header:not(.is-solid) .brand,
.site-header:not(.is-solid) .brand-name em,
.site-header:not(.is-solid) .brand-mark,
.site-header:not(.is-solid) .nav a { color: #f4f1ea; }
.site-header:not(.is-solid) .nav a:hover { color: #fff; }
.site-header:not(.is-solid) .theme-toggle {
  border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #f4f1ea;
}
.site-header:not(.is-solid) .lang-switch {
  border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1);
}
.site-header:not(.is-solid) .lang-switch a { color: #f4f1ea; }
.site-header:not(.is-solid) .lang-switch a.is-active { background: rgba(255, 255, 255, .92); color: #2a2621; }
.site-header:not(.is-solid) .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #f4f1ea; }
.site-header:not(.is-solid) .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.brand-name em { font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .02em; color: var(--muted); }
.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; position: relative; padding: .2rem 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .8rem; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; transition: border-color .25s;
}
.theme-toggle:hover { border-color: var(--text); }

/* ---------- Sélecteur de langue FR / EN ---------- */
.lang-switch {
  display: inline-flex; align-items: stretch; height: 40px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.lang-switch a {
  display: grid; place-items: center; min-width: 38px; padding: 0 .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  color: var(--muted); transition: color .25s, background-color .25s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active,
.lang-switch a.is-active:hover { background: var(--accent-ink); color: var(--surface); }

.theme-ico--sun { display: none; }
:root[data-theme="dark"] .theme-ico--moon { display: none; }
:root[data-theme="dark"] .theme-ico--sun { display: inline; }

/* ---------- Barre de progression (repli mobile) ---------- */
.scroll-rail { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 60; background: transparent; }
.scroll-rail__fill { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ---------- Colonne vertébrale = indicateur de progression (à droite) ----------
   Même colonne anatomique que le site, bien visible. La colonne entière est
   dessinée (encre estompée) ; les vertèbres atteintes passent en vert sauge
   du haut (cervicales) vers le bas (lombaires) au fil du défilement. */
.spine-progress {
  position: fixed; top: 50%; right: 8px; transform: translateY(-50%);
  width: clamp(108px, 10vw, 156px); height: min(88vh, 640px); z-index: 40;
  pointer-events: none; display: none;
}
.spine-progress__svg { width: 100%; height: 100%; overflow: visible; }
.spine-progress__guide {
  fill: none; stroke: var(--line); stroke-width: 1.2;
  vector-effect: non-scaling-stroke; opacity: .5;
}
/* colonne toujours visible (estompée), puis « remplissage » vert à l'avancée */
.sp-glyph { opacity: .4; transition: opacity .5s var(--ease-out); }
.sp-glyph .vertebra { stroke: var(--muted); }
.sp-glyph .ivd { fill: var(--muted); fill-opacity: .3; }
.sp-glyph.is-shown { opacity: 1; }
.sp-glyph.is-shown .vertebra { stroke: var(--accent-ink); }
.sp-glyph.is-shown .ivd { fill: color-mix(in srgb, var(--accent) 55%, var(--surface)); fill-opacity: 1; }

/* Affichée quand la fenêtre est assez large pour la loger dans la marge droite */
@media (min-width: 1280px) {
  .spine-progress { display: block; }
  .scroll-rail { display: none; }
}

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out); }

/* ==========================================================================
   HÉROS
   ========================================================================== */
.hero {
  position: relative;
  display: grid; place-items: center; text-align: center;
  padding: clamp(8rem, 18vh, 12rem) 1.5rem clamp(5rem, 12vh, 8rem);
  min-height: 100vh; min-height: 100dvh;
  color: #f6f3ec; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 49%;
}
.hero::after {                  /* voile sombre pour la lisibilité du texte et de la nav */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 21, 17, .6) 0%, rgba(24, 21, 17, .2) 18%, rgba(24, 21, 17, .22) 46%, rgba(24, 21, 17, .62) 100%),
    radial-gradient(120% 90% at 50% 44%, rgba(24, 21, 17, .04) 0%, rgba(24, 21, 17, .48) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero .eyebrow { color: rgba(246, 243, 236, .82); font-size: .95rem; letter-spacing: .04em; text-transform: none; font-weight: 500; margin-bottom: 1.1rem; }
.hero h1 { color: #fdfbf6; text-shadow: 0 2px 24px rgba(24, 21, 17, .45); }
.hero__name { margin-bottom: .5rem; }
.hero__name-main { display: block; font-size: clamp(4.25rem, 8.3vw, 8.5rem); line-height: .92; letter-spacing: -.045em; }
.hero__role {
  display: block;
  text-transform: uppercase; letter-spacing: .28em;
  font-size: clamp(.8rem, 1.5vw, 1.2rem); font-weight: 500;
  color: rgba(246, 243, 236, .86); margin: .6rem 0 1.4rem;
}
.hero__role::after {
  content: ""; display: block; width: 54px; height: 1px;
  background: rgba(246, 243, 236, .5); margin: 1.1rem auto 0;
}
.accentuate { font-style: italic; border-bottom: 1px solid rgba(246, 243, 236, .85); padding-bottom: 2px; }
.hero .lead { font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.94rem); line-height: 1.42; color: rgba(246, 243, 236, .9); max-width: 46ch; margin-inline: auto; text-shadow: 0 1px 14px rgba(24, 21, 17, .4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; justify-content: center; }
.hero__reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; color: rgba(246, 243, 236, .82); font-size: .9rem; }
.btn-on-dark { border-color: rgba(255, 255, 255, .55); color: #f6f3ec; }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Indicateur de défilement */
.hero__scroll { position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem); transform: translateX(-50%); z-index: 1; color: #f6f3ec; }
.hero__scroll-ring {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, .55); animation: scroll-bob 2.4s ease-in-out infinite;
}
@keyframes scroll-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Vertèbre de profil - planche anatomique à l'encre (colonne de progression) */
.vertebra {
  fill: var(--surface); fill-opacity: .62;
  stroke: var(--text); stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round;
  paint-order: fill;
}
.ivd {
  fill: #efe7d7; fill-opacity: .7;
  stroke: var(--text); stroke-width: .8;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
:root[data-theme="dark"] .ivd { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); }

/* ==========================================================================
   BANDEAU CONFIANCE
   ========================================================================== */
.trust {
  max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust { align-items: start; }
.trust__item { text-align: center; padding: 1rem 1.2rem; position: relative; }
.trust__item + .trust__item::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.atout-ico { display: block; font-size: 1.4rem; color: var(--accent); line-height: 1; margin-bottom: .6rem; }
.trust__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin-bottom: .4rem; }
.trust__item p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.stat { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--text); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.apropos { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.apropos__media { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.portrait {
  position: relative; width: min(260px, 70vw); aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.portrait::after { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 4px; pointer-events: none; z-index: 2; }
.portrait__mono { font-family: var(--serif); font-weight: 400; font-size: 3.2rem; color: var(--accent-ink); letter-spacing: .08em; }
.portrait__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-caption { text-align: center; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.portrait-caption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1rem; color: var(--text); }
.apropos__text p { max-width: 60ch; }

/* ==========================================================================
   LE CABINET (photo + texte)
   ========================================================================== */
.cabinet { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.cabinet__media { margin: 0; }
.cabinet__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.cabinet__media.is-empty { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.cabinet__media.is-empty::after { content: "Photo du cabinet"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-style: italic; font-size: .9rem; }
.cabinet__text .section-head { margin-bottom: 1.2rem; }
.cabinet__text p { max-width: 46ch; }
.signature { margin: .4rem 0 1.2rem; }
.signature svg { width: 190px; height: auto; overflow: visible; }
.signature path,
.signature line, .signature polyline, .signature polygon,
.signature circle, .signature ellipse, .signature rect {
  fill: none; stroke: var(--accent-ink); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  /* Transition réversible : le trait se dessine en entrant dans le champ
     et s'efface quand on remonte. Vitesse linéaire = tracé régulier.
     Durée volontairement longue pour un dessin lent et posé. */
  transition: stroke-dashoffset 12s linear;
}
.signature.is-drawing path,
.signature.is-drawing line, .signature.is-drawing polyline, .signature.is-drawing polygon,
.signature.is-drawing circle, .signature.is-drawing ellipse, .signature.is-drawing rect {
  stroke-dashoffset: 0;
}

/* ==========================================================================
   MOTIFS + CORPS
   ========================================================================== */
.motifs__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.bodymap { position: sticky; top: 90px; margin: 0; text-align: center; padding: 1.5rem; }
.body-svg { width: min(230px, 60%); height: auto; color: var(--line); }
.body-base { color: var(--muted); }
.zone { cursor: pointer; }
.zone__hit { fill: transparent; }
.zone__dot { fill: var(--accent); opacity: .45; transform-box: fill-box; transform-origin: center; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.zone:hover .zone__dot, .zone:focus-visible .zone__dot, .zone.active .zone__dot { opacity: 1; transform: scale(1.3); }
.zone:focus-visible { outline: none; }
.bodymap__tip { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; color: var(--text); min-height: 1.4em; font-size: 1.05rem; }

.motif-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.motif-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem; overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.motif-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out);
}
.motif-card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow-lift); }
.motif-card:hover::before { transform: scaleY(1); }
.motif-card__ico { display: block; margin-bottom: .9rem; color: var(--muted); }
.motif-card__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.motif-card h3 { margin-bottom: .35rem; }
.motif-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Cartes-pôles cliquables (liens vers les pages N2) */
.motif-card--link h3 a { text-decoration: none; color: var(--text); }
.motif-card--link h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.motif-card--link .motif-card__more { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 500; font-size: .9rem; transition: transform .25s var(--ease-out); }
.motif-card--link:hover .motif-card__more { transform: translateX(4px); }
.motifs__zones { margin-top: 2rem; text-align: center; color: var(--muted); }
.motifs__zones a { color: var(--accent); }

/* ==========================================================================
   RÉALIGNEMENT
   ========================================================================== */
.realign__stage { max-width: 720px; margin: 0 auto; text-align: center; }
.realign-svg { width: 100%; height: auto; color: var(--accent); overflow: visible; }
.realign-guide { stroke: var(--line); stroke-width: 1.4; fill: none; vector-effect: non-scaling-stroke; }
.realign-vert {
  fill: var(--surface); stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
  transition: transform .9s var(--ease-out);
}
.realign.aligned .realign-vert { transform: translate(0, 0) rotate(0deg); }
.realign__hint { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; font-style: italic; transition: opacity .5s; }
.realign.aligned .realign__hint { opacity: 0; }

/* ==========================================================================
   POSTURE
   ========================================================================== */
.posture { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.posture__text p { max-width: 46ch; }
.posture__control { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; font-size: .85rem; color: var(--muted); }
.posture__control input { flex: 1; accent-color: var(--accent); height: 3px; }
.posture__stage { margin: 0; display: grid; place-items: center; padding: 1rem; }
.posture-svg { width: min(260px, 78%); height: auto; color: var(--accent); }
.posture-ground { stroke: var(--line); stroke-width: 1.5; }
.posture-plumb { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 5; opacity: .6; }
.posture-body { transition: opacity .2s linear; vector-effect: non-scaling-stroke; }
.posture-head { fill: var(--surface); stroke: var(--accent); stroke-width: 3.5; transition: transform .2s linear; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1px; background: var(--line); }
.timeline__step { position: relative; text-align: center; padding-top: 3.6rem; }
.timeline__num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: var(--serif); font-weight: 400; font-size: 1.2rem;
}
.timeline__step h3 { margin-bottom: .35rem; }
.timeline__step p { color: var(--muted); font-size: .92rem; }

/* Séance : étapes verticales (la colonne vertébrale sert désormais d'indicateur de progression) */
.seance__layout { max-width: 640px; }
.timeline--vertical { grid-template-columns: 1fr; gap: 1.6rem; }
.timeline--vertical::before { display: none; }
.timeline--vertical .timeline__step { text-align: left; padding: .1rem 0 .1rem 4rem; min-height: 46px; }
.timeline--vertical .timeline__num { left: 0; transform: none; top: 0; }
.timeline--vertical .timeline__step::before {
  content: ""; position: absolute; left: 22px; top: 46px; bottom: -1.6rem; width: 1px; background: var(--line);
}
.timeline--vertical .timeline__step:last-child::before { display: none; }

/* ==========================================================================
   TARIFS
   ========================================================================== */
.price-grid { 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); padding: 2.2rem 1.5rem; text-align: center; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.price-card--feature { border-color: var(--accent); }
.price { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--text); margin: .4rem 0; }
.price-desc { color: var(--muted); font-size: .92rem; margin: 0; }

/* ==========================================================================
   AVIS
   ========================================================================== */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.avis-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin: 0; }
.avis-card p:not(.stars) { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.stars { color: var(--warm); letter-spacing: .15em; margin-bottom: .8rem; font-size: .85rem; }
.avis-card cite { color: var(--muted); font-style: normal; font-weight: 500; font-size: .9rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem 1.4rem; }
.faq-item summary { cursor: pointer; font-weight: 500; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: 1.1rem; color: var(--muted); }
.faq-answer p { margin: 0; max-width: 62ch; }

/* ==========================================================================
   RENDEZ-VOUS
   ========================================================================== */
.rdv .section-head { margin-inline: auto; }
.rdv__widget {
  max-width: 880px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft); min-height: 320px;
}
.rdv__widget [data-toggle="doc-calendar"] { display: block; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact__col { padding: 1.6rem; border-left: 1px solid var(--line); }
.contact__col h3 { color: var(--text); font-family: var(--serif); font-weight: 400; }
.contact__col a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem; text-align: center; background: var(--bg-2); position: relative; z-index: 2; }
.footer__brand { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: .5rem; }
.footer__legal { color: var(--muted); font-size: .82rem; }
.footer__made { color: var(--muted); font-size: .78rem; opacity: .7; margin-top: 1rem; }

/* contenu au-dessus du grain (l'en-tête garde sa position: fixed / z-index: 50) */
main, .site-footer { position: relative; z-index: 2; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 88vh; min-height: 88dvh; padding-top: clamp(6rem, 16vh, 9rem); }
  .apropos, .motifs__layout, .posture, .cabinet { grid-template-columns: 1fr; }
  .cabinet__media { order: -1; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .trust__item + .trust__item::before { display: none; }
  .bodymap { position: static; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .avis-grid, .contact__grid, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .motif-grid { grid-template-columns: 1fr; }
  .contact__col { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 380px) {
  .lang-switch a { min-width: 32px; padding: 0 .4rem; }
}

/* ==========================================================================
   ACCESSIBILITÉ - réduction du mouvement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .signature path, .signature line, .signature polyline, .signature polygon,
  .signature circle, .signature ellipse, .signature rect { stroke-dashoffset: 0 !important; }
}

/* ---------- Cabinet de Bertrange fermé ---------- */
/* Bandeau fixe en bas de chaque page */
.closure-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1.1rem;
  padding: .75rem clamp(1rem, 4vw, 2rem);
  background: var(--warm); color: #fbfaf6;
  font-size: .92rem; line-height: 1.45; text-align: center;
  box-shadow: 0 -10px 26px -18px rgba(0, 0, 0, .45);
}
.closure-bar strong { font-weight: 700; }
.closure-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
body { padding-bottom: 5.5rem; }
/* Encadré dans le héros de l'accueil */
.closure-notice {
  max-width: 620px; margin: 1.6rem auto 0; padding: 1.1rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .28); border-left: 3px solid var(--warm); border-radius: var(--radius);
  background: rgba(24, 21, 17, .5); backdrop-filter: blur(4px);
  color: #fdfbf6; text-align: left; font-size: 1rem; line-height: 1.6;
}
.closure-notice strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.18rem; line-height: 1.35; margin-bottom: .4rem; }
/* Lien vers le cabinet de Nancy dans l'en-tête */
@media (max-width: 520px) {
  .header-actions .btn-nancy { display: none; }
  .closure-bar { font-size: .85rem; }
}
