:root {
  --ink: #16181d;
  --muted: #5b6270;
  --line: #e6e3dc;
  --paper: #fbfaf7;
  --accent: #e4572e;
  --accent-soft: #fdeee8;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1080px;
}
.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin: 0;
}
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--ink); }

/* Article */
.post { padding: 48px 0 24px; }
.post__kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.post__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.post__lead {
  margin: 20px 0 0;
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
}
.post__meta {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.post__body { margin-top: 36px; }
.post__body p { margin: 0 0 1.1em; }
.post__body h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.list { margin: 0 0 1.2em; padding: 0; list-style: none; }
.list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.6em;
}
.list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pull {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.box {
  margin: 1.4em 0;
  padding: 24px 26px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.box__title {
  margin: 0 0 12px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps { margin: 0 0 1em; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 42px;
  margin-bottom: 0.75em;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card__kicker {
  margin: 0 0 6px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}
.card p:last-child { margin-bottom: 0; font-size: 16px; color: var(--muted); }

.conclusion {
  margin-top: 2em !important;
  padding: 22px 24px;
  background: var(--accent-soft);
  border-radius: 14px;
}

.related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.related__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.related ul { margin: 0; padding: 0; list-style: none; }
.related li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
}

/* Pied de page */
.site-footer {
  margin-top: 64px;
  background: var(--ink);
  color: #b9bec8;
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
  max-width: 1080px;
}
.site-footer p { margin: 0; }
.brand--light { color: #fff; font-size: 20px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-nav { display: none; }
  .post { padding-top: 32px; }
  .post__lead { font-size: 19px; }
  .post__body h2 { font-size: 26px; }
  .pull { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
