/* Tranquille Courseulles — feuille de style commune (toutes les pages)
   Polices hébergées en local (aucun appel à Google Fonts).
   Contrastes vérifiés WCAG 2.1 AA (voir docs/RAPPORT-CONFORMITE.md). */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/fraunces-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/fraunces-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/work-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/work-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/work-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #1F2E36;
  --ink-soft: #4A5C64;
  --sand: #E8DCC8;
  --sand-light: #F4EEE1;
  --paper: #FBF9F5;
  --paper-raised: #FFFFFF;
  --line: rgba(31, 46, 54, 0.14);
  /* vert décoratif (traits, puces, icônes — jamais pour du texte) */
  --sage-line: #88A18A;
  /* vert pour le texte et les fonds de boutons (≥ 4,5:1 sur paper / sand) */
  --accent: #46614E;
  --accent-bg: #46614E;
  --on-accent: #FBF9F5;
  --accent-hover: #38503F;
  --band-bg: #46614E;
  --band-fg: #FBF9F5;
  --band-fg-soft: #E8DCC8;
  --focus: #1F2E36;
  --mark-bg: #FFF1B8;
  --mark-fg: #1F2E36;
  /* formes et profondeur */
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(31, 46, 54, 0.06), 0 4px 10px rgba(31, 46, 54, 0.08);
  --shadow-m: 0 2px 4px rgba(31, 46, 54, 0.05), 0 10px 24px rgba(31, 46, 54, 0.11);
  --shadow-l: 0 4px 8px rgba(31, 46, 54, 0.05), 0 24px 48px rgba(31, 46, 54, 0.15);
  --visual-from: #DCE6DB;
  --visual-to: #EADFCB;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EDE7DA;
    --ink-soft: #C4BBA9;
    --sand: #3A3527;
    --sand-light: #2A2620;
    --paper: #1B1917;
    --paper-raised: #232120;
    --line: rgba(237, 231, 218, 0.18);
    --sage-line: #9CB89E;
    --accent: #9CB89E;
    --accent-bg: #9CB89E;
    --on-accent: #1B1917;
    --accent-hover: #B7CBB8;
    --band-bg: #2F3F33;
    --band-fg: #EDE7DA;
    --band-fg-soft: #D7DCCB;
    --focus: #EDE7DA;
    --mark-bg: #5A4A12;
    --mark-fg: #FFF1B8;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.3);
    --shadow-m: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.4);
    --shadow-l: 0 4px 8px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.5);
    --visual-from: #2F3F33;
    --visual-to: #3A3527;
  }
}

:root[data-theme="dark"] {
  --ink: #EDE7DA;
  --ink-soft: #C4BBA9;
  --sand: #3A3527;
  --sand-light: #2A2620;
  --paper: #1B1917;
  --paper-raised: #232120;
  --line: rgba(237, 231, 218, 0.18);
  --sage-line: #9CB89E;
  --accent: #9CB89E;
  --accent-bg: #9CB89E;
  --on-accent: #1B1917;
  --accent-hover: #B7CBB8;
  --band-bg: #2F3F33;
  --band-fg: #EDE7DA;
  --band-fg-soft: #D7DCCB;
  --focus: #EDE7DA;
  --mark-bg: #5A4A12;
  --mark-fg: #FFF1B8;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.3);
  --shadow-m: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.4);
  --shadow-l: 0 4px 8px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.5);
  --visual-from: #2F3F33;
  --visual-to: #3A3527;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

a { color: inherit; }

img, svg { max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent-bg);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- HEADER ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(31, 46, 54, 0.07);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; display: block; border-radius: 50%; box-shadow: var(--shadow-s); }
.brand span { color: var(--accent); }

nav.links {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
}

nav.links a {
  text-decoration: none;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 45%, var(--sand) 55%);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

nav.links a:hover { background: var(--accent-bg); color: var(--on-accent); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

@media (max-width: 720px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 8px 28px 20px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  nav.links.open { display: flex; }
  .nav-toggle { display: block; }
  /* sans JavaScript, le menu reste visible */
  .no-js nav.links { display: flex; position: static; flex-wrap: wrap; flex-direction: row; padding: 0; border: 0; }
  .no-js .nav-toggle { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 48px 0 72px;
  background:
    radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--sand) 70%, transparent), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--visual-from) 80%, transparent), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0 0 8px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 12ch;
}

.hero p.lede {
  margin: 12px 0 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: var(--shadow-s);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }

