/* guide.css — le guide de démarrage (guide-fr.html, guide-en.html) : une page lisible à l'écran, une seule page A4 à l'impression. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root { --marine: #0a2540; --bleu: #0079c1; --bleu-pale: #e3f1fb; --fond: #eef3f8; --encre: #0f2a43; --encre-douce: #3f5a75; --trait: #c7d5e4; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; }
.page { width: 210mm; max-width: 100%; margin: 16px auto; padding: 12mm 13mm 10mm; background: #fff; box-shadow: 0 6px 24px rgba(10, 37, 64, .12); }
header.guide-entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 3px solid var(--bleu); }
.guide-entete h1 { margin: 0; font-size: 1.45em; font-weight: 800; color: var(--marine); }
.guide-entete .essai { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--bleu-pale); color: var(--bleu); font-size: .78em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.guide-lang { margin: 6px 0 0; font-size: .85em; color: var(--encre-douce); }
.guide-lang a { color: var(--bleu); font-weight: 700; }
.intro { margin: 10px 0 12px; font-size: 1em; }
.etapes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin: 0; padding: 0; list-style: none; counter-reset: pas; }
.etapes li { counter-increment: pas; position: relative; padding: 8px 10px 8px 40px; border: 1px solid var(--trait); border-radius: 10px; font-size: .92em; }
.etapes li::before { content: counter(pas); position: absolute; left: 9px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 800; font-size: .85em; display: flex; align-items: center; justify-content: center; }
.etapes h2 { margin: 0 0 2px; font-size: 1em; font-weight: 800; color: var(--marine); }
.etapes p { margin: 0; }
.regles { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--bleu-pale); font-size: .9em; }
.regles h2 { margin: 0 0 3px; font-size: 1em; font-weight: 800; color: var(--marine); }
.regles ul { margin: 0; padding-left: 18px; }
.retour { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--marine); color: #fff; font-size: .92em; }
.retour strong { color: #fff; }
footer.guide-pied { margin-top: 8px; font-size: .78em; color: var(--encre-douce); }
strong { font-weight: 700; }
@media (max-width: 700px) { .etapes { grid-template-columns: 1fr; } .page { margin: 0; padding: 14px; box-shadow: none; } }
@page { size: A4 portrait; margin: 0; }
@media print {
  body { background: #fff; font-size: 10.5pt; }
  .page { width: auto; margin: 0; padding: 11mm 13mm 9mm; box-shadow: none; }
  .guide-lang a { color: inherit; }
  .retour, .regles, .guide-entete .essai, .etapes li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
