/* ============================================================
   SYLVAIN FRÉMON · KINÉSITHÉRAPIE VESTIBULAIRE — v1.0
   Design system « Horizon Calme »
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Palette — Horizon Calme */
  --night: #0e2a33;        /* ardoise nuit — fonds sombres, texte fort */
  --primary: #1f4e57;      /* teal profond — titres, boutons */
  --sage: #6fb3a8;         /* sauge — signature, accents */
  --sage-deep: #4a8c83;    /* sauge foncé — hover/contraste sur clair */
  --sand: #d9b382;         /* sable doré — micro-accents */
  --paper: #f7f4ee;        /* crème chaud — fond principal */
  --surface: #ffffff;      /* blanc — cartes */
  --mist: #eff5f4;         /* sauge 8% — fonds alternés */
  --mist-2: #e2edeb;       /* sauge 14% — badges */
  --line: #dfe7e6;         /* séparateurs clairs */
  --line-dark: rgba(247, 244, 238, 0.14);

  /* Texte */
  --ink: #0e2a33;
  --ink-muted: #41565f;       /* AA sur crème/blanc */
  --ink-soft: #5a7079;

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* Échelle fluide */
  --fs-hero: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2.3vw, 2.85rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  --fs-lede: clamp(1.05rem, 0.95rem + 0.45vw, 1.275rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Rayons */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Ombres (teintées teal, douces) */
  --shadow-1: 0 1px 2px rgba(14, 42, 51, 0.04), 0 8px 24px rgba(14, 42, 51, 0.06);
  --shadow-2: 0 4px 12px rgba(14, 42, 51, 0.08), 0 18px 44px rgba(14, 42, 51, 0.1);
  --shadow-cta: 0 8px 22px rgba(31, 78, 87, 0.28);

  /* Layout */
  --header-h: 76px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Mouvement */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* Focus visible — navigation clavier */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
iframe:focus-visible {
  outline: 2.5px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sélection */
::selection {
  background: var(--sage);
  color: #fff;
}

/* ----------------------------------------------------------
   3. TYPOGRAPHIE
   ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--primary);
  font-optical-sizing: auto;
}

p {
  margin: 0;
}

strong {
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}

.section-title {
  font-size: var(--fs-h2);
  max-width: 18ch;
}

.section-lede {
  margin-top: 18px;
  max-width: 60ch;
  font-size: var(--fs-lede);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--alt {
  background: var(--mist);
}

.section--dark {
  position: relative;
  background: var(--night);
  color: #f3efe7;
  /* grain subtil pour la profondeur */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
}

.section--dark h2,
.section--dark h3 {
  color: #fbfaf6;
}

.section--dark .eyebrow {
  color: var(--sage);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-title {
  margin-inline: auto;
}

/* ----------------------------------------------------------
   5. ICONS & UTILITIES
   ---------------------------------------------------------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-small);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-cta);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.25s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  background: #163a42;
  box-shadow: 0 12px 30px rgba(31, 78, 87, 0.36);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn--small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--surface);
  border-color: var(--sage);
  color: var(--primary);
}

.btn--light {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-1);
}

.btn--light:hover {
  background: #fff;
  color: var(--primary);
}

.btn--block {
  width: 100%;
}

/* ----------------------------------------------------------
   7. HEADER & NAVIGATION
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 238, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(14, 42, 51, 0.02), 0 6px 24px rgba(14, 42, 51, 0.06);
}

/* header sur section sombre (initialement au-dessus du hero dark) */
.site-header.is-dark:not(.is-scrolled) {
  background: rgba(14, 42, 51, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-dark:not(.is-scrolled) .brand__name,
.site-header.is-dark:not(.is-scrolled) .brand__role,
.site-header.is-dark:not(.is-scrolled) .nav__link {
  color: #fff;
}

.site-header.is-dark:not(.is-scrolled) .brand__name {
  color: #fff;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  line-height: 1.12;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 550;
  color: var(--primary);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}

.brand__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}

/* Nav links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--primary);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary);
}

.nav__toggle .icon {
  width: 22px;
  height: 22px;
}

.nav__toggle .icon--close {
  display: none;
}

/* CTA du header : contraste maximal quand il surplombe le hero sombre.
   Bouton blanc + texte teal (~9:1) tant que le header est sur l'image. */
.site-header.is-dark:not(.is-scrolled) .nav__menu > .btn {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.site-header.is-dark:not(.is-scrolled) .nav__menu > .btn:hover {
  background: #f4efe6;
  color: var(--primary);
}

/* ----------------------------------------------------------
   8. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92svh;
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(14, 42, 51, 0.86) 0%,
      rgba(14, 42, 51, 0.62) 38%,
      rgba(14, 42, 51, 0.2) 78%,
      rgba(14, 42, 51, 0.1) 100%
    ),
    linear-gradient(0deg, rgba(14, 42, 51, 0.72) 0%, rgba(14, 42, 51, 0) 42%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
  max-width: 760px;
}

.hero__eyebrow {
  color: #c7e6df;
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  background: #c7e6df;
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.04;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: #d6ece6;
}

.hero__sub {
  margin-top: 22px;
  max-width: 48ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-small);
  font-weight: 550;
  color: rgba(255, 255, 255, 0.88);
}

.hero__proof .icon {
  color: var(--sage);
  width: 18px;
  height: 18px;
}

/* Indicateur de scroll */
.hero__scroll {
  position: absolute;
  right: clamp(20px, 5vw, 48px);
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ----------------------------------------------------------
   9. PATHOLOGIES — cartes interactives + accordéons
   ---------------------------------------------------------- */
.patho {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.patho__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.patho__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: rgba(111, 179, 168, 0.45);
}

/* Illustration abstraite en tête de carte */
.patho__art {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--art, var(--mist)), color-mix(in srgb, var(--art, var(--sage)) 18%, #fff));
  overflow: hidden;
}

.patho__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.5), transparent 60%);
}

.patho__art svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: var(--primary);
  transition: transform 0.6s var(--ease);
}

.patho__card:hover .patho__art svg {
  transform: rotate(8deg) scale(1.06);
}

.patho__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.patho__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.patho__body h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.patho__summary {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.patho__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--primary);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.patho__toggle .icon {
  width: 18px;
  height: 18px;
}

.patho__card.is-open .patho__toggle {
  transform: rotate(45deg);
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.patho__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.patho__card.is-open .patho__panel {
  grid-template-rows: 1fr;
}

.patho__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.patho__detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.patho__group + .patho__group {
  margin-top: 14px;
}

.patho__group h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 8px;
}

.patho__group p,
.patho__group li {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.patho__group ul {
  display: grid;
  gap: 6px;
}

.patho__group li {
  position: relative;
  padding-left: 18px;
}

.patho__group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* Lien "prendre RDV" en bas de carte ouverte */
.patho__cta {
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.patho__cta .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.patho__cta:hover .icon {
  transform: translateX(3px);
}

/* ----------------------------------------------------------
   10. ÉQUIPEMENT (showcase dark, zig-zag)
   ---------------------------------------------------------- */
.equip {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.equip__feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.equip__feature--reverse .equip__media {
  order: 2;
}

.equip__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-dark);
  will-change: transform;
}

.equip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.equip__feature:hover .equip__media img {
  transform: scale(1.04);
}

.equip__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 42, 51, 0.35));
}

