
/* ============ Design system « Fintech claire » ============ */
:root {
  --bg: #f7f8fc;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7e9f2;
  --soft: #f1f3fa;
  --indigo: #4f46e5;
  --indigo-ink: #4338ca;
  --emerald: #10b981;
  --emerald-ink: #047857;
  --red: #dc2626;
  --amber: #b45309;
  --grad: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 8px 30px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-ink); }
h1, h2, h3, h4 { letter-spacing: -.025em; line-height: 1.15; margin: 0; }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .35); outline-offset: 2px; border-radius: 8px; }

/* ---------- Header + mega-menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 16px rgba(79, 70, 229, .35); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 12px; display: flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--soft); color: var(--ink); }
.nav-trigger::after { content: ""; width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item.open .nav-trigger::after { transform: rotate(-135deg) translateY(-1px); }
.panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); z-index: 60; }
.panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item.open .panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega { display: grid; grid-template-columns: 2fr 1fr; width: 780px; padding: 10px; }
.mega ul { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega a { display: block; padding: 12px; border-radius: 14px; color: var(--ink); }
.mega a:hover { background: var(--soft); color: var(--ink); }
.mega .t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.mega .d { margin: 4px 0 0 40px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ico { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #eef2ff, #ecfdf5); color: var(--indigo); }
.ico svg { width: 16px; height: 16px; }
.feat { border-radius: 16px; padding: 20px; background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.feat h6 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.feat p { margin: 0 0 8px; font-weight: 800; font-size: 19px; line-height: 1.25; }
.feat small { opacity: .9; }
.feat a { color: #fff; font-weight: 700; margin-top: 14px; }
.list-panel { width: 280px; padding: 8px; }
.list-panel a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.list-panel a:hover { background: var(--soft); }
.list-panel a span { color: var(--muted); }
.header-cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.drawer { position: fixed; inset: 68px 0 0 0; background: #fff; z-index: 49; overflow-y: auto; padding: 16px 20px 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
.drawer.open { transform: none; opacity: 1; visibility: visible; }
.drawer h6 { margin: 18px 4px 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 12px; color: var(--ink); font-weight: 700; }
.drawer a:hover { background: var(--soft); }
.drawer .btn { margin-top: 20px; width: 100%; justify-content: center; }
@media (max-width: 960px) { .nav, .header-cta { display: none; } .burger { display: inline-flex; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15.5px; border: 0; border-radius: 14px; padding: 14px 22px; cursor: pointer; transition: transform .06s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.btn-primary:hover { background: #1e293b; color: #fff; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .3); }
.btn-grad:hover { color: #fff; box-shadow: 0 14px 30px rgba(79, 70, 229, .38); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 72px 0 28px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -560px; transform: translateX(-50%); background: radial-gradient(circle, rgba(79, 70, 229, .16), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(16, 185, 129, .12), transparent 60%); pointer-events: none; }
.hero > * { position: relative; }
.pill { display: inline-flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pill b { background: #ecfdf5; color: var(--emerald-ink); border-radius: 999px; padding: 3px 10px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin: 22px auto 18px; max-width: 15ch; }
.hero .lead { color: var(--ink-2); font-size: clamp(17px, 2vw, 19px); max-width: 56ch; margin: 0 auto 28px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #ecfdf5; color: var(--emerald-ink); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-sub { color: var(--ink-2); font-size: 18px; max-width: 62ch; margin: 0 0 36px; }
.center { text-align: center; } .center .section-sub { margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.tool-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d6d9ea; color: var(--ink); }
.tool-card .ico { width: 44px; height: 44px; border-radius: 14px; }
.tool-card .ico svg { width: 22px; height: 22px; }
.tool-card h3 { font-size: 21px; margin-top: 6px; }
.tool-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.tool-card .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--indigo); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* ---------- Outils (dashboard) ---------- */
.tool { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: start; text-align: left; }
@media (max-width: 960px) { .tool { grid-template-columns: 1fr; } }
.tool-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tool-head h3 { font-size: 17px; }
.group { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.group:first-child { margin-top: 0; }
.sl { margin-bottom: 18px; }
.sl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sl-top label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.sl-val { display: flex; align-items: center; gap: 4px; background: var(--soft); border-radius: 10px; padding: 4px 10px; font-weight: 800; font-size: 14.5px; }
.sl-val input { width: 92px; border: 0; background: none; font: inherit; text-align: right; color: var(--ink); padding: 2px 0; }
.sl-val input:focus { outline: none; }
.sl-val small { color: var(--muted); font-weight: 700; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin-top: 12px; background: linear-gradient(90deg, var(--indigo) var(--p, 50%), #e4e7f1 var(--p, 50%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--indigo); box-shadow: 0 2px 8px rgba(79, 70, 229, .35); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--indigo); box-shadow: 0 2px 8px rgba(79, 70, 229, .35); }
.seg { display: flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { flex: 1; text-align: center; padding: 9px 8px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=number]:focus, select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }

.result-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.big { font-size: clamp(34px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 4px 0 6px; }
.big.good { color: var(--emerald-ink); } .big.bad { color: var(--red); } .big.neutral { color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.badge.good { background: #ecfdf5; color: var(--emerald-ink); } .badge.bad { background: #fef2f2; color: var(--red); } .badge.warn { background: #fffbeb; color: var(--amber); } .badge.neutral { background: var(--soft); color: var(--ink-2); }
.kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
@media (max-width: 560px) { .kp { grid-template-columns: 1fr 1fr; } }
.kp div { background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.kp small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.kp b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.chart { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.lines { margin-top: 10px; }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.line b { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps-list { list-style: none; margin: 14px 0 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.steps-list li span { font-weight: 800; color: var(--indigo); font-size: 13px; }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; background: #eef2ff; color: #312e81; margin: 14px 0; }

/* Travaux */
.el-row { display: grid; grid-template-columns: 1.4fr .8fr .9fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.el-row:first-of-type { border-top: 0; }
.el-name { font-weight: 700; font-size: 15px; }
.el-name small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.el-row input { padding: 10px 12px; font-size: 15px; }
@media (max-width: 640px) { .el-row { grid-template-columns: 1fr 1fr; } .el-name { grid-column: 1 / -1; } .el-row .badge { grid-column: 1 / -1; justify-self: start; } }
.prio { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); margin-bottom: 8px; font-size: 14.5px; }
.prio b { font-variant-numeric: tabular-nums; }

/* Lead */
.lead-card { margin-top: 18px; border-radius: var(--radius); padding: 26px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.lead-card::before { content: ""; position: absolute; width: 400px; height: 400px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(79, 70, 229, .5), transparent 60%); }
.lead-card > * { position: relative; }
.lead-card h3 { font-size: 22px; margin-bottom: 6px; }
.lead-card p { color: #cbd5e1; margin: 0 0 16px; font-size: 15px; }
.lead-card label { color: #e2e8f0; }
.lead-card .check { color: #cbd5e1; }
.lead-card input[type=text], .lead-card input[type=email], .lead-card input[type=tel] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.lead-card input::placeholder { color: #94a3b8; }
.lead-card a { color: #a5b4fc; }
.lead-card .btn { width: 100%; justify-content: center; }
.err { color: #fca5a5; font-size: 14px; margin-top: 8px; min-height: 1em; }
.card .err { color: var(--red); }

/* Profils */
.profile { display: flex; flex-direction: column; gap: 10px; }
.profile .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--soft); }
.profile h3 { font-size: 19px; }
.profile .sum { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

/* Alertes */
.alert-band { border-radius: 28px; padding: 44px; background: var(--grad); color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.alert-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.alert-band p { color: rgba(255, 255, 255, .9); }
.alert-band form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 16px; }
.alert-band input { border: 0 !important; box-shadow: none !important; }
.alert-band .ok { font-weight: 700; }
@media (max-width: 860px) { .alert-band { grid-template-columns: 1fr; padding: 30px; } }

/* Contenu */
.page-head { padding: 56px 0 18px; }
.crumbs { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.page-head p { color: var(--ink-2); font-size: 19px; max-width: 62ch; margin: 0; }
.prose { color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 26px; font-weight: 800; margin: 40px 0 12px; }
.prose li { margin: 6px 0; }
.prose b { color: var(--ink); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 22px; line-height: 1; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }
.cta-band { border-radius: 24px; background: var(--ink); color: #fff; padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 40px 0; }
.cta-band p { margin: 0; font-size: 20px; font-weight: 800; }
.sources { font-size: 14px; }
.sources a { word-break: break-word; }

/* Footer */
.site-footer { background: #0b1120; color: #94a3b8; padding: 56px 0 40px; font-size: 14.5px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { display: block; color: #cbd5e1; margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; font-size: 13px; }
@media (max-width: 960px) { .site-header .header-cta { display: none; } }
.logo { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: 16px; } .wrap { padding: 0 18px; } .card { padding: 20px; } }

/* ---------- Données du jour ---------- */
.rates-strip{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;background:#fff;border:1px solid var(--line,#e2e8f0);border-radius:18px;padding:12px;box-shadow:0 6px 24px -14px rgba(79,70,229,.25)}
.rates-live{display:flex;flex-direction:column;justify-content:center;padding:6px 12px;font-weight:700;font-size:14px;min-width:150px}
.rates-live small{font-weight:500;color:#64748b;font-size:12px}
.rates-live .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981;margin-right:6px;box-shadow:0 0 0 4px rgba(16,185,129,.18);vertical-align:middle}
.rate{flex:1 1 120px;background:#f8fafc;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column}
.rate span{font-size:12px;color:#64748b;font-weight:600}
.rate b{font-size:20px;letter-spacing:-.02em}
.rate small{font-size:11px;color:#94a3b8}
.rates-more{align-self:center;padding:8px 12px;font-weight:700;font-size:14px;color:#4f46e5;text-decoration:none;white-space:nowrap}
.chart{width:100%;height:auto;display:block}
.legend{display:flex;gap:16px;font-size:13px;color:#475569;margin-top:6px}
.legend i{display:inline-block;width:12px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}
.news{display:grid;gap:12px;margin:12px 0 26px}
.news-item{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit}
.news-item .go{color:#4f46e5;font-weight:700;font-size:14px}
@media (max-width:640px){.rates-live{min-width:100%;padding:2px 4px 6px}.rate{flex:1 1 40%}.rates-more{width:100%;text-align:center}}
.pill b{white-space:nowrap}

/* ---------- Actions sous les résultats ---------- */
.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.tbtn{font:inherit;font-size:14px;font-weight:700;border:1px solid #e2e8f0;background:#fff;color:#0f172a;border-radius:12px;padding:9px 14px;cursor:pointer;min-height:44px}
.tbtn:hover{border-color:#4f46e5;color:#4f46e5}
.tbtn.ghost{background:transparent;color:#64748b}
.linkbtn{font:inherit;font-size:inherit;background:none;border:0;padding:0;color:#4f46e5;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.vl-help{background:#eef2ff;border-radius:14px;padding:14px;margin:-4px 0 16px}
.vl-help label{font-weight:700;font-size:14px;display:block;margin-bottom:8px}
.vl-row{display:flex;align-items:center;gap:8px;font-weight:700;color:#475569}
.vl-row input{flex:1;font:inherit;font-weight:700;font-size:18px;border:1px solid #c7d2fe;border-radius:10px;padding:10px 12px;min-width:0;background:#fff}
.vl-help .help{margin:8px 0 0}
:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* ---------- Impression : le résultat proprement, sans le décor ---------- */
@media print{
  .site-header,.drawer,.site-footer,.lead-card,[data-lead],.toolbar,.no-print,.alert-band,.cta-band,.hero-ctas,.burger,.tool-card,.rates-more{display:none!important}
  body{background:#fff;font-size:12pt}
  .tool{display:block!important}
  .card{box-shadow:none!important;border:1px solid #ddd;break-inside:avoid;margin-bottom:12px}
  input[type=range]{display:none}
  a{color:inherit;text-decoration:none}
  main::after{content:"Estimation indicative — valeurlocative2029.ch";display:block;margin-top:16px;font-size:9pt;color:#666}
}
.formula{background:#0f172a;color:#e2e8f0;border-radius:12px;padding:14px 16px;font-size:14px;white-space:pre-wrap;overflow-x:auto}
.byline{font-size:13px;color:#64748b;margin:-6px 0 14px}
.byline a{color:#4f46e5}
.related{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.related .plain{list-style:none;padding:0;margin:8px 0 0}.related .plain li{margin:8px 0}
.answer{background:#ecfdf5;border-left:4px solid #10b981;border-radius:12px;padding:14px 16px;font-weight:600;color:#064e3b;margin:0 0 18px}
.table-wrap{overflow-x:auto;margin:14px 0}
.prose table{border-collapse:collapse;width:100%;font-size:15px}.prose th,.prose td{border-bottom:1px solid #e2e8f0;padding:9px 10px;text-align:left;vertical-align:top}.prose th{background:#f8fafc;font-weight:700}
@media (max-width:720px){.related{grid-template-columns:1fr}}
