/* ============================================================
   DR SAM WARD — samward.eu · V5
   Landing « SaaS » : une page, tout centré, fond très clair,
   Geist, un seul bleu. Simple et efficace.
   ============================================================ */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/pjs-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/pjs-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #fafbfd;
  --bg-2: #f3f5fa;
  --card: #ffffff;
  --ink: #0b0f1a;
  --ink-2: #2b3140;
  --muted: #646b7b;
  --faint: #a1a7b3;
  --line: #e8ebf2;
  --blue: #2a4fd6;
  --blue-d: #1f46e6;
  --blue-l: #edf1ff;
  --blue-grad: linear-gradient(180deg, #3b61e6 0%, #2a4fd6 100%);
  --wa: #1fb457;
  --r: 20px;
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "Plus Jakarta Sans", -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -12px rgba(15,23,42,.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2 * var(--pad)); margin: 0 auto; }
.narrow { width: min(760px, 100% - 2 * var(--pad)); margin: 0 auto; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.h1 { font-size: clamp(38px, 6vw, 70px); letter-spacing: -.045em; }
.h2 { font-size: clamp(30px, 4vw, 48px); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.6; letter-spacing: -.01em; }
.blue { color: var(--blue); }
.grey { color: var(--faint); }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.badge b { font-weight: 500; font-size: 12px; color: #fff; background: var(--blue-grad); border-radius: 999px; padding: 3px 9px; }
.badge.plain { padding-left: 14px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--blue); letter-spacing: .12em; margin-bottom: 16px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 500; font-size: 15.5px; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 16px -6px rgba(47,91,255,.55); }
.btn-blue:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px -8px rgba(47,91,255,.7); }
.btn-white { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.btn-white:hover { border-color: #cfd5e2; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-light { background: var(--bg-2); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn .ar { transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250,251,253,.8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; }
.logo i { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-grad); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.menu { display: flex; gap: 2px; margin: 0 auto; }
.menu a { font-size: 14.5px; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: var(--bg-2); }
.nav-cta { display: flex; gap: 8px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 10vw, 120px) 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 56px); }
.sec-head .lead { margin-top: 16px; }

/* ---------- HERO centré ---------- */
.hero { position: relative; text-align: center; padding: clamp(56px, 9vw, 104px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 620px; z-index: -1; background: radial-gradient(closest-side, rgba(47,91,255,.13), transparent), radial-gradient(40% 60% at 80% 30%, rgba(0,170,255,.08), transparent); filter: blur(10px); }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 30%, transparent 75%); opacity: .7; }
.hero .badge { margin-bottom: 26px; }
.hero h1 { max-width: 900px; margin: 0 auto 22px; }
.hero .lead { max-width: 620px; margin: 0 auto 32px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.proof span { display: inline-flex; align-items: center; gap: 7px; }
.proof span::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: 9.5px; font-weight: 700; display: grid; place-items: center; }

