/* ============ PhysioForma — V1 ============ */
:root {
  --red: #E3001B;
  --red-bright: #FF2B3D;
  --red-deep: #A30013;
  --red-text: #C40018;       /* rouge pour petits textes sur blanc (AA) */
  --ink: #16181D;
  --ink-2: #3A3F4A;
  --muted: #5E6472;
  --line: #E7E8EC;
  --bg: #FFFFFF;
  --bg-soft: #F6F6F8;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px -24px rgba(22, 24, 29, .28);
  --shadow-red: 0 18px 40px -18px rgba(227, 0, 27, .55);
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Typo ---------- */
.display, .h2, .h3, .h4 { font-family: var(--f-display); margin: 0; letter-spacing: -.02em; }
.display {
  font-size: clamp(3rem, 5.5vw, 5.6rem); line-height: .92; font-weight: 900;
  font-style: italic; font-stretch: 112%; text-transform: uppercase;
}
.display em, .h2 em { font-style: italic; color: var(--red); }
.display .line { display: block; }
.display--light, .h2--light { color: #fff; }
.h2--light em { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .12em; text-decoration-thickness: .08em; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; font-weight: 850; font-stretch: 105%; }
.h2 em { font-weight: 900; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; font-weight: 800; }
.h4 { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.eyebrow {
  font: 700 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-text); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }

.tag-illu {
  display: inline-block; font: 600 .66rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 99px; background: #FFF0F1; color: var(--red-text); border: 1px dashed rgba(196,0,24,.45);
  vertical-align: .12em; white-space: nowrap;
}
.tag-illu--light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 26px; border-radius: 99px; border: 2px solid transparent;
  font: 700 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--red-text); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--red-text); }
.btn[disabled] { opacity: .4; pointer-events: none; box-shadow: none; }

/* ---------- Demo bar + header ---------- */
.demo-bar { background: var(--ink); color: #fff; font-size: .8rem; text-align: center; padding: 8px var(--gutter); }
.demo-bar .tag-illu { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(0,0,0,.25); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px;
}
.brand img { height: 22px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: 99px; transition: background .2s, color .2s; }
.nav ul a:hover, .nav ul a.is-current { background: #FFF0F1; color: var(--red-text); }
.nav__phone { display: none; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(24px, 4vw, 60px);
  padding: clamp(28px, 5vw, 70px) var(--gutter) clamp(56px, 7vw, 100px);
  min-height: calc(100svh - var(--header-h) - 34px);
  isolation: isolate;
}
.hero__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__text { position: relative; z-index: 2; }
.hero__text .lead { margin: 26px 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px;
}
.hero__facts li {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); font-size: .86rem; color: var(--muted);
}
.hero__facts strong { color: var(--ink); font-size: .95rem; }

.hero__visual { position: relative; margin: 0; z-index: 1; }
.hero__img {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 48% 52% 46% 54% / 38% 40% 60% 62%;
  overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft);
  animation: morph 14s ease-in-out infinite alternate;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; transform: scale(1.22); transform-origin: 100% 85%; }
@keyframes morph {
  0% { border-radius: 48% 52% 46% 54% / 38% 40% 60% 62%; }
  50% { border-radius: 56% 44% 52% 48% / 46% 36% 64% 54%; }
  100% { border-radius: 42% 58% 40% 60% / 34% 48% 52% 66%; }
}
.ball {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FF6A76 0, var(--red) 38%, var(--red-deep) 100%);
  box-shadow: inset -10px -14px 30px rgba(0,0,0,.18), 0 24px 40px -18px rgba(163,0,19,.6);
}
.ball--a { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; left: -5%; bottom: 6%; animation: bounce 3.4s var(--ease) infinite; }
.ball--b { width: clamp(28px, 3vw, 46px); aspect-ratio: 1; right: 4%; top: 2%; animation: bounce 2.6s var(--ease) infinite .6s; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero__badge {
  position: absolute; right: -2%; bottom: 10%; display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow);
  font-weight: 600; font-size: .86rem; max-width: 240px;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 0 rgba(227,0,27,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(227,0,27,0); } 100% { box-shadow: 0 0 0 0 rgba(227,0,27,0); } }

