/* ==========================================================================
   WebFrance — Espace client (2026).
   Identité du site : bleu nuit, bleu, liseré tricolore ; Bricolage (titres) et Instrument Sans (texte).
   Mobile d'abord : barre d'onglets en bas sous 900 px, menu latéral au-delà. Composants préfixés .c-
   ========================================================================== */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-96.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --nuit-950: #02021f; --nuit-900: #04063a; --nuit-800: #0a1257; --nuit-700: #121d78;
  --bleu: #1733c4; --bleu-600: #1229a3; --bleu-400: #5470ff; --bleu-300: #8ea0ff; --bleu-200: #c9d1ff; --bleu-100: #e9edff; --bleu-50: #f4f6ff;
  --rouge: #e1243b; --rouge-600: #c21a2f; --rouge-100: #ffe9ec;
  --vert: #0a7a52; --vert-600: #086443; --vert-100: #e3f6ec; --ambre: #9a5b00; --ambre-100: #fff4dd; --violet: #6b3fd4; --violet-100: #f1ebff;
  --encre: #0b1033; --texte: #2c3358; --gris: #596184; --gris-2: #646b8a; --ligne: #e3e7f3; --ligne-2: #eef0f7;
  --fond: #f4f6fb; --surface: #fff; --survol: #f6f8fd;
  --f-display: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px; --r-sm: 10px; --r-xs: 7px;
  --sh-1: 0 1px 2px rgba(11, 16, 51, .05), 0 3px 10px -6px rgba(11, 16, 51, .12);
  --sh-2: 0 14px 34px -14px rgba(11, 16, 51, .25), 0 2px 6px rgba(11, 16, 51, .06);
  --sh-3: 0 30px 70px -20px rgba(2, 3, 30, .45), 0 4px 14px rgba(4, 6, 58, .12);
  --ring: 0 0 0 3px rgba(84, 112, 255, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --side-w: 252px; --top-h: 60px; --tab-h: 64px;
  --lisere: linear-gradient(90deg, var(--bleu) 0 33.34%, #fff 33.34% 66.67%, var(--rouge) 66.67% 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font: 15px/1.55 var(--f-text); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; color: var(--encre); line-height: 1.2; font-family: var(--f-display); font-weight: 700; letter-spacing: -.012em; }
p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--bleu-600); }
p a, .c-alert a, .c-help a, .c-muted a, .c-paper a, .c-check a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }
::selection { background: var(--bleu-200); color: var(--encre); }
[hidden] { display: none !important; }
svg.c-i { display: inline-block; width: 18px; height: 18px; flex: none; vertical-align: -4px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: var(--r-sm); background: var(--encre); color: #fff; }
.c-skip:focus { top: 12px; color: #fff; }
.c-preview { position: relative; z-index: 60; padding: 7px 16px; background: #fff4dd; color: #6b4000; font-size: .82rem; font-weight: 600; text-align: center; border-bottom: 1px solid #f3dcaa; }
.c-preview a { color: inherit; text-decoration: underline; }
kbd { display: inline-block; padding: 0 5px; border: 1px solid var(--ligne); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 .72rem/1.6 var(--f-text); color: var(--gris); }

/* ---------- Coque ---------- */
.c-shell { min-height: 100vh; }
.c-side { display: none; }
.c-main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.c-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px 0 14px; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ligne); }
.c-top__brand { display: flex; flex: none; }
.c-top__mark { width: 32px; height: 32px; }
.c-top__title { flex: 1; min-width: 0; font: 700 1rem/1.2 var(--f-display); color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-top__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.c-top__help { display: none; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; color: var(--texte); font-weight: 600; font-size: .9rem; }
.c-top__help:hover { background: var(--bleu-50); color: var(--bleu); }
.c-menu { position: relative; }
.c-menu > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 3px; border-radius: 999px; cursor: pointer; user-select: none; }
.c-menu > summary::-webkit-details-marker { display: none; }
.c-menu > summary:hover { background: var(--survol); }
.c-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--bleu), var(--nuit-700)); color: #fff; font: 700 .8rem/1 var(--f-text); letter-spacing: .02em; flex: none; }
.c-menu__name, .c-menu__caret { display: none; }
.c-menu__pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 260px; padding: 6px; border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; box-shadow: var(--sh-2); }
.c-menu__who { display: grid; gap: 1px; padding: 10px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ligne-2); }
.c-menu__who b { color: var(--encre); }
.c-menu__who span { font-size: .82rem; color: var(--gris-2); overflow: hidden; text-overflow: ellipsis; }
.c-menu__pop a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: var(--r-sm); color: var(--texte); font-weight: 550; }
.c-menu__pop a:hover { background: var(--bleu-50); color: var(--bleu); }
.c-content { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 18px 16px calc(var(--tab-h) + 34px + env(safe-area-inset-bottom)); outline: none; }