.btn-primary { background: var(--accent-bg); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { border: 1px solid var(--ink-soft); color: var(--ink); background: var(--paper-raised); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }

/* Visuel d'accueil : logo réel + pastilles, sans illustration dessinée */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-l);
  background: linear-gradient(145deg, var(--visual-from), var(--visual-to));
  box-shadow: var(--shadow-l);
}
.hero-disc { width: 56%; border-radius: 50%; box-shadow: var(--shadow-l); line-height: 0; }
.hero-disc img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block; }
.chip {
  position: absolute;
  background: var(--paper-raised);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-m);
}
.chip-1 { top: 9%; left: -5%; }
.chip-2 { top: 44%; right: -7%; }
.chip-3 { bottom: 8%; left: 4%; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 280px; }
  .chip { font-size: 0.78rem; padding: 7px 12px; }
  .chip-1 { left: -2%; } .chip-2 { right: -3%; }
}

/* ---------- SECTIONS ---------- */
section { padding: 64px 0; }
#services { padding-top: 32px; }
.section-sand { background: linear-gradient(180deg, var(--sand-light), color-mix(in srgb, var(--sand-light) 55%, var(--paper))); }

.section-head { max-width: 56ch; margin-bottom: 44px; }
.section-head.tight { margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-head p { margin: 12px 0 0; color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- SERVICES ---------- */
.service {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 20px 28px;
  margin: 0 0 14px;
  align-items: center;
  background: var(--paper-raised);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.service-meta { display: flex; flex-direction: column; gap: 8px; }
.service-slim { grid-template-columns: 1fr; }
.service-slim .service-meta { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.service-slim .service-meta .price-tag { margin-left: auto; }

.service-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--sand-light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  stroke: var(--sage-line);
  fill: none;
  stroke-width: 1.5;
  object-fit: contain;
  display: block;
}

.service-meta h3 { font-size: 1.3rem; }

.price-tag {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0;
}
.price-tag small {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.price-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.service-note { margin: 10px 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.rate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 460px; }
.rate-list li { display: flex; align-items: baseline; gap: 20px; font-size: 0.97rem; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.rate-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rate-list strong { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.2rem; color: var(--accent); white-space: nowrap; min-width: 72px; }

.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.service-list li { padding-left: 20px; position: relative; color: var(--ink); font-size: 0.97rem; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-line);
}

.price-note { margin: 28px 0 0; font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; gap: 12px; padding: 20px; align-items: start; }
}

/* ---------- ESTIMATEUR ---------- */
#estimateur { padding: 24px 0 28px; }
#estimateur .section-head { margin-bottom: 16px; }
.estimator { max-width: 760px; }
.estimator-slider { margin-bottom: 32px; }
.estimator-slider label { display: block; font-size: 1rem; margin-bottom: 12px; }
.estimator-slider strong { font-family: 'Fraunces', serif; color: var(--accent); font-size: 1.15rem; }
input[type="range"] { width: 100%; accent-color: var(--accent-bg); height: 4px; }

.estimator-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.estimator-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 24px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-m);
}
.estimator-us { border-color: var(--accent); border-width: 2px; box-shadow: var(--shadow-l); }
.estimator-col h3 {
  font-size: 0.9rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.estimator-rate { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 4px; }
.estimator-total { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--accent); margin: 0 0 6px; }
.estimator-total small { font-family: 'Work Sans', sans-serif; font-size: 0.8rem; color: var(--ink-soft); }
.estimator-note { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 4px; }

.estimator-highlight {
  margin: 12px 0 0;
  padding: 14px 20px;
  background: var(--sand);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  font-size: 1rem;
  color: var(--ink);
}
.estimator-highlight strong { color: var(--accent); }
.estimator-legal { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 620px) { .estimator-compare { grid-template-columns: 1fr; } }

/* ---------- BANDEAU ---------- */
.band { padding: 24px 0 40px; }
.band-card {
  background: linear-gradient(135deg, var(--band-bg), color-mix(in srgb, var(--band-bg) 82%, #000));
  color: var(--band-fg);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-l);
}
@media (max-width: 720px) { .band-card { padding: 28px 24px; } }
.band h2 { color: var(--band-fg); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 22ch; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 16px; }
.band p { color: var(--band-fg-soft); margin: 0; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.band ul li { padding-left: 22px; position: relative; color: var(--band-fg); }
.band ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--sand);
  border-radius: 3px;
}
@media (max-width: 720px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- SECTEUR ---------- */
.zone-card {
  background: linear-gradient(145deg, var(--sand-light), var(--paper-raised));
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-m);
}
.zone-card .section-head { margin-bottom: 8px; max-width: 62ch; }
.town-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.town-list li {
  display: inline-block;
  background: var(--accent-bg);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-accent);
  box-shadow: var(--shadow-m);
}
@media (max-width: 720px) { .zone-card { padding: 28px 24px; } }