/* intro animations */
.draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.8s var(--ease) .2s forwards; }
.draw--late { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .line, .hero .lead, .hero__actions, .hero__facts, .hero__visual {
  opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease) forwards;
}
.hero .line:nth-child(1) { animation-delay: .15s; }
.hero .line:nth-child(2) { animation-delay: .3s; }
.hero .lead { animation-delay: .5s; }
.hero__actions { animation-delay: .62s; }
.hero__facts { animation-delay: .75s; }
.hero__visual { animation-delay: .35s; transform: translateY(40px) scale(.96); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--red); color: #fff; overflow: hidden; transform: rotate(-1.6deg); margin: 0 -20px;
  box-shadow: var(--shadow-red); position: relative; z-index: 3;
}
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: marquee 32s linear infinite; }
.marquee span { font: italic 900 clamp(1.3rem, 2.6vw, 2.1rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; font-stretch: 112%; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: #fff; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__head .muted { margin-top: 20px; font-size: 1.05rem; }
.section__head--left { text-align: left; margin-left: 0; }

/* Soins */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 28px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -120px; top: -120px;
  border: 26px solid var(--red); opacity: .08; transition: transform .7s var(--ease), opacity .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::after { transform: scale(1.25); opacity: .14; }
.card__icon { width: 58px; height: 58px; border-radius: 18px; background: var(--red); display: grid; place-items: center; margin-bottom: 26px; }
.card__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.card__num { position: absolute; top: 26px; right: 28px; margin: 0; font: italic 900 2.6rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(22,24,29,.18); }
.card .h3 { margin-bottom: 12px; }
.card > p { color: var(--ink-2); margin: 0 0 22px; }
.card__meta { margin: 0 0 26px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .92rem; }
.card__meta div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.card__meta dt { font-weight: 700; color: var(--red-text); }
.card__meta dd { margin: 0; color: var(--ink-2); }
.card__cta {
  margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 8px 0;
  font-weight: 700; color: var(--red-text); display: inline-flex; gap: 8px; border-bottom: 2px solid currentColor;
}
.card__cta span { transition: transform .3s var(--ease); }
.card__cta:hover span { transform: translateX(5px); }
.card--red { background: linear-gradient(155deg, var(--red-bright) 0%, var(--red) 45%, var(--red-deep) 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow-red); }
.card--red::after { border-color: #fff; opacity: .14; }
.card--red .card__icon { background: #fff; }
.card--red .card__icon svg { stroke: var(--red); }
.card--red > p, .card--red .card__meta dd { color: rgba(255,255,255,.92); }
.card--red .card__meta { border-color: rgba(255,255,255,.25); }
.card--red .card__meta dt, .card--red .card__cta { color: #fff; }
.card--red .card__num { -webkit-text-stroke-color: rgba(255,255,255,.4); }

.extras { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 40px; }
.extras__label { margin: 0; font-weight: 700; color: var(--muted); font-size: .9rem; }
.extras ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.extras li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: .92rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Cabinet (bloc rouge) */
.cabinet {
  position: relative; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, var(--red-bright) 0%, var(--red) 40%, var(--red-deep) 100%);
  padding: clamp(110px, 12vw, 170px) var(--gutter);
  overflow: hidden;
}
.wave { position: absolute; left: 0; width: 100%; height: clamp(50px, 8vw, 120px); }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }
.cabinet__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cabinet__text p { color: rgba(255,255,255,.93); font-size: 1.05rem; }
.cabinet__text .h2 { margin-bottom: 26px; }
.stats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { border-top: 2px solid rgba(255,255,255,.4); padding-top: 12px; }
.stats strong { display: block; font: italic 900 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); }
.stats span { font-size: .85rem; color: rgba(255,255,255,.88); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 170px 220px; gap: 14px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--ink);
  font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 99px;
}
.g1 { grid-column: 1 / 2; grid-row: 1 / 3; border-radius: 120px 22px 22px 22px; }
.g2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.g3 { grid-column: 2 / 3; grid-row: 2 / 4; border-radius: 22px 22px 120px 22px; }
.g4 { grid-column: 1 / 2; grid-row: 3 / 4; }

/* Approche */
.approche__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.approche__visual { position: relative; margin: 0; }
.approche__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }
.approche__img img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 100%; transform: scale(1.45); transform-origin: 26% 100%; }
.approche__ring { position: absolute; inset: -5%; width: 110%; height: 110%; animation: spin 40s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__n {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: italic 900 1.3rem/1 var(--f-display); color: var(--red); border: 2px solid var(--red);
  transition: background .3s, color .3s;
}
.step:hover .step__n { background: var(--red); color: #fff; }
.step p { margin: 6px 0 0; color: var(--ink-2); }

/* Équipe */
.equipe { padding-top: 0; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.member { display: flex; gap: 24px; align-items: flex-start; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.member:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.member p { margin: 8px 0 0; color: var(--ink-2); }
.member__role { color: var(--red-text) !important; font-weight: 700; margin-top: 4px !important; }
.member__avatar {
  flex: none; width: 96px; height: 96px; border-radius: 42% 58% 50% 50% / 50% 44% 56% 50%;
  background: linear-gradient(150deg, var(--red-bright), var(--red-deep)); display: grid; place-items: center;
  color: #fff; font: italic 900 1.8rem/1 var(--f-display); box-shadow: var(--shadow-red);
}
.member__avatar--alt { background: linear-gradient(150deg, #2A2E37, var(--ink)); box-shadow: var(--shadow); }

/* Infos */
.infos { padding-top: 0; }
.infos__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; align-items: stretch; }
.infos__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.infos__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.infos__photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--red); color: #fff; line-height: 1.4;
}
.infos__photo figcaption strong { font: italic 900 1.4rem/1.1 var(--f-display); }
.infos__photo .btn { margin-top: 14px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.info .h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.info .h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.info p { margin: 0 0 8px; color: var(--ink-2); font-size: .95rem; }
.info a { color: var(--red-text); font-weight: 700; text-decoration: none; }
.info a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours th { font-weight: 600; color: var(--ink-2); }
.hours td { text-align: right; font-weight: 700; }

/* Avis */
.avis { padding: 0 var(--gutter); }
.avis__inner {
  max-width: 820px; margin: 0 auto; text-align: center; padding: 48px 28px; border-radius: var(--radius-lg);
  border: 2px dashed rgba(227,0,27,.35);
}
.stars { color: var(--red); font-size: 1.6rem; letter-spacing: .2em; }
.avis__inner .h3 { margin: 10px 0 8px; }
.avis__inner p { color: var(--muted); margin: 0 0 22px; }

/* FAQ */
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: rgba(227,0,27,.4); box-shadow: 0 14px 30px -22px rgba(227,0,27,.6); }
summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font: 700 1.06rem/1.35 var(--f-body);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-soft); color: var(--red); font-size: 1.4rem; font-weight: 500;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
details > div { padding: 0 24px 22px; color: var(--ink-2); }
details > div p { margin: 0; }

/* CTA */
.cta {
  position: relative; overflow: hidden; margin: clamp(40px, 6vw, 80px) var(--gutter) 0; border-radius: 48px 48px 0 0;
  background: linear-gradient(140deg, var(--red-bright) 0%, var(--red) 40%, var(--red-deep) 100%);
  color: #fff; text-align: center; padding: clamp(70px, 9vw, 120px) var(--gutter);
}
.cta__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__inner { position: relative; }
.cta p { font-size: 1.15rem; margin: 18px 0 30px; color: rgba(255,255,255,.95); }
.cta .hero__actions { justify-content: center; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 60px var(--gutter) 28px; font-size: .95rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer__logo { height: 20px; width: auto; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { max-width: var(--maxw); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.6); }

/* FAB mobile */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 99px; border: 0; background: var(--red); color: #fff; font-weight: 700;
  box-shadow: var(--shadow-red); transform: translateY(120px); transition: transform .5s var(--ease);
}
.fab svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.fab.is-visible { transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22,24,29,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s ease; }
.modal__panel {
  position: relative; width: min(680px, 100%); max-height: calc(100svh - 32px); display: flex; flex-direction: column;
  background: #fff; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: hidden;
  animation: pop .5s var(--ease);
}
.modal__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red-bright), var(--red-deep)); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 8px; }
.modal__head .eyebrow { margin-bottom: 10px; font-size: .7rem; }
.modal__close { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 1.6rem; line-height: 1; }
.modal__close:hover { background: var(--red); color: #fff; }
.progress { list-style: none; display: flex; gap: 6px; padding: 14px 28px; margin: 0; }
.progress li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s; }
.progress li span { display: none; }
.progress li.is-active, .progress li.is-done { color: var(--ink); }
.progress li.is-active::before, .progress li.is-done::before { background: var(--red); }
.modal__body { padding: 10px 28px 20px; overflow-y: auto; flex: 1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-panel { animation: slidein .45s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } }
.choices { display: grid; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice label {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; border: 2px solid var(--line);
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.choice label:hover { border-color: rgba(227,0,27,.45); }
.choice input:checked + label { border-color: var(--red); background: #FFF4F5; }
.choice input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.choice__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.choice input:checked + label .choice__mark { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px #fff; }
.choice__t { font-weight: 700; display: block; }
.choice__d { font-size: .86rem; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day {
  flex: none; scroll-snap-align: start; width: 70px; padding: 10px 0; border-radius: 16px; border: 2px solid var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .78rem; color: var(--muted); transition: all .2s;
}
.day strong { font: italic 900 1.4rem/1 var(--f-display); color: var(--ink); }
.day[aria-checked="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.day[aria-checked="true"] strong { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 8px 0 14px; min-height: 48px; }
.slot { padding: 10px 0; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; transition: all .2s; }
.slot:hover:not([disabled]) { border-color: var(--red); }
.slot[aria-checked="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot[disabled] { text-decoration: line-through; color: #B9BCC4; background: var(--bg-soft); cursor: not-allowed; }
.recap { display: grid; gap: 0; border-radius: 20px; background: var(--bg-soft); padding: 8px 20px; margin-bottom: 16px; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.recap div:last-child { border-bottom: 0; }
.recap dt, .recap .k { color: var(--muted); font-size: .9rem; }
.recap .v { font-weight: 700; text-align: right; }
.recap__note { font-size: .88rem; color: var(--ink-2); background: #FFF4F5; border-left: 4px solid var(--red); padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; }
.step-panel--done { text-align: center; padding: 20px 0; }
.done-check svg { width: 76px; height: 76px; margin: 0 auto 14px; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.done-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s var(--ease) .6s forwards; }
.modal__foot { display: flex; align-items: center; gap: 12px; padding: 16px 28px 22px; border-top: 1px solid var(--line); }
.modal__summary { flex: 1; margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul a { padding: 8px 9px; font-size: .9rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; margin-left: 8px;
    border-radius: 50%; border: 0; background: var(--bg-soft);
  }
  .burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 10px;
    background: #fff; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { display: block; font: italic 800 1.5rem/1.2 var(--f-display); padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a:hover { background: none; }
  .nav__phone { display: block; text-align: center; padding: 14px; border-radius: 99px; background: var(--bg-soft); font-weight: 700; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 24px; }
  .hero__swoosh { opacity: .18; }
  .hero__visual { order: -1; width: min(520px, 92%); margin: 0 auto; }
  .hero__img { aspect-ratio: 1 / 1; }
  .hero__badge { right: 0; bottom: -4%; }
  .cabinet__inner, .approche__grid, .infos__grid { grid-template-columns: 1fr; }
  .approche__visual { width: min(420px, 86%); margin: 0 auto; }
  .team { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
  .fab { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .brand img { height: 18px; }
  .display { font-size: clamp(2.4rem, 12vw, 4rem); font-stretch: 100%; }
  .hero__badge { right: 4%; max-width: 200px; font-size: .8rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts li { flex: 1 1 140px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 22px 24px; }
  .gallery { grid-template-rows: 160px 120px 160px; gap: 10px; }
  .g1 { border-radius: 70px 18px 18px 18px; }
  .g3 { border-radius: 18px 18px 70px 18px; }
  .gallery__item figcaption { font-size: .7rem; left: 8px; bottom: 8px; padding: 5px 9px; }
  .stats { gap: 8px; }
  .member { flex-direction: column; gap: 16px; padding: 24px; }
  .member__avatar { width: 76px; height: 76px; font-size: 1.4rem; }
  .info-cards { grid-template-columns: 1fr; }
  .infos__photo { min-height: 340px; }
  .cta { margin: 40px 0 0; border-radius: 36px 36px 0 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .modal { padding: 0; place-items: end center; }
  .modal__panel { border-radius: 26px 26px 0 0; max-height: 94svh; }
  .modal__head, .modal__body, .modal__foot, .progress { padding-left: 20px; padding-right: 20px; }
  .modal__summary { display: none; }
  .modal__foot .btn { flex: 1; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .reveal, .hero .line, .hero .lead, .hero__actions, .hero__facts, .hero__visual { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}
