/* JBS — site vitrine. Aucune ressource externe : pas de police, pas de script, pas de traceur tiers. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #14213d; --muted: #52607a; --line: #e3e0d8;
  --accent: #0f6b57; --accent-ink: #ffffff; --accent-soft: #e3f1ec; --warn-soft: #fbefd5; --warn-ink: #7a4b00;
  --radius: 14px; --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1624; --surface: #172033; --ink: #eef1f7; --muted: #a9b3c7; --line: #2a3550; --accent: #52c7a6; --accent-ink: #0b1a14; --accent-soft: #14352d; --warn-soft: #3a2c10; --warn-ink: #f2c46d; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { display: inline-block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 8px 14px; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .js .menu-btn { display: inline-block; }
  .js nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 14px; }
  .js nav.main.open { display: block; }
  nav.main ul { flex-direction: column; }
}

.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 16px; max-width: 18em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0 0 24px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 11px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn:hover { filter: brightness(1.06); }

section.block { padding: 40px 0; }
section.block h2 { font-size: 1.6rem; margin: 0 0 8px; }
section.block > .wrap > p.sub { color: var(--muted); margin: 0 0 24px; max-width: 44em; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); width: fit-content; }
.pill.warn { background: var(--warn-soft); color: var(--warn-ink); }

.wrap.page { padding-top: 48px; padding-bottom: 24px; }
.page h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.2; margin: 0 0 12px; }
.page .lead { font-size: 1.1rem; color: var(--muted); max-width: 42em; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.prose p, .prose li { margin: 0 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 12px; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 58px; position: relative; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.note { background: var(--accent-soft); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.facts { display: grid; gap: 4px 20px; grid-template-columns: max-content 1fr; margin: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { margin-top: 8px; } }

footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; }
@media print { header.site, footer.site .cols ul, .btns { display: none; } body { background: #fff; color: #000; } }
