/* Charte RDV — noir & rose poudré (maquette validée le 12/10/2026). */
@import url("fonts/fonts.e0af2e71a96c.css");

:root {
  --ink: #111012;
  --paper: #FBF7F8;
  --white: #FFFFFF;
  --powder: #EBCAD3;
  --powder-soft: #F3E3E8;
  --line: #EADDE1;
  --line-strong: #D9C7CD;
  --muted: #6E5F65;
  --muted-on-ink: #E9E1E4;
  --faint: #B9AEB2;
  --wine: #5C2A3D;
  --accent: #A95974;
  --danger: #9B2335;
  --ok: #2F6B4F;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); }
a:hover { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
img { max-width: 100%; }
.wrap { max-width: 560px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête noir */
.hero { background: var(--ink); color: var(--paper); padding: 40px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hero h1 { font-size: 34px; letter-spacing: .5px; }
.hero .eyebrow, .eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--powder); }
.eyebrow.dark { color: var(--muted); }
.hero .meta { font-size: 13px; color: var(--muted-on-ink); display: flex; align-items: center; gap: 8px; }
.hero .bio { font-size: 14px; color: var(--muted-on-ink); max-width: 420px; }
.hero .bio p { margin: 0 0 6px; }
.hero .bio p:last-child { margin-bottom: 0; }
.hero .bio a { color: var(--powder); }
.hero .note { font-size: 12px; color: var(--faint); margin: 0; }
.hero .place { margin: 4px 0; width: 100%; max-width: 360px; }
.hero .place img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid #5a4a50; }
.hero .place figcaption { margin-top: 10px; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--powder); }
.chip { font-size: 12px; padding: 6px 14px; border: 1px solid #5a4a50; border-radius: 999px; color: var(--muted-on-ink); }
.avatar { width: 104px; height: 104px; border-radius: 50%; padding: 4px; background: var(--accent); }
.avatar img, .avatar span { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--ink); object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--powder); color: var(--ink); font-family: var(--serif); font-size: 44px; font-weight: 600; }