/* Visuel produit : photo dans un cadre + cartes flottantes */
.shot { position: relative; margin: clamp(48px, 7vw, 72px) auto 0; max-width: 1040px; }
.shot-frame { position: relative; border-radius: 24px; padding: 10px; background: rgba(255,255,255,.7); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15,23,42,.35); }
.shot-frame img { width: 100%; aspect-ratio: 16/9.2; object-fit: cover; object-position: 50% 22%; border-radius: 16px; }
.float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); text-align: left; font-size: 13px; color: var(--muted); min-width: 210px; }
.float b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.float .row { display: flex; align-items: center; gap: 12px; }
.float .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 600; flex: none; }
.float .ico.green { background: #e6f7ee; color: #16924a; }
.float.f1 { left: -28px; bottom: 16%; }
.float.f2 { right: -28px; top: 14%; }
.float.f3 { right: 6%; bottom: -26px; }
.float .mini-bar { height: 6px; border-radius: 6px; background: var(--bg-2); margin-top: 10px; overflow: hidden; }
.float .mini-bar i { display: block; height: 100%; width: 75%; background: var(--blue-grad); border-radius: 6px; }

/* ---------- Bande logos ---------- */
.logos { padding: clamp(56px, 7vw, 80px) 0 0; text-align: center; }
.logos p { font-size: 13.5px; color: var(--faint); margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.logos-row span { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #9aa1af; }

/* ---------- Traitements ---------- */
.treat { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.tcard { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.tcard:hover { border-color: #cfd8ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.tcard .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.tcard .pill { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--bg-2); padding: 5px 10px; border-radius: 999px; }
.tcard h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 8px; }
.tcard p { color: var(--muted); font-size: 15px; }
.tcard ul { margin: 18px 0 22px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.tcard li { display: flex; gap: 10px; }
.tcard li::before { content: "✓"; color: var(--blue); font-weight: 700; font-size: 13px; }
.tcard .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tcard .price b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.tcard .price span { font-size: 13px; color: var(--muted); }
.tcard .go { margin-top: 18px; }
.tcard .go .btn { width: 100%; }
.tcard.main { background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%); border-color: #cfd8ff; box-shadow: 0 30px 60px -40px rgba(47,91,255,.5); }
.tcard.main .pill { background: var(--blue-grad); color: #fff; }
.soon { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding: 16px 20px; border: 1px dashed #d6dbe6; border-radius: 14px; font-size: 14.5px; color: var(--muted); }
.soon b { color: var(--ink); font-weight: 500; }
.soon a { color: var(--blue); font-weight: 500; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-align: left; }
.step .n { font-family: var(--mono); font-size: 12.5px; color: var(--blue); background: var(--blue-l); border-radius: 8px; padding: 5px 9px; display: inline-block; margin-bottom: 22px; }
.step h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Focus implant : grille de points forts + carte coût ---------- */
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fitem { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-align: left; }
.fitem .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 600; margin-bottom: 18px; }
.fitem h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.fitem p { color: var(--muted); font-size: 14.5px; }
.cost { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; text-align: left; }
.cost-rows { display: grid; gap: 8px; font-size: 15px; }
.cost-rows div { display: flex; justify-content: space-between; gap: 20px; max-width: 420px; color: var(--muted); }
.cost-rows div b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.cost-rows div.tot { color: var(--ink); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); }
.cost-rows div.tot b { color: var(--blue); font-size: 18px; }
.cost-big { text-align: center; }
.cost-big small { display: block; font-size: 13px; color: var(--muted); }
.cost-big b { display: block; font-size: clamp(52px, 6vw, 72px); font-weight: 600; letter-spacing: -.06em; line-height: 1; background: var(--blue-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Docteur ---------- */
.doc { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-align: left; }
.doc-photo { position: relative; min-height: 380px; }
.doc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc-body { padding: clamp(26px, 4vw, 44px); }
.doc-body h3 { font-size: 26px; letter-spacing: -.035em; margin: 6px 0 12px; }
.doc-body > p { color: var(--muted); margin-bottom: 22px; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 26px; }
.cv li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.cv li b { display: block; font-weight: 600; font-size: 14.5px; }
.cv li span { color: var(--muted); font-size: 13px; }
.doc-body .btns { justify-content: flex-start; }

/* ---------- Instagram ---------- */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.reel { position: relative; aspect-ratio: 9/15; border-radius: 16px; overflow: hidden; background: #dfe4ef; border: 1px solid var(--line); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel:hover img { transform: scale(1.03); }
.reel::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.reel span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; color: #fff; font-weight: 500; font-size: 14px; line-height: 1.3; text-align: left; }
.reel span small { display: block; font-family: var(--mono); font-size: 11.5px; opacity: .8; margin-top: 6px; }

/* ---------- Adresses ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.place { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-align: left; }
.place .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 600; margin-bottom: 18px; }
.place h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.place p { color: var(--muted); font-size: 14.5px; }
.place .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.place .tags span { font-size: 12.5px; background: var(--bg-2); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; text-align: left; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; text-align: left; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.faq-q i { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--bg-2); position: relative; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq-more { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.faq-more a { color: var(--blue); font-weight: 500; }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: clamp(48px, 7vw, 80px) var(--pad); background: #fff; border: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(47,91,255,.12), transparent 70%); pointer-events: none; }
.final > * { position: relative; }
.final h2 { max-width: 640px; margin: 0 auto 16px; }
.final .lead { max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 90px; border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 120px); font-size: 14px; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer p { max-width: 320px; margin-top: 12px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer h5 { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer li { margin-bottom: 8px; }
.footer li small { display: block; color: var(--faint); font-size: 12.5px; }
.footer a:hover { color: var(--ink); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--faint); }
.footer-bottom a { text-decoration: underline; }
.todo { background: #fff3d1; color: #7a5200; padding: 1px 6px; border-radius: 4px; }

/* ---------- WhatsApp flottant + barre mobile ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(31,180,87,.7); transform: scale(0); transition: transform .35s var(--ease); }
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { display: none; }
.scroll-progress { display: none; }
.mbar { display: none; }

/* ---------- Apparitions ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .07s; } [data-reveal="3"] { transition-delay: .14s; }

/* Texte légal */
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 48px); }
.prose h2 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 20px; }

/* ============================================================
   RESPONSIVE (téléphone d'abord)
   ============================================================ */
@media (max-width: 960px) {
  .menu, .nav-cta .btn-white { display: none; }
  .nav-cta { margin-left: auto; }
  .treat { grid-template-columns: 1fr; }
  .steps, .places { grid-template-columns: 1fr; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .doc-photo { min-height: 0; aspect-ratio: 4/3.2; }
  .doc-photo img { object-position: 50% 25%; }
  .float.f1 { left: 8px; bottom: 8%; }
  .float.f2 { right: 8px; top: 8%; }
  .float.f3 { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .btns .btn { width: 100%; }
  .shot-frame { padding: 6px; border-radius: 18px; }
  .shot-frame img { aspect-ratio: 4/4.2; border-radius: 13px; object-position: 50% 15%; }
  .float { min-width: 0; padding: 10px 12px; font-size: 12px; }
  .float b { font-size: 13.5px; }
  .float .ico { width: 30px; height: 30px; font-size: 12px; }
  .float.f1 { left: 6px; right: auto; bottom: 6%; }
  .float.f2 { right: 6px; top: 5%; }
  .feat { grid-template-columns: 1fr; }
  .cost { grid-template-columns: 1fr; }
  .cost-big { text-align: left; }
  .cv { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 95; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.92); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -16px rgba(15,23,42,.3); transform: translateY(130%); transition: transform .4s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { height: 46px; }
  .mbar .btn-wa { width: 46px; padding: 0; }
  .wa-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   ONBOARDING — une question par écran, fond blanc, fondu
   ============================================================ */
.ob-page { background: #fff; }
.ob { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.ob-top { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 14px var(--pad); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.ob-prog { height: 4px; border-radius: 4px; background: #edf1f8; overflow: hidden; max-width: 520px; width: 100%; justify-self: center; }
.ob-prog b { display: block; height: 100%; width: 0; background: var(--blue-grad); border-radius: 4px; transition: width .5s var(--ease); }
.ob-close { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.ob-close:hover { color: var(--ink); }
.ob-main { flex: 1; width: min(640px, 100% - 2 * var(--pad)); margin: 0 auto; padding: clamp(28px, 7vh, 80px) 0 40px; }
.ob-who { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); background: var(--bg); padding: 5px 14px 5px 5px; border-radius: 999px; margin-bottom: 28px; }
.ob-who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.ob-stage { transition: opacity .22s ease, transform .22s ease; }
.ob-stage.out { opacity: 0; transform: translateY(-10px); }
.ob-stage.pre { opacity: 0; transform: translateY(14px); transition: none; }
.ob-stage.shake { animation: obShake .35s; }
@keyframes obShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.ob-q { font-size: clamp(28px, 4.2vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px; }
.ob-p { color: var(--muted); font-size: 16px; margin-bottom: 28px; max-width: 520px; }
.ob-opts { display: grid; gap: 10px; }
.ob-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.ob-opt:hover { border-color: #b9c6ea; }
.ob-opt:active { transform: scale(.99); }
.ob-opt .k { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.ob-opt .tx { flex: 1; }
.ob-opt b { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.ob-opt small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ob-opt .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: .2s; }
.ob-opt.on { border-color: var(--blue); background: #f5f8ff; }
.ob-opt.on .k { background: var(--blue-grad); color: #fff; }
.ob-opt.on .ck { background: var(--blue-grad); border-color: var(--blue); }
.ob-opt.on .ck::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ob-form { display: grid; gap: 14px; }
.ob-f { display: block; }
.ob-f > span { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.ob-f > span em { font-style: normal; color: var(--faint); }
.ob-f input { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.ob-f input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53,99,255,.12); }
.ob-f.err input { border-color: #e5484d; }
.ob-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-pills button { height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .2s; }
.ob-pills button.on { border-color: var(--blue); background: var(--blue-grad); color: #fff; }
.ob-pills.wide { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.ob-pills.wide button { height: auto; padding: 14px 10px; border-radius: 16px; display: grid; gap: 2px; }
.ob-pills.wide small { font-weight: 500; font-size: 12px; opacity: .7; }
.ob-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ob-days button { padding: 14px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; gap: 2px; transition: .2s; }
.ob-days small { font-size: 12.5px; color: var(--muted); text-transform: capitalize; }
.ob-days b { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.ob-days button.on { border-color: var(--blue); background: var(--blue-grad); color: #fff; }
.ob-days button.on small { color: rgba(255,255,255,.8); }
.ob-asap { margin-top: 12px; width: 100%; height: 50px; border-radius: 14px; border: 1.5px dashed #c9d3ea; background: #fff; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.ob-asap.on { border-style: solid; border-color: var(--blue); color: var(--blue); background: #f5f8ff; }
.ob-consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; padding: 4px 2px; }
.ob-consent input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin-top: 1px; }
.ob-consent a { color: var(--ink); text-decoration: underline; }
.ob-consent.err { color: #e5484d; }
.ob-foot { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid #eef1f7; }
.ob-back { background: none; border: 0; color: var(--muted); font-weight: 500; cursor: pointer; font-size: 15px; padding: 10px 0; }
.ob-back:hover { color: var(--ink); }
.ob-step { font-size: 13px; color: var(--faint); }
.ob-next { height: 50px; padding: 0 26px; font-size: 15.5px; }
.ob-end { text-align: center; padding-top: 10px; }
.ob-end .ob-p { margin-left: auto; margin-right: auto; }
.ob-ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; background: var(--blue-grad); color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 20px 40px -18px rgba(53,99,255,.9); }
.ob-ok.wa { background: var(--wa); box-shadow: 0 20px 40px -18px rgba(31,180,87,.8); }
.ob-ok svg { width: 34px; height: 34px; }
.ob-recap { text-align: left; background: var(--bg); border-radius: 20px; padding: 6px 20px; margin: 0 auto 26px; max-width: 460px; }
.ob-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ob-recap div:last-child { border-bottom: 0; }
.ob-recap span { color: var(--muted); font-size: 14px; }
.ob-recap b { font-weight: 600; font-size: 14.5px; text-align: right; }
.ob-end-btns { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
.ob-end-btns .btn { height: 52px; font-size: 15.5px; }
.ob-big { height: 60px !important; font-size: 17px !important; }
.ob-small { font-size: 13px; color: var(--faint); margin-top: 16px; }
@media (max-width: 600px) {
  .ob-top { grid-template-columns: auto 1fr auto; gap: 12px; }
  .ob-top .logo b { display: none; }
  .ob-main { padding-top: 22px; }
  .ob-q { font-size: 28px; }
  .ob-p { font-size: 15px; margin-bottom: 22px; }
  .ob-opt { padding: 16px 14px; }
  .ob-days { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .ob-days b { font-size: 19px; }
  .ob-pills.wide { grid-template-columns: 1fr; }
  .ob-step { display: none; }
  .ob-next { flex: 1; max-width: 240px; }
}

/* ============================================================
   V5.1 — éléments repris du site actuel, logo réel, minimalisme
   ============================================================ */
.logo { gap: 12px; }
.logo img { height: 20px; width: auto; }
.logo .sep { width: 1px; height: 22px; background: var(--line); }
.logo b { font-weight: 600; font-size: 15px; letter-spacing: -.02em; display: block; line-height: 1.15; }
.logo small { display: block; font-size: 11.5px; color: var(--faint); font-weight: 500; }
.logos-img { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 46px; }
.logos-img img { height: 38px; width: auto; opacity: .7; transition: opacity .25s; }
.logos-img img:hover { opacity: 1; }
.logos-img img.tall { height: 46px; }
.care { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.care-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-align: left; }
.care-item h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 10px; }
.care-item h3 span { font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.care-item p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.care-item ul { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.care-item li { display: flex; gap: 10px; }
.care-item li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-top: 9px; flex: none; }
.sub-head { text-align: center; margin: 56px 0 22px; }
.sub-head h3 { font-size: 22px; letter-spacing: -.03em; }
.sub-head p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.quote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote blockquote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; color: var(--ink); }
.quote figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); text-align: left; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.creds span { font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--blue-l); padding: 5px 10px; border-radius: 999px; }
.news { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; }
.news a { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.news a:last-child { border-bottom: 0; }
.news a:hover { background: var(--bg); }
.news time { font-size: 13px; color: var(--faint); font-weight: 500; }
.news b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; display: block; }
.news span { font-size: 13.5px; color: var(--muted); }
.news i { font-style: normal; color: var(--faint); }
.place a.agenda { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue); }
.places.five { grid-template-columns: repeat(3, 1fr); }
.legal { font-size: 12.5px; color: var(--faint); line-height: 1.7; margin-top: 18px; max-width: 520px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.socials a { font-size: 13.5px; color: var(--muted); }
.socials a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .care { grid-template-columns: 1fr; }
  .places.five { grid-template-columns: 1fr; }
  .logos-img { gap: 18px 30px; }
  .logos-img img { height: 30px; }
  .logo small { display: none; }
}
@media (max-width: 640px) {
  .news a { grid-template-columns: 1fr; gap: 4px; }
  .news i { display: none; }
}

/* ============================================================
   CHATBOT — page /rendez-vous (plein écran, mobile d'abord)
   ============================================================ */
.chat-page { background: #fff; }
.chat { display: flex; flex-direction: column; height: 100vh; height: 100dvh; max-width: 760px; margin: 0 auto; }
.chat-top { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 2; }
.chat-back { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 18px; }
.chat-back:hover { background: var(--bg-2); color: var(--ink); }
.chat-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-id b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.chat-id small { display: block; font-size: 12.5px; color: var(--muted); }
.chat-av { position: relative; flex: none; }
.chat-av img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.chat-av i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.chat-logo { height: 16px; width: auto; opacity: .85; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px 16px 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.chat-note { align-self: center; font-size: 12px; color: var(--faint); background: var(--bg); border-radius: 999px; padding: 6px 12px; margin-bottom: 10px; }
.msg { max-width: 84%; padding: 12px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.msg.in { opacity: 1; transform: none; }
.msg.bot { align-self: flex-start; background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--blue-grad); color: #fff; border-bottom-right-radius: 6px; }
.msg a { color: var(--blue); text-decoration: underline; }
.msg.act { background: transparent; padding: 0; max-width: 100%; }
.msg .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.msg .acts .btn { text-decoration: none; height: 44px; }
.msg .acts .btn-blue, .msg .acts .btn-wa { color: #fff; }
.msg .acts .btn-white { color: var(--ink); }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; opacity: 1; transform: none; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #aab1c0; animation: blip 1s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blip { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-foot { border-top: 1px solid var(--line); padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: #fff; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chat-quick:empty { display: none; }
.qr { font: inherit; font-size: 14.5px; font-weight: 500; padding: 10px 15px; border-radius: 999px; border: 1.5px solid #d6ddf5; background: #fff; color: var(--blue); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.qr:hover { border-color: var(--blue); }
.qr.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.qr.ok { background: var(--ink); border-color: var(--ink); color: #fff; }
.qr.ok:disabled { opacity: .35; cursor: default; }
.chat-composer { display: flex; gap: 8px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 16px; }
.chat-composer input { flex: 1; border: 0; background: transparent; font-size: 16px; padding: 8px 0; outline: none; min-width: 0; }
.chat-composer button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue-grad); color: #fff; font-size: 17px; cursor: pointer; flex: none; }

/* Bulle d'accès au chatbot sur le site */
.chat-launch { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgba(15,23,42,.35); font-size: 14.5px; font-weight: 600; color: var(--ink); transform: translateY(90px); transition: transform .4s var(--ease); }
.chat-launch.show { transform: none; }
.chat-launch img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.chat-launch span small { display: block; font-size: 11.5px; font-weight: 500; color: #16a34a; }
@media (max-width: 600px) { .chat-launch { right: 12px; bottom: 12px; } .msg { max-width: 90%; } }

/* ============================================================
   V5.2 — portrait détouré dans le hero + corrections téléphone
   ============================================================ */
/* Portrait vertical détouré, posé sur une arche claire */
.stage { position: relative; width: min(340px, 74vw); aspect-ratio: 9 / 16; margin: clamp(40px, 6vw, 64px) auto 0; }
.stage .arch { position: absolute; left: 0; right: 0; top: 16%; bottom: 0; border-radius: 999px 999px 28px 28px; background: linear-gradient(180deg, #e7edff 0%, #f3f6fe 70%, #f8f9fd 100%); border: 1px solid #e1e7f7; }
.stage .arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px dashed rgba(42, 79, 214, .12); }
.stage .cut { position: absolute; left: 50%; bottom: 0; width: 118%; height: auto; max-width: none; transform: translateX(-50%); -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .12)); }
.stage .float { z-index: 3; }
.stage .float.f1 { left: auto; right: calc(100% + 14px); bottom: 26%; }
.stage .float.f2 { right: auto; left: calc(100% + 14px); top: 26%; }
.stage .float.f3 { right: auto; left: calc(100% + 14px); bottom: 12%; display: block; }

/* Titres : coupure équilibrée, pas de mot seul sur une ligne */
h1, h2, h3, .lead { text-wrap: balance; }
.logo b, .logo small, .badge, .pill, .proof span, .creds span, .tags span, .price b, .price span, .float b, .step .n, .news time, .qr, .btn { white-space: nowrap; }
.tcard .top { gap: 10px; }
.tcard .price { flex-wrap: wrap; }

@media (max-width: 960px) {
  .stage .float.f1 { right: auto; left: -18px; bottom: 22%; }
  .stage .float.f2 { left: auto; right: -18px; top: 20%; }
  .stage .float.f3 { display: none; }
}
@media (max-width: 640px) {
  .h1 { font-size: clamp(31px, 9vw, 40px); }
  .h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .nav-in { gap: 12px; }
  .logo { gap: 9px; min-width: 0; }
  .logo img { height: 15px; }
  .logo .sep { display: none; }
  .logo b { font-size: 14.5px; }
  .nav-cta .btn-blue { font-size: 13px; padding: 0 12px; }
  .badge { font-size: 12.5px; }
  .proof { gap: 6px 14px; font-size: 12.5px; }
  .stage { width: min(280px, 70vw); }
  .stage .float { padding: 9px 11px; }
  .stage .float b { font-size: 13px; }
  .stage .float .row { gap: 8px; }
  .stage .float.f1 { left: -12%; bottom: 14%; }
  .stage .float.f2 { right: -12%; top: 18%; }
  .stage .float .mini-bar { display: none; }
  .creds span { white-space: normal; }
  .care-item h3 { flex-direction: column; gap: 2px; }
  .chat-launch { padding-right: 16px; }
}
.nav-cta .sm { display: none; }
@media (max-width: 420px) {
  .nav-cta .lg { display: none; }
  .nav-cta .sm { display: inline; }
}

.stage .float, .stage .float div { white-space: nowrap; }
.cost-rows span, .cost-rows b, .footer-bottom a, .faq-more a, .chat-id b { white-space: nowrap; }
@media (max-width: 400px) {
  .cost-rows span, .cost-rows b { font-size: 13.5px; }
  .chat-id b { font-size: 14px; }
  .chat-id small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.chat-id { min-width: 0; flex: 1; }
.chat-id > span:last-child { min-width: 0; }
.chat-id b, .chat-id small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 359px) { .tcard .btn { white-space: normal; text-align: center; } .tcard { padding: 22px 20px; } }

/* ============================================================
   V5.3 — hero, feuille de route, carrousel, menu mobile, langues, bulle de chat
   ============================================================ */
section[id], #soins { scroll-margin-top: 84px; }

/* Hero : le docteur entouré de faits simples (pas de cartes) */
.hero-doc { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: clamp(20px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); }
.hero-doc .stage { margin: 0; }
.facts { display: grid; gap: 34px; padding-bottom: 18%; }
.facts li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts b { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.facts.left { text-align: right; justify-items: end; }
.facts.left li, .facts.right li { width: min(230px, 100%); }
.facts.right { text-align: left; justify-items: start; }
.stage .plate { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 1px; padding: 10px 20px; border-radius: 14px; background: rgba(255,255,255,.9); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -14px rgba(15,23,42,.25); white-space: nowrap; }
.stage .plate b { font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.stage .plate span { font-size: 12.5px; color: var(--muted); }

/* Bandeau priorité : prothèse */
.focus-sec { padding: clamp(48px, 6vw, 72px) 0 0; }
.focus { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 18px 18px 18px 22px; border-radius: var(--r); background: var(--blue-l); border: 1px solid #d9e1ff; text-align: left; transition: border-color .25s, box-shadow .25s; }
.focus:hover { border-color: #bfcdff; box-shadow: var(--shadow); }
.focus-tag { font-size: 12px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid #d9e1ff; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.focus-txt b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.focus-txt span { font-size: 14.5px; color: var(--muted); }

/* Autres soins : un peu d'air entre le titre et la précision */
.care-item h3 { display: block; }
.care-item h3 span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; }

/* Comment ça marche : vraie feuille de route (ligne qui relie les étapes) */
.road { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.road::before { content: ""; position: absolute; left: 16%; right: 16%; top: 41px; height: 2px; background: repeating-linear-gradient(90deg, #c9d5ff 0 8px, transparent 8px 14px); }
.road-step { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; }
.road-step .when { font-size: 12.5px; font-weight: 600; color: var(--blue); height: 20px; margin-bottom: 12px; white-space: nowrap; }
.road-step .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 0 0 6px var(--bg); position: relative; z-index: 1; margin-bottom: 18px; }
.road-step .n { display: none; }
.road-step .card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 24px; }
.road-step h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.road-step p { color: var(--muted); font-size: 14.5px; }

/* Prothèse : avantages en ligne + parcours vertical */
.perks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perks li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; text-align: left; font-size: 14.5px; color: var(--muted); }
.perks b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.perks b::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.journey { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 34px); text-align: left; }
.journey-title { font-size: 20px; letter-spacing: -.03em; margin-bottom: 22px; }
.journey ol { list-style: none; display: grid; }
.journey li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; position: relative; padding-bottom: 22px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: #dfe6ff; }
.journey li:last-child::before { display: none; }
.journey .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-l); border: 6px solid #fff; box-shadow: 0 0 0 2px var(--blue); margin-top: 1px; }
.journey small { display: block; font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.journey b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 3px; }
.journey p { color: var(--muted); font-size: 14.5px; }
.journey-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* Prix : résultat propre, sans effet */
.cost { grid-template-columns: 1fr 250px; gap: 24px; padding: 24px; }
.cost-rows div { max-width: none; }
.cost-big { text-align: center; background: var(--blue-l); border: 1px solid #d9e1ff; border-radius: 16px; padding: 18px 16px; }
.cost-big small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.cost-big b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); font-size: clamp(44px, 5vw, 56px); margin: 4px 0 6px; }
.cost-big span { display: block; font-size: 12.5px; color: var(--muted); }

/* Crédits du docteur : centrés */
.creds { justify-content: center; }

/* Instagram : bande qui défile toute seule */
.reels-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reels-track { display: flex; gap: 12px; width: max-content; padding-right: 12px; animation: reels-run var(--dur, 40s) linear infinite; }
.reels-marquee:hover .reels-track { animation-play-state: paused; }
.reels-track .reel { width: clamp(180px, 22vw, 250px); flex: none; }
@keyframes reels-run { to { transform: translateX(-50%); } }

/* Langues */
.lang { position: relative; }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(15,23,42,.08); display: block; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.lang-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -18px rgba(15,23,42,.3); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.lang.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a, .mm-lang a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.lang-list a:hover { background: var(--bg-2); }
.lang-list a[aria-current], .mm-lang a[aria-current] { color: var(--blue); font-weight: 600; }

/* Hamburger + menu mobile */
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; }
.burger i { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger.open i:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav-cta { align-items: center; }
  .nav-cta .lang { display: none; }
  .nav.menu-open { background: rgba(250,251,253,.98); border-bottom-color: var(--line); }
  .mobile-menu { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--pad) 18px; background: rgba(250,251,253,.98); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15,23,42,.25); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu > a { padding: 14px 4px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
  .mm-foot { display: grid; gap: 12px; padding-top: 14px; }
  .mm-lang { display: flex; gap: 6px; }
  .mm-lang a { flex: 1; justify-content: center; border: 1px solid var(--line); background: #fff; font-size: 13.5px; }
  .mm-foot .btn { width: 100%; }
  .hero-doc { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .hero-doc .stage { order: -1; }
  .hero-doc .facts { padding: 0; gap: 10px; grid-template-columns: 1fr 1fr; width: min(460px, 100%); }
  .hero-doc .facts li { width: auto; padding: 12px 6px 0; }
  .facts.left, .facts.right { text-align: center; justify-items: stretch; }
  .hero-doc .facts.left { margin-bottom: -8px; }
  .road { grid-template-columns: 1fr; gap: 10px; }
  .road::before { display: none; }
  .road-step { grid-template-columns: auto 1fr; grid-template-areas: "dot when" "dot card"; justify-items: start; text-align: left; column-gap: 14px; }
  .road-step .dot { grid-area: dot; margin: 2px 0 0; }
  .road-step .when { grid-area: when; margin-bottom: 6px; }
  .road-step .card { grid-area: card; }
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .focus { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .focus-tag { justify-self: start; }
  .focus-go { width: 100%; }
}
@media (max-width: 640px) {
  .logo-txt { display: none; }
  .logo img { height: 18px; }
  .nav-cta { gap: 8px; }
  .facts b { font-size: 18px; }
  .facts span { font-size: 13px; }
  .stage .plate { bottom: 12px; padding: 8px 14px; }
  .stage .plate b { font-size: 14px; }
  .cost { grid-template-columns: 1fr; padding: 20px; }
  .journey li { gap: 12px; }
}

/* ---------- Bulle de discussion par-dessus le site ---------- */
.chat-pop { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.chat-pop[hidden] { display: none; }
.chat-scrim { position: absolute; inset: 0; background: rgba(11,15,26,.28); opacity: 0; transition: opacity .3s ease; pointer-events: auto; }
.chat-win { position: absolute; right: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px)); height: min(680px, calc(100dvh - 48px)); background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(15,23,42,.45); overflow: hidden; pointer-events: auto; opacity: 0; transform: translateY(18px) scale(.97); transform-origin: bottom right; transition: opacity .3s ease, transform .35s var(--ease); }
.chat-pop.open .chat-scrim { opacity: 1; }
.chat-pop.open .chat-win { opacity: 1; transform: none; }
.chat-win .chat { height: 100%; max-width: none; }
.chat-win .chat-top { position: static; grid-template-columns: 1fr auto; }
.chat-win .chat-back { font-size: 26px; line-height: 1; order: 3; }
.chat-win .chat-logo { display: none; }
.chat-win .msg { max-width: 88%; font-size: 15px; }
.chat-open .chat-launch { transform: translateY(90px); }
@media (max-width: 640px) {
  .chat-win { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100dvh - 72px); border-radius: 22px; transform-origin: bottom center; }
}
.mm-lang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-lang a { min-width: 0; padding: 10px 6px; gap: 7px; font-size: 13px; }
.mobile-menu { box-sizing: border-box; background: #fafbfd; }
.facts b { white-space: nowrap; }
@media (max-width: 400px) { .hero-doc .facts b { font-size: 16px; } .hero-doc .facts span { font-size: 12.5px; } }
.todo { white-space: nowrap; }

/* ============================================================
   V5.4 — hero : moins d'espace, gros chiffres en dégradé derrière le docteur
   ============================================================ */
/* La scène épouse la photo : plus de vide au-dessus de la tête */
.hero-doc { margin-top: clamp(22px, 3vw, 36px); }
.stage { aspect-ratio: 1 / 1.4; }
.stage .arch { top: 14%; z-index: 0; }
.stage .cut { z-index: 2; }
.stage .plate { z-index: 3; }

/* Gros chiffres, une phrase dessous, glissés légèrement derrière le docteur */
.hero-doc .facts { position: relative; z-index: 1; gap: 40px; padding-bottom: 20%; }
.hero-doc .facts li { border-top: 0; padding-top: 0; gap: 8px; }
.hero-doc .facts b { display: block; font-size: clamp(60px, 7vw, 104px); font-weight: 700; letter-spacing: -.065em; line-height: .88; white-space: nowrap;
  background: linear-gradient(180deg, #5b7fff 0%, #2a4fd6 55%, #1a36a0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.hero-doc .facts b em { font-style: normal; font-size: .3em; font-weight: 600; letter-spacing: -.02em; margin-left: .14em; }
.hero-doc .facts span { font-size: 14.5px; color: var(--muted); max-width: 200px; }
.hero-doc .facts.left b { transform: translateX(10px) scale(.8); transform-origin: right center; }
.hero-doc .facts.right b { transform: translateX(-10px) scale(.8); transform-origin: left center; }
.hero-doc.in .facts.left b { opacity: 1; transform: translateX(46px); }
.hero-doc.in .facts.right b { opacity: 1; transform: translateX(-46px); }
.hero-doc.in .facts li:nth-child(2) b { transition-delay: .15s; }
.hero-doc.in .facts.right li:nth-child(1) b { transition-delay: .08s; }
.hero-doc.in .facts.right li:nth-child(2) b { transition-delay: .23s; }

@media (max-width: 960px) {
  .hero-doc .facts { gap: 18px 10px; padding: 0; }
  .hero-doc .facts li { padding: 0 6px; }
  .hero-doc .facts b { font-size: clamp(46px, 13vw, 60px); }
  .hero-doc .facts.left b, .hero-doc .facts.right b { transform-origin: center; transform: scale(.8); }
  .hero-doc.in .facts.left b, .hero-doc.in .facts.right b { transform: none; }
  .hero-doc .facts span { max-width: none; margin: 0 auto; }
  .hero-doc .facts.left { margin-bottom: 0; }
}
@media (max-width: 400px) {
  .hero-doc .facts b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-doc .facts b { opacity: 1; transform: none !important; }
}
.hero-doc.in .facts.left b { transform: translateX(18px); }
@media (max-width: 960px) { .hero-doc.in .facts.left b { transform: none; } }
.stage .cut { filter: none; }

/* Parcours prothèse : même écart entre toutes les étapes, quelle que soit la longueur du texte */
.journey ol { grid-auto-rows: 1fr; margin-bottom: -22px; }
.journey li, .journey li:last-child { padding-bottom: 22px; }
/* Phrases sous les gros chiffres : une seule ligne sur ordinateur */
@media (min-width: 961px) { .hero-doc .facts span { max-width: none; white-space: nowrap; } }

/* Choix de la langue dans le chat */
.chat-top { grid-template-columns: auto 1fr auto auto; }
.chat-win .chat-top { grid-template-columns: 1fr auto auto; }
.chat-lang { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--bg-2); }
.chat-lang button { border: 0; background: none; font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 8px; border-radius: 7px; cursor: pointer; line-height: 1; }
.chat-lang button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
@media (max-width: 480px) { .chat-page .chat-logo { display: none; } .chat-page .chat-top { grid-template-columns: auto 1fr auto; gap: 10px; } .chat-lang button { padding: 5px 6px; } }

/* Boutons rendez-vous → WhatsApp : icône blanche dans le bouton bleu */
.btn .wa-ico { width: 18px; height: 18px; flex: none; color: #fff; }
.btn-sm .wa-ico { width: 16px; height: 16px; }
.btn:has(.wa-ico) { gap: 9px; }

/* Parcours prothèse : la ligne passe derrière les bulles, sans coupure */
.journey li::before { top: 12px; bottom: -12px; left: 10px; z-index: 0; }
.journey .dot { position: relative; z-index: 1; }
.qr-wa { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-grad); color: #fff !important; border-color: transparent !important; text-decoration: none; }
.qr-wa .wa-ico { width: 15px; height: 15px; color: #fff; flex: none; }
.msg .acts .btn .wa-ico { width: 18px; height: 18px; }

/* ============================================================
   V5.8 — pages de soins, menu déroulant « Soins », formulaire de tri
   ============================================================ */
/* Menu déroulant */
.dd { position: relative; display: flex; }
.dd-btn { font: inherit; font-size: 14.5px; color: var(--muted); background: none; border: 0; padding: 8px 12px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); background: var(--bg-2); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); min-width: 300px; padding: 8px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(15,23,42,.3); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 120; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-panel a { padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.dd-panel a:hover { background: var(--blue-l); color: var(--blue); }
.mm-label { padding: 16px 4px 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mm-soins { display: grid; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mm-soins a { padding: 9px 4px; font-size: 15.5px; color: var(--ink-2); }

/* Pages de soins */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.page-title { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .btns { margin-top: 28px; }
.page-body { padding-top: 0; }
.page-body .narrow > * + * { margin-top: 14px; }
.keypoints { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 32px); text-align: left; }
.keypoints h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.keypoints ul { display: grid; gap: 10px; }
.keypoints li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.keypoints li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.blocks { display: grid; gap: 14px; }
.block { display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3.5vw, 30px); text-align: left; }
.block .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.block h3 { font-size: 19px; letter-spacing: -.02em; margin: 8px 0 8px; }
.block p { color: var(--muted); font-size: 15px; }
.block p + p { margin-top: 10px; }
.block ul { display: grid; gap: 6px; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.block li { display: flex; gap: 10px; }
.block li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-top: 10px; flex: none; }
.note { background: var(--blue-l); border: 1px solid #d9e1ff; border-radius: var(--r); padding: 20px 24px; text-align: left; }
.note b { display: block; font-size: 16px; margin-bottom: 4px; }
.note p { font-size: 15px; color: var(--ink-2); }
.page-body .sub-head { margin-top: 40px !important; }
.risks { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3.5vw, 30px); text-align: left; }
.risks li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.risks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.risks b { color: var(--ink); font-weight: 600; }
.signature { font-size: 14px; color: var(--muted); text-align: center; padding-top: 10px; }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-links a { font-size: 14px; color: var(--blue); background: var(--blue-l); padding: 7px 14px; border-radius: 999px; }
@media (max-width: 640px) { .block { grid-template-columns: 1fr; gap: 10px; } .block h3 { margin-top: 0; } }

/* Formulaire de tri (sous le hero) */
.qf-sec { padding: clamp(64px, 8vw, 104px) 0 0; scroll-margin-top: 84px; }
.qf { position: relative; display: grid; min-height: 380px; }
.qf-card { grid-area: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(15,23,42,.35); text-align: left; opacity: 0; transition: opacity .3s ease, transform .35s var(--ease); }
.qf-card.from-right { transform: translateX(24px); }
.qf-card.from-left { transform: translateX(-24px); }
.qf-card.in { opacity: 1; transform: none; }
.qf-card.out { opacity: 0; transform: translateX(-16px); pointer-events: none; }
.qf-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.qf-step { font-size: 13px; font-weight: 600; color: var(--blue); }
.qf-back { font: inherit; font-size: 13.5px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.qf-back:hover { color: var(--ink); }
.qf-bar { height: 4px; border-radius: 4px; background: var(--bg-2); margin: 12px 0 26px; overflow: hidden; }
.qf-bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; transition: width .4s var(--ease); }
.qf-q { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -.025em; line-height: 1.25; margin-bottom: 20px; }
.qf-p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.qf-opts { display: grid; gap: 10px; }
.qf-opt { font: inherit; font-size: 16px; font-weight: 500; text-align: left; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.qf-opt:hover { border-color: #bfcdff; background: #fafbff; }
.qf-opt.on { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.qf-form { display: grid; gap: 12px; }
.qf-in { font: inherit; font-size: 16px; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; outline: none; transition: border-color .2s; }
.qf-in:focus { border-color: var(--blue); }
.qf-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.qf-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.qf-check a { color: var(--blue); text-decoration: underline; }
.qf-err { min-height: 20px; font-size: 13.5px; color: #c2410c; }
.qf-send, .qf-wa { width: 100%; }
.qf-done { text-align: center; }
.qf-done .qf-bar { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .qf-card { transition: none; } }

/* V5.9 : boutons sous le message non éligible */
.qf-btns { display: grid; gap: 10px; }
.qf-btns .btn { width: 100%; white-space: normal; text-align: center; }

/* ============================================================
   ARTICLES (Pers & Publicaties) — pages servies par le Worker
   ============================================================ */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.cat-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cat-tabs a:hover { border-color: #cfd5e2; }
.cat-tabs a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.ac-grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ac { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ac:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .25); }
.ac > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.ac-img { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; }
.ac-ph { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.ac-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ac-body time { font-size: 12.5px; color: var(--muted); }
.ac-body h2 { font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.ac-body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.pager a { font-weight: 600; color: var(--blue); }
.art-meta { font-size: 14px; color: var(--muted); margin-top: 14px; }
.art-meta a { color: var(--blue); }
.art .eyebrow { text-decoration: none; }
.art-cover { margin: 0 0 34px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.art-cover img { width: 100%; height: auto; display: block; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 24px; line-height: 1.3; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 20px; line-height: 1.35; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 17px; color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; color: var(--ink); font-style: italic; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.art-cta { margin-top: 56px; }
.art-rel-t { margin: 56px 0 20px; font-size: 22px; }
/* Bandeau « ce site existe dans votre langue » */
.lang-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; padding: 11px 12px 11px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); max-width: calc(100% - 24px); }
.lang-banner a { color: #fff; font-weight: 700; white-space: nowrap; }
.lang-banner button { background: rgba(255,255,255,.14); color: #fff; border: 0; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; }
@media (max-width: 560px) { .lang-banner { left: 12px; right: 12px; transform: none; bottom: 84px; border-radius: 16px; font-size: 13.5px; } .lang-banner span { flex: 1; } }

/* 06/10 — rendez-vous sur Doctor Anytime : logo (rond blanc) dans le bouton bleu */
.btn .da-ico { width: 20px; height: 20px; flex: none; }
.btn-sm .da-ico { width: 17px; height: 17px; }
.btn:has(.da-ico) { gap: 9px; }
.qr-wa .da-ico { width: 16px; height: 16px; flex: none; }
