/* ============================================================
   STROKE CENTER — Centre neurovasculaire d'urgence
   Palette : os / noir profond / rouge sang  ·  Syne + Space Grotesk
   ============================================================ */

:root {
  /* Couleurs */
  --bone: #F4F0E8;          /* blanc cassé */
  --bone-2: #ECE6DA;
  --ink: #0B0B0C;           /* noir profond */
  --ink-2: #141416;
  --ink-3: #1E1E22;
  --blood: #C0392B;         /* rouge sang d'urgence */
  --blood-bright: #E23A2E;
  --blood-soft: rgba(192, 57, 43, .12);
  --ash: #6E6A62;           /* gris texte secondaire sur clair */
  --ash-dark: #9A958C;      /* gris texte secondaire sur sombre */
  --line: rgba(11, 11, 12, .12);
  --line-dark: rgba(244, 240, 232, .14);

  /* Typo */
  --font-display: 'Arial', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;

  /* Échelle z-index */
  --z-nav: 50;
  --z-alert: 40;
  --z-overlay: 30;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }

::selection { background: var(--blood); color: var(--bone); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.accent { color: var(--blood); }

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 12px 18px;
  border-radius: 10px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--blood);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   BANDEAU URGENCE
   ============================================================ */
.alert-bar {
  position: relative; z-index: var(--z-alert);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px;
  background: var(--blood);
  color: var(--bone);
  padding: 9px 18px;
  font-size: 14px; font-weight: 500;
  text-align: center;
}
.alert-bar__pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 0 0 rgba(244, 240, 232, .7);
  animation: dot-pulse 1.8s infinite;
}
.alert-bar__num { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.alert-bar__num:hover { color: var(--ink); }

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244,240,232,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(244,240,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,240,232,0); }
}

/* ============================================================
   NAVIGATION STICKY + GLASSMORPHISM
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--container); margin-inline: auto;
  padding: 16px 24px;
}
.nav.scrolled {
  background: rgba(244, 240, 232, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px -24px rgba(11,11,12,.5);
}

/* Marque */
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { color: var(--blood); display: flex; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand__accent { color: var(--blood); }

/* Liens */
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; font-size: 15px; font-weight: 500; white-space: nowrap;
  padding: 8px 12px; border-radius: 9px; color: var(--ink);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--blood); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--blood); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--blood); }

/* CTA nav */
.nav__cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--bone);
  padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__cta:hover { background: var(--blood); transform: translateY(-1px); }
.nav__cta-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blood-bright);
  box-shadow: 0 0 0 0 rgba(226,58,46,.7); animation: dot-pulse 1.8s infinite;
}
.nav__cta:hover .nav__cta-dot { background: var(--bone); }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; margin-left: auto;
}
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  min-height: 52px;
}
.btn--ghost {
  background: transparent; color: var(--bone);
  border: 1.5px solid var(--line-dark);
}
.btn--ghost:hover { background: rgba(244,240,232,.08); border-color: var(--bone); transform: translateY(-2px); }

.btn--pulse {
  background: var(--blood); color: var(--bone);
  position: relative; box-shadow: 0 16px 40px -16px rgba(192,57,43,.8);
}
.btn--pulse::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--blood);
  animation: btn-ring 2.4s var(--ease) infinite;
  pointer-events: none;
}
.btn--pulse:hover { background: var(--blood-bright); transform: translateY(-2px) scale(1.015); }
.btn--lg { font-size: 18px; padding: 18px 32px; min-height: 60px; }

@keyframes btn-ring {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink); color: var(--bone);
  padding: 80px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: .55; will-change: transform;
}
.hero__glow--1 {
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--blood) 0%, transparent 65%);
  top: -10%; right: -8%;
  animation: float-glow 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, #7a1d16 0%, transparent 65%);
  bottom: -16%; left: -10%;
  animation: float-glow 18s ease-in-out infinite reverse;
}
@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4%, -6%) scale(1.12); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  opacity: .6;
}
.hero__ecg { position: absolute; left: 0; right: 0; bottom: 14%; width: 100%; height: 200px; opacity: .5; }
.hero__ecg-line {
  fill: none; stroke: var(--blood-bright); stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(226,58,46,.8));
  stroke-dasharray: 2600; stroke-dashoffset: 2600;
  animation: ecg-draw 4.5s linear infinite;
}
@keyframes ecg-draw {
  to { stroke-dashoffset: -2600; }
}