/* Barre d'onglets (mobile) */
.c-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ligne); box-shadow: 0 -6px 20px -14px rgba(11, 16, 51, .25); }
.c-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--gris-2); font-size: .7rem; font-weight: 650; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; }
.c-tabbar__i { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; transition: background-color .2s var(--ease); }
.c-tabbar__i svg.c-i { width: 21px; height: 21px; }
.c-tabbar__i b { position: absolute; top: -2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .66rem; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.c-tabbar a.is-current { color: var(--bleu); }
.c-tabbar a.is-current .c-tabbar__i { background: var(--bleu-100); }

@media (min-width: 900px) {
  .c-shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); background: linear-gradient(90deg, var(--nuit-900) var(--side-w), transparent 0); }
  .c-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--nuit-900); color: #c3c9ee; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
  .c-preview ~ .c-shell .c-side { height: calc(100vh - 33px); top: 0; }
  .c-side::before { content: ""; display: block; height: 3px; flex: none; background: var(--lisere); }
  .c-brand { display: grid; gap: 6px; padding: 20px 22px 18px; color: #fff; }
  .c-brand:hover { color: #fff; }
  .c-brand img { width: 150px; height: auto; }
  .c-brand span { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8d95c6; }
  .c-nav { display: grid; gap: 2px; padding: 6px 12px 16px; }
  .c-nav__item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: var(--r-sm); color: #c3c9ee; font-weight: 600; transition: background-color .15s, color .15s; }
  .c-nav__item svg.c-i { opacity: .85; }
  .c-nav__item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .c-nav__item.is-current { background: rgba(84, 112, 255, .2); color: #fff; }
  .c-nav__item.is-current::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--bleu-400); }
  .c-nav__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .74rem; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
  .c-side__help { margin: auto 14px 12px; padding: 16px; border-radius: var(--r); background: linear-gradient(160deg, rgba(84, 112, 255, .22), rgba(84, 112, 255, .06)); border: 1px solid rgba(142, 160, 255, .18); }
  .c-side__help p { color: #dfe3ff; font-size: .88rem; line-height: 1.45; margin-bottom: 12px; }
  .c-side__help b { color: #fff; }
  .c-side__foot { padding: 10px 14px 16px; border-top: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 2px; }
  .c-side__foot a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: var(--r-sm); color: #aab3e0; font-size: .88rem; }
  .c-side__foot a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .c-top { height: var(--top-h); padding: 0 28px; }
  .c-top__brand, .c-top__title { display: none; }
  .c-top__help { display: inline-flex; }
  .c-menu > summary { padding: 3px 10px 3px 3px; }
  .c-menu__name { display: block; max-width: 220px; font-weight: 600; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .c-menu__caret { display: inline-block; color: var(--gris-2); }
  .c-content { padding: 26px 32px 64px; }
  .c-tabbar { display: none; }
}

/* ---------- Messages ---------- */
.c-toasts { position: fixed; z-index: 120; left: 12px; right: 12px; top: 64px; display: grid; gap: 8px; pointer-events: none; }
@media (min-width: 900px) { .c-toasts { left: auto; right: 24px; top: 72px; width: 420px; } }
.c-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px 12px 14px; border-radius: var(--r-sm); background: var(--encre); color: #fff; box-shadow: var(--sh-2); font-size: .92rem; animation: c-in .35s var(--ease); transition: opacity .35s, transform .35s; }
.c-toast.is-out { opacity: 0; transform: translateY(-8px); }
.c-toast p { flex: 1; padding-top: 1px; }
.c-toast svg.c-i { margin-top: 1px; }
.c-toast--ok svg.c-i:first-child { color: #6ee7b7; }
.c-toast--err { background: #7a0f1c; }
.c-toast--info svg.c-i:first-child { color: var(--bleu-300); }
.c-toast__x { display: grid; place-items: center; width: 28px; height: 28px; margin: -4px 0; border: 0; border-radius: 7px; background: transparent; color: rgba(255, 255, 255, .7); }
.c-toast__x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@keyframes c-in { from { opacity: 0; transform: translateY(-8px); } }
.c-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid; font-size: .93rem; line-height: 1.5; }
.c-alert svg.c-i { margin-top: 2px; }
.c-alert--ok { background: var(--vert-100); border-color: #bfe8d3; color: #064a32; }
.c-alert--err { background: var(--rouge-100); border-color: #f7c2ca; color: #7a0f1c; }
.c-alert--info { background: var(--bleu-50); border-color: var(--bleu-200); color: var(--nuit-800); }
.c-alert + .c-form, .c-form + .c-alert { margin-top: 14px; }

/* ---------- Boutons ---------- */
.c-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 650; font-size: .95rem; line-height: 1.2; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.c-btn:active { transform: translateY(1px); }
.c-btn--primary { background: var(--bleu); color: #fff; box-shadow: 0 6px 16px -8px rgba(23, 51, 196, .6); }
.c-btn--primary:hover { background: var(--bleu-600); color: #fff; }
.c-btn--ghost { background: #fff; border-color: var(--ligne); color: var(--encre); }
.c-btn--ghost:hover { border-color: var(--bleu-200); background: var(--bleu-50); color: var(--bleu); }
.c-btn--quiet { background: transparent; color: var(--gris); }
.c-btn--quiet:hover { background: var(--survol); color: var(--encre); }
.c-btn--danger { background: var(--rouge); color: #fff; }
.c-btn--danger:hover { background: var(--rouge-600); color: #fff; }
.c-btn--light { background: #fff; color: var(--nuit-900); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.c-btn--light:hover { background: var(--bleu-50); color: var(--bleu); }
.c-btn--ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .04); }
.c-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.c-btn--sm { min-height: 36px; padding: 0 13px; font-size: .88rem; border-radius: 9px; }
.c-btn--sm svg.c-i { width: 16px; height: 16px; }
.c-btn--lg { min-height: 52px; padding: 0 24px; font-size: 1.02rem; }
.c-btn--block { display: flex; width: 100%; white-space: normal; }
.c-btn.is-busy { color: transparent !important; pointer-events: none; }
.c-btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: c-spin .7s linear infinite; }
.c-btn--ghost.is-busy::after, .c-btn--quiet.is-busy::after, .c-btn--light.is-busy::after { border-color: var(--bleu-200); border-top-color: var(--bleu); }
.c-btn.is-busy[data-label]::before { content: attr(data-label); position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); color: var(--gris); font-size: .8rem; font-weight: 600; white-space: nowrap; }
@keyframes c-spin { to { transform: rotate(360deg); } }
.c-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--gris); }
.c-iconbtn:hover { background: var(--bleu-50); color: var(--bleu); }
.c-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.c-link svg.c-i { width: 16px; height: 16px; transition: transform .15s; }
.c-link:hover svg.c-i { transform: translateX(2px); }
.c-linkbtn { padding: 0; border: 0; background: none; color: var(--bleu); font-size: .86rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.c-btn svg.c-i:last-child:not(:first-child) { margin-right: -3px; }

/* ---------- Pastilles ---------- */
.c-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; flex: none; }
.c-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.c-pill--bleu { background: var(--bleu-100); color: var(--bleu-600); }
.c-pill--vert { background: var(--vert-100); color: var(--vert-600); }
.c-pill--ambre { background: var(--ambre-100); color: var(--ambre); }
.c-pill--rouge { background: var(--rouge-100); color: var(--rouge-600); }
.c-pill--violet { background: var(--violet-100); color: var(--violet); }
.c-pill--gris { background: var(--ligne-2); color: var(--gris); }
.c-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--bleu-50); color: var(--bleu-600); font-size: .76rem; font-weight: 700; }
.c-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--rouge); color: #fff; font: 700 .74rem/1 var(--f-text); }
.c-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); flex: none; }

/* ---------- Mise en page ---------- */
.c-stack { display: grid; gap: 16px; align-content: start; }
.c-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.c-row--between { justify-content: space-between; }
.c-grid { display: grid; gap: 14px; }
.c-grid--top { align-items: start; }
@media (min-width: 640px) { .c-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-grid--2 > .is-full { grid-column: 1 / -1; } }
@media (min-width: 900px) { .c-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-split { display: grid; gap: 16px; align-items: start; }
.c-split__main { min-width: 0; }
@media (min-width: 1100px) {
  .c-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .c-split__side { position: sticky; top: calc(var(--top-h) + 20px); }
}
.c-mt { margin-top: 16px; }
.c-center { text-align: center; }
.c-muted { color: var(--gris); }
.c-small { font-size: .88rem; }
.c-help { margin-top: 6px; font-size: .84rem; color: var(--gris-2); }
.u-red { color: var(--rouge-600) !important; }
.c-help.c-mt { margin-top: 16px; }

/* ---------- En-tête de page ---------- */
.c-ph { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin-bottom: 18px; }
.c-ph__t { flex: 1 1 320px; min-width: 0; }
.c-ph h1 { font-size: 1.55rem; }
.c-ph__t > p { margin-top: 5px; color: var(--gris); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.c-ph__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--gris); font-size: .88rem; font-weight: 600; }
.c-ph__back:hover { color: var(--bleu); }
.c-ph__back svg.c-i { width: 16px; height: 16px; }
.c-ph__r { display: flex; gap: 8px; flex-wrap: wrap; }
.c-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #e9ecf6; order: 3; }
.c-tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 9px; color: var(--gris); font-weight: 650; font-size: .92rem; }
.c-tabs a:hover { color: var(--encre); }
.c-tabs a.is-on { background: #fff; color: var(--encre); box-shadow: var(--sh-1); }
.c-tabs b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
@media (min-width: 900px) { .c-ph h1 { font-size: 1.85rem; } .c-ph.has-tabs .c-tabs { order: 0; margin-left: auto; } }
@media (max-width: 899px) { .c-ph.has-tabs .c-tabs { width: 100%; } .c-ph.has-tabs .c-tabs a { flex: 1; justify-content: center; } }

/* ---------- Cartes ---------- */
.c-card { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--sh-1); padding: 18px; min-width: 0; }
@media (min-width: 900px) { .c-card { padding: 22px; } }
.c-card--flush { padding: 0; overflow: hidden; }
.c-card__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.c-card__h--pad { padding: 18px 18px 0; }
.c-card__h h2, .c-card__title, .c-mini__t { display: flex; align-items: center; gap: 9px; font-size: 1.06rem; }
.c-card__title { margin-bottom: 14px; }
.c-card__h h2 svg.c-i, .c-card__title svg.c-i, .c-mini__t svg.c-i { color: var(--bleu); }
.c-card__more { font-size: .88rem; font-weight: 650; white-space: nowrap; }
.c-sh { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 10px; }
.c-sh h2 { font-size: 1.12rem; }
.c-sh a { font-size: .88rem; font-weight: 650; }

