/* ==========================================================
   PhysioRun Lab — Kiné spécialisé course à pied (Montpellier)
   Identité : bleu nuit #0F172B / jaune #FFC106 / Anton + Inter
   ========================================================== */

:root {
    --navy: #0f172b;
    --navy-2: #16254f;
    --navy-3: #1e2f63;
    --yellow: #ffc106;
    --gold: #d9a406;
    --ink: #0f172a;
    --gray: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    --ok: #15803d;
    --err: #b91c1c;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 43, .25);
    --shadow-lg: 0 24px 60px -24px rgba(15, 23, 43, .45);
    --font-display: 'Anton', 'Impact', sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --maxw: 1180px;
    --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--gray);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; position: relative; }
.section--light { background: var(--light); }
.section--dark { background: var(--navy); color: rgba(248, 250, 252, .82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow); }
.h2 {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
    font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.12; margin-bottom: 18px;
}
.lead { font-size: 1.15rem; max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.hl { color: var(--gold); }
.section--dark .hl, .hero .hl { color: var(--yellow); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 24px -8px rgba(255, 193, 6, .65); }
.btn--primary:hover { background: #ffd23f; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-3); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: #141c30;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.brand strong { color: var(--yellow); font-weight: 400; }
.brand small { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.nav { display: none; align-items: center; gap: 26px; }
.nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a.is-active { color: var(--yellow); }
.nav a.is-active::after { transform: scaleX(1); }
.mobile-nav a.is-active:not(.btn) { color: var(--yellow); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; will-change: transform; }
.header-cta { display: none; }
.burger { margin-left: auto; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, 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); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #141c30; padding: 12px 20px 28px; display: none; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.1); z-index: 99; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav .btn { margin-top: 18px; border: 0; }
@media (min-width: 960px) {
    .nav, .header-cta { display: flex; }
    .burger, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: rgba(248, 250, 252, .85);
    background:
        radial-gradient(900px 520px at 78% 18%, rgba(22, 37, 79, .95), transparent 70%),
        radial-gradient(600px 420px at 8% 100%, rgba(255, 193, 6, .10), transparent 70%),
        var(--navy);
    padding: 88px 0 96px;
}
.hero::after { /* lignes de piste d'athlétisme */
    content: ""; position: absolute; inset: auto -10% -140px -10%; height: 280px; opacity: .10;
    background: repeating-linear-gradient(172deg, transparent 0 26px, var(--yellow) 26px 28px);
    transform: skewY(-4deg); pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero h1 {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
    color: var(--white); font-size: clamp(2.3rem, 6.2vw, 4.1rem); line-height: 1.06; margin-bottom: 22px;
}
.hero__lead { font-size: 1.2rem; max-width: 620px; color: rgba(248, 250, 252, .85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 193, 6, .10); border: 1px solid rgba(255, 193, 6, .28);
    color: var(--yellow); font-size: .85rem; font-weight: 700;
}
.hero-card {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px;
    padding: 30px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.5rem; color: var(--white); margin-bottom: 18px; }
.hero-card li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 1rem; }
.hero-card li:first-child { border-top: 0; }
.ico { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-card .ico { color: var(--yellow); margin-top: 3px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.25fr .75fr; } }

/* ---------- Intro / texte SEO ---------- */
.intro { display: grid; gap: 40px; align-items: start; }
.intro p { max-width: 62ch; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; color: var(--navy); letter-spacing: .02em; }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.2fr .8fr; gap: 64px; } .stat-row { grid-template-columns: 1fr; } }

/* ---------- Pathologies ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    box-shadow: 0 1px 2px rgba(15, 23, 43, .04); transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: .98rem; margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.note { margin-top: 36px; padding: 20px 24px; background: var(--navy); color: rgba(255,255,255,.88); border-radius: var(--radius); display: flex; gap: 14px; align-items: flex-start; }
.note .ico { color: var(--yellow); margin-top: 3px; }
.note p { margin: 0; }

@media (min-width: 900px) { .intro--single { grid-template-columns: 1fr; } }
.intro--single p { max-width: 70ch; }

/* ---------- Carte du corps (détail au survol d'un numéro) ---------- */
.bodymap { position: relative; display: grid; gap: 22px; }
.bodymap__fig { position: relative; margin: 0 auto; width: 100%; max-width: 330px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); order: -1; }
.bodymap__fig img { display: block; width: 100%; height: auto; border-radius: 21px; }
.bodymap__col { display: grid; gap: 10px; align-content: center; }