.topbar { background: var(--ink); color: var(--paper); padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.topbar h1 { font-size: 30px; }
.topbar .meta { font-size: 14px; color: var(--muted-on-ink); }
.topbar .inner { padding: 0 8px; display: flex; flex-direction: column; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #5a4a50; color: var(--paper); text-decoration: none; background: transparent; }
.icon-btn.light { border-color: var(--line); background: var(--white); color: var(--ink); }
.icon-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* Catégories */
.pills { display: flex; gap: 8px; padding: 20px 24px 8px; overflow-x: auto; }
.pill { white-space: nowrap; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--powder-soft); color: var(--ink); font-size: 14px; font-weight: 500; }
.pill:hover { background: var(--powder); color: var(--ink); }

.block { padding: 16px 24px 8px; display: flex; flex-direction: column; gap: 12px; }
.section-title { display: flex; align-items: baseline; gap: 12px; }
.section-title h2 { font-size: 28px; }
.section-title::after { content: ""; flex-grow: 1; height: 1px; background: var(--accent); opacity: .5; }

/* Cartes prestations */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
a.service { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 14px; }
a.service:hover { border-color: var(--powder); color: var(--ink); }
.service .body { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.service .title { font-size: 16px; font-weight: 600; }
.service .desc { font-size: 13px; color: var(--muted); }
.service .price, .price-big { font-family: var(--serif); font-size: 26px; font-weight: 600; white-space: nowrap; }
.desc-full { font-size: 14px; color: var(--muted); }
.desc-full p { margin: 0 0 6px; }
.with-icon { display: inline-flex; align-items: center; gap: 6px; }

/* Calendrier */
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-nav h2 { font-size: 26px; text-transform: capitalize; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.cal .day { height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 15px; text-decoration: none; position: relative; }
.cal a.day { background: var(--powder-soft); color: var(--ink); font-weight: 600; }
.cal a.day::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal a.day.selected { background: var(--ink); color: var(--paper); font-weight: 700; }
.cal a.day.selected::after { background: var(--powder); }
.cal span.day { color: var(--faint); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { font-family: var(--sans); cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.slot:hover { background: var(--ink); color: var(--paper); }

/* Boutons, formulaires */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 16px var(--sans); text-decoration: none; cursor: pointer; width: 100%; }
.btn:hover { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--paper); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.small { min-height: 44px; font-size: 14px; width: auto; }
form.stack, .stack { display: flex; flex-direction: column; gap: 16px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--white); font: 16px var(--sans); color: var(--ink); width: 100%; }
.field textarea { padding: 12px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .check input:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
/* Consignes « à lire » : une carte, un point par ligne */
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.checklist .check { border: 0; border-radius: 0; background: transparent; padding: 12px 14px; cursor: pointer; }
.checklist .check + .check { border-top: 1px solid var(--line); }
.checklist .check.missing { background: #FBE9EC; }
.hp { position: absolute; left: -9999px; }
.errors { background: #FBE9EC; border: 1px solid #E7B9C3; color: var(--danger); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.notice { background: var(--powder-soft); border-radius: 14px; padding: 12px 16px; font-size: 14px; }

/* Récapitulatif */
.recap { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.recap .title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.recap .line { font-size: 14px; color: var(--muted-on-ink); }
.recap .city { font-size: 13px; color: var(--powder); }

.done { background: var(--ink); color: var(--paper); min-height: 100vh; padding: 56px 24px 32px; display: flex; flex-direction: column; gap: 26px; }
.done .head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.done h1 { font-size: 42px; }
.badge-ok { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.ticket { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ticket .title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.ticket hr { border: 0; height: 1px; background: var(--line); margin: 0; width: 100%; }
.done .links { display: flex; justify-content: center; gap: 24px; font-weight: 600; }
.done .links a { color: var(--powder); min-height: 44px; display: flex; align-items: center; }
.status-cancelled { color: var(--danger); font-weight: 700; }

.page-pad { padding: 18px 24px 32px; }
footer.site { padding: 28px 24px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.sticky-cta { position: sticky; bottom: 0; padding: 16px 24px 24px; background: var(--paper); border-top: 1px solid var(--line); }

@media (min-width: 600px) {
  body.public { background: #EFE5E8; }
  body.public .wrap { background: var(--paper); min-height: 100vh; box-shadow: 0 0 0 1px var(--line); }
}

/* ---------- Espace praticienne ---------- */
body.espace { background: var(--paper); }
body.espace .wrap { max-width: 760px; padding-bottom: 96px; }
.esp-head { background: var(--ink); color: var(--paper); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.esp-head .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.esp-head h1 { font-size: 30px; }
.esp-head a, .esp-head .linkish { color: var(--powder); }
.esp-head select { min-height: 40px; border-radius: 999px; border: 1px solid #5a4a50; background: transparent; color: var(--paper); padding: 0 12px; font: 14px var(--sans); }
.esp-head select option { color: var(--ink); }
.esp-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 8px calc(12px + env(safe-area-inset-bottom)); z-index: 10; }
.tabbar a { text-decoration: none; color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; min-height: 48px; justify-content: center; }
.tabbar a[aria-current="page"] { color: var(--paper); font-weight: 700; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar .btn { width: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; color: var(--ink); background: var(--white); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 700; }
.day-title { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 8px 0 0; text-transform: capitalize; }
.list { display: flex; flex-direction: column; gap: 8px; }
a.item, div.item { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
a.item:hover { border-color: var(--powder); color: var(--ink); }
.item .time { font-weight: 700; font-size: 15px; min-width: 48px; }
.item .main { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item .sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.item.cancelled { opacity: .6; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--powder-soft); color: var(--wine); white-space: nowrap; }
.badge.ok { background: #E3F0E8; color: var(--ok); }
.badge.warn { background: #FBEED9; color: #7A4B00; }
.badge.danger { background: #FBE9EC; color: var(--danger); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi .label { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi .value { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.kpi .delta { font-size: 12px; font-weight: 600; color: var(--wine); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; border-bottom: 1px solid var(--line-strong); padding: 0 4px; }
.bars .bar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; min-width: 0; }
.bars .bar span { font-size: 10px; font-weight: 600; white-space: nowrap; }
.bars .bar div { width: 100%; background: var(--ink); border-radius: 6px 6px 0 0; min-height: 2px; }
.bars-labels { display: flex; gap: 6px; padding: 0 4px; }
.bars-labels span { flex: 1 1 0; text-align: center; font-size: 10px; color: var(--muted); min-width: 0; overflow: hidden; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.highlight { border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: var(--paper); }
.highlight.accent { background: var(--accent); color: #fff; }
.highlight .t { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.highlight .n { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.table-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; }
table.data td { padding: 10px 12px; border-top: 1px solid #F1E6EA; }
table.data .num { text-align: right; white-space: nowrap; }
.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-grid .help { font-size: 12px; color: var(--muted); font-weight: 400; }
.form-grid .err { font-size: 13px; color: var(--danger); font-weight: 600; }
.field input[type="checkbox"] { width: 22px; min-height: 22px; height: 22px; accent-color: var(--ink); }
.field.inline { flex-direction: row; align-items: center; gap: 10px; }
.field input[type="color"] { padding: 4px; width: 80px; }
.msg { border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.msg.success { background: #E3F0E8; color: var(--ok); }
.msg.error { background: #FBE9EC; color: var(--danger); }
.sched { display: grid; grid-template-columns: 90px repeat(3, minmax(0, 1fr)); gap: 6px 8px; align-items: center; font-size: 13px; }
.sched input { min-height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); padding: 0 6px; font: 14px var(--sans); width: 100%; }
.sched .range { display: flex; gap: 4px; align-items: center; }
.menu { display: flex; flex-direction: column; gap: 8px; }
.inline-form { display: inline; }
.page-switch { display: inline; }
.page-switch strong { color: var(--paper); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; font: inherit; cursor: pointer; min-height: 32px; }
details.box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
details.box summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.test-banner { background: #FBEED9; color: #5A3700; font-size: 13px; line-height: 1.4; padding: 10px 16px; text-align: center; border-bottom: 1px solid #EBC98F; }
