/* The market-study article (/fr/blogs/etude-marche-cagnotte-en-ligne), laid out on its own like
   the interface study and scoped under .msa. Generated by docs/research/2026-10-09-etude-marche/export_blog.py. */
/* Layout: the Memorable research-paper layout — a centred hero, a sky results band,
   then a reading column with a sticky contents rail; every chart sits in a white card.
   Single light theme on purpose: it mirrors the blog's own ground. */
.msa{
  --bg:#fcfaf7; --surface:#f4f1eb; --card:#ffffff; --ink:#222222; --ink-2:#454745; --muted:#636862;
  --line:#ebece8; --line-strong:#d9dbd4; --brand:#163300; --link:#1F7138; --link-line:#2a994c66; --brand-ink:#ffffff; --lime:#9fe870;
  --sky:#edf8ff; --sky-strong:#d8ecfd; --sky-ink:#0e3dd5; --peach:#fff6eb; --peach-ink:#a1480b;
  --c-ha:#3b5bdb; --c-lpc:#0c8599; --c-tri:#c2255c; --c-op:#e8590c; --c-lcdp:#5c940d; --c-cot:#7048e8;
  --c-don:#e67700; --c-why:#1098ad; --c-lorg:#ae3ec9; --c-lee:#8a8f87; --c-pap:#b5b9b1; --c-mem:#163300;
  --c-free:#008300; --c-prop:#4a3aa7; --c-pre:#e34948;
  --display:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;
  --body:"Schibsted Grotesk","Helvetica Neue",Arial,sans-serif;
  /* Tabular digits only: the font's tabular-nums also widens . and , to a digit. */
  --figures:"Schibsted Grotesk Figures",var(--body);
  color-scheme:light;
}
.msa, .msa *{box-sizing:border-box}
.msa{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 var(--body);-webkit-font-smoothing:antialiased}
.msa h1, .msa h2, .msa h3, .msa h4, .msa p, .msa figure, .msa ul, .msa ol, .msa table{margin:0}
.msa ul, .msa ol{padding:0}
.msa a{color:var(--link);font-weight:500;text-decoration:underline;text-decoration-color:var(--link-line);text-decoration-thickness:1px;text-underline-offset:3px}
.msa a:hover{color:var(--brand);text-decoration-color:currentColor}
.msa h1, .msa h2, .msa h3{font-family:var(--display);text-wrap:balance;letter-spacing:-0.03em;color:var(--ink)}
.msa :focus-visible{outline:2px solid var(--sky-ink);outline-offset:3px;border-radius:6px}
.msa .page{padding-inline:clamp(16px,4vw,48px)}
.msa .wrap{max-width:1180px;margin:0 auto}
.msa .tab{font-family:var(--figures)}

