:root {
  --encre: #101e39;
  --bleu: #234dcc;
  --texte: #47566e;
  --fond: #f4f6fa;
  --bordure: #d8dfea;
  font-family: "DM Sans", sans-serif;
  color: var(--encre);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
.cadre { width: min(1240px, 100% - 40px); margin-inline: auto; }
header { border-bottom: 1px solid var(--bordure); }
.entete { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marque { display: flex; align-items: center; gap: 10px; font: 600 1.85rem/1 "Spectral", Georgia, serif; color: inherit; text-decoration: none; }
.marque small { display: block; color: var(--bleu); font: 700 .65rem/1.4 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
a { color: var(--bleu); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 4px; }
.introduction { background: var(--encre); color: white; padding-block: clamp(40px, 7vw, 90px); }
.introduction p { max-width: 62ch; color: #e0e8fa; }
h1, h2 { font: 600 clamp(1.65rem, 3vw, 2.25rem)/1.15 "Spectral", Georgia, serif; margin: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4.2rem); max-width: 19ch; }
h3 { font-size: 1rem; margin: 22px 0 8px; }
.rubrique { font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; color: var(--bleu); margin: 0 0 10px; }
.bouton, button { display: inline-block; background: var(--bleu); color: white; padding: 10px 16px; border: 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.parcours { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 6vw, 84px); padding-block: 42px 68px; align-items: start; }
nav { position: sticky; top: 20px; border-top: 3px solid var(--encre); padding-block: 14px; }
nav h2 { font-size: 1.35rem; }
nav ol { padding-left: 20px; }
nav li { margin: 7px 0; }
.lecons { max-width: 830px; }
.note, .consigne { background: var(--fond); padding: 16px 20px; border-left: 3px solid var(--bleu); }
.note p { margin: 5px 0 0; }
.lecon { padding-block: 28px; border-bottom: 1px solid var(--bordure); scroll-margin-top: 12px; }
.lecon > p:not(.rubrique), .note p { color: var(--texte); }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.consigne button { margin-top: 12px; padding: 6px 14px; }
details { margin: 14px 0; border: 1px solid var(--bordure); padding: 12px 16px; }
summary { cursor: pointer; font-weight: 700; }
.verification { margin-bottom: 0; }
@media (max-width: 760px) {
  .parcours { grid-template-columns: minmax(0, 1fr); padding-top: 26px; }
  nav { position: static; }
}
.prof-acces { display: inline-block; margin: 12px 0 0 12px; color: white; }
.prof-module-lien { display: inline-block; margin-top: 10px; font-weight: 700; }
@media (max-width: 520px) { .prof-acces { display: block; margin-left: 0; } }
.classe-bloc { margin: 24px 0; padding: clamp(14px, 3vw, 24px); border: 1px solid var(--bordure); }
.classe-bloc h3 { margin-top: 0; font: 600 1.35rem "Spectral", Georgia, serif; }
.classe-bloc fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.classe-bloc legend { font-weight: 700; }
.classe-bloc label { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.classe-bloc input { flex: none; accent-color: var(--bleu); }
.classe-bloc textarea { display: block; width: 100%; font: inherit; padding: 8px; resize: vertical; }
.classe-bloc blockquote { margin-inline: 0; padding: 12px; background: var(--fond); }

.outil-pratique { margin-top: 18px; padding: clamp(14px, 3vw, 24px); background: var(--fond); border: 1px solid var(--bordure); }
.outil-pratique h3 { margin-top: 0; }
.outil-pratique textarea { display: block; width: 100%; margin-bottom: 12px; padding: 8px; font: inherit; resize: vertical; }
.outil-pratique fieldset { min-width: 0; padding: 10px 12px; border: 1px solid var(--bordure); }
.outil-pratique fieldset label { display: flex; align-items: baseline; gap: 8px; }
.outil-pratique input { accent-color: var(--bleu); }
.outil-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#outil-exemple { background: white; color: var(--bleu); outline: 1px solid var(--bordure); outline-offset: -1px; }

.image-lecon { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 470; object-fit: cover; margin: 18px 0; }
.liens-campus { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.blogue-guides { padding-block: 28px 70px; max-width: 860px; }
.blogue-guide { margin-top: 28px; padding: clamp(16px, 4vw, 28px); border: 1px solid var(--bordure); }
.blogue-guide button[aria-pressed="true"] { background: var(--encre); }
