/* Pages publiques Doreviateam — pas de webfont, pas de tracking */
:root {
  --ink: #1a2332;
  --muted: #4a5568;
  --line: #d8dee8;
  --bg: #f7f6f3;
  --paper: #fff;
  --accent: #1f4e5f;
  --mark-bg: #fff3cd;
  --mark-fg: #5c4a00;
  --max: 46rem;
}

* { box-sizing: border-box; }

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}

header.site a.brand {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

header.site nav {
  margin-top: 0.65rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

header.site nav a,
footer.site a {
  color: var(--accent);
}

h1 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.lede {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.meta {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--accent);
}

h3 {
  font-size: 1rem;
  margin: 1.15rem 0 0.35rem;
}

p, li { margin: 0 0 0.7rem; }

ul, ol { padding-left: 1.2rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  margin: 1rem 0 1.25rem;
}

mark.moa,
.moa {
  background: var(--mark-bg);
  color: var(--mark-fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

footer.site {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.6rem;
}

a { color: var(--accent); }

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  html { font-size: 17px; }
  .wrap { padding: 1rem 1rem 2.5rem; }
  h1 { font-size: 1.4rem; }
}
