/* Cabinet infirmier des Courtils — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait.
   Public souvent âgé : corps de texte à 18 px, police Atkinson Hyperlegible (dessinée pour les
   malvoyants), cibles tactiles de 48 px minimum, contrastes AA mesurés ci-dessous. */

@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/exemples/cabinet-infirmier/fonts/atkinson.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("/exemples/cabinet-infirmier/fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Contrastes mesurés (WCAG, 03/10) : ink/paper 14.5 · muted/paper 6.7 · muted/card 7.4 · muted/mint 6.0 ·
   petrol/paper 7.0 · blanc/petrol 7.7 · rust/paper 5.6 · rust/card 6.2 · rust/mint 5.0 · rust/prep 5.5 ·
   paper/night 15.5 · muted-night/night 8.4 · muted-night/night-2 6.8 · blanc/rust 6.2 ·
   blanc/bouton désactivé 5.5 (le libellé y dit quoi faire, il doit rester lisible) */
:root {
  --paper: #F2F5F2;
  --card: #FFFFFF;
  --mint: #DCEBE4;
  --mint-2: #C9DED4;
  --ink: #16242B;
  --muted: #48585F;
  --petrol: #1F5A66;
  --petrol-2: #2A6E7C;
  --apricot: #F6D2B3;
  --rust: #A8400F;
  --night: #0F1E24;
  --night-2: #17303A;
  --muted-night: #A7B9BF;
  --line: rgba(22, 36, 43, 0.13);
  --radius: 20px;
  --shadow: 0 1px 0 rgba(22, 36, 43, .05), 0 22px 46px -30px rgba(22, 36, 43, .55);
  /* Lift de carte : même valeur pour les soins, l'équipe et les choix du formulaire */
  --lift: translateY(-3px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); }
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-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--petrol); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 8px; }
.backstage :focus-visible, .foot :focus-visible { outline-color: var(--apricot); }

/* ---------- 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(--night); color: var(--muted-night); font-size: 14px; text-align: center; }
.demo-bar strong { color: var(--paper); font-weight: 700; }
.demo-bar a { color: var(--apricot); font-weight: 700; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border: 0; border-radius: 14px; font: 700 17px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 18px; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 12px 24px -14px rgba(31, 90, 102, .9); }
.btn-primary:hover { background: var(--petrol-2); transform: translateY(-2px); }
.btn-primary:disabled { background: #5E6B70; box-shadow: none; transform: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(242, 245, 242, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(22, 36, 43, .5); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.mark-road { transition: stroke-dashoffset .8s var(--ease); }
.brand:hover .mark-road { stroke-dashoffset: -14; }
.brand-name { display: flex; flex-direction: column; font: 400 24px/1 var(--serif); }
.brand-name small { margin-top: 4px; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 16px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow, .kicker { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.hero h1 { margin: 16px 0 20px; font-size: clamp(40px, 5.4vw, 66px); }
.hero-lead { max-width: 34em; font-size: 20px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 16px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-tour .status-dot { background: var(--rust); animation: blink 2.2s ease-in-out infinite; }
.status.is-open .status-dot { background: #2F7D4F; box-shadow: 0 0 0 4px rgba(47, 125, 79, .18); }
@keyframes blink { 50% { opacity: .35; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.map { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(22, 36, 43, .16)); }
.map-label { font: 700 15px var(--sans); fill: var(--muted); }
.map-time { font: 400 22px var(--serif); fill: var(--ink); }
.ping { opacity: 0; transform-box: fill-box; transform-origin: center; }
.house { animation: house-in .7s var(--ease) both; }
.h1 { animation-delay: .2s; } .h2 { animation-delay: .35s; } .h3 { animation-delay: .5s; }
.h1 .ping { animation: ping 14s ease-out 2.4s infinite; }
.h2 .ping { animation: ping 14s ease-out 5.6s infinite; }
.h3 .ping { animation: ping 14s ease-out 9.4s infinite; }
@keyframes ping { 0% { opacity: .45; transform: scale(.4); } 12% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes house-in { from { opacity: 0; translate: 0 10px; } }
.wave { animation: wave 5s ease-in-out infinite; }
.wave-2 { animation-delay: -2.5s; }
@keyframes wave { 50% { translate: 8px 0; } }

/* ---------- Engagements ---------- */
.promise { padding: 0 0 72px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise p { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.promise strong { font: 400 22px/1.2 var(--serif); }
.promise span { color: var(--muted); }

/* ---------- Sections ---------- */
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin-top: 10px; font-size: clamp(32px, 4vw, 48px); }
.section-lead { margin-top: 14px; font-size: 19px; color: var(--muted); }

/* ---------- Comment ça marche ---------- */
.how { padding: 72px 0; background: var(--mint); }
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 14px; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .7); }
.how-steps li::before { content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); color: #fff; font: 400 20px var(--serif); }
.how-steps strong { font-size: 19px; }
.how-steps span { color: var(--muted); }
.how-note { margin-top: 18px; color: var(--muted); }

