:root {
  --fond: #f6f8f7;
  --carte: #ffffff;
  --texte: #14211d;
  --discret: #4a5a54;
  --trait: #d7e0dc;
  --accent: #0f766e;
  --sur-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0f1715;
    --carte: #16211e;
    --texte: #e8efec;
    --discret: #a3b3ad;
    --trait: #2a3a35;
    --accent: #4fd1c0;
    --sur-accent: #0f1715;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.conteneur { width: min(100% - 32px, 760px); margin-inline: auto; }

.bandeau { background: var(--carte); border-bottom: 1px solid var(--trait); }
.bandeau-contenu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; }
.marque { font-size: 1.25rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
nav a { margin-right: 16px; color: var(--discret); font-size: .95rem; text-decoration: none; }
nav a:last-child { margin-right: 0; }
nav a:hover { color: var(--accent); text-decoration: underline; }

.accroche { padding: 56px 0 40px; }
.etiquette { margin: 0 0 8px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; }
.chapeau { margin: 0 0 20px; font-size: 1.2rem; }
.statut { margin: 0; padding: 12px 16px; background: var(--carte); border: 1px solid var(--trait); border-left: 4px solid var(--accent); border-radius: 8px; }

.bloc { padding: 28px 0; border-top: 1px solid var(--trait); }
.page { padding: 40px 0 16px; }
.page h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 8px; }
.page .bloc:first-of-type { border-top: 0; }
h2 { margin: 0 0 12px; font-size: 1.4rem; }
p { margin: 0 0 14px; }
address { font-style: normal; }

.etapes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { position: relative; padding: 14px 16px 14px 60px; background: var(--carte); border: 1px solid var(--trait); border-radius: 10px; counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  position: absolute; top: 12px; left: 14px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--accent); color: var(--sur-accent);
  border-radius: 50%; font-weight: 700;
}

.pied { margin-top: 24px; padding: 24px 0 40px; border-top: 1px solid var(--trait); color: var(--discret); font-size: .9rem; }
.pied p { margin: 0 0 6px; }