/* ---------- Tableau de bord ---------- */
.c-hello { position: relative; overflow: hidden; display: grid; gap: 18px; align-items: end; padding: 24px 20px 22px; margin-bottom: 18px; border-radius: 18px; color: #dfe3ff; background:
  linear-gradient(115deg, rgba(4, 6, 58, .97) 30%, rgba(10, 18, 87, .86) 70%, rgba(18, 29, 120, .7)), url("../img/hero/p-agence-1280.webp") center 35% / cover no-repeat, var(--nuit-900); box-shadow: var(--sh-2); }
.c-hello::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lisere); }
.c-hello__k { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bleu-300); }
.c-hello h1 { margin: 6px 0 8px; color: #fff; font-size: 1.6rem; }
.c-hello p { max-width: 62ch; }
@media (min-width: 720px) { .c-hello { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 32px; } .c-hello h1 { font-size: 2rem; } }
.c-dash { display: grid; gap: 18px; align-items: start; }
.c-dash__main, .c-dash__side { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 1100px) { .c-dash { grid-template-columns: minmax(0, 1fr) 360px; } }
.c-todo { display: grid; gap: 10px; }
.c-todo__i { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--survol); }
.c-todo__i > .c-btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .c-todo__i { grid-template-columns: auto minmax(0, 1fr) auto; } .c-todo__i > .c-btn { grid-column: auto; } }
.c-todo__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bleu-100); color: var(--bleu); }
.c-todo__i--vert .c-todo__ic { background: var(--vert-100); color: var(--vert); }
.c-todo__i--ambre .c-todo__ic { background: var(--ambre-100); color: var(--ambre); }
.c-todo__i--rouge { border-color: #f7c2ca; background: #fff8f9; }
.c-todo__i--rouge .c-todo__ic { background: var(--rouge-100); color: var(--rouge-600); }
.c-todo__t b { display: block; color: var(--encre); font-size: .98rem; }
.c-todo__t p { color: var(--gris); font-size: .9rem; margin-top: 2px; }
.c-feature { display: grid; gap: 8px; align-content: start; }
.c-feature__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bleu-100); color: var(--bleu); margin-bottom: 4px; }
.c-feature h2 { font-size: 1.08rem; }
.c-feature p { color: var(--gris); font-size: .93rem; }
.c-feature a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; margin-top: 4px; }
.c-feature--sm h2 { font-size: 1rem; }
.c-feature--sm { padding: 18px; }
.c-next h2 { font-size: 1.1rem; margin-bottom: 16px; }
.c-next .c-muted { margin-top: 16px; font-size: .92rem; }
.c-mini__t { margin-bottom: 12px; }
.c-mini__big { font: 700 1.6rem/1.1 var(--f-display); color: var(--encre); margin-bottom: 6px; }
.c-mini__big small { font: 500 .9rem var(--f-text); color: var(--gris); }
.c-mini .c-muted { font-size: .9rem; margin-bottom: 12px; }
.c-mini .c-link { font-size: .9rem; margin-top: 4px; }
.c-docs { display: grid; }
.c-docs li { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 0; border-top: 1px solid var(--ligne-2); }
.c-docs li:first-child { border-top: 0; }
.c-docs__main { flex: 1; min-width: 0; display: grid; gap: 1px; color: inherit; }
.c-docs__main b { color: var(--encre); font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-docs__main span { color: var(--gris-2); font-size: .82rem; }
a.c-docs__main:hover b { color: var(--bleu); }
.c-docs--pad { padding: 4px 18px 10px; }
.c-card .c-btn--block { margin-top: 12px; }

/* ---------- Frise d'étapes ---------- */
.c-steps { display: flex; counter-reset: s; }
.c-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.c-steps li + li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--ligne); z-index: 0; }
.c-steps li.is-done + li::before, .c-steps li.is-done + li.is-now::before { background: var(--bleu); }
.c-steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ligne); background: #fff; color: var(--gris-2); font: 700 .85rem/1 var(--f-text); }
.c-steps__dot svg.c-i { width: 16px; height: 16px; stroke-width: 2.4; }
.c-steps li.is-done .c-steps__dot { border-color: var(--bleu); background: var(--bleu); color: #fff; }
.c-steps li.is-now .c-steps__dot { border-color: var(--bleu); color: var(--bleu); box-shadow: 0 0 0 5px var(--bleu-100); }
.c-steps__l { font-size: .78rem; font-weight: 600; color: var(--gris-2); line-height: 1.25; padding: 0 2px; }
.c-steps li.is-now .c-steps__l { color: var(--encre); font-weight: 700; }
.c-steps li.is-done .c-steps__l { color: var(--texte); }
@media (min-width: 640px) { .c-steps__l { font-size: .86rem; } }
.c-steps--sm .c-steps__dot { width: 26px; height: 26px; font-size: .75rem; }
.c-steps--sm li + li::before { top: 12px; }
.c-steps--sm .c-steps__l { font-size: .74rem; }
@media (max-width: 479px) { .c-steps--sm .c-steps__l { display: none; } .c-steps--sm li.is-now .c-steps__l { display: block; position: absolute; top: 32px; white-space: nowrap; } .c-steps--sm { padding-bottom: 20px; } }
.c-steps--v { display: grid; gap: 0; }
.c-steps--v li { grid-template-columns: 32px 1fr; justify-items: start; align-items: center; text-align: left; gap: 12px; padding: 6px 0; }
.c-steps--v li + li::before { top: -14px; left: 15px; right: auto; width: 2px; height: 28px; background: var(--bleu-200); }
.c-steps--v .c-steps__l { font-size: .92rem; }
.c-funnel { padding: 16px 12px; margin-bottom: 16px; }

/* ---------- Carte projet ---------- */
.c-proj { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--sh-1); padding: 18px; display: grid; gap: 18px; }
.c-proj__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.c-proj__t { font-size: 1.15rem; }
.c-proj__t a { color: var(--encre); }
.c-proj__t a:hover { color: var(--bleu); }
.c-proj__h p { color: var(--gris-2); font-size: .86rem; margin-top: 2px; }
.c-proj__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ligne-2); }
.c-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.c-meta li { display: inline-flex; align-items: center; gap: 7px; color: var(--gris); font-size: .9rem; }
.c-meta svg.c-i { width: 16px; height: 16px; color: var(--gris-2); }
@media (max-width: 519px) { .c-proj__f .c-btn { width: 100%; } }

