/* HLPR · thème clair, mobile d'abord. */

:root {
  color-scheme: light;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #FAFBFE;
  --sunken: #EEF2F8;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --line-2: #D3DCE8;
  --primary: #2563EB;
  --primary-ink: #1D4ED8;
  --primary-soft: #E8EFFD;
  --primary-softer: #F3F7FE;
  --accent: #FF7A59;
  --accent-ink: #C2410C;
  --accent-soft: #FFEDE6;
  --success: #16A34A;
  --success-ink: #166534;
  --success-soft: #DCFCE7;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .04);
  --shadow-2: 0 6px 18px rgba(15, 23, 42, .06), 0 20px 44px rgba(15, 23, 42, .08);
  --shadow-3: 0 18px 40px rgba(15, 23, 42, .12), 0 40px 90px rgba(15, 23, 42, .14);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 88% 6%, rgba(147, 197, 253, .35), transparent 70%),
    radial-gradient(34% 30% at 2% 96%, rgba(255, 183, 160, .22), transparent 70%),
    radial-gradient(28% 24% at 98% 82%, rgba(191, 219, 254, .30), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate;
}
body.has-sheet { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
input, textarea, select { font: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
.i { width: 20px; height: 20px; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.link { color: var(--primary-ink); font-weight: 700; text-underline-offset: 3px; }
.link:hover { text-decoration: underline; }
.fineprint { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
.fineprint .i { width: 14px; height: 14px; margin-top: 1px; }
.fineprint.center { justify-content: center; text-align: center; }
.noscript { padding: 24px; text-align: center; }

/* ---------------------------------------------------------------- Démarrage */
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; }
.boot-name { display: inline-flex; align-items: center; gap: .28em; font-family: var(--font); font-weight: 800; font-size: 44px; letter-spacing: -.02em; color: var(--ink); animation: bootPulse 1.4s var(--ease-out) infinite; }
.boot-name svg { width: 1.05em; height: 1.05em; color: var(--primary); }
.boot-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; max-width: 460px; margin: 0 auto; }
.boot-error p { color: var(--muted); }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-mark.lg { width: 48px; height: 48px; }
.logo-mark.xl { width: 72px; height: 72px; }
.logo-mark .logo-dot { transform-origin: 20px 10.5px; animation: wave 3.2s var(--ease-spring) infinite; }

/* ---------------------------------------------------------------- Enveloppe */
.shell { min-height: 100vh; min-height: 100dvh; }
.stage { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  background: rgba(246, 245, 241, .78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(233, 230, 223, .7);
}
.brand { display: inline-flex; align-items: center; }
/* Logo : l'étincelle bleue seule (01/10/2026). */
.wordmark { display: inline-flex; align-items: center; line-height: 1; color: var(--primary); }
.wordmark .wordmark-spark { width: 28px; height: 28px; color: var(--primary); }
.wordmark.lg .wordmark-spark { width: 40px; height: 40px; }
.wordmark.xl .wordmark-spark { width: 56px; height: 56px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-avatar { border-radius: 50%; }
.sim-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 700; white-space: nowrap;
}
.sim-pill .i { width: 13px; height: 13px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: transform .2s var(--ease-spring), background .2s, box-shadow .2s;
}
.icon-btn:hover { box-shadow: var(--shadow-1); }
.icon-btn:active { transform: scale(.92); }
.icon-btn.ghost { background: transparent; border-color: transparent; }
.icon-btn.solid { background: var(--primary); color: #fff; border-color: var(--primary); }
.icon-btn.small { width: 32px; height: 32px; border-radius: 10px; }
.icon-btn.small .i { width: 16px; height: 16px; }
.bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--bg); animation: pop .4s var(--ease-spring);
}
.bell.ring .i { animation: ring .9s var(--ease-out); transform-origin: 50% 10%; }

.view { display: block; padding: 18px 16px calc(120px + var(--safe-bottom)); outline: none; }
.shell.role-guest .view { padding-bottom: 48px; }

.tabbar {
  position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(10px + var(--safe-bottom));
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px; border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border: 1px solid rgba(233, 230, 223, .9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; color: var(--muted); font-size: 11px; font-weight: 700; border-radius: 20px; }
.tab-icon { display: grid; place-items: center; width: 52px; height: 32px; border-radius: 99px; transition: background .3s, transform .4s var(--ease-spring), color .2s; }
.tab.active { color: var(--primary-ink); }
.tab.active .tab-icon { background: var(--primary-soft); color: var(--primary); transform: scale(1.06); }
.tab:active .tab-icon { transform: scale(.9); }
.shell.focus-mode .tabbar { transform: translateY(160%); opacity: 0; pointer-events: none; }
.shell.focus-mode .view { padding-bottom: calc(130px + var(--safe-bottom)); }

.rail { display: none; }

@media (min-width: 1024px) {
  .shell:not(.role-guest) { display: grid; grid-template-columns: 256px minmax(0, 1fr); }
  .rail {
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px;
    padding: 22px 16px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(12px);
  }
  .rail .brand { padding: 4px 10px 10px; }
  .rail-role { padding: 0 12px 14px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .rail-nav { display: grid; gap: 4px; }
  .rail-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--ink-2); font-weight: 700; transition: background .2s, transform .2s var(--ease-spring); }
  .rail-link:hover { background: var(--sunken); }
  .rail-link.active { background: var(--primary); color: #fff; }
  .rail-link.active .i { color: #fff; }
  .rail-foot { margin-top: auto; display: grid; gap: 12px; }
  .rail-foot .sim-pill { justify-self: start; }
  .rail-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
  .rail-user span { display: grid; min-width: 0; }
  .rail-user strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rail-user small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shell:not(.role-guest) .topbar .brand, .shell:not(.role-guest) .topbar .sim-pill { display: none; }
  .shell:not(.role-guest) .topbar { justify-content: flex-end; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 16px 32px 0; }
  .tabbar { display: none; }
  .view, .shell.focus-mode .view { padding: 12px 32px 64px; }
  .shell.role-guest .view { padding: 24px 32px 64px; }
  .shell.role-guest .topbar { padding: 14px 32px; }
}

/* ---------------------------------------------------------------- Mise en page */
.page { max-width: 1120px; margin: 0 auto; display: grid; gap: 18px; align-content: start; }
.page-head { display: grid; gap: 8px; margin-top: 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.eyebrow .i { width: 16px; height: 16px; }
.display { font-family: var(--display); font-weight: 750; font-size: clamp(30px, 7.4vw, 50px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.display-sm { font-family: var(--display); font-weight: 750; font-size: clamp(24px, 5.6vw, 32px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; display: flex; align-items: center; gap: 8px; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.section-title { font-family: var(--display); font-weight: 750; font-size: 26px; letter-spacing: -.02em; }
.block { display: grid; gap: 12px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-head h2 { font-family: var(--display); font-size: 21px; font-weight: 750; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.card { background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); border-radius: var(--radius-l); padding: 18px; box-shadow: var(--shadow-1); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2, .card-title { font-family: var(--display); font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.card-title { margin-bottom: 10px; }
.card-head > .service-bubble + h2 { margin-right: auto; }
.card-list { display: grid; gap: 10px; }
.stack { display: grid; gap: 18px; align-content: start; }
.label { display: block; font-size: 13px; font-weight: 800; margin: 20px 0 10px; }
.label em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 6px; }

/* ---------------------------------------------------------------- Animations d'entrée */
.rise { animation: rise .62s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
.is-refresh .rise:not(.fresh, .fresh .rise) { animation: none; }
.fresh:not(.rise) { animation: rise .5s var(--ease-out) both; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 16px; font-weight: 750; font-size: 15px; white-space: nowrap;
  border: 1.5px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--ease-spring), box-shadow .25s, background .2s, opacity .2s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .42; }
.btn .i { transition: transform .3s var(--ease-spring); }
.btn:hover:not(:disabled) .i:last-child { transform: translateX(2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn-primary:hover:not(:disabled) { background: var(--primary-ink); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .65); }
.btn-lime { background: linear-gradient(135deg, #2563EB, #3B82F6); color: #fff; box-shadow: 0 12px 26px -10px rgba(37, 99, 235, .7); }
.btn-lime::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .7) 45%, transparent 70%);
  transform: translateX(-120%); animation: sheen 3.6s ease-in-out infinite 1.2s;
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-danger { background: var(--danger); color: #fff; }
.btn.danger { color: var(--danger); }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.btn-small .i { width: 16px; height: 16px; }
.btn-grow { flex: 1; min-width: 0; }
.btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.btn[aria-busy="true"] > * { opacity: 0; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}

/* ---------------------------------------------------------------- Pastilles */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 750; white-space: nowrap; width: fit-content; }
.chip .i { width: 14px; height: 14px; }
.chip-violet { background: var(--primary-soft); color: var(--primary-ink); }
.chip-sky { background: #E4EFFF; color: #2759B8; }
.chip-butter { background: #FFF3C4; color: #7D5B00; }
.chip-mint { background: #DDF6E8; color: #177245; }
.chip-muted { background: var(--sunken); color: var(--muted); }
.chip-lime { background: var(--accent-soft); color: var(--accent-ink); }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dotPulse 1.6s ease-in-out infinite; }
.sim-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 750; white-space: nowrap; vertical-align: middle; }
.sim-badge .i { width: 12px; height: 12px; }
.count-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--accent); color: #fff; font-family: var(--font); font-size: 13px; font-weight: 800; animation: pop .45s var(--ease-spring); }
.live-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 750; color: #177245; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1FB768; box-shadow: 0 0 0 0 rgba(31, 183, 104, .5); animation: liveRing 1.8s ease-out infinite; }

/* ---------------------------------------------------------------- Avatars */
.avatar {
  display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--avatar, var(--ink)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em;
  box-shadow: 0 0 0 3px var(--surface);
}
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.avatar.xl { width: 84px; height: 84px; font-size: 28px; box-shadow: 0 0 0 5px var(--surface), var(--shadow-2); }
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -10px; }

/* ---------------------------------------------------------------- Tons des services */
.tone-cleaning { --tone-bg: #E3EDFD; --tone-fg: #2563EB; }
.tone-gardening { --tone-bg: #DFF5E7; --tone-fg: #1E8A55; }
.tone-assembly { --tone-bg: #FFEADB; --tone-fg: #D5602A; }
.tone-plumbing { --tone-bg: #DCF3F5; --tone-fg: #12808C; }
.tone-electrical { --tone-bg: #FFF3C4; --tone-fg: #A07400; }
.tone-repairs { --tone-bg: #EDEBFE; --tone-fg: #6D28D9; }
.tone-tip { --tone-bg: #FFEDE6; --tone-fg: #C2410C; }
.service-bubble { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 15px; background: var(--tone-bg, var(--sunken)); color: var(--tone-fg, var(--ink)); }
.service-bubble .i { width: 22px; height: 22px; }
.service-bubble.xs { width: 26px; height: 26px; border-radius: 9px; }
.service-bubble.xs .i { width: 14px; height: 14px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 164px; padding: 16px;
  border-radius: var(--radius-l); background: var(--tone-bg); color: var(--ink); text-align: left; overflow: hidden;
  border: 2px solid transparent; isolation: isolate;
  transition: transform .4s var(--ease-spring), box-shadow .3s, border-color .2s;
}
.service-tile::after {
  content: ""; position: absolute; z-index: -1; right: -34px; bottom: -34px; width: 120px; height: 120px; border-radius: 50%;
  background: color-mix(in srgb, var(--tone-fg) 13%, transparent); transition: transform .6s var(--ease-out);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--tone-fg) 55%, transparent); }
.service-tile:hover::after { transform: scale(1.35); }
.service-tile:active { transform: scale(.97); }
.service-tile .service-bubble { background: #fff; margin-bottom: auto; box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--tone-fg) 45%, transparent); }
.service-tile strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin-top: 14px; }
.tile-tagline { font-size: 12px; line-height: 1.35; color: color-mix(in srgb, var(--ink) 62%, var(--tone-fg)); }
.tile-price { margin-top: 6px; font-weight: 800; font-size: 15px; color: var(--tone-fg); }
.tile-price small { font-weight: 700; }
.tile-arrow, .tile-check { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.tile-arrow { background: rgba(255, 255, 255, .75); transition: transform .4s var(--ease-spring); }
.tile-arrow .i, .tile-check .i { width: 16px; height: 16px; }
.service-tile:hover .tile-arrow { transform: rotate(45deg) scale(1.08); }
.tile-check { background: var(--primary); color: #fff; transform: scale(0); transition: transform .4s var(--ease-spring); }
.service-tile.selected { border-color: var(--primary); }
.service-tile.selected .tile-check { transform: scale(1); }

/* ---------------------------------------------------------------- Accueil public */
.welcome { gap: 30px; }
.hero { display: grid; gap: 24px; align-items: center; }
.hero-copy { display: grid; gap: 16px; align-content: start; }
.hero-title { font-size: clamp(42px, 11vw, 78px); }
.hl {
  padding: 0 .06em; border-radius: 6px;
  background: linear-gradient(100deg, #FFD3C4, #FFE7DE) no-repeat 0 90% / 0% 38%;
  animation: marker .9s .7s var(--ease-out) forwards;
}
.role-cards { display: grid; gap: 10px; margin-top: 4px; }
.role-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.role-card:active { transform: scale(.98); }
.role-card.pro { background: var(--primary); color: #fff; border-color: var(--primary); }
.role-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); flex-shrink: 0; }
.role-card.pro .role-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.role-text { display: grid; flex: 1; }
.role-text strong { font-size: 17px; font-weight: 800; }
.role-text small { font-size: 13px; opacity: .72; }
.role-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); transition: transform .4s var(--ease-spring); }
.role-card.pro .role-arrow { background: rgba(255, 255, 255, .12); }
.role-card:hover .role-arrow { transform: rotate(45deg); }
.hero-visual { position: relative; }
.map-hero { height: 360px; border-radius: var(--radius-xl); box-shadow: var(--shadow-2); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow-2); font-size: 13px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card div { display: grid; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card .avatar { box-shadow: none; }
.float-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.float-ok .i { width: 14px; height: 14px; }
.fc-1 { top: 16px; left: 12px; animation-delay: -1s; }
.fc-2 { bottom: 64px; right: 12px; animation-delay: -3s; }
.fc-3 { bottom: 14px; left: 18px; animation-delay: -4.5s; flex-direction: column; align-items: flex-start; gap: 4px; }
.fc-2 .service-bubble { width: 38px; height: 38px; border-radius: 12px; }
.price-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; background: var(--primary); color: #fff; padding: 5px 10px; border-radius: 99px; font-size: 12px; }
.price-pill .i { width: 13px; height: 13px; }
.service-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.service-strip::-webkit-scrollbar { display: none; }
.strip-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 99px; background: var(--tone-bg); color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap; }
.strip-chip .i { width: 16px; height: 16px; color: var(--tone-fg); }
.demo-block { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #EEF4FF, #FFFFFF 60%); border: 1px solid #D6E4FF; }
.demo-head { display: grid; gap: 6px; }
.demo-head h2 { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.demo-head p { color: var(--muted); font-size: 14px; max-width: 70ch; }
.demo-groups { display: grid; gap: 16px; }
.demo-groups h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.demo-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.demo-list.compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 12px 0; }
.demo-account {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  text-align: left; transition: transform .3s var(--ease-spring), box-shadow .2s;
}
.demo-account:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.demo-account:active { transform: scale(.98); }
.demo-account span { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.demo-account strong { font-size: 14px; }
.demo-account small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-account[aria-busy="true"] { opacity: .6; }
.demo-split { justify-self: start; }
.how { display: grid; gap: 14px; }
.how-grid { display: grid; gap: 12px; }
.how-card { position: relative; display: grid; gap: 8px; padding: 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.how-card > .i { width: 26px; height: 26px; color: var(--primary); }
.how-card h3 { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.how-card p { color: var(--muted); font-size: 14px; }
.how-num { position: absolute; top: -18px; right: 8px; font-family: var(--display); font-size: 96px; font-weight: 800; color: var(--sunken); line-height: 1; }
.welcome-foot { display: grid; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; padding: 10px 0 0; }
.welcome-foot p { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }
.welcome-foot .i { width: 14px; height: 14px; }

@media (min-width: 760px) {
  .role-cards { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-groups { grid-template-columns: 1fr 1.6fr; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; min-height: 560px; }
  .map-hero { height: 540px; }
}

/* ---------------------------------------------------------------- Authentification */
.auth { max-width: 460px; }
.auth-card { display: grid; gap: 12px; padding: 24px 20px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--muted); width: fit-content; }
.auth-back .i { width: 16px; height: 16px; }
.form { display: grid; gap: 2px; }
.field { display: grid; gap: 7px; margin: 12px 0 0; }
.field > span { font-size: 13px; font-weight: 800; }
.field em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 6px; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.input-icon { position: relative; display: block; }
.input-icon > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 44px !important; }
.form-error { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 11px 13px; border-radius: 14px; background: var(--danger-soft); color: #B3312B; font-size: 13px; font-weight: 700; animation: shake .45s; }
.form-error .i { width: 17px; height: 17px; margin-top: 1px; }
.auth .btn-block { margin-top: 18px; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.role-option { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface-2); text-align: left; transition: border-color .2s, background .2s, transform .3s var(--ease-spring); }
.role-option span { display: grid; line-height: 1.25; }
.role-option small { font-size: 11px; color: var(--muted); }
.role-option .i { color: var(--muted); }
.role-option.selected { border-color: var(--primary); background: var(--primary-softer); box-shadow: var(--shadow-1); }
.role-option.selected .i { color: var(--primary); }
.role-option:active { transform: scale(.97); }

/* ---------------------------------------------------------------- Succès */
.success-mark {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 26px; background: var(--success-soft); color: var(--success);
  animation: pop .7s var(--ease-spring) both; box-shadow: 0 16px 32px -14px rgba(22, 163, 74, .55);
}
.success-mark .i { width: 36px; height: 36px; stroke-width: 2.6; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .3s var(--ease-out) forwards; }
.success-mark.small { width: 56px; height: 56px; border-radius: 20px; }
.success-mark.small .i { width: 28px; height: 28px; }
.success-mark.heart { background: #FFE4EA; color: #E0567A; box-shadow: 0 16px 32px -14px rgba(224, 86, 122, .6); }
.success-mark.heart .i { fill: currentColor; stroke-dasharray: none; stroke-dashoffset: 0; animation: heartbeat 1.4s .4s ease-in-out infinite; }
.success-mark.neutral { background: var(--sunken); color: var(--muted); box-shadow: none; }

/* ---------------------------------------------------------------- Accueil client */
.home-grid { display: grid; gap: 18px; }
.map-card { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.map-card .map { border-radius: 0; }
.map-medium { height: 240px; }
@media (min-width: 1024px) { .map-medium { height: 300px; } }
.map-card-foot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.map-card-foot > div:not(.avatar-stack) { display: grid; flex: 1; line-height: 1.3; }
.map-card-foot small { color: var(--muted); font-size: 12px; }
.trust-list { display: grid; gap: 10px; margin-top: 14px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.trust-item > .i { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.trust-item div { display: grid; }
.trust-item small { color: var(--muted); font-size: 13px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .home-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); align-items: start; }
  .home-grid > aside { position: sticky; top: 80px; }
}

/* ---------------------------------------------------------------- Cartes de mission */
.mission-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .3s var(--ease-spring), box-shadow .25s;
}
.mission-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.mission-card:active { transform: scale(.985); }
.mission-card-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mission-card-text strong { font-size: 15px; }
.mission-card-text .muted { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mission-card-text .chip { margin-top: 5px; }
.mission-card-side { display: grid; justify-items: end; gap: 2px; text-align: right; }
.mission-card-side strong { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mission-card-side .muted { font-size: 11px; }
.card-list.highlight .mission-card { border-color: #D6E4FF; background: linear-gradient(135deg, #FFFFFF 60%, #F3F7FE); }

/* ---------------------------------------------------------------- Carte (plan) */
.map { position: relative; overflow: hidden; background: #ECEEE6; border-radius: 22px; isolation: isolate; }
.map-canvas, .map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-streets-casing { fill: none; stroke: #DCDFD4; stroke-width: 6.5px; stroke-linecap: round; stroke-linejoin: round; }
.map-streets { fill: none; stroke: #FFFFFF; stroke-width: 3.6px; stroke-linecap: round; stroke-linejoin: round; }
.map-zone { fill: rgba(37, 99, 235, .12); stroke: rgba(37, 99, 235, .55); stroke-width: 2px; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; animation: zone 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map-pins { position: absolute; inset: 0; pointer-events: none; }
.map.tappable { cursor: crosshair; }
.map-attrib { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 10px; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 2px 7px; border-radius: 99px; }
/* Repères : élément de taille nulle centré sur le point (MapLibre le décale de -50 % de sa taille). */
.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.pin-home .pin-dot { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--primary); border: 3.5px solid #fff; box-shadow: 0 4px 12px rgba(15, 23, 42, .35); animation: pop .6s var(--ease-spring) both; }
.pin-halo { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(37, 99, 235, .28); animation: halo 2.6s var(--ease-out) infinite; }
.pin-home:not(.pin-radar) .pin-halo { animation-name: haloSmall; }
.pin-home:not(.pin-radar) .pin-halo.two, .pin-home:not(.pin-radar) .pin-halo.three { display: none; }
.pin-halo.two { animation-delay: .85s; }
.pin-halo.three { animation-delay: 1.7s; }
.pin-caption { position: absolute; top: 16px; left: 0; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 99px; box-shadow: var(--shadow-1); }
.pin-area .pin-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, .5); }
.pin-body {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 3px; border-radius: 99px;
  background: #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, .18); transform: translate(-50%, calc(-100% - 8px));
  animation: pinDrop .7s var(--ease-spring) both; animation-delay: var(--pin-delay, 0ms);
}
.pin-body::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.pin-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--pin-color); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.pin-label { font-size: 12px; font-weight: 800; padding-right: 8px; white-space: nowrap; }
.pin-pro.selected .pin-body { background: var(--primary); color: #fff; }
.pin-pro.dim .pin-body { opacity: .62; }
.pin-pro.pulse .pin-avatar { animation: avatarPulse 1.9s ease-out infinite; animation-delay: var(--pin-delay, 0ms); }

/* ---------------------------------------------------------------- Réservation */
.booking { gap: 16px; }
.booking-top { display: flex; align-items: center; gap: 12px; }
.progress { flex: 1; display: flex; gap: 6px; }
.progress-seg { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress-seg span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--primary); transition: width .6s var(--ease-out); }
.progress-seg.done span { width: 100%; }
.progress-seg.current span { width: 100%; background: linear-gradient(90deg, var(--primary), #93C5FD); }
.progress-label { font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.booking-grid { display: grid; gap: 20px; }
.booking-main { min-width: 0; }
.booking-aside { display: none; }
.step { display: grid; gap: 4px; }
.step-head { display: grid; gap: 6px; margin-bottom: 8px; }
.service-grid.pick .service-tile { min-height: 150px; }
.map-picker { position: relative; margin-top: 16px; }
.map-picker-map { height: 280px; }
.map-locate { position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 800; box-shadow: var(--shadow-1); transition: transform .25s var(--ease-spring); }
.map-locate .i { width: 16px; height: 16px; color: var(--primary); }
.map-locate:active { transform: scale(.95); }
.map-hint { position: absolute; right: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: rgba(15, 23, 42, .82); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; animation: hintFade 4s 2.5s forwards; }
.map-hint .i { width: 14px; height: 14px; }
.date-scroller { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: none; }
.date-scroller::-webkit-scrollbar { display: none; }
.date-chip {
  position: relative; flex: 0 0 auto; width: 64px; min-height: 88px; padding: 10px 4px; display: grid; justify-items: center; align-content: center; gap: 1px;
  border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); scroll-snap-align: start; cursor: pointer;
  transition: transform .35s var(--ease-spring), background .2s, border-color .2s, color .2s;
}
.date-chip small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.date-chip strong { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.date-chip em { position: absolute; top: -8px; right: -4px; font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 99px; background: var(--accent); color: #fff; }
.date-chip .i { width: 20px; height: 20px; margin: 3px 0; }
.date-chip:active { transform: scale(.94); }
.date-chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); }
.date-chip.selected small { color: rgba(255, 255, 255, .7); }
.date-chip.disabled { opacity: .4; cursor: not-allowed; }
.date-chip.other input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; padding: 0; cursor: pointer; }
.picked-date { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.picked-date .i { color: var(--primary); }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-chip { min-height: 46px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 750; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease-spring), background .2s, color .2s, border-color .2s; }
.time-chip:active:not(:disabled) { transform: scale(.94); }
.time-chip.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.time-chip:disabled { opacity: .35; text-decoration: line-through; }
.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 18px; background: var(--sunken); }
.seg { flex: 1; min-height: 44px; border-radius: 14px; font-weight: 750; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .25s, color .2s, box-shadow .25s, transform .3s var(--ease-spring); }
.seg.selected { background: var(--surface); color: var(--primary-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.seg:active { transform: scale(.96); }
.seg-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.seg:not(.selected) .seg-count { background: var(--line-2); color: var(--ink); }
.slot-summary { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: var(--primary-soft); color: var(--primary-ink); }
.slot-summary strong { color: var(--ink); }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 13px 14px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 13px; }
.note .i { width: 18px; height: 18px; color: var(--primary); margin-top: 1px; }
.note.warn { background: #FFF8E1; border-color: #F2DC8C; }
.note.warn .i { color: #A07400; }
.recap { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.recap-text { flex: 1; display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.recap-text strong { font-size: 16px; }
.pay-block { display: grid; gap: 16px; margin-top: 16px; }
.demo-card {
  position: relative; overflow: hidden; width: 100%; max-width: 340px; aspect-ratio: 1.586; padding: 18px 20px; border-radius: 22px;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--ink);
  background: linear-gradient(135deg, #DCE8FF 0%, #EEF4FF 50%, #FFE3D8 100%);
  box-shadow: 0 20px 40px -18px rgba(37, 99, 235, .5); transform: rotate(-2deg);
}
.demo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 48%, transparent 64%); transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite 1s; }
.demo-card-top { display: flex; justify-content: space-between; align-items: center; }
.demo-card-chip { width: 42px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #F4DC8E, #D6AE45); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.demo-card-brand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.demo-card-number { font-size: 19px; font-weight: 750; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.demo-card-foot { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pay-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pay-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.pay-points .i { width: 18px; height: 18px; color: var(--primary); margin-top: 2px; }
.action-bar {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-bottom)); background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-top: 1px solid var(--line);
  animation: barIn .5s var(--ease-out) both;
}
.action-total { display: grid; line-height: 1.15; min-width: 92px; }
.action-total small { font-size: 11px; font-weight: 700; color: var(--muted); }
.action-total strong { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.aside-service { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; font-size: 16px; }
.aside-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0; color: var(--ink-2); }
.aside-line .i { width: 18px; height: 18px; color: var(--muted); margin-top: 1px; }
.booking-aside .price { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .booking-aside { display: block; }
  .sticky { position: sticky; top: 80px; }
  .action-bar, .action-bar.static { position: sticky; bottom: 20px; margin-top: 24px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: 12px 12px 12px 20px; }
  .time-grid { grid-template-columns: repeat(6, 1fr); }
  .map-picker-map { height: 340px; }
}

/* ---------------------------------------------------------------- Prix */
.price { display: grid; }
.price-title { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.price-row span { display: inline-flex; align-items: center; gap: 6px; }
.price-row .i { width: 15px; height: 15px; color: var(--accent); }
.price-row strong { color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row.tip { color: var(--ink-2); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-weight: 800; }
.price-total strong { font-family: var(--display); font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price.compact .price-row { font-size: 13px; padding: 5px 0; }
.price.compact .price-total strong { font-size: 22px; }
.price-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 11px 13px; border-radius: 14px; background: var(--primary-softer); font-size: 13px; color: var(--ink-2); }
.price-note .i { width: 17px; height: 17px; color: var(--primary); margin-top: 1px; }

/* ---------------------------------------------------------------- Paiement simulé */
.sheet-pay .sheet { text-align: center; }
.paying { display: grid; justify-items: center; gap: 18px; padding: 12px 0 8px; }
.paying-card { position: relative; width: 200px; aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #DCE8FF, #EEF4FF 50%, #FFE3D8); box-shadow: 0 18px 36px -16px rgba(37, 99, 235, .55); animation: cardFloat 1.6s ease-in-out infinite; }
.paying-card .demo-card-chip { position: absolute; left: 16px; top: 18px; }
.paying-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); animation: sheen 1.2s ease-in-out infinite; transform: translateX(-100%); }
.paying-state { display: grid; justify-items: center; gap: 6px; min-height: 96px; }
.paying-state small { color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3.5px solid var(--line); border-top-color: var(--primary); animation: spin .8s linear infinite; }
.sheet.done .paying-card { animation: none; transform: scale(.96); opacity: .7; transition: all .4s; }

/* ---------------------------------------------------------------- Mission */
.mission-page { gap: 14px; }
.mission-top { display: flex; align-items: center; gap: 12px; }
.mission-top-text { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.mission-top-text strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mission-top-text .muted { font-size: 12px; font-variant-numeric: tabular-nums; }
.mission-layout { display: grid; gap: 14px; }
.mission-side, .mission-main { display: grid; gap: 14px; align-content: start; min-width: 0; }
.mission-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2); }
.map-mission { height: 470px; border-radius: 0; }
.hero-overlay {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: grid; gap: 6px; padding: 16px;
  border-radius: 22px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2); animation: rise .6s .15s var(--ease-out) both;
}
.hero-overlay p { color: var(--ink-2); font-size: 14px; }
.celebrate { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 20px; background: linear-gradient(180deg, #F0FDF4, #FFFFFF 70%); }
.celebrate.muted-card { background: var(--surface); }
.celebrate blockquote { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); font-style: italic; max-width: 40ch; }
.offer-hero-amount { display: flex; align-items: baseline; gap: 8px; }
.offer-hero-amount strong { font-family: var(--display); font-size: 42px; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.offer-hero-amount span { font-weight: 700; color: var(--muted); }
.offer-hero-amount.center { justify-content: center; }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact > .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--sunken); color: var(--ink-2); }
.fact div { display: grid; min-width: 0; line-height: 1.35; }
.fact small { font-size: 12px; color: var(--muted); font-weight: 600; }
.fact strong { font-size: 14px; font-weight: 700; }
.fact em { font-style: normal; font-size: 12px; color: var(--primary-ink); font-weight: 600; margin-top: 2px; }
.client-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.client-line div { display: grid; line-height: 1.3; }
.client-line .muted { font-size: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 14px; }
.timeline li + li::before { content: ""; position: absolute; left: 13px; top: -9px; height: 18px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline li.done::before { background: var(--primary); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; transition: all .3s; }
.tl-dot .i { width: 14px; height: 14px; stroke-width: 3; }
.timeline li.done { color: var(--ink); font-weight: 650; }
.timeline li.done .tl-dot { background: var(--primary); border-color: var(--primary); color: #fff; animation: pop .5s var(--ease-spring); }
.timeline li.current .tl-dot { border-color: var(--primary); box-shadow: 0 0 0 5px rgba(37, 99, 235, .14); animation: currentPulse 2s ease-in-out infinite; }
.timeline li.current { color: var(--ink); }
.timeline li.cancelled .tl-dot { background: var(--sunken); border-color: var(--sunken); color: var(--muted); }
.tl-time { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.checks { display: grid; gap: 8px; margin: 12px 0 14px; }
.check-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 650; transition: background .3s, border-color .3s; }
.check-row small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 700; }
.check-mark { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.check-mark .i { width: 14px; height: 14px; stroke-width: 3; }
.check-row.done { background: var(--success-soft); border-color: #BBF7D0; }
.check-row.done .check-mark { border: 0; background: var(--success); color: #fff; animation: pop .5s var(--ease-spring); }
.check-row.done small { color: var(--success-ink); }
.waiting { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; font-size: 14px; }
.waiting .i { animation: tick 2s ease-in-out infinite; }
.ledger { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.ledger summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 750; list-style: none; padding: 4px 0; }
.ledger summary::-webkit-details-marker { display: none; }
.ledger summary .i { width: 16px; height: 16px; color: var(--muted); }
.ledger summary .muted { margin-left: auto; font-weight: 600; font-size: 12px; }
.ledger ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ledger li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 13px; align-items: center; }
.ledger li .muted { font-size: 11px; }
.ledger li strong { font-variant-numeric: tabular-nums; }
.pro-card { display: flex; align-items: center; gap: 14px; }
.pro-card-text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.pro-card-text strong { font-size: 17px; font-weight: 800; }
.pro-card-text .muted { font-size: 13px; }
.pro-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 650; }
.pro-meta .rating { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 800; }
.pro-meta .rating .i, .stat-rating .i { width: 14px; height: 14px; color: #F2B400; fill: #F2B400; }
.pro-card.compact { padding: 10px; border-radius: 18px; background: var(--surface-2); margin: 10px 0 4px; }
.review-card { display: grid; gap: 4px; }
.rating-input { display: flex; justify-content: center; gap: 8px; margin: 14px 0 4px; }
.star-btn { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--sunken); color: #C9C5BA; transition: transform .35s var(--ease-spring), background .25s, color .25s; }
.star-btn .i { width: 28px; height: 28px; }
.star-btn:hover { transform: translateY(-3px) scale(1.05); }
.star-btn:active { transform: scale(.9); }
.star-btn.on { background: #FFF4C9; color: #F59E0B; }
.star-btn.on .i { fill: currentColor; animation: starPop .5s var(--ease-spring) both; animation-delay: var(--d, 0ms); }
.rating-caption { text-align: center; font-weight: 800; font-size: 14px; color: var(--muted); min-height: 21px; }
.tip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tip-chip { flex: 1 1 64px; min-height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 750; transition: transform .3s var(--ease-spring), background .2s, color .2s, border-color .2s; }
.tip-chip.selected { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-ink); }
.tip-chip:active { transform: scale(.94); }
.review-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 12px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-weight: 800; }
.review-total strong { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; }
.star .i { width: 20px; height: 20px; color: #DAD6CB; }
.star.on .i { color: #F2B400; fill: #F2B400; }
.payout-card { display: grid; gap: 4px; background: linear-gradient(135deg, #F0FDF4, #FFFFFF 70%); }
.payout-card small { font-weight: 700; color: var(--muted); }
.payout-card strong { font-family: var(--display); font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.payout-card p { color: var(--ink-2); font-size: 14px; }
.offer-actions { display: flex; gap: 8px; align-items: center; }
.offer-actions.big .btn { min-height: 56px; }
@media (min-width: 1024px) {
  .mission-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .mission-side { position: sticky; top: 76px; }
  .map-mission { height: calc(100vh - 150px); min-height: 460px; max-height: 720px; }
}

/* ---------------------------------------------------------------- Espace pro */
.banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--primary-soft); color: var(--primary-ink); }
.banner span { display: grid; flex: 1; line-height: 1.3; }
.banner strong { color: var(--ink); }
.banner small { font-size: 13px; }
.pro-grid { display: grid; gap: 18px; }
.pro-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.online-card {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-l); text-align: left;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: background .5s var(--ease-out), box-shadow .3s, transform .3s var(--ease-spring);
}
.online-card:active { transform: scale(.98); }
.online-card.on { background: linear-gradient(135deg, #EEF4FF 0%, #D9E6FF 100%); border-color: #BFD3FE; box-shadow: 0 16px 34px -18px rgba(37, 99, 235, .7); }
.online-orb { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; flex-shrink: 0; }
.online-orb span { width: 16px; height: 16px; border-radius: 50%; background: var(--faint); transition: background .3s; }
.online-card.on .online-orb { background: rgba(255, 255, 255, .55); }
.online-card.on .online-orb span { background: #1FB768; animation: liveRing 1.8s ease-out infinite; }
.online-text { display: grid; flex: 1; line-height: 1.3; }
.online-text strong { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.online-text small { font-size: 13px; color: var(--ink-2); }
.switch { position: relative; width: 56px; height: 32px; border-radius: 99px; background: var(--line-2); flex-shrink: 0; transition: background .3s; }
.switch.on { background: var(--primary); }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--ease-spring), background .3s; }
.switch.on .switch-knob { transform: translateX(24px); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { display: grid; gap: 2px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: transform .3s var(--ease-spring); }
a.stat:hover { transform: translateY(-2px); }
.stat small { font-size: 12px; color: var(--muted); font-weight: 700; }
.stat strong { font-family: var(--display); font-size: clamp(17px, 4.6vw, 22px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat em { font-style: normal; font-size: 11px; color: var(--muted); }
.stat-rating { display: inline-flex; align-items: center; gap: 4px; }
.offer-list { display: grid; gap: 12px; }
.offer-card { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.offer-card.fresh { animation: offerIn .8s var(--ease-spring) both; }
.offer-card.leaving { animation: leave .32s ease forwards; pointer-events: none; }
.offer-top { display: flex; align-items: center; gap: 12px; }
.offer-title { flex: 1; display: grid; min-width: 0; line-height: 1.3; }
.offer-title strong { font-size: 16px; }
.offer-title .muted { font-size: 13px; }
.offer-amount { display: grid; justify-items: end; line-height: 1.1; }
.offer-amount strong { font-family: var(--display); font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.offer-amount small { font-size: 11px; color: var(--muted); font-weight: 700; }
.offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; font-weight: 650; }
.offer-meta > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.offer-meta .i { width: 15px; height: 15px; color: var(--primary); }
.offer-meta .muted { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; }
.offer-details { font-size: 13px; color: var(--ink-2); background: var(--surface-2); padding: 10px 12px; border-radius: 14px; overflow-wrap: anywhere; }
.offer-warn { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #8A5A00; }
.offer-warn .i { width: 16px; height: 16px; }
.radar-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px dashed var(--line-2); }
.radar-empty p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.radar { position: relative; width: 120px; height: 120px; margin-bottom: 8px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 99, 235, .4); animation: radar 2.8s var(--ease-out) infinite; }
.radar span:nth-child(2) { animation-delay: .93s; }
.radar span:nth-child(3) { animation-delay: 1.86s; }
.radar i { position: absolute; inset: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.radar i .i { width: 22px; height: 22px; animation: ring 2.8s ease-in-out infinite; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.svc-chip strong { color: var(--muted); font-weight: 700; }
@media (min-width: 1024px) {
  .pro-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; gap: 24px; }
}

/* ---------------------------------------------------------------- Revenus */
.wallet-grid { display: grid; gap: 14px; }
.wallet-hero {
  position: relative; overflow: hidden; display: grid; gap: 6px; padding: 22px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #E8EFFD 0%, #F3F7FE 55%, #FFEDE6 100%); border: 1px solid #D6E4FF; box-shadow: var(--shadow-2);
}
.wallet-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.wallet-hero-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--ink-2); position: relative; z-index: 1; }
.wallet-total { font-family: var(--display); font-size: clamp(40px, 11vw, 56px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.wallet-sub { font-size: 13px; color: var(--ink-2); position: relative; z-index: 1; }
.wallet-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; position: relative; z-index: 1; }
.wallet-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .75); font-size: 13px; }
.wallet-pills .i { width: 15px; height: 15px; color: var(--primary); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.bar { width: 100%; max-width: 38px; height: var(--h); border-radius: 10px 10px 6px 6px; background: var(--sunken); transform-origin: bottom; animation: grow .8s var(--ease-spring) both; animation-delay: var(--d); }
.bar.filled { background: linear-gradient(180deg, #93C5FD, var(--primary)); }
.bar-value { font-size: 10px; font-weight: 800; color: var(--primary-ink); min-height: 14px; white-space: nowrap; }
.bar-col small { font-size: 11px; color: var(--muted); font-weight: 700; }
.entries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.entry a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease-spring); }
.entry a:hover { transform: translateX(3px); }
.entry-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.entry-text strong { font-size: 14px; }
.entry-text small { font-size: 12px; color: var(--muted); }
.entry-amount { font-family: var(--display); font-size: 17px; color: #177245; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .wallet-grid { grid-template-columns: 1.1fr 1fr; }
  .wallet-grid .stats { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Profil */
.profile-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.profile-id { display: grid; gap: 4px; flex: 1; min-width: 200px; }
.profile-id .muted { font-size: 14px; overflow-wrap: anywhere; }
.profile-id .chip { margin-top: 4px; }
.name-form { display: flex; gap: 8px; align-items: center; }
.name-form input { padding: 10px 12px; }
.profile-stats { display: flex; gap: 10px; }
.profile-stats div { display: grid; justify-items: center; padding: 10px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.profile-stats strong { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-size: 20px; }
.profile-stats strong .i { width: 16px; height: 16px; color: #F2B400; fill: #F2B400; }
.profile-stats small { font-size: 11px; color: var(--muted); font-weight: 700; }
.profile-grid { display: grid; gap: 18px; }
.svc-list { display: grid; gap: 8px; }
.svc-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); transition: background .3s, border-color .3s; animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.is-refresh .svc-row { animation: none; }
.svc-row.on { background: var(--tone-bg); border-color: color-mix(in srgb, var(--tone-fg) 40%, transparent); }
.svc-toggle { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.svc-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.svc-toggle span:not(.check-box):not(.service-bubble) { display: grid; min-width: 0; line-height: 1.3; }
.svc-toggle strong { font-size: 14px; }
.svc-toggle small { font-size: 11px; color: var(--muted); }
.svc-toggle:focus-within { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 3px; border-radius: 14px; }
.svc-row .service-bubble { width: 40px; height: 40px; border-radius: 13px; background: #fff; }
.check-box { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; flex-shrink: 0; background: #fff; transition: all .3s var(--ease-spring); }
.check-box .i { width: 15px; height: 15px; stroke-width: 3; }
.svc-row.on .check-box { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.05); }
.svc-rate { display: flex; align-items: center; gap: 6px; width: 108px; flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--muted); }
.svc-rate input { padding: 10px !important; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.svc-rate.hidden { display: none; }
.map-small { height: 220px; }
.save-bar {
  position: fixed; z-index: 36; left: 12px; right: 12px; bottom: calc(96px + var(--safe-bottom)); display: flex; align-items: center; gap: 8px;
  padding: 10px 10px 10px 16px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-3); font-size: 13px; font-weight: 700;
  transform: translateY(160%); opacity: 0; pointer-events: none; transition: transform .5s var(--ease-spring), opacity .3s;
}
.save-bar span { flex: 1; }
.save-bar.visible { transform: none; opacity: 1; pointer-events: auto; }
.save-bar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.save-bar .btn-primary { background: #fff; color: var(--primary-ink); }
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.about-list .i { width: 18px; height: 18px; color: var(--primary); margin-top: 2px; }
.onboarding { max-width: 720px; }
.action-bar.static { gap: 10px; }
@media (min-width: 1024px) {
  .profile-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .save-bar { left: auto; right: 32px; bottom: 24px; width: 460px; }
}

/* ---------------------------------------------------------------- États vides et chargement */
.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 34px 18px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .6); border: 1px dashed var(--line-2); }
.empty-icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 4px; animation: floaty 5s ease-in-out infinite; }
.empty-icon .i { width: 28px; height: 28px; }
.empty strong { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.empty p { color: var(--muted); font-size: 14px; max-width: 40ch; }
.empty .btn { margin-top: 8px; }
.skeleton-page { gap: 14px; }
.sk { border-radius: 18px; background: linear-gradient(90deg, #ECEAE3 25%, #F6F5F1 50%, #ECEAE3 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.sk-title { height: 42px; width: 70%; border-radius: 14px; }
.sk-sub { height: 18px; width: 45%; border-radius: 10px; }
.sk-card { height: 120px; }

/* ---------------------------------------------------------------- Feuilles modales */
#overlay-root { position: relative; z-index: 50; }
.sheet-layer { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .34); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; max-height: 88dvh; overflow: auto; overscroll-behavior: contain;
  padding: 8px 20px calc(20px + var(--safe-bottom)); background: var(--surface); border-radius: 30px 30px 0 0;
  box-shadow: var(--shadow-3); transform: translateY(105%); transition: transform .45s var(--ease-sheet);
}
.sheet-handle { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sheet-head h2 { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; }
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet-layer.open .sheet { transform: none; }
.sheet-layer.closing .sheet-backdrop { opacity: 0; }
.sheet-layer.closing .sheet { transform: translateY(105%); }
.confirm-body { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 6px 0; }
.confirm-body p { color: var(--ink-2); font-size: 15px; max-width: 40ch; }
.confirm-icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); animation: pop .5s var(--ease-spring); }
.confirm-icon .i { width: 28px; height: 28px; }
@media (min-width: 760px) {
  .sheet-layer { align-items: center; padding: 24px; }
  .sheet { border-radius: 30px; transform: translateY(26px) scale(.96); opacity: 0; transition: transform .4s var(--ease-spring), opacity .25s; padding-bottom: 22px; }
  .sheet-handle { display: none; }
  .sheet-layer.open .sheet { transform: none; opacity: 1; }
  .sheet-layer.closing .sheet { transform: translateY(16px) scale(.97); opacity: 0; }
  .sheet-layer.sheet-side { justify-content: flex-end; align-items: stretch; padding: 12px; }
  .sheet-side .sheet { max-width: 420px; max-height: none; height: 100%; transform: translateX(110%); opacity: 1; transition: transform .45s var(--ease-sheet); }
  .sheet-layer.sheet-side.open .sheet { transform: none; }
  .sheet-layer.sheet-side.closing .sheet { transform: translateX(110%); }
}

/* ---------------------------------------------------------------- Notifications */
.notif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.notif button { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 18px; transition: background .2s; }
.notif button:hover { background: var(--surface-2); }
.notif.unread button { background: var(--primary-softer); }
.notif-icon { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--sunken); color: var(--ink-2); }
.notif-icon .i { width: 18px; height: 18px; }
.notif-icon.k-offer { background: var(--accent-soft); color: var(--accent-ink); }
.notif-icon.k-accepted, .notif-icon.k-released { background: #DDF6E8; color: #177245; }
.notif-icon.k-review { background: #FFF4C9; color: #A07400; }
.notif-icon.k-no_provider { background: #FFF0EE; color: var(--danger); }
.notif-text { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.notif-text strong { font-size: 14px; }
.notif-text span { font-size: 13px; color: var(--ink-2); }
.notif-text small { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- Toasts */
#toast-root { position: fixed; z-index: 60; top: calc(10px + var(--safe-top)); left: 50%; transform: translateX(-50%); width: min(430px, calc(100vw - 20px)); display: grid; gap: 8px; pointer-events: none; }
.toast {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-3); pointer-events: auto; cursor: pointer;
  opacity: 0; transform: translateY(-24px) scale(.95); transition: opacity .35s, transform .55s var(--ease-spring);
}
.toast.in { opacity: 1; transform: none; }
.toast.out { opacity: 0; transform: translateY(-14px) scale(.97); transition-duration: .3s; }
.toast-icon { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.toast-text { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.toast-text strong { font-size: 14px; }
.toast-text p { font-size: 13px; color: var(--ink-2); }
.toast-action { padding: 9px 13px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.toast-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); opacity: .35; transform-origin: left; animation: shrink linear forwards; }
.toast-offer { background: var(--primary); border-color: var(--primary); color: #fff; }
.toast-offer .toast-icon { background: #fff; color: var(--primary); animation: ring 1s var(--ease-out); }
.toast-offer .toast-text p { color: rgba(255, 255, 255, .75); }
.toast-offer .toast-action { background: #fff; color: var(--primary-ink); }
.toast-offer .toast-progress { background: #fff; opacity: .8; }
.toast-error .toast-icon { background: var(--danger-soft); color: var(--danger); }
.toast-error .toast-progress { background: var(--danger); }

/* ---------------------------------------------------------------- Confettis */
.confetti-layer { position: fixed; z-index: 70; width: 0; height: 0; pointer-events: none; }
.confetti-layer span { position: absolute; width: 8px; height: 13px; margin: -6px 0 0 -4px; border-radius: 2px; animation: confetti 1.3s cubic-bezier(.15, .7, .3, 1) var(--delay) both; }
.confetti-layer span.round { width: 9px; height: 9px; border-radius: 50%; }

/* ---------------------------------------------------------------- Adresses et carte interactive */
.field > label { font-size: 13px; font-weight: 800; }
.field-hint { font-size: 12px; color: var(--muted); }
.address-field { position: relative; }
.address-spinner { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--primary); opacity: 0; transition: opacity .2s; animation: spin .7s linear infinite; }
.address-field.loading .address-spinner { opacity: 1; }
.suggestions {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3);
  max-height: 300px; overflow: auto; animation: rise .25s var(--ease-out);
}
.suggestion { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; cursor: pointer; line-height: 1.3; }
.suggestion strong { font-size: 14px; }
.suggestion small { font-size: 12px; color: var(--muted); }
.suggestion.active, .suggestion:hover { background: var(--primary-softer); }
.suggestion.active strong { color: var(--primary-ink); }
.suggestion.empty { cursor: default; color: var(--muted); font-size: 13px; background: none; }
.coverage { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; font-size: 14px; background: var(--sunken); color: var(--ink-2); animation: rise .4s var(--ease-out); }
.coverage .i { width: 18px; height: 18px; margin-top: 1px; }
.coverage.ok { background: var(--success-soft); color: var(--success-ink); }
.coverage.none { background: #FFF7ED; color: #9A3412; }
.check-line { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.check-line input { width: 20px; height: 20px; accent-color: var(--primary); }
.soon { font-size: 12px; font-weight: 700; color: var(--muted); }
.address-picker .map-picker { margin-top: 12px; }
.map-loading { position: absolute; inset: 0; background: linear-gradient(90deg, #E9EEF6 25%, #F4F7FB 50%, #E9EEF6 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.map-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.map.map-ready { background: #F4F7FB; }
.map .maplibregl-canvas { outline: none; }
.map .maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255, 255, 255, .8); border-radius: 10px 0 0 0; }
.map .maplibregl-ctrl-attrib.maplibregl-compact { border-radius: 12px; margin: 6px; }
.map .maplibregl-ctrl-group { border-radius: 12px; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.map .maplibregl-cooperative-gesture-screen { font-family: var(--font); font-size: 14px; font-weight: 700; background: rgba(15, 23, 42, .55); }
.map .maplibregl-marker { will-change: transform; }
.pin-home.draggable { cursor: grab; }
.pin-home.draggable .pin-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.pin-home.dragging { cursor: grabbing; }
.pin-home.dragging .pin-dot { transform: scale(1.25); box-shadow: 0 10px 24px rgba(37, 99, 235, .45); }
.map-locate.busy { opacity: .7; pointer-events: none; }

/* ---------------------------------------------------------------- Images clés */
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes marker { to { background-size: 100% 36%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(-3%, 2%, 0) rotate(4deg); } }
@keyframes bootPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }
@keyframes wave { 0%, 60%, 100% { transform: translate(0, 0); } 70% { transform: translate(-1.5px, -1.5px); } 80% { transform: translate(1.5px, -1px); } 90% { transform: translate(-1px, 0); } }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }
@keyframes liveRing { 0% { box-shadow: 0 0 0 0 rgba(31, 183, 104, .55); } 100% { box-shadow: 0 0 0 10px rgba(31, 183, 104, 0); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); } }
@keyframes halo { from { transform: scale(1); opacity: .75; } to { transform: scale(9); opacity: 0; } }
@keyframes haloSmall { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
@keyframes pinDrop { 0% { opacity: 0; transform: translate(-50%, calc(-100% - 44px)) scale(.6); } 100% { opacity: 1; transform: translate(-50%, calc(-100% - 8px)) scale(1); } }
@keyframes avatarPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pin-color) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes zone { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes hintFade { to { opacity: 0; transform: translateY(-6px); } }
@keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes starPop { 0% { transform: scale(.6) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes currentPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, .16); } 50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, .06); } }
@keyframes tick { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(180deg); } }
@keyframes radar { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes offerIn { 0% { opacity: 0; transform: translateX(46px) scale(.95); } 60% { opacity: 1; box-shadow: 0 0 0 6px rgba(212, 244, 106, .7), var(--shadow-2); } 100% { transform: none; box-shadow: var(--shadow-1); } }
@keyframes leave { to { opacity: 0; transform: translateX(-40px) scale(.96); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  60% { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--rot) * .6)); opacity: 1; }
  100% { transform: translate(calc(var(--dx) * 1.15), calc(var(--dy) + 190px)) rotate(var(--rot)); opacity: 0; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Identité, entreprise, localisation (01/10) */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row .field { margin-top: 0; }
.perks { list-style: none; display: grid; gap: 8px; margin: 16px 0 4px; padding: 14px 16px; border-radius: 18px; background: var(--primary-softer); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.perks li { display: flex; gap: 8px; align-items: flex-start; }
.perks .i { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 1px; }
.field-hint { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field-hint .i { width: 15px; height: 15px; flex: none; }
.field-hint.ok { color: var(--success-ink); }
.field-hint.bad { color: var(--danger); }
.field-hint.warn { color: #8A6300; }
.company-found { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--success-soft); color: var(--success-ink); animation: rise .45s var(--ease-out); }
.company-found .i { width: 20px; height: 20px; flex: none; }
.company-found span { display: grid; line-height: 1.3; min-width: 0; }
.company-found strong { color: var(--ink); }
.company-found small { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.company-found.closed { background: var(--danger-soft); color: var(--danger); }
.status-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.status-option { padding: 9px 13px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s, transform .3s var(--ease-spring); }
.status-option:active { transform: scale(.95); }
.status-option.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.check-line span { display: grid; gap: 2px; line-height: 1.35; }
.check-line small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.check-line input { flex: none; align-self: flex-start; margin-top: 2px; }
.mode-switch { display: grid; gap: 10px; margin: 14px 0; }
.mode-option { display: flex; gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, transform .3s var(--ease-spring); }
.mode-option > .i { width: 26px; height: 26px; padding: 6px; box-sizing: content-box; border-radius: 12px; background: var(--sunken); color: var(--muted); flex: none; transition: background .2s, color .2s; }
.mode-option span { display: grid; gap: 2px; line-height: 1.3; }
.mode-option small { color: var(--muted); font-size: 12.5px; }
.mode-option.selected { border-color: var(--primary); background: var(--primary-softer); }
.mode-option.selected > .i { background: var(--primary); color: #fff; }
.mode-option:active { transform: scale(.98); }
@media (min-width: 640px) { .mode-switch { grid-template-columns: 1fr 1fr; } }
.gps-box { display: grid; gap: 12px; }
.gps-ok { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--success-soft); color: var(--success-ink); }
.gps-ok > .i { width: 22px; height: 22px; flex: none; }
.gps-ok span { display: grid; flex: 1; line-height: 1.3; min-width: 0; }
.gps-ok strong { color: var(--ink); }
.gps-ok small { font-size: 12.5px; }
.geo-status { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.geo-status > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; min-width: 0; }
.geo-status strong { font-size: 14px; }
.geo-status small { font-size: 12.5px; color: var(--muted); }
.geo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); flex: none; }
.geo-live .geo-dot { background: var(--success); animation: liveRing 1.6s infinite; }
.geo-pending .geo-dot { background: var(--primary); animation: dotPulse 1.2s infinite; }
.geo-warn { background: #FFF8E1; border-color: #F2DC8C; }
.geo-warn .geo-dot { background: #E0A800; }
.card .geo-status { box-shadow: none; margin-bottom: 4px; }
.banner.warn { background: #FFF3C4; color: #7D5B00; }
.chip-rose { background: #FDE8EE; color: #B4234B; }
.chip-live { background: var(--success-soft); color: var(--success-ink); }
.chip-live .chip-dot { background: var(--success); }
.profile-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.zone-card .map-medium { border-radius: 16px; overflow: hidden; }

/* Confiance et contact */
.trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.trust-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font-size: 11.5px; font-weight: 750; }
.trust-badge .i { width: 13px; height: 13px; }
.trust-badge.ok { background: var(--success-soft); color: var(--success-ink); }
.trust-badge.sap { background: var(--primary-soft); color: var(--primary-ink); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-actions .btn { flex: 1; min-width: 110px; }
.contact-number { width: 100%; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.client-line + .contact-actions { margin-bottom: 6px; }

/* ---------------------------------------------------------------- Administration */
.admin-page { display: grid; gap: 18px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.admin-head .display { font-size: clamp(30px, 6vw, 44px); }
.admin-head-side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-head .segmented { min-width: 210px; }
.admin-head .seg { min-height: 38px; font-size: 13px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.kpi { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); box-shadow: var(--shadow-1); overflow: hidden; min-width: 0; }
.kpi::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: var(--kpi-glow, var(--primary-softer)); opacity: .7; pointer-events: none; }
.kpi > * { position: relative; z-index: 1; }
.kpi small { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi strong { font-family: var(--display); font-size: clamp(20px, 4.6vw, 26px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-icon { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); margin-bottom: 6px; }
.kpi-icon .i { width: 18px; height: 18px; }
.kpi-sub { font-size: 12px; color: var(--muted); line-height: 1.35; }
.kpi-blue { --kpi-glow: #DCE8FD; }
.kpi-blue .kpi-icon { background: var(--primary); color: #fff; }
.kpi-coral { --kpi-glow: var(--accent-soft); }
.kpi-coral .kpi-icon { background: var(--accent); color: #fff; }
.kpi-green { --kpi-glow: var(--success-soft); }
.kpi-green .kpi-icon { background: var(--success-soft); color: var(--success-ink); }
.kpi-amber { --kpi-glow: #FFF3C4; }
.kpi-amber .kpi-icon { background: #FFF3C4; color: #A07400; }
.delta { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; color: var(--muted); }
.delta .i { width: 13px; height: 13px; }
.delta.up { color: var(--success); }
.delta.down { color: var(--danger); }
.admin-grid { display: grid; gap: 18px; }
@media (min-width: 1024px) {
  .admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-grid .chart-card, .admin-grid .map-card { grid-column: span 2; }
}
.chart { display: grid; gap: 8px; }
.chart-plot { position: relative; height: 190px; border-radius: 14px; background: linear-gradient(to top, var(--line) 1px, transparent 1px) 0 0 / 100% 25%; }
.abars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.abar-wrap { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.abar { width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5B8DEF, var(--primary)); transform-origin: bottom; animation: grow .7s var(--ease-out) both; animation-delay: var(--d); transition: filter .2s; }
.abar.zero { background: var(--line-2); }
.abar-wrap:hover .abar { filter: brightness(1.1) saturate(1.2); }
.chart-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); pointer-events: none; overflow: visible; }
.chart-line polyline { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.6s .35s var(--ease-out) forwards; }
.chart-axis { display: flex; gap: 2px; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.chart-axis span { flex: 1; min-width: 0; white-space: nowrap; overflow: visible; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); font-weight: 600; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-bar { width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }
.lg-line { width: 14px; height: 3px; border-radius: 2px; background: var(--accent); }
.donut-wrap { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.donut { width: 132px; height: 132px; }
.donut-arc { animation: donutIn .9s var(--ease-out) both; }
.donut-total { font-family: var(--display); font-size: 9px; font-weight: 800; fill: var(--ink); }
.donut-label { font-size: 3.6px; fill: var(--muted); font-weight: 700; }
.legend { list-style: none; display: grid; gap: 7px; font-size: 13px; min-width: 0; }
.legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 8px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend small { grid-column: 2 / 4; color: var(--muted); font-size: 11.5px; margin-top: -2px; }
@keyframes donutIn { from { stroke-dasharray: 0 100; } }
.funnel { display: grid; gap: 10px; }
.funnel-step { position: relative; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; overflow: hidden; background: var(--surface-2); font-size: 13.5px; }
.funnel-bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--primary-soft), #DCE8FD); border-radius: 14px; transform-origin: left; animation: growX .8s var(--ease-out) both; animation-delay: var(--d); }
.funnel-label, .funnel-step strong, .funnel-step small { position: relative; }
.funnel-label { font-weight: 700; }
.funnel-step strong { font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.funnel-step small { color: var(--muted); font-weight: 700; text-align: right; }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.todo-list { display: grid; gap: 8px; }
.todo { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); transition: transform .3s var(--ease-spring), box-shadow .2s, border-color .2s; }
.todo:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.todo > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; min-width: 0; }
.todo small { color: var(--muted); font-size: 12px; }
.todo > .i { width: 18px; height: 18px; color: var(--faint); }
.todo-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); flex: none; }
.todo-icon .i { width: 18px; height: 18px; }
.todo-icon.amber { background: #FFF3C4; color: #A07400; }
.todo-icon.blue { background: var(--primary-soft); color: var(--primary); }
.todo-icon.red { background: #FDE8EE; color: #B4234B; }
.map-card .map-medium { border-radius: 16px; overflow: hidden; }
@media (min-width: 1024px) { .map-card .map-medium { height: 340px; } }
.map-legend { display: flex; gap: 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot-pro, .dot-mission { width: 10px; height: 10px; border-radius: 50%; }
.dot-pro { background: var(--primary); }
.dot-mission { background: var(--accent); }
.top-list { list-style: none; display: grid; gap: 10px; }
.top-list li { display: flex; align-items: center; gap: 10px; }
.rank { width: 22px; font-family: var(--display); font-weight: 800; color: var(--faint); text-align: center; }
.top-list li:first-child .rank { color: var(--accent); }
.top-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.top-text small { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.top-text small .i { width: 12px; height: 12px; color: #E0A800; }
.top-value { display: grid; text-align: right; line-height: 1.3; }
.top-value small { color: var(--muted); font-size: 11.5px; }
.table-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.admin-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 750; padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background .15s; }
.admin-table tbody tr:hover { background: var(--primary-softer); }
.admin-table .num { text-align: right; }
.admin-table td.num small { display: block; color: var(--muted); font-size: 11px; }
.row-link { display: flex; align-items: center; gap: 10px; }
.row-link span { display: grid; line-height: 1.3; }
.row-link small { color: var(--muted); font-size: 11.5px; }
.admin-toolbar { display: grid; gap: 12px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search-field .i { width: 18px; height: 18px; color: var(--muted); }
.search-field input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; min-width: 0; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 750; white-space: nowrap; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.filter-chip span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--sunken); display: inline-grid; place-items: center; font-size: 11px; }
.filter-chip.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip.selected span { background: rgba(255, 255, 255, .2); }
.account-list { display: grid; gap: 12px; }
@media (min-width: 1100px) { .account-list { grid-template-columns: 1fr 1fr; } }
.account { display: grid; gap: 12px; align-content: start; padding: 16px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); box-shadow: var(--shadow-1); min-width: 0; }
.account.is-suspended { background: repeating-linear-gradient(135deg, #FFFFFF 0 12px, #FBF6F7 12px 24px); }
.account-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.account-id { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.account-id .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.account-pro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface-2); }
@media (min-width: 640px) { .account-pro { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kv { display: grid; gap: 2px; min-width: 0; align-content: start; }
.kv small { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.kv strong { font-size: 13.5px; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 4px; }
.kv strong .i { width: 13px; height: 13px; color: #E0A800; }
.kv strong.bad { color: var(--danger); }
.kv .chip { margin-top: 2px; }
.account-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.account-foot .small { display: inline-flex; align-items: center; gap: 5px; }
.account-foot .small .i { width: 14px; height: 14px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Accueil : arguments de confiance */
.welcome-trust { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 760px) { .welcome-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .welcome-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid rgba(15, 23, 42, .06); box-shadow: var(--shadow-1); }
.trust-card > .i { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 13px; background: var(--primary-soft); color: var(--primary); }
.trust-card h3 { font-family: var(--display); font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.trust-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.radius-picker .label { margin-top: 4px; }
.radius-picker { margin-bottom: 6px; }

/* Paiement par carte (Stripe) et compte créé à la réservation */
.card-form { min-height: 120px; padding: 4px 0 6px; }
.card-form-loading { display: flex; align-items: center; gap: 8px; min-height: 110px; justify-content: center; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; }
.card-form-loading .i { width: 18px; height: 18px; }
.account-card .card-head .link { font-weight: 700; }
.pay-card .card-head { margin-bottom: 8px; }
.sheet-pay-card .sheet-body { min-height: 260px; }
.strip-chip { text-decoration: none; transition: transform .25s var(--ease-spring), box-shadow .2s; }
.strip-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }

/* ---------------------------------------------------------------- Messagerie, signalements, fiche pro */
.chat-card .card-head { margin-bottom: 6px; }
.chat-thread { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; padding: 6px 2px 10px; scroll-behavior: smooth; }
.chat-empty { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.chat-empty .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 18px; display: grid; gap: 3px; animation: rise .35s var(--ease-out) both; }
.bubble p { font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.bubble small { font-size: 11px; opacity: .72; }
.bubble.mine { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.bubble.theirs { align-self: flex-start; background: var(--sunken); color: var(--ink); border-bottom-left-radius: 6px; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding-top: 10px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 14px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 15px; line-height: 1.35; outline: 0; transition: border-color .2s, box-shadow .2s; }
.chat-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.icon-btn.send { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; flex: none; }
.icon-btn.send .i { width: 18px; height: 18px; }
.dispute { display: grid; gap: 8px; }
.dispute .note { margin-top: 0; }
.report-btn { justify-self: start; color: var(--ink-2); }
.report-btn .i { color: var(--danger); }
.report-open { border-color: #F6C6D3; }
.pro-card { position: relative; }
.pro-card-more { position: absolute; top: 0; right: 0; font-weight: 700; }
.pro-sheet { display: grid; gap: 12px; }
.pro-sheet-head { display: flex; gap: 14px; align-items: center; }
.pro-sheet-head > div { display: grid; gap: 3px; }
.pro-sheet-head strong { font-family: var(--display); font-size: 22px; }
.pro-sheet-bio { font-size: 14px; color: var(--ink-2); line-height: 1.5; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.review-list { list-style: none; display: grid; gap: 10px; }
.review-list li { display: grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-list p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }

/* ---------------------------------------------------------------- HLPR AI */
.ai-mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 60%, var(--accent) 120%); box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6); }
.ai-mark .i { width: 18px; height: 18px; }
.ai-entry { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-l); background: linear-gradient(135deg, #fff 0%, var(--primary-softer) 55%, #FFF4EF 100%); border: 1px solid var(--primary-soft); box-shadow: var(--shadow-1); }
.ai-entry-head { display: flex; gap: 12px; align-items: flex-start; }
.ai-entry-head > span:last-child { display: grid; gap: 3px; }
.ai-entry-head strong { font-family: var(--font); font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.ai-entry-head small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.ai-entry-row { display: flex; gap: 8px; align-items: center; }
.ai-entry-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 24px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 15px; }
.ai-entry-row .icon-btn { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.hero-copy .ai-entry { margin: 4px 0 2px; }

.diagnostic { max-width: 720px; }
.diagnostic .booking-top { justify-content: space-between; }
.ai-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.ai-title .i { width: 18px; height: 18px; color: var(--primary); }
.ai-thread { display: flex; flex-direction: column; gap: 14px; }
.ai-thread > * { scroll-margin-top: 76px; }
.ai-user { max-width: 86%; }
.ai-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.ai-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .5); }
.ai-card { display: grid; gap: 14px; padding: 16px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ai-head { display: flex; align-items: center; gap: 10px; }
.ai-head .chip { margin-left: auto; }
.ai-reply { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.ai-safety { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.ai-safety > span { display: grid; gap: 3px; }
.ai-safety .i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.ai-safety.warn { background: #FFF8E1; border: 1px solid #F2DC8C; color: #5C4300; }
.ai-safety.warn .i { color: #A07400; }
.ai-safety.danger { background: var(--danger-soft); border: 1.5px solid #F8B4B4; color: #7F1D1D; animation: rise .35s var(--ease-out) both, shake .5s .35s; }
.ai-safety.danger .i { color: var(--danger); }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--sunken); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--primary), #7C3AED); transform-origin: left; animation: growX .8s var(--ease-out) both; }
.ai-options { display: grid; gap: 12px; }
.ai-option { position: relative; display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); }
.ai-option h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ai-option h3 > .i { width: 20px; height: 20px; color: var(--accent); }
.ai-option .btn { margin-top: 4px; }
.ai-kv { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
.ai-kv li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.ai-kv small { color: var(--muted); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--accent); }
.ai-steps summary { cursor: pointer; font-weight: 700; color: var(--primary); font-size: 14px; }
.ai-steps ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.ai-question { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--primary-softer); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.ai-question .i { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 2px; }
.ai-thinking .ai-mark { animation: bootPulse 1.4s ease-in-out infinite; }
.dots-anim { display: inline-flex; gap: 3px; margin-left: 4px; }
.dots-anim i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: dotPulse 1s ease-in-out infinite; }
.dots-anim i:nth-child(2) { animation-delay: .15s; }
.dots-anim i:nth-child(3) { animation-delay: .3s; }
.ai-composer { position: sticky; bottom: calc(10px + var(--safe-bottom)); z-index: 5; display: grid; gap: 8px; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ai-composer .fineprint { margin: 0 6px; }
.ai-input { display: flex; gap: 6px; align-items: flex-end; }
.ai-input textarea { flex: 1; min-width: 0; resize: none; min-height: 44px; max-height: 160px; padding: 11px 14px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 15px; line-height: 1.35; }
.ai-input .icon-btn { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.ai-input .icon-btn.listening { background: var(--danger); color: #fff; border-color: var(--danger); animation: heartbeat 1.2s ease-in-out infinite; }
.ai-input .icon-btn.send:disabled { opacity: .5; }
.ai-pending { display: flex; gap: 8px; padding: 2px 4px; }
.ai-pending-img { position: relative; }
.ai-pending-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; display: block; }
.ai-pending-img button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.ai-pending-img button .i { width: 14px; height: 14px; }
.ai-prefill { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-softer), #F5F0FF); border: 1px solid var(--primary-soft); font-size: 13.5px; line-height: 1.4; }
.ai-prefill > span { display: grid; gap: 2px; }
.ai-prefill .i { width: 20px; height: 20px; color: var(--primary); flex: none; }
@media (prefers-reduced-motion: reduce) { .ai-safety.danger, .ai-thinking .ai-mark, .dots-anim i, .ai-input .icon-btn.listening, .meter i { animation: none; } }

/* ---------------------------------------------------------------- Photos de profil */
.avatar.photo { background: var(--sunken); overflow: hidden; padding: 0; }
.avatar img, .pin-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.pin-avatar { overflow: hidden; }
.avatar-edit-wrap { position: relative; flex: none; }
.avatar-edit { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--surface); background: var(--primary); color: #fff; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .2s var(--ease-spring); }
.avatar-edit:hover { transform: scale(1.08); }
.avatar-edit .i { width: 16px; height: 16px; }
.avatar-edit.busy { animation: bootPulse 1s ease-in-out infinite; pointer-events: none; }
.remove-photo { justify-self: start; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.remove-photo .i { width: 14px; height: 14px; }
button.banner { width: 100%; text-align: left; font: inherit; cursor: pointer; }

/* ---------------------------------------------------------------- Offres comparées (client) */
.offers-block { display: grid; gap: 12px; }
.bid-list { display: grid; gap: 12px; }
.bid-card { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-l); background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-1); animation: rise .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.bid-card:first-child { border-color: var(--primary-soft); box-shadow: 0 0 0 4px var(--primary-softer), var(--shadow-1); }
.bid-card.unavailable { opacity: .7; }
.bid-head { display: flex; gap: 12px; align-items: center; }
.bid-id { display: grid; gap: 2px; min-width: 0; flex: 1; }
.bid-id strong { font-size: 16px; }
.bid-id small { font-size: 12.5px; }
.bid-verified { align-self: flex-start; }
.bid-card .offer-actions .btn-grow { flex: 1; }
.offer-msg { margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; line-height: 1.45; border-left: 3px solid var(--primary-soft); }
.offers-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 16px; border-radius: var(--radius-l); background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; }
.radar.small { width: 84px; height: 84px; margin: 0; }
.radar.small i { inset: 24px; }
.radar.small i .i { width: 18px; height: 18px; }
.auto-card { display: grid; gap: 12px; }
.switch-line { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switch-line input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.switch-line span { display: grid; gap: 2px; }
.switch-line small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.seg-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 16px; background: var(--sunken); }
.seg-row .seg { min-height: 38px; padding: 0 12px; font-size: 13px; }

/* ---------------------------------------------------------------- Offres (pro) */
.offer-competition { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.offer-competition .i { width: 15px; height: 15px; color: var(--accent); vertical-align: -3px; margin-right: 2px; }
.pending-offer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: inherit; box-shadow: var(--shadow-1); }
.pending-offer > span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.pending-offer small { color: var(--muted); font-size: 12.5px; }
.pending-amount { font-family: var(--display); color: var(--primary-ink); white-space: nowrap; }

/* ---------------------------------------------------------------- Choix du pro à la réservation */
.choice-card { display: grid; gap: 12px; }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-option { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease-spring); }
.choice-option .i { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }
.choice-option span { display: grid; gap: 3px; }
.choice-option small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice-option.selected { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.choice-option:active { transform: scale(.98); }
.terms-line { align-items: flex-start; font-weight: 500; font-size: 13.5px; }
.terms-line span { display: block; }

/* ---------------------------------------------------------------- Fiche pro */
.pro-facts { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.pro-facts li { display: flex; gap: 8px; align-items: center; }
.pro-facts .i { width: 16px; height: 16px; color: var(--success); flex: none; }
.rating-bars { display: grid; gap: 6px; }
.rating-bar { display: grid; grid-template-columns: 44px 1fr 36px; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.rating-bar > span:first-child { display: inline-flex; align-items: center; gap: 3px; }
.rating-bar .i { width: 13px; height: 13px; color: #F2B400; fill: #F2B400; }
.rating-bar small { color: var(--muted); text-align: right; }
.rating-track { height: 8px; border-radius: 8px; background: var(--sunken); overflow: hidden; }
.rating-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #F2B400, #FFCF4D); transform-origin: left; animation: growX .8s var(--ease-out) both; }
.review-who { display: grid; gap: 1px; flex: 1; min-width: 0; }
.review-top .stars { flex: none; white-space: nowrap; }
.verified-review { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--success-ink); }
.verified-review .i { width: 13px; height: 13px; }
.pro-page { max-width: 720px; }

/* ---------------------------------------------------------------- Pages légales et recrutement */
.legal-page { max-width: 820px; }
.legal { display: grid; gap: 12px; line-height: 1.6; font-size: 15px; color: var(--ink-2); }
.legal h2 { font-size: 17px; color: var(--ink); margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-missing { color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 0 6px; font-size: 13px; font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 18px 0 6px; font-size: 13px; }
.legal-links a { color: var(--muted); font-weight: 600; }
.legal-links a:hover { color: var(--primary); }
.become-pro { max-width: 980px; }
.become-hero .lead { max-width: 60ch; }
.become-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; }
.perk-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.perk { display: grid; gap: 6px; align-content: start; }
.perk p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.perk-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.become-example { display: grid; gap: 10px; }
.example-rows { display: grid; gap: 8px; }
.example-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.example-rows .total { padding-top: 8px; border-top: 1px dashed var(--line-2); font-weight: 800; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 56px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.steps span { color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 8px; }
.faq details { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* ---------------------------------------------------------------- Lancement et réglages (admin) */
.launch-card { display: grid; gap: 14px; border: 1.5px solid var(--primary-soft); }
.launch-card h2 { display: inline-flex; align-items: center; gap: 8px; }
.launch-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .launch-grid { grid-template-columns: 1.4fr 1fr; } }
.launch-list { display: grid; gap: 6px; }
.launch-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: inherit; }
.launch-item > span:nth-child(2) { display: grid; gap: 1px; flex: 1; }
.launch-item small { color: var(--muted); font-size: 12.5px; }
.launch-item > .i { width: 16px; height: 16px; color: var(--faint); }
.check-dot { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.check-dot .i { width: 15px; height: 15px; }
.check-dot.ok { background: var(--success-soft); color: var(--success-ink); }
.check-dot.todo { background: var(--accent-soft); color: var(--accent-ink); }
.launch-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.launch-numbers div { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--primary-softer); }
.launch-numbers strong { font-family: var(--display); font-size: 26px; color: var(--primary-ink); }
.launch-numbers small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.settings-page .card { display: grid; gap: 12px; }
.settings-grid { display: grid; gap: 4px 14px; }
@media (min-width: 720px) { .settings-grid { grid-template-columns: 1fr 1fr; } }
.bid-card .offer-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bid-card .offer-actions [data-action="choose-offer"] { grid-column: 1 / -1; order: -1; min-height: 48px; }
@media (min-width: 640px) {
  .bid-card .offer-actions { grid-template-columns: auto auto 1fr; }
  .bid-card .offer-actions [data-action="choose-offer"] { grid-column: auto; order: 0; min-height: 0; }
}
.offers-block .block-head { flex-wrap: wrap; gap: 4px 12px; }
.launch-banner { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--primary-soft); background: linear-gradient(135deg, #fff, var(--primary-softer)); }
.launch-banner > div { display: grid; gap: 6px; }
.launch-banner p { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tabbar .tab-icon { max-width: 100%; }
.settings-page .card > * { min-width: 0; }
.settings-page .card-head { flex-wrap: wrap; gap: 6px 10px; }
.settings-page .offer-actions { flex-wrap: wrap; }

/* ---------------------------------------------------------------- Volet écolo */
:root { --eco: #2F7D4F; --eco-ink: #1F5C38; --eco-soft: #E5F3E8; --eco-cream: #F6F1E7; }
.eco-list { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; background: var(--eco-soft); color: var(--eco-ink); font-size: 12px; font-weight: 750; line-height: 1.3; }
.eco-chip .i { width: 13px; height: 13px; color: var(--eco); }
.eco-line { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px; border-radius: 16px; background: var(--eco-soft); }
.eco-line input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--eco); }
.eco-line span { display: grid; gap: 2px; }
.eco-line strong { color: var(--eco-ink); display: inline-flex; align-items: center; gap: 6px; }
.eco-line strong .i { width: 16px; height: 16px; color: var(--eco); }
.eco-line small { color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.eco-toggles { display: grid; gap: 8px; }
.eco-toggle { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.eco-toggle .i { width: 18px; height: 18px; color: var(--faint); flex: none; margin-top: 2px; }
.eco-toggle span { display: grid; gap: 2px; }
.eco-toggle small { color: var(--muted); font-size: 12.5px; }
.eco-toggle.on { border-color: var(--eco); background: var(--eco-soft); }
.eco-toggle.on .i { color: var(--eco); }
.eco-section { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--eco-cream), var(--eco-soft)); }
.eco-section .section-title { color: var(--eco-ink); }
.eco-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.eco-card { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .75); }
.eco-card .i { width: 26px; height: 26px; color: var(--eco); }
.eco-card p { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.ai-eco { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--eco-soft); color: var(--eco-ink); font-size: 14px; line-height: 1.45; }
.ai-eco .i { width: 18px; height: 18px; color: var(--eco); flex: none; margin-top: 2px; }
.ai-eco strong { display: block; }
.card-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.card-head h2 > .i { color: var(--eco); }
.eco-section .section-title { display: flex; align-items: center; gap: 10px; }
.eco-section .section-title .i { width: 26px; height: 26px; color: var(--eco); }

/* Réglages : sous-section (comptes de démonstration dans la carte « Mode démonstration »). */
.settings-sub { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.settings-sub h3 { margin: 0; font-size: 1rem; }

/* Vitrine de démonstration : profils fictifs toujours signalés. */
.demo-note { margin: 0 0 12px; }
.verified-review.demo { color: #A07400; }
.settings-sub .segmented .seg { font-size: 13.5px; }

/* Pages par service : liens vers les services, pros proches. */
.service-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.service-links .svc-chip { text-decoration: none; color: inherit; }
.service-page .pro-facts { margin: 0; }
.pro-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 12px 14px; }
.pro-line span { display: grid; gap: 2px; min-width: 0; }
.pro-line small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty .empty-title { margin: 0; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.pro-sheet-head .pro-sheet-name { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.2; }

/* Aperçu du profil public : cadre « ce que voient les autres ». */
.profile-public-link { justify-self: start; margin-top: 4px; }
.preview-frame { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-l); border: 2px dashed var(--line-2); background: rgba(255, 255, 255, .5); }
.preview-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.preview-label .i { width: 15px; height: 15px; }
.preview-missing { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.preview-client { display: grid; gap: 12px; }
.preview-status .pro-facts { margin: 0; }

/* Réalisations des pros : grille de vignettes, bande dans les offres, visionneuse. */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-thumb { position: relative; display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--sunken); cursor: zoom-in; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease-spring); }
.photo-thumb:hover img { transform: scale(1.04); }
.photo-thumb:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.photo-thumb[data-action] { cursor: pointer; }
.photo-caption { position: absolute; inset: auto 0 0; padding: 14px 6px 5px; font-size: 11px; font-weight: 650; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(15, 23, 42, .72)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-strip { display: flex; align-items: center; gap: 6px; }
.photo-thumb.small { width: 64px; height: 64px; border-radius: 10px; flex: none; }
.photo-more { font-size: 13px; font-weight: 750; color: var(--muted); padding: 0 4px; }
.photo-view { margin: 0; display: grid; gap: 8px; }
.photo-view img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; background: var(--sunken); }
.photo-view figcaption { font-size: 13px; color: var(--muted); }
.sheet-photo .sheet-body { display: grid; gap: 12px; }

/* Volet écolo : preuve par les clients, feuille sur la carte, gestes écolo, charte. */
.eco-chip.trust { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }
.pin-body { position: relative; }
.pin-eco { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--eco); color: #fff;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.pin-eco .i { width: 11px; height: 11px; }
.banner.eco { background: var(--eco-soft); color: var(--eco-ink); }
.eco-tips { background: linear-gradient(180deg, #F2FBF4, var(--surface)); }
.eco-tips .pro-facts .i, .eco-check .card-head .i, .perk-icon.eco { color: var(--eco); }
.perk-icon.eco { background: var(--eco-soft); }
.eco-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; }
.eco-check .eco-list { margin: 2px 0; }
.eco-check .tip-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; }
.eco-check .tip-chip .i { width: 16px; height: 16px; }

/* Astuces & tutos (base de connaissances « Je le fais moi-même »). */
.guides-filters { display: grid; gap: 10px; }
.guide-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; text-decoration: none; color: inherit; }
.guide-card-text { display: grid; gap: 4px; min-width: 0; }
.guide-card-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-meta > span { white-space: nowrap; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.guide-meta .i { width: 14px; height: 14px; vertical-align: -2px; }
.guide-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; line-height: 1.5; }
.guide-steps li::marker { font-weight: 800; color: var(--primary); }
.guide-safety { background: #FFF8E1; border-color: #F2DC8C; }
.guide-safety .pro-facts .i, .guide-safety .card-head .i { color: #A07400; }
.guide-stop .pro-facts .i, .guide-stop .card-head .i { color: #B42318; }
.guide-cta { display: grid; gap: 10px; background: var(--primary-soft); }
.guide-links { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0; }
.footer-links .link { display: inline-flex; align-items: center; gap: 6px; }
/* HLPR AI : précautions, premiers gestes, quand s'arrêter. */
.ai-precautions, .ai-stop { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; font-size: 13px; margin: 8px 0; }
.ai-precautions { background: #FFF8E1; }
.ai-precautions .i { color: #A07400; flex: none; }
.ai-stop { background: #FDECEC; }
.ai-stop .i { color: #B42318; flex: none; }
.ai-precautions ul, .ai-stop ul { margin: 4px 0 0; padding-left: 16px; display: grid; gap: 3px; }
.ai-precautions strong, .ai-stop strong { display: block; }
.ai-option.first-steps { border-style: dashed; }

/* Favoris, RC Pro, aide, suppression du compte. */
.fav-btn { margin-top: 12px; }
.fav-btn[aria-pressed="true"] .i { fill: currentColor; }
.fav-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.fav-who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.fav-who span { display: grid; min-width: 0; }
.danger-zone { border-color: #F5C2C0; }
.danger-zone h2 { color: #B42318; }
.help-page .block-head h2 { display: flex; align-items: center; gap: 8px; }
.insurance-file { display: block; margin-top: 4px; }
.guide-cta > * { min-width: 0; }
.guide-cta .offer-actions { flex-wrap: wrap; }

/* ---------------------------------------------------------------- Vert HLPR (01/10/2026)
   Le vert devient la seconde couleur de la marque, à côté du bleu : écologie, réparation, local. */
:root {
  --eco: #12A150; --eco-ink: #0B6B38; --eco-soft: #DDF7E6; --eco-cream: #F1FBF4;
  --leaf: #22C55E; --leaf-deep: #047857; --lime-pop: #A3E635;
  --eco-gradient: linear-gradient(135deg, #047857 0%, #12A150 45%, #22C55E 75%, #84CC16 100%);
}
body::before {
  background:
    radial-gradient(38% 32% at 88% 6%, rgba(147, 197, 253, .35), transparent 70%),
    radial-gradient(36% 32% at 2% 96%, rgba(134, 239, 172, .30), transparent 70%),
    radial-gradient(30% 26% at 98% 82%, rgba(190, 242, 100, .22), transparent 70%),
    radial-gradient(26% 22% at 6% 18%, rgba(167, 243, 208, .28), transparent 70%);
}
/* Surligneur du titre : vert feuille. */
.hl { background-image: linear-gradient(100deg, #A7F3C8, #DDFBE8); }
/* Fin liseré bleu → vert sous la barre du haut. */
.topbar { border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, #2563EB, #12A150, #84CC16) 1; }
/* Bouton écolo. */
.btn-eco { background: var(--eco-gradient); color: #fff; box-shadow: 0 12px 26px -10px rgba(18, 161, 80, .65); }
.btn-eco:hover { filter: brightness(1.05); }
.btn-eco .i { color: #fff; }
/* Puces écolo plus franches. */
.eco-chip { background: var(--eco-soft); color: var(--eco-ink); border: 1px solid rgba(18, 161, 80, .18); }
.eco-chip.trust { background: var(--eco); color: #fff; border-color: transparent; }
.eco-chip.trust .i { color: #fff; }
.live-dot { background: var(--leaf); }
/* Rangée de promesses écolo sous le titre de l'accueil. */
.eco-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; font-size: 13px; font-weight: 750;
  background: var(--eco-soft); color: var(--eco-ink); border: 1px solid rgba(18, 161, 80, .2); }
.eco-pill .i { width: 15px; height: 15px; color: var(--eco); }
/* Bande écolo de l'accueil : dégradé vert vif, texte blanc, feuilles en filigrane. */
.eco-section { position: relative; overflow: hidden; color: #fff; background: var(--eco-gradient); box-shadow: 0 24px 60px -24px rgba(4, 120, 87, .55); padding: 26px 22px; }
.eco-section::before, .eco-section::after {
  content: ""; position: absolute; pointer-events: none; opacity: .16; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eco-section::before { width: 220px; height: 220px; right: -40px; top: -50px; transform: rotate(18deg); }
.eco-section::after { width: 140px; height: 140px; left: -30px; bottom: -40px; transform: rotate(-35deg); }
.eco-section .section-title, .eco-section .section-title .i { color: #fff; }
.eco-section .eco-lead { color: rgba(255, 255, 255, .92); font-size: 15.5px; max-width: 60ch; position: relative; }
.eco-section .eco-card { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px); position: relative; }
.eco-section .eco-card .i { color: #fff; }
.eco-section .eco-card h3 { color: #fff; }
.eco-section .eco-card p { color: rgba(255, 255, 255, .9); }
.eco-section .eco-card .link { color: #fff; text-decoration: underline; }
.eco-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.eco-actions .btn-white { background: #fff; color: var(--eco-ink); }
.eco-actions .btn-outline-white { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.eco-actions .btn .i { color: inherit; }
/* Encarts écolo des pages (service, tutos, assistant) plus visibles. */
.eco-tips { background: linear-gradient(160deg, #E6FAEE, #FFFFFF 70%); border-color: rgba(18, 161, 80, .25); }
.ai-eco { background: linear-gradient(135deg, #DDF7E6, #F1FBF4); border: 1px solid rgba(18, 161, 80, .2); }
.banner.eco { background: var(--eco-gradient); color: #fff; }
.banner.eco strong, .banner.eco .i { color: #fff; }
.perk-icon.eco { background: var(--eco-gradient); color: #fff; }
/* Pied de page de l'accueil : bandeau d'engagement. */
.eco-footer-band { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--eco-soft); color: var(--eco-ink); font-weight: 700; font-size: 14px; }
.eco-footer-band .i { color: var(--eco); }
@media (max-width: 480px) { .eco-pill { font-size: 12.5px; padding: 5px 10px 5px 8px; gap: 5px; } .eco-pills { gap: 6px; } }

/* ---------------------------------------------------------------- Illustrations des tutos (SVG animés) */
.ill { display: block; width: 100%; height: auto; overflow: hidden; --ill-bg: #E7F8EE; --ill-ink: #0F172A; }
.ill.tone-water { --ill-bg: #E3F0FF; } .ill.tone-warm { --ill-bg: #FFEDE3; } .ill.tone-sun { --ill-bg: #FFF6D6; }
.ill.tone-blue { --ill-bg: #E8EFFD; } .ill.tone-rose { --ill-bg: #FDE8EF; } .ill.tone-eco { --ill-bg: #DDF7E6; }
.ill .sf { fill: var(--ill-bg); }
.ill .ln, .ill .ln-w, .ill .wa-l, .ill .ac-l, .ill .ec-l, .ill .wm-l, .ill .yl-l, .ill .sf-l, .ill .fl-l { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln { stroke: var(--ill-ink); }
.ill .fl { fill: #fff; }
.ill .ln-f { fill: var(--ill-ink); }
.ill .ln-w { stroke: #fff; stroke-width: 2.6; }
.ill .wa { fill: #60A5FA; } .ill .wa-l { stroke: #60A5FA; } .ill .wa-o { fill: #fff; stroke: #93C5FD; stroke-width: 2.4; }
.ill .ac { fill: var(--primary); } .ill .ac-l { stroke: var(--primary); }
.ill .ec { fill: var(--eco, #12A150); } .ill .ec-l { stroke: var(--eco, #12A150); stroke-width: 4; }
.ill .wm { fill: var(--accent); } .ill .wm-l { stroke: var(--accent); }
.ill .yl { fill: #FACC15; } .ill .yl-l { stroke: #F59E0B; }
.ill .sf-l { stroke: #94A3B8; } .ill .fl-l { stroke: #fff; stroke-width: 5; } .ill .fl-o { fill: none; }
.ill .ln.fl { fill: #fff; } .ill .ln.yl { fill: #FACC15; } .ill .ln.ac { fill: var(--primary); } .ill .ln.wm { fill: var(--accent); }
.ill .ln.wa { fill: #60A5FA; } .ill .ln.sf { fill: var(--ill-bg); } .ill .ln.fl-o { fill: none; }

/* Animations : douces, en boucle. */
@keyframes ill-drip { 0% { transform: translateY(-6px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(22px); opacity: 1; } 80%, 100% { transform: translateY(26px); opacity: 0; } }
@keyframes ill-ripple { 0%, 65% { transform: scale(.4); opacity: 0; } 75% { opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes ill-spin { to { transform: rotate(360deg); } }
@keyframes ill-bubble { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
@keyframes ill-wave { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes ill-wrench { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes ill-rain { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes ill-heat { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
@keyframes ill-flame { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(.92, 1.08); } 60% { transform: scale(1.06, .94); } }
@keyframes ill-level { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes ill-zap { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 10% { transform: scale(1.18) rotate(-6deg); } 20% { transform: scale(1); } 50% { opacity: .55; } }
@keyframes ill-rays { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ill-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(250, 204, 21, 0)); } 50% { filter: drop-shadow(0 0 10px rgba(250, 204, 21, .85)); } }
@keyframes ill-flip { 0%, 40% { transform: scaleY(1); } 50%, 90% { transform: scaleY(-1); } 100% { transform: scaleY(1); } }
@keyframes ill-press { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(.9); } }
@keyframes ill-wifi { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes ill-door { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.72); } }
@keyframes ill-turn { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes ill-shine { 0%, 100% { transform: translateX(-10px); opacity: 0; } 40% { opacity: .9; } 70% { transform: translateX(30px); opacity: 0; } }
@keyframes ill-wind { 0% { transform: translateX(-8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateX(10px); opacity: 0; } }
@keyframes ill-paint { 0% { transform: scaleY(0); } 60%, 85% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes ill-roll { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(34px); } }
@keyframes ill-shake { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(1px, -1px); } 75% { transform: translate(-1px, 1px); } }
@keyframes ill-dust { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(10px, 14px); opacity: 0; } }
@keyframes ill-swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes ill-sweep { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(14deg); } }
@keyframes ill-sparkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .2; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@keyframes ill-drop-in { 0% { transform: translateY(-18px); opacity: 0; } 30%, 80% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
@keyframes ill-mist { 0% { transform: translateX(-6px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(14px) scale(1.1); opacity: 0; } }
@keyframes ill-scrub { 0%, 100% { transform: translateX(-6px) rotate(-3deg); } 50% { transform: translateX(6px) rotate(3deg); } }
@keyframes ill-shrink { 0%, 15% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(0); opacity: 0; } }
@keyframes ill-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes ill-snip { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
@keyframes ill-fall { 0% { transform: translate(0, -6px) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(-8px, 40px) rotate(90deg); opacity: 0; } }
@keyframes ill-wiggle { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes ill-walk { 0%, 100% { transform: translateX(-26px); } 50% { transform: translateX(10px); } }
@keyframes ill-needle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(90deg); } }
@keyframes ill-pop { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.08); } }
@keyframes ill-check { 0% { stroke-dashoffset: 60; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes ill-blink { 0%, 45%, 100% { opacity: 1; } 50%, 95% { opacity: .2; } }
@keyframes ill-lock { 0%, 30%, 100% { transform: translateY(0); } 50%, 80% { transform: translateY(-8px); } }

.ill .a-drip { animation: ill-drip 2.2s ease-in infinite; }
.ill .a-ripple { animation: ill-ripple 2.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.ill .a-spin { animation: ill-spin 4s linear infinite; }
.ill .a-bubble { animation: ill-bubble 2.6s ease-out infinite; }
.ill .d2 { animation-delay: .7s; } .ill .d3 { animation-delay: 1.4s; }
.ill .a-wave { animation: ill-wave 2.4s ease-in-out infinite; }
.ill .a-wrench { animation: ill-wrench 1.8s ease-in-out infinite; }
.ill .a-rain { animation: ill-rain 1.3s linear infinite; }
.ill .a-heat { animation: ill-heat 2.4s ease-out infinite; }
.ill .a-flame { animation: ill-flame 1.1s ease-in-out infinite; }
.ill .a-level { animation: ill-level 3.6s ease-in-out infinite; }
.ill .a-zap { animation: ill-zap 2s ease-in-out infinite; }
.ill .a-rays { animation: ill-rays 2.2s ease-in-out infinite; }
.ill .a-glow { animation: ill-glow 2.2s ease-in-out infinite; }
.ill .a-flip { animation: ill-flip 3.4s var(--ease-spring) infinite; }
.ill .a-press { animation: ill-press 2.4s ease-in-out infinite; }
.ill .a-wifi { animation: ill-wifi 1.6s ease-in-out infinite; }
.ill .a-door { animation: ill-door 3.2s ease-in-out infinite; }
.ill .a-turn { animation: ill-turn 2.6s ease-in-out infinite; }
.ill .a-shine { animation: ill-shine 3.4s ease-in-out infinite; }
.ill .a-wind { animation: ill-wind 2.2s ease-out infinite; }
.ill .a-paint { animation: ill-paint 4s var(--ease-out) infinite; }
.ill .a-roll { animation: ill-roll 4s ease-in-out infinite; }
.ill .a-shake { animation: ill-shake .25s linear infinite; }
.ill .a-dust { animation: ill-dust 1.2s ease-out infinite; }
.ill .a-swing { animation: ill-swing 3s ease-in-out infinite; }
.ill .a-sweep { animation: ill-sweep 2.4s ease-in-out infinite; }
.ill .a-sparkle { animation: ill-sparkle 2.2s ease-in-out infinite; }
.ill .a-drop-in { animation: ill-drop-in 3.2s var(--ease-spring) infinite; }
.ill .a-mist { animation: ill-mist 1.6s ease-out infinite; }
.ill .a-scrub { animation: ill-scrub 1.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ill .a-shrink { animation: ill-shrink 3.6s ease-in-out infinite; }
.ill .a-sway { animation: ill-sway 3.2s ease-in-out infinite; }
.ill .a-snip { animation: ill-snip .9s ease-in-out infinite; }
.ill .a-fall { animation: ill-fall 3.4s ease-in infinite; }
.ill .a-wiggle { animation: ill-wiggle 1.4s ease-in-out infinite; }
.ill .a-walk { animation: ill-walk 6s ease-in-out infinite; }
.ill .a-needle { animation: ill-needle 3.2s ease-in-out infinite; }
.ill .a-pop { animation: ill-pop 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ill .a-check { stroke-dasharray: 60; animation: ill-check 2.6s var(--ease-out) infinite; }
.ill .a-blink { animation: ill-blink 1.6s steps(1) infinite; }
.ill .a-lock { animation: ill-lock 3s ease-in-out infinite; }
.ill .a-sun { animation: ill-spin 18s linear infinite; }
.ill .a-snow { animation: ill-spin 8s linear infinite; }

/* Vignettes : animées au survol ou au focus (une liste entière qui bouge serait fatigante). */
.ill-thumb [class*="a-"], .ill-tile [class*="a-"] { animation-play-state: paused; }
a:hover .ill-wrap .ill [class*="a-"], a:focus-visible .ill-wrap .ill [class*="a-"],
button:hover .ill-wrap .ill [class*="a-"], button:focus-visible .ill-wrap .ill [class*="a-"], .ill-wrap.live .ill [class*="a-"] { animation-play-state: running; }
@media (hover: none) { .ill-tile [class*="a-"] { animation-play-state: running; } }
@media (prefers-reduced-motion: reduce) { .ill [class*="a-"] { animation: none !important; } }

.ill-wrap { display: grid; place-items: center; flex: none; }
.guide-card .ill-wrap { width: 72px; }
.guide-hero { display: grid; gap: 14px; align-items: center; }
.guide-hero .ill-wrap { width: min(240px, 68vw); margin: 0 auto; filter: drop-shadow(0 18px 28px rgba(18, 161, 80, .14)); }
@media (min-width: 720px) { .guide-hero { grid-template-columns: 1fr 230px; } .guide-hero .ill-wrap { width: 230px; } }
.guide-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.theme-tile { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 10px 8px 12px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface); color: inherit; font: inherit; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
.theme-tile .ill-wrap { width: 100%; max-width: 116px; }
.theme-tile strong { font-size: 13.5px; line-height: 1.25; }
.theme-tile small { color: var(--muted); font-size: 12px; }
.theme-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: rgba(18, 161, 80, .35); }
.theme-tile.selected { border-color: var(--eco); background: var(--eco-soft); box-shadow: 0 0 0 2px rgba(18, 161, 80, .25); }
.ai-guide-link { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 8px; padding: 8px 12px 8px 8px; border-radius: 16px;
  background: var(--eco-soft); color: var(--eco-ink); text-decoration: none; border: 1px solid rgba(18, 161, 80, .18); }
.ai-guide-link > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; font-size: 14px; }
.ai-guide-link small { font-size: 12px; }
.ai-guide-ill { width: 76px; }
.guides-more { display: grid; justify-items: center; gap: 6px; }
/* Mobile : les thèmes défilent sur une ligne (doigt), les vignettes restent lisibles. */
@media (max-width: 600px) {
  .guide-themes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .guide-themes::-webkit-scrollbar { display: none; }
  .theme-tile { flex: 0 0 128px; scroll-snap-align: start; padding: 8px 8px 10px; }
  .theme-tile .ill-wrap { max-width: 92px; }
  .guide-card .ill-wrap { width: 60px; }
}

/* Démo double écran : l'application dans un cadre de téléphone, sans barre de défilement. */
html.in-frame { scrollbar-width: none; }
html.in-frame::-webkit-scrollbar { display: none; }
.guides-page .block { scroll-margin-top: 76px; }

/* ================================================================ Interface « façon Uber » : carte plein écran + panneau */
/* Barre du haut flottante au-dessus de la carte. */
.shell.map-mode .topbar {
  position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none;
}
.shell.map-mode .topbar > * { pointer-events: auto; }
.shell.map-mode .topbar { border-image: none; border-bottom: 0; }
.shell.map-mode .topbar .brand { padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(15, 23, 42, .12); }
.shell.map-mode .topbar .icon-btn, .shell.map-mode .topbar .sim-pill, .shell.map-mode .topbar .btn { box-shadow: 0 6px 18px rgba(15, 23, 42, .12); }
.shell.map-mode .topbar .topbar-avatar { box-shadow: 0 6px 18px rgba(15, 23, 42, .16); }
.shell.map-mode .view { padding: 0; }
body:has(.shell.map-mode)::before { display: none; }

.page.mapfirst { max-width: none; margin: 0; display: block; position: relative; gap: 0; }
.mapfirst-map { position: fixed; inset: 0; z-index: 0; background: #E9EEF5; }
.mapfirst-map .map { width: 100%; height: 100%; border-radius: 0; }
.mapfirst-map .maplibregl-ctrl-top-right { top: 70px; }

/* Panneau : posé sur la carte, il suit le défilement (téléphone). En haut de page il ne montre qu'un aperçu
   (la carte presque entière) ; sheet.js l'amène ensuite à mi-écran et l'aimante sur trois positions. */
.mapfirst-panel {
  position: relative; z-index: 2; margin-top: calc(100vh - 150px); margin-top: calc(100dvh - 150px); min-height: 54vh; min-height: 54dvh;
  display: grid; gap: 14px; align-content: start;
  padding: 8px 16px calc(112px + var(--safe-bottom));
  background: var(--surface); border-radius: 30px 30px 0 0;
  box-shadow: 0 -14px 44px rgba(15, 23, 42, .16);
  animation: panel-up .5s var(--ease-out) both;
}
.panel-handle { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); justify-self: center; margin: 2px 0 2px; }
@keyframes panel-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.shell.focus-mode .mapfirst-panel { padding-bottom: calc(28px + var(--safe-bottom)); }
.panel-top { display: flex; align-items: center; gap: 12px; }
.panel-top .icon-btn { flex: none; }
.panel-title { font-family: var(--display); font-size: 26px; line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.panel-title.small { font-size: 21px; }

@media (min-width: 1024px) {
  .shell:not(.role-guest) .mapfirst-map { left: 256px; }
  .mapfirst-panel {
    position: sticky; top: 18px; width: 440px; margin: 18px 0 18px 24px; min-height: 0;
    max-height: calc(100vh - 36px); overflow-y: auto; overscroll-behavior: contain;
    padding: 20px 22px 22px; border-radius: 28px; box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  }
  .shell:not(.focus-mode) .mapfirst-panel { margin-top: 18px; }
  .shell.role-guest .mapfirst-panel { top: 84px; margin-top: 84px; max-height: calc(100vh - 102px); }
  .shell.role-guest.map-mode .topbar { pointer-events: auto; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .panel-handle { display: none; }
  .shell.focus-mode .mapfirst-panel { padding-bottom: 22px; }
}

/* Lieu de l'intervention (comme « Où allez-vous ? »). */
.where-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left;
  border-radius: 18px; background: var(--sunken); border: 1.5px solid transparent; color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s var(--ease-spring);
}
.where-row:hover { border-color: var(--line-2); }
.where-row:active { transform: scale(.98); }
.where-row.missing { background: var(--primary-soft); border-color: rgba(37, 99, 235, .25); }
.where-row.compact { padding: 9px 12px; }
.where-dot { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; }
.where-row.missing .where-dot { background: var(--primary); }
.where-dot .i { width: 17px; height: 17px; }
.where-text { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.where-text small { font-size: 12px; color: var(--muted); font-weight: 700; }
.where-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where-edit { font-size: 13px; font-weight: 800; color: var(--primary); flex: none; }
.where-edit .i { width: 18px; height: 18px; }

/* Missions en cours, en tête du panneau. */
.trip-list { display: grid; gap: 8px; }
.trip-banner {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface)); border: 1px solid rgba(37, 99, 235, .18);
}
.trip-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.trip-text small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-banner .chip { flex: none; }

/* Geste 1 : les services, gros boutons. */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.svc {
  display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 6px 12px; min-height: 112px;
  border-radius: 22px; background: var(--tone-bg); color: var(--ink); text-align: center;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px color-mix(in srgb, var(--tone-fg) 70%, transparent); }
.svc:active { transform: scale(.95); }
.svc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: #fff; color: var(--tone-fg); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--tone-fg) 60%, transparent); }
.svc-icon .i { width: 26px; height: 26px; }
.svc strong { font-size: 13.5px; line-height: 1.2; }
.svc small { font-size: 12px; font-weight: 800; color: var(--tone-fg); }

.ai-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(135deg, #F5F3FF, #EEF4FF); border: 1px solid rgba(109, 93, 252, .18);
}
.ai-row > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; }
.ai-row small { color: var(--muted); font-size: 12.5px; }
.ai-row > .i { color: var(--muted); }
.fav-row { display: grid; gap: 8px; }
.fav-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fav-chips::-webkit-scrollbar { display: none; }
.fav-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--sunken); color: var(--ink); font-weight: 750; font-size: 14px; white-space: nowrap; }

.link-row { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 14px; color: var(--primary); justify-self: start; padding: 4px 0; }
.link-row .i { width: 17px; height: 17px; }
.pref-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 16px; text-align: left;
  background: var(--sunken); color: var(--ink);
}
.pref-row > .i { width: 20px; height: 20px; color: var(--primary); flex: none; }
.pref-row.eco > .i { color: var(--eco, #12A150); }
.pref-row > span:nth-child(2) { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.pref-row small { font-size: 12.5px; color: var(--muted); }
.toggle { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line-2); transition: background .25s; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .25); transition: transform .3s var(--ease-spring); }
.toggle.on { background: var(--primary); }
.pref-row.eco .toggle.on { background: var(--eco, #12A150); }
.toggle.on i { transform: translateX(18px); }

/* Geste 3 : le bouton « Réserver », toujours sous le pouce. */
.panel-cta {
  position: sticky; bottom: 0; z-index: 3; display: grid; gap: 6px; justify-items: center;
  margin: 4px -16px calc(-28px - var(--safe-bottom)); padding: 16px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface) 18px);
}
/* Pendant la commande, le panneau monte : l'option recommandée et le bouton restent visibles sans défiler. */
.mapfirst-panel.tall { min-height: 76vh; min-height: 76dvh; }
/* Avec la barre d'onglets, l'aperçu doit dépasser au-dessus d'elle (téléphone seulement : sur ordinateur, le panneau est fixe à gauche). */
@media (max-width: 1023px) {
  .shell:not(.focus-mode) .mapfirst-panel { margin-top: calc(100vh - 220px); margin-top: calc(100dvh - 220px); }
}
/* Accueil public : départ direct de la réservation en trois gestes. */
.quick-book { display: grid; gap: 10px; padding: 16px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.quick-title { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.quick-book .svc { min-height: 104px; }
@media (max-width: 420px) {
  .shell.map-mode .topbar .wordmark .wordmark-spark { width: 24px; height: 24px; }
  .shell.map-mode .topbar .brand { padding: 8px; }
  .shell.map-mode .topbar .btn-small { padding-left: 12px; padding-right: 12px; }
}
.btn-xl { min-height: 58px; font-size: 17px; border-radius: 18px; }
.cta-detail { color: var(--muted); font-weight: 650; }
.cta-detail:disabled { opacity: .5; }
@media (min-width: 1024px) { .panel-cta { margin: 4px -22px -22px; padding: 16px 22px 18px; } .mapfirst-panel.tall { margin-top: 18px; min-height: 0; } }

/* Dernière étape (compte, téléphone, carte). */
.recap-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--sunken); }
.recap-mini > span:not(.service-bubble) { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.recap-mini small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recap-price { font-size: 17px; white-space: nowrap; }
.account-box { display: grid; gap: 10px; }
.account-box .card-head { margin: 0; }
.pay-card { display: grid; gap: 10px; }
.pay-points.compact li { font-size: 13px; }

/* Repère « Ici » pendant le choix de l'adresse. */
.booking-uber .pin-home.draggable .pin-caption { font-weight: 800; }

/* Suivi de mission : même mise en page (carte plein écran, panneau). */
.mission-page.mapfirst .mission-top { margin: 0; }
.mission-page.mapfirst .hero-overlay { position: static; inset: auto; padding: 0; background: none; box-shadow: none; display: grid; gap: 8px; color: var(--ink); }
.mission-page.mapfirst .hero-overlay p { color: var(--ink-2); }
.mission-page.mapfirst .mapfirst-panel > .card, .mission-page.mapfirst .mapfirst-panel > section.card { box-shadow: none; border: 1px solid var(--line); }
.mission-page.mapfirst .celebrate { box-shadow: none; }

/* Espace pro « appli chauffeur » : grand bouton en ligne / hors ligne, gains du mois sur la carte. */
.go-card {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 22px; text-align: left;
  background: var(--ink); color: #fff; box-shadow: 0 18px 36px -20px rgba(15, 23, 42, .8);
  transition: transform .2s var(--ease-spring), background .3s;
}
.go-card:active { transform: scale(.98); }
.go-card.on { background: linear-gradient(135deg, #047857, #12A150 55%, #22C55E); box-shadow: 0 18px 36px -18px rgba(18, 161, 80, .8); }
.go-orb { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.go-orb .i { width: 24px; height: 24px; }
.go-card.on .go-orb { background: rgba(255, 255, 255, .22); animation: liveRing 1.8s ease-out infinite; }
.go-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.go-text strong { font-size: 17px; }
.go-text small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.go-card .switch { background: rgba(255, 255, 255, .25); }
.go-card .switch.on { background: rgba(255, 255, 255, .4); }
.earn-pill {
  position: fixed; z-index: 3; top: calc(74px + var(--safe-top)); left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; padding: 8px 18px; border-radius: 99px; color: var(--ink);
  background: rgba(255, 255, 255, .96); box-shadow: 0 10px 26px rgba(15, 23, 42, .18); line-height: 1.15;
}
.earn-pill small { font-size: 11px; font-weight: 700; color: var(--muted); }
.earn-pill strong { font-size: 18px; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .earn-pill { top: 22px; left: calc(256px + (100vw - 256px) / 2 + 220px); } }
.pro-home.mapfirst .block { display: grid; gap: 10px; }
.pro-home.mapfirst .stats { margin: 0; }
/* Écrans sans carte affichés dans une vue « carte » (chargement, mission indisponible) : sous la barre flottante. */
.shell.map-mode .view > .page:not(.mapfirst) { padding: calc(84px + var(--safe-top)) 16px calc(120px + var(--safe-bottom)); }

/* Deux onglets explicites : « Nouveau client » / « J'ai déjà un compte » (réservation, connexion, inscription). */
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--sunken); }
.seg-tab {
  display: grid; place-items: center; min-height: 42px; padding: 0 10px; border-radius: 12px; text-align: center;
  font-weight: 750; font-size: 14px; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s;
}
.seg-tab.selected { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.account-box .seg-tabs { margin-bottom: 2px; }
.account-box > .fineprint { margin: 6px 0 0; }
.auth-tabs { margin: 2px 0 6px; }
.topbar .only-wide { display: none; }
@media (min-width: 640px) { .topbar .only-wide { display: inline-flex; } }

/* Quand ? Le premier créneau proposé, avec l'attente estimée (comme l'heure d'arrivée d'une course). */
.eta-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px;
  border-radius: 18px; background: var(--primary-softer); border: 1.5px solid var(--primary-soft);
}
.eta-badge {
  display: grid; place-items: center; align-content: center; min-width: 64px; height: 58px; padding: 0 8px; border-radius: 14px;
  background: var(--primary); color: #fff; line-height: 1.05; text-align: center;
}
.eta-badge small { font-size: 11px; font-weight: 700; opacity: .8; }
.eta-badge strong { font-family: var(--display); font-size: 17px; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eta-badge .i { width: 24px; height: 24px; }
.eta-text { display: grid; min-width: 0; line-height: 1.25; }
.eta-text small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--primary-ink); text-transform: uppercase; letter-spacing: .04em; }
.eta-text small .i { width: 14px; height: 14px; }
.eta-text strong { font-size: 16.5px; }
.eta-text em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eta-change { padding: 8px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 750; font-size: 13px; color: var(--primary-ink); white-space: nowrap; }
.eta-card.plan .eta-badge { background: var(--ink); }
.plan-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; animation: rise .35s var(--ease-out); }
.plan-row .field { margin: 0; }
.plan-row select { min-height: 48px; }

/* Geste 2 : le prix, fixé par HLPR (aucun choix de durée ni de tarif). */
.price-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--primary-softer); border: 1.5px solid var(--primary-soft); }
.price-card-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; font-size: 13.5px; color: var(--ink-2); }
.price-card-text small { font-size: 12px; font-weight: 800; color: var(--primary-ink); text-transform: uppercase; letter-spacing: .04em; }
.price-card-amount { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eta-line { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 7px 12px; border-radius: 99px; background: var(--primary-soft); color: var(--primary-ink); font-size: 13.5px; font-weight: 650; width: fit-content; }
.eta-line .i { width: 16px; height: 16px; flex: none; }

/* ---------------------------------------------------------------- Micro-animations des écrans carte (touche écolo discrète) */
/* Services : l'icône bouge au toucher. */
.svc:hover .svc-icon .i, .svc:focus-visible .svc-icon .i { animation: icon-wiggle .6s var(--ease-spring); }
@keyframes icon-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.08); } 60% { transform: rotate(9deg) scale(1.04); } }

/* « Au plus tôt » : l'attente estimée pulse doucement, comme une course qui approche. */
.eta-card:not(.plan) .eta-badge { position: relative; }
.eta-card:not(.plan) .eta-badge::after { content: ""; position: absolute; inset: -4px; border-radius: 17px; border: 2px solid var(--primary); opacity: 0; animation: eta-pulse 2.4s ease-out infinite; }
@keyframes eta-pulse { 0% { transform: scale(.94); opacity: .6; } 100% { transform: scale(1.1); opacity: 0; } }

/* Préférence écolo : la ligne se teinte légèrement, sans animation. */
.pref-row.eco.on { background: var(--eco-soft); }
.price-card { position: relative; overflow: hidden; }
.price-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 48%, transparent 66%); transform: translateX(-100%);
  animation: price-shine 1.1s .25s var(--ease-out) both;
}
@keyframes price-shine { to { transform: translateX(100%); } }


/* ---------------------------------------------------------------- HLPR AI : accueil, analyse, réponse en un coup d'œil */
.ai-hero { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 8px 0 4px; }
.ai-hero .lead { color: var(--ink-2); max-width: 34ch; }
.ai-orb { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 30% 30%, #60A5FA, #2563EB 55%, #6D28D9); box-shadow: 0 18px 40px -16px rgba(37, 99, 235, .8); animation: orb-float 4s ease-in-out infinite; }
.ai-orb::before, .ai-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(37, 99, 235, .25); animation: orb-ring 2.8s ease-out infinite; }
.ai-orb::after { border-color: rgba(18, 161, 80, .35); animation-delay: 1.4s; }
.ai-orb .i { width: 38px; height: 38px; animation: icon-wiggle 3s ease-in-out 1s infinite; }
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes orb-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.ai-modes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; width: 100%; max-width: 420px; }
.ai-mode { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 800; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .25s var(--ease-spring), border-color .2s; }
.ai-mode .i { width: 26px; height: 26px; color: var(--primary); }
.ai-mode:active { transform: scale(.95); }
.ai-mode:hover { border-color: var(--primary); }
.ai-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2px; }
.ai-example { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: left; transition: transform .25s var(--ease-spring), border-color .2s; }
.ai-example:hover { border-color: var(--primary); }
.ai-example:active { transform: scale(.96); }

/* Analyse en cours : les étapes apparaissent l'une après l'autre. */
.ai-thinking { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 650; }
.ai-live-steps { list-style: none; display: grid; gap: 8px; margin: 2px 0 0; padding: 0; font-size: 14.5px; }
.ai-live-steps li { display: flex; align-items: center; gap: 10px; animation: rise .4s var(--ease-out) calc(var(--i) * 1.1s) both; }
.ai-live-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex: none; animation: dotPulse 1s ease-in-out infinite; }
.ai-live-steps li:nth-child(2)::before { background: var(--eco, #12A150); }
.ai-live-steps li:nth-child(3)::before { background: #7C3AED; }

/* Réponse : le verdict, des étiquettes, puis le choix « Je le fais » / « Un Helper ». */
.ai-verdict { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-softer), #F5F0FF); border: 1px solid var(--primary-soft); }
.ai-verdict small { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--primary-ink); }
.ai-verdict strong { font-size: 15.5px; line-height: 1.35; }
.ai-confidence { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.ai-confidence .meter { flex: 1; }
.ai-confidence em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips .chip { display: inline-flex; align-items: center; gap: 5px; }
.ai-chips .chip .i { width: 14px; height: 14px; }
.ai-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-choice-btn {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; text-align: left;
  background: var(--surface); border: 2px solid var(--line); color: var(--ink); transition: border-color .2s, background .2s, transform .2s var(--ease-spring);
}
.ai-choice-btn:active { transform: scale(.97); }
.ai-choice-btn > span:nth-child(2) { display: grid; line-height: 1.25; min-width: 0; }
.ai-choice-btn small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ai-choice-btn em { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 99px; background: var(--eco-gradient); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; }
.ai-choice-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sunken); flex: none; }
.ai-choice-icon .i { width: 20px; height: 20px; }
.ai-choice-btn.selected { border-color: var(--ink); background: var(--surface-2); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .5); }
.ai-choice-btn.selected .ai-choice-icon { background: var(--ink); color: #fff; }
.ai-solo { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ai-solo > .i { width: 20px; height: 20px; color: var(--accent); }
.ai-options > .ai-option { animation: rise .35s var(--ease-out) both; }
.ai-pro-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-pro-price > span { display: grid; line-height: 1.15; }
.ai-pro-price small { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--primary-ink); }
.ai-pro-price strong { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.ai-pro-price em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ai-question { align-items: center; }
.ai-question > span { flex: 1; }
.ai-question .btn { flex: none; }
@media (prefers-reduced-motion: reduce) { .ai-orb, .ai-orb::before, .ai-orb::after, .ai-orb .i, .ai-live-steps li::before { animation: none; } }

/* ---------------------------------------------------------------- Helpers sur la carte : un rond blanc sobre avec l'icône du service */
.pin-pro .pin-body { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(15, 23, 42, .22), 0 0 0 1px rgba(15, 23, 42, .06); }
.pin-pro .pin-body::after { width: 8px; height: 8px; bottom: -3px; }
.pin-icon { display: grid; place-items: center; }
.pin-icon .i { width: 19px; height: 19px; }
.pin-initials { font-size: 12px; font-weight: 800; }
.pin-online { position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--eco, #12A150); border: 2px solid #fff; }
.pin-pro.clickable { cursor: pointer; }
.pin-pro.clickable .pin-body { transition: box-shadow .2s, transform .2s; }
.pin-pro.clickable:hover .pin-body { box-shadow: 0 8px 20px rgba(37, 99, 235, .35), 0 0 0 1px rgba(37, 99, 235, .3); }
.pin-pro.selected .pin-body { background: var(--primary); color: #fff; }
.pin-pro.dim .pin-body { opacity: .55; }
.pin-pro.clickable:focus-visible { outline: none; }
.pin-pro.clickable:focus-visible .pin-body { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
/* Repères qui « cherchent » (Helpers prévenus, suivi en direct) : un anneau qui s'élargit. */
.pin-pro.pulse .pin-body { animation: pinDrop .7s var(--ease-spring) both, avatarPulse 1.9s ease-out calc(var(--pin-delay, 0ms) + .7s) infinite; }
/* Étiquette visible à côté du repère (« Vous », « Paul · 12 min ») ; les Helpers n'en ont pas. */
.pin-tag {
  position: absolute; left: 25px; top: -38px; white-space: nowrap; padding: 3px 9px; border-radius: 99px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  font-size: 12px; font-weight: 750; animation: rise .4s var(--ease-out) calc(var(--pin-delay, 0ms) + .3s) both;
}
/* Pastille « 6 Helpers autour de vous · 4 en ligne » posée sur la carte. */
.map-chip {
  position: absolute; z-index: 4; left: 16px; top: calc(66px + var(--safe-top)); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
  font-size: 13px; font-weight: 800; color: var(--ink); pointer-events: none;
}
.map-chip .i { width: 16px; height: 16px; color: var(--primary); }
.map-chip em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 750; color: var(--eco-ink); }
.map-chip em::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--eco); animation: dotPulse 1.6s ease-in-out infinite; }
/* Ordinateur : sous la barre du haut, à gauche des boutons de zoom (avant, elle passait sous la barre). */
@media (min-width: 1024px) { .map-chip { left: auto; right: 64px; top: 84px; } }

/* ================================================================ Style sobre (01/10/2026) ================================================================
   Demandé par le porteur : « reprends totalement l'UI/UX, je veux un style sobre ». Une seule couleur (l'encre) pour les
   actions, des surfaces blanches aux bords fins, des coins modérés, presque pas d'ombres, une seule famille de caractères,
   pas de dégradés ni d'ornements. Ce bloc vient en dernier : il prime sur les réglages colorés définis plus haut. */
:root {
  --bg: #F6F6F7; --surface: #FFFFFF; --surface-2: #FAFAFA; --sunken: #F1F1F3;
  /* --muted et --faint assombris (audit du 02/10) : 4,5:1 minimum sur les fonds gris, textes d'exemple lisibles. */
  --ink: #141416; --ink-2: #3A3A40; --muted: #62626A; --faint: #85858E; --line: #E6E6EA; --line-2: #D6D6DC;
  --primary: #141416; --primary-ink: #000000; --primary-soft: #EFEFF1; --primary-softer: #F7F7F8;
  --accent: #141416; --accent-ink: #141416; --accent-soft: #EFEFF1;
  --success: #2E7D4F; --success-ink: #1F5C38; --success-soft: #EEF3F0;
  --danger: #C62828; --danger-soft: #FBEDED;
  --eco: #2E7D4F; --eco-ink: #3A3A40; --eco-soft: #F1F1F3; --eco-cream: #F6F6F7; --eco-gradient: linear-gradient(#141416, #141416);
  --radius-s: 10px; --radius: 14px; --radius-l: 16px; --radius-xl: 20px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04); --shadow-2: 0 2px 6px rgba(0, 0, 0, .06); --shadow-3: 0 10px 30px rgba(0, 0, 0, .10);
  --display: var(--font);
}
body { background: var(--bg); }

/* Typographie : une seule famille, des titres plus mesurés. */
.display { font-weight: 700; font-size: clamp(28px, 6vw, 40px); letter-spacing: -.025em; line-height: 1.08; }
.display-sm { font-weight: 700; font-size: clamp(22px, 5vw, 28px); letter-spacing: -.02em; }
.block-head h2, .card-title, .panel-title, .quick-title { font-weight: 700; letter-spacing: -.015em; }
.hl { background: none; background-image: none; box-shadow: none; }
.how-num { display: none; }
.eyebrow { color: var(--muted); }

/* Boutons : encre, sans ombre portée ni reflet. */
.btn-primary, .btn-lime, .btn-eco { background: var(--ink); color: #fff; box-shadow: none; }
.btn-lime::before { display: none; }
.btn-ghost { box-shadow: none; }
.btn-xl { border-radius: 14px; }
.icon-btn { box-shadow: none; }

/* Étiquettes : gris neutre (le rouge reste pour le danger). */
.chip-sky, .chip-lime, .chip-violet, .chip-butter, .chip-mint, .chip-muted { background: var(--sunken); color: var(--ink-2); }
.chip-rose { background: var(--danger-soft); color: var(--danger); }
.sim-pill, .sim-pill.compact { background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); box-shadow: none; }
.count-badge { background: var(--ink); animation: none; }
.live-label { color: var(--ink-2); }
.eco-pill, .eco-footer-band, .eco-band { background: var(--sunken); color: var(--ink-2); }
.banner { background: var(--sunken); color: var(--ink); }
.perk-icon { background: var(--sunken); color: var(--ink); }

/* Services : tuiles blanches, icône à l'encre, sans couleur par métier. */
.svc { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.svc:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.svc:hover .svc-icon .i, .svc:focus-visible .svc-icon .i { animation: none; }
.svc-icon { background: var(--sunken); color: var(--ink); box-shadow: none; border-radius: 14px; }
.svc strong { color: var(--ink); }
.svc small { color: var(--muted); }
.service-bubble, .strip-chip, .svc-chip { background: var(--sunken); color: var(--ink); }

/* Barres : fines, sans dégradé. */
.topbar { border-image: none; border-bottom: 1px solid var(--line); box-shadow: none; }
.shell.map-mode .topbar { border-bottom: 0; }
.tab.active { color: var(--ink); }
.tab.active .tab-icon { background: var(--sunken); color: var(--ink); transform: none; }
.tabbar { box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.rail-link.active { background: var(--ink); color: #fff; }

/* Cartes : un bord fin, pas d'ombre. */
.card, .auth-card, .quick-book, .offer-card, .bid-card, .trust-card, .how-card, .stat { box-shadow: none; border: 1px solid var(--line); }

/* Écrans carte : le panneau et ses lignes. */
.mapfirst-panel { box-shadow: 0 -6px 24px rgba(0, 0, 0, .08); border-radius: 22px 22px 0 0; }
/* Ordinateur : le panneau flotte à gauche de la carte, arrondi des quatre côtés. */
@media (min-width: 1024px) { .mapfirst-panel { border-radius: 22px; box-shadow: var(--shadow-3); } }
.where-row { background: var(--sunken); border: 0; }
.eta-card { background: var(--surface); border: 1px solid var(--line); }
.eta-badge, .eta-card.plan .eta-badge { background: var(--ink); }
.eta-card:not(.plan) .eta-badge::after { display: none; }
.eta-text small { color: var(--muted); }
.eta-change { color: var(--ink); }
.price-card { background: var(--surface); border: 1px solid var(--line); }
.price-card::after { display: none; }
.price-card-text small { color: var(--muted); }
.ai-row { background: var(--surface); border: 1px solid var(--line); }
.ai-prefill, .ai-verdict { background: var(--sunken); border-color: var(--line); }
.ai-verdict small, .ai-pro-price small { color: var(--muted); }
.pref-row { background: var(--surface); border: 1px solid var(--line); }
.pref-row > .i, .pref-row.eco > .i { color: var(--ink); }
.pref-row.eco.on { background: var(--sunken); }
.toggle.on, .pref-row.eco .toggle.on { background: var(--ink); }
.map-chip { box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.map-chip .i { color: var(--ink); }
.map-chip em { color: var(--ink-2); }
.go-card.on { background: var(--ink); box-shadow: none; }
.pin-halo { background: rgba(20, 20, 22, .12); }
.recap-mini { background: var(--sunken); }
.seg-tabs, .seg-row { background: var(--sunken); }
.seg-tab.selected, .seg.selected { box-shadow: none; border: 1px solid var(--line); }

/* HLPR AI : la même retenue. */
.ai-mark { background: var(--ink); box-shadow: none; }
.ai-orb { background: var(--ink); box-shadow: none; animation: none; }
.ai-orb::before, .ai-orb::after { display: none; }
.ai-orb .i { animation: none; }
.ai-mode { box-shadow: none; border-width: 1px; }
.ai-mode .i { color: var(--ink); }
.ai-choice-btn em { background: var(--ink); }
.ai-live-steps li::before, .ai-live-steps li:nth-child(2)::before, .ai-live-steps li:nth-child(3)::before { background: var(--ink); }
.meter i { background: var(--ink); }
.dots i.on { background: var(--ink); }
.ai-eco { background: var(--sunken); color: var(--ink-2); }

/* Comptes de démonstration : l'avatar garde sa taille (la règle « span { flex: 1 } » l'étirait) ; bouton sans débordement. */
.demo-account .avatar { flex: none; }
.demo-split { max-width: 100%; white-space: normal; text-align: center; }
/* Texte réservé aux lecteurs d'écran (titres de page invisibles). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Plus de confettis ni d'effets de fête. */
.confetti-layer { display: none; }
/* Avatars sans photo : initiales à l'encre sur gris, plus de couleur par personne. */
.avatar:not(.photo) { background: var(--sunken); color: var(--ink); }
.topbar-avatar .avatar:not(.photo), .rail-user .avatar:not(.photo) { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- Ascenseurs modernes (02/10/2026)
   Fins, arrondis, discrets ; plus marqués au survol. Les bandes défilantes qui les masquent (« scrollbar-width: none »)
   gardent leur réglage.
   Chrome, Edge et Safari : dessinés par ::-webkit-scrollbar, qui permet de les décoller des coins arrondis
   (marge haute et basse de la piste, voir plus bas). Chrome ignore ces styles dès qu'une règle standard
   « scrollbar-width / scrollbar-color » s'applique : celle-ci est donc réservée à Firefox, qui ne connaît pas
   ::-webkit-scrollbar (il ne sait pas décaler l'ascenseur, mais le garde à l'intérieur des coins arrondis). */
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: rgba(20, 20, 22, .22) transparent; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background-color: rgba(20, 20, 22, .2); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(20, 20, 22, .38); }
.mapfirst-panel { scrollbar-gutter: stable; }

/* ---------------------------------------------------------------- Bandeau « Installer l'application » (téléphone) */
.install-banner {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(96px + var(--safe-bottom));
  display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 10px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3);
  animation: rise .4s var(--ease-out) both;
}
/* Sans barre d'onglets (visiteur), le bandeau descend tout en bas. */
:root:has(.shell.role-guest) .install-banner { bottom: calc(12px + var(--safe-bottom)); }
.install-banner img { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.install-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.install-text strong { font-size: 14.5px; }
.install-text small { font-size: 12.5px; color: var(--muted); }
.install-text small .i { width: 15px; height: 15px; vertical-align: -3px; color: var(--ink); }
.install-banner .btn { flex: none; }

/* ---------------------------------------------------------------- Localisation en cours (« Utiliser ma position »)
   Le bouton est inactif et son icône tourne ; sur la carte, une onde au centre de la zone visible. */
.btn.is-locating { opacity: 1; cursor: progress; }
.btn.is-locating .i, .map-locate.busy .i { animation: spin 1s linear infinite; }
.map-locate.busy { opacity: 1; cursor: progress; }
.locate-pulse { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 46vh; height: 46dvh; display: grid; place-items: center; pointer-events: none; }
.locate-pulse i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; animation: locate-wave 1.4s ease-out infinite; }
@keyframes locate-wave { 0% { box-shadow: 0 0 0 0 rgba(20, 20, 22, .35); } 100% { box-shadow: 0 0 0 30px rgba(20, 20, 22, 0); } }
@media (min-width: 1024px) { .locate-pulse { left: 500px; height: 100%; } }
@media (prefers-reduced-motion: reduce) { .btn.is-locating .i, .map-locate.busy .i, .locate-pulse i { animation: none; } }

/* Ascenseurs dans les boîtes arrondies : ils commencent plus bas et s'arrêtent plus haut que les coins,
   pour ne jamais toucher les bords (marge ≈ rayon de l'angle). */
.sheet::-webkit-scrollbar-track { margin-block: 26px; }
.suggestions::-webkit-scrollbar-track { margin-block: 14px; }
.chat-thread::-webkit-scrollbar-track { margin-block: 8px; }
textarea::-webkit-scrollbar-track { margin-block: 12px; }
.ai-input textarea::-webkit-scrollbar-track { margin-block: 16px; }
@media (min-width: 1024px) { .mapfirst-panel::-webkit-scrollbar-track { margin-block: 24px; } }

/* Bouton principal en bas du panneau : à 18 px du bord (ordinateur), comme une marge latérale.
   La marge négative prévue pour « avaler » le bas du panneau n'agit pas dans une grille : il restait 40 px de vide. */
.shell .mapfirst-panel:has(> .panel-cta) { padding-bottom: 0; }
.mapfirst-panel > .panel-cta { margin-bottom: 0; }

/* Barre du bouton principal : fond plein (plus de fondu laissant voir une ligne coupée au-dessus du bouton),
   avec une ombre légère quand le contenu passe dessous. */
.panel-cta { background: var(--surface); box-shadow: 0 -12px 18px -16px rgba(0, 0, 0, .28); }
/* Aperçu (téléphone) d'un panneau à bouton collant : sheet.js mesure le bouton (--peek) pour que seule la poignée dépasse. */
@media (max-width: 1023px) {
  .shell .mapfirst-panel[style*="--peek"] { margin-top: calc(100vh - var(--peek)); margin-top: calc(100dvh - var(--peek)); }
}
/* Panneau monté jusqu'en haut (téléphone) : la barre flottante devient une vraie barre, le contenu ne passe plus sous ses boutons. */
@media (max-width: 1023px) {
  .shell.map-mode.sheet-top .topbar { background: var(--surface); box-shadow: 0 1px 0 var(--line); pointer-events: auto; transition: background .2s; }
  .shell.map-mode.sheet-top .topbar .brand, .shell.map-mode.sheet-top .topbar .icon-btn, .shell.map-mode.sheet-top .topbar .sim-pill,
  .shell.map-mode.sheet-top .topbar .btn, .shell.map-mode.sheet-top .topbar .topbar-avatar { box-shadow: none; }
}
/* Pastille des revenus (espace Helper) : posée sur la carte, mais sous le panneau quand on le monte. */
.earn-pill { z-index: 1; }
/* Offres envoyées (espace Helper) : la pastille du service garde sa taille (la règle des colonnes de texte la gonflait). */
.pending-offer > span.service-bubble { flex: none; display: grid; }
/* En-tête de bloc avec une note à droite : sur petit écran, la note passe dessous au lieu d'écraser le titre. */
.block-head:has(> .muted) { flex-wrap: wrap; row-gap: 2px; }
/* Trajet du Helper : bouton principal sur toute la largeur, itinéraire dessous. */
.offer-actions.stack { display: grid; }
.offer-actions.stack .btn-grow { order: -1; }
/* En-tête de mission : la référence (SRV-…) ne se coupe pas ; un statut long passe sur deux lignes à la place. */
.mission-top-text { min-width: 7.5em; }
.mission-top-text .muted { white-space: nowrap; }
.mission-top > .chip { min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
/* Prix fixe sur les tuiles de service (« 102,47 € · 3 h ») : toujours sur une ligne. */
.svc small { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 360px) { .svc small { font-size: 11px; letter-spacing: -.01em; } }
/* Services du Helper : rappel « petits travaux seulement » sous la petite plomberie et la petite électricité. */
.svc-row:has(> .svc-limit) { flex-wrap: wrap; }
.svc-limit { flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start; margin: 2px 4px 4px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.svc-limit .i { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--muted); }
/* HLPR AI : titre exactement centré, quels que soient le bouton de gauche et celui de droite (« Nouveau » ou rien). */
.diagnostic .booking-top { display: grid; grid-template-columns: 1fr auto 1fr; }
.diagnostic .booking-top > :first-child { justify-self: start; }
.diagnostic .booking-top > :last-child { justify-self: end; }
/* ================================================================ Je décris, HLPR propose, j'envoie (02/10/2026) */
/* Teintes des nouvelles catégories (pastilles d'icône). */
.tone-errands { --tone-bg: #FDEBDD; --tone-fg: #B4531F; }
.tone-transport { --tone-bg: #E6ECF5; --tone-fg: #3A5A8C; }
.tone-moving { --tone-bg: #F3EAD9; --tone-fg: #8A6420; }
.tone-pets { --tone-bg: #FCE7EF; --tone-fg: #B4386A; }
.tone-tech { --tone-bg: #E4F1FB; --tone-fg: #1F6FA8; }
.tone-other { --tone-bg: #EEEEF1; --tone-fg: #4A4A55; }

/* Geste 1 : le besoin, dit ou écrit. */
.need-box { display: grid; gap: 10px; padding: 12px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s; }
.need-box:focus-within { border-color: var(--ink); }
.need-box.listening { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 20, 22, .06); }
.need-box textarea { width: 100%; min-height: 76px; border: 0; padding: 4px 4px 0; resize: none; background: transparent; font: inherit; font-size: 16px; line-height: 1.45; color: var(--ink); }
.need-box textarea:focus { outline: none; box-shadow: none; }
.need-actions { display: flex; gap: 8px; }
.need-actions .btn { min-height: 48px; }
.need-mic { flex: none; }
.need-mic.listening { background: var(--ink); color: #fff; border-color: var(--ink); }
.need-mic.listening .i { animation: dotPulse 1.2s ease-in-out infinite; }
.need-go { flex: 1; }
.need-go.is-locating .i { animation: spin 1s linear infinite; }

/* Geste 2 : la proposition. */
.need-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--sunken); }
.need-card-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.need-card-text small { color: var(--muted); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.price-stepper { display: grid; justify-items: center; gap: 6px; padding: 14px 16px 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.price-stepper-label { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.stepper { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; }
.step-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .15s, background .2s, border-color .2s; }
.step-btn:hover:not(:disabled) { border-color: var(--ink); }
.step-btn:active:not(:disabled) { transform: scale(.92); background: var(--sunken); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; }
.step-btn .i { width: 22px; height: 22px; }
.stepper-value { min-width: 4.2ch; font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-stepper.loading .stepper-value { font-size: 28px; }
.stepper-hint { margin: 0; font-size: 13px; color: var(--muted); }
.stepper-total { margin: 0; font-size: 14px; color: var(--ink-2); }
a.offer-title { color: inherit; }
/* Offres reçues : le prix de chaque Helper (votre prix, ou « le ferait pour… »). */
.bid-price { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 14px; background: var(--sunken); font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.bid-price .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.bid-price.counter { background: #FFF6E0; color: #6B4A00; }
/* Sans réponse : proposer d'augmenter son prix. */
.raise-note { align-items: center; }
.raise-note > span { flex: 1; }
.raise-note .btn { flex: none; }
.price-stepper.in-sheet { border: 0; padding: 4px 0 0; }
/* Bandeau « Installer l'application » (pages classiques seulement) : la fin de la page reste lisible au-dessus. */
body:has(#install-banner) .app { padding-bottom: 104px; }
/* En-tête de mission : un nom de service long passe sur deux lignes au lieu d'être coupé. */
.mission-top-text strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
/* Menu latéral (ordinateur) : la pastille « Démo · paiements simulés » prend toute la largeur, comme la carte du compte. */
@media (min-width: 1024px) {
  .rail-foot .sim-pill { justify-self: stretch; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
}
/* Une demande sur la carte : bulle sombre avec l'icône du service et l'offre du client. */
.pin-offer { cursor: default; }
.pin-offer.clickable { cursor: pointer; }
.pin-offer-body { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 7px; border-radius: 99px; background: var(--ink, #141416); color: #fff; box-shadow: 0 6px 16px rgba(20, 20, 22, .28); white-space: nowrap; animation: rise .4s var(--ease-out) both; animation-delay: var(--pin-delay, 0ms); }
.pin-offer-body::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.pin-offer-body .pin-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ink, #141416); }
.pin-offer-body .pin-icon .i { width: 13px; height: 13px; }
.pin-offer-body strong { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pin-offer.selected .pin-offer-body, .pin-offer.clickable:hover .pin-offer-body { transform: scale(1.06); }
.pin-offer:focus-visible .pin-offer-body { outline: 2px solid #fff; outline-offset: 2px; }

/* Geste 2 : les Helpers proches qui verront l'offre, et « Modifier » (retour à la description). */
.need-card-text strong { font-size: 16px; }
.need-edit { flex: none; align-self: center; font-weight: 800; }
.helpers-row { display: flex; align-items: center; gap: 12px; padding: 4px 4px 0; }
.avatar-stack { display: flex; flex: none; }
.avatar-stack > * { margin-left: -10px; box-shadow: 0 0 0 2px var(--surface); border-radius: 50%; }
.avatar-stack > :first-child { margin-left: 0; }
.helpers-row-text { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.helpers-row-text strong { font-size: 14px; }
.helpers-row-text small { font-size: 12.5px; color: var(--muted); }
.pin-offer-body { translate: 0 calc(var(--stack, 0) * -36px); }
/* Geste 2 sobre : les réglages secondaires (description, choix du Helper, éco) sont repliés sous « Options ». */
.options-toggle { width: 100%; justify-content: flex-start; color: var(--ink); padding: 6px 2px; }
.options-toggle > span { flex: 1; text-align: left; }
.options-toggle > .i:last-child { color: var(--muted); transition: transform .2s; }
.options-toggle.open > .i:last-child { transform: rotate(90deg); }
.options-block { display: grid; gap: 10px; }
/* Recherche en cours : l'offre du client, modifiable tant qu'il n'a accepté personne. */
.offer-edit-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.offer-edit-row > span { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.offer-edit-row small { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.offer-edit-row strong { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer-edit-row em { font-style: normal; font-size: 13px; color: var(--muted); }
/* Offre saisie à la main : le montant est un champ, centré entre − et +. */
.stepper-field { display: inline-flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 3.4ch; cursor: text; }
.stepper-input { border: 0; padding: 0; margin: 0; background: transparent; text-align: right; font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 1ch; max-width: 9ch; }
.stepper-input.long { font-size: 28px; }
.stepper-input:focus { outline: none; box-shadow: 0 2px 0 var(--ink); }
.stepper-unit { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); }
.stepper-input.long + .stepper-unit { font-size: 22px; }
/* Le champ du montant échappe au style générique des champs (16 px, bordure, marges) : plus spécifique. */
.stepper .stepper-field > input.stepper-input { width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 40px; line-height: 1.1; box-shadow: none; }
.stepper .stepper-field > input.stepper-input.long { font-size: 28px; }
.stepper .stepper-field > input.stepper-input:focus { box-shadow: 0 2px 0 var(--ink); }
/* Frise : la fin de prestation réunit les deux validations ; détail de qui a validé, pastille à moitié pleine. */
.tl-label small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.timeline li.partial .tl-dot { background: linear-gradient(90deg, var(--primary) 50%, var(--surface) 50%); border-color: var(--primary); }
/* Accueil sans compte : liens discrets en pied du panneau (présentation, recrutement, informations légales). */
.guest-links { justify-content: flex-start; gap: 4px 14px; margin-top: 14px; padding: 12px 0 2px; border-top: 1px solid var(--line); font-size: 12.5px; }
/* Noms : en capitales dès la saisie (remis en forme en quittant le champ, et par la base). */
input[autocomplete="family-name"] { text-transform: uppercase; }
