/* Ciepłomierz (pompacieplacena.pl) : charte « termowizja ».
   Encre froide, papier chaud, dégradé de caméra thermique (bleu, violet, orange, ambre) comme signature.
   Polices auto-hébergées : Unbounded (titres, chiffres), Onest (texte), sous-ensembles latin et latin-ext. */

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/unbounded-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d1726; --ink-2: #16243a; --ink-3: #22324c;
  --paper: #f6f2ec; --card: #ffffff; --line: #e4ddd2; --muted: #5d6676; --text: #142033;
  --cold: #2563eb; --cold-soft: #e6eeff;
  --violet: #7c3aed;
  --heat: #ff5a1f; --heat-deep: #d9430c; --heat-soft: #ffeadf;
  --amber: #ffb020;
  --ok: #0f9a6a; --ok-soft: #e2f6ee; --warn: #b77800; --warn-soft: #fff4d9; --bad: #d4343e;
  --thermo: linear-gradient(90deg, #2563eb 0%, #7c3aed 34%, #ff5a1f 72%, #ffb020 100%);
  --radius: 14px; --radius-s: 9px;
  --shadow: 0 1px 2px rgba(13, 23, 38, .06), 0 8px 28px rgba(13, 23, 38, .08);
  --display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --body: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--cold); text-underline-offset: 3px; }