/* ---------- Vide ---------- */
.c-empty { display: grid; justify-items: center; gap: 14px; padding: 42px 20px; text-align: center; background: #fff; border: 1px dashed #cfd5ea; border-radius: var(--r); }
.c-empty__i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--bleu-100); color: var(--bleu); }
.c-empty__i svg.c-i { width: 26px; height: 26px; }
.c-empty h2 { font-size: 1.2rem; }
.c-empty p { color: var(--gris); max-width: 52ch; margin: 6px auto 0; }
.c-empty__cta { margin-top: 16px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Tableaux ---------- */
.c-table { width: 100%; border-collapse: collapse; }
.c-table th { padding: 12px 16px; text-align: left; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); background: #fafbfe; border-bottom: 1px solid var(--ligne); white-space: nowrap; }
.c-table td { padding: 14px 16px; border-bottom: 1px solid var(--ligne-2); vertical-align: middle; }
.c-table tbody tr:last-child td { border-bottom: 0; }
.c-table tbody tr:hover { background: #fbfcff; }
.c-table tr.is-hot { background: #fbfcff; box-shadow: inset 3px 0 0 var(--bleu); }
.c-table td small { display: block; font-size: .8rem; color: var(--gris-2); }
.t-num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-num b { color: var(--encre); }
.t-act { text-align: right !important; width: 1%; white-space: nowrap; }
.c-table__main { display: grid; gap: 1px; color: inherit; min-width: 0; }
.c-table__main b { color: var(--encre); }
.c-table__main span { color: var(--gris); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
a.c-table__main:hover b { color: var(--bleu); }
.c-acts { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 719px) {
  .c-table thead { display: none; }
  .c-table, .c-table tbody { display: block; }
  .c-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--ligne-2); }
  .c-table tbody tr:last-child { border-bottom: 0; }
  .c-table td { padding: 0; border: 0; }
  .c-table td:first-child { grid-column: 1 / -1; }
  .c-table .h-sm { display: none; }
  .c-table .t-num { text-align: left !important; }
  .c-table .t-num small { display: inline; margin-left: 6px; }
}

/* ---------- Devis : document ---------- */
.c-paper { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--sh-1); padding: 20px 18px; position: relative; overflow: hidden; }
.c-paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lisere); }
@media (min-width: 900px) { .c-paper { padding: 34px 36px; } }
.c-paper__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--ligne-2); }
.c-paper__k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.c-paper__n { font: 700 1.3rem/1.2 var(--f-display); color: var(--encre); }
.c-paper__h dl { display: flex; gap: 22px; }
.c-paper__h dt { font-size: .76rem; color: var(--gris-2); }
.c-paper__h dd { font-weight: 650; color: var(--encre); }
.c-paper__to { margin-bottom: 16px; }
.c-paper__lbl { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-2); margin-bottom: 3px; }
.c-paper__obj { font-size: 1.15rem; margin-bottom: 8px; }
.c-paper__intro { color: var(--gris); margin-bottom: 18px; }
.c-lines { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.c-lines th { padding: 10px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); text-align: left; border-bottom: 2px solid var(--encre); }
.c-lines td { padding: 14px 10px; border-bottom: 1px solid var(--ligne-2); vertical-align: top; }
.c-lines td:first-child { padding-left: 0; }
.c-lines th:first-child { padding-left: 0; }
.c-lines th:last-child, .c-lines td:last-child { padding-right: 0; }
.c-lines td b { color: var(--encre); }
.c-lines td p { color: var(--gris); font-size: .9rem; margin-top: 3px; }
.c-lines td small { display: block; color: var(--gris-2); font-size: .78rem; }
.c-lines__m { display: none; color: var(--gris-2); font-size: .84rem; margin-top: 4px; }
.c-lines__title th { padding: 18px 0 8px; font: 700 .95rem var(--f-display); letter-spacing: 0; text-transform: none; color: var(--encre); border-bottom: 1px solid var(--ligne); }
.c-lines__text td { color: var(--gris); font-size: .9rem; font-style: italic; }
.c-lines tr.is-monthly td { background: #fafbff; }
@media (max-width: 639px) { .c-lines .h-sm { display: none; } .c-lines__m { display: block; } }
.c-totals { display: grid; justify-items: end; gap: 8px; }
.c-totals dl { width: min(100%, 380px); display: grid; gap: 2px; }
.c-totals dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.c-totals dt { color: var(--gris); }
.c-totals dd { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--encre); white-space: nowrap; }
.c-totals .is-big { margin-top: 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--nuit-900); }
.c-totals .is-big dt, .c-totals .is-big dd { color: #fff; font-weight: 700; }
.c-totals .is-big dd { font: 700 1.2rem var(--f-display); }
.c-totals .is-monthly { padding: 8px 14px; border-radius: var(--r-sm); background: var(--bleu-50); }
.c-totals > p { font-size: .8rem; color: var(--gris-2); }
.c-paper__cond { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ligne-2); }
.c-paper__cond h3 { font-size: .98rem; margin-bottom: 6px; }
.c-paper__cond p { color: var(--gris); font-size: .9rem; }

