/* Polices hébergées sur le site (plus rapide que Google Fonts, rien de bloquant) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-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: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/dm-sans-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; }

/* Jean-Watt · système de design
   Néo-brutal chaleureux : bords épais, ombres dures, couleurs du personnage.
   Toutes les couleurs passent par les variables ci-dessous. */

:root {
  --ink: #10231a;          /* texte, bords, ombres */
  --ink-soft: #3d5247;     /* texte secondaire (contraste 7:1 sur paper) */
  --paper: #fbf7ec;        /* fond principal */
  --card: #ffffff;
  --lime: #9ad94a;         /* corps de Jean-Watt */
  --lime-soft: #e3f5c8;
  --leaf: #2f6b12;         /* vert lisible sur fond clair */
  --sun: #ffc933;          /* CTA principal */
  --sun-soft: #fff1c2;
  --panel: #1b2a4a;        /* bleu du panneau sur son ventre */
  --panel-soft: #dde5f5;
  --red: #c8321f;
  --red-soft: #fde2dc;

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bw: 2.5px;             /* épaisseur des bords */
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 18px;
  --radius-sm: 12px;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 104px;

  --wrap: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--panel); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 var(--space-4); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 999px;
  margin-bottom: var(--space-4);
}
.hl { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }
.strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 4px; }
.small { font-size: .9rem; color: var(--ink-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-7) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead, .section--ink .small { color: #c9d6cf; }
.section--ink a { color: var(--lime); }
.section--lime { background: var(--lime-soft); border-block: var(--bw) solid var(--ink); }
.section--sun { background: var(--sun); border-block: var(--bw) solid var(--ink); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); padding: 8px 14px; border: var(--bw) solid var(--ink); border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 236, .94); backdrop-filter: blur(8px); border-bottom: var(--bw) solid var(--ink); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo img { width: 40px; height: 40px; }
.logo span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: -3px; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: var(--bw) solid var(--ink); padding: var(--space-3) 20px var(--space-5); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #e3dccb; }
  .nav .btn { margin-top: var(--space-4); }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--card); border: var(--bw) solid var(--ink); border-radius: 12px; cursor: pointer; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--ink); background: var(--sun); text-decoration: none;
  border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: var(--card); }
.btn--lime { background: var(--lime); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--lime); }
.btn--ink:hover { color: var(--paper); box-shadow: 7px 7px 0 var(--lime); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--space-7) 0 var(--space-8); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-6); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-6) 0 var(--space-5); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: .92rem; font-weight: 600; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.hero__proof li { display: flex; align-items: center; gap: 6px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--leaf); }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__disc { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--sun); border: var(--bw) solid var(--ink); box-shadow: var(--shadow); }
.hero__jw { position: relative; width: min(340px, 78%); filter: drop-shadow(6px 8px 0 rgba(16, 35, 26, .18)); animation: bob 4s ease-in-out infinite; }
.bubble {
  position: absolute; top: 2%; left: -4%; max-width: 230px; z-index: 2;
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow-sm);
  padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.25;
}
.bubble::after { content: ""; position: absolute; bottom: -14px; right: 38px; width: 22px; height: 22px; background: var(--card); border-right: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); transform: rotate(45deg); }
.sticker {
  position: absolute; bottom: 6%; right: 0; z-index: 2; transform: rotate(-8deg);
  background: var(--panel); color: #fff; border: var(--bw) solid var(--ink); border-radius: 14px;
  padding: 8px 14px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-sm);
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (max-width: 860px) {
  .hero { padding-top: var(--space-5); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 300px; }
  .hero__disc { width: 280px; }
  .hero__jw { width: 220px; }
  .bubble { left: 0; font-size: .92rem; max-width: 190px; }
}

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--ink); color: var(--paper); border-block: var(--bw) solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 48px; padding: 14px 0; animation: ticker 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.ticker__track span::before { content: "✦"; color: var(--sun); margin-right: 16px; }
.ticker__track b { color: var(--sun); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-6); }
.card--lime { background: var(--lime-soft); }
.card--sun { background: var(--sun-soft); }
.card--red { background: var(--red-soft); }
.card--panel { background: var(--panel); color: #fff; }
.card--panel .small { color: #c8d3ea; }
.card h3 { margin-bottom: var(--space-3); }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--sun); margin-bottom: var(--space-4); }
.card__icon svg { width: 28px; height: 28px; }
.card__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; margin-bottom: var(--space-3); }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4); font-family: var(--font-display); font-weight: 800; color: var(--leaf); }

.head { margin-bottom: var(--space-7); }
.head--row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); flex-wrap: wrap; }

/* ---------- Pacte ---------- */
.pact { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.pact li { display: flex; gap: var(--space-4); align-items: flex-start; background: rgba(255, 255, 255, .06); border: 2px solid rgba(251, 247, 236, .25); border-radius: var(--radius-sm); padding: var(--space-5); }
.pact svg { flex: none; width: 30px; height: 30px; color: var(--lime); }
.pact strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 2px; }
@media (max-width: 720px) { .pact { grid-template-columns: 1fr; } }

