:root { --accent: #2bafb8; --paper: #f6f1ec; --ink: #1f1d1b; --line: #e2d9cf; --muted: #857c73; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; }
/* barre du haut aux couleurs choisies dans l'interface (même que le flipbook) */
.top {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px 16px; background: #ffffff; color: #1c1b1a;
}
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .04em; font-size: 18px; text-decoration: none; color: inherit; }
.brand img { display: block; height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.crumbs { flex: 1; font-size: 14px; opacity: .8; min-width: 0; }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.btn {
  display: inline-block; text-decoration: none; padding: 9px 16px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; margin: 4px 8px 4px 0;
}
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.top .btn { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 16px; }
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.page-img { margin: 0; position: sticky; top: 16px; }
.page-img img { width: 100%; height: auto; display: block; background: #fff; box-shadow: 0 6px 30px rgba(0, 0, 0, .15); border-radius: 2px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }
h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 16px; }
.page-text h2 { font-size: 18px; margin: 22px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.page-text p { margin: 0 0 10px; color: #3d3833; }
.cta { margin-top: 24px !important; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 32px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 600; }
.pager a:hover { color: var(--accent); }
.sections h2 { font-size: 18px; }
.sections ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sections a { display: block; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.sections a:hover, .sections a[aria-current] { border-color: var(--accent); color: var(--accent); }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 16px 16px 32px; }
@media (max-width: 800px) {
  .sheet { grid-template-columns: 1fr; gap: 20px; }
  .page-img { position: static; }
  .top .btn { width: 100%; text-align: center; }
}
