/* =========================================================
   RDV Beauté — système visuel : menthe & prune, Fraunces + Plus Jakarta Sans
   ========================================================= */
:root {
  --bg: #FFFFFF; --soft: #F6F4F1; --line: #E8E4E0; --text: #24131D; --muted: #6E6268;
  --accent: #6D1F4F; --accent-2: #521339; --accent-soft: #E3F1EB; --on-accent: #FFFFFF; --mint: #CFE7DE; --mint-2: #B7D9CC; --plum-soft: #F4E9EF;
  --ok: #2F7A45; --ok-soft: #E8F4EC; --warn: #8A4B05; --warn-soft: #FFF4E2; --bad: #B0263A; --bad-soft: #FDECEE; --off: #8C8580; --off-soft: #F3F1EF;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif; --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --tab-h: 64px; color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Barre du haut */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; padding-top: env(safe-area-inset-top); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; }
.logo svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.brand { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.tag { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--mint-2); }
.tag.role { background: var(--text); color: #fff; border-color: var(--text); cursor: pointer; font-family: var(--sans); }
.install { margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: .8rem; font-weight: 700; }

main { max-width: 640px; margin: 0 auto; padding: 16px; outline: none; }

/* Barre d'onglets */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; gap: 4px; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 6px 8px env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.tabbar button { position: relative; flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--muted); font-size: .68rem; font-weight: 700; border-radius: 14px; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.on { color: var(--accent); }
.tabbar button.on::before { content: ''; position: absolute; top: -6px; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tabbar em { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font: 800 .66rem/18px var(--sans); font-style: normal; }

/* Typo */
.eyebrow { margin: 0; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.page-t { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 6px 0 16px; }
.h2 { font-family: var(--serif); font-size: 1.35rem; margin: 26px 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.h2 small { font: 600 .8rem var(--sans); color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: .82rem; } .center { text-align: center; }
.lbl { margin: 18px 0 8px; font-weight: 800; font-size: .86rem; }
.count { margin: 14px 0 8px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.warn-t { color: var(--warn); } .bad-t { color: var(--bad) !important; } .ok-t { color: var(--ok); display: block; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:active { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.big { width: 100%; min-height: 52px; border-radius: 16px; font-size: 1rem; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .8rem; border-radius: 11px; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn svg { width: 17px; height: 17px; }
.link { border: 0; background: none; padding: 8px 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: block; margin: 8px auto 0; }
.link.small { font-size: .8rem; margin: 6px 0 0; display: inline-flex; align-items: center; gap: 4px; }
.link svg { width: 14px; height: 14px; }
.ic-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); background: #fff; flex: none; }
.ic-btn.sm { width: 36px; height: 36px; border-radius: 11px; }
.ic-btn.flip svg { transform: rotate(180deg); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.tabs { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 14px; padding: 0 16px; scrollbar-width: none; }
.chips.tabs::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 38px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .82rem; }
.chip.on { background: var(--text); border-color: var(--text); color: #fff; }
.chip svg { width: 16px; height: 16px; }

/* En-tête de sous-page */
.top { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.top h1 { flex: 1; min-width: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }

/* Accueil cliente */
.hero { padding: 6px 0 4px; }
.hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.06; margin: 8px 0 16px; letter-spacing: -.01em; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.search svg { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; }
.search.sm { height: 46px; }
.cats { display: flex; gap: 8px; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .86rem; }
.cat.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.filters { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sel { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.sel select { border: 0; background: none; font-weight: 700; font-size: .82rem; padding: 8px 0; max-width: 170px; outline: none; }
.sel svg { width: 16px; height: 16px; color: var(--accent); }
.mini { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--mint-2); border-radius: var(--r); background: var(--accent-soft); text-align: left; }
.mini-d { display: grid; place-items: center; width: 50px; height: 54px; border-radius: 13px; background: #fff; flex: none; font-size: .68rem; color: var(--muted); line-height: 1.1; }
.mini-d b { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); }
.mini-t { flex: 1; min-width: 0; display: grid; }
.mini-t small { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mini-t span { font-size: .8rem; color: var(--muted); }
.mini > svg { color: var(--accent); }

/* Cartes prestataires */
.cards { display: grid; gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; cursor: pointer; transition: transform .15s; }
.card:active { transform: scale(.99); }
.cover { position: relative; height: 128px; background: radial-gradient(120% 90% at 85% 10%, var(--c2) 0%, transparent 60%), linear-gradient(135deg, var(--c1), #fff 90%); overflow: hidden; }
.cover::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.0) 0 18px, rgba(255,255,255,.18) 18px 19px); }
.cover-m { position: absolute; left: 16px; bottom: -14px; font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: rgba(255,255,255,.9); text-shadow: 0 2px 20px rgba(120,50,20,.15); }
.cover.big { height: 170px; border-radius: 22px; }
.cover.xs { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.cover.xs .cover-m { font-size: 1.6rem; left: 50%; bottom: 50%; transform: translate(-50%, 50%); }
.card-b { padding: 14px 16px 16px; }
.card-t { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-t h3 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.2; }
.card-b > p { margin: 4px 0 0; display: flex; align-items: center; gap: 5px; font-size: .84rem; flex-wrap: wrap; }
.card-b > p svg { width: 15px; height: 15px; }
.dom { color: var(--accent); }
.card-tags span { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); }
.card-tags { gap: 6px !important; margin-top: 10px !important; }
.card-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; }
.free { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 700; }
.free svg { width: 15px; height: 15px; }
.stars { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: .86rem; }
.stars svg { width: 15px; height: 15px; color: var(--accent); }
.stars small { color: var(--muted); }
.stars.new { font-size: .72rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 99px; }

/* Fiche prestataire */
.pro-head h1 { font-family: var(--serif); font-size: 2rem; line-height: 1.08; margin: 16px 0 6px; }
.pro-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0; font-size: .86rem; color: var(--muted); }
.pro-meta > span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.pro-meta svg { width: 15px; height: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: .74rem; font-weight: 800; }
.badge:nth-child(n+2) { background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.badge svg { width: 14px; height: 14px; }
.about { margin: 0 0 14px; color: var(--muted); }
.grp { margin: 16px 0 6px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc li { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-top: 1px solid var(--line); }
.svc li:first-child { border-top: 0; }
.svc li > div { flex: 1; min-width: 0; display: grid; }
.svc small { color: var(--muted); font-size: .78rem; }
.price { font-weight: 800; white-space: nowrap; font-size: .9rem; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.rules svg { color: var(--accent); margin-top: 2px; }
.team { display: flex; gap: 10px; overflow-x: auto; }
.team span { flex: none; display: grid; justify-items: center; text-align: center; width: 92px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 16px; }
.team i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 600 1.2rem var(--serif); font-style: normal; margin-bottom: 6px; }
.team b { font-size: .84rem; } .team small { font-size: .7rem; color: var(--muted); }
.hours { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hours div { display: flex; justify-content: space-between; padding: 9px 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.hours div:first-child { border-top: 0; }
.hours div.on { background: var(--accent-soft); font-weight: 800; }
.hours dd { margin: 0; }
.addr { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.revs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.revs li, .rv-pro { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.revs p, .rv-pro p { margin: 6px 0; font-size: .9rem; }
.revs small { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: .72rem; }
.revs small svg { width: 13px; height: 13px; }
.rev-h { display: flex; justify-content: space-between; gap: 10px; }
.rev-s { color: var(--accent); letter-spacing: 1px; white-space: nowrap; } .rev-s i { color: #E8DCD4; font-style: normal; }
.reply { padding: 8px 10px; background: var(--soft); border-radius: 10px; font-size: .84rem !important; }
.rv-pro { margin-bottom: 10px; }

/* Réservation */
.steps { display: flex; list-style: none; padding: 0; margin: 0 0 16px; gap: 6px; }
.steps li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); font-style: normal; font-size: .72rem; flex: none; }
.steps i svg { width: 12px; height: 12px; }
.steps li.on { color: var(--text); } .steps li.on i { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.done i { background: var(--ok-soft); border-color: var(--ok-soft); color: var(--ok); }
.bk-svc { display: grid; padding: 14px 16px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.bk-svc span { font-size: .86rem; font-weight: 700; color: var(--accent); }
.bk-svc small { color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; display: grid; justify-items: center; width: 64px; padding: 8px 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.day small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.day b { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.day i { font-style: normal; font-size: .62rem; font-weight: 700; color: var(--ok); }
.day.full { opacity: .5; } .day.full i { color: var(--muted); }
.day.on { background: var(--text); border-color: var(--text); color: #fff; } .day.on small, .day.on i { color: rgba(255,255,255,.8); }
.part { margin: 12px 0 6px; font-size: .74rem; font-weight: 800; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 12px; border: 1px solid var(--mint-2); background: #fff; color: var(--accent); font-weight: 800; }
.slot:active { background: var(--accent); color: #fff; }
.recap { display: grid; gap: 0; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--r); }
.recap > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-top: 1px solid var(--line); }
.recap > div:first-child { border-top: 0; }
.recap svg { color: var(--accent); margin-top: 2px; }
.recap span { display: grid; } .recap small { color: var(--muted); font-size: .8rem; }
.form { display: grid; gap: 12px; margin-top: 8px; }
.form.inline { display: flex; gap: 8px; } .form.inline input { flex: 1; min-width: 0; }
.fld { display: grid; gap: 6px; font-weight: 700; font-size: .84rem; }
.fld small { font-weight: 500; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 1rem; font-weight: 500; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .84rem; }
.chk input { accent-color: var(--accent); width: 18px; height: 18px; }
.chk.line { border: 0; padding: 0; }
.rules-box { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); font-size: .84rem; }
.note { padding: 10px 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: .86rem; margin-bottom: 12px; }
.note.warn { background: var(--warn-soft); color: var(--warn); border-color: #F5DDB4; }
.done { text-align: center; padding-top: 24px; display: grid; gap: 10px; }
.done-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin: 0 auto 6px; }
.done-ic svg { width: 34px; height: 34px; stroke-width: 2.2; }
.done h1 { font-family: var(--serif); font-size: 2rem; }
.done .recap { text-align: left; }
.rate { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.rate button { border: 0; background: none; font-size: 2.4rem; line-height: 1; color: #E8DCD4; }
.rate button.on { color: var(--accent); }

/* Rendez-vous */
.bl, .agl, .cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bi, .ag { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.bi-d { display: grid; place-items: center; align-content: center; width: 50px; height: 56px; flex: none; border-radius: 13px; background: var(--soft); font-size: .68rem; color: var(--muted); line-height: 1.1; }
.bi-d b { font-family: var(--serif); font-size: 1.4rem; color: var(--text); }
.bi-b, .ag-b { flex: 1; min-width: 0; display: grid; gap: 4px; }
.bi-b > small, .ag-b > small { color: var(--muted); font-size: .8rem; }
.bi-t { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.bi-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.st { flex: none; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.st-wait { background: var(--warn-soft); color: var(--warn); } .st-ok { background: var(--ok-soft); color: var(--ok); } .st-done { background: var(--off-soft); color: var(--text); }
.st-bad { background: var(--bad-soft); color: var(--bad); } .st-off { background: var(--off-soft); color: var(--off); }
.rel { display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.rel svg { width: 12px; height: 12px; stroke-width: 2.4; }
.rel-ok { background: var(--ok-soft); color: var(--ok); } .rel-watch { background: var(--warn-soft); color: var(--warn); } .rel-risk { background: var(--bad-soft); color: var(--bad); }
.rel-line { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }

/* Espace pro */
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 4px 0 14px; }
.ph h1 { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin-top: 4px; }
.band { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; }
.band > svg:first-child { color: var(--accent); width: 22px; height: 22px; }
.band > svg:last-child { margin-left: auto; color: var(--muted); }
.band span { display: grid; } .band small { color: var(--muted); font-size: .8rem; }
.band.warn { background: var(--accent-soft); border-color: var(--mint-2); }
.wk { display: flex; align-items: center; gap: 4px; margin: 6px 0 12px; }
.wd { flex: 1; min-width: 0; display: grid; justify-items: center; padding: 6px 0; border-radius: 13px; border: 1px solid transparent; background: none; }
.wd small { font-size: .64rem; color: var(--muted); font-weight: 700; }
.wd b { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.wd i { font-style: normal; color: var(--accent); font-size: .7rem; line-height: 1; height: 8px; letter-spacing: 1px; }
.wd.today b { color: var(--accent); }
.wd.on { background: var(--text); color: #fff; } .wd.on small { color: rgba(255,255,255,.75); } .wd.on b { color: #fff; } .wd.on i { color: var(--mint); }
.ag-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ag-head .h2 { margin-top: 16px; }
.ag { border-left: 4px solid var(--line); }
.ag-ok { border-left-color: var(--ok); } .ag-wait { border-left-color: #E9A23B; } .ag-done { border-left-color: #C9C2BD; } .ag-bad { border-left-color: var(--bad); }
.ag-block { background: repeating-linear-gradient(135deg, #fff 0 10px, var(--soft) 10px 20px); border-left-color: var(--muted); }
.ag-block b { display: inline-flex; gap: 6px; align-items: center; }
.ag-t { display: grid; align-content: start; width: 46px; flex: none; }
.ag-t b { font-size: .95rem; } .ag-t small { color: var(--muted); font-size: .74rem; }
.ag-note { margin: 2px 0; font-size: .82rem; font-style: italic; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.ag-note svg { width: 14px; height: 14px; }
.cl li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.cl li > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cl small { color: var(--muted); font-size: .78rem; }
.av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 600 1.3rem var(--serif); flex: none; }
.av.sm { width: 40px; height: 40px; font-size: 1.1rem; }
.fid { font-size: .64rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 99px; vertical-align: 2px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis div { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.kpis b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; color: var(--text); }
.kpis small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.box { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.box h3 { font-size: .95rem; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars i { position: relative; width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: var(--accent); }
.bars em { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 800 .72rem var(--sans); font-style: normal; color: var(--text); }
.bars small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.tops { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .88rem; }
.tops li { display: list-item; } .tops li span { display: inline; } .tops b { float: right; color: var(--accent); }
.share { padding: 16px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--mint-2); display: grid; gap: 6px; }
.share code { font: 700 .86rem/1.4 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; color: var(--accent-2); }
.hrs { display: grid; gap: 6px; }
.hrs div { display: grid; grid-template-columns: 1fr 96px 96px; gap: 6px; align-items: center; }
.hrs .chk { border: 0; padding: 0; }
.hrs input[type=time] { min-height: 40px; padding: 6px 8px; font-size: .9rem; }
.adm { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.adm-h { display: flex; gap: 12px; align-items: center; }
.adm-h > div { display: grid; } .adm-h small { color: var(--muted); font-size: .78rem; }
.adm p { margin: 6px 0; }
.checks { margin: 10px 0 4px; padding-left: 18px; font-size: .82rem; color: var(--muted); }

/* Compte */
.acc { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.acc > div { flex: 1; display: grid; } .acc small { color: var(--muted); }
.demo { display: grid; gap: 8px; margin-top: 22px; padding: 14px; border-radius: var(--r); border: 1px dashed var(--mint-2); background: #F3FAF7; }
.demo .btn { justify-content: flex-start; }
.demo .btn svg { color: var(--accent); }

.empty { display: grid; justify-items: center; gap: 10px; padding: 28px 16px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty p { margin: 0; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 14px); transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 14px; background: var(--text); color: #fff; font-weight: 700; font-size: .86rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 360px) { .row3 { grid-template-columns: 1fr; } .hrs div { grid-template-columns: 1fr 80px 80px; } .kpis b { font-size: 1.5rem; } }
@media (min-width: 900px) {
  body { padding-bottom: 0; padding-left: 92px; }
  .tabbar { top: 56px; bottom: 0; right: auto; width: 92px; height: auto; flex-direction: column; justify-content: flex-start; padding: 16px 8px; border-top: 0; border-right: 1px solid var(--line); }
  .tabbar button { flex: none; height: 68px; max-width: none; }
  .tabbar button.on { background: var(--accent-soft); } .tabbar button.on::before { display: none; }
  main { max-width: 760px; padding: 28px 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .toast { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Correctifs : champs intégrés, couverture, badge de rôle */
.search input, .sel select { width: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none !important; }
.search input { flex: 1; width: 100%; }
.sel select { padding: 8px 2px; font-size: .82rem; font-weight: 700; }
.tag.role { white-space: nowrap; padding: 5px 10px; }
.install { padding: 6px 10px; }
@media (max-width: 380px) { .bar .install { display: none; } }
.cover::after { opacity: .7; }
.cover-m { left: 16px; bottom: 14px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.92); color: var(--accent); font-size: 1.9rem; text-shadow: none; box-shadow: 0 6px 20px rgba(120,50,20,.12); z-index: 1; }
.cover.big .cover-m { width: 72px; height: 72px; font-size: 2.4rem; border-radius: 22px; }
.cover.xs .cover-m { width: auto; height: auto; background: none; box-shadow: none; color: #fff; font-size: 1.4rem; }
.card .cover { height: 112px; }

/* ===== Palette menthe & prune + nouvelles parties ===== */
.bar { background: rgba(255,255,255,.95); }
.logo { background: var(--accent); } .logo svg { fill: var(--mint); }
.brand { color: var(--accent); }
.tag { background: var(--mint); color: var(--accent); border-color: var(--mint-2); }
.tag.role { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero { margin: -16px -16px 0; padding: 22px 16px 18px; background: var(--mint); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -40px; top: -30px; width: 190px; height: 190px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M20 80 C10 40 40 10 60 30 S70 80 45 70 S35 40 55 45' fill='none' stroke='%236D1F4F' stroke-width='9' stroke-linecap='round'/></svg>") center/contain no-repeat; opacity: .12; pointer-events: none; }
.hero h1 { color: var(--accent); position: relative; z-index: 1; }
.hero .search { background: #fff; border-color: #fff; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent); opacity: .8; }
.seg { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 12px; border-radius: 99px; background: rgba(255,255,255,.7); position: relative; z-index: 1; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 99px; font-weight: 800; font-size: .8rem; color: var(--accent); }
.seg button.on { background: var(--accent); color: #fff; }
main > .seg { background: var(--soft); }
.cat.on { background: var(--accent); border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); }
.day.on, .wd.on { background: var(--accent); border-color: var(--accent); }
.cat svg { width: 14px; height: 14px; vertical-align: -2px; }
.cover { background: var(--mint); }
.cover::after { inset: -20%; opacity: 1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='none' stroke='%236D1F4F' stroke-width='10' stroke-linecap='round' opacity='.16'><path d='M10 70 C0 30 40 0 60 25 S65 75 40 62'/><path d='M80 110 C100 80 130 100 115 120'/><path d='M85 20 C110 10 125 40 105 50'/></g></svg>") 0 0/150px repeat; }
.cover.alt { background: var(--accent); }
.cover.alt::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='none' stroke='%23CFE7DE' stroke-width='10' stroke-linecap='round' opacity='.22'><path d='M10 70 C0 30 40 0 60 25 S65 75 40 62'/><path d='M80 110 C100 80 130 100 115 120'/><path d='M85 20 C110 10 125 40 105 50'/></g></svg>"); }
.cover-m { background: var(--accent); color: var(--mint); font-family: var(--serif); }
.cover.alt .cover-m { background: var(--mint); color: var(--accent); }
.cover.xs .cover-m { color: var(--accent); background: none; } .cover.xs.alt .cover-m { color: var(--mint); }
.stars svg, .rev-s, .rate button.on { color: #C7962F; }
.free { color: var(--accent); }
.badge { background: var(--accent-soft); color: var(--accent); }
.mini { background: var(--accent-soft); border-color: var(--mint-2); }
.share, .rules-box, .band.warn { background: var(--accent-soft); border-color: var(--mint-2); }
.slot { border-color: var(--mint-2); color: var(--accent); } .slot:active { background: var(--accent); }
.bars i { background: var(--accent); }
.tabbar button.on { color: var(--accent); }
.done-ic { background: var(--mint); color: var(--accent); }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; }
.sec-h .h2 { margin-bottom: 8px; }
.rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { display: none; }
.rail-i { flex: none; width: 128px; border: 0; padding: 0; background: none; text-align: left; scroll-snap-align: start; }
.rail-i img { width: 128px; height: 166px; object-fit: cover; border-radius: 16px; display: block; background: var(--soft); }
.rail-i span { display: block; margin-top: 6px; font-size: .76rem; font-weight: 700; line-height: 1.3; }
.card-ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.card-ph img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 9px; }
.masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.masonry > div { display: grid; gap: 10px; }
.masonry > div:last-child { margin-top: 28px; }
.lk { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.lk-ph { display: block; width: 100%; border: 0; padding: 0; background: var(--soft); }
.lk-ph img { display: block; width: 100%; aspect-ratio: 200/260; object-fit: cover; }
.masonry > div > .lk:nth-child(3n+2) .lk-ph img { aspect-ratio: 1/1.05; object-position: top; }
.lk-fav { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--accent); }
.lk-fav.on svg, .fav-on svg { fill: var(--accent); stroke: var(--accent); }
.fav-on { color: var(--accent); }
.lk-b { display: grid; padding: 9px 11px 11px; gap: 1px; }
.lk-b b { font-size: .84rem; line-height: 1.25; } .lk-b small { font-size: .72rem; color: var(--muted); } .lk-b span { font-size: .78rem; font-weight: 800; color: var(--accent); margin-top: 3px; }
.lk-big { margin: 0 0 14px; } .lk-big img { width: 100%; max-height: 62vh; object-fit: cover; border-radius: 22px; display: block; background: var(--soft); }
.lk-t { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; margin: 4px 0 12px; }
.pro-mini { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; }
.pro-mini > span { flex: 1; display: grid; } .pro-mini small { color: var(--muted); font-size: .78rem; }
.bk-svc.has-lk { display: flex; gap: 12px; align-items: center; }
.bk-svc.has-lk img { width: 58px; height: 74px; object-fit: cover; border-radius: 12px; flex: none; }
.bk-svc.has-lk > div { display: grid; }
.anchors { position: sticky; top: 56px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 16px -16px 0; padding: 8px 16px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.anchors button { flex: none; border: 0; background: var(--soft); border-radius: 99px; padding: 7px 13px; font-weight: 800; font-size: .78rem; color: var(--accent); }
.h2[id] { scroll-margin-top: 120px; }
.grid-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.grid-ph > button, .gp { position: relative; border: 0; padding: 0; background: none; text-align: left; }
.grid-ph img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; display: block; }
.grid-ph span { display: block; font-size: .7rem; font-weight: 700; margin-top: 4px; line-height: 1.25; }
.gp .ic-btn { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.92); }
.rsum { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--accent-soft); }
.rsum-n { display: grid; justify-items: center; text-align: center; flex: none; }
.rsum-n b { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.rsum-n small { font-size: .72rem; color: var(--muted); font-weight: 700; }
.rsum-d { flex: 1; display: grid; gap: 4px; }
.rsum-d div { display: grid; grid-template-columns: 12px 1fr 22px; gap: 8px; align-items: center; font-size: .74rem; font-weight: 700; }
.rsum-d i { height: 7px; border-radius: 99px; background: rgba(109,31,79,.12); overflow: hidden; }
.rsum-d em { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.rsum-d small { color: var(--muted); text-align: right; }
.rtags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.rtags span { font-size: .76rem; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--mint-2); background: #fff; }
.rtags b { color: var(--accent); }
.rv-f { margin: 10px 0 12px; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 8px !important; }
.rev-tags span { font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.rev-ph { border: 0; padding: 0; background: none; display: block; margin: 4px 0 8px; }
.rev-ph img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; display: block; }
.revs small { color: var(--accent); }
.up { display: grid; place-items: center; gap: 6px; min-height: 120px; border: 1.5px dashed var(--mint-2); border-radius: var(--r); background: #F3FAF7; color: var(--accent); font-weight: 700; font-size: .86rem; cursor: pointer; overflow: hidden; }
.up.has { min-height: 0; border-style: solid; } .up img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.up svg { width: 26px; height: 26px; }
.qr-card { display: grid; justify-items: center; gap: 6px; padding: 22px 16px; border-radius: 24px; background: var(--mint); text-align: center; }
.qr-card .qr { width: min(260px, 72vw); height: auto; border-radius: 16px; padding: 4px; background: #fff; }
.qr-card h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); }
.qr-card p { margin: 0; }
.qr-ref { font-size: .9rem; letter-spacing: .08em; } .qr-ref b { font-size: 1.3rem; color: var(--accent); letter-spacing: .18em; }
.qr-off { padding: 40px 20px; background: #fff; border-radius: 16px; color: var(--muted); }
.ck { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--accent-soft); }
.ck > div { flex: 1; display: grid; gap: 3px; } .ck h2 { font-family: var(--serif); font-size: 1.5rem; } .ck small { color: var(--muted); }
.ck .av { background: var(--accent); color: var(--mint); }
.ck-lk { align-items: center !important; } .ck-lk img { width: 52px; height: 66px; object-fit: cover; border-radius: 10px; }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hist li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: .84rem; }
.hist li b { flex: 1; } .hist li > span:first-child { color: var(--muted); width: 84px; flex: none; }
.scan { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #111; }
.scan video { width: 100%; height: 100%; object-fit: cover; }
.scan-f { position: absolute; inset: 18%; border: 3px solid var(--mint); border-radius: 20px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.ag-lk { display: flex; align-items: center; gap: 8px; margin: 2px 0; font-size: .8rem; font-weight: 700; color: var(--accent); }
.ag-lk img { width: 34px; height: 44px; object-fit: cover; border-radius: 8px; }
.tel { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.tel b { padding: 0 12px; color: var(--muted); border-right: 1px solid var(--line); align-self: stretch; display: grid; place-items: center; background: var(--soft); }
.tel input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.otp { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-weight: 800 !important; }
.lbl small { font-weight: 500; }
@media (min-width: 900px) { .hero { margin: -28px -32px 0; padding: 30px 32px 24px; } .masonry { grid-template-columns: repeat(3, 1fr); } .grid-ph { grid-template-columns: repeat(4, 1fr); } }

/* ===== Thème de chaque boutique ===== */
.cover { background: var(--cbg, var(--mint)); }
.cover::after { inset: 0; opacity: .2; background: var(--cfg, var(--accent)); -webkit-mask: var(--motif) 0 0 / 150px repeat; mask: var(--motif) 0 0 / 150px repeat; }
.cover[style*="--motif:none"]::after, .cover.has-img::after, .cover.xs::after { display: none; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .cover-m, .cover.alt .cover-m { background: var(--cfg, var(--accent)); color: var(--cbg, var(--mint)); overflow: hidden; }
.cover-m.sans { font-family: var(--sans); font-weight: 800; }
.cover-m.logo-on { background: #fff !important; padding: 0; }
.cover-m.logo-on img { width: 100%; height: 100%; object-fit: cover; }
.cover.xs { background: var(--cbg); }
.cover.xs .cover-m { width: 100%; height: 100%; left: 0; bottom: 0; transform: none; border-radius: 0; box-shadow: none; display: grid; place-items: center; background: var(--cbg) !important; color: var(--cfg) !important; font-size: 1.3rem; }
.cover.xs .cover-m.logo-on { background: #fff !important; }
.f-sans h3, .pro-wrap.f-sans .pro-head h1 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.pro-wrap .grp, .pro-wrap .eyebrow { color: var(--accent); }
.pro-wrap .hours div.on { background: var(--accent-soft); }
.card .free, .card .dom { color: var(--accent); }
.st-prev { margin: 12px 0 4px; pointer-events: none; }
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo-row > div { display: grid; }
.logo-up { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; border: 1.5px dashed var(--mint-2); background: #F3FAF7; color: var(--accent); cursor: pointer; overflow: hidden; flex: none; }
.logo-up img { width: 100%; height: 100%; object-fit: cover; }
.logo-up svg { width: 26px; height: 26px; }
.sw, .mt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mt { grid-template-columns: repeat(5, 1fr); }
.sw button, .mt button { display: grid; justify-items: center; gap: 5px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.sw button.on, .mt button.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--text) inset; }
.sw i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.mt i { position: relative; width: 40px; height: 34px; border-radius: 10px; overflow: hidden; }
.mt i::after { content: ''; position: absolute; inset: 0; background: currentColor; opacity: .55; -webkit-mask: var(--m) 0 0 / 40px repeat; mask: var(--m) 0 0 / 40px repeat; }
.mt button:last-child i::after { display: none; }
.sw small, .mt small { font-size: .64rem; font-weight: 700; text-align: center; line-height: 1.2; }
/* Recherche par photo */
.ps-btn { display: inline-flex; align-items: center; gap: 5px; flex: none; height: 38px; padding: 0 10px; margin-right: -8px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: .76rem; cursor: pointer; }
.ps-btn svg { width: 18px; height: 18px; color: #fff; }
.ps-head { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--accent-soft); }
.ps-head img { width: 88px; height: 112px; object-fit: cover; border-radius: 14px; flex: none; }
.ps-head > div { display: grid; gap: 3px; } .ps-head small { font-size: .74rem; }
.ps-head .link { justify-content: flex-start; cursor: pointer; }
.ps-wait { display: grid; justify-items: center; gap: 12px; padding: 40px 10px; text-align: center; color: var(--muted); }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--mint); border-top-color: var(--accent); animation: sp 0.8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.ps-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; font-weight: 700; font-size: .86rem; }
.ps-cat .link { margin: 0; }
.lk-match { position: absolute; left: 8px; top: 8px; font-size: .66rem; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--accent); }
.lk-match.hi { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }

/* ===== Publications clientes, tableaux, commentaires ===== */
.st-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.st-bar .seg { margin: 0; background: var(--soft); }
.fab { position: fixed; right: 16px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px); z-index: 25; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 800; box-shadow: 0 10px 28px rgba(109,31,79,.35); }
.fab svg { width: 20px; height: 20px; }
.lk-by { position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--accent); font: 700 .9rem var(--serif); border: 2px solid #fff; }
.lk-cm { position: absolute; left: 40px; top: 10px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.92); font-size: .68rem; font-weight: 800; color: var(--accent); }
.lk-cm svg { width: 12px; height: 12px; }
.vr, .insp { display: inline-flex; align-items: center; gap: 3px; width: fit-content; margin-top: 4px; font-style: normal; font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); }
.vr svg { width: 11px; height: 11px; stroke-width: 2.6; }
.insp { background: var(--plum-soft); color: var(--accent); }
.by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.by > div { display: grid; flex: 1; } .by small { color: var(--muted); font-size: .76rem; }
.bp { margin: 14px 0; padding: 14px; border-radius: var(--r); background: var(--soft); }
.bp .chip svg { width: 14px; height: 14px; }
.big-up { min-height: 220px; }
.big-up small { font-weight: 500; }
.bds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bd { border: 0; padding: 0; background: none; text-align: left; display: grid; gap: 3px; }
.bd-c { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--soft); }
.bd-c > :first-child { grid-row: span 2; }
.bd-c img, .bd-c i { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--mint); }
.bd b { font-size: .9rem; margin-top: 4px; } .bd small { color: var(--muted); font-size: .74rem; }
.cm { margin: 14px 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; }
.cm .lbl { display: flex; align-items: center; gap: 6px; }
.cm-i { display: flex; gap: 10px; align-items: flex-start; }
.cm-i > div { flex: 1; min-width: 0; font-size: .86rem; } .cm-i p { margin: 2px 0 0; }
.rv-cta { margin-top: 12px; }
@media (min-width: 900px) { .fab { bottom: 24px; } .bds { grid-template-columns: repeat(3, 1fr); } }

/* ===== Typographie : Fraunces (titres) + Plus Jakarta Sans (texte) ===== */
body { font-size: 15px; line-height: 1.55; font-feature-settings: "ss01" on; }
.brand, .page-t, .h2, .hero h1, .card-t h3, .pro-head h1, .top h1, .ph h1, .lk-t, .done h1, .qr-card h2, .ck h2, .vl-hero h1,
.kpis b, .day b, .wd b, .mini-d b, .bi-d b, .rsum-n b, .cover-m, .av, .team i, .lk-by, .otp {
  font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "SOFT" 100, "WONK" 0; }
.hero h1, .page-t, .pro-head h1, .ph h1, .done h1, .lk-t { font-weight: 560; letter-spacing: -.022em; line-height: 1.04; }
.hero h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
.hero h1, .page-t, .ph h1 { font-variation-settings: "SOFT" 100, "WONK" 1; }
.h2, .top h1 { font-weight: 580; letter-spacing: -.015em; }
.card-t h3 { font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.brand { font-weight: 640; font-size: 1.22rem; letter-spacing: -.02em; }
.kpis b, .rsum-n b { font-weight: 500; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.day b, .wd b, .mini-d b, .bi-d b { font-weight: 560; font-variant-numeric: lining-nums; }
.cover-m { font-weight: 600; }
.eyebrow { font-weight: 700; letter-spacing: .16em; }
.btn { font-weight: 700; letter-spacing: -.005em; }
.chip, .cat, .seg button { font-weight: 650; }
.price, .lk-b span { font-weight: 750; font-variant-numeric: tabular-nums; }
.muted, small { font-weight: 450; }
.f-sans h3, .pro-wrap.f-sans .pro-head h1, .cover-m.sans { font-family: var(--sans) !important; font-weight: 800; letter-spacing: -.03em; font-variation-settings: normal; }
.place { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place button { display: grid; justify-items: start; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; text-align: left; }
.place button svg { color: var(--accent); width: 22px; height: 22px; margin-bottom: 4px; }
.place button small { color: var(--muted); font-size: .74rem; }
.place button.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.bk-svc > div { display: grid; gap: 1px; }
.cc { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; }
.cc.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.cc > span:nth-child(2) { display: grid; flex: 1; }
.cc-sw { width: 34px; height: 34px; border-radius: 50%; flex: none; background-image: conic-gradient(from 0deg, #e53935, #fb8c00, #fdd835, #43a047, #1e88e5, #8e24aa, #e53935) !important; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--line); }
.cc.on .cc-sw { background-image: none !important; }
.cc input[type=color] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; min-height: 0; }
.brand-band { background: var(--soft); }
.bb-logo { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; display: grid; place-items: center; font: 600 1.3rem var(--serif); flex: none; }
.bb-sw { width: 26px; height: 26px; border-radius: 50%; margin-left: auto; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ===== Police de chaque vitrine ===== */
:is(.card, .pro-wrap)[class*="ff-"] :is(.card-t h3, .pro-head h1, .cover-m), .pro-wrap[class*="ff-"] .h2, .fonts .ff-s { font-variation-settings: normal; }
.ff-elegante :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-elegante .ff-s { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100, "WONK" 0; }
.ff-luxe :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-luxe .ff-s { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -.01em; }
.ff-raffinee :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-raffinee .ff-s { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0; }
.ff-raffinee .card-t h3 { font-size: 1.34rem; } .ff-raffinee .pro-head h1 { font-size: 2.3rem; }
.ff-manuscrite :is(.card-t h3, .pro-head h1, .cover-m), .fonts .ff-manuscrite .ff-s { font-family: 'Dancing Script', cursive; font-weight: 700; letter-spacing: 0; }
.ff-manuscrite .card-t h3 { font-size: 1.45rem; } .ff-manuscrite .pro-head h1 { font-size: 2.5rem; }
.ff-manuscrite .h2 { font-family: 'Fraunces', serif; }
.ff-moderne :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-moderne .ff-s { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -.03em; }
.ff-arrondie :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-arrondie .ff-s { font-family: 'Quicksand', sans-serif; font-weight: 700; letter-spacing: -.01em; }
.ff-audacieuse :is(.card-t h3, .pro-head h1, .cover-m, .h2), .fonts .ff-audacieuse .ff-s { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.ff-audacieuse .card-t h3 { font-size: 1.5rem; } .ff-audacieuse .pro-head h1 { font-size: 2.6rem; line-height: 1; }
.fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fonts button { display: grid; gap: 2px; justify-items: start; padding: 12px 12px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; min-width: 0; }
.fonts button.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.ff-s { font-size: 1.15rem; line-height: 1.2; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fonts .ff-manuscrite .ff-s { font-size: 1.35rem; } .fonts .ff-audacieuse .ff-s { font-size: 1.35rem; }
.fonts small { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
/* Motif par-dessus la photo de couverture */
.cover.has-img.mo-ph:not([style*="--motif:none"])::after { display: block; z-index: 0; opacity: .55; background: var(--cbg); }
.cover.has-img.mo-ph::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--cfg) 45%, transparent)); pointer-events: none; }
.cover.has-img .cover-img { z-index: 0; }
.cover .cover-m { z-index: 2; }
/* Motifs plus discrets */
.cover::after { opacity: .09; -webkit-mask-size: 220px; mask-size: 220px; }
.cover.alt::after { opacity: .12; }
.cover.has-img.mo-ph:not([style*="--motif:none"])::after { opacity: .22; -webkit-mask-size: 240px; mask-size: 240px; }
.cover.has-img.mo-ph::before { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--cfg) 28%, transparent)); }
.hero::after { opacity: .07; }
.mt i::after { opacity: .35; }
/* Prestataires similaires */
.sims { gap: 12px; }
.sim { flex: none; width: 210px; display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; padding: 0; text-align: left; scroll-snap-align: start; }
.sim .cover { height: 78px; border-radius: 0; }
.sim .cover-m { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 12px; left: 12px; bottom: 10px; }
.sim-b { display: grid; gap: 3px; padding: 10px 12px 12px; }
.sim-n { font-family: var(--serif); font-size: 1rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim small { color: var(--muted); font-size: .74rem; }
.sim em { font-style: normal; width: fit-content; font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.sim i.free { font-style: normal; font-size: .72rem; display: inline-flex; align-items: center; gap: 4px; }
.sim i.free svg { width: 13px; height: 13px; }
.ff-luxe .sim-n { font-family: 'Playfair Display', serif; font-weight: 700; } .ff-raffinee .sim-n { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.12rem; }
.ff-manuscrite .sim-n { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 1.15rem; } .ff-moderne .sim-n { font-family: var(--sans); font-weight: 800; }
.ff-arrondie .sim-n { font-family: 'Quicksand', sans-serif; font-weight: 700; } .ff-audacieuse .sim-n { font-family: 'Bebas Neue', sans-serif; text-transform: uppercase; font-size: 1.15rem; font-weight: 400; }
/* Mode simple prestataire */
.today-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.today-sum div { padding: 12px; border-radius: var(--r); background: var(--accent-soft); text-align: center; }
.today-sum b { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; color: var(--accent); font-variation-settings: "SOFT" 100; }
.today-sum small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.mode-sw { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r); cursor: pointer; }
.mode-sw > span { flex: 1; display: grid; }
.mode-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-sw i { position: relative; width: 46px; height: 28px; border-radius: 99px; background: var(--line); flex: none; transition: .2s; }
.mode-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.mode-sw input:checked + i { background: var(--accent); } .mode-sw input:checked + i::after { left: 21px; }
.mode-sw input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Historiques */
.hm { margin-top: 20px; }
.hl { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hl li { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); background: #fff; }
.hl li:first-child { border-top: 0; }
.hl li > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hl li small { color: var(--muted); font-size: .76rem; }
.hl li > img { width: 44px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.hl-d { display: grid; place-items: center; width: 44px; flex: none; font-size: .66rem; color: var(--muted); line-height: 1.1; text-align: center; }
.hl-d b { font-family: var(--serif); font-size: 1.25rem; color: var(--text); font-weight: 560; }
.hl-a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; }
.hl-a .link { margin: 0; padding: 0; }
.rev-s.sm { font-size: .78rem; }
.hl-p { cursor: pointer; }
.hmo { margin-top: 18px; }
.hmo-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 8px; }
.hmo-h .h2 { margin: 0; }
.hmo-h > span { display: grid; text-align: right; } .hmo-h b { color: var(--accent); font-size: .95rem; } .hmo-h small { color: var(--muted); font-size: .72rem; }
.recent { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px; scrollbar-width: none; font-size: .78rem; color: var(--muted); }
.recent::-webkit-scrollbar { display: none; }
.recent > svg { width: 15px; height: 15px; flex: none; } .recent > span { flex: none; font-weight: 700; }
.recent button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 11px; font-size: .78rem; font-weight: 650; }
.recent button.x { padding: 4px; display: grid; place-items: center; } .recent button.x svg { width: 14px; height: 14px; }
/* Favoris & recommandations */
.card { position: relative; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.card-fav.on svg { fill: var(--accent); stroke: var(--accent); }
.why { margin: 6px 0 0 !important; width: fit-content; font-size: .72rem !important; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; }
.why svg { width: 13px !important; height: 13px !important; }
.sortbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.sortbar .count { margin: 0; }
.sel.sm { min-height: 34px; font-size: .78rem; } .sel.sm span { color: var(--muted); font-weight: 700; } .sel.sm select { font-size: .8rem; }
.search input[type=search] { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
/* Logo RDV Beauté */
.logo { width: 34px; height: 34px; padding: 0; background: none; border-radius: 11px; box-shadow: 0 4px 12px rgba(74,16,51,.25); overflow: hidden; }
.logo .mark { width: 34px; height: 34px; }
.brand { display: inline-flex; align-items: baseline; gap: 5px; color: var(--accent); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; }
.brand small { font-family: var(--sans); font-size: .58em; font-weight: 800; letter-spacing: .2em; color: var(--accent); opacity: .75; transform: translateY(-1px); }

/* ===== Effet papier sur le profil prestataire ===== */
:root { --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .24  0 0 0 0 .16  0 0 0 .075 0'/%3E%3C/filter%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .32' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .3  0 0 0 0 .2  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url%28%23g%29'/%3E%3Crect width='100%' height='100%' filter='url%28%23f%29'/%3E%3C/svg%3E"); --paper-bg: #FBF7F0; --paper-card: #FFFDF8; --paper-line: #EBE1D3; }
body[data-view="pro"] { background: var(--paper-bg) var(--paper); }
body[data-view="pro"] .bar, body[data-view="pro"] .anchors { background: color-mix(in srgb, var(--paper-bg) 94%, transparent); border-color: var(--paper-line); }
body[data-view="pro"] .tabbar { background: color-mix(in srgb, var(--paper-bg) 97%, transparent); border-color: var(--paper-line); }
.pro-wrap :is(.svc, .hours, .revs li, .team span, .rsum, .pro-mini, .sim, .note) { background-color: var(--paper-card); background-image: var(--paper); border-color: var(--paper-line); box-shadow: 0 1px 0 rgba(120,80,40,.04), 0 8px 22px -14px rgba(90,50,20,.22); }
.pro-wrap .rsum { background-color: color-mix(in srgb, var(--accent-soft) 70%, var(--paper-card)); }
.pro-wrap .svc li, .pro-wrap .hours div { border-color: var(--paper-line); }
.pro-wrap .hours div.on { background: color-mix(in srgb, var(--accent-soft) 80%, transparent); }
.pro-wrap .btn:not(.primary), .pro-wrap .ic-btn, .pro-wrap .chip:not(.on), .pro-wrap .anchors button { background-color: var(--paper-card); border-color: var(--paper-line); }
.pro-wrap .badge:nth-child(n+2) { background: var(--paper-card); border-color: var(--paper-line); }
.pro-head .cover.big { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V97L100 97 L99.3 93.8 L96.3 95.4 L94.5 94.1 L91.7 93.7 L90.1 94.3 L87.9 93.5 L85.3 95.4 L83.4 97.7 L80.2 96.8 L77.5 93.7 L74.9 95.9 L71.8 97.8 L69.6 96.4 L67.1 97.0 L65.2 98.0 L62.7 97.4 L60.1 93.6 L57.8 94.2 L55.1 95.6 L53.5 98.5 L51.5 97.2 L48.6 96.1 L46.1 94.7 L43.5 97.5 L41.5 95.8 L39.1 95.0 L36.9 96.9 L35.1 93.7 L33.6 96.2 L31.6 96.7 L29.1 94.3 L26.2 95.0 L24.6 94.2 L22.7 97.9 L21.2 98.5 L19.1 96.4 L16.0 96.7 L14.2 94.0 L11.3 95.6 L9.8 93.8 L7.6 93.6 L5.3 93.7 L3.2 96.2 L1.7 96.8 L0.0 95.1Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V97L100 97 L99.3 93.8 L96.3 95.4 L94.5 94.1 L91.7 93.7 L90.1 94.3 L87.9 93.5 L85.3 95.4 L83.4 97.7 L80.2 96.8 L77.5 93.7 L74.9 95.9 L71.8 97.8 L69.6 96.4 L67.1 97.0 L65.2 98.0 L62.7 97.4 L60.1 93.6 L57.8 94.2 L55.1 95.6 L53.5 98.5 L51.5 97.2 L48.6 96.1 L46.1 94.7 L43.5 97.5 L41.5 95.8 L39.1 95.0 L36.9 96.9 L35.1 93.7 L33.6 96.2 L31.6 96.7 L29.1 94.3 L26.2 95.0 L24.6 94.2 L22.7 97.9 L21.2 98.5 L19.1 96.4 L16.0 96.7 L14.2 94.0 L11.3 95.6 L9.8 93.8 L7.6 93.6 L5.3 93.7 L3.2 96.2 L1.7 96.8 L0.0 95.1Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; border-radius: 22px 22px 6px 6px; box-shadow: none; }
.pro-head .cover.big::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--paper); mix-blend-mode: multiply; opacity: .9; pointer-events: none; }
.pro-head h1 { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.pro-wrap .h2 { position: relative; padding-bottom: 6px; }
.pro-wrap .h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--accent); opacity: .5; }

/* ===== Fond papier légèrement froissé ===== */
body { background: #FBF8F3 url(../img/crumple.jpg) 0 0 / 600px repeat; }
body[data-view="pro"] { background: var(--paper), #FBF7F0 url(../img/crumple.jpg) 0 0 / 600px repeat; background-blend-mode: normal, multiply; }
.bar { background: rgba(251,248,243,.9); }
.tabbar { background: rgba(251,248,243,.96); }
.card, .lk, .svc, .recap, .bi, .ag, .cl li, .hl, .box, .kpis div, .band, .acc, .adm, .cm, .sim, .pro-mini, .chip, .cat, .sel, .btn:not(.primary):not(.ghost), .ic-btn, .day, .slot, .place button, .fonts button, .sw button, .mt button, .cc, .bd-c { background-color: #fff; }

/* ===== Responsive ===== */
img, video { max-width: 100%; }
.mcols { column-count: 2; column-gap: 10px; }
.mcols > .lk { break-inside: avoid; margin-bottom: 10px; display: block; }
.mcols > .lk:nth-child(3n+2) .lk-ph img { aspect-ratio: 1/1.05; object-position: top; }
.pro-grid { display: block; }
@media (max-width: 360px) {
  main { padding: 12px; }
  .hero { margin: -12px -12px 0; padding: 18px 12px 14px; }
  .cats, .rail, .days, .chips.tabs, .recent { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 1.12rem; } .tag { display: none; }
  .row2 { grid-template-columns: 1fr; } .today-sum b { font-size: 1.5rem; }
  .place, .fonts, .grid2 { grid-template-columns: 1fr; }
  .sw { grid-template-columns: repeat(4, 1fr); } .mt { grid-template-columns: repeat(3, 1fr); }
  .slots { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}
@media (min-width: 600px) {
  main { max-width: 760px; padding: 20px 24px; }
  .hero { margin: -20px -24px 0; padding: 26px 24px 22px; }
  .cats, .rail, .days, .chips.tabs, .recent, .anchors { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .mcols { column-count: 3; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .grid-ph { grid-template-columns: repeat(4, 1fr); }
  .bds { grid-template-columns: repeat(3, 1fr); }
  .cover.big { height: 220px; }
  .v-book main, .v-book, .v-login, .v-signup, .v-post-new, .v-review, .v-qr { max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 900px) {
  main { max-width: 1040px; padding: 28px 36px 40px; }
  .hero { margin: -28px -36px 0; padding: 36px 36px 30px; border-radius: 0 0 28px 28px; }
  .hero h1 { font-size: 3rem; max-width: 640px; }
  .hero .search { max-width: 620px; }
  .cats, .rail, .days, .chips.tabs, .recent, .anchors { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mcols { column-count: 4; column-gap: 14px; } .mcols > .lk { margin-bottom: 14px; }
  .grid-ph { grid-template-columns: repeat(5, 1fr); }
  .pro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
  .pro-side { position: sticky; top: 76px; padding-top: 6px; }
  .pro-side .h2:first-child { margin-top: 26px; }
  .cover.big { height: 280px; }
  .pro-head h1 { font-size: 2.6rem; }
  .anchors { top: 56px; }
  .lk-big img { max-height: 70vh; }
  .v-look .lk-big, .v-post .lk-big { float: left; width: 46%; margin-right: 28px; }
  .v-look::after, .v-post::after { content: ''; display: block; clear: both; }
  .ph h1, .page-t { font-size: 2.4rem; }
  .agl, .cl { grid-template-columns: 1fr 1fr; }
  .hl { max-width: 760px; }
  .scan { max-width: 460px; margin: 0 auto; }
  .qr-card { max-width: 420px; margin: 0 auto; }
  .bds { grid-template-columns: repeat(4, 1fr); }
  .sim { width: 230px; }
  .fab { right: 32px; }
}
@media (min-width: 1300px) {
  main { max-width: 1180px; }
  .mcols { column-count: 5; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 360px) { .anchors { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; } }

/* =========================================================
   AFFINAGE — même identité, finition de designer
   ========================================================= */
:root { --r-xs: 8px; --r-sm: 11px; --r-md: 15px; --r-lg: 22px; --sh-1: 0 1px 2px rgba(36,19,29,.05); --sh-2: 0 2px 6px rgba(36,19,29,.06), 0 10px 24px -16px rgba(36,19,29,.18); }

/* Étoiles dessinées */
.s5 { display: inline-flex; gap: 1px; vertical-align: -2px; }
.s5 svg { width: 13px; height: 13px; fill: #E6DCD3; stroke: none; }
.s5 svg.on { fill: #B98A2E; }
.rsum-n .s5 svg { width: 15px; height: 15px; }
.rate { gap: 10px; }
.rate button svg { width: 38px; height: 38px; fill: #E6DCD3; stroke: none; transition: transform .15s, fill .15s; }
.rate button.on svg { fill: #B98A2E; }
.rate button:active svg { transform: scale(.9); }
.stars svg { color: #B98A2E; }
.grid-ph span svg { width: 12px; height: 12px; color: var(--ok); vertical-align: -1px; margin-left: 2px; stroke-width: 2.4; }

/* Typographie : hiérarchie plus nette, graisses moins lourdes */
body { font-size: 15px; line-height: 1.55; letter-spacing: -.003em; }
.page-t { font-size: 1.95rem; margin: 4px 0 18px; }
.h2 { font-size: 1.28rem; line-height: 1.2; margin: 30px 0 12px; font-weight: 600; }
.h2 small { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: 0; }
.top h1 { font-size: 1.4rem; font-weight: 600; }
.card-t h3 { font-size: 1.16rem; line-height: 1.22; }
.eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.lbl { font-weight: 650; font-size: .84rem; margin: 20px 0 8px; }
.count { font-weight: 600; font-size: .78rem; letter-spacing: .01em; }
.muted { color: var(--muted); }
small, .small { font-weight: 500; }
.st, .rel, .badge, .why, .vr, .insp, .fid, .rev-tags span, .sim em { font-weight: 700; letter-spacing: .005em; }
.tabbar button { font-weight: 600; font-size: .67rem; letter-spacing: .01em; }
.btn { font-weight: 650; }
.btn.big { font-weight: 700; letter-spacing: -.005em; }
.chip, .cat, .seg button { font-weight: 600; }
.price { font-weight: 700; }
.kpis b, .today-sum b { font-weight: 500; }
p { text-wrap: pretty; } h1, .h2, .lk-t { text-wrap: balance; }

/* Arrondis variés selon le rôle de chaque élément */
.card { border-radius: var(--r-lg); }
.svc, .recap, .hl, .hours, .cl li, .bi, .ag { border-radius: var(--r-md); }
.band, .box, .rsum, .vp-card, .share, .ps-head, .ck, .bp, .cm { border-radius: 18px; }
.kpis div, .today-sum div { border-radius: 13px; }
.btn { border-radius: 12px; } .btn.big { border-radius: 14px; } .btn.small { border-radius: 10px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-radius: var(--r-sm); }
.slot, .day, .wd { border-radius: 12px; }
.lk { border-radius: 16px; } .sim { border-radius: 16px; }
.rail-i img, .grid-ph img, .card-ph img { border-radius: 10px; }
.cover-m { border-radius: 16px; } .cover.big { border-radius: 24px; }
.ic-btn { border-radius: 12px; } .ic-btn.sm { border-radius: 10px; }
.team span { border-radius: 14px; }

/* Ombres et dégradés atténués */
.fab { box-shadow: 0 6px 16px -6px rgba(74,16,51,.45); }
.card-fav, .lk-fav { box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.cover-m { box-shadow: 0 2px 6px rgba(36,19,29,.12); }
.logo { box-shadow: 0 1px 3px rgba(74,16,51,.25); }
.pro-wrap :is(.svc, .hours, .revs li, .team span, .rsum, .pro-mini, .sim, .note) { box-shadow: var(--sh-1); }
.cover.has-img.mo-ph::before { background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--cfg) 20%, transparent)); }
.card:hover { box-shadow: var(--sh-2); } .card { transition: box-shadow .2s, transform .15s; }

/* Toutes les cartes de salon ont la même disposition verticale (couverture en haut, infos dessous) */
.svc li { padding: 14px 16px; } .svc li > div b { font-weight: 650; }

/* Espacements et alignements harmonisés */
.card-b { padding: 14px 16px 16px; }
.card-b > p { margin-top: 5px; }
.card-tags { margin-top: 10px !important; }
.card-f { margin-top: 14px; padding-top: 12px; }
.band { padding: 14px 16px; margin-bottom: 10px; gap: 14px; }
.band span b { font-weight: 650; }
.cards { gap: 16px; }
.recap > div { padding: 13px 16px; }
.hero h1 { margin: 10px 0 18px; }
.filters { margin-top: 12px; }
.sec-h { margin-top: 6px; }
.form { gap: 14px; }
.fld { gap: 7px; font-weight: 650; }
/* Froissé plus léger : texture posée en voile */
body, body[data-view="pro"] { background: #FBF8F3; background-blend-mode: normal; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url(../img/crumple.jpg) 0 0 / 600px repeat; opacity: .5; pointer-events: none; }
body[data-view="pro"] { background: #FBF7F0 var(--paper); }
body[data-view="pro"]::before { opacity: .42; mix-blend-mode: multiply; }

/* ===== Production : chargement, fenêtres, consentement, pages légales ===== */
.boot { display: grid; justify-items: center; gap: 12px; padding: 80px 16px; color: var(--muted); text-align: center; }
body.is-busy::after { content: ''; position: fixed; top: 0; left: 0; z-index: 100; height: 3px; width: 40%; background: var(--accent); animation: busy 1s ease-in-out infinite; }
body.is-busy button, body.is-busy .btn { cursor: progress; }
@keyframes busy { 0% { left: -40%; } 100% { left: 100%; } }
.dlg { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 16px; background: rgba(36,19,29,.42); animation: fadeIn .15s ease-out; }
.dlg-b { width: 100%; max-width: 440px; display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--sh-2); margin-bottom: env(safe-area-inset-bottom); }
.dlg-b p { margin: 0; font-size: 1rem; line-height: 1.45; }
.dlg-b textarea { min-height: 90px; }
@media (min-width: 600px) { .dlg { place-items: center; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.wa-sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px); z-index: 80; width: calc(100% - 24px); max-width: 440px; display: grid; gap: 4px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); animation: fadeIn .2s ease-out; }
@media (min-width: 900px) { .wa-sheet { bottom: 24px; } }
.consent { align-items: flex-start !important; font-weight: 500 !important; font-size: .8rem !important; line-height: 1.45; color: var(--muted); }
.consent input { margin-top: 2px; flex: none; }
.consent a { color: var(--accent); font-weight: 650; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 12px 0 0; font-size: .76rem; }
.legal-links a { color: var(--muted); text-underline-offset: 3px; }
.legal-page { padding-bottom: 40px; }
.legal-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.legal-home .logo img { display: block; width: 34px; height: 34px; }
.legal { max-width: 760px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.lt { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 8px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lt th, .lt td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.lt th { background: var(--soft); font-weight: 650; border-top: 0; }
@media (max-width: 600px) { .lt, .lt tbody, .lt tr, .lt td { display: block; } .lt thead { display: none; } .lt td:first-child { font-weight: 650; padding-bottom: 2px; } .lt td { border-top: 0; padding-top: 4px; } .lt tr { border-top: 1px solid var(--line); padding: 6px 0; } }
.qr-off { padding: 32px 16px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.pager .btn[disabled] { opacity: .4; }
.cl li .btn.small { flex: none; }

/* ---------- Vidéos : aperçu + icône ▶︎, lecture au clic seulement ---------- */
.lk-ph, .up.has, .vid-play { position: relative; }
.vid-play { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.vid-ic { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: var(--accent); font-size: 1.35rem; padding-left: 4px; border: 0; box-shadow: var(--sh-1, 0 4px 14px rgba(0,0,0,.18)); pointer-events: none; }
.vid-ic.sm { width: 36px; height: 36px; font-size: .9rem; padding-left: 3px; }
.cover-play { pointer-events: auto; cursor: pointer; z-index: 3; }
.lk-big video { width: 100%; max-height: 62vh; border-radius: 22px; display: block; background: #000; object-fit: contain; }
.cover video.cover-img { background: #000; z-index: 2; }
.grid-ph > *, .rail-i, .gp { position: relative; }

/* Grande carte de résultat : la couverture (photo ou aperçu vidéo) s'affiche sans motif par-dessus ;
   le cœur passe sur la couverture pour ne plus couvrir le badge « Nouveau » / la note */
.cards > .card .cover.has-img::before, .cards > .card .cover.has-img::after { display: none; }
/* Toutes les cartes : le titre et le badge ne passent jamais sous le cœur */
.card-t .stars { flex: none; }

/* Anti-robots (Turnstile) : invisible le plus souvent ; encadré au-dessus de la barre du bas s'il faut cocher */
.ts-box { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 1000; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.ts-box > * { pointer-events: auto; }
.ts-box .ts-t { display: none; margin: 0 0 10px; font-weight: 700; font-size: 1rem; color: var(--text); text-align: center; }
/* Case à cocher demandée : au centre de l'écran, page assombrie, impossible à rater */
.ts-box.on { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: max-content; max-width: calc(100vw - 32px); padding: 18px 16px 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 100vmax rgba(36, 19, 29, .55), 0 18px 50px rgba(0, 0, 0, .35); }
.ts-box.on .ts-t { display: block; }

/* Mot de passe : bouton œil pour afficher / masquer ce qu'on tape */
.pw { position: relative; display: block; }
.pw > input { width: 100%; padding-right: 52px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 12px; cursor: pointer; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--accent); }
.pw-eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   Animations (discrètes, rapides, désactivées si « réduire les animations »)
   ===================================================================== */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* Entrée de page */
/* Fondu seul sur la page (pas de transform : il déplacerait les boutons fixes comme « Publier ») */
#view.enter { animation: fadeIn .28s ease-out both; }
/* Cartes et listes : apparition en cascade */
#view.enter :is(.cards > *, .rail > *, .kpis > *, .bl > li, .cl > li, .adm, .svc, .lk, .grid-looks > *, .band, .day, .slot) { animation: riseIn .42s var(--ease-out) both; }
#view.enter :is(.cards, .rail, .kpis, .bl, .cl) > :nth-child(2) { animation-delay: .04s; }
#view.enter :is(.cards, .rail, .kpis, .bl, .cl) > :nth-child(3) { animation-delay: .08s; }
#view.enter :is(.cards, .rail, .kpis, .bl, .cl) > :nth-child(4) { animation-delay: .12s; }
#view.enter :is(.cards, .rail, .kpis, .bl, .cl) > :nth-child(5) { animation-delay: .16s; }
#view.enter :is(.cards, .rail, .kpis, .bl, .cl) > :nth-child(n+6) { animation-delay: .2s; }

/* Survol (ordinateur) : la carte se soulève, la photo zoome légèrement */
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(36, 19, 29, .12); border-color: transparent; }
  .card .cover, .card img, .rail-i img, .lk img { transition: transform .5s var(--ease-out); }
  .card:hover .cover, .card:hover img, .rail-i:hover img, .lk:hover img { transform: scale(1.035); }
  .btn, .chip, .cat, .slot, .day { transition: transform .15s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
  .btn:hover { box-shadow: 0 6px 16px rgba(36, 19, 29, .1); }
  .btn.primary:hover { filter: brightness(1.06); }
}
/* Appui (téléphone et ordinateur) : petit enfoncement */
.btn:active, .chip:active, .cat:active, .slot:active, .day:active, .card:active, .rail-i:active, #tabbar button:active { transform: scale(.97); }
.btn, .chip, .cat, .slot, .day, #tabbar button { transition: transform .12s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
/* Onglet actif : l'icône remonte légèrement */
#tabbar button svg { transition: transform .25s var(--ease-out); }
#tabbar button.on svg { transform: translateY(-2px); }
/* Champs : halo doux à la saisie */
input, select, textarea { transition: border-color .2s, box-shadow .2s; }
/* Fenêtre anti-robots : apparition */
.ts-box.on { animation: fadeIn .25s ease-out both; }   /* opacité seule : le centrage utilise transform */

@media (prefers-reduced-motion: reduce) {
  #view.enter, #view.enter *, .ts-box.on { animation: none !important; }
  .card:hover, .card:hover img, .card:hover .cover, .btn:active, .chip:active, .card:active { transform: none !important; }
}

/* Inscription : choix de la couleur (pastilles radio) */
.sw-pick label { display: grid; justify-items: center; gap: 5px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; position: relative; }
.sw-pick label.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--text) inset; }
.sw-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sw-pick label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Espace pro : le fond prend la couleur du salon (teinte claire), la texture froissée reste en voile */
body.pro-colors, body.pro-colors[data-view="pro"] { background: var(--page, #FBF8F3); }
body.pro-colors::before { opacity: .28; mix-blend-mode: multiply; }
body.pro-colors .bar { background: color-mix(in srgb, var(--page-bar, #FBF8F3) 92%, transparent); }
body.pro-colors .tabbar { background: color-mix(in srgb, var(--page-bar, #FFFFFF) 96%, transparent); }

/* ===== Animations sur toute l'application ===== */
@keyframes sheetUp { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
/* Plus d'éléments apparaissent en cascade à l'entrée d'une page (client, pro, admin) */
#view.enter :is(.hero, .top, .page-t, .eyebrow, .anchors, .filters, .chips, .sec-h, .h2, .box, .recap, .hl, .acc, .cm, .sim, .pro-mini,
  .form > *, .fld, .grid2, .sw > *, .mt > *, .fonts > *, .tabs-in, .ag, .cal, .empty, .done > *, .lk-big, .rev, .grid-ph > *, .sortbar, .stats > *) {
  animation: riseIn .4s var(--ease-out) both; }
#view.enter :is(.form > *:nth-child(n+3), .done > *:nth-child(n+3), .grid-ph > *:nth-child(n+3)) { animation-delay: .06s; }
#view.enter :is(.form > *:nth-child(n+6), .done > *:nth-child(n+5), .grid-ph > *:nth-child(n+6)) { animation-delay: .12s; }
/* Changement d'onglet ou de filtre : pas de glissement de la page, seulement le contenu */
#view.enter.soft { animation: none; }
#view.enter.soft :is(.hero, .top, .page-t, .anchors, .filters, .chips, .sec-h) { animation: none; }
/* Fenêtres, feuilles WhatsApp, notifications */
.dlg-b { animation: sheetUp .3s var(--ease-out) both; }
.wa-sheet { animation: fadeIn .25s ease-out both; }
.toast { transition: opacity .25s, transform .3s var(--ease-out); }
/* Pastilles de choix (couleurs, créneaux, jours) : sélection qui « répond » */
.sw button.on i, .sw-pick label.on i, .slot.on, .day.on, .chip.on, .cat.on { animation: popIn .25s var(--ease-out); }
/* Badge de nouvelles demandes : léger battement pour attirer l'œil */
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.tabbar em { animation: pulse 1.8s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) {
  .dlg-b, .wa-sheet, .tabbar em, .sw button.on i, .sw-pick label.on i, .slot.on, .day.on, .chip.on, .cat.on { animation: none !important; }
}

/* Logo RDV Beauté (R doré sur prune) dans l'en-tête */
.logo img { display: block; width: 34px; height: 34px; object-fit: cover; }

/* Bouton flottant « Publier » : toujours fixé en bas, jamais animé avec la page */
#view.enter .fab { animation: none !important; }

.top-sp { flex: 1; }

/* Badge « À la une » (salon mis en avant par l'admin) */
.une { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; width: max-content; margin-bottom: 6px; padding: 3px 10px; border-radius: 99px; background: linear-gradient(135deg, #F3DDA6, #C99B4E); color: #3B0F2C; font-weight: 800; font-size: .7rem; letter-spacing: .02em; }
.une svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }

/* Écran « Demande envoyée » : QR code de la cliente */
.done-qr { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 440px; margin: 4px auto 6px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left; }
.done-qr-c { flex: none; width: 96px; height: 96px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.done-qr-c svg { display: block; width: 100%; height: 100%; }
.done-qr span { display: grid; gap: 4px; } .done-qr small { color: var(--muted); line-height: 1.4; } .done-qr .link { justify-self: start; }

/* ---------- Page d'une photo (salon ou cliente) : photo + panneau, façon tableau d'inspiration ---------- */
.pin { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(36,19,29,.04), 0 18px 40px -24px rgba(36,19,29,.25); margin-bottom: 22px; }
.pin-media { margin: 0; background: #1d1418; display: grid; place-items: center; min-height: 240px; }
.pin-media > img, .pin-media .vid-play img { width: 100%; max-height: 70vh; object-fit: contain; display: block; }
.pin-media .vid-play { width: 100%; border: 0; padding: 0; background: none; position: relative; }
.pin-side { display: flex; flex-direction: column; min-width: 0; }
.pin-bar { display: flex; align-items: center; gap: 4px; padding: 12px 14px 6px; position: sticky; top: 56px; z-index: 2; background: rgba(255,255,255,.96); }
.pin-act { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 9px 10px; border-radius: 99px; font-weight: 700; font-size: .95rem; min-height: 44px; }
.pin-act svg { width: 23px; height: 23px; }
.pin-act:hover { background: var(--soft); }
.pin-act.fav-on { color: var(--accent); } .pin-act.fav-on svg { fill: currentColor; }
.pin-bar { position: relative; z-index: 6; } .pin-more { position: static; } .pin-more summary { list-style: none; } .pin-more summary::-webkit-details-marker { display: none; }
.pin-more summary.ic-btn { border: 0; background: none; }
.pin-menu { position: absolute; left: 10px; right: auto; max-width: calc(100% - 20px); top: calc(100% - 2px); z-index: 5; min-width: 240px; display: grid; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -12px rgba(36,19,29,.3); }
.pin-menu button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.pin-menu button:hover { background: var(--soft); }
.pin-save { margin-left: auto; border-radius: 99px; padding: 10px 18px; min-height: 44px; }
.pin-side > .bp { margin: 4px 16px 0; }
.pin-body { padding: 8px 18px 14px; flex: 1; }
.pin-by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 0; background: none; padding: 0; text-align: left; width: 100%; }
.pin-by > span:not(.av):not(.stars) { display: grid; flex: 1; min-width: 0; } .pin-by small { color: var(--muted); font-size: .78rem; }
.pin-by .cover { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.pin-t { font: 700 1.6rem/1.15 var(--sans); letter-spacing: -.02em; margin: 2px 0 8px; }
.pin-desc { color: var(--muted); margin: 0 0 12px; white-space: pre-line; }
.pin-book { display: grid; gap: 10px; margin: 12px 0 6px; } .pin-book:empty { display: none; }
.pin-cm { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.pin-cm summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: 4px 0 10px; font-size: 1.02rem; }
.pin-cm summary::-webkit-details-marker { display: none; }
.pin-cm summary svg { transition: transform .2s; } .pin-cm[open] summary svg { transform: rotate(180deg); }
.pin-cm .cm-i { padding: 6px 0; } .pin-cm .cm-i p { margin: 0; font-size: .9rem; line-height: 1.4; }
.pin-form { display: flex; gap: 8px; align-items: center; margin: 0 14px 14px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 99px; background: #fff; position: sticky; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 8px); z-index: 2; }
.pin-form input[name] { flex: 1; min-width: 0; border: 0; outline: none; background: none; box-shadow: none; padding: 8px 0; min-height: 0; font-size: .95rem; }
.pin-form .btn { border-radius: 99px; }
.pin-login { justify-content: center; font-weight: 700; color: var(--accent); min-height: 48px; padding: 6px 16px; }
@media (max-width: 899px) {
  .pin-bar { position: sticky; gap: 0; padding: 10px 10px 6px; }
  .pin-act { padding: 8px 8px; }
  .pin-save { padding: 9px 16px; }
}
@media (min-width: 900px) {
  .pin { grid-template-columns: minmax(0, 1.05fr) minmax(340px, 1fr); min-height: 560px; }
  .pin-media { min-height: 100%; border-radius: 28px 0 0 28px; }
  .pin-media > img, .pin-media .vid-play img { max-height: 82vh; height: 100%; object-fit: cover; }
  .pin-side { max-height: 82vh; }
  .pin-body { overflow-y: auto; }
  .pin-bar { position: static; padding: 18px 20px 6px; }
  .pin-body { padding: 8px 24px 14px; }
  .pin-form { position: static; margin: 0 20px 20px; }
}