/* Hero */
.msa .hero{padding-block:clamp(28px,5vw,56px) 28px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.msa .pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.msa .pill{padding:4px 12px;border-radius:99px;font-size:13px;font-weight:600;background:var(--sky);color:var(--sky-ink)}
.msa .pill.dark{background:var(--brand);color:var(--brand-ink)}
.msa .hero h1{max-width:19ch;font-size:clamp(36px,5.6vw,62px);line-height:1.02;font-weight:700;letter-spacing:-0.04em}
.msa .crumb{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--ink-2);text-decoration:none}
.msa .disclosure{max-width:62ch;font-size:14px;line-height:1.5;color:var(--muted)}
.msa .dek{max-width:62ch;font-size:clamp(17px,1.7vw,20px);line-height:1.5;font-weight:500;color:var(--ink-2)}
.msa .meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;font-size:14px;color:var(--muted)}
.msa .preface{max-width:64rem;margin:0 auto 8px;padding:22px 26px;border-radius:24px;background:var(--surface);display:flex;flex-direction:column;gap:10px}
.msa .preface-k{font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.msa .preface-body{font-size:15.5px;line-height:1.6;color:var(--ink-2)}
@media (min-width:900px){.msa .preface-body{column-count:2;column-gap:40px}}

/* Results band */
.msa .results{padding-block:clamp(36px,5vw,64px);background:linear-gradient(180deg,transparent 0%,var(--sky-strong) 18%,var(--sky-strong) 82%,transparent 100%)}
.msa .results h2{text-align:center;font-size:clamp(26px,3vw,36px);line-height:1.1;margin-bottom:8px}
.msa .results section.s{max-width:960px;margin:0 auto}
.msa .results .prose, .msa .results .hint{margin-inline:auto}
.msa .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;list-style:none}
.msa .kpi{display:flex;flex-direction:column;gap:8px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:26px;box-shadow:0 6px 30px rgba(0,0,0,.04);min-width:0}
.msa .kpi b{font-family:var(--display);font-size:clamp(34px,3.6vw,46px);font-weight:600;letter-spacing:-0.04em;line-height:1}
.msa .kpi span{font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.msa .kpi small{font-size:12.5px;color:var(--muted)}
.msa .chip{align-self:flex-start;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:700;background:var(--surface);color:var(--muted)}
.msa .chip.est{background:var(--peach);color:var(--peach-ink)}
.msa .caveat{display:flex;gap:12px;align-items:flex-start;max-width:52rem;margin:22px auto 0;padding:16px 18px;border-radius:18px;background:var(--peach);font-size:15px;line-height:1.55;color:var(--ink-2)}
.msa .caveat strong{color:var(--ink)}

/* Body */
.msa .body{display:flex;flex-direction:row-reverse;flex-wrap:wrap;align-items:flex-start;gap:32px clamp(28px,4vw,56px);padding-block:40px 24px}
.msa .toc{flex:1 1 240px;max-width:100%;position:sticky;top:calc(env(safe-area-inset-top,0px) + 16px)}
.msa .toc details{padding:18px;border-radius:22px;background:var(--surface)}
.msa .toc summary{cursor:pointer;font-weight:600;font-size:15px}
.msa .toc ol{list-style:none;margin-top:10px;display:flex;flex-direction:column;gap:1px}
.msa .toc li.part{margin-top:10px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-left:8px}
.msa .toc a{display:block;padding:5px 8px;border-radius:9px;font-size:14px;line-height:1.35;color:var(--ink-2);text-decoration:none}
.msa .toc a:hover{background:var(--card);color:var(--ink)}
@media (max-width:900px){.msa .toc{position:static}}
.msa article{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:20px}
.msa .part-head{margin-top:36px;padding-top:22px;border-top:2px solid var(--brand);display:flex;flex-direction:column;gap:6px}
.msa .part-head:first-child{margin-top:0}
.msa .part-head .k{font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.msa .part-head h2{font-size:clamp(28px,3.2vw,40px);line-height:1.05;font-weight:700}
.msa section.s{display:flex;flex-direction:column;gap:14px;scroll-margin-top:20px}
.msa section.s>h3{font-size:clamp(21px,2.2vw,27px);line-height:1.15;font-weight:700;margin-top:18px}
.msa .prose{max-width:70ch}
.msa .hint{font-size:14.5px;line-height:1.55;color:var(--ink-2);max-width:70ch}
.msa figure.card{padding:18px;background:var(--card);border:1px solid var(--line);border-radius:22px;display:flex;flex-direction:column;gap:12px;min-width:0}
.msa figure.card figcaption{font-size:13.5px;line-height:1.5;color:var(--muted)}
.msa .fig-title{font-size:15px;font-weight:600;color:var(--ink)}
.msa .chartbox{position:relative;width:100%;height:340px}
.msa .chartbox.tall{height:420px}
.msa .chartbox.short{height:260px}
.msa .tools{display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:space-between;align-items:center}
.msa .seg-a{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--surface)}
.msa .seg-a button{border:0;background:none;padding:5px 12px;border-radius:8px;font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer}
.msa .seg-a button[aria-pressed="true"]{background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--line-strong)}
.msa .switch{display:inline-flex;align-items:center;gap:10px;border:0;background:none;padding:6px 0;font:inherit;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;text-align:left}
.msa .switch__track{flex:0 0 auto;position:relative;width:38px;height:22px;border-radius:99px;background:var(--line-strong);transition:background .15s ease}
.msa .switch__knob{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:99px;background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s ease}
.msa .switch[aria-checked="true"] .switch__track{background:var(--brand)}
.msa .switch[aria-checked="true"] .switch__knob{transform:translateX(16px)}
.msa .check{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:6px 0;font:inherit;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer}
.msa .check i{width:16px;height:16px;border-radius:4px;background:var(--brand);display:inline-block}
.msa .check[aria-pressed="false"]{color:var(--muted)}
.msa .check[aria-pressed="false"] i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.msa .legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13.5px;color:var(--ink-2);list-style:none}
.msa .legend li{display:inline-flex;align-items:center;gap:7px}
.msa .legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.msa .legend i.hollow{background:transparent!important;box-shadow:inset 0 0 0 2px var(--muted);border-radius:99px}
.msa .srcpanel{font-size:13px;line-height:1.5;color:var(--muted);border-top:1px dashed var(--line-strong);padding-top:8px;min-height:2.6em}
.msa .srcpanel q{color:var(--ink)}
.msa .note{padding:16px 18px;border-radius:18px;background:var(--peach);font-size:15px;line-height:1.55;color:var(--ink-2)}
.msa .note.sky{background:var(--sky)}
.msa .note b{color:var(--ink)}
.msa .tablewrap{overflow-x:auto;border:1px solid var(--line-strong);border-radius:18px;background:var(--card)}
.msa #rev-table{min-width:860px}
.msa #ctx-table, .msa #tot-table{min-width:640px}
.msa #ratio-table, .msa #ratio-other, .msa #ordre-table{min-width:520px}
.msa table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.4}
.msa th, .msa td{padding:9px 12px;text-align:left;vertical-align:top}
.msa thead th{background:var(--surface);font-weight:600;font-size:12.5px;color:var(--ink-2)}
.msa tbody tr+tr td, .msa tbody tr+tr th{border-top:1px solid var(--line)}
.msa tfoot td{border-top:2px solid var(--line-strong);font-weight:600}
.msa td.n, .msa th.n{text-align:right;white-space:nowrap;font-family:var(--figures)}
.msa td .sub{display:block;font-size:12px;color:var(--muted)}
.msa td .sub.up{color:#2b7a0b}
.msa td.com{background:repeating-linear-gradient(135deg,var(--surface) 0 6px,transparent 6px 12px);color:var(--muted)}
.msa td .sub.down{color:#c33a2a}
.msa .key{width:10px;height:10px;border-radius:3px;display:inline-block;margin-right:7px;vertical-align:-1px}
.msa .grid td.c{text-align:center;font-size:12.5px;white-space:nowrap;font-family:var(--figures)}
.msa .grid td.c span.t{display:inline-block;background:var(--surface);color:var(--muted);border-radius:6px;padding:1px 6px;font-size:11.5px}
.msa .grid td.ca{font-weight:600}
.msa details.more{border:1px solid var(--line);border-radius:16px;padding:10px 14px;background:var(--card)}
.msa details.more summary{cursor:pointer;font-weight:600;font-size:14.5px}
.msa details.more[open] summary{margin-bottom:10px}
.msa details.more .inner{display:flex;flex-direction:column;gap:10px;font-size:14.5px;line-height:1.55;color:var(--ink-2)}
.msa details.more ul{padding-left:18px;display:flex;flex-direction:column;gap:6px}
.msa .limits{list-style:none;display:flex;flex-direction:column;gap:8px}
.msa .limits li{padding-left:18px;position:relative}
.msa .limits li::before{content:"";position:absolute;left:2px;top:.75em;width:7px;height:2px;background:var(--muted)}
.msa .range{display:flex;flex-direction:column;gap:10px}
.msa .range-row{display:grid;grid-template-columns:minmax(0,11rem) minmax(0,1fr) auto;gap:12px;align-items:center;font-size:14px}
.msa .range-track{position:relative;height:14px;border-radius:99px;background:var(--surface)}
.msa .range-track i{position:absolute;top:0;bottom:0;border-radius:99px}
@media (max-width:620px){.msa .range-row{grid-template-columns:1fr}}
.msa sup.ref{font-size:10.5px;font-weight:600;margin-left:1px;line-height:0}
.msa sup.ref a{text-decoration:none;color:var(--link);font-weight:600;white-space:nowrap}
.msa sup.ref a::before{content:"["}.msa sup.ref a::after{content:"]"}
.msa ol.sources{list-style:none;display:flex;flex-direction:column;gap:2px;font-size:13.5px;line-height:1.5}
.msa ol.sources li{display:grid;grid-template-columns:2.6em minmax(0,1fr);gap:8px;padding:7px 8px;border-radius:10px;scroll-margin-top:16px}
.msa ol.sources li:target{background:var(--sky)}
.msa ol.sources .num{font-weight:700;color:var(--muted);text-align:right;font-family:var(--figures)}
.msa ol.sources a{word-break:break-word}
.msa ol.sources .k{font-size:11.5px;font-weight:600;color:var(--muted);background:var(--surface);border-radius:6px;padding:0 6px;margin-left:4px}
.msa ol.sources details{font-size:12.5px}
.msa ol.sources details ul{padding-left:16px}
.msa .cite{padding:16px 18px;border-radius:18px;background:var(--sky);font-size:14.5px;display:flex;flex-direction:column;gap:10px}
.msa .cite code{font:13px/1.5 var(--body);background:var(--card);padding:10px 12px;border-radius:10px;display:block}
.msa .cite button{align-self:flex-start;border:0;border-radius:99px;padding:7px 14px;background:var(--brand);color:var(--brand-ink);font:inherit;font-weight:600;font-size:13.5px;cursor:pointer;min-height:36px}
.msa .series-nav{padding-block:24px 64px;display:flex;flex-direction:column;gap:16px}
.msa .series-nav h2{font-size:26px}
.msa .read-next{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;border-radius:26px;overflow:hidden;background:var(--card);border:1px solid var(--line-strong);color:var(--ink);text-decoration:none;box-shadow:0 10px 40px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease}
.msa .read-next:hover{color:var(--ink);transform:translateY(-2px);box-shadow:0 16px 48px rgba(0,0,0,.08)}
.msa .read-next-shot{align-self:stretch;display:flex;align-items:center;padding:18px;background:var(--surface)}
.msa .read-next-shot img{width:100%;height:auto;display:block;border-radius:14px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.msa .read-next-body{display:flex;flex-direction:column;gap:12px;padding:clamp(20px,3vw,36px)}
.msa .read-next .chip{align-self:flex-start;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;background:var(--sky);color:var(--sky-ink)}
.msa .read-next .t{font-family:var(--display);font-size:clamp(22px,2.4vw,30px);line-height:1.12;font-weight:700;letter-spacing:-0.03em}
.msa .read-next .s{font-size:15.5px;line-height:1.55;color:var(--ink-2)}
.msa .read-next-points{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14.5px;color:var(--ink)}
.msa .read-next-points li{display:flex;gap:8px;align-items:baseline}
.msa .read-next-points li::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:99px;background:var(--lime);transform:translateY(-1px)}
.msa .read-next-cta{align-self:flex-start;margin-top:4px;padding:10px 18px;border-radius:99px;background:var(--brand);color:var(--brand-ink);font-size:14.5px;font-weight:600}
@media (max-width:760px){.msa .read-next{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.msa .read-next, .msa .read-next:hover{transition:none;transform:none}}
.msa footer.end{padding-block:24px 48px;font-size:13px;color:var(--muted);max-width:70ch}