.label {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 999px;
    background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 43, .05);
    font-weight: 700; font-size: .95rem; color: var(--ink); text-align: left; cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.label:hover, .label.is-active { border-color: var(--navy); box-shadow: var(--shadow); background: #fffbea; }
.num { display: grid; place-items: center; flex: 0 0 auto; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--navy); color: var(--yellow); font-size: .8rem; font-weight: 800; }

.pin { position: absolute; z-index: 3; transform: translate(-50%, -50%); }
.pin.is-active { z-index: 8; }
.dot {
    display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 13px;
    border: 2px solid var(--white); background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 800; cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 193, 6, .6), 0 2px 6px rgba(15, 23, 43, .35);
    animation: dot-pulse 2.6s ease-out infinite; transition: background .15s, color .15s, scale .15s;
}
.pin.is-active .dot, .dot:hover { background: var(--navy); color: var(--yellow); scale: 1.25; animation: none; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 193, 6, .6), 0 2px 6px rgba(15, 23, 43, .35); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 193, 6, 0), 0 2px 6px rgba(15, 23, 43, .35); } }

/* Bulle d'information */
.pop {
    position: absolute; left: 50%; bottom: calc(100% + 16px); width: 260px; padding: 16px 18px;
    background: var(--navy); color: rgba(248, 250, 252, .88); border-radius: 14px; box-shadow: var(--shadow-lg);
    transform: translateX(calc(-50% + var(--shift, 0px))) translateY(6px);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s, visibility .15s;
    text-align: left; font-size: .9rem; line-height: 1.5; white-space: normal;
}
.pop::after { content: ""; position: absolute; top: 100%; left: calc(50% - var(--shift, 0px)); margin-left: -7px; border: 7px solid transparent; border-top-color: var(--navy); }
.pop h3 { color: var(--white); font-size: 1rem; margin: 0 0 6px; }
.pop p { margin: 0; }
.pop .tag { color: var(--yellow); margin-bottom: 4px; }
.pin.is-active .pop { opacity: 1; visibility: visible; transform: translateX(calc(-50% + var(--shift, 0px))); }

.bodymap__lines { display: none; }
@media (min-width: 640px) and (max-width: 979px) { .bodymap__col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
    .bodymap { grid-template-columns: 1fr 330px 1fr; gap: 0 64px; align-items: stretch; }
    .bodymap__fig { order: 0; align-self: center; }
    .bodymap__col { display: flex; flex-direction: column; justify-content: space-around; padding: 6px 0; }
    .bodymap__col--left { align-items: flex-end; }
    .bodymap__col--right { align-items: flex-start; }
    .bodymap__lines { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: visible; }
    .bodymap__lines path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-opacity: .85; stroke-linejoin: round; transition: stroke .15s, stroke-width .15s; }
    .bodymap__lines path.is-active { stroke: var(--navy); stroke-width: 2.5; }
}

/* ---------- À propos du kiné ---------- */
.about { display: grid; gap: 40px; align-items: center; margin-bottom: 64px; }
.about__photo { margin: 0; position: relative; max-width: 230px; width: 100%; }
.about__frame { position: relative; }
.about__frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: var(--yellow); z-index: 0; }
.about__photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.about__photo figcaption { margin-top: 30px; text-align: center; }
.about__photo figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.about__photo figcaption span { font-size: .95rem; font-weight: 600; color: var(--gold); }