.phone { justify-self: center; width: min(320px, 100%); padding: 14px; border-radius: 44px; background: var(--night); box-shadow: 0 40px 60px -30px rgba(15, 30, 36, .7); }
.phone-screen { display: flex; flex-direction: column; gap: 12px; min-height: 470px; padding: 20px 16px; border-radius: 32px; background: #EEF2F1; overflow: hidden; }
.phone-clock { text-align: center; font-weight: 700; font-size: 15px; color: var(--muted); }
.phone-call { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.phone-call-ava { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 800; font-size: 15px; }
.phone-call p { display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.phone-call p span { color: var(--muted); }
.phone.is-missed .phone-call p span { color: var(--rust); font-weight: 700; }
.sms { max-width: 92%; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--card); box-shadow: var(--shadow); font-size: 15px; line-height: 1.45; }
.sms small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.sms u { color: var(--petrol); font-weight: 700; }
.js .phone .sms { opacity: 0; transform: translateY(14px) scale(.96); transform-origin: left bottom; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .phone.show-1 .sms-in:not(.sms-late), .js .phone.show-2 .sms { opacity: 1; transform: none; }

/* ---------- Rendez-vous ---------- */
.booking { padding: 88px 0; }
.booking-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.steps { display: grid; gap: 18px; }
.step { margin: 0; min-width: 0; padding: 24px; border: 0; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.step-title { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 400 23px/1.2 var(--serif); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--mint); color: var(--petrol); font: 700 17px var(--sans); }
.step-hint { margin-top: 12px; color: var(--muted); font-size: 16px; }
.step-hint:empty { display: none; }
.step-hint b { color: var(--rust); }

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice, .care { position: relative; cursor: pointer; }
.choice input, .care input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s ease, background-color .2s ease, transform .25s var(--ease); }
.choice-body b { font-size: 19px; }
.choice-body small { color: var(--muted); font-size: 15px; line-height: 1.45; }
.choice-ico { width: 32px; height: 32px; color: var(--petrol); }
.choice:hover .choice-body, .care:hover span { transform: var(--lift); box-shadow: inset 0 0 0 2px var(--petrol); }
.choice input:checked + .choice-body { background: #EAF3EF; box-shadow: inset 0 0 0 3px var(--petrol); }
.choice input:focus-visible + .choice-body, .care input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 3px; }

.cares { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.care span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 72px; padding: 12px 16px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s ease, background-color .2s ease, transform .25s var(--ease); }
.care b { font-size: 17px; line-height: 1.25; }
.care small { color: var(--muted); font-size: 14px; }
.care input:checked + span { background: var(--petrol); box-shadow: none; color: #fff; }
.care input:checked + span small { color: #D6E8EC; }

.pros { display: flex; flex-wrap: wrap; gap: 10px; }
.pro { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); font: 700 16px var(--sans); cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.pro:hover { box-shadow: inset 0 0 0 2px var(--petrol); }
.pro[aria-pressed="true"] { background: #EAF3EF; box-shadow: inset 0 0 0 3px var(--petrol); }
.pro:disabled { opacity: .45; cursor: not-allowed; box-shadow: inset 0 0 0 2px var(--line); }
.pro-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 400 18px var(--serif); color: #fff; }
.pro-ava-any { background: var(--mint); color: var(--petrol); font-family: var(--sans); font-weight: 800; }
.pro-ava-gwenola { background: var(--petrol); }
.pro-ava-maelle { background: var(--rust); }

.days { display: flex; gap: 8px; margin-top: 18px; padding: 2px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 74px; padding: 10px 4px; border: 0; border-radius: 14px; background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); font: inherit; cursor: pointer; scroll-snap-align: start; transition: box-shadow .2s ease, background-color .2s ease; }
.day span { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.day b { font: 400 24px/1.1 var(--serif); }
.day small { font-size: 12px; color: var(--muted); }
.day:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--petrol); }
.day[aria-pressed="true"] { background: var(--petrol); box-shadow: none; color: #fff; }
.day[aria-pressed="true"] span, .day[aria-pressed="true"] small { color: #D6E8EC; }
.day:disabled { opacity: .45; cursor: not-allowed; }

.slots { margin-top: 10px; }
.slot-group + .slot-group { margin-top: 16px; }
.slot-group-title { margin-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--muted); }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border: 0; border-radius: 12px; background: #EAF3EF; color: var(--ink); font: 700 17px var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
.slot:hover { background: var(--mint-2); }
.slot[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.slot.is-entering { animation: slot-in .35s var(--ease) both; }
@keyframes slot-in { from { opacity: 0; transform: translateY(6px); } }
.slots-empty { padding: 16px; border-radius: 12px; background: var(--paper); color: var(--muted); }

.summary { position: sticky; top: 96px; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.summary h3 { font-size: 26px; }
.sum-lines { margin: 18px 0; }
.sum-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-lines dt { color: var(--muted); }
.sum-lines dd { margin: 0; font-weight: 700; text-align: right; }
.prep { margin-bottom: 18px; padding: 16px; border-radius: 14px; background: #FBF1E8; }
.prep-title { font-weight: 800; font-size: 15px; color: var(--rust); }
.prep ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.prep li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.4; }
.prep li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border: solid var(--rust); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.prep li.is-new { animation: prep-in .4s var(--ease) both; }
@keyframes prep-in { from { opacity: 0; transform: translateX(-6px); } }
.fine { margin-top: 12px; font-size: 14px; color: var(--muted); }

.request, .sent { padding: 32px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.request h3, .sent h3 { font-size: 30px; }
.request-recap { margin: 10px 0 22px; padding: 14px 16px; border-radius: 12px; background: #EAF3EF; font-weight: 700; }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.field small { font-weight: 400; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.field input { min-height: 52px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); font: 400 18px var(--sans); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--petrol); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 3px var(--rust); }
.request-privacy { margin-top: 18px; color: var(--muted); font-size: 16px; }
.form-error { margin-top: 12px; color: var(--rust); font-weight: 700; }
.form-error:empty { display: none; }
.request-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 22px; }

.sent { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.sent:focus { outline: none; }
.sent-illu { width: 72px; height: 72px; margin-bottom: 14px; }
.sent-check { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h3 em { color: var(--petrol); }
.sent-copy > p:not(.fine) { margin: 12px 0; color: var(--muted); }
.sent-copy .btn { margin-top: 18px; }
.sent-phone { padding: 22px; border-radius: 28px; background: #EEF2F1; }
.sent-phone-label { margin-bottom: 12px; font-weight: 700; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.sent-phone .sms { animation: prep-in .5s var(--ease) .4s both; }
.sms-link { margin-top: 12px; padding: 10px 16px; min-height: 44px; border: 0; border-radius: 12px; background: var(--card); color: var(--rust); font: 700 16px var(--sans); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(168, 64, 15, .35); }
.sms-link:hover { box-shadow: inset 0 0 0 2px var(--rust); }
.sent-cancelled { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); font-weight: 700; }
.sent.is-cancelled .sent-illu, .sent.is-cancelled h3 { opacity: .45; text-decoration: line-through; }

/* ---------- Espace patient ---------- */
.hero-account { margin-top: 18px; color: var(--muted); font-size: 16px; }
.hero-account a { color: var(--petrol); font-weight: 800; }
.sent-account { font-size: 16px; }
.sent-account a { color: var(--petrol); font-weight: 800; }
.request-prefill { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: #EAF3EF; font-size: 16px; font-weight: 700; color: var(--petrol); }
.account { padding: 0 0 88px; }
.account-grid { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; padding-top: 72px; border-top: 1px solid var(--line); }
.account-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.account-points li { position: relative; padding-left: 30px; }
.account-points li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border: solid var(--petrol); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.account-card { min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.acc-step { display: grid; gap: 14px; }
.acc-step:not([hidden]) { animation: prep-in .4s var(--ease) both; }
.acc-title { font: 400 26px/1.15 var(--serif); }
.acc-sub { color: var(--muted); }
.acc-sms { max-width: none; background: #EEF2F1; box-shadow: none; }
.acc-sms b { color: var(--rust); font-weight: 700; }
.acc-link { justify-self: center; min-height: 44px; padding: 8px 12px; border: 0; background: none; color: var(--petrol); font: 700 16px var(--sans); text-decoration: underline; cursor: pointer; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-head .acc-link { justify-self: auto; }
.acc-demo { padding: 10px 14px; border-radius: 12px; background: #FBF1E8; font-size: 15px; }
.acc-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.acc-empty { padding: 16px; border-radius: 14px; background: var(--paper); color: var(--muted); }
.appt { min-width: 0; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line); }
.appt.is-moved { box-shadow: inset 0 0 0 3px var(--petrol); animation: prep-in .5s var(--ease) both; }
.appt-when { font: 400 21px/1.2 var(--serif); }
.appt-when::first-letter { text-transform: uppercase; }
.appt-what { margin-top: 4px; color: var(--muted); font-size: 16px; }
.appt-note { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--petrol); }
.appt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.appt-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 16px; }
.btn-danger { background: var(--rust); color: #fff; }
.btn-danger:hover { background: #8F350C; }
.appt-confirm { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FBF1E8; }
.appt-confirm p { font-weight: 700; }
.appt-move { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.appt-move .pros { margin-bottom: 4px; }
.appt-move .pro { min-height: 44px; padding: 4px 14px 4px 4px; font-size: 15px; }
.appt-move .pro-ava { width: 34px; height: 34px; font-size: 15px; }
.appt-move .days { margin-top: 10px; }
.appt-move .day { width: 64px; }
.appt-go { margin-top: 12px; }

/* ---------- Coulisses ---------- */
.backstage { padding: 88px 0; background: var(--night); color: var(--paper); }
.section-head-dark .kicker { color: var(--apricot); }
.section-head-dark h2 em { color: var(--apricot); }
.section-head-dark .section-lead { color: var(--muted-night); }
.back-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.tour { padding: 24px; border-radius: var(--radius); background: var(--night-2); }
.tour-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.tour-head b { font: 400 22px var(--serif); }
.tour-head span { color: var(--muted-night); font-size: 15px; }
.tour-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tour-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 16px; }
.tour-time { font-weight: 800; }
.tour-what { display: flex; flex-direction: column; line-height: 1.35; }
.tour-what small { color: var(--muted-night); }
.tour-who { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 400 14px var(--serif); color: #fff; }
.tour-who-gwenola { background: var(--petrol-2); }
.tour-who-maelle { background: var(--rust); }
.tour-list li.is-new { background: rgba(246, 210, 179, .16); box-shadow: inset 0 0 0 2px var(--apricot); animation: tour-new .7s var(--ease) both; }
.tour-new-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--apricot); color: var(--night); font-size: 12px; font-weight: 800; vertical-align: 2px; }
@keyframes tour-new { from { opacity: 0; transform: scale(.97); } }
.tour-empty { color: var(--muted-night); }
.gcal { padding: 22px; border-radius: var(--radius); background: var(--card); color: var(--ink); }
.gcal-title { margin-bottom: 12px; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gcal-event { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #E6F0F2; }
.gcal-bar { width: 5px; border-radius: 3px; background: var(--petrol); }
.gcal-event p { display: flex; flex-direction: column; }
.gcal-event small { color: var(--muted); font-size: 14px; }
.gcal-note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.back-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.back-points li { display: flex; flex-direction: column; color: var(--muted-night); font-size: 16px; }
.back-points b { color: var(--paper); font-size: 17px; }

/* ---------- Soins ---------- */
.care-info { padding: 88px 0 56px; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.care-card:hover { transform: var(--lift); }
.care-card h3 { font-size: 24px; }
.care-card p { color: var(--muted); }
.care-card-link { margin-top: auto; color: var(--petrol); font-weight: 800; text-decoration: none; }
.care-card-link:hover { text-decoration: underline; }

/* ---------- Équipe ---------- */
.team { padding: 56px 0 88px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.member { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.member:hover { transform: var(--lift); }
.portrait { display: block; object-fit: cover; border-radius: 50%; width: 120px; height: 120px; }
.member h3 { font-size: 28px; }
.member-role { margin: 4px 0 10px; font-weight: 700; color: var(--rust); }
.member p:not(.member-role):not(.member-days) { color: var(--muted); }
.member-days { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }

/* ---------- Infos ---------- */
.infos { padding: 88px 0; background: var(--mint); }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.infos h2 { margin: 10px 0 24px; font-size: clamp(32px, 4vw, 48px); }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hours tbody th { font-weight: 700; }
.hours tr.is-today { background: rgba(255, 255, 255, .7); }
.hours tr.is-today th::after { content: "aujourd'hui"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--petrol); color: #fff; font-size: 12px; }
.hours-note { margin-top: 12px; color: var(--muted); font-size: 16px; }
.facts { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--petrol); }
.facts small { color: var(--muted); }
.faq { display: grid; gap: 12px; align-content: start; }
.faq details { border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--serif); color: var(--petrol); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Pied de page ---------- */
.foot { padding: 48px 0 40px; background: var(--night); color: var(--muted-night); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { margin-bottom: 10px; color: var(--paper); }
.brand-name-foot small { color: var(--muted-night); }
.foot a { color: var(--paper); font-weight: 700; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-small { margin-top: 6px; font-size: 14px; }
.foot-credit a { color: var(--apricot); }

.sticky-book { display: none; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero-grid, .how-grid, .back-grid, .infos-grid { grid-template-columns: 1fr; }
  .map { max-width: 560px; margin-inline: auto; }
  .booking-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .care-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .sent { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .demo-long { display: none; }
  .top-inner { min-height: 64px; }
  .top-cta { display: none; }
  .brand-name { font-size: 21px; }
  .hero { padding: 32px 0 48px; }
  .hero-lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .promise-grid { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .step, .summary, .request, .sent, .account-card { padding: 20px; }
  .request-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .portrait { width: 96px; height: 96px; }
  .tour-list li { grid-template-columns: 56px 1fr auto; padding: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-book { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; transition: transform .35s var(--ease), opacity .35s ease; }
  .sticky-book.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .foot { padding-bottom: 96px; }
}

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

/* ---------- Agenda partagé (iCal), dans les coulisses ---------- */
.shared { margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .14); }
.shared-kicker { font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--apricot); margin-bottom: 10px; }
.shared-head h3 { font: 400 clamp(28px, 4vw, 40px)/1.1 var(--serif); }
.shared-head h3 em { color: var(--apricot); font-style: italic; }
.shared-lead { margin-top: 14px; max-width: 760px; color: var(--muted-night); }
.shared-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; margin-top: 32px; }
.shared-label { margin: 0 0 10px; font-weight: 700; font-size: 16px; color: var(--paper); }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sh-chip { min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: var(--paper); font: 700 17px/1 var(--sans); cursor: pointer; }
.sh-chip:hover { border-color: var(--apricot); }
.sh-chip[aria-pressed="true"] { background: var(--apricot); border-color: var(--apricot); color: var(--night); }
.week { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wk-day { padding: 14px 16px; border-radius: 14px; background: var(--night-2); display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; align-items: start; }
.wk-head { font-weight: 800; font-size: 16px; }
.wk-day ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-ev { padding: 6px 10px; border-radius: 8px; font-size: 15px; line-height: 1.3; color: #fff; }
.wk-gwenola { background: var(--petrol-2); }
.wk-maelle { background: var(--rust); }
.wk-off { background: repeating-linear-gradient(45deg, #3C4B52, #3C4B52 6px, #2C3A41 6px, #2C3A41 12px); color: #E4ECEE; }
.wk-more { color: var(--muted-night); font-size: 15px; padding: 6px 2px; }
.shared-note { margin-top: 14px; color: var(--muted-night); font-size: 16px; }
.shared-side { display: grid; gap: 18px; }
.sh-card { padding: 24px; border-radius: var(--radius); background: var(--card); color: var(--ink); }
.sh-card h4 { font: 400 22px/1.2 var(--serif); margin-bottom: 8px; }
.sh-card p { font-size: 17px; color: var(--muted); }
.sh-card .shared-label { color: var(--ink); margin-top: 14px; }
.sh-card .sh-chip { border-color: var(--line); color: var(--ink); }
.sh-card .sh-chip:hover { border-color: var(--petrol); }
.sh-card .sh-chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.sh-field { display: grid; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 16px; }
.sh-field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); }
.sh-field input[type="file"] { padding: 9px 10px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sh-status { margin-top: 12px; min-height: 1.4em; font-size: 16px; color: var(--petrol); font-weight: 700; }
.sh-details { margin-top: 12px; }
.sh-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--petrol); }
.sh-details pre { margin: 8px 0 0; padding: 14px; max-height: 260px; overflow: auto; border-radius: 10px; background: var(--night); color: #D9E6EA; font: 400 13px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.sh-card :focus-visible, .shared :focus-visible { outline-color: var(--apricot); }
.sh-card :focus-visible { outline-color: var(--petrol); }
@media (max-width: 960px) { .shared-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wk-day { grid-template-columns: 1fr; } }
.sent-copy .btn + .btn { margin-left: 10px; }
