/* L'Observatoire du Cash — feuille de style publique
   Palette RECOLIA ; graphiques : série 1 #2a5fa8, série 2 #eb6834 (validées contraste et daltonisme). */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin.woff2") format("woff2-variations"), url("fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2-variations"), url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-italic.woff2") format("woff2-variations"), url("fonts/inter-latin-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --navy: #204883; --navy-900: #173767; --navy-950: #0f2647; --navy-50: #eef3fb; --card: #f8fbff;
  --ink: #1e2933; --ink-2: #5b6b7f; --rule: #dde6f2; --grid: #e6ecf4; --axis: #c9d3e0;
  --series-1: #2a5fa8; --series-2: #eb6834; --muted-mark: #a3b1c2;
  --green: #15803d; --green-hover: #166534; --orange: #b45309; --orange-50: #fef7f2; --orange-rule: #f5d9bf;
  --good: #15803d; --bad: #b42318;
  --bg: #ffffff; --bg-soft: #f5f8fc;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(23, 55, 103, .06), 0 10px 28px rgba(23, 55, 103, .07);
  --wrap: 1200px; --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #86b6ef; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy-950); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 31px); }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 1em; }
small, .small { font-size: 14px; }
.muted { color: var(--ink-2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: 48px 0; }
.section + .section { padding-top: 8px; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 600; font-size: 15px; white-space: nowrap; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.lead { font-size: clamp(18px, 2.2vw, 20px); color: var(--ink-2); line-height: 1.6; }

/* ───────── En-tête ───────── */
.topbar { background: var(--navy-950); color: #c8d6ec; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .date::first-letter { text-transform: uppercase; }
.masthead { border-bottom: 1px solid var(--rule); background: #fff; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.brand { text-decoration: none; color: var(--navy-950); display: inline-flex; flex-direction: column; line-height: 1; }
.brand:hover { color: var(--navy-950); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: clamp(25px, 3.6vw, 36px); letter-spacing: -.015em; }
.brand-name em { font-style: normal; color: var(--navy); }
.brand-by { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 7px; font-weight: 600; }
.masthead .actions { display: flex; gap: 10px; align-items: center; }
.nav { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 13px 12px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.ticker { background: var(--card); border-bottom: 1px solid var(--rule); font-size: 14px; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker ul::-webkit-scrollbar { display: none; }
.ticker li { padding: 9px 0; }
.ticker a { color: var(--ink); text-decoration: none; }
.ticker a:hover b { text-decoration: underline; }
.ticker span { color: var(--ink-2); margin-right: 6px; }
.ticker b { font-weight: 650; color: var(--navy-950); }
.breadcrumbs { font-size: 14px; color: var(--ink-2); margin: 22px 0 10px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--axis); }
.breadcrumbs a { color: var(--ink-2); }

/* ───────── Boutons et formulaires ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 15.5px/1.2 var(--sans); padding: 12px 20px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.btn-cta { background: var(--green); color: #fff; }
.btn-cta:hover { background: var(--green-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-950); }
.btn-light:hover { background: var(--navy-50); color: var(--navy-950); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid #c9d3e0; border-radius: var(--radius-sm); padding: 11px 13px;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(42, 95, 168, .18); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.5; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-size: 13.5px; color: var(--ink-2); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 18px; font-size: 15.5px; }
.alert-ok { background: #ecfdf3; border: 1px solid #b7e4c7; color: #14532d; }
.alert-error { background: #fef2f2; border: 1px solid #f5c2c2; color: #7f1d1d; }
.alert-info { background: var(--navy-50); border: 1px solid #c7d9f0; color: var(--navy-950); }

/* ───────── Cartes et tuiles ───────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.card-soft { background: var(--card); }

.tile { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 18px 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: #b9cbe4; box-shadow: var(--shadow); color: var(--ink); }
.tile-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tile-value { font-family: var(--sans); font-weight: 650; font-size: 30px; letter-spacing: -.02em; color: var(--navy-950); line-height: 1.1; }
.tile-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tile-period { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 4px; line-height: 1.4; }
.spark { display: block; width: 104px; height: 34px; flex: 0 0 auto; margin-bottom: 2px; }
.spark polyline { fill: none; stroke: var(--muted-mark); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--series-1); stroke: #fff; stroke-width: 2; }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.delta .ico { width: 15px; height: 15px; }
.delta.good { color: var(--good); }
.delta.bad { color: var(--bad); }
.delta small { font-weight: 400; color: var(--ink-2); }

.hero-figure { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; padding: 26px 0 8px; border-bottom: 1px solid var(--rule); margin-bottom: 26px; }
.hero-figure .value { font-family: var(--sans); font-weight: 700; font-size: clamp(48px, 8vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--navy-950); }
.hero-figure .meta { padding-bottom: 6px; }
.hero-figure .label { font-weight: 650; font-size: 17px; }
.hero-figure .period { color: var(--ink-2); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 30px; }
.fact { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; color: var(--ink); display: block; }
a.fact:hover { border-color: #b9cbe4; color: var(--ink); }
.fact .k { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.fact .v { font-size: 22px; font-weight: 650; color: var(--navy-950); letter-spacing: -.01em; }
.fact .n { font-size: 13px; color: var(--ink-2); }

/* ───────── Articles ───────── */
.story { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.story:hover { color: var(--ink); }
.story:hover .story-title { color: var(--navy); }
.story-title { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--navy-950); margin: 0; }
.story-chapo { color: var(--ink-2); font-size: 16px; margin: 0; }
.story-meta { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; }
.story-lead .story-title { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.15; }
.story-lead .story-chapo { font-size: 18.5px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.lead-side { border-left: 1px solid var(--rule); padding-left: 32px; display: flex; flex-direction: column; gap: 22px; }
.lead-side .story-title { font-size: 19px; }
.lead-side .story + .story { border-top: 1px solid var(--rule); padding-top: 20px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--navy-50); padding: 4px 10px; border-radius: 999px; }
.badge-orange { color: var(--orange); background: var(--orange-50); }
.badge-gray { color: var(--ink-2); background: #eef1f5; }
.empty-state { border: 1px dashed var(--axis); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--ink-2); background: var(--card); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-head h1 { margin-top: 10px; }
.byline { font-size: 14.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 20px; }
.byline strong { color: var(--ink); font-weight: 600; }
.keypoints { background: var(--navy-50); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0 30px; }
.keypoints h2 { font-family: var(--sans); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.keypoints ul { margin: 0; padding-left: 20px; }
.keypoints li { margin-bottom: 6px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(23px, 2.8vw, 28px); margin: 1.8em 0 .6em; scroll-margin-top: 70px; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--navy); font-family: var(--serif); font-size: 21px; color: var(--navy-950); }
.prose table, .data-table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 0; }
.prose table { margin: 1.4em 0; }
.prose th, .data-table th { background: var(--navy); color: #fff; text-align: left; padding: 11px 14px; font-weight: 650; font-size: 14.5px; }
.prose td, .data-table td { padding: 10px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.prose tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: var(--card); }
.num, .data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.prose .encadre, .prose .encadre-conseil { background: var(--navy-50); border-left: 5px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 1.5em 0; }
.prose .encadre-juridique { background: var(--orange-50); border: 1px solid var(--orange-rule); border-left: 5px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 1.5em 0; }
.prose .encadre-juridique strong:first-child { color: var(--orange); }
.prose .encadre-chiffre { border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 22px; margin: 1.5em 0; font-size: 19px; text-align: center; background: #fff; }
.prose .encadre-chiffre strong { font-size: 30px; color: var(--navy-950); letter-spacing: -.02em; }
.prose .encadre > :last-child, .prose .encadre-juridique > :last-child, .prose .encadre-chiffre > :last-child, .prose .encadre-conseil > :last-child { margin-bottom: 0; }
.view-box { background: var(--navy); background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #dce7f7; border-radius: 16px; padding: 26px 28px; margin: 36px 0; }
.view-box h2 { color: #fff; font-size: 22px; margin: 0 0 10px; }
.view-box p { margin: 0; font-size: 17px; }
.sources ol { padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.sources li { margin-bottom: 6px; }
.disclosure { font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 30px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0; }
.aside-block { border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; background: #fff; }
.aside-block h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 15px; }
.toc li { margin-bottom: 6px; }
.article-aside { position: sticky; top: 72px; }
.mini-tile { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; text-decoration: none; color: var(--ink); }
.mini-tile:first-of-type { border-top: 0; }
.mini-tile b { color: var(--navy-950); }

/* ───────── FAQ ───────── */
.faq details { border: 1px solid var(--rule); border-radius: 12px; margin-bottom: 12px; background: #fff; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--navy-950); font-size: 17px; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin: 0; color: var(--ink-2); }

/* ───────── Bandeaux ───────── */
.cta-band { background: var(--navy); background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #dce7f7; border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0 0 12px; }
.cta-band ul { margin: 0; padding-left: 20px; }
.cta-band .card { color: var(--ink); }
.cta-card { background: var(--card); border: 1px solid #c7d9f0; border-radius: 16px; padding: 24px; }
.cta-card h3 { margin-bottom: 8px; }
.cta-card, .cta-card label { color: var(--ink); }
.newsletter-band { background: var(--navy-50); border-radius: 18px; padding: clamp(22px, 4vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.newsletter-band h2 { font-size: clamp(22px, 2.6vw, 28px); }

/* ───────── Fil officiel ───────── */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); }
.feed li:first-child { border-top: 0; }
.feed time { font-size: 13.5px; color: var(--ink-2); }
.feed a { font-weight: 600; text-decoration: none; color: var(--navy-950); }
.feed a:hover { text-decoration: underline; }
.feed .src { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* ───────── Graphiques ───────── */
.chart { margin: 0 0 26px; }
.chart-wrap { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.chart svg:focus-visible { outline-offset: 4px; }
.chart .grid { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .grid.base { stroke: var(--axis); }
.chart .tickmark { stroke: var(--axis); stroke-width: 1; }
.chart .tick { fill: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { opacity: .1; }
.chart .dot { stroke: #fff; stroke-width: 2; }
.chart .endlabel, .chart .caplabel { fill: var(--ink); font-size: 13px; font-weight: 650; }
.chart .refline { stroke: #8f9db1; stroke-width: 1; }
.chart .reflabel { fill: var(--ink-2); font-size: 12px; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .xhair { stroke: var(--ink-2); stroke-width: 1; opacity: 0; }
.chart.is-hover .xhair { opacity: .55; }
.chart .hover-dot { stroke: #fff; stroke-width: 2; }
.chart .col path { transition: opacity .12s; }
.chart .col:hover path, .chart .col:focus path { opacity: .82; }
.chart .col:focus { outline: none; }
.chart .col-hit { fill: transparent; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); padding: 9px 12px; font-size: 13.5px; min-width: 150px; }
.chart-tip .t-date { color: var(--ink-2); font-size: 12.5px; margin-bottom: 4px; }
.chart-tip .t-row { display: flex; align-items: center; gap: 8px; }
.chart-tip .t-row i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; flex: 0 0 auto; }
.chart-tip .t-row b { font-weight: 700; color: var(--ink); }
.chart-tip .t-row span { color: var(--ink-2); }
.chart figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.chart figcaption a { color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.legend .key { display: inline-flex; align-items: center; gap: 8px; }
.legend .k-line { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.chart-table { margin-top: 10px; font-size: 14px; }
.chart-table summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 14px; }
.chart-table .table-scroll { margin-top: 10px; max-height: 360px; }
.chart-table table { width: 100%; border-collapse: collapse; }
.chart-table th { position: sticky; top: 0; background: var(--card); text-align: left; padding: 8px 12px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.chart-table td { padding: 7px 12px; border-top: 1px solid var(--rule); }
.chart-empty { color: var(--ink-2); font-style: italic; }
@media (max-width: 640px) {
  .chart .tick { font-size: 21px; }
  .chart .tick.alt { display: none; }
  .chart .endlabel, .chart .caplabel { font-size: 21px; }
  .chart .reflabel { font-size: 19px; }
}

.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(130px, 38%) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; }
.hbar-label { line-height: 1.3; }
.hbar-label a { color: var(--ink); text-decoration: none; }
.hbar-label a:hover { color: var(--navy); text-decoration: underline; }
.hbar-label small { color: var(--ink-2); }
.hbar-track { display: block; height: 20px; }
.hbar-fill { display: block; height: 20px; background: var(--series-1); border-radius: 0 4px 4px 0; min-width: 3px; }
.has-focus .hbar-fill { background: var(--muted-mark); }
.has-focus .is-focus .hbar-fill { background: var(--series-1); }
.has-focus .is-focus .hbar-label { font-weight: 700; }
.hbar-value { font-weight: 650; font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: right; }

/* ───────── Outils ───────── */
.tool { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 3vw, 28px); margin: 0 0 30px; }
.tool h2 { font-size: 24px; }
.tool-result { margin-top: 18px; background: #fff; border: 1px solid #c7d9f0; border-radius: 12px; padding: 16px 18px; }
.tool-result .big { font-size: 30px; font-weight: 700; color: var(--navy-950); letter-spacing: -.02em; }
.company { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; margin-bottom: 26px; }
.company-head { background: var(--card); padding: 20px 22px; border-bottom: 1px solid var(--rule); }
.company-head h2 { margin: 0 0 6px; font-size: 26px; }
.company-body { padding: 20px 22px; }
.signal { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.signal .ico { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }
.signal-red { background: #fef2f2; border: 1px solid #f5c2c2; }
.signal-red .ico { color: var(--bad); }
.signal-orange { background: var(--orange-50); border: 1px solid var(--orange-rule); }
.signal-orange .ico { color: var(--orange); }
.signal-green { background: #ecfdf3; border: 1px solid #b7e4c7; }
.signal-green .ico { color: var(--good); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 12px 0 12px 22px; border-left: 2px solid var(--rule); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--series-1); }
.timeline .when { font-size: 13.5px; color: var(--ink-2); }
.results { list-style: none; padding: 0; margin: 16px 0 0; }
.results li { border-top: 1px solid var(--rule); }
.results a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; text-decoration: none; color: var(--ink); }
.results a:hover { background: var(--card); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.example-mail { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; font-size: 15px; box-shadow: var(--shadow); }
.example-mail .from { font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 10px; }

/* ───────── Pied de page ───────── */
.footer { background: var(--navy-950); color: #b9c8de; margin-top: 64px; font-size: 15px; }
.footer .wrap { padding-top: 44px; padding-bottom: 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8fa6c8; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand-name { color: #fff; font-size: 26px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; }
.pagination span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rule); font-size: 14.5px; text-decoration: none; color: var(--ink); background: #fff; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.preview-banner { background: #fef3c7; border-bottom: 1px solid #f2c94c; color: #713f12; font-size: 14px; font-weight: 600; text-align: center; padding: 10px 16px; }
.demo-banner { background: #fff7ed; border-bottom: 1px solid var(--orange-rule); color: #7c2d12; font-size: 14px; text-align: center; padding: 8px 16px; }

/* ───────── Adaptation ───────── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .lead-grid, .cta-band, .newsletter-band, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .lead-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; }
  .masthead .actions .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { padding: 14px 14px 12px; }
  .tile .spark { display: none; }
  .tile .delta small { display: block; width: 100%; }
  .tile .delta { flex-wrap: wrap; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 34px 0; }
  .topbar .tagline { display: none; }
  .masthead .actions .btn { padding: 9px 12px; font-size: 14px; }
  .hbar { grid-template-columns: minmax(0, 1fr) auto; }
  .hbar-track { grid-column: 1 / -1; grid-row: 2; height: 14px; }
  .hbar-fill { height: 14px; }
  .feed li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 17px; }
  .tile-value { font-size: 24px; }
  .tile-label { font-size: 13px; line-height: 1.3; }
}
@media print {
  .nav, .ticker, .topbar, .footer, .share, .article-aside, .cta-band, .newsletter-band { display: none !important; }
}