a:hover { color: var(--heat-deep); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- en-tête */
.thermo-bar { height: 4px; background: var(--thermo); }
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.brand small { display: block; font: 500 11px/1.2 var(--body); color: #9fb0c8; letter-spacing: .02em; margin-top: 3px; }
.nav { display: none; gap: 4px; }
.nav a { color: #d6deea; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 11px; border-radius: 8px; }
.nav a:hover { background: var(--ink-3); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 16px/1.2 var(--body); padding: 14px 20px; border-radius: 12px; background: var(--heat); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 90, 31, .28); transition: transform .12s ease, background .12s ease; }
.btn:hover { background: var(--heat-deep); color: #fff; transform: translateY(-1px); }
.btn:focus-visible, .opt input:focus-visible + span, input:focus-visible, select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-s { padding: 9px 14px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.menu-btn:hover { background: var(--ink-3); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .x, .top.open .menu-btn .b { display: none; }
.top.open .menu-btn .x { display: block; }
.top .btn-s .s { display: none; }
@media (max-width: 899px) {
  .top .wrap { gap: 10px; position: relative; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 6px 16px 16px; border-top: 1px solid var(--ink-3); box-shadow: 0 18px 30px rgba(13, 23, 38, .35); }
  .top.open .nav a { font-size: 17px; padding: 13px 10px; border-bottom: 1px solid var(--ink-3); border-radius: 0; }
  .top.open .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 479px) { .top .btn-s .l { display: none; } .top .btn-s .s { display: inline; } .brand small { display: none; } }
@media (max-width: 359px) { .brand b { font-size: 16px; } .brand svg { width: 30px; height: 30px; } }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

/* ---------- fil d'Ariane */
.crumbs { font-size: 14px; color: var(--muted); padding: 14px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #a3a9b4; }
.crumbs a { color: var(--muted); }
@media (max-width: 639px) { .crumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; } .crumbs ol::-webkit-scrollbar { display: none; } .crumbs li { flex: none; } }

/* ---------- héros */
.hero { padding: 22px 0 34px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.hero .wrap > * { min-width: 0; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 40px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--heat-deep); }
.kicker::before { content: ''; width: 22px; height: 4px; border-radius: 2px; background: var(--thermo); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
h1 { font-weight: 700; font-size: clamp(22px, 6.2vw, 46px); line-height: 1.12; margin: 12px 0 14px; }
h1, h2, h3, .cta-band .t { overflow-wrap: break-word; hyphens: auto; }
h1 em { font-style: normal; background: var(--thermo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-in { font-size: 19px; color: #2a3547; margin: 0 0 18px; max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230f9a6a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- relevé (signature) */
.readout { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.readout::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--thermo); }
.readout-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #8fa2bf; margin-bottom: 10px; }
.readout-h .live { display: inline-flex; align-items: center; gap: 6px; color: #b9f3d9; }
.readout-h .live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #32d296; box-shadow: 0 0 0 4px rgba(50, 210, 150, .18); }
.readout dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-3); border-radius: 10px; overflow: hidden; }
.readout dl > div { background: var(--ink-2); padding: 11px 12px; }
.readout dt { font-size: 12px; color: #8fa2bf; margin-bottom: 3px; }
.readout dd { margin: 0; font: 600 19px/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.readout dd small { font: 500 12px var(--body); color: #9fb0c8; margin-left: 2px; }
.readout .foot { font-size: 12px; line-height: 1.5; color: #8fa2bf; margin: 12px 2px 0; padding: 0; background: none; }
.scale { height: 10px; border-radius: 5px; background: var(--thermo); position: relative; margin: 14px 2px 4px; }
.scale i { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 3px rgba(13, 23, 38, .7); }
.scale-l { display: flex; justify-content: space-between; font-size: 11px; color: #8fa2bf; }

/* ---------- barre de preuves */
.proof { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
@media (min-width: 820px) { .proof ul { grid-template-columns: repeat(4, 1fr); } }
.proof b { display: block; font: 700 22px/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.proof span { display: block; font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 4px; }

/* ---------- formulaire de devis */
.lead { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--line); scroll-margin-top: 80px; }
.lead h2 { font-size: 21px; margin: 0 0 4px; }
.lead .sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.progress { height: 6px; background: #eee8de; border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.progress i { display: block; height: 100%; width: 16%; background: var(--thermo); transition: width .25s ease; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font: 600 17px/1.3 var(--display); color: var(--ink); margin-bottom: 12px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
@media (max-width: 359px) { .lead { padding: 16px 14px; } .opt span { padding: 10px 9px; gap: 7px; font-size: 14px; } }
.opts.one { grid-template-columns: 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 11px; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: break-word; min-width: 0; background: #fffdf9; transition: border-color .12s ease, background .12s ease; }
.opt span svg { width: 24px; height: 24px; flex: none; color: var(--cold); }
.opt:hover span { border-color: #c9bfae; }
.opt input:checked + span { border-color: var(--heat); background: var(--heat-soft); }
.field { display: grid; gap: 5px; margin-bottom: 11px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select { font: 400 16px var(--body); padding: 12px 13px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.field input:focus { border-color: var(--cold); }
.row2 { display: grid; gap: 0 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 12px; }
.consent input { margin-top: 1px; width: 22px; height: 22px; flex: none; accent-color: var(--heat); }
.nav-steps { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.nav-steps .back { background: none; border: 0; color: var(--muted); font: 600 15px var(--body); cursor: pointer; padding: 8px 4px; }
.nav-steps .btn { flex: 1; }
.lead .err { color: var(--bad); font-size: 14px; font-weight: 600; min-height: 1px; margin: 6px 0 0; }
.lead .safe { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.lead .safe svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.lead .done { text-align: center; padding: 18px 4px; }
.lead .done b { display: block; font: 700 22px var(--display); color: var(--ink); margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contenu éditorial */
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 10px; padding-bottom: 50px; }
.page > * { min-width: 0; }
@media (min-width: 1020px) { .page { grid-template-columns: minmax(0, 1fr) 340px; } .aside { position: sticky; top: 86px; align-self: start; } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; margin: 42px 0 12px; scroll-margin-top: 80px; }
.prose h3 { font-size: 19px; line-height: 1.3; margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.answer { background: var(--card); border-left: 5px solid; border-image: var(--thermo) 1; padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; box-shadow: var(--shadow); font-size: 17.5px; margin: 0 0 22px; }
.note { border-radius: var(--radius-s); padding: 14px 16px; margin: 18px 0; font-size: 16px; background: var(--cold-soft); border: 1px solid #c9dafc; }
.note.warn { background: var(--warn-soft); border-color: #f3dfa6; }
.note.ok { background: var(--ok-soft); border-color: #bfe8d6; }
.note b:first-child { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.tbl-w { overflow-x: auto; margin: 16px 0 20px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { padding: 11px 13px; hyphens: auto; overflow-wrap: anywhere; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f1ece4; font-weight: 700; font-size: 14px; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-cap { font-size: 13px; color: var(--muted); margin: -10px 0 18px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 22px; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--display); color: #fff; background: var(--ink); }
.steps b { display: block; color: var(--ink); }
.check { list-style: none; padding: 0 !important; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: ''; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 5px; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230f9a6a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.check.no li::before { background: #fde7e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%23d4343e' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- bande d'appel à l'action */
.cta-band { background: var(--ink); color: #dfe6f1; border-radius: var(--radius); padding: 22px; margin: 30px 0; position: relative; overflow: hidden; display: grid; gap: 14px; }
.cta-band::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--thermo); }
.cta-band h3, .cta-band .t { font: 700 20px/1.25 var(--display); color: #fff; margin: 0; }
.cta-band p { margin: 0; }
@media (min-width: 720px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; } }

/* ---------- villes voisines, listes de villes */
.near { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; list-style: none; padding: 0 !important; margin: 14px 0 20px; }
.near li { margin: 0; }
.near a { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.near a:hover { border-color: var(--heat); color: var(--heat-deep); }
.near small { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cities { columns: 2 180px; column-gap: 18px; list-style: none; padding: 0 !important; margin: 10px 0 24px; }
.cities li { break-inside: avoid; margin: 0; }
.cities a, .aside .box li a { display: inline-block; padding: 6px 0; }
.woj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 16px 0 26px; }
.woj-grid a { display: block; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.woj-grid a:hover { border-color: var(--heat); }
.woj-grid b { display: block; font: 600 16px/1.25 var(--display); }
.woj-grid span { font-size: 14px; color: var(--muted); }
.search { display: flex; gap: 8px; margin: 16px 0 6px; max-width: 520px; position: relative; }
.search input { flex: 1; min-width: 0; font: 400 16px var(--body); padding: 13px 14px; border-radius: 11px; border: 2px solid var(--line); }
.search-res { list-style: none; padding: 0; margin: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 10; max-height: 320px; overflow: auto; }
.search-res a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.search-res a:hover, .search-res a.on { background: var(--heat-soft); }

/* ---------- FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 9px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font: 600 22px var(--display); color: var(--heat); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 16px 14px; }
.faq h3 { font-size: inherit; font-family: var(--body); display: inline; margin: 0; letter-spacing: 0; }

/* ---------- colonne latérale */
.aside .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.aside .box h2 { font-size: 17px; margin: 0 0 10px; }
.aside .box ul { padding-left: 18px; margin: 0; }
.aside .box li { margin-bottom: 4px; font-size: 15px; }
.toc ol { padding-left: 20px; margin: 0; font-size: 15px; }
.toc li { margin-bottom: 2px; }
.toc a { display: block; padding: 6px 0; }
.toc-m { display: none; }
@media (max-width: 1019px) {
  .toc-m { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); margin: 0 0 22px; }
  .toc-m summary { cursor: pointer; list-style: none; padding: 13px 44px 13px 16px; font: 600 16px var(--display); color: var(--ink); position: relative; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: '+'; position: absolute; right: 16px; top: 9px; font: 600 22px var(--display); color: var(--heat); }
  .toc-m[open] summary::after { content: '–'; }
  .toc-m ol { margin: 0; padding: 0 16px 10px 36px; font-size: 16px; }
  .toc-m li { margin: 0; }
  .toc-m a { display: block; padding: 9px 0; }
  .aside .toc { display: none; }
}

/* ---------- pied de page */
.foot { background: var(--ink); color: #9fb0c8; padding: 34px 0 26px; margin-top: 20px; font-size: 14.5px; }
.foot .cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot b { color: #fff; font-family: var(--display); font-size: 15px; display: block; margin-bottom: 10px; }
.foot a { color: #c9d4e4; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .legal { border-top: 1px solid var(--ink-3); margin-top: 26px; padding-top: 16px; font-size: 13px; }

/* ---------- barre d'action mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 23, 38, .96); display: flex; gap: 10px; align-items: center; transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.on { transform: none; }
.sticky-cta span { color: #dfe6f1; font-size: 14px; line-height: 1.25; flex: 1; }
.sticky-cta .btn { padding: 11px 16px; font-size: 15px; }
@media (min-width: 980px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- articles du cocon */
.art-head { padding: 18px 0 6px; }
.art-head h1 { margin: 10px 0 8px; max-width: 26ch; }
.art-meta { color: var(--muted); font-size: 14px; margin: 0; }
.hero-img { margin: 0 0 24px; }
.hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: #e9e3d9; }
.related ul { list-style: none; padding: 0 !important; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.related li { margin: 0; }
.related a { display: block; height: 100%; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.related a:hover { border-color: var(--heat); color: var(--heat-deep); }
.sources { font-size: 14px; color: var(--muted); }
.sources h2 { font-size: 17px; margin-top: 30px; }
.sources ul { padding-left: 18px; }
.sources a { color: var(--muted); }
.infografika { margin: 18px 0 22px; }
.infografika a { display: block; cursor: zoom-in; }
.infografika figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (min-width: 640px) { .infografika figcaption { display: none; } }
.infografika img { display: block; width: 100%; height: auto; border-radius: var(--radius-s); border: 1px solid var(--line); background: #fff; }

/* ---------- tableaux sur mobile : une carte par ligne (attributs data-label posés au build) */
@media (max-width: 639px) {
  td.n, th.n { white-space: normal; }
  th, td { padding: 10px 11px; }
  .stk-w { overflow: visible; border: 0; background: none; border-radius: 0; }
  .stk thead, .stk .stk-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stk, .stk tbody, .stk tr { display: block; width: 100%; }
  .stk tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 6px 14px 8px; margin-bottom: 10px; }
  .stk td, .stk tbody th { overflow-wrap: break-word; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; border-top: 1px solid var(--line); text-align: left; background: none; font-size: 15.5px; font-weight: 400; }
  .stk td::before, .stk tbody th::before { content: attr(data-label); font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.4; }
  .stk tr > :first-child { display: block; border-top: 0; padding: 6px 0 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
  .stk tr > :first-child::before { content: none; }
  .stk td:empty { display: none; }
}