/* Décision */
.c-decide { display: grid; gap: 12px; }
.c-decide__k { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-2); }
.c-decide__big { font: 700 2.1rem/1 var(--f-display); color: var(--encre); letter-spacing: -.02em; }
.c-decide .c-muted { font-size: .88rem; }
.c-decide__facts { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--ligne-2); border-bottom: 1px solid var(--ligne-2); }
.c-decide__facts li { display: flex; gap: 10px; font-size: .9rem; color: var(--texte); }
.c-decide__facts svg.c-i { color: var(--bleu); margin-top: 2px; }
.c-decide__row { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.c-sticky-cta { display: none; }
@media (max-width: 1099px) {
  .c-split__side .c-decide { display: grid; }
  .c-sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--ligne); box-shadow: 0 -10px 24px -16px rgba(11, 16, 51, .35); }
  .c-sticky-cta div { display: grid; }
  .c-sticky-cta b { font: 700 1.15rem var(--f-display); color: var(--encre); }
  .c-sticky-cta span { font-size: .78rem; color: var(--gris-2); }
  .c-content:has(.c-sticky-cta) { padding-bottom: calc(var(--tab-h) + 110px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) and (max-width: 1099px) { .c-sticky-cta { bottom: 0; left: var(--side-w); } }

/* ---------- Fenêtres ---------- */
.c-dlg { width: min(560px, calc(100vw - 24px)); max-height: min(92vh, 860px); padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--texte); box-shadow: var(--sh-3); overflow: auto; }
.c-dlg::backdrop { background: rgba(4, 6, 58, .55); backdrop-filter: blur(3px); }
.c-dlg[open] { animation: c-pop .25s var(--ease); }
@keyframes c-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.c-dlg__h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 12px 22px; background: #fff; }
.c-dlg__h h2 { font-size: 1.2rem; }
.c-dlg > .c-form, .c-dlg > .c-seg { margin: 0 22px; }
.c-dlg > .c-form { padding-bottom: 22px; }
.c-dlg__f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 6px; }
@media (max-width: 639px) {
  .c-dlg { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .c-dlg[open] { animation: c-sheet .3s var(--ease); }
  .c-dlg__f { flex-direction: column-reverse; }
  .c-dlg__f .c-btn { width: 100%; }
  .c-dlg > .c-form { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@keyframes c-sheet { from { transform: translateY(40px); opacity: .4; } }
.c-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #eceff8; margin-bottom: 16px; }
.c-seg--full { display: flex; }
.c-seg--full > * { flex: 1; }
.c-seg a, .c-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--gris); font-weight: 650; font-size: .92rem; }
.c-seg .is-on { background: #fff; color: var(--encre); box-shadow: var(--sh-1); }
.c-auth .c-seg { display: flex; }
.c-auth .c-seg > * { flex: 1; white-space: nowrap; }
@media (max-width: 420px) { .c-seg a, .c-seg button { padding: 0 8px; font-size: .88rem; } .c-seg svg.c-i { display: none; } }

/* ---------- Formulaires ---------- */
.c-form { display: grid; gap: 14px; }
.c-field { display: grid; gap: 6px; min-width: 0; }
.c-field > label, .c-field__row label { font-weight: 650; font-size: .9rem; color: var(--encre); }
.c-field label small { font-weight: 500; color: var(--gris-2); }
.c-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.c-field__row a { font-size: .86rem; font-weight: 600; }
.c-input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #cfd5e6; border-radius: var(--r-sm); background: #fff; color: var(--encre); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.c-input:hover { border-color: #b7bfd9; }
.c-input:focus { outline: none; border-color: var(--bleu-400); box-shadow: var(--ring); }
.c-input[readonly] { background: var(--fond); color: var(--gris); }
textarea.c-input { min-height: 96px; resize: vertical; line-height: 1.5; }
select.c-input { appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23596184' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.c-input--sign { font: 600 1.35rem/1.2 "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; color: var(--nuit-800); }
.c-form__foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
@media (max-width: 639px) { .c-form__foot .c-btn { width: 100%; } }
.c-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: var(--r-sm); background: var(--survol); font-size: .92rem; cursor: pointer; }
.c-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--bleu); }
.c-check--inline { padding: 0; border: 0; background: none; align-items: center; }
.c-pass { position: relative; }
.c-pass .c-input { padding-right: 50px; }
.c-pass__eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--gris-2); }
.c-pass__eye:hover, .c-pass__eye.is-on { color: var(--bleu); background: var(--bleu-50); }
.c-meter { height: 5px; border-radius: 999px; background: var(--ligne-2); overflow: hidden; }
.c-meter i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .25s, background-color .25s; }
.c-meter[data-s="1"] i { width: 25%; background: var(--rouge); }
.c-meter[data-s="2"] i { width: 50%; background: #e08a00; }
.c-meter[data-s="3"] i { width: 75%; background: #3c9d5d; }
.c-meter[data-s="4"] i { width: 100%; background: var(--vert); }
.c-radios { display: grid; gap: 8px; }
.c-radio { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1px solid var(--ligne); border-radius: var(--r-sm); cursor: pointer; font-size: .94rem; transition: border-color .15s, background-color .15s; }
.c-radio:hover { border-color: var(--bleu-200); }
.c-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--bleu); }
.c-radio:has(input:checked) { border-color: var(--bleu); background: var(--bleu-50); }
.c-drop { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px; border: 2px dashed #cfd5ea; border-radius: var(--r); background: #fafbff; color: var(--gris); cursor: pointer; transition: border-color .15s, background-color .15s; }
.c-drop:hover, .c-drop.is-over { border-color: var(--bleu-400); background: var(--bleu-50); }
.c-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.c-drop svg.c-i { width: 22px; height: 22px; color: var(--bleu); }
.c-drop__t b { color: var(--bleu); }
.c-drop__f { flex-basis: 100%; font-size: .86rem; font-weight: 650; color: var(--vert); }
.c-drop__f:empty { display: none; }
.c-drop.has-file { border-style: solid; border-color: #9fd9bd; background: #f3fbf7; }
.c-drop.is-bad { border-color: #f1a5b0; background: #fff6f7; }
.c-drop.is-bad .c-drop__f { color: var(--rouge-600); }
.c-drop--sm { padding: 12px 14px; font-size: .9rem; }
.c-drop--sm svg.c-i { width: 18px; height: 18px; }
.c-howto { display: grid; gap: 10px; counter-reset: h; margin: 6px 0 16px; }
.c-howto li { position: relative; display: grid; gap: 1px; padding-left: 44px; min-height: 34px; counter-increment: h; }
.c-howto li::before { content: counter(h); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bleu-100); color: var(--bleu); font-weight: 700; font-size: .9rem; }
.c-howto b { color: var(--encre); }
.c-howto span { color: var(--gris); font-size: .9rem; }
.c-howto--sm { margin: 0; }
@media (min-width: 720px) { .c-howto--row { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; } }

/* ---------- Choix de l'hébergement ---------- */
.c-choice__h { margin-bottom: 18px; }
.c-choice__h h2 { font-size: 1.35rem; margin-bottom: 6px; }
.c-choice__h p { color: var(--gris); max-width: 70ch; }
.c-choice__grid { display: grid; gap: 14px; }
@media (min-width: 1000px) { .c-choice__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.c-option { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; }
.c-option.is-reco { border: 2px solid var(--bleu); background: linear-gradient(180deg, var(--bleu-50), #fff 45%); box-shadow: 0 16px 36px -22px rgba(23, 51, 196, .55); }
.c-option__badge { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--bleu); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.c-option h3 { font-size: 1.12rem; }
.c-option__price { font: 700 1.5rem/1.2 var(--f-display); color: var(--encre); }
.c-option__price small { font: 500 .88rem var(--f-text); color: var(--gris); }
.c-option .c-ticks { flex: 1; align-content: start; }
.c-option:not(.is-reco) .c-option__price { font-size: 1.15rem; }
.c-option .c-help { text-align: center; margin-top: 0; }
.c-ticks { display: grid; gap: 9px; }
.c-ticks li { position: relative; padding-left: 28px; font-size: .94rem; }
.c-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--vert-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230a7a52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.4 2.3 4.6-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.c-ticks--no li { color: var(--gris); }
.c-ticks--no li::before { background: var(--ligne-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23596184' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (min-width: 640px) { .c-ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; } }
.c-warnlist { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--ambre-100); color: #5c3700; font-size: .92rem; }
.c-warnlist li { position: relative; padding-left: 20px; }
.c-warnlist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #c98300; }
.c-warnlist b { color: #3d2400; }

/* ---------- Paiement ---------- */
.c-pay h2 { font-size: 1.3rem; margin-bottom: 6px; }
.c-pay > .c-muted { margin-bottom: 18px; }
.c-sum { display: grid; gap: 0; margin-bottom: 18px; }
.c-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--ligne-2); }
.c-sum dt { color: var(--gris); }
.c-sum dd { font-weight: 650; color: var(--encre); text-align: right; font-variant-numeric: tabular-nums; }
.c-sum dd small { display: block; font-weight: 500; font-size: .8rem; color: var(--vert); }
.c-sum .is-big { border-bottom: 0; margin: 6px 0; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bleu-50); }
.c-sum .is-big dt { color: var(--encre); font-weight: 650; }
.c-sum .is-big dd { font: 700 1.35rem var(--f-display); color: var(--bleu-600); }
.c-sum--sm { margin-bottom: 8px; }
.c-sum--sm > div { padding: 8px 0; font-size: .92rem; }
.c-sum--sm .is-big { padding: 10px 12px; }
.c-sum--sm .is-big dd { font-size: 1.1rem; }
.c-note { display: flex; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--survol); border: 1px solid var(--ligne); font-size: .9rem; color: var(--texte); }
.c-note svg.c-i { color: var(--bleu); margin-top: 2px; }
.c-paytrust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .82rem; color: var(--gris-2); text-align: center; }
.c-paytrust svg.c-i { width: 16px; height: 16px; color: var(--vert); }
.c-result { max-width: 760px; margin: 10px auto; padding: 34px 22px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.c-result__i { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--vert-100); color: var(--vert); margin-bottom: 4px; }
.c-result__i svg.c-i { width: 32px; height: 32px; stroke-width: 2.4; }
.c-result.is-wait .c-result__i { background: var(--ambre-100); color: var(--ambre); }
.c-result h1 { font-size: 1.6rem; }
.c-result > p { color: var(--gris); max-width: 56ch; }
.c-result .c-howto { margin: 12px 0 4px; text-align: left; width: 100%; }
.c-result__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- Projet ---------- */
.c-state { display: flex; gap: 16px; align-items: flex-start; }
.c-state__i { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--ambre-100); color: var(--ambre); }
.c-state__i svg.c-i { width: 22px; height: 22px; }
.c-state.is-blue .c-state__i { background: var(--bleu-100); color: var(--bleu); }
.c-state.is-violet .c-state__i { background: var(--violet-100); color: var(--violet); }
.c-state.is-green .c-state__i { background: var(--vert-100); color: var(--vert); }
.c-state h2 { font-size: 1.2rem; margin-bottom: 6px; }
.c-state p { margin-bottom: 8px; }
.c-state .c-row, .c-state form { margin-top: 10px; }
@media (max-width: 519px) { .c-state { flex-direction: column; } }
.c-live > * { min-width: 0; }
.c-live { display: grid; gap: 18px; position: relative; overflow: hidden; border-color: #bfe8d3; background: linear-gradient(160deg, #f1fbf6, #fff 55%); }
@media (min-width: 900px) { .c-live { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; } }
.c-live__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--vert); color: #fff; font-size: .78rem; font-weight: 700; margin-bottom: 8px; }
.c-live__badge svg.c-i { width: 15px; height: 15px; }
.c-live h2 { font-size: 1.45rem; margin-bottom: 6px; }
.c-live__url { display: inline-flex; align-items: center; gap: 7px; font: 700 1.05rem var(--f-display); margin-bottom: 12px; word-break: break-all; }
.c-live__url svg.c-i { width: 16px; height: 16px; }
.c-live p { color: var(--texte); }
.c-live__cta { display: grid; gap: 10px; }
.c-live__cta .c-help { text-align: center; margin: 0; }
.c-quote { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--bleu); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--bleu-50); }
.c-quote p { color: var(--encre); margin: 0; }
.c-quote footer { margin-top: 6px; font-size: .8rem; color: var(--gris-2); font-weight: 600; }
.c-quote--sm { margin: 10px 0 0; padding: 10px 14px; font-size: .92rem; }
.c-revform { margin-bottom: 16px; }
.c-revform > summary { list-style: none; display: inline-flex; }
.c-revform > summary::-webkit-details-marker { display: none; }
.c-revform[open] > summary { display: none; }
.c-revs { display: grid; gap: 12px; }
.c-rev { position: relative; display: grid; gap: 12px; padding: 16px; border: 1px solid var(--ligne); border-radius: var(--r); background: var(--survol); }
.c-rev legend { float: left; width: 100%; font: 700 .95rem var(--f-display); color: var(--encre); padding: 0; margin-bottom: 2px; }
.c-rev legend + * { clear: both; }
.c-rev__x { position: absolute; top: 8px; right: 8px; }
.c-upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--violet-100); color: #3b2173; }
.c-upsell > svg.c-i { color: var(--violet); }
.c-upsell > div { flex: 1 1 260px; }
.c-upsell p { font-size: .9rem; margin-top: 2px; }
.c-revlist { display: grid; gap: 14px; }
.c-revlist > li { padding: 14px 0 0; border-top: 1px solid var(--ligne-2); }
.c-revlist > li:first-child { border-top: 0; padding-top: 0; }
.c-revlist__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.c-revlist__h b { color: var(--encre); }
.c-revlist ul { display: grid; gap: 10px; }
.c-revlist ul li { padding-left: 12px; border-left: 2px solid var(--ligne); }
.c-revlist ul li p { margin-top: 4px; font-size: .93rem; }
.c-thumb { display: inline-block; margin-top: 8px; border-radius: 8px; overflow: hidden; border: 1px solid var(--ligne); }
.c-thumb img { width: 120px; height: 80px; object-fit: cover; }
.c-timeline { display: grid; gap: 0; }
.c-timeline li { position: relative; display: grid; gap: 1px; padding: 0 0 14px 22px; }
.c-timeline li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 0 3px #fff; z-index: 1; }
.c-timeline li::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: -6px; width: 1px; background: var(--ligne); }
.c-timeline li:last-child::after { display: none; }
.c-timeline li.is-vert::before { background: var(--vert); }
.c-timeline li.is-ambre::before { background: #d48c00; }
.c-timeline b { font-size: .9rem; color: var(--encre); font-weight: 650; }
.c-timeline span { font-size: .8rem; color: var(--gris-2); }
.c-timeline p { font-size: .84rem; color: var(--gris); margin-top: 3px; }

/* ---------- Factures ---------- */
.c-kpis { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 640px) { .c-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-kpi { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--sh-1); }
.c-kpi span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); }
.c-kpi b { font: 700 1.5rem/1.2 var(--f-display); color: var(--encre); font-variant-numeric: tabular-nums; }
.c-kpi small { font-size: .84rem; color: var(--gris); }
.c-kpi.is-warn { border-color: #f1d6a0; background: linear-gradient(180deg, #fffaf0, #fff); }
.c-kpi.is-warn b { color: var(--ambre); }
@media (max-width: 639px) { .c-kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .c-kpi { padding: 12px 14px; } .c-kpi b { font-size: 1.2rem; } .c-kpi:last-child { display: none; } }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.c-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--texte); font-weight: 600; font-size: .9rem; }
.c-chip:hover { border-color: var(--bleu-200); color: var(--bleu); }
.c-chip.is-on { background: var(--encre); border-color: var(--encre); color: #fff; }
.c-chip b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.c-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; font-size: .9rem; color: var(--gris); }

