/* Pink : charte rose poudré, noir encre, blanc (même famille que Klip et MöA).
   Titres en Poppins serré, mots d'accent en Fraunces italique, boutons en pilule. */
:root {
  --pink: #F7CACD;
  --pink-100: #fef8f9;
  --pink-200: #fbe8e9;
  --pink-300: #f9dcde;
  --pink-800: #e8737c;
  --red: #e03e4b;
  --ink: #111111;
  --ink-2: #272727;
  --grey: #61666a;
  --grey-2: #8a8a8d;
  --line: #ececec;
  --bg: #ffffff;
  --soft: #fafafa;
  --ok: #2f9e5b;
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 100px;
  --shadow: 0 10px 40px rgba(17, 17, 17, .07);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --accent: var(--pink);
  --accent-soft: var(--pink-100);
  --accent-deep: var(--pink-800);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0 0 12px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.muted { color: var(--grey); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.mt { margin-top: 14px; }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ic { flex: none; vertical-align: -4px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 760px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

/* ── En-tête ─────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled, .app-top { border-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 28px; letter-spacing: -.06em; text-decoration: none; line-height: 1; color: var(--ink); }
.logo-mark { flex: none; display: block; }
.wm { font-weight: 800; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.wm-i { position: relative; display: inline-block; }
.wm-i::after { content: ''; position: absolute; left: 50%; top: -.05em; width: .25em; height: .25em; border-radius: 50%; background: var(--pink-800); transform: translateX(-50%); }
.nav { display: none; gap: 4px; margin-left: 20px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: var(--pill); }
.nav a:hover { background: var(--pink-200); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
@media (min-width: 860px) { .nav { display: flex; } }
@media (max-width: 480px) { .hide-xs { display: none !important; } }
.show-xs { display: none !important; }
@media (max-width: 480px) { .show-xs { display: flex !important; } }
.admin-link { align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: var(--pill); margin-bottom: 14px; text-decoration: none; }

/* ── Boutons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; padding: 14px 26px; min-height: 50px; border-radius: var(--pill); font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, opacity .15s; text-align: center; }
.btn:hover { background: #2c2c2c; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--pink-200); }
.btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.btn.white:hover { background: var(--pink-100); }
.btn.sm { padding: 8px 16px; min-height: 40px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn.danger-ghost { border-color: transparent; color: var(--red); }
.btn.danger-ghost:hover { background: #fdecee; }
@media (max-width: 560px) { .btn.block-xs { display: flex; width: 100%; } }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; color: inherit; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: inline-grid; place-items: center; cursor: pointer; transition: background .15s; color: var(--ink); text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--pink-200); }
.icon-btn[disabled] { opacity: .25; cursor: default; background: transparent; }

/* ── Champs ──────────────────────────────────────────── */
.lbl { display: block; font-weight: 600; font-size: 14.5px; margin: 0 0 8px; }
.lbl .opt, .opt { font-weight: 400; color: var(--grey-2); font-size: 13px; margin-left: 6px; }
.lbl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lbl-row .lbl { margin: 0; }
.input { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 13px 16px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; min-height: 50px; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--pink-200); }
.input::placeholder { color: #b3b3b6; }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.55; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field { margin-bottom: 20px; }
.field.inline { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.field-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-200); display: grid; place-items: center; flex: none; }
.grid2, .grid3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.grid2 > *, .grid3 > *, .kpis > *, .type-grid > * { min-width: 0; }
@media (min-width: 600px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.input-prefix, .input-suffix { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-prefix:focus-within, .input-suffix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--pink-200); }
.input-prefix span { padding-left: 16px; color: var(--grey); white-space: nowrap; font-weight: 500; }
.input-suffix span { padding-right: 18px; color: var(--grey); font-weight: 600; }
.input-prefix .input, .input-suffix .input { min-width: 0; flex: 1 1 0; border: 0; box-shadow: none; padding-left: 2px; background: transparent; }
.input-suffix .input { padding-left: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.hint { background: var(--pink-100); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; }
.pw { position: relative; }
.pw-eye { position: absolute; right: 6px; top: 5px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--grey); border-radius: 50%; }

.seg { display: inline-flex; background: var(--pink-200); border-radius: var(--pill); padding: 4px; gap: 2px; }
.seg button, .seg a { border: 0; background: transparent; padding: 10px 18px; border-radius: var(--pill); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.seg .on { background: var(--ink); color: #fff; }
.seg.full { display: flex; width: 100%; }
.seg.full button { flex: 1; justify-content: center; }
.seg.tabs { margin-bottom: 18px; max-width: 100%; overflow-x: auto; }
.seg .count { background: rgba(255,255,255,.25); padding: 0 8px; border-radius: var(--pill); font-size: 12px; }
.seg a:not(.on) .count { background: #fff; }
.seg-panel { margin-top: 16px; }

.switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; font-size: 15px; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 46px; height: 28px; border-radius: var(--pill); background: #dcdcdc; position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px var(--pink-300); }
.switch.big { background: var(--pink-100); border-radius: var(--radius-sm); padding: 16px; align-items: flex-start; }

.ai-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--pink); color: var(--ink); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: var(--pill); cursor: pointer; white-space: nowrap; }
.ai-btn:hover { background: var(--pink-300); }
.ai-btn.busy { opacity: .6; pointer-events: none; }

details.more { border-top: 1px solid var(--line); padding: 4px 0; margin-bottom: 4px; }
details.more:last-of-type { margin-bottom: 20px; border-bottom: 1px solid var(--line); }
details.more summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--grey); line-height: 1; }
details.more[open] summary::after { content: '–'; }

/* ── Cartes, badges, messages ────────────────────────── */
.card[id], section[id] { scroll-margin-top: 86px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; margin-bottom: 18px; }
.card.pink { background: var(--pink); border-color: var(--pink); }
@media (min-width: 720px) { .card { padding: 28px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: var(--pink-200); padding: 5px 12px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.badge.ok { background: #e3f4ea; color: #1d6b3c; }
.badge.hot { background: var(--ink); color: #fff; }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--pink); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px; }
.banner.warn { background: var(--ink); color: #fff; }
.banner.warn .btn { background: #fff; color: var(--ink); border-color: #fff; }
.toast-inline { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; font-size: 14.5px; background: #e3f4ea; color: #1d6b3c; }
.toast-inline.err { background: #fdecee; color: #a32531; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: var(--pill); font-weight: 500; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.empty { color: var(--grey); padding: 8px 0; }
.empty-big { text-align: center; padding: 20px 10px 8px; }
.empty-ic, .type-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--pink); display: inline-grid; place-items: center; }
.empty-big p { margin: 14px 0 18px; }
.progress { height: 8px; border-radius: var(--pill); background: var(--pink-200); overflow: hidden; margin-bottom: 14px; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: var(--pill); transition: width .4s; }
.progress.dark { background: rgba(255,255,255,.6); }

/* ── Espace de gestion ───────────────────────────────── */
body.app { background: var(--soft); padding-bottom: 92px; }
.linkpill { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); border: 0; padding: 9px 14px; border-radius: var(--pill); font-weight: 600; font-size: 13.5px; cursor: pointer; min-width: 0; }
.linkpill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.app-grid { display: block; padding-top: 22px; }
.app-main { min-width: 0; }
.side { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.side a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; text-decoration: none; font-size: 10.5px; font-weight: 600; color: var(--grey-2); border-radius: 14px; min-width: 0; }
.side a span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.side a.on { color: var(--ink); background: var(--pink-200); }
.side .side-out { display: none; }
@media (min-width: 900px) {
  body.app { padding-bottom: 40px; }
  .app-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; padding-top: 32px; }
  .side { position: sticky; top: 98px; align-self: start; flex-direction: column; gap: 4px; background: none; border: 0; padding: 0; }
  .side a { flex: none; flex-direction: row; gap: 12px; font-size: 15px; padding: 12px 16px; border-radius: var(--pill); color: var(--ink-2); }
  .side a:hover { background: var(--pink-100); }
  .side a.on { background: var(--pink); }
  .side .side-out { display: block; margin-top: 18px; font-size: 13.5px; color: var(--grey-2); font-weight: 500; }
  .toast { bottom: 36px; }
}
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(30px, 6vw, 42px); }
.page-head p { margin: 8px 0 0; max-width: 620px; }
.page-head .badge { margin-bottom: 12px; }
.backlink { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; padding: 6px 12px 6px 6px; border-radius: var(--pill); }
.backlink:hover { background: var(--pink-200); }
.form-narrow { max-width: 680px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions form { margin: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.share-url { font-size: clamp(20px, 5vw, 28px); font-weight: 700; letter-spacing: -.03em; word-break: break-all; line-height: 1.2; }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 500; }
.steps a { text-decoration: none; flex: 1; }
.steps a:hover { text-decoration: underline; }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.steps li.ok { color: var(--grey-2); }
.steps li.ok .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps .go { transform: rotate(180deg); color: var(--grey-2); display: grid; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kpi .k-label { display: block; font-size: 13px; color: var(--grey); margin-bottom: 4px; }
.kpi b { font-size: 26px; letter-spacing: -.04em; line-height: 1.1; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.bar i { width: 100%; max-width: 30px; background: var(--pink-800); border-radius: 8px 8px 3px 3px; min-height: 4px; }
.bar i.zero { background: var(--pink-200); }
.bar span { font-size: 11px; color: var(--grey-2); }

.row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.row form { margin: 0; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-main b, .row-main span { overflow-wrap: anywhere; }
.row-date { width: 48px; height: 52px; border-radius: 14px; background: var(--pink-200); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex: none; }
.row-date b { font-size: 18px; }
.row-date span { font-size: 11px; color: var(--grey); }
.row-time { font-weight: 700; font-size: 17px; width: 56px; flex: none; }
.day-sep { font-weight: 700; font-size: 14px; margin: 18px 0 4px; }
.note { font-size: 13.5px; background: var(--pink-100); border-radius: 10px; padding: 6px 10px; margin-top: 4px; }
.amount { white-space: nowrap; }
.avatar-sm { width: 42px; height: 42px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-weight: 700; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; padding: 7px 14px; border-radius: var(--pill); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip b { font-weight: 700; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.row-main .badge { font-size: 11px; padding: 2px 9px; vertical-align: 2px; margin-left: 4px; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 640px) { .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; height: 100%; transition: border-color .15s, background .15s; }
.pick i { font-style: normal; font-weight: 700; background: var(--pink-200); border-radius: var(--pill); padding: 0 10px; align-self: start; }
.pick small { grid-column: 1 / -1; color: var(--grey); font-size: 13px; }
.pick input:checked + span { border-color: var(--ink); background: var(--pink-100); }
.pick input:checked + span i { background: var(--ink); color: #fff; }
.pick input:focus-visible + span { box-shadow: 0 0 0 4px var(--pink-300); }
.inline-add { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.inline-add .input { flex: 1 1 150px; min-height: 44px; padding: 9px 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.split-main { min-width: 0; }
.split-side { display: none; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) 330px; } .split-side { display: block; position: sticky; top: 98px; align-self: start; } }
.phone { width: 300px; height: 600px; margin: 0 auto 10px; border-radius: 44px; border: 9px solid var(--ink); background: #fff; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.phone iframe { width: 100%; height: 100%; border: 0; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.plist li.off { opacity: .55; }
.p-thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--pink-200); display: grid; place-items: center; overflow: hidden; flex: none; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-main { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.p-main b { line-height: 1.3; overflow-wrap: anywhere; }
.p-actions { display: flex; margin: 0; }
@media (max-width: 480px) { .p-actions .icon-btn { width: 34px; } }
.avatar-field { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.avatar-pick { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; cursor: pointer; flex: none; position: relative; background: var(--pink-200); display: grid; place-items: center; border: 2px dashed var(--pink-800); }
.avatar-pick img { width: 100%; height: 100%; object-fit: cover; }
.avatar-pick input, .drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { cursor: pointer; text-align: center; font-size: 12px; color: var(--grey); position: relative; }
.swatches input { position: absolute; opacity: 0; }
.swatches i { display: block; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 4px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .15s; }
.swatches input:checked + i { box-shadow: 0 0 0 2.5px var(--ink); }
.swatches input:focus-visible + i { box-shadow: 0 0 0 4px var(--pink-800); }
.type-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.type-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; transition: border-color .15s, transform .15s, box-shadow .15s; }
.type-card .type-ic { grid-row: span 2; }
.type-card b { font-size: 17px; align-self: end; }
.type-card .muted { align-self: start; }
.type-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.drop { position: relative; display: flex; align-items: center; gap: 14px; border: 2px dashed var(--pink-800); background: var(--pink-100); border-radius: var(--radius-sm); padding: 18px; cursor: pointer; overflow: hidden; }
.drop:hover { background: var(--pink-200); }
.drop-ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.cover-drop img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; }
.week { display: grid; gap: 8px; margin: 16px 0 22px; }
.week-day { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.week-day .ranges { display: none; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.week-day.on .ranges { display: flex; }
.week-day.on { background: var(--pink-100); border-color: var(--pink-300); }
.input.time { width: auto; min-height: 40px; padding: 6px 10px; font-size: 15px; display: inline-block; }
.blocked { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.blocked button { border: 0; background: var(--pink-200); border-radius: var(--pill); padding: 6px 12px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.blocked button::after { content: ' ×'; }
.leave-add { align-items: flex-end; }
.leave-date { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; color: var(--grey); }
.leave-date .input { flex: 0 0 auto; width: 100%; }
.auto .switch.big { margin-bottom: 4px; }
.auto details.more { margin-top: 14px; }
.auto details.more:last-of-type { margin-bottom: 0; border-bottom: 0; }
.auto-n { margin: 12px 0 0; }
.input.mini { display: inline-block; width: auto; min-height: 38px; padding: 5px 34px 5px 12px; font-size: 14px; margin-left: 4px; background-position: right 12px center; }
.conv { border-top: 1px solid var(--line); }
.conv summary { display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; list-style: none; }
.conv summary::-webkit-details-marker { display: none; }
.conv-body { padding: 4px 0 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.moa-steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.moa-card { background: linear-gradient(135deg, #fff 60%, var(--pink-100)); }

/* ── Bulles de discussion (assistante) ───────────────── */
.msg { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #f3f3f4; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg a, .msg-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.msg.typing { color: var(--grey-2); font-style: italic; }
.chat-log { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; overflow-y: auto; padding: 4px 2px; }
.chat-form { display: flex; gap: 8px; margin: 0; }
.chat-form .input { min-height: 44px; padding: 9px 16px; border-radius: var(--pill); }
.chat-form .btn { width: 44px; min-height: 44px; padding: 0; flex: none; }
.chat-test .chat-log { height: 300px; margin-bottom: 12px; }

/* ── Vérification anti-robot ─────────────────────────── */
.captcha-box { display: flex; align-items: center; gap: 14px; width: 100%; border: 1.5px solid var(--line); background: var(--soft); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; font-weight: 500; font-size: 15px; text-align: left; transition: border-color .15s, background .15s; }
.captcha-box:hover { border-color: var(--ink); }
.captcha-tick { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c9c9cc; background: #fff; display: grid; place-items: center; color: transparent; flex: none; transition: background .2s, border-color .2s; }
.captcha-box.busy .captcha-tick { border-color: var(--pink-800); border-top-color: transparent; border-radius: 50%; animation: tourne .7s linear infinite; }
.captcha-box.ok { border-color: var(--ok); background: #e3f4ea; cursor: default; }
.captcha-box.ok .captcha-tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.captcha-box.shake { border-color: var(--red); animation: secoue .4s; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes secoue { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .captcha-box.busy .captcha-tick, .captcha-box.shake { animation: none; } }

/* ── Administration ──────────────────────────────────── */
.admin-main { padding-top: 26px; padding-bottom: 60px; }
.topbar .badge.hot { margin-left: 4px; }
.kpis.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .kpis.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.kpi.dark .k-label, .kpi.dark .k-sub { color: var(--pink); }
.k-sub { display: block; font-size: 12.5px; color: var(--grey); margin-top: 4px; }
.urow { border-top: 1px solid var(--line); }
.urow summary { display: flex; align-items: center; gap: 14px; padding: 13px 0; cursor: pointer; list-style: none; }
.urow summary::-webkit-details-marker { display: none; }
.urow summary:hover b { text-decoration: underline; }
.urow img.avatar-sm { object-fit: cover; }
.u-num { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.u-body { background: var(--soft); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 14px; display: grid; gap: 14px; }
.u-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
@media (min-width: 720px) { .u-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.u-facts dt { font-size: 12px; color: var(--grey); }
.u-facts dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.u-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.u-actions .input.mini, .gift-form .input.mini { margin-left: 0; flex: 0 0 auto; }
.u-actions .check, .gift-form .check { align-items: center; font-size: 14px; }
.u-actions .check input, .gift-form .check input { margin-top: 0; }
.gift-form { align-items: center; }
.gift-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); margin: 0; }
.u-label { font-size: 12.5px; font-weight: 600; color: var(--grey); width: 100%; }
button.chip { cursor: pointer; }
.chip.danger { color: var(--red); }
.chip.danger:hover { border-color: var(--red); background: #fdecee; }
.u-note { margin: 0; }

/* ── Connexion ───────────────────────────────────────── */
body.auth { background: var(--pink); min-height: 100vh; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 28px 16px 48px; }
.auth-wrap > .logo { display: flex; justify-content: center; margin-bottom: 22px; font-size: 34px; }
.auth-card { background: #fff; border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 520px) { .auth-card { padding: 38px 36px; } .auth-wrap { padding-top: 56px; } }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-card > p.muted { margin-bottom: 22px; }
.auth-card form { margin-top: 22px; }
.auth-alt { text-align: center; font-size: 14.5px; margin: 22px 0 0; line-height: 2; }
.handle-state { margin: 8px 2px 0; min-height: 20px; font-weight: 500; }
.handle-state.ok { color: var(--ok); }
.handle-state.ko { color: var(--red); }

/* ── Site vitrine ────────────────────────────────────── */
.eyebrow { display: inline-block; background: var(--pink); padding: 6px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.eyebrow.dark { background: var(--ink); color: #fff; }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--ink-2); line-height: 1.6; }
.hero { background: linear-gradient(180deg, var(--pink) 0%, var(--pink) 62%, #fff 62%); padding: 34px 0 20px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-grid > *, .duo > *, .price-grid > *, .features > *, .how > *, .split > * { min-width: 0; }
.hero h1 { overflow-wrap: break-word; font-size: clamp(36px, 10.5vw, 78px); letter-spacing: -.05em; line-height: .98; margin-bottom: 20px; }
.hero .lead { max-width: 520px; margin-bottom: 26px; }
.hero .eyebrow { background: #fff; }
@media (min-width: 940px) { .hero { background: var(--pink); padding: 70px 0 80px; } .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; } }
.claim { display: flex; flex-wrap: wrap; gap: 10px; max-width: min(520px, 100%); }
.claim-field { flex: 1 1 230px; min-width: 0; max-width: 100%; display: flex; align-items: center; background: #fff; border-radius: var(--pill); padding: 0 6px 0 20px; min-height: 56px; border: 1.5px solid var(--ink); cursor: text; }
.claim-field span { font-weight: 600; white-space: nowrap; }
.claim-field input { border: 0; outline: 0; background: transparent; flex: 1 1 0; width: 0; min-width: 0; font-size: 16px; font-weight: 600; padding: 0 4px; height: 52px; }
.claim-field:focus-within { box-shadow: 0 0 0 4px rgba(17,17,17,.14); }
.claim .btn { min-height: 56px; flex: 1 1 auto; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; font-weight: 500; margin: 18px 0 0; }
.reassure .ic { margin-left: 6px; }
.reassure .ic:first-child { margin-left: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone.demo { height: 560px; width: 286px; transform: rotate(3deg); }
.demo-page { padding: 30px 16px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--pink-100); height: 100%; }
.demo-page .pub-avatar { width: 68px; height: 68px; font-size: 28px; margin-bottom: 10px; }
.demo-name { font-size: 18px; letter-spacing: -.03em; }
.demo-title { font-size: 14.5px; color: var(--pink-800); }
.demo-bio { font-size: 12px; color: var(--grey); margin: 8px 8px 14px; line-height: 1.45; }
.demo-offer { width: 100%; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; text-align: left; box-shadow: 0 2px 10px rgba(17,17,17,.04); }
.demo-offer .offer-ic { width: 36px; height: 36px; border-radius: 12px; }
.demo-offer div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.demo-offer b { font-size: 12.5px; }
.demo-offer span { font-size: 10.5px; color: var(--grey); }
.demo-offer em { font-style: normal; font-weight: 700; font-size: 13px; }
.demo-chat { position: absolute; right: 10px; bottom: 12px; background: var(--ink); color: #fff; border-radius: var(--pill); padding: 8px 14px; font-size: 12px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.float-card { max-width: calc(100% - 8px); position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 40px rgba(17,17,17,.14); font-size: 13px; line-height: 1.35; animation: bob 5s ease-in-out infinite; }
.float-card div { display: flex; flex-direction: column; }
.float-card span { color: var(--grey); font-size: 12px; }
.float-card.f1 { left: -6px; top: 34px; }
.float-card.f2 { right: 0; bottom: 110px; animation-delay: -2.5s; }
.dot-ok { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px #e3f4ea; flex: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 420px) { .float-card.f1 { left: -6px; } .float-card.f2 { right: -6px; } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; vertical-align: middle; }
.stars svg { display: inline-block; flex: none; }
.stars-off { color: var(--pink-300); }
.stars-on { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--star, var(--ink)); }
.star-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.star-prev { margin-right: 6px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatch:hover, .swatch:focus-visible { box-shadow: 0 0 0 2px var(--ink); outline: 0; }
.star-pick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-right: auto; }
.star-pick input { width: 40px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.proof { padding: 30px 0 16px; }
.proof-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; text-align: center; margin-bottom: 18px; font-size: 15.5px; }
.proof-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; justify-content: safe center; }
.proof-row::-webkit-scrollbar { display: none; }
.proof-card { flex: 1 1 0; min-width: 220px; max-width: 290px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; scroll-snap-align: center; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.proof-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.proof-who img, .proof-ini { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.proof-ini { background: var(--pink); display: grid; place-items: center; font-weight: 700; }
.proof-who figcaption { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.proof-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 640px) { .proof-row { justify-content: flex-start; margin: 0 -16px; padding-left: 16px; padding-right: 16px; } .proof-card { flex: 0 0 78%; max-width: none; } }
.avis-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; align-items: center; }
.avis-form .input { min-height: 44px; padding: 9px 14px; }
.avis-form .avis-quote { grid-column: 1 / -1; }
.avis-form .avis-photo { grid-column: 1 / 3; font-size: 14px; }
.avis-form .btn { justify-self: end; }
@media (max-width: 640px) { .avis-form { grid-template-columns: minmax(0, 1fr); } .avis-form .avis-photo { grid-column: auto; } .avis-form .btn { justify-self: stretch; } }
.strip { padding: 34px 0 10px; text-align: center; }
.strip p { font-weight: 600; margin-bottom: 14px; }
.chips-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips-flow span { border: 1.5px solid var(--line); border-radius: var(--pill); padding: 7px 16px; font-size: 14.5px; font-weight: 500; }
.section { padding: 64px 0; }
.section.soft { background: var(--pink-100); }
.section.pinkband { background: var(--pink); }
@media (min-width: 860px) { .section { padding: 96px 0; } }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section h2, .final h2 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -.045em; margin-bottom: 16px; }
.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .features, .features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature h3 { font-size: 20px; margin: 18px 0 8px; }
.feature p { color: var(--grey); margin: 0; font-size: 15px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 820px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how li { background: #fff; border-radius: var(--radius); padding: 28px; }
.how li > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 18px; }
.how h3 { font-size: 21px; margin-bottom: 8px; }
.how p { color: var(--grey); margin: 0; font-size: 15px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; } .duo.rev > :first-child { order: 0; } }
@media (max-width: 899px) { .duo.rev > :first-child { order: 2; } }
.ticks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks .ic { background: var(--ink); color: #fff; border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.pinkband .ticks .ic { background: #fff; color: var(--ink); }
.chat-demo { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 440px; margin: 0 auto; width: 100%; }
.chat-demo-head { width: 100%; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 4px; }
.chat-demo-head span { font-size: 12.5px; color: var(--grey); }
.mini-cal { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); max-width: 420px; margin: 0 auto; width: 100%; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 440px minmax(0, 1fr); gap: 70px; } }
.price-card { background: #fff; border-radius: 32px; padding: 32px 26px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.price-big { display: flex; align-items: baseline; gap: 10px; }
.price-big b { font-size: 76px; letter-spacing: -.06em; line-height: 1; }
.price-big span { font-size: 18px; color: var(--grey); font-weight: 500; }
.price-tag { font-size: 22px; margin: 8px 0 0; }
.price-card .btn { margin-bottom: 12px; }
.compare { border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--pink); }
.compare-head, .compare-row, .compare-total { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; }
.compare-head { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.compare-head span, .compare-row > span, .compare-total > span { padding: 14px 16px; }
.compare-row { border-top: 1px solid var(--line); }
.compare-row:first-of-type { border-top: 0; }
.c-need { display: flex; align-items: center; gap: 12px; }
.c-need i { width: 38px; height: 38px; border-radius: 12px; background: var(--pink); display: grid; place-items: center; flex: none; font-style: normal; }
.c-need b { font-weight: 600; line-height: 1.3; }
.c-other { color: var(--grey); font-size: 14px; display: flex; flex-direction: column; line-height: 1.35; }
.c-other b { color: var(--ink); font-size: 16px; white-space: nowrap; }
.c-pink { background: var(--pink-100); font-weight: 600; display: flex; align-items: center; gap: 6px; align-self: stretch; }
.c-pink .ic { background: var(--ok); color: #fff; border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.compare-total { border-top: 2px solid var(--ink); background: #fff; }
.compare-total .c-other s { font-size: 19px; font-weight: 700; color: var(--grey); }
.compare-total .c-pink { background: var(--pink); flex-direction: column; align-items: flex-start; gap: 0; justify-content: center; }
.compare-total .c-pink b { font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.compare-total small { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.compare-note { margin: 18px auto 24px; max-width: 560px; }
@media (max-width: 560px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: minmax(0, 1fr) auto; }
  .compare-row .c-need { grid-column: 1 / -1; padding-bottom: 4px; }
  .compare-row .c-other { flex-direction: row; gap: 8px; align-items: baseline; padding-top: 4px; padding-left: 66px; }
  .compare-row .c-pink { background: none; padding-top: 4px; }
  .compare-total { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare-total > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-head span, .compare-row > span, .compare-total > span { padding: 12px 14px; }
}
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: #fff; border-radius: 32px; padding: 30px 26px; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; margin-bottom: 10px; }
.plan .eyebrow { align-self: flex-start; }
.plan.pro { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.plan .ticks { flex: 1; }
.plan .btn { margin-bottom: 12px; }
.plan > p:last-child { margin: 0; }
.plans-note { max-width: 660px; margin: 28px auto 0; color: var(--ink-2); }
.plans.mini { gap: 10px; margin: 16px 0 18px; max-width: none; }
.plans.mini .plan { border-radius: var(--radius-sm); padding: 16px; box-shadow: none; }
.plans.mini .plan.pro { border-width: 1.5px; background: var(--pink-100); }
.plans.mini .plan.cur { border-color: var(--ink); }
.plans.mini .plan b { font-size: 16px; }
.plan-price { font-size: 24px; font-weight: 700; letter-spacing: -.04em; margin: 2px 0 8px; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.plans.mini ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 3px; }
.lock { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.lock > div { flex: 1 1 220px; }
.lock-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--pink); color: var(--ink); display: grid; place-items: center; flex: none; }
.lock .btn { background: #fff; color: var(--ink); border-color: #fff; }
.switch input:disabled + .track { opacity: .45; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 300; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--grey); padding: 0 0 20px; margin: 0; }
.final { background: var(--ink); color: #fff; padding: 72px 0; text-align: center; }
.final .claim { margin: 28px auto 0; justify-content: center; }
.final .claim .btn { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.final .reassure { justify-content: center; }
.final .serif { color: var(--pink); }
.foot { padding: 40px 0 46px; border-top: 1px solid var(--line); }
.foot .wrap { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--grey); }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.legal { padding: 40px 0 70px; }
.legal h1 { font-size: 38px; margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal-id { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; background: var(--pink-100); border-radius: var(--radius); padding: 22px; margin: 0 0 8px; }
.legal-id dt { font-size: 13px; color: var(--grey); margin-top: 10px; }
.legal-id dt:first-child { margin-top: 0; }
.legal-id dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 620px) { .legal-id { grid-template-columns: 220px minmax(0, 1fr); gap: 12px 20px; } .legal-id dt { margin-top: 0; padding-top: 2px; } }

/* ── Page publique d'une utilisatrice ────────────────── */
body.pub { background: var(--accent-soft); min-height: 100vh; }
.pub-wrap { max-width: 520px; margin: 0 auto; padding: 0 16px 110px; }
.pub-head { text-align: center; padding: 44px 8px 26px; display: flex; flex-direction: column; align-items: center; }
.pub-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 30px rgba(17,17,17,.1); margin-bottom: 16px; }
.pub-initial { background: var(--accent); display: grid; place-items: center; font-size: 44px; font-weight: 700; }
.pub-head h1 { font-size: 28px; }
.pub-title { font-size: 20px; color: var(--accent-deep); margin: 6px 0 0; }
.pub-bio { margin: 14px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 420px; }
.pub-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pub-social a { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .15s, background .15s; box-shadow: 0 2px 10px rgba(17,17,17,.05); }
.pub-social a:hover { transform: translateY(-2px); background: var(--accent); }
.pub-list { display: grid; gap: 14px; }
.pub-empty { text-align: center; color: var(--grey); padding: 30px 0; }
.offer { display: block; background: #fff; border-radius: var(--radius); text-decoration: none; overflow: hidden; box-shadow: 0 4px 20px rgba(17,17,17,.05); transition: transform .15s, box-shadow .15s; }
.offer:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(17,17,17,.1); }
.offer-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offer-body { display: flex; gap: 14px; padding: 18px 18px 0; align-items: flex-start; }
.offer-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--accent); display: grid; place-items: center; flex: none; }
.offer-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.offer-text b { font-size: 17.5px; letter-spacing: -.02em; line-height: 1.25; }
.offer-text span { color: var(--grey); font-size: 14.5px; line-height: 1.45; }
.offer-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 13px !important; margin-top: 3px; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 18px; }
.offer.is-link .offer-body { padding-bottom: 18px; align-items: center; }
.price { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.price.big { font-size: 30px; letter-spacing: -.04em; }
.offer-cta { background: var(--ink); color: #fff; border-radius: var(--pill); padding: 9px 18px; font-weight: 600; font-size: 14px; }
.pub-foot { text-align: center; padding: 34px 0 0; font-size: 13.5px; }
.pub-foot a { text-decoration: none; color: var(--grey); background: #fff; padding: 9px 18px; border-radius: var(--pill); display: inline-block; }
.pub-foot b { color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; gap: 4px; vertical-align: -3px; }
.pub-back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; font-size: 14.5px; margin: 18px 0 12px; padding: 8px 14px 8px 8px; border-radius: var(--pill); background: #fff; }
.product { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 4px 24px rgba(17,17,17,.05); }
.product-cover { width: calc(100% + 44px); max-width: none; margin: -22px -22px 20px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px 28px 0 0; }
.product h1 { font-size: 28px; }
.product h2 { font-size: 19px; margin: 6px 0 14px; }
.product-sub { color: var(--grey); margin: 8px 0 0; font-size: 16px; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.chip-meta { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); border-radius: var(--pill); padding: 6px 12px; font-size: 13.5px; font-weight: 500; }
.chip-meta.hot { background: var(--ink); color: #fff; }
.product-desc { color: var(--ink-2); margin: 0 0 22px; font-size: 15.5px; }
.notice { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 16px; font-weight: 500; text-align: center; }
.buy { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: thin; }
.day { flex: none; width: 66px; padding: 10px 0; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.day span { font-size: 12px; color: var(--grey); }
.day b { font-size: 21px; }
.day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.on span { color: #ddd; }
.days.static { overflow: visible; margin-bottom: 6px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.time { border: 1.5px solid var(--line); background: #fff; border-radius: var(--pill); padding: 11px 0; font-weight: 600; font-size: 15px; cursor: pointer; text-align: center; }
.time:hover { border-color: var(--ink); }
.time.on { background: var(--accent); border-color: var(--ink); }
.tz-note { font-size: 13px; color: var(--grey); display: flex; align-items: center; gap: 6px; }
.picked { background: var(--accent); border-radius: var(--radius-sm); padding: 13px 16px; font-weight: 600; margin: 12px 0 20px; display: flex; gap: 8px; align-items: center; }
.secure { text-align: center; font-size: 13px; color: var(--grey); margin: 12px 0 0; }
.thanks { text-align: center; margin-top: 40px; }
.thanks .product-desc { margin: 18px 0 0; }
.thanks-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; margin-bottom: 16px; }
.recap { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.recap span { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.chat-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; border: 0; background: var(--ink); color: #fff; border-radius: var(--pill); padding: 14px 20px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 10px 30px rgba(17,17,17,.25); }
.chat-box { position: fixed; z-index: 70; right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 400px; margin-left: auto; height: min(560px, calc(100vh - 40px)); background: #fff; border-radius: 26px; box-shadow: 0 20px 60px rgba(17,17,17,.25); display: flex; flex-direction: column; overflow: hidden; }
.chat-box header { background: var(--accent); padding: 14px 14px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-box header div { display: flex; flex-direction: column; line-height: 1.3; }
.chat-box header span { font-size: 12px; }
.chat-box header button { border: 0; background: rgba(255,255,255,.6); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.chat-box .chat-log { flex: 1; padding: 16px; }
.chat-box .chat-form { padding: 10px 12px 12px; border-top: 1px solid var(--line); }

/* ── Formations : éditeur (espace de gestion) ───────────────────────── */
.hint-link { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 18px; }
.hint-link:hover { background: var(--pink-200); }
.head-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.card-head.wrap-head { flex-wrap: wrap; }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.lesson-list li.is-ch { background: var(--pink-100); margin: 0 -12px; padding: 10px 12px; border-radius: var(--radius-sm); border-top: 0; }
.lesson-list li.is-ch + li { border-top: 0; }
.ch-form { flex: 1; min-width: 0; display: flex; gap: 6px; margin: 0; }
.ch-form .input { flex: 1; min-width: 0; min-height: 40px; padding: 7px 12px; font-weight: 700; }
.file-line { padding: 8px 0; border-top: 1px solid var(--line); }
.upbar { height: 8px; border-radius: var(--pill); background: var(--pink-200); margin-top: 10px; overflow: hidden; }
.upbar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: var(--pill); transition: width .2s; }
@media (max-width: 560px) { .lesson-list li { flex-wrap: wrap; } .lesson-list .p-actions { margin-left: auto; } .ch-form { flex: 1 1 100%; } }

/* ── Formations : page de vente et espace de la cliente ─────────────── */
.prog { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 4px 16px; margin: 0 0 22px; }
.prog summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.prog ul { list-style: none; margin: 0; padding: 0 0 12px; }
.prog li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 14.5px; }
.prog li .ic { flex: none; margin-top: 3px; }
.prog li.prog-ch { font-weight: 700; margin-top: 8px; }
.course-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 80px; }
.course-preview { background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px; font-size: 14px; }
.course-preview a { color: #fff; font-weight: 600; }
.lesson-num { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; }
.lesson h1, .course-home h1 { margin-bottom: 18px; }
.lesson-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; margin-bottom: 20px; }
.lesson-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-video { display: block; width: 100%; max-height: 76vh; border-radius: var(--radius-sm); background: #000; margin-bottom: 20px; }
.lesson-body { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 20px; overflow-wrap: anywhere; }
.lesson-img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 0 auto 16px; }
.lesson-files { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.lesson-files a { display: flex; align-items: center; gap: 12px; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 12px 16px; text-decoration: none; }
.lesson-files a:hover { background: var(--accent); }
.lesson-files a > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.lesson-done { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.done-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: #1d6b3c; margin: 0 0 14px; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 14px; }
.lesson-nav a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; color: var(--grey); max-width: 48%; }
.lesson-nav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lesson-nav a.next { margin-left: auto; text-align: right; }
.lesson-nav a.next .ic { transform: scaleX(-1); }
.lesson-nav a:hover { color: var(--ink); }
.progress { height: 10px; border-radius: var(--pill); background: var(--accent-soft); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent-deep); border-radius: var(--pill); min-width: 0; }
.progress-label { margin: 8px 0 18px; font-size: 14px; color: var(--grey); }
.course-home .notice { margin-bottom: 18px; }
.prog-card { margin-top: 16px; }
.course-list { list-style: none; margin: 0; padding: 0; }
.course-list li { border-top: 1px solid var(--line); }
.course-list li.ch { border-top: 0; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); padding: 18px 0 8px; }
.course-list li.ch:first-child { padding-top: 0; }
.course-list li.ch + li { border-top: 0; }
.course-list li a, .course-list li.locked { display: flex; align-items: center; gap: 12px; padding: 11px 6px; text-decoration: none; border-radius: 12px; min-height: 48px; }
.course-list li a:hover { background: var(--accent-soft); }
.course-list .st { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.course-list .t { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 500; display: flex; flex-direction: column; }
.course-list .t small { font-weight: 400; font-size: 13px; }
.course-list li.done .st { background: #e3f4ea; color: #1d6b3c; }
.course-list li.done .t { color: var(--grey); }
.course-list li.cur a { background: var(--accent-soft); }
.course-list li.cur .st { background: var(--ink); color: #fff; }
.course-list li.locked { color: var(--grey-2); }
.course-help { text-align: center; font-size: 14px; color: var(--grey); margin: 22px 0 0; }

/* ── Codes de remise ────────────────────────────────────────────────── */
.code-row.off { opacity: .55; }
.code-tag { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--pink-200); border-radius: 8px; padding: 2px 8px; font-size: 14px; letter-spacing: .03em; }
.code-value { display: flex; gap: 8px; }
.code-value .input:first-child { flex: 1; min-width: 0; }
.code-value select.input { width: 84px; flex: none; }
.coupon { margin: 0 0 16px; }
.coupon summary { cursor: pointer; font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0 10px; width: fit-content; list-style: none; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon .inline-add { margin-bottom: 8px; }
.coupon .inline-add .input { text-transform: uppercase; }
.coupon .inline-add .input::placeholder { text-transform: none; }
.coupon-msg { margin: 0; font-size: 14px; font-weight: 500; color: #a32531; }
.coupon-msg.ok { color: #1d6b3c; }

/* ── Accueil : aperçu d'une formation ───────────────────────────────── */
.course-demo { background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 420px; margin: 0 auto; width: 100%; }
.course-demo-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.course-demo-title { display: block; font-size: 21px; line-height: 1.25; margin: 4px 0 14px; }
.course-demo .progress { background: var(--pink-200); }
.course-demo .progress span { background: var(--pink-800); }
.course-demo-count { margin: 8px 0 10px; font-size: 13.5px; color: var(--grey); }
.course-demo ul { list-style: none; margin: 0 0 16px; padding: 0; }
.course-demo li { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; border-radius: 12px; }
.course-demo li:first-child { border-top: 0; }
.course-demo li i { width: 30px; height: 30px; border-radius: 50%; background: var(--pink-200); display: grid; place-items: center; flex: none; font-style: normal; }
.course-demo li span { display: flex; flex-direction: column; }
.course-demo li small { font-weight: 400; font-size: 12.5px; }
.course-demo li.done { color: var(--grey); }
.course-demo li.done i { background: #e3f4ea; color: #1d6b3c; }
.course-demo li.cur { background: var(--pink-100); }
.course-demo li.cur i { background: var(--ink); color: #fff; }
.course-demo li.locked { color: var(--grey-2); }

/* ── Paiement en plusieurs fois, avis, adhésion ─────────────────────── */
@media (min-width: 980px) { .features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .features.four .feature { padding: 22px; } }
.payplan { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.payplan label { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; }
.payplan label:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.payplan input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.payplan span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; flex: 1; }
.payplan em { font-style: normal; font-weight: 600; margin-left: auto; }
.payplan small { flex: 1 1 100%; color: var(--grey); font-size: 13px; }
a.chip-meta { text-decoration: none; }
.reviews { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.reviews h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reviews h2 .muted { font-weight: 400; font-size: 15px; }
.review { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.review:first-of-type { border-top: 0; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.review figcaption .muted { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 100%; }
.review blockquote { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.offer-meta .stars, .chip-meta .stars { --star: var(--accent-deep); vertical-align: -2px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: var(--line); line-height: 1; font-size: 44px; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--accent-deep, var(--pink-800)); }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.member-box { margin-top: 16px; font-size: 14.5px; }
.member-box summary { cursor: pointer; font-weight: 600; }
.member-box p { margin: 12px 0; }
.member-box form { margin: 0; }