.hero__inner { max-width: var(--container); margin-inline: auto; padding-inline: 24px; width: 100%; }

.hero__eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone); opacity: .85;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  line-height: .92; letter-spacing: -.035em;
  margin-bottom: 28px;
}
.hero__title-accent {
  color: var(--blood);
  position: relative;
}
.hero__sub {
  max-width: 620px; font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--bone); opacity: .82; line-height: 1.55; margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 40px;
  padding-top: 36px; border-top: 1px solid var(--line-dark);
  width: fit-content; max-width: 100%;
}
.hero__stat dt { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--blood); letter-spacing: -.02em; }
.hero__stat dd { font-size: 14px; color: var(--ash-dark); margin-top: 4px; max-width: 180px; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line-dark); border-radius: 14px;
  display: flex; justify-content: center;
}
.hero__scroll span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--blood-bright); margin-top: 7px;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   SECTIONS — base
   ============================================================ */
.section { padding: clamp(52px, 7vw, 96px) 0; position: relative; }

.section__head { max-width: 760px; margin-bottom: 44px; }
.section__kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blood); margin-bottom: 18px;
  padding-left: 26px; position: relative;
}
.section__kicker::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 2px;
  background: var(--blood); transform: translateY(-50%);
}
.section__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.section__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ash); max-width: 640px; }

/* ============================================================
   F.A.S.T.
   ============================================================ */
.section--fast { background: var(--ink); color: var(--bone); }
.section--fast .section__lead { color: var(--ash-dark); }

.fast-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.fast-card {
  position: relative; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 30px 26px 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.fast-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, var(--blood-soft), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.fast-card:hover { transform: translateY(-6px); border-color: rgba(226,58,46,.5); background: var(--ink-3); }
.fast-card:hover::after { opacity: 1; }

.fast-card__letter {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 4.6rem; line-height: 1; color: var(--blood);
  letter-spacing: -.04em; margin-bottom: 14px;
}
.fast-card__icon {
  position: absolute; top: 30px; right: 26px; color: var(--ash-dark);
  transition: color .3s var(--ease);
}
.fast-card:hover .fast-card__icon { color: var(--blood-bright); }
.fast-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.fast-card p { font-size: 15px; color: var(--ash-dark); line-height: 1.55; }
.fast-card p strong { color: var(--bone); }

.fast-card--time { background: linear-gradient(180deg, rgba(192,57,43,.16), var(--ink-2)); border-color: rgba(226,58,46,.4); }

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.ex-card {
  padding: 38px 28px 44px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.ex-card:nth-child(4n) { border-right: none; }
.ex-card:hover { background: var(--bone-2); }
.ex-card__num {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: var(--blood); display: block; margin-bottom: 28px; letter-spacing: .05em;
}
.ex-card h3 { font-size: 1.32rem; margin-bottom: 14px; line-height: 1.1; }
.ex-card p { font-size: 15px; color: var(--ash); }

/* ============================================================
   TRAITEMENTS — alternance texte / visuel
   ============================================================ */
.treat-row {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.treat-row:last-child { border-bottom: 1px solid var(--line); }
.treat-row--rev .treat-row__text { order: 2; }
.treat-row--rev .treat-row__visual { order: 1; }

.treat-row__tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blood);
  background: var(--blood-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.treat-row__text h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.treat-row__text p { color: var(--ash); margin-bottom: 20px; }
.treat-row__list { display: grid; gap: 10px; }
.treat-row__list li {
  position: relative; padding-left: 30px; font-size: 15px; font-weight: 500;
}
.treat-row__list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--blood);
  box-shadow: 0 0 0 4px var(--blood-soft);
}

.treat-row__visual { display: flex; }
.treat-visual {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: var(--ink); color: var(--blood-bright);
  border-radius: var(--radius); padding: 38px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.treat-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 70% 20%, rgba(192,57,43,.28), transparent 60%),
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
.treat-visual svg { position: relative; width: 70%; height: auto; }
.treat-visual__label {
  position: absolute; bottom: 22px; left: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--bone); letter-spacing: .03em;
}

/* ============================================================
   PARCOURS — TIMELINE
   ============================================================ */