/* ---------- Support ---------- */
.c-tklist { display: block; }
.c-tklist li + li { border-top: 1px solid var(--ligne-2); }
.c-tklist a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 18px; color: inherit; }
.c-tklist a:hover { background: #fbfcff; }
.c-tklist__i { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ligne-2); color: var(--gris); }
.c-tklist li.is-unread .c-tklist__i { background: var(--vert-100); color: var(--vert); }
.c-tklist__t { display: grid; gap: 2px; min-width: 0; }
.c-tklist__t b { color: var(--encre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-tklist__t > span { font-size: .82rem; color: var(--gris-2); }
.c-tklist__t em { font-style: normal; font-size: .88rem; color: var(--gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-tklist li.is-unread .c-tklist__t b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--rouge); vertical-align: 2px; }
.c-tklist__m { display: flex; align-items: center; gap: 10px; }
.c-tklist__m small { font-size: .8rem; color: var(--gris-2); }
@media (min-width: 720px) { .c-tklist a { grid-template-columns: auto minmax(0, 1fr) auto; } .c-tklist__i { grid-row: auto; } .c-tklist__m { flex-direction: column; align-items: flex-end; gap: 4px; } }
.c-thread { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.c-msgs { display: grid; gap: 14px; padding: 18px 16px; background: linear-gradient(180deg, #fbfcff, #fff); }
@media (min-width: 900px) { .c-msgs { padding: 22px; } }
.c-msgs__day { justify-self: center; font-size: .76rem; font-weight: 700; color: var(--gris-2); padding: 3px 10px; border-radius: 999px; background: var(--ligne-2); }
.c-msg { display: flex; align-items: flex-end; gap: 10px; max-width: min(640px, 92%); }
.c-msg.is-me { justify-self: end; flex-direction: row-reverse; }
.c-msg__av { flex: none; width: 32px; height: 32px; }
.c-msg__av svg { width: 32px; height: 32px; }
.c-msg__b { padding: 11px 14px 12px; border-radius: 16px 16px 16px 5px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); min-width: 0; }
.c-msg.is-me .c-msg__b { border-radius: 16px 16px 5px 16px; background: var(--bleu); border-color: var(--bleu); color: #fff; }
.c-msg__who { font-size: .76rem; font-weight: 700; color: var(--gris-2); margin-bottom: 4px; }
.c-msg.is-me .c-msg__who { color: rgba(255, 255, 255, .78); }
.c-msg__t { overflow-wrap: anywhere; font-size: .95rem; }
.c-msg.is-auto .c-msg__b { background: var(--ligne-2); box-shadow: none; font-style: italic; }
.c-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.c-files a { display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(11, 16, 51, .05); color: inherit; }
.c-msg.is-me .c-files a { background: rgba(255, 255, 255, .16); color: #fff; }
.c-files img { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; }
.c-files svg.c-i { width: 22px; height: 22px; margin: 0 8px 0 6px; }
.c-files span { display: grid; min-width: 0; }
.c-files b { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-files small { font-size: .74rem; opacity: .8; }
.c-thread__reply { padding: 16px; border-top: 1px solid var(--ligne); background: #fff; }
@media (min-width: 900px) { .c-thread__reply { padding: 18px 22px 20px; } }
.c-thread__closed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 22px; border-top: 1px solid var(--ligne); background: var(--survol); color: var(--gris); }
.c-thread__closed p { flex: 1 1 220px; }
.c-compose { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.c-compose > .c-btn { margin-left: auto; }
.c-attach { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px dashed #c3cae3; border-radius: 9px; color: var(--gris); font-size: .88rem; font-weight: 600; cursor: pointer; }
.c-attach:hover { border-color: var(--bleu-400); color: var(--bleu); }
.c-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.c-attach__list { font-size: .84rem; color: var(--vert); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c-attach__list.is-bad { color: var(--rouge-600); }
@media (max-width: 639px) { .c-compose > .c-btn { width: 100%; } }

/* ---------- Abonnement ---------- */
.c-abo { display: grid; gap: 16px; }
.c-abo__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.c-abo__k { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.c-abo__h h2 { font-size: 1.35rem; margin: 2px 0 4px; }
.c-abo__h .c-link { font-size: .9rem; }
.c-abo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.c-abo__price b { font: 700 2rem/1 var(--f-display); color: var(--encre); letter-spacing: -.02em; }
.c-abo__price span { color: var(--gris); font-size: .9rem; }
.c-abo__facts { display: grid; gap: 8px; }
.c-abo__facts li { display: flex; gap: 10px; align-items: flex-start; }
.c-abo__facts svg.c-i { color: var(--bleu); margin-top: 2px; }
.c-abo__facts li.is-bad { color: var(--rouge-600); }
.c-abo__facts li.is-bad svg.c-i { color: inherit; }
.c-cardline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--r-sm); background: var(--survol); }
.c-cardline.is-todo { border-color: #f1d6a0; background: #fffaf0; }
.c-cardline__i { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--nuit-800), var(--bleu)); color: #fff; flex: none; }
.c-cardline__i svg.c-i { width: 18px; height: 18px; }
.c-cardline > div { flex: 1 1 200px; display: grid; }
.c-cardline b { color: var(--encre); }
.c-cardline span { font-size: .86rem; color: var(--gris); }
.c-abo > .c-help svg.c-i { width: 15px; height: 15px; color: var(--vert); vertical-align: -3px; }

/* ---------- Connexion ---------- */
body.c-auth { min-height: 100vh; background: #fff; }
.c-auth__grid { min-height: 100vh; display: grid; }
.c-auth__side { display: none; }
.c-auth__main { display: flex; flex-direction: column; align-items: center; padding: 26px 16px 34px; background: linear-gradient(180deg, var(--fond), #fff 320px); }
.c-auth__logo-m { margin: 6px 0 22px; }
.c-auth__logo-m img { width: 160px; }
.c-auth__card { width: min(100%, 440px); display: grid; gap: 16px; padding: 26px 22px; border: 1px solid var(--ligne); border-radius: 18px; background: #fff; box-shadow: var(--sh-2); }
.c-auth__card h1 { font-size: 1.55rem; }
.c-auth__sub { color: var(--gris); margin-top: -8px; }
.c-auth__card .c-toasts { position: static; width: auto; }
.c-auth__alt { margin-top: 18px; color: var(--gris); font-size: .93rem; text-align: center; }
.c-auth__alt a { font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.c-auth__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 22px; font-size: .8rem; color: var(--gris-2); }
.c-auth__trust span { display: inline-flex; align-items: center; gap: 6px; }
.c-auth__trust svg.c-i { width: 15px; height: 15px; color: var(--vert); }
@media (min-width: 980px) {
  .c-auth__grid { grid-template-columns: minmax(420px, 44%) 1fr; }
  .c-auth__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px; color: #c9cff3; background: linear-gradient(160deg, rgba(4, 6, 58, .96), rgba(10, 18, 87, .9) 60%, rgba(18, 29, 120, .82)), url("../img/hero/p-agence-1280.webp") center / cover no-repeat, var(--nuit-900); }
  .c-auth__side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lisere); }
  .c-auth__pitch { max-width: 440px; }
  .c-auth__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-300); }
  .c-auth__big { margin: 10px 0 26px; font: 700 2.3rem/1.12 var(--f-display); color: #fff; letter-spacing: -.02em; }
  .c-auth__pitch ul { display: grid; gap: 14px; }
  .c-auth__pitch li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #dfe3ff; }
  .c-auth__pitch svg.c-i { width: 20px; height: 20px; padding: 0; color: var(--bleu-300); }
  .c-auth__foot { font-size: .82rem; color: #8d95c6; }
  .c-auth__main { justify-content: center; padding: 40px 32px; background: var(--fond); }
  .c-auth__logo-m { display: none; }
  .c-auth__card { padding: 34px 32px; }
}
.c-recette { display: grid; gap: 6px; padding: 12px; border-radius: var(--r-sm); background: #fff8e8; border: 1px solid #f3dcaa; }
.c-recette > p { font-size: .88rem; color: #6b4000; }
.c-recette__u { display: grid; width: 100%; padding: 8px 10px; border: 1px solid #f0e2c0; border-radius: 8px; background: #fff; text-align: left; }
.c-recette__u:hover { border-color: var(--bleu-300); }
.c-recette__u span { font-size: .8rem; color: var(--gris); }
.c-stack > .c-btn--block + .c-btn--block { margin-top: 0; }

/* ---------- Impression et préférences ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .c-side, .c-top, .c-tabbar, .c-toasts, .c-sticky-cta, .c-split__side, .c-ph__r, .c-preview, .c-funnel { display: none !important; }
  .c-shell { display: block; }
  .c-content { padding: 0; }
  .c-card, .c-paper { box-shadow: none; border: 0; }
}