/* Placeholder élégant pour appareils sans photo */
.equip__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(111, 179, 168, 0.22), transparent 55%),
    linear-gradient(135deg, #16323b, #0b1f26);
}

.equip__media--placeholder svg {
  width: 84px;
  height: 84px;
  color: rgba(214, 236, 230, 0.85);
}

.equip__body .eyebrow {
  color: var(--sage);
}

.equip__body h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  margin-bottom: 14px;
}

.equip__body > p {
  color: rgba(243, 239, 231, 0.78);
  line-height: 1.7;
  max-width: 46ch;
}

.equip__why {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(217, 179, 130, 0.08);
}

.equip__why h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.equip__why p {
  color: rgba(243, 239, 231, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bandeau de fin équipement */
.equip__note {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  text-align: center;
}

.equip__note p {
  max-width: 56ch;
  margin-inline: auto;
  color: rgba(243, 239, 231, 0.78);
}

.equip__note .btn {
  margin-top: 22px;
}

/* ----------------------------------------------------------
   13. PRATICIEN
   ---------------------------------------------------------- */
.practitioner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.practitioner__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 5;
}

.practitioner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practitioner__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(14, 42, 51, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.practitioner__badge .icon {
  color: var(--sage);
  width: 18px;
  height: 18px;
}

.practitioner__body h2 {
  margin-bottom: 18px;
}

.practitioner__body > p {
  color: var(--ink-muted);
  max-width: 52ch;
  line-height: 1.7;
}

.practitioner__creds {
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.practitioner__cred {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.practitioner__cred-year {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
}

.practitioner__cred-body strong {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
}

.practitioner__cred-body span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ----------------------------------------------------------
   14. CONTACT
   ---------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: stretch;
}

.contact__info h2 {
  margin-bottom: 18px;
}

.contact__info > p {
  color: var(--ink-muted);
  max-width: 44ch;
}

.contact__details {
  margin: 28px 0;
  display: grid;
  gap: 18px;
}

.contact__detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact__detail-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--mist);
  color: var(--primary);
}

.contact__detail-icon .icon {
  width: 20px;
  height: 20px;
}

.contact__detail-body strong {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
}

.contact__detail-body span,
.contact__detail-body a {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact__detail-body a:hover {
  color: var(--primary);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact__map {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--night);
  color: rgba(243, 239, 231, 0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: clamp(48px, 7vw, 72px) 0 40px;
}

.footer-brand .brand__mark {
  width: 44px;
  height: 44px;
}

.footer-brand .brand__name {
  color: #fbfaf6;
}

.footer-brand .brand__role {
  color: var(--sage);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(243, 239, 231, 0.72);
  font-size: 0.93rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  color: rgba(243, 239, 231, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ----------------------------------------------------------
   16. STICKY CTA MOBILE
   ---------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
}

.sticky-cta .btn {
  width: 100%;
  box-shadow: 0 12px 30px rgba(31, 78, 87, 0.4);
}

/* ----------------------------------------------------------
   17. ANIMATIONS — reveal & parallax
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--soft {
  transform: translateY(16px);
}

/* parallax — déplacé via JS (transform), pas de transition */
.parallax {
  will-change: transform;
}

/* ----------------------------------------------------------
   18. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .patho {
    grid-template-columns: repeat(2, 1fr);
  }

  .practitioner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .practitioner__photo {
    max-width: 380px;
    aspect-ratio: 4 / 4.4;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links,
  .nav__right .btn {
    display: none;
  }

  /* Menu mobile plein écran */
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 32px var(--gutter) 40px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }

  body.menu-open .nav__menu {
    transform: translateX(0);
  }

  .nav__menu .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    order: 1;
  }

  .nav__menu .nav__link {
    padding: 16px 8px;
    font-size: 1.3rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--primary);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav__menu .nav__link::after {
    display: none;
  }

  .nav__menu .btn {
    display: inline-flex;
    margin-top: 24px;
    width: 100%;
    order: 2;
  }

  body.menu-open .nav__toggle .icon--menu {
    display: none;
  }

  body.menu-open .nav__toggle .icon--close {
    display: block;
  }

  .sticky-cta {
    display: block;
  }

  .equip__feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .equip__feature--reverse .equip__media {
    order: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 66px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 32px) 0 88px;
  }

  .hero__scroll {
    display: none;
  }

  .patho {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero__proofs {
    gap: 8px 18px;
  }
}

@media (max-width: 380px) {
  .brand__role {
    display: none;
  }
}

/* ----------------------------------------------------------
   19. REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__scroll-line {
    animation: none;
  }
}