/* Formations : logos + cadre Clinique du Coureur */
.formations { grid-template-columns: 1fr; }
.logo-slot { min-height: 56px; display: flex; align-items: center; margin-bottom: 16px; text-decoration: none; transition: transform .2s, opacity .2s; }
.logo-slot:hover { transform: scale(1.03); opacity: .85; }
.logo-slot img { align-self: flex-start; }
.logo-slot img { display: block; max-height: 56px; width: auto; max-width: 100%; }
.diploma--cdc .logo-slot img { max-height: 92px; }
.logo-slot:has(img[src*="kinesport"]) img { max-height: 48px; }
.logo-slot:has(img[src*="traick"]) img { max-height: 84px; }
.logo-fallback { display: none; }
.logo-slot.no-img .logo-fallback { display: block; }
.logo-fallback { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .05em; color: var(--navy); line-height: 1.1; }
.logo-fallback b { font-weight: 400; color: var(--gold); }
.modules { margin-top: 18px; display: grid; gap: 12px; }
.module { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--light); border: 1px solid var(--line); }
.module__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); text-align: center; letter-spacing: .02em; }
.module h4 { font-size: 1rem; margin: 0 0 2px; }
.module p { font-size: .9rem; margin: 0; }
.module--big { background: var(--navy); border-color: var(--navy); padding: 20px 18px; }
.module--big .module__num { font-size: 2.6rem; color: var(--yellow); line-height: 1; }
.module--big h4 { color: var(--white); font-size: 1.2rem; line-height: 1.25; margin-bottom: 4px; }
.module--big p { color: rgba(248, 250, 252, .78); }
@media (min-width: 900px) {
    .formations { grid-template-columns: 1fr 1.35fr; align-items: stretch; }
    .diploma--cdc { grid-column: 2; grid-row: 1 / span 2; }
}
.about .btn { margin-top: 8px; }
.formations-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.6rem; margin-bottom: 20px; }
@media (min-width: 860px) { .about { grid-template-columns: 230px 1fr; gap: 64px; } }
@media (max-width: 859px) { .about__photo { margin: 0 auto 18px; } }

/* ---------- Rééducation : étapes ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 32px; }
    #reeducation .figure { width: 100%; margin-right: 0; } .split--rev > :first-child { order: 2; } }
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.steps li::before {
    content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-size: 1.5rem;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { margin: 0; font-size: .98rem; }
.figure { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.figure img { border-radius: 12px; margin: 0 auto; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.figure--narrow img { max-height: 520px; width: auto; }

/* ---------- Bilan running ---------- */
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.feature { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; margin: 0; color: rgba(248, 250, 252, .75); }
.feature .ico { width: 30px; height: 30px; color: var(--yellow); margin-bottom: 14px; }
.packs { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 800px) { .packs { grid-template-columns: 1fr 1fr; } }
.pack { background: var(--white); color: var(--gray); border-radius: 20px; padding: 32px; position: relative; }
.pack--featured { outline: 3px solid var(--yellow); }
.pack__badge { position: absolute; top: -13px; right: 24px; background: var(--yellow); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.section--dark .pack h3 { color: var(--ink); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .03em; }
.checklist li { display: flex; gap: 10px; padding: 7px 0; font-size: .98rem; }
.checklist .ico { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }
.pack .btn { margin-top: 22px; width: 100%; }

/* ---------- Formations ---------- */
.formations { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .formations { grid-template-columns: 1fr 1.35fr; align-items: stretch; } }
.diploma { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: left; position: relative; }
.diploma__tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--navy); color: var(--yellow); padding: 5px 12px; border-radius: 8px; margin-bottom: 14px; line-height: 1.3; }
.diploma h3 { font-size: 1.2rem; margin-bottom: 6px; }
.diploma .by { font-size: .85rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; display: block; }
.diploma p { font-size: .96rem; margin: 0; }
.approach { margin-top: 44px; display: grid; gap: 28px; align-items: center; background: var(--navy); border-radius: 24px; padding: 36px; color: rgba(248, 250, 252, .85); }
.approach h3 { color: var(--white); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.6rem; }
.approach ul li { display: flex; gap: 10px; padding: 6px 0; }
.approach .ico { color: var(--yellow); width: 20px; height: 20px; margin-top: 3px; }
@media (min-width: 900px) { .approach { grid-template-columns: 1fr 1fr; padding: 48px; gap: 48px; } }