/* ---------- CONTACT ---------- */
.contact-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-item {
  background: var(--sand-light);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: var(--shadow-s);
}
.contact-item h3 {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-item a {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact-item a:hover { color: var(--ink); }
.contact-item p.note { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.9rem; }

@media (max-width: 620px) { .contact-card { grid-template-columns: 1fr; padding: 20px; } }

/* ---------- PIED DE PAGE (identique sur toutes les pages) ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
footer.site-footer .legal { max-width: 62ch; }
footer.site-footer .legal p { margin: 0 0 4px; }
footer.site-footer nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
footer.site-footer nav a { color: var(--ink); text-underline-offset: 3px; }
footer.site-footer nav a:hover { color: var(--accent); }
footer.site-footer p.copy { margin: 0; }

/* ---------- PAGES LÉGALES ---------- */
.legal-bg { background: var(--sand-light); }
.legal-page {
  max-width: 840px;
  margin: 40px auto 72px;
  padding: 48px 52px 56px;
  background: var(--paper-raised);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
@media (max-width: 720px) { .legal-page { margin: 16px 12px 40px; padding: 28px 22px 36px; border-radius: var(--radius-m); } }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-page .updated { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 32px; }
.legal-page h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal-page h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink); max-width: 68ch; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--accent); text-underline-offset: 3px; }
.legal-page a:hover { color: var(--ink); }
.legal-page .summary {
  background: var(--sand-light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 18px 22px;
  margin: 0 0 24px;
}
.legal-page .summary p { margin: 0; }
.legal-toc { background: var(--sand-light); border-radius: var(--radius-m); box-shadow: var(--shadow-s); padding: 18px 26px; margin: 0 0 12px; }
.legal-toc ol { margin: 8px 0 0; }
.table-wrap { overflow-x: auto; margin: 12px 0 24px; border-radius: var(--radius-m); box-shadow: var(--shadow-m); background: var(--paper-raised); }
.legal-page table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.93rem; }
.legal-page caption { text-align: left; font-weight: 600; padding: 14px 14px 6px; }
.legal-page th, .legal-page td { border: 0; border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.legal-page tbody tr:last-child th, .legal-page tbody tr:last-child td { border-bottom: 0; }
.legal-page th { background: var(--sand-light); font-weight: 600; }
.legal-page dl.identity { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 12px 0 0; padding: 20px 24px; background: var(--sand-light); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.legal-page dl.identity dt { font-weight: 600; color: var(--ink-soft); }
.legal-page dl.identity dd { margin: 0; }
@media (max-width: 620px) { .legal-page dl.identity { grid-template-columns: 1fr; gap: 2px; } .legal-page dl.identity dd { margin-bottom: 10px; } }

/* Champs à compléter avant la mise en ligne (voir docs/A-FAIRE-PAR-UN-HUMAIN.md) */
mark.todo {
  background: var(--mark-bg);
  color: var(--mark-fg);
  padding: 1px 5px;
  border-radius: 6px;
  font-weight: 500;
}

.form-box {
  border: 1px dashed var(--ink-soft);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  margin: 16px 0;
  background: var(--sand-light);
  box-shadow: var(--shadow-s);
}
.form-box p { margin: 0 0 10px; }

@media print {
  header.site-header, .skip-link, footer.site-footer nav { display: none; }
  body, .legal-bg { background: #fff; color: #000; }
  .legal-page { box-shadow: none; margin: 0; padding: 0; }
}

/* ---------- 404 ---------- */
.notfound {
  text-align: center;
  max-width: 560px;
  margin: 64px auto;
  padding: 56px 32px;
  background: var(--paper-raised);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.notfound p { color: var(--ink-soft); margin: 0 0 24px; }


/* ---------- BANDEAU DE CONSENTEMENT ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 980px; margin: 0 auto; padding: 20px 28px;
  background: var(--sand-light); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap;
}
.consent[hidden] { display: none; }
.consent-text { flex: 1 1 520px; max-width: 760px; }
.consent p { margin: 0 0 4px; font-size: 0.95rem; }
.consent .consent-title { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.consent a { color: var(--accent); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
.consent .btn { border: 0; font-family: inherit; line-height: 1.2; cursor: pointer; }