.section--parcours { background: var(--ink); color: var(--bone); }
.section--parcours .section__lead { color: var(--ash-dark); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; padding-top: 60px; }
.timeline__track {
  position: absolute; top: 66px; left: 0; right: 0; height: 3px;
  background: var(--line-dark); border-radius: 3px;
}
.timeline__progress {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blood), var(--blood-bright));
  border-radius: 3px; box-shadow: 0 0 14px rgba(226,58,46,.7);
  transition: width .15s linear;
}
.timeline__step { position: relative; padding-top: 34px; }
.timeline__dot {
  position: absolute; top: -10px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--blood);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.timeline__step.is-reached .timeline__dot {
  background: var(--blood); box-shadow: 0 0 0 5px var(--blood-soft); transform: scale(1.1);
}
.timeline__time { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--blood); margin-bottom: 8px; letter-spacing: .03em; }
.timeline__step h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.15; }
.timeline__step p { font-size: 14px; color: var(--ash-dark); line-height: 1.5; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.section--testimonials { background: var(--bone-2); }
.quote {
  position: relative; max-width: 920px; margin-inline: auto;
  background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(36px, 6vw, 72px);
  box-shadow: 0 40px 80px -50px rgba(11,11,12,.5);
}
.quote__mark {
  position: absolute; top: 18px; left: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 8rem; line-height: 1;
  color: var(--blood); opacity: .18;
}
.quote__text {
  position: relative; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem); line-height: 1.3; letter-spacing: -.015em;
  margin-bottom: 34px;
}
.quote__author { display: flex; align-items: center; gap: 16px; }
.quote__avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.quote__author strong { display: block; font-size: 17px; }
.quote__author em { font-style: normal; font-size: 14px; color: var(--ash); }

/* ============================================================
   ÉQUIPE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member {
  background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(11,11,12,.4); border-color: rgba(192,57,43,.4); }
.member__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); margin-bottom: 20px;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.member__photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 0%, var(--blood-soft), transparent 60%);
}
.member__photo span {
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--bone);
  position: relative;
}
.member h3 { font-size: 1.15rem; margin-bottom: 6px; }
.member__role { font-size: 14px; font-weight: 600; color: var(--blood); margin-bottom: 12px; }
.member__desc { font-size: 14px; color: var(--ash); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
  background: var(--ink); color: var(--bone);
  border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 76px);
  position: relative; overflow: hidden; isolation: isolate;
}
.contact-card::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(70% 90% at 100% 0%, rgba(192,57,43,.35), transparent 60%);
}
.contact-card .section__kicker { color: var(--blood-bright); }
.contact-card__title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 20px; }
.contact-card__lead { color: var(--ash-dark); margin-bottom: 34px; max-width: 460px; }

.contact-card__info { display: grid; gap: 0; }
.contact-card__info li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
}
.contact-card__info li:first-child { padding-top: 0; }
.contact-card__info li:last-child { border-bottom: none; }
.contact-card__info-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ash-dark); }
.contact-card__info-value { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-align: right; }
.contact-card__info-value a:hover { color: var(--blood-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--bone); padding: 64px 0 32px; }
.footer__inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand { max-width: 380px; }
.footer__brand .brand__name { font-size: 24px; }
.footer__brand p { color: var(--ash-dark); font-size: 15px; margin-top: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.footer__links a { font-size: 15px; color: var(--ash-dark); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--blood-bright); }

.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; font-size: 13px; color: var(--ash-dark);
}
.footer__mentions a { transition: color .2s var(--ease); }
.footer__mentions a:hover { color: var(--bone); }
.footer__affiliation { margin-top: 10px; font-size: 14px; color: var(--ash-dark); }
.footer__affiliation strong { color: var(--bone); }

/* ============================================================
   BOUTON FLOTTANT WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-nav);
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 14px; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), padding .25s var(--ease);
}
.wa-float svg { flex-shrink: 0; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  opacity: 0; transition: max-width .3s var(--ease), opacity .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, .75); }
.wa-float:hover .wa-float__label { max-width: 120px; opacity: 1; }
/* Pulsation discrète pour attirer l'œil */
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid #25D366; animation: wa-ring 2.6s var(--ease) infinite; pointer-events: none;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   HERO — VIDÉO BACKGROUND
   ============================================================ */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}
