:root {
  color-scheme: dark;
  --fond: #101c17;
  --panneau: #17251d;
  --texte: #f4ecdb;
  --doux: #ddd2bb;
  --or: #f1ce83;
  --bord: #554a30;
  font-family: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); }
a { color: var(--or); text-underline-offset: .24em; }
a:hover { color: #fff1ce; }
a:focus-visible { outline: 2px solid var(--or); outline-offset: 5px; }
.entete, main { width: min(100% - 2rem, 56rem); margin-inline: auto; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--bord); }
.marque { display: flex; gap: .65rem; align-items: center; text-decoration: none; font: 700 1.5rem "Baskervville", Georgia, serif; }
.marque img { border-radius: 4px; }
.retour { font-size: .9rem; }
main { padding-block: clamp(2rem, 6vw, 4rem) 3rem; }
.introduction { max-width: 42rem; }
h1, h2 { font-family: "Baskervville", Georgia, serif; font-weight: 500; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2.2rem, 8vw, 4rem); }
h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); }
p { color: var(--doux); line-height: 1.65; margin: .55rem 0 0; }
strong { color: var(--texte); }
.introduction p { font-size: 1.08rem; margin-top: .9rem; }
.etapes { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.5rem; counter-reset: etape; }
.etapes li, aside { background: var(--panneau); border: 1px solid var(--bord); border-radius: 1rem; padding: clamp(.85rem, 3vw, 1.5rem); }
.etapes li { counter-increment: etape; }
.consigne { position: relative; margin-bottom: 1rem; padding-left: 2.85rem; }
.consigne::before { content: counter(etape); position: absolute; left: 0; top: .03em; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid #886b36; border-radius: 50%; color: var(--or); font-size: .9rem; font-weight: 700; }
figure { margin: 1rem 0 0; }
.capture { display: block; position: relative; border-radius: .6rem; overflow: hidden; background: #101a15; line-height: 0; }
.capture img { display: block; width: 100%; height: auto; }
.capture svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.capture--accueil { max-width: 31rem; aspect-ratio: 362 / 260; }
.capture--accueil img, .capture--accueil svg { position: absolute; inset: auto; top: -33.08%; left: -253.59%; width: 353.59%; height: auto; }
.fleche-ombre, .fleche-or { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fleche-ombre { stroke: #16130c; stroke-width: 7; }
.fleche-or { stroke: #ffe18a; stroke-width: 4; }
figcaption { color: var(--doux); font-size: .88rem; line-height: 1.5; margin-top: .45rem; }
.jouer { display: inline-block; margin-top: 1.4rem; padding: .75rem 1rem; background: var(--or); color: #201a0f; border-radius: .45rem; font-weight: 700; text-decoration: none; }
.jouer:hover { background: #ffe1a4; color: #201a0f; }
@media (max-width: 520px) {
  .entete, main { width: min(100% - 1rem, 56rem); }
  .consigne { padding-left: 2.4rem; }
  .consigne::before { width: 1.8rem; height: 1.8rem; }
}