/* ---------- Classement villes ---------- */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: var(--space-3); font-weight: 600; }
.bar__track { height: 26px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--lime); border-right: 2px solid var(--ink); }
.bar--ref .bar__fill { background: #c9c3b3; }
.bar--top .bar__fill { background: var(--sun); }
.bar__val { font-family: var(--font-display); font-weight: 800; text-align: right; }
@media (max-width: 560px) { .bar { grid-template-columns: 104px 1fr 56px; font-size: .9rem; } }

/* ---------- Vidéo ---------- */
.video-card { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-7); align-items: center; }
.video-frame { border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .video-card { grid-template-columns: 1fr; } .video-frame { max-width: 280px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--sun); font-size: 1.2rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-soft); }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--space-5); }
.field > label, .legend { font-weight: 700; font-size: 1rem; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: 12px; appearance: none;
}
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus { outline: none; box-shadow: 0 0 0 4px var(--sun); }
.input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.error { color: var(--red); font-size: .9rem; font-weight: 600; margin: 0; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-soft); pointer-events: none; }
.input-suffix .input { padding-right: 60px; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label, .choice > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 64px; padding: 10px 12px; background: var(--card); border: var(--bw) solid var(--ink); border-radius: 12px;
  font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .15s, transform .15s var(--ease);
}
.choice label small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.choice input:checked + label { background: var(--lime); box-shadow: var(--shadow-sm); transform: translate(-2px, -2px); }
.choice input:focus-visible + label { outline: 3px solid var(--panel); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--leaf); }
.check + .check { margin-top: 10px; }

/* Autocomplétion d'adresse */
.ac { position: relative; }
.ac__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: var(--card); border: var(--bw) solid var(--ink); border-radius: 12px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.ac__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.ac__list li[aria-selected="true"], .ac__list li:hover { background: var(--lime-soft); }
.ac__list li small { display: block; color: var(--ink-soft); }

/* ---------- Simulateur ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-6); align-items: start; }
.sim__aside { position: sticky; top: 90px; }
@media (max-width: 960px) { .sim { grid-template-columns: minmax(0, 1fr); } .sim__aside { position: static; } }
.steps { display: flex; gap: 8px; margin-bottom: var(--space-5); }
.steps span { flex: 1; height: 8px; border-radius: 99px; background: #e3dccb; border: 1.5px solid var(--ink); }
.steps span.is-done { background: var(--lime); }
.step { display: none; }
.step.is-active { display: block; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step__nav { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-5); }

.compass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 360px; }
.compass .choice label { min-height: 58px; }
.compass .is-empty { visibility: hidden; }

.jw-say { display: flex; gap: var(--space-4); align-items: flex-start; }
.jw-say img { width: 84px; flex: none; }
.jw-say .bubble { position: relative; top: auto; left: auto; max-width: none; flex: 1; }
.jw-say .bubble::after { left: -13px; right: auto; bottom: auto; top: 22px; border-right: none; border-bottom: var(--bw) solid var(--ink); border-left: var(--bw) solid var(--ink); transform: rotate(45deg); }

.result { display: none; }
.result.is-visible { display: block; animation: rise .45s var(--ease); }
.verdict { border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-6); margin-bottom: var(--space-6); }
.verdict--go { background: var(--lime); }
.verdict--maybe { background: var(--sun); }
.verdict--no { background: var(--red-soft); }
.verdict__tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 99px; margin-bottom: var(--space-3); }
.verdict h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.kpi { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); }
.kpi__label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.kpi__val { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; }
.kpi__sub { font-size: .82rem; color: var(--ink-soft); }
.chart { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-6); }
.chart svg { width: 100%; height: auto; }
.legend-row { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: .88rem; font-weight: 600; margin-top: var(--space-3); }
.legend-row i { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1.5px solid #e3dccb; }
.table th { font-family: var(--font-display); }
.table tr.is-best td { background: var(--lime-soft); font-weight: 700; }
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); background: var(--card); }
.loader { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--ink); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Jauge du détecteur */
.gauge { height: 22px; border: var(--bw) solid var(--ink); border-radius: 99px; background: linear-gradient(90deg, var(--lime) 0 40%, var(--sun) 40% 70%, #ef7a5e 70% 100%); position: relative; margin: var(--space-5) 0 var(--space-2); }
.gauge__needle { position: absolute; top: -10px; width: 6px; height: 38px; background: var(--ink); border-radius: 4px; transform: translateX(-50%); transition: left .6s var(--ease); }
.gauge__labels { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.flags li { display: flex; gap: 10px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); }
.flags li.is-red { background: var(--red-soft); }
.flags li.is-ok { background: var(--lime-soft); }
.flags svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Article ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: var(--space-6) 0; padding: var(--space-5); background: var(--sun-soft); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.35; }
.prose table { margin: var(--space-5) 0; }
.meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: .9rem; color: var(--ink-soft); margin-bottom: var(--space-6); }
.sources { font-size: .88rem; color: var(--ink-soft); border-top: 2px solid #e3dccb; margin-top: var(--space-7); padding-top: var(--space-5); }
.breadcrumb { font-size: .88rem; margin-bottom: var(--space-4); color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.cta-box { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-5); align-items: center; background: var(--lime); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-5) var(--space-6); margin: var(--space-7) 0; }
.cta-box h3 { margin-bottom: 6px; }
.cta-box p { margin-bottom: var(--space-4); }
@media (max-width: 560px) { .cta-box { grid-template-columns: 1fr; } .cta-box img { width: 90px; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #c9d6cf; padding: var(--space-8) 0 var(--space-6); font-size: .95rem; }
.footer a { color: #c9d6cf; text-decoration: none; }
.footer a:hover { color: var(--sun); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
.footer__title { font-family: var(--font-display); font-weight: 800; color: var(--paper); font-size: 1.05rem; margin-bottom: var(--space-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: var(--paper); margin-bottom: var(--space-4); }
.footer .logo span small { color: #9fb2a8; }
.footer__legal { border-top: 1px solid rgba(251, 247, 236, .18); padding-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* Barre mobile collante */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transition: transform .25s var(--ease); }
  .mobile-cta.is-hidden { transform: translateY(140%); }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

@media (max-width: 480px) { .hide-sm { display: none; } }
