/* Lunyce Outils — design « simple et futuriste ».
   Polices système (aucun téléchargement), fond à fine grille, accent violet électrique (celui du logo) + cyan.
   Conçu d'abord pour le mobile ; les points de rupture élargissent la mise en page. */

:root {
  --ground: #F4F5F9;
  --surface: #FFFFFF;
  --sunken: #F0F2F7;
  --ink: #0E1116;
  --muted: #5A6172;
  --line: #E1E4EC;
  --grid: rgba(14, 17, 22, .045);
  --stamp: #6A4DFF;
  --stamp-ink: #FFFFFF;
  --stamp-soft: #EEEAFF;
  --cyan: #0891B2;
  --ok: #0E8457;
  --err: #C2281E;
  --err-soft: #FDECEA;
  --glow: rgba(106, 77, 255, .28);
  --shadow: 0 1px 2px rgba(14, 17, 22, .05), 0 10px 30px -12px rgba(14, 17, 22, .12);
  --radius: 16px;
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0A0C11; --surface: #12151C; --sunken: #0E1117; --ink: #E9ECF3; --muted: #8C93A3;
    --line: #232834; --grid: rgba(233, 236, 243, .035); --stamp: #8B73FF; --stamp-ink: #0A0C11;
    --stamp-soft: #1C1836; --cyan: #22D3EE; --ok: #34D399; --err: #FF8A80; --err-soft: #34181A;
    --glow: rgba(139, 115, 255, .35); --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0A0C11; --surface: #12151C; --sunken: #0E1117; --ink: #E9ECF3; --muted: #8C93A3;
  --line: #232834; --grid: rgba(233, 236, 243, .035); --stamp: #8B73FF; --stamp-ink: #0A0C11;
  --stamp-soft: #1C1836; --cyan: #22D3EE; --ok: #34D399; --err: #FF8A80; --err-soft: #34181A;
  --glow: rgba(139, 115, 255, .35); --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background-color: var(--ground);
  background-image:
    radial-gradient(900px 420px at 50% -120px, var(--glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  background-repeat: no-repeat, repeat, repeat;
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding: 0 16px;
}
[hidden] { display: none !important; }
a { color: var(--stamp); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-block: 0 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }

/* ---------- En-tête flottant ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  margin: 0 -16px 20px; padding: 12px 16px;
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.logo span { font: 600 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); border: 1px solid currentColor; border-radius: 6px; padding: 4px 6px; }
.site-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--sunken); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--stamp-soft); }
@media (max-width: 560px) { .site-nav { width: 100%; margin: 0 -4px; } .site-nav a { padding: 7px 10px; font-size: 14px; } }

/* ---------- Titres, fil d'Ariane, badges ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 2px 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head { display: grid; gap: 10px; margin-bottom: 18px; max-width: 760px; }
.page-head h1 { font: 700 clamp(28px, 6vw, 44px)/1.08 var(--display); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.page-head p { margin: 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 999px; background: var(--stamp-soft); color: var(--stamp); }
.badge.ok { background: transparent; color: var(--ok); box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- Accueil ---------- */
.hero { display: grid; gap: 16px; justify-items: center; text-align: center; margin: 28px auto 36px; max-width: 820px; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hero h1 { font: 700 clamp(34px, 8.4vw, 64px)/1.02 var(--display); letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--stamp), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero > p { margin: 0; color: var(--muted); font-size: clamp(16px, 2.4vw, 18px); max-width: 60ch; }

/* La recherche : le seul élément « lumineux » de la page. */
.search { position: relative; width: 100%; max-width: 620px; margin-top: 6px; }
.search label { position: absolute; left: -9999px; }
.search-box { position: relative; border-radius: 18px; padding: 1.5px; background: linear-gradient(120deg, var(--stamp), var(--cyan), var(--stamp)); background-size: 200% 100%; box-shadow: 0 10px 40px -10px var(--glow); animation: sheen 8s linear infinite; }
.search-box svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: 17px var(--body); padding: 16px 18px 16px 50px; border-radius: 16.5px; border: 0; background: var(--surface); color: var(--ink); }
.search input:focus { outline: none; }
.search-box:focus-within { box-shadow: 0 10px 50px -8px var(--glow); }
@keyframes sheen { to { background-position: 200% 0; } }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.quick a { font-size: 14px; color: var(--ink); text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.quick a:hover { box-shadow: inset 0 0 0 1px var(--stamp); color: var(--stamp); }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.promises li { display: flex; align-items: center; gap: 6px; }
.promises li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.search-empty { text-align: center; color: var(--muted); }

.cat { margin-top: 40px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 4px; }
.cat-head h2 { font: 700 clamp(22px, 4vw, 28px)/1.2 var(--display); letter-spacing: -.03em; margin: 0; }
.cat-head a { font-size: 14px; text-decoration: none; }
.group-label { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start;
  background: var(--surface); border-radius: var(--radius); padding: 16px;
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: inset 0 0 0 1px var(--stamp), 0 12px 30px -16px var(--glow); transform: translateY(-2px); }
.card .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--stamp-soft); color: var(--stamp); }
.card .ico svg { width: 22px; height: 22px; }
.card b { font: 600 16px/1.3 var(--display); letter-spacing: -.01em; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

.why { margin-top: 48px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why div { padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.why b { display: block; font: 600 16px/1.3 var(--display); margin-bottom: 4px; }
.why p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Zone de travail des outils ---------- */
.work { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: clamp(14px, 3.4vw, 28px); min-width: 0; min-height: 300px; }
.drop {
  position: relative; border: 1.5px dashed color-mix(in srgb, var(--stamp) 45%, var(--line)); border-radius: 16px;
  background: linear-gradient(180deg, var(--stamp-soft), transparent 140%);
  padding: clamp(22px, 5vw, 36px) 16px; text-align: center; transition: border-color .15s, background .15s, transform .15s;
}
.drop.over { border-color: var(--stamp); border-style: solid; transform: scale(1.01); }
.drop p { margin: 0 0 12px; }
.drop .big { font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.drop .hint { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.drop .safe { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--ok); margin: 14px 0 0; }
@media (max-width: 560px) { .drop .big { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  font: 600 15px/1 var(--body); padding: 12px 20px; border-radius: 12px; cursor: pointer;
  border: 0; background: var(--sunken); color: var(--ink); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .12s, box-shadow .2s, filter .2s;
}
.btn:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(135deg, var(--stamp), color-mix(in srgb, var(--stamp) 70%, var(--cyan))); color: #fff; box-shadow: 0 8px 24px -10px var(--glow); }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 10px 30px -8px var(--glow); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.linkish { background: none; border: 0; color: var(--stamp); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }

.files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); }
.files .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.files .size { font: 12px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon-btn { flex: none; border: 0; background: var(--surface); color: var(--muted); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font: 15px/1 var(--body); box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); }
.icon-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 560px) { .results .files li { flex-wrap: wrap; } .results .files .btn { width: 100%; } }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 18px 0 0; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field input[type=text], .field input[type=number], .field select {
  width: 100%; min-height: 46px; font: 16px var(--body); padding: 10px 12px; border: 0; border-radius: 12px;
  background: var(--sunken); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.field input:focus, .field select:focus, .tpl-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--stamp); }
.field input[type=range] { width: 100%; accent-color: var(--stamp); min-height: 30px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.notice { font-size: 13px; background: var(--err-soft); color: var(--err); border-radius: 12px; padding: 10px 12px; margin-top: 14px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 20px; }
/* Sur mobile, le bouton d'action reste sous le pouce pendant le défilement. */
@media (max-width: 720px) {
  #fileWork .actions {
    position: sticky; bottom: 0; z-index: 5; margin: 18px calc(-1 * clamp(14px, 3.4vw, 28px)) 0;
    padding: 12px clamp(14px, 3.4vw, 28px) calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  #fileWork .actions .btn { flex: 1 1 100%; }
}
.status { font-size: 14px; color: var(--muted); }
.status.err { color: var(--err); }
.bar { height: 4px; background: var(--sunken); border-radius: 4px; overflow: hidden; margin-top: 14px; }
.bar > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--stamp), var(--cyan)); transition: width .2s; }

