/* Anaïs Le Bihan, ostéopathe — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Fraunces"; src: url("/exemples/osteopathe/fonts/fraunces-soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/exemples/osteopathe/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/exemples/osteopathe/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Contrastes (WCAG) : ink/ivory 12.4 · muted/ivory 6.0 · cream/forest 9.6 · clay-dark/ivory 5.4 · ivory/clay 5.6 · mist/forest 5.6 */
:root {
  --ivory: #F4EFE4;
  --card: #FBF8F1;
  --mint: #E1E9E0;
  --forest: #2F4A3C;
  --forest-2: #3B5B4A;
  --sage: #5E7A68;
  --ink: #1F2E27;
  --muted: #55655C;
  --mist: #BCCCC1;
  --clay: #A9502E;
  --clay-2: #BC6038;
  --clay-dark: #A04A28;
  --line: rgba(31, 46, 39, .14);
  --line-light: rgba(244, 239, 228, .16);
  --radius: 22px;
  --shadow: 0 1px 0 rgba(31, 46, 39, .04), 0 26px 50px -32px rgba(31, 46, 39, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --font: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 18px/1.6 var(--font); }
main, .foot { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 96; font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--clay-dark); }
.fees h2 em { color: #F1B596; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
.fees :focus-visible, .foot :focus-visible { outline-color: #F1B596; }
small { font-size: .84em; }

/* ---------- Bandeau démo ---------- */
.demo-bar { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; background: var(--forest); color: var(--mist); font-size: 14px; text-align: center; }
.demo-bar strong { color: var(--ivory); font-weight: 600; }
.demo-bar a { color: #F1B596; font-weight: 600; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: 0; border-radius: 999px; font: 500 17px/1.1 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: transform .25s var(--ease), background-color .2s ease, color .2s ease; }
.btn-clay { background: var(--clay); color: var(--ivory); }
.btn-clay:hover { background: var(--clay-2); transform: translateY(-2px); }
.btn-clay:active { transform: translateY(1px) scale(.98); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 228, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.top.is-scrolled { border-color: var(--line); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: grid; }
.brand-name { font: 500 22px/1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -0.02em; }
.brand-sub { margin-top: 3px; font-size: 14px; color: var(--muted); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 16px; text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.top-cta { padding: 11px 20px; border-radius: 999px; background: var(--forest); color: var(--ivory); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.top-cta:hover { background: var(--forest-2); }

/* ---------- Hero + carte ---------- */
.hero { padding: 48px 0 90px; background: radial-gradient(700px 500px at 90% 30%, rgba(225, 233, 224, .9), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.hero h1 { margin-top: 16px; font-size: clamp(42px, 5.6vw, 78px); }
.hero-lead { margin-top: 20px; max-width: 32em; font-size: 20px; color: var(--muted); }
.zone-card { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); min-height: 280px; }
.zone-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 14px; font-weight: 500; }
.zone-title { margin-top: 10px; font-size: 32px; }
.zone-card > p { margin-top: 8px; color: var(--muted); }
.zone-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.zone-list li { position: relative; padding-left: 24px; }
.zone-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.zone-seance { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--mint); color: var(--forest); font-weight: 500; }
.zone-alert { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #F7E3DA; color: #6E2A12; font-size: 16px; }
.zone-card .btn { margin-top: 16px; }

.body-map { position: relative; width: min(100%, 300px); margin-inline: auto; aspect-ratio: 240 / 410; }
.body-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spot { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; padding: 0; border: 0; border-radius: 50%; background: var(--clay); color: var(--ivory); cursor: pointer; box-shadow: 0 0 0 0 rgba(169, 80, 46, .5); animation: ping 2.8s ease-out infinite; transition: transform .25s var(--ease), background-color .2s ease; }
.spot span { font-family: var(--font); position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 8px; padding: 3px 9px; border-radius: 8px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(31, 46, 39, .5); pointer-events: none; }
.spot:hover { transform: scale(1.12); }
.spot[aria-pressed="true"] { background: var(--forest); animation: none; box-shadow: 0 0 0 6px rgba(47, 74, 60, .2); }
.spot[aria-pressed="true"] span { background: var(--forest); color: var(--ivory); }
.spot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); }
@keyframes ping { 70% { box-shadow: 0 0 0 14px rgba(169, 80, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 80, 46, 0); } }
.spot-tete { left: 50%; top: 10.5%; }
.spot-nuque { left: 50%; top: 19.5%; }
.spot-epaule { left: 77%; top: 26%; }
.spot-dos { left: 50%; top: 35%; }
.spot-lombes { left: 50%; top: 47%; }
.spot-hanche { left: 66%; top: 56%; }
.spot-genou { left: 41%; top: 78%; }
.spot-pied { left: 41%; top: 95%; }
.spot-epaule span, .spot-hanche span { left: auto; right: 100%; margin: 0 8px 0 0; }

/* ---------- Pour qui ---------- */
.who { padding: 100px 0; background: var(--mint); }
.who-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.who-photo { margin: 0; }
.who-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 120px 28px 28px; box-shadow: var(--shadow); }
.kicker { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); }
.who h2, .fees h2, .about h2, .book h2 { margin-top: 10px; font-size: clamp(36px, 4.6vw, 58px); }
.who-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.who-list li { padding: 16px 20px; border-radius: 18px; background: var(--card); }
.who-list strong { display: block; font: 500 22px/1.2 var(--serif); font-variation-settings: "SOFT" 100; }
.who-list span { color: var(--muted); font-size: 16px; }

/* ---------- Tarifs ---------- */
.fees { padding: 100px 0; background: var(--forest); color: var(--ivory); }
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.fees .kicker { color: #F1B596; }
.section-lead { margin-top: 18px; max-width: 34em; font-size: 19px; color: var(--muted); }
.fees .section-lead { color: var(--mist); }
.price-list { margin: 26px 0 0; display: grid; gap: 8px; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--forest-2); }
.price-list dt { color: var(--mist); }
.price-list dd { margin: 0; font: 500 24px/1 var(--serif); font-variant-numeric: tabular-nums; }
.fine { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.fine-left { text-align: left; }
.fees .fine { color: var(--mist); }
.calc { padding: 26px; border-radius: var(--radius); background: var(--ivory); color: var(--ink); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); display: grid; gap: 16px; }
.calc h3 { font-size: 28px; }
.field { display: block; }
.field > span { display: block; margin: 0 0 6px 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select { width: 100%; padding: 13px 14px; border: 0; border-radius: 14px; background: var(--card); color: var(--ink); font: 500 17px var(--font); box-shadow: inset 0 0 0 1.5px rgba(31, 46, 39, .28); }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--forest), 0 0 0 4px rgba(169, 80, 46, .35); }
.stepper { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(31, 46, 39, .28); }
.stepper button { width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--mint); color: var(--ink); font: 500 22px/1 var(--font); cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 38px; text-align: center; font: 500 26px/1 var(--serif); }
.calc-out { padding: 18px; border-radius: 18px; background: var(--forest); color: var(--ivory); }
.bar { height: 12px; border-radius: 999px; background: var(--forest-2); overflow: hidden; }
.bar-paid { display: block; height: 100%; width: 0; border-radius: 999px; background: #F1B596; transition: width .6s var(--ease); }
.calc-out dl { display: grid; gap: 8px; margin: 14px 0 0; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; }
.calc-out dt { color: var(--mist); }
.calc-out dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-main { padding-top: 10px; border-top: 1px solid var(--line-light); }
.calc-main dt { color: var(--ivory); font-weight: 500; }
.calc-main dd { font: 500 34px/1 var(--serif); color: #F1B596; }

/* ---------- Le cabinet ---------- */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.quote { margin-top: 24px; padding-left: 20px; border-left: 3px solid var(--clay); font: italic 400 24px/1.3 var(--serif); font-variation-settings: "SOFT" 100; }
.about-photo { margin: 0; justify-self: center; width: min(100%, 380px); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 190px 190px 28px 28px; box-shadow: var(--shadow); }

/* ---------- Rendez-vous ---------- */
.book { padding: 100px 0; background: var(--mint); }
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-top: 34px; align-items: start; }
.slots { display: grid; gap: 16px; }
.slots[hidden] { display: none; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.day { padding: 12px 8px; border: 0; border-radius: 16px; background: var(--card); color: var(--ink); font: 500 16px/1.2 var(--font); cursor: pointer; text-align: center; box-shadow: inset 0 0 0 1.5px rgba(31, 46, 39, .2); transition: transform .25s var(--ease), background-color .2s ease; }
.day:hover { transform: translateY(-2px); }
.day small { display: block; color: var(--muted); font-weight: 400; }
.day[aria-checked="true"] { background: var(--forest); color: var(--ivory); box-shadow: none; }
.day[aria-checked="true"] small { color: var(--mist); }
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hour { padding: 12px 6px; border: 0; border-radius: 12px; background: var(--card); color: var(--ink); font: 500 17px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(31, 46, 39, .2); transition: background-color .2s ease, transform .25s var(--ease); }
.hour:hover:not(:disabled) { transform: translateY(-2px); }
.hour:disabled { color: #8A978F; background: transparent; text-decoration: line-through; box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.hour[aria-checked="true"] { background: var(--clay); color: var(--ivory); box-shadow: none; }
.book-form, .book-done { padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.pick { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--mint); color: var(--forest); font-weight: 500; }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-wide { grid-column: 1 / -1; }
.form-error { min-height: 1.4em; margin: 12px 0 8px; color: #B3261E; font-weight: 500; font-size: 16px; }
.book-done { text-align: center; }
.book-done[hidden] { display: none; }
.book-done:focus { outline: none; }
.book-done h3 { margin-top: 10px; font-size: 32px; }
.book-done p { margin-top: 8px; color: var(--muted); }
.book-done .btn { margin-top: 16px; }
.done-mark { width: 84px; margin: 0 auto; animation: pop .6s var(--ease) both; }
.done-tick { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .25s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Pied de page ---------- */
.foot { padding: 56px 0; background: var(--forest); color: var(--mist); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { margin-bottom: 12px; color: var(--ivory); font-size: 26px; }
.foot a { color: var(--ivory); }
.foot-small { margin-top: 6px; font-size: 14px; }
.foot-credit a { color: #F1B596; font-weight: 500; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero-grid, .who-grid, .fees-grid, .about-grid, .book-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; width: min(100%, 320px); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .demo-long { display: none; }
  .top-inner { min-height: 62px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .top-cta { display: none; }
  .hero { padding: 28px 0 64px; }
  .hero-lead { font-size: 18px; }
  .zone-card { padding: 18px; }
  .who, .fees, .about, .book { padding: 72px 0; }
  .calc, .book-form, .book-done { padding: 20px 16px; }
  .b-grid { grid-template-columns: 1fr; }
  .hours { grid-template-columns: repeat(3, 1fr); }
  .foot { padding-bottom: 100px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transition: transform .35s var(--ease), opacity .3s ease; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 16px 30px -10px rgba(31, 46, 39, .6); }
  .sticky-cta.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Les éléments de grille peuvent rétrécir sous la largeur de leur contenu */
.hero-grid > *, .who-grid > *, .fees-grid > *, .about-grid > *, .book-grid > * { min-width: 0; }
