:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --sunken: #efefeb;
  --ink: #0f1012;
  --ink-2: #47494f;
  --muted: #8b8d93;
  --line: #e6e5e0;
  --line-strong: #d4d3cd;
  --green: #00a65e;
  --green-ink: #007a45;
  --green-bg: #e3f6eb;
  --red: #e5484d;
  --red-bg: #fdeced;
  --focus: #3b6cff;
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 1px 2px rgba(15, 16, 18, .05);
  --shadow: 0 1px 2px rgba(15, 16, 18, .04), 0 8px 24px -8px rgba(15, 16, 18, .08);
  --shadow-lg: 0 24px 64px -16px rgba(15, 16, 18, .28);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.speedbar { background: var(--ink); color: #d9dbe0; font-size: 13px; }
.speedbar-in { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; white-space: nowrap; overflow: hidden; }
.speedbar b { color: #fff; font-weight: 600; }
.speedbar .sb-bolt { color: #3ee08f; }
.speedbar .sb-sep { color: #5b5e66; }
.speedbar a { margin-left: 10px; color: #3ee08f; font-weight: 600; }
.speedbar a:hover { color: #7cf0b5; }
@media (max-width: 760px) { .speedbar .sb-hide { display: none; } .speedbar-in { font-size: 12px; gap: 6px; } .speedbar a { margin-left: 4px; } }
@media (max-width: 480px) { .speedbar-in > span:nth-of-type(2), .speedbar-in > span:nth-of-type(3) { display: none; } }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245, 245, 242, .82); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; letter-spacing: -.045em; }
.logo-mark { height: 24px; width: auto; flex: none; }
.logo-mark .lm-g { fill: #00a65e; }
.logo-mark .lm-k { stroke: var(--ink); }
.logo-word { font-weight: 700; letter-spacing: -.045em; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 14px; padding: 7px 12px; border-radius: 99px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--sunken); color: var(--ink); }
.nav-links a.on { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.demo-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); border: 1px dashed var(--line-strong); border-radius: 99px; padding: 4px 10px; }
.demo-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e0a100; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 550; font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; box-shadow: var(--shadow-sm); }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2c31; border-color: #2a2c31; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn-ghost:hover { background: var(--sunken); border-color: transparent; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { width: 34px; height: 34px; padding: 0; border-radius: 50%; }

/* ---------- État du moteur ---------- */
.engine { margin-left: auto; flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 550; white-space: nowrap; max-width: 46vw; }
.engine i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.engine-txt { overflow: hidden; text-overflow: ellipsis; }
.engine-green { background: var(--green-bg); color: var(--green-ink); }
.engine-orange { background: #fff3dc; color: #8a5300; }
.engine-red { background: var(--red-bg); color: #9b1c22; }
.engine + .btn { margin-left: 10px; flex: none; }
.nav-links a { white-space: nowrap; }
#live.bad .pulse { background: #d92d34; }
@media (max-width: 680px) { .engine { max-width: 34px; padding: 0 11px; } .engine .engine-txt { display: none; } }

/* ---------- Pulse ---------- */
.pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.off .pulse, .pulse.off { background: #e0a100; }
.off .pulse::after, .pulse.off::after { display: none; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Radar : intro ---------- */
.intro { padding-top: 40px; }
.intro-top { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 0 0 14px; }
.intro h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.05em; font-weight: 650; margin: 0; max-width: 16ch; }
.intro h1 em { font-style: normal; color: var(--muted); }
.kpis-top { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.kpis-top div { padding: 14px 20px; min-width: 132px; }
.kpis-top div + div { border-left: 1px solid var(--line); }
.kpis-top b { display: block; font: 600 24px/1.1 var(--mono); letter-spacing: -.04em; }
.kpis-top span { font-size: 12px; color: var(--muted); }
.kpis-top .in b { color: var(--green-ink); }

.modelbar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 32px 0 0; padding: 4px; background: var(--sunken); border-radius: 99px; width: max-content; max-width: 100%; }
.modelbar::-webkit-scrollbar { display: none; }
.modelbar button { flex: none; border: 0; background: transparent; padding: 8px 16px; border-radius: 99px; font-weight: 550; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; transition: background .15s, color .15s; }
.modelbar button:hover { color: var(--ink); }
.modelbar button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.modelbar .hot { width: 6px; height: 6px; border-radius: 50%; background: #ff6a3d; }
.configbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 16px 0 20px; }
.cfg { display: flex; align-items: center; gap: 10px; }
.cfg-label { font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.seg button { white-space: nowrap; flex: none; border: 0; background: transparent; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.swatches { display: flex; gap: 4px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; position: relative; display: grid; place-items: center; background: transparent; }
.sw i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.sw.on { box-shadow: 0 0 0 1.5px var(--ink); }
.sw-any i { background: conic-gradient(#e8d9bd, #b9d3e6, #6b2333, #232326, #f1efe9, #e8d9bd); }
.cfg-value { font-size: 13px; font-weight: 550; min-width: 70px; }
.cfg-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.field-search { position: relative; }
.field-search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.input { height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 0 14px; font-size: 14px; box-shadow: var(--shadow-sm); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.field-search .input { padding-left: 34px; width: 240px; }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(59, 108, 255, .15); }
select.input { padding-right: 30px; appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238b8d93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; }

/* ---------- Radar : explorateur liste + carte ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 28px; align-items: stretch; }
.explorer { display: block; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.list-pane { display: flex; flex-direction: column; height: min(680px, calc(100vh - 96px)); }
@media (min-width: 1081px) {
  .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
  .row + .row { box-shadow: none; }
  .row { box-shadow: 0 -1px 0 var(--line); }
  .row:nth-child(-n + 2) { box-shadow: none; }
}
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.count { font-weight: 600; letter-spacing: -.02em; font-size: 15px; }
.count b { color: var(--green-ink); font-weight: 650; }
.count.none b { color: var(--ink); }
.count small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.list-tools { display: flex; gap: 6px; }
.chip-toggle { white-space: nowrap; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 550; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chip-toggle:hover { border-color: var(--line-strong); }
.chip-toggle.on { background: var(--green-bg); border-color: transparent; color: var(--green-ink); }
.chip-toggle svg { width: 14px; height: 14px; }
.scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.loss { margin: 12px 12px 4px; padding: 11px 14px; background: var(--red-bg); border-radius: 14px; font-size: 13px; color: #8c1d22; display: flex; gap: 10px; align-items: start; }
.loss svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.loss b { font-weight: 600; }
.loss a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 6px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; transition: background .15s; cursor: default; }
.row + .row { box-shadow: 0 -1px 0 var(--line); }
.row:hover, .row.hl { background: var(--bg); box-shadow: none; }
.row:hover + .row, .row.hl + .row { box-shadow: none; }
.row-title { font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; }
.row-title .st { font: 500 11px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; line-height: 17px; }
.row-sub { font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 550; }
.tag i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tag time { font: 500 11px var(--mono); color: var(--green-ink); }
.row-end { display: flex; align-items: center; gap: 8px; }
.status { white-space: nowrap; font-size: 12px; color: var(--muted); text-align: right; line-height: 1.3; }
.status b { display: block; font-weight: 550; color: var(--ink-2); font-size: 12.5px; }
.badge-in { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--green-bg); color: var(--green-ink); font-size: 12px; font-weight: 600; }
.row.flash { animation: flash 1.8s ease-out; }
.row.gone { animation: gone 1.8s ease-out; }
@keyframes flash { 0% { background: rgba(0, 166, 94, .22); } 100% { background: transparent; } }
@keyframes gone { 0% { background: var(--red-bg); } 100% { background: transparent; } }
.more { padding: 8px 12px 14px; text-align: center; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); font-size: 14px; }

.map-pane { display: flex; flex-direction: column; background: radial-gradient(120% 80% at 50% 0%, #ffffff, #f1f1ec); }
.map-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 0; gap: 12px; flex-wrap: wrap; }
.map-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.map { flex: 1; min-height: 250px; position: relative; display: grid; place-items: center; padding: 4px 16px 8px; }
.hero .ticker li { padding: 5px 10px; }
.hero .ticker { margin: 0 12px 12px; }
.map svg { width: 100%; height: 100%; max-height: 100%; display: block; overflow: visible; }
.map .state { fill: #e9e8e3; stroke: #fbfbf9; stroke-width: 1; }
.map .dot { fill: #b9b8b1; transition: r .2s; }
.map .dot.recent { fill: #7fd3a8; }
.map .dot.in { fill: var(--green); }
.map .ring { fill: none; stroke: var(--green); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
.map .dot.hl { stroke: var(--ink); stroke-width: 2; }
.map .hit { fill: transparent; cursor: pointer; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 9px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); box-shadow: var(--shadow); }
.map-tip small { color: #a9abb1; display: block; font-weight: 400; }
.ticker { list-style: none; margin: 0 16px 16px; padding: 6px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 2px; }
.ticker li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; font-size: 13px; }
.ticker li.new { animation: flash 2s ease-out; }
.ticker .tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.ticker .tdot.in { background: var(--green); }
.ticker b { font-weight: 600; }
.ticker .what { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker time { font: 500 12px var(--mono); color: var(--muted); }
.ticker-head { display: flex; justify-content: space-between; padding: 4px 10px 2px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.map-fallback { color: var(--muted); font-size: 14px; }

/* ---------- Sections marketing ---------- */
.section { padding-block: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.kicker { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.045em; line-height: 1.05; margin: 0; font-weight: 650; max-width: 22ch; }
.section .sub { color: var(--ink-2); margin: 0; max-width: 46ch; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.stat { padding: 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { display: block; font: 600 46px/1.05 var(--mono); letter-spacing: -.05em; margin: 10px 0 4px; }
.stat b.txt { font: 650 22px/1.2 var(--sans); letter-spacing: -.03em; margin-top: 14px; }
.stat small { font-size: 12px; color: var(--muted); }
.stat-link { cursor: pointer; transition: background .15s; }
.stat-link:hover { background: var(--green-bg); }
.stat-link b { color: var(--green-ink); }
.chart { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 16px; box-shadow: var(--shadow-sm); }
.chart-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.chart-head b { color: var(--ink); font-weight: 600; }
.chart svg { width: 100%; height: 180px; display: block; }
.chart .bar { fill: #e4e3dd; }
.chart .bar.peak { fill: var(--green); }
.chart text { fill: var(--muted); font: 11px var(--mono); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.step .n { font: 500 12px var(--mono); color: var(--muted); }
.step h3 { margin: 40px 0 8px; font-size: 19px; letter-spacing: -.03em; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.band { margin-top: 96px; background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(62, 224, 143, .28), transparent 65%); }
.band h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.05em; line-height: 1.04; margin: 0 0 14px; font-weight: 650; }
.band h2 em { font-style: normal; color: #3ee08f; }
.band p { margin: 0; color: #b7b9bf; font-size: 16px; max-width: 44ch; }
.band-cta { display: grid; gap: 12px; justify-items: start; position: relative; z-index: 1; }
.band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band .fine { font-size: 13px; color: #8d9096; }
.band-price { font: 650 56px/1 var(--sans); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.band-price small { font: 500 14px var(--sans); letter-spacing: 0; color: #8d9096; margin-left: 6px; }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 550; font-size: 16px; letter-spacing: -.015em; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%238b8d93' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Tarifs ---------- */
.page-intro { padding-top: 64px; text-align: center; }
.page-intro h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.055em; line-height: 1; margin: 0 auto 16px; font-weight: 650; max-width: 14ch; }
.page-intro p { color: var(--ink-2); font-size: 17px; margin: 0 auto; max-width: 52ch; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); position: relative; }
.plan.best { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.plan .pop { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; background: #3ee08f; color: var(--ink); padding: 3px 8px; border-radius: 99px; }
.plan .for { margin: 0; color: var(--muted); font-size: 14px; min-height: 42px; }
.plan.best .for { color: #a9abb1; }
.price b { font: 650 44px/1 var(--sans); letter-spacing: -.055em; }
.price span { color: var(--muted); font-size: 13px; margin-left: 6px; }
.price s { color: var(--muted); font-size: 14px; margin-left: 6px; }
.feat { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; flex: 1; align-content: start; }
.plan.best .feat { border-top-color: #2a2c31; }
.feat li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.feat li::before { content: ""; width: 16px; height: 16px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.3' fill='none' stroke='%2300a65e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan.best .feat li::before { filter: brightness(1.5); }
.feat li.no { color: var(--muted); }
.feat li.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' stroke='%23c4c3bd' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.feat .soon { font: 500 10px var(--mono); text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; margin-left: 6px; }
.plan.best .feat .soon { border-color: #2a2c31; }
.plan.best .btn { background: #fff; color: var(--ink); border-color: #fff; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 16px; padding: 24px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.guarantee .gi { width: 48px; height: 48px; border-radius: 14px; background: var(--green-bg); color: var(--green-ink); display: grid; place-items: center; }
.guarantee .gi svg { width: 26px; height: 26px; }
.guarantee h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.02em; font-weight: 600; }
.guarantee p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Alertes ---------- */
.page-head { padding-top: 48px; margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; }
.page-head h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.05em; line-height: 1; font-weight: 650; }
.page-head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.page-head p a { text-decoration: underline; text-underline-offset: 2px; }
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.setup-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-sm); }
.setup-card .top { display: flex; justify-content: space-between; align-items: center; }
.setup-card .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--sunken); display: grid; place-items: center; }
.setup-card .ic svg { width: 18px; height: 18px; }
.setup-card h3 { margin: 4px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.setup-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.setup-card .acts { display: flex; gap: 6px; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 550; background: var(--sunken); color: var(--ink-2); }
.pill.ok { background: var(--green-bg); color: var(--green-ink); }
.pill.warn { background: #fff4d6; color: #8a6200; }
.list-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; display: flex; justify-content: space-between; }
.alert-list { display: grid; gap: 12px; }
.alert { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow-sm); }
.alert.paused { opacity: .6; }
.alert-top { display: flex; gap: 16px; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.alert h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.03em; font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.fact { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--bg); font-size: 12.5px; color: var(--ink-2); }
.fact svg { width: 13px; height: 13px; color: var(--muted); }
.alert-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.alert-meta .n { font-size: 13px; color: var(--muted); }
.alert-meta .n b { font: 600 13px var(--mono); color: var(--ink); }
.alert-actions { display: flex; gap: 6px; }
.sent { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sent li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: var(--bg); }
.sent li span:last-child { font: 500 12px var(--mono); color: var(--muted); }
.empty-card { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 22px; padding: 56px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty-card h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.empty-card p { margin: 0; color: var(--muted); max-width: 40ch; }

.auth { max-width: 420px; margin: 72px auto 0; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.auth-card h1, .auth-card h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; font-weight: 650; }
.auth-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.code { font: 600 30px var(--mono) !important; letter-spacing: .4em !important; text-align: center; height: 60px !important; }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 8px; }
.label { font-size: 13px; font-weight: 600; color: var(--ink); }
.label span { font-weight: 400; color: var(--muted); }
.input-lg { height: 48px; border-radius: 14px; font-size: 15px; padding: 0 16px; width: 100%; }
select.input-lg { padding-right: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 550; color: var(--ink-2); }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; background: var(--sunken); border-radius: 14px; }
.tabs button { border: 0; background: transparent; height: 36px; border-radius: 11px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.range { width: 100%; accent-color: var(--ink); }
.radius-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.checks { display: grid; gap: 6px; }
.ch-logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.ch-logo svg { width: 18px; height: 18px; }
.ch-txt { display: grid; line-height: 1.25; }
.ch-txt small { font-size: 12px; font-weight: 400; color: var(--muted); }
.ch-phone { margin: -2px 0 4px; }
.check.soon { opacity: .55; cursor: default; }
.done-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--green-bg); color: var(--green-ink); display: grid; place-items: center; margin: 4px auto 0; }
.done-ic svg { width: 28px; height: 28px; }
.done-txt { text-align: center; font-size: 15px; line-height: 1.5; margin: 0; color: var(--ink-2); }
.tg-btn { gap: 10px; }
.tg-btn .ch-logo { width: 24px; height: 24px; border-radius: 7px; }
.m-model { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--sunken); flex-wrap: wrap; }
.m-model-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.m-model-ic svg { width: 20px; height: 20px; }
.m-model-txt { display: grid; line-height: 1.2; margin-right: auto; }
.m-model-txt span { font-size: 12px; color: var(--muted); }
.m-model-txt b { font-size: 18px; letter-spacing: -.03em; font-weight: 650; }
.check { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 14px; font-weight: 500; transition: border-color .15s; }
.check:has(input:checked) { border-color: var(--ink); }
.check input { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; }
.check .muted { margin-left: auto; font-size: 12px; font-weight: 400; }
.store-pick { max-height: 210px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.store-pick label { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.store-pick label:last-child { border-bottom: 0; }
.store-pick input { accent-color: var(--ink); }
.proof { display: flex; gap: 12px; align-items: start; background: var(--green-bg); color: #0d3d27; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; }
.proof svg { width: 18px; height: 18px; flex: none; color: var(--green-ink); margin-top: 1px; }
.proof.neutral { background: var(--bg); color: var(--ink-2); }
.err { color: var(--red); font-size: 13.5px; margin: 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; }
.perks li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(15, 16, 18, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .18s; }
.sheet { background: var(--surface); border-radius: 28px; width: min(540px, 100%); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: var(--shadow-lg); animation: rise .25s cubic-bezier(.2, .9, .3, 1); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 4px; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.sheet-head h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; font-weight: 650; }
.sheet-body { padding: 14px 24px 24px; display: grid; gap: 20px; }
.x { border: 0; background: var(--sunken); width: 32px; height: 32px; border-radius: 50%; color: var(--ink-2); display: grid; place-items: center; }
.x svg { width: 14px; height: 14px; }
.mini-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-plan { border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: left; background: var(--surface); display: grid; gap: 6px; transition: border-color .15s; }
.mini-plan:hover { border-color: var(--line-strong); }
.mini-plan.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mini-plan .nm { font-weight: 600; font-size: 14px; }
.mini-plan b { font: 650 26px var(--sans); letter-spacing: -.045em; }
.mini-plan span { font-size: 12.5px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(20px) scale(.98); opacity: 0; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; border-radius: 16px; padding: 13px 16px; font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .25s; display: flex; gap: 10px; align-items: center; }

/* ---------- Pied de page ---------- */
.foot { margin-top: 120px; border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-in { display: flex; gap: 48px; justify-content: space-between; align-items: start; }
.foot-in p { max-width: 60ch; margin: 16px 0 0; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

.skeleton { background: linear-gradient(90deg, var(--sunken), #e4e3de, var(--sunken)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 16px; }
  .map-pane { max-width: 640px; }
  .map { min-height: 0; aspect-ratio: 975 / 610; }
  .list-pane { height: auto; max-height: 720px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .setup { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 16px; }
  .nav-in { gap: 8px; }
  .nav-links { margin-right: auto; }
  .nav-links a { padding: 6px 9px; font-size: 13.5px; }
  .nav-links a[data-nav="radar"], .demo-chip { display: none; }
  .intro { padding-top: 28px; }
  .kpis-top { width: 100%; }
  .kpis-top div { min-width: 0; flex: 1; padding: 12px 14px; }
  .kpis-top b { font-size: 19px; }
  .modelbar { margin-top: 24px; }
  .cfg-right { margin-left: 0; width: 100%; }
  .field-search { flex: 1; }
  .field-search .input { width: 100%; }
  .ticker { display: none; }
  .legend { display: none; }
  .row { gap: 10px; padding: 12px 10px; }
  .badge-in, .status b { display: none; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .cfg { min-width: 0; max-width: 100%; }
  .kpis-top span { display: block; font-size: 11px; line-height: 1.3; margin-top: 2px; }
  .list-head { padding: 14px; }
  .chip-toggle { padding: 0 10px; }
  .steps, .plans, .mini-plans { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .band { padding: 32px 24px; margin-top: 72px; }
  .foot-in { flex-direction: column; gap: 20px; }
  .guarantee { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } }
.pop-txt { display: grid; line-height: 1.35; }
.pop-txt small { color: #a9abb1; font-size: 12.5px; }
.toast svg { width: 18px; height: 18px; flex: none; color: #3ee08f; }

/* ---------- Radar : étapes guidées ---------- */
.intro h1 { max-width: none; font-size: clamp(30px, 3.8vw, 46px); }
.lead { font-size: 17px; color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }
.finder { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.fstep { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 22px 24px; }
.fstep + .fstep { border-top: 1px solid var(--line); }
.fstep-n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 13px var(--mono); margin-top: -3px; }
.fstep-title { font-weight: 600; font-size: 15px; letter-spacing: -.02em; margin-bottom: 12px; }
.fstep-title span:not(.m-name) { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; letter-spacing: 0; }
.model-toggle { position: relative; display: inline-flex; margin-top: 22px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; box-shadow: var(--shadow-sm); }
.model-toggle button { position: relative; z-index: 1; border: 0; background: transparent; height: 40px; padding: 0 20px; border-radius: 99px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); transition: color .25s; white-space: nowrap; }
.model-toggle button.on { color: #fff; }
.model-toggle .mt-thumb { position: absolute; left: 4px; top: 4px; bottom: 4px; border-radius: 99px; background: var(--ink); transition: transform .3s cubic-bezier(.3, .7, .2, 1), width .3s; }
.model-toggle + .finder { margin-top: 16px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 8px; }
.model-card { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; transition: border-color .15s, background .15s, transform .1s; }
.model-card:hover { border-color: var(--ink-2); }
.model-card:active { transform: scale(.98); }
.model-card b { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.model-card span { font-size: 12.5px; color: var(--muted); }
.model-card em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #c2410c; margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; }
.model-card em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff6a3d; }
.model-card.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow); }
.model-card.on span { color: #a9abb1; }
.model-card.on em { color: #ffb08f; }
.fstep .configbar { margin: 0; }
.where { display: flex; gap: 8px; flex-wrap: wrap; }
.suggest { position: absolute; z-index: 40; 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: 16px; box-shadow: var(--shadow-lg); max-height: 340px; overflow-y: auto; }
.suggest li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.suggest li.on, .suggest li:hover { background: var(--sunken); }
.suggest li svg { position: static; translate: none; width: 16px; height: 16px; color: var(--muted); flex: none; }
.suggest li span { display: grid; line-height: 1.25; min-width: 0; }
.suggest li b { font-weight: 600; font-size: 14px; }
.suggest li small { font-size: 12px; color: var(--muted); }
.where .field-search { flex: 1; min-width: 220px; max-width: 420px; }
.where .field-search .input { width: 100%; height: 40px; }
.btn-on { background: var(--green-bg); border-color: transparent; color: var(--green-ink); }
.input-sm { height: 30px; font-size: 12.5px; padding: 0 28px 0 12px; box-shadow: none; }

.verdict { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 16px 0 20px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.verdict:empty { display: none; }
.verdict.yes { background: var(--green-bg); border-color: transparent; }
.verdict .v-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); }
.verdict.yes .v-ic { background: var(--green); color: #fff; }
.verdict .v-ic svg { width: 22px; height: 22px; }
.verdict b { display: block; font-size: 17px; letter-spacing: -.025em; font-weight: 600; }
.verdict.yes b { color: #0b3d26; }
.verdict span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 680px) {
  .finder { border-radius: 20px; }
  .fstep { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 18px 14px; }
  .fstep-n { width: 22px; height: 22px; font-size: 11px; margin-top: 0; }
  .fstep-title span:not(.m-name) { display: block; margin: 2px 0 0; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .where .field-search { min-width: 0; max-width: none; flex-basis: 100%; }
  .where .btn { width: 100%; }
  .verdict { grid-template-columns: auto 1fr; }
  .verdict .btn { grid-column: 1 / -1; width: 100%; }
}