.results { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.results h3 { font: 700 18px/1.2 var(--display); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.results h3 .done { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ok); padding: 5px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; }
.results .note { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
.results .files .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* ---------- Modèles à remplir ---------- */
.tpl { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .tpl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tpl-form fieldset { border: 0; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tpl-form legend { font: 700 16px/1.2 var(--display); padding: 0; margin-bottom: 10px; }
.tpl-form .wide { grid-column: 1 / -1; }
.tpl-form textarea, .tpl-form input[type=text], .tpl-form input[type=date], .tpl-form select {
  width: 100%; min-height: 46px; font: 16px var(--body); padding: 10px 12px; border: 0; border-radius: 12px;
  background: var(--sunken); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); resize: vertical;
}
.tpl-form input[type=file] { font-size: 14px; max-width: 100%; }
.field.check { display: flex; align-items: center; gap: 10px; }
.field.check label { margin: 0; font-weight: 500; font-size: 15px; }
.field.check input { width: 20px; height: 20px; accent-color: var(--stamp); }
.example-note { font-size: 13px; color: var(--stamp); background: var(--stamp-soft); border-radius: 10px; padding: 8px 12px; margin: 0 0 16px; }
.list { display: grid; gap: 10px; justify-items: start; }
.list-item { width: 100%; border-radius: 14px; padding: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); }
.list-item textarea, .list-item input[type=text] { background: var(--surface) !important; }
.list-head { grid-column: 1 / -1; display: flex; justify-content: space-between; font: 600 13px var(--body); }
.tpl-side { display: grid; gap: 12px; }
@media (min-width: 1000px) { .tpl-side { position: sticky; top: 84px; } }
.sig { border-radius: 16px; background: var(--stamp-soft); padding: 10px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stamp) 35%, var(--line)); }
.sig-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.sig canvas { display: block; width: 100%; height: 160px; background: #fff; border-radius: 10px; touch-action: none; cursor: crosshair; }
.tpl-side .actions { margin-top: 0; }
@media (max-width: 999px) { .tpl-side .actions .btn { flex: 1 1 100%; } }
.tpl-label { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.paper { position: relative; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.paper-inner { position: absolute; top: 0; left: 0; width: 595px; min-height: 842px; padding: 62px; transform-origin: 0 0; color: #1a1a1f; font: 11.5px/1.6 Helvetica, Arial, sans-serif; }
.paper-inner .pv-title { font: 700 16px/1.3 Helvetica, Arial, sans-serif; text-align: center; margin: 0; letter-spacing: .02em; }
.pv-p { margin: 0 0 8px; white-space: pre-line; }
.pv-from { font-size: 10.5px; line-height: 1.4; margin-bottom: 14px; }
.pv-to { font-size: 10.5px; line-height: 1.4; margin: 0 0 18px 50%; padding-left: 30px; }
.pv-right { text-align: right; font-size: 10.5px; margin: 0 0 10px; }
.pv-mention, .pv-subject { font-weight: 700; margin: 0 0 6px; }
.pv-mention { font-size: 10px; }
.pv-sign { margin: 6px 0 24px auto; width: 190px; font-size: 10.5px; }
.pv-sign img { max-width: 170px; max-height: 70px; display: block; margin-bottom: 6px; }
.pv-sign-empty { display: block; height: 56px; color: #999; font-size: 10px; }
.pv-small { font-size: 8.5px; line-height: 1.4; color: #66666b; margin: 0 0 4px; }
.cv-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 10px; }
.cv-photo { width: 78px; height: 96px; object-fit: cover; }
.cv-name { font-size: 24px; font-weight: 700; line-height: 1.25; }
.cv-title { font-size: 12.5px; font-weight: 700; margin: 2px 0; }
.cv-contact { font-size: 9.5px; color: #60666e; }
.paper-inner .cv-h { font-family: Helvetica, Arial, sans-serif; line-height: 1.3; font-size: 10.5px; font-weight: 700; text-transform: uppercase; border-bottom: .8px solid; margin: 14px 0 8px; padding-bottom: 2px; }
.cv-item { margin-bottom: 8px; }
.cv-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.cv-row span { color: #60666e; font-size: 9.5px; white-space: nowrap; }
.cv-org { font-style: italic; color: #60666e; font-size: 10px; }
.cv-item ul { margin: 2px 0 0; padding-left: 16px; font-size: 10px; }

/* ---------- Bas de page outil ---------- */
.below { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
@media (min-width: 860px) { .below { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; } }
.below h2, .related h2 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--stamp); background: var(--stamp-soft); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--stamp); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.related { margin-top: 40px; }
.pro { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border-radius: var(--radius); padding: 18px 20px; background: linear-gradient(120deg, var(--stamp-soft), transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stamp) 30%, var(--line)); }
.pro p { margin: 0; }

/* ---------- Pages de texte ---------- */
.prose { max-width: 72ch; background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 4vw, 34px); }
.prose h2 { font: 700 19px/1.3 var(--display); margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: grid; gap: 12px; }
.site-footer p { margin: 0; max-width: 80ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
