@font-face {
  font-family: "Jakarta";
  src: url("/static/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #08090C;
  --side: #0D0F13;
  --card: #13151B;
  --card-2: #1A1D25;
  --field: #0E1015;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #F3F5F9;
  --text-2: #B4BBC8;
  --muted: #7A8292;
  --blue: #3D7BFF;
  --blue-hi: #5B92FF;
  --blue-soft: rgba(61, 123, 255, .14);
  --blue-text: #93B7FF;
  --sky: linear-gradient(150deg, #A9CBFF 0%, #6FA3FF 45%, #3D7BFF 100%);
  --ink-on-blue: #06122E;
  --ok: #5EE6A0;
  --ok-soft: rgba(94, 230, 160, .12);
  --ko: #FF7A7A;
  --ko-soft: rgba(255, 122, 122, .12);
  --warn: #FFC56B;
  --warn-soft: rgba(255, 197, 107, .13);
  --font: "Jakarta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(61, 123, 255, .20), transparent 65%),
    radial-gradient(700px 500px at -10% 30%, rgba(61, 123, 255, .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: 6px; }
.ico { width: 18px; height: 18px; flex: none; }
strong { font-weight: 650; }

/* ---------- Briques communes ---------- */
.logo {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--sky); color: var(--ink-on-blue);
  font-size: 12.5px; font-weight: 800; letter-spacing: -.02em; flex: none;
  box-shadow: 0 6px 20px rgba(61, 123, 255, .35);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  border-radius: 999px; padding: 6px 13px; margin: 0;
  white-space: nowrap;
}
.pill-sm { font-size: 12px; padding: 4px 10px; }
.pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 10px var(--blue-hi); }
.pill-dark { background: rgba(6, 18, 46, .12); border-color: rgba(6, 18, 46, .18); color: var(--ink-on-blue); }
.round-ico {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text-2); flex: none;
}
.round-ico-dark { border-color: rgba(6, 18, 46, .25); color: var(--ink-on-blue); }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 50px rgba(0, 0, 0, .35);
}
.card-blue { background: var(--sky); color: var(--ink-on-blue); border-color: transparent; box-shadow: 0 24px 60px rgba(61, 123, 255, .28); }
.card-blue h2, .card-blue .meta, .card-blue .placeholder, .card-blue .lede, .card-blue h1 { color: var(--ink-on-blue); }
.card-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-text { color: var(--text-2); margin: 0 0 18px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot-off { background: var(--ko); }

/* ---------- Titres ---------- */
.display {
  font-weight: 650;
  font-size: clamp(36px, 9.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 18px 0 18px;
}
.display-sm { font-size: clamp(28px, 7vw, 36px); margin-top: 0; }
.lede { font-size: 17.5px; line-height: 1.55; color: var(--text-2); margin: 0; }
.kicker { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- Pages étroites ---------- */
.page-narrow { max-width: 640px; margin: 0 auto; padding: 28px 18px calc(56px + env(safe-area-inset-bottom)); }
.topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.brand-mini { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; }
.hero { padding: 18px 4px 28px; }
.pub-foot { margin-top: 40px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.pub-foot .logo { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; box-shadow: none; }

/* Mission */
.mission { margin-bottom: 16px; }
.price-card {
  background: var(--sky); color: var(--ink-on-blue);
  border-radius: var(--r-xl); padding: 22px 24px 24px; margin-bottom: 16px;
  box-shadow: 0 24px 60px rgba(61, 123, 255, .3);
}
.price-top { display: flex; justify-content: space-between; align-items: center; }
.price-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(6, 18, 46, .22); }
.price-value { font-size: clamp(48px, 14vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 26px 0 8px; }
.price-sub { margin: 0; font-weight: 600; font-size: 14px; opacity: .75; }
.mission-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.mission-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 16px; color: var(--text-2); font-size: 15px;
}
.num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue-text); font-size: 12.5px; font-weight: 700;
}
.mission-scope { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Formulaires ---------- */
.form-card { padding: 26px 22px 24px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  display: block; font-weight: 600; font-size: 15.5px; line-height: 1.4;
  color: var(--text); margin-bottom: 9px; padding: 0;
}
.admin .field label, .admin .field legend { font-size: 14px; }
.hint { margin: -3px 0 10px; font-size: 13.5px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--field);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 15px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); background: #10131A; }
input::placeholder, textarea::placeholder { color: #565E6C; }
.has-error input, .has-error textarea { border-color: var(--ko); }
.error { color: var(--ko); font-size: 14px; margin: 8px 0 0; }
.form-alert { background: var(--ko-soft); color: var(--ko); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 22px; font-size: 14.5px; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row-2 { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 400px) { .choices { grid-template-columns: 1fr; } }
.field .choice, .choice {
  display: flex !important; align-items: center; gap: 10px; margin: 0 !important; cursor: pointer;
  font-size: 14.5px !important; font-weight: 500 !important; color: var(--text-2) !important;
  background: var(--field); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 13px 14px;
  transition: border-color .15s, background .15s;
}
.choice input { accent-color: var(--blue); width: 17px; height: 17px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: #fff !important; }
fieldset.has-error .choice { border-color: rgba(255, 122, 122, .5); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0; cursor: pointer; color: var(--text-2); }
.check input { accent-color: var(--blue); margin-top: 4px; }
.check.inline { display: inline-flex; margin: 0; }

/* Zone de dépôt de fichiers */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field .drop, .drop {
  display: flex !important; align-items: center; gap: 14px; cursor: pointer;
  border: 1.5px dashed rgba(147, 183, 255, .35); border-radius: var(--r-lg);
  padding: 16px; background: rgba(61, 123, 255, .05); margin: 0 !important;
}
.drop:hover, .file-input:focus-visible + .file-names, .file-input:focus + .hint { border-color: var(--blue); }
.drop-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-text); flex: none; }
.drop-text { display: grid; font-weight: 500 !important; }
.drop-text strong { color: var(--text); font-size: 15px; }
.drop-text span { color: var(--muted); font-size: 13px; }
.file-names:empty { display: none; }
.file-names { margin: 10px 0 0; color: var(--blue-text); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 650;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  min-height: 48px; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(61, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { background: var(--blue-hi); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: #07090D; color: #fff; }
.btn-dark:hover { background: #151922; color: #fff; }
.btn-wa { background: #fff; color: #07090D; }
.btn-wa::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #25D366; box-shadow: 0 0 10px #25D366; }
.btn-wa:hover { background: #E8EEFF; color: #07090D; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn.is-busy, .btn:disabled { opacity: .55; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-btn.danger { color: var(--ko); }
.link-small { font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row form { margin: 0; }

/* ---------- Messages ---------- */
.flash { border-radius: var(--r-md); padding: 13px 16px; margin: 0 0 18px; font-size: 14.5px; font-weight: 600; border: 1px solid transparent; }
.flash-ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(94, 230, 160, .2); }
.flash-error { background: var(--ko-soft); color: var(--ko); border-color: rgba(255, 122, 122, .2); }
.flash-info { background: var(--blue-soft); color: var(--blue-text); border-color: rgba(61, 123, 255, .25); }
.closed p { margin: 0; font-size: 18px; font-weight: 600; }
.thanks { padding-top: 64px; }
.thanks-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 26px; }
.thanks-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--sky); color: var(--ink-on-blue); box-shadow: 0 14px 40px rgba(61, 123, 255, .35); }
.thanks-ico .ico { width: 24px; height: 24px; }
.auth { padding-top: 28px; }
.auth-card { padding: 30px 24px; }
.auth-card .lede { margin-bottom: 22px; }

/* ---------- Espace client ---------- */
.client .card h2 { font-size: 26px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 10px; }
.meta { font-size: 14.5px; color: var(--text-2); margin: 0 0 22px; }
.placeholder { font-size: 15.5px; color: var(--muted); margin: 0; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.card-blue .placeholder { border-color: rgba(6, 18, 46, .3); opacity: .85; }
.deposit { background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px; }
.deposit .field { margin-bottom: 18px; }
.sub { margin: 26px 0 10px; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.res { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; padding: 12px 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 14.5px; }
.res-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--text-2); }
.res-ico .ico { width: 16px; height: 16px; }
.res-kind { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.res-body { min-width: 0; overflow-wrap: anywhere; }
.res-label { display: block; color: var(--muted); font-size: 13.5px; }
.res-note { margin: 0; color: var(--text-2); }
.res-date { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.deliv-list { display: grid; gap: 12px; }
.deliv { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.deliv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.deliv-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--sky); color: var(--ink-on-blue); flex: none; }
.deliv-head h3 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; margin: 0; }
.deliv-head time { font-size: 13px; color: var(--muted); }
.prose { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.prose p { margin: 0 0 12px; }
.prose strong { color: var(--text); }
.prose h3 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-text); margin: 20px 0 8px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.prose li { position: relative; padding-left: 18px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); }
.deliv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ws-foot { margin-top: 28px; font-size: 14px; text-align: center; }
.ws-foot .link-btn { color: var(--muted); }
.preview-bar { background: var(--blue); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.preview-bar a { color: #fff; }

/* ---------- CRM ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 28px;
  background: var(--side); border-right: 1px solid var(--line);
  padding: 22px 14px;
}
.side-brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; padding: 0 8px; line-height: 1.2; }
.side-brand small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.side-nav { display: grid; gap: 4px; }
.side-link {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px; border-radius: 14px; border: 0; background: none;
  color: var(--text-2); text-decoration: none; font: inherit; font-size: 14.5px; font-weight: 550; cursor: pointer; text-align: left;
}
.side-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-link[aria-current] { background: #fff; color: #07090D; font-weight: 650; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.side-foot { margin-top: auto; }
.side-foot .side-link { color: var(--muted); }
.main { padding: 30px 36px 80px; max-width: 1240px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 8px 0 16px; min-width: 300px; color: var(--muted); }
.search input { border: 0; background: transparent; padding: 11px 6px; box-shadow: none !important; }
.search-clear { font-size: 13px; padding: 0 8px; color: var(--muted); }

.stats { display: grid; grid-template-columns: 1.25fr 1.1fr .8fr; gap: 16px; margin-bottom: 18px; }
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  border-radius: var(--r-xl); padding: 22px; min-height: 200px;
  background: linear-gradient(160deg, #22252E 0%, #15171D 60%); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: transform .15s, border-color .15s;
}
a.stat:hover { transform: translateY(-2px); border-color: var(--line-2); color: var(--text); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-big { margin: 0; font-size: 30px; font-weight: 650; letter-spacing: -.035em; line-height: 1.08; }
.stat-mid { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.stat-foot { margin: 0; font-size: 13.5px; color: var(--muted); }
.stat-blue { background: var(--sky); color: var(--ink-on-blue); border-color: transparent; box-shadow: 0 24px 60px rgba(61, 123, 255, .25); }
.stat-blue .stat-foot { color: var(--ink-on-blue); opacity: .7; font-weight: 600; }
.tag-blue { display: inline-block; background: var(--blue); color: #fff; padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.stat-small .stat-mid { color: var(--text); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.seg { display: flex; gap: 4px; flex-wrap: wrap; background: var(--field); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg a { text-decoration: none; color: var(--text-2); font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.seg a span { color: var(--muted); margin-left: 3px; font-variant-numeric: tabular-nums; }
.seg a:hover { color: #fff; }
.seg a[aria-current] { background: #fff; color: #07090D; }
.seg a[aria-current] span { color: #5A6170; }
.row-head, .row { display: grid; grid-template-columns: 44px minmax(0, 1.6fr) 150px 120px minmax(160px, auto); gap: 14px; align-items: center; }
.row-head { padding: 0 16px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.row-head span:first-child { grid-column: 1; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { position: relative; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 16px; transition: border-color .15s, background .15s; }
.row:hover { border-color: rgba(147, 183, 255, .35); background: #1E222B; }
.row-main { display: grid; min-width: 0; }
.row-link { color: var(--text); font-weight: 650; text-decoration: none; font-size: 15px; }
.row-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.row-sub { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-date { color: var(--text-2); font-size: 13.5px; }
.row-status { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.empty { color: var(--muted); font-size: 15px; padding: 26px 16px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); margin: 0; }

.av {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em; flex: none;
  border: 2px solid rgba(255, 255, 255, .08);
}
.av-0 { background: linear-gradient(140deg, #A9CBFF, #3D7BFF); color: var(--ink-on-blue); }
.av-1 { background: linear-gradient(140deg, #2A3346, #1A2030); color: #BFD3FF; }
.av-2 { background: linear-gradient(140deg, #6FA3FF, #2347C9); color: #fff; }
.av-3 { background: linear-gradient(140deg, #E6EEFF, #A6C0F5); color: var(--ink-on-blue); }
.av-4 { background: linear-gradient(140deg, #1E3A8A, #0F1B44); color: #A9CBFF; }
.av-lg { width: 72px; height: 72px; font-size: 22px; }

.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.badge-nouvelle { background: var(--blue-soft); border-color: rgba(61, 123, 255, .35); color: var(--blue-text); }
.badge-en_discussion { background: rgba(255, 255, 255, .06); color: #fff; }
.badge-declinee { color: var(--muted); }
.badge-payee { background: var(--sky); border-color: transparent; color: var(--ink-on-blue); }
.badge-draft { background: var(--warn-soft); border-color: rgba(255, 197, 107, .3); color: var(--warn); }
.alert-dot { font-size: 12px; font-weight: 650; color: var(--ko); background: var(--ko-soft); padding: 4px 10px; border-radius: 999px; }

.crumb { margin: 0 0 14px; font-size: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: #fff; }
.detail-hero {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(160deg, #22252E 0%, #15171D 70%); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 22px 24px; margin-bottom: 18px;
}
.detail-id { flex: 1; min-width: 220px; }
.detail-id h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.sub-title { margin: 10px 0 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 18px; align-items: start; }
@media (max-width: 1080px) { .detail-grid { grid-template-columns: 1fr; } }
.admin .card { border-radius: 24px; padding: 22px; }
.admin .card h2 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0 !important; }
.card-head .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.card-warn { border-color: rgba(255, 122, 122, .45); }
.warn { background: var(--ko-soft); color: var(--ko); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin: 0 0 16px; }
.card textarea { margin-bottom: 12px; }
.admin .card .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.answers { margin: 0; display: grid; gap: 8px; }
.qa { padding: 13px 16px; background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.qa dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.qa dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; color: var(--text); }
@media (max-width: 640px) { .qa { grid-template-columns: 1fr; gap: 4px; } }
.status-zone { display: grid; gap: 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form select { flex: 1; min-width: 150px; padding: 10px 36px 10px 14px; }
.paid-line { margin: 0; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--text-2); }
.invite { margin: 0 0 14px; font-size: 14px; font-weight: 600; padding: 11px 13px; border-radius: 12px; }
.invite-ok { background: var(--ok-soft); color: var(--ok); }
.invite-ko { background: var(--ko-soft); color: var(--ko); }
.invite-muted { background: rgba(255, 255, 255, .05); color: var(--text-2); }
.invite .small { font-weight: 500; }
.log { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
details summary { cursor: pointer; color: var(--muted); margin-top: 12px; }
.deliv-admin { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliv-admin li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 16px; background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; }
.deliv-admin strong { margin-right: 8px; }
.deliv-admin .btn-row { gap: 14px; font-size: 14px; }
.confirm { max-width: 620px; }
.confirm h1 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 12px; }
.confirm p, .confirm ul { color: var(--text-2); }
.confirm ul { padding-left: 20px; margin: 0 0 20px; }
.confirm .check { margin-bottom: 18px; color: var(--text); }
.settings { max-width: 660px; }
.settings fieldset .check { display: inline-flex; margin-right: 18px; }
.deliv-form { max-width: 860px; }
.danger-zone { margin-top: 8px; font-size: 14px; }
.preview-frame { max-width: 680px; padding: 18px; border-radius: var(--r-xl); margin-bottom: 18px; border: 1px dashed var(--line-2); }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: sticky; z-index: 5; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; background: rgba(13, 15, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .side-brand > span:last-child { display: none; }
  .side-nav { display: flex; gap: 4px; }
  .side-link { padding: 9px 12px; font-size: 13.5px; white-space: nowrap; }
  .side-link .ico { width: 16px; height: 16px; }
  .side-foot { margin-top: 0; margin-left: auto; }
  .side-foot .side-link span { display: none; }
  .main { padding: 22px 16px 64px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-hero { grid-column: 1 / -1; }
  .stat { min-height: 160px; }
  .search { min-width: 0; width: 100%; }
  .row-head { display: none; }
  .row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .row-ca, .row-date { display: none; }
  .row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 8px; }
  .row-status { grid-column: 2; justify-content: flex-start; }
  .row-status .badge { order: -1; }
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg a { white-space: nowrap; }
  .panel-head { display: grid; }
  .panel { padding: 14px; border-radius: 24px; }
  .page-head h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .side-nav .side-link:not([aria-current]) span { display: none; }
  .detail-hero .btn-wa { width: 100%; }
}
.card-blue .round-ico { border-color: rgba(6, 18, 46, .25); color: var(--ink-on-blue); }

/* Liens de la cliente */
.links-group .link-row { margin-bottom: 12px; }
.links-group .link-row label { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.links-group .link-row input { padding: 12px 14px; font-size: 15.5px; }
.links-group .link-row[hidden] { display: none; }
.add-link { background: none; border: 1px dashed var(--line-2); color: var(--blue-text); font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 9px 16px; cursor: pointer; margin-top: 2px; }
.add-link:hover { border-color: var(--blue); color: #fff; }
.add-link[hidden] { display: none; }

/* =====================================================================
   Vitrine (page après candidature)
   ===================================================================== */
.pf { padding-top: 40px; }
.pf .thanks-card { margin-bottom: 8px; }
.pf .thanks-card .display { font-size: clamp(32px, 8vw, 44px); margin: 18px 0 12px; }
.pf .thanks-card .lede { font-size: 16.5px; }

.pf-intro { padding: 56px 4px 28px; }
.pf-me { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pf-portrait {
  width: 76px; height: 76px; border-radius: 24px; object-fit: cover; flex: none;
  border: 2px solid rgba(147, 183, 255, .35);
  box-shadow: 0 14px 40px rgba(61, 123, 255, .3);
}
.pf-logo { width: 64px; height: 64px; border-radius: 20px; font-size: 20px; }
.pf-title {
  font-size: clamp(32px, 8.4vw, 50px); font-weight: 650; line-height: 1.04; letter-spacing: -.035em;
  margin: 0 0 18px;
}
.pf-intro .lede { font-size: 17px; }

.pf-proof { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; margin-bottom: 16px; }
.pf-proof .card { margin-bottom: 0; }
.pf-proof-one { grid-template-columns: 1fr; }
.pf-stat { display: flex; flex-direction: column; }
.pf-stat-value {
  margin: 6px 0 6px; font-size: clamp(64px, 19vw, 92px); font-weight: 750;
  letter-spacing: -.055em; line-height: .9;
}
.pf-stat-text { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.pf-stat-note {
  align-self: flex-start; margin: 16px 0 0; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; background: #07090D; color: #fff;
}
.pf-speaker { display: flex; flex-direction: column; }
.pf-speaker-text { margin: auto 0 0; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--text); }
.pf-partners { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-partner {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 650; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--line-2);
}
.pf-partner:hover { color: #fff; border-color: rgba(147, 183, 255, .45); }
.pf-partner img, .pf-partner .av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; font-size: 12px; border-width: 1px; }
@media (max-width: 560px) {
  .pf-proof { grid-template-columns: 1fr; }
  .pf-speaker-text { margin-top: 8px; }
}

.pf-block { margin: 40px 0 16px; }
.pf-h2 { font-size: clamp(26px, 6.6vw, 34px); font-weight: 650; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.pf-sub { margin: 0 0 20px; color: var(--text-2); font-size: 16px; }

/* Bandeau de comptes qui défile */
.pf-clients .card-kicker { padding: 0 4px; }
.marquee {
  overflow: hidden; margin: 0 -18px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; width: max-content; animation: mq-scroll 40s linear infinite; }
.mq-track.mq-m { animation-duration: 70s; }
.mq-track.mq-l { animation-duration: 110s; }
.marquee:hover .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
.mq-chip {
  display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 18px 6px 6px; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.mq-chip:hover { border-color: rgba(147, 183, 255, .45); background: var(--card-2); color: #fff; }
.mq-pic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; font-size: 14px; }
img.mq-pic { border: 2px solid rgba(255, 255, 255, .1); }
.mq-text { display: grid; line-height: 1.25; }
.mq-text strong { font-size: 14.5px; }
.mq-text span { font-size: 13px; color: var(--muted); }
.mq-text span:only-child { font-size: 14.5px; font-weight: 650; color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; margin: 0; }
  .mq-track { animation: none; }
  .mq-track li[aria-hidden="true"] { display: none; }
}

/* Posts les plus performants */
.pf-posts {
  list-style: none; margin: 0 -18px; padding: 0 18px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(68%, 240px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px;
  scrollbar-width: none;
}
.pf-posts::-webkit-scrollbar { display: none; }
.pf-post { scroll-snap-align: start; }
.pf-shot {
  display: block; aspect-ratio: 5 / 8; border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  transition: transform .2s, border-color .2s;
}
.pf-shot:hover { transform: translateY(-3px); border-color: rgba(147, 183, 255, .45); }
.pf-shot img { width: 100%; height: 100%; object-fit: contain; display: block; background: #0B0D12; }
.pf-post-stat {
  display: flex; align-items: center; gap: 8px; margin: 12px 2px 0;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text);
}
.pf-post-stat .ico { width: 16px; height: 16px; color: var(--blue-text); }

/* Méthode */
.pf-method { margin-top: 40px; }
.pf-steps { margin-bottom: 0; }
.pf-steps li > span:last-child { display: grid; gap: 3px; }
.pf-steps strong { color: var(--text); font-size: 16px; line-height: 1.35; }
.pf-step-text { color: var(--text-2); font-size: 14.5px; }

/* Ce que je ne t'oblige pas à faire */
.pf-no-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.pf-no-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--card-2); border: 1px solid var(--line);
  font-size: 16px; color: var(--text-2);
}
.pf-no-list strong { color: var(--text); }
.pf-x { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ko-soft); color: var(--ko); flex: none; }
.pf-x .ico { width: 16px; height: 16px; }
.pf-no-closing { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; color: var(--text); }

.pf-follow { margin: 32px 0 0; padding: 0 4px; display: grid; gap: 14px; justify-items: start; }
.pf-follow p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Apparition au défilement (uniquement si JavaScript actif et mouvements autorisés) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- CRM · Vitrine ---------- */
.sc-intro { margin: -10px 0 18px; }
.sc-card { max-width: 860px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-card input[type="file"] { font: inherit; font-size: 14px; color: var(--text-2); max-width: 100%; }
.sc-photo { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.sc-portrait { width: 96px; height: 96px; border-radius: 26px; object-fit: cover; border: 1px solid var(--line-2); }
.sc-portrait-empty { width: 96px; height: 96px; border-radius: 26px; font-size: 24px; }
.sc-remove { margin-top: 12px; font-size: 14px; }
.sc-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.sc-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; }
.sc-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.sc-main { flex: 1; min-width: 0; display: grid; }
.sc-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-actions form { margin: 0; }
.sc-actions .link-btn { font-size: 14px; margin-left: 6px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer;
}
.icon-btn:hover:not(:disabled) { color: #fff; border-color: rgba(255, 255, 255, .3); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn .ico { width: 16px; height: 16px; }
.sc-posts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sc-post { background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; gap: 6px; align-content: start; }
.sc-post img { width: 100%; aspect-ratio: 5 / 8; object-fit: contain; background: #0B0D12; border-radius: 10px; }
.sc-post p { margin: 0; }
.sc-add { border-top: 1px solid var(--line); padding-top: 18px; }