/* ---------- Planning / RDV ---------- */
.booking { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; color: var(--gray); }
.booking__grid { display: grid; }
@media (min-width: 960px) { .booking__grid { grid-template-columns: 1.55fr 1fr; } }
.booking__main { padding: 30px; }
.booking__side { background: var(--navy); color: rgba(248,250,252,.85); padding: 30px; }
.booking__side h3 { color: var(--white); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.4rem; }
.booking__side dl { margin: 0; }
.booking__side dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-top: 18px; }
.booking__side dd { margin: 4px 0 0; }
.booking__side a { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.online-box { display: none; margin-bottom: 26px; padding: 18px 20px; border-radius: 14px; background: #fff8dc; border: 1px solid #f3dc82; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.online-box.is-visible { display: flex; }
.online-box p { margin: 0; font-weight: 600; color: var(--ink); }

.step { margin-bottom: 30px; }
.step__title { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .9rem; }

.motifs { display: grid; gap: 10px; }
.motif { position: relative; }
.motif input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.motif label { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.motif label strong { display: block; color: var(--ink); }
.motif label span { font-size: .88rem; color: var(--muted); }
.motif input:checked + label { border-color: var(--yellow); background: #fffbea; box-shadow: 0 0 0 3px rgba(255, 193, 6, .25); }
.motif input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.week-nav__label { font-weight: 700; color: var(--ink); text-transform: capitalize; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.icon-btn:hover:not([disabled]) { border-color: var(--yellow); background: #fffbea; }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.day { border: 2px solid var(--line); background: var(--white); border-radius: 12px; padding: 8px 2px; text-align: center; cursor: pointer; line-height: 1.2; transition: border-color .15s, background .15s; }
.day small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.day b { display: block; font-size: 1.1rem; color: var(--ink); }
.day:hover:not([disabled]) { border-color: var(--yellow); }
.day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.day[aria-pressed="true"] small { color: var(--yellow); }
.day[aria-pressed="true"] b { color: var(--white); }
.day[disabled] { opacity: .35; cursor: not-allowed; background: var(--light); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; min-height: 52px; }
.slot { padding: 11px 6px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s; }
.slot:hover { border-color: var(--yellow); }
.slot[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.slots__empty { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; margin: 0; padding: 10px 0; }

.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); transition: border-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 193, 6, .35); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recap { padding: 14px 16px; background: var(--light); border: 1px dashed #cbd5e1; border-radius: 12px; font-size: .95rem; margin-bottom: 16px; }
.recap b { color: var(--ink); }
.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: #ecfdf3; color: #14532d; border: 1px solid #a7f3d0; }
.form-msg--err { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }
.fineprint { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--ink); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--yellow); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA final + footer ---------- */
.cta-band { text-align: center; background: var(--yellow); color: var(--navy); padding: 64px 0; }
.cta-band .h2 { color: var(--navy); }
.cta-band p { max-width: 620px; margin: 0 auto 26px; color: #422e00; }
.cta-band .btn--dark { font-size: 1.05rem; }
.site-footer { background: var(--navy); color: rgba(248, 250, 252, .7); padding: 52px 0 96px; font-size: .94rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer li { padding: 3px 0; }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(248, 250, 252, .5); }

/* Barre RDV mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 23, 43, .96); border-top: 1px solid rgba(255,255,255,.1); display: flex; gap: 10px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 13px 16px; }
@media (min-width: 960px) { .sticky-cta { display: none; } .site-footer { padding-bottom: 52px; } }

/* ---------- Animations d'apparition (activées seulement avec JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
/* ---------- En-tête et pied de page du site (copie de physiorun-lab.fr) ---------- */
.site-top { background: #141c30; position: relative; z-index: 101; }
.site-top__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-top__logo, .site-foot__logo { font-family: var(--font-display); font-weight: 400; font-style: italic; text-transform: uppercase; color: #fff; text-decoration: none; font-size: 1.5rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.site-top__logo { font-style: normal; font-size: 1.625rem; }
.site-top__nav a.is-current { color: var(--yellow); }
.site-top__rdv { background: var(--yellow); color: #0f172b; font-weight: 600; font-size: 1rem; padding: 8px 18px; border-radius: 3px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.site-top__rdv:hover { background: #ffd23f; }
.site-top__nav { display: none; align-items: center; gap: 4px; }
.site-top__nav a { color: #fff; text-decoration: none; padding: 10px; font-size: 1rem; transition: color .2s; }
.site-top__nav a:hover { color: var(--yellow); }
.site-top__toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: rgba(255, 255, 255, .85); font-size: 1rem; cursor: pointer; padding: 8px 0; }
.site-top__toggle i { width: 20px; height: 2px; background: currentColor; position: relative; display: block; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.site-top__nav.is-open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: #141c30; padding: 8px 24px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 1000px) {
    .site-top__inner { min-height: 95px; }
    .site-top__nav { display: flex; }
    .site-top__toggle { display: none; }
}
.site-header { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-header__label { color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .95rem; }
@media (min-width: 960px) { .site-header__label { display: none; } }

.site-foot { background: #0f172b; color: #fff; padding: 56px 24px 100px; }
.site-foot__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; align-items: center; justify-items: center; text-align: center; }
.site-foot__logo { font-size: 1.75rem; }
.site-foot__brand p { margin: 12px 0 0; font-weight: 500; line-height: 1.5; }
.site-foot__actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.foot-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: #0f172b; font-weight: 600; font-size: .95rem; padding: 12px 24px; border-radius: 3px; text-decoration: none; transition: background .2s; }
.foot-btn:hover { background: #ffd23f; }
.foot-btn .ico { width: 16px; height: 16px; }
.site-foot__social { display: flex; gap: 8px; }
.soc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10%; color: #fff; transition: transform .2s; }
.soc:hover { transform: translateY(-2px); }
.soc .ico { width: 20px; height: 20px; }
.soc--in { background: #0077b5; }
.soc--ig { background: #fff; color: #d62976; }
.site-foot__legal { max-width: 1240px; margin: 36px auto 0; text-align: center; }
.site-foot__copy { margin: 0 0 6px; font-weight: 600; font-size: 1rem; }
.site-foot__legal nav { display: flex; flex-wrap: wrap; justify-content: center; }
.site-foot__legal a { color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; padding: 8px 14px; }
.site-foot__legal a:hover { color: var(--yellow); }
@media (min-width: 900px) {
    .site-foot { padding-bottom: 40px; }
    .site-foot__inner { grid-template-columns: 1fr auto 1fr; text-align: left; }
    .site-foot__brand { justify-self: start; }
    .site-foot__social { justify-self: end; }
}
@media (max-width: 959px) { .cta-band { padding-bottom: 96px; } } /* laisse la place à la barre RDV mobile */
@media (max-width: 600px) {
    .section { padding: 60px 0; }
    .hero { padding: 56px 0 72px; }
    .booking__main, .booking__side { padding: 22px 18px; }
    .stat strong { font-size: 1.7rem; }
    .day { padding: 8px 0; }
    .day b { font-size: 1rem; }
}