/* Le contenu du hero reste au-dessus de la vidéo + overlay */
.hero__inner { position: relative; z-index: 2; }
.hero__scroll { z-index: 2; }

/* ============================================================
   GRILLES VIDÉOS INSTAGRAM (Interventions / Témoignages)
   ============================================================ */
.ig-grid { display: grid; gap: 24px; margin-top: 48px; }
.ig-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ig-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }

.ig-card {
  display: flex; flex-direction: column;
  background: #f5f5f7;
  border-radius: 18px;
  padding: 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ig-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(11,11,12,.45); }

/* Embed Instagram centré, ratio vertical natif préservé (9:16) */
.ig-card__embed {
  width: 100%;
  display: flex; justify-content: center;
  border-radius: 12px; overflow: hidden;
  background: #fff;
}
.ig-card__embed .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.ig-card__embed iframe { max-width: 100% !important; }

.ig-card__meta { padding: 18px 4px 4px; }
.ig-card__tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blood);
  background: var(--blood-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}
.ig-card__meta h3 { font-size: 1.2rem; line-height: 1.15; color: var(--ink); }

/* Sur fond sombre (section Interventions), garder la lisibilité du titre clair */
.section--parcours .ig-card__meta h3 { color: var(--ink); }

/* ============================================================
   SECTION — NOTRE CLINIQUE
   ============================================================ */
.clinic-figure {
  border-radius: 24px; overflow: hidden;
  will-change: transform;
}
.clinic-facade-img {
  width: 100%; height: 560px; object-fit: cover; display: block;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease);
}
.clinic-figure.is-visible .clinic-facade-img { transform: scale(1); }

/* ============================================================
   IMAGES — F.A.S.T. (fond), traitements, équipe
   ============================================================ */

/* Fond photo des cards F.A.S.T. + voile sombre pour la lisibilité */
.fast-card__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 100vmax rgba(11, 11, 12, .64);
  transition: transform .6s var(--ease), box-shadow .4s var(--ease);
}
.fast-card:hover .fast-card__bg {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 100vmax rgba(11, 11, 12, .5);
}
/* Contenu au-dessus du fond */
.fast-card__letter, .fast-card h3, .fast-card p { position: relative; z-index: 1; }
.fast-card__icon { z-index: 1; }
.fast-card--time .fast-card__bg { box-shadow: inset 0 0 0 100vmax rgba(120, 24, 18, .6); }

/* Visuels traitements : vraies images plein cadre */
.treat-visual { padding: 0; }
.treat-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.treat-visual::before {
  z-index: 1;
  background: linear-gradient(0deg, rgba(11, 11, 12, .72) 0%, rgba(11, 11, 12, 0) 46%);
}
.treat-visual__label { z-index: 2; }

/* Photos de l'équipe médicale */
.member__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%; z-index: 1;
}
.team-grid--duo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin-inline: auto; gap: 28px;
}
.team-grid--duo .member__photo { aspect-ratio: 4 / 5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .fast-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .ex-card:nth-child(4n) { border-right: 1px solid var(--line); }
  .ex-card:nth-child(2n) { border-right: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline__track { display: none; }
  .timeline__step { padding-top: 0; padding-left: 26px; }
  .timeline__dot { top: 4px; left: 0; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bone); padding: 96px 24px 32px;
    box-shadow: -20px 0 60px -30px rgba(11,11,12,.5);
    transform: translateX(100%); transition: transform .4s var(--ease);
    margin-left: 0;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { width: 100%; font-size: 17px; padding: 12px; }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 12px; }

  .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .treat-row, .treat-row--rev .treat-row__text, .treat-row--rev .treat-row__visual { grid-template-columns: 1fr; }
  .treat-row { grid-template-columns: 1fr; gap: 28px; }
  .treat-row--rev .treat-row__text { order: 1; }
  .treat-row--rev .treat-row__visual { order: 2; }

  /* Grilles Instagram : 3 et 2 colonnes -> 1 colonne, gap 24px */
  .ig-grid--3, .ig-grid--2 { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .fast-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .ex-card { border-right: none !important; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 22px; }
  .hero__actions .btn { width: 100%; }
  .alert-bar { font-size: 13px; }
  .footer__legal { flex-direction: column; }
  .clinic-facade-img { height: 360px; }
  .team-grid--duo { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
