@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* ---------------------------------------------------------------
   Révisions science politique — feuille de style
   Fil conducteur : le polycopié annoté. Voir direction-artistique.md
   --------------------------------------------------------------- */

:root {
  --papier: #f4f1e9;
  --papier-2: #eae6d9;
  --papier-3: #e0dbc9;
  --encre: #1b1d22;
  --encre-douce: #4a4e57;
  --encre-pale: #7b7f88;
  --bleu: #27427f;
  --bleu-clair: #4a6bb5;
  --rouge: #a6382c;
  --vert: #3b6b4b;
  --surligneur: #f6e27a;
  --ardoise: #232830;
  --ardoise-2: #2e343e;
  --filet: #cdc7b4;

  --serif: 'Spectral', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;

  --marge: clamp(1.15rem, 5vw, 4.5rem);
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--bleu); }

::selection { background: var(--surligneur); color: var(--encre); }

.enveloppe { max-width: 1180px; margin: 0 auto; padding: 0 var(--marge); }
.colonne-texte { max-width: 68ch; }

/* --- Le grain de papier, posé sur tout le fond clair ------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

/* ===============================================================
   1. Bandeau du haut
   =============================================================== */
.bandeau {
  border-bottom: 1px solid var(--filet);
  background: var(--papier);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bandeau-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem var(--marge);
  max-width: 1180px;
  margin: 0 auto;
}
.bandeau-titre {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--encre);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  white-space: nowrap;
}
.bandeau-titre span {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--encre-pale);
}
.bandeau-liens { display: flex; gap: 1.1rem; align-items: center; }
.bandeau-liens a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--encre-douce);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.bandeau-liens a:hover, .bandeau-liens a[aria-current='page'] {
  color: var(--encre);
  border-bottom-color: var(--bleu);
}

/* la barre d'avancement touche les deux bords */
.jauge-globale { height: 3px; background: var(--papier-3); }
.jauge-globale > div { height: 100%; background: var(--bleu); width: 0; transition: width .6s ease; }

/* ===============================================================
   2. Accueil — page de garde
   =============================================================== */
.garde { padding: clamp(2.6rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.garde-etiquette {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bleu);
  margin: 0 0 1.1rem;
}
.garde h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.9rem, 11vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 1.4rem;
}
.garde h1 em { font-style: italic; font-weight: 400; }
.garde-sous {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--encre-douce);
  margin: 0 0 2rem;
}
.garde-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--filet);
  font-size: .82rem;
  color: var(--encre-douce);
}
.garde-meta b { color: var(--encre); font-weight: 600; }

/* compte à rebours : une note écrite à la main dans la marge */
.note-marge {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rouge);
  font-size: 1rem;
  border-left: 2px solid var(--rouge);
  padding-left: .8rem;
  margin: 1.6rem 0 0;
  max-width: 34ch;
}

/* ===============================================================
   3. Table des matières
   =============================================================== */
.sommaire { padding-bottom: 4rem; }

.bloc-plan { margin-bottom: 2.9rem; }
.bloc-entete {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--encre);
  margin-bottom: .35rem;
}
.bloc-num {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}
.bloc-titre {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 600;
  margin: 0;
  flex: 1;
}
.bloc-compte {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--encre-pale);
  white-space: nowrap;
}

/* la ligne de table des matières : titre, points de conduite, état */
.ligne-chap {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .82rem 0;
  border-bottom: 1px solid var(--filet);
  text-decoration: none;
  color: var(--encre);
}
.ligne-chap:hover { background: rgba(39, 66, 127, .05); }
.ligne-chap:hover .chap-titre { color: var(--bleu); }
.chap-seance {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--encre-pale);
  min-width: 4.6rem;
}
.chap-corps { flex: 1; min-width: 0; }
.chap-titre {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.25;
  display: block;
}
.chap-mots {
  font-size: .82rem;
  color: var(--encre-douce);
  display: block;
  margin-top: .15rem;
}
.chap-points {
  flex: 1;
  border-bottom: 1px dotted var(--filet);
  min-width: 1.5rem;
  transform: translateY(-4px);
}
.chap-etat {
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--encre-pale);
  text-align: right;
  min-width: 5.4rem;
}
.chap-etat.fait { color: var(--vert); }
.chap-etat.encours { color: var(--bleu); }

/* ===============================================================
   4. Cartouches d'appel (examen blanc, pièges)
   =============================================================== */
.appels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
  margin: 0 0 4rem;
}
.appel {
  background: var(--papier);
  padding: 1.7rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.appel:hover { background: var(--papier-2); }
.appel-sur { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }
.appel h3 { font-family: var(--serif); font-size: 1.4rem; margin: .5rem 0 .4rem; font-weight: 600; }
.appel p { margin: 0; font-size: .88rem; color: var(--encre-douce); }

/* ===============================================================
   5. Page de chapitre
   =============================================================== */
.chap-garde {
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--filet);
}
.fil { font-size: .78rem; color: var(--encre-pale); margin-bottom: 1.1rem; }
.fil a { color: var(--encre-douce); text-decoration: none; }
.fil a:hover { color: var(--bleu); }
.chap-garde h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 .8rem;
  max-width: 20ch;
}
.chap-date {
  font-size: .8rem;
  color: var(--encre-douce);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
}

.section-cours { padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.section-cours + .section-cours { border-top: 1px solid var(--filet); }

.titre-section {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bleu);
  margin: 0 0 1.3rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.titre-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--filet);
}

.texte-cours { font-family: var(--serif); font-size: 1.14rem; line-height: 1.72; }
.texte-cours p { margin: 0 0 1.15rem; }
.texte-cours p:last-child { margin-bottom: 0; }
.texte-cours strong { font-weight: 600; }

/* le surligneur : bande basse irrégulière, jamais un rectangle */
.surl {
  background-image: linear-gradient(180deg, transparent 52%, var(--surligneur) 52%, var(--surligneur) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  padding: 0 .1em;
  transition: background-size .55s cubic-bezier(.2, .7, .3, 1);
}
.vu .surl { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) {
  .surl { background-size: 100% 100%; transition: none; }
}

/* le glossaire, en colonnes de journal */
.glossaire { columns: 2; column-gap: 2.6rem; column-rule: 1px solid var(--filet); margin: 0; }
.glossaire > div { break-inside: avoid; margin-bottom: 1.15rem; }
.glossaire dt {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .005em;
}
.glossaire dd {
  margin: .15rem 0 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

/* l'index des auteurs */
.auteurs { border-top: 1px solid var(--encre); }
.auteur {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: .3rem 1.4rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--filet);
  align-items: baseline;
}
.auteur-nom {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
}
.auteur-nom small {
  display: block;
  font-weight: 500;
  font-size: .72rem;
  color: var(--encre-pale);
  letter-spacing: 0;
}
.auteur-these { font-family: var(--serif); font-size: 1.04rem; line-height: 1.5; margin: 0; }

/* tableau de manuel */
.tableau-cours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tableau-cours caption {
  text-align: left;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--encre-douce);
  padding-bottom: .6rem;
}
.tableau-cours th, .tableau-cours td {
  text-align: left;
  padding: .62rem .8rem .62rem 0;
  border-bottom: 1px solid var(--filet);
  vertical-align: top;
}
.tableau-cours thead th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--encre);
  color: var(--encre);
}
.tableau-cours tbody th { font-weight: 600; font-family: var(--serif); font-size: 1.02rem; }
.tableau-enveloppe { overflow-x: auto; }

/* encadré : la question posée en amphi */
.amphi {
  background: var(--papier-2);
  border-left: 3px solid var(--bleu);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}
.amphi-sur {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: .4rem;
}
.amphi p { margin: 0; font-family: var(--serif); font-size: 1.05rem; }

/* ===============================================================
   6. L'entraînement — fond ardoise, pleine largeur
   =============================================================== */
.entrainement {
  background: var(--ardoise);
  color: #eceadf;
  padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(2.8rem, 6vw, 4.2rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
.entrainement .titre-section { color: var(--surligneur); }
.entrainement .titre-section::after { background: rgba(236, 234, 223, .22); }

.entete-exo { margin-bottom: 1.8rem; max-width: 60ch; }
.entete-exo h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 .5rem;
  color: #fbf9f2;
}
.entete-exo p { margin: 0; color: #b9b6ab; font-size: .95rem; }

.question {
  border-top: 1px solid rgba(236, 234, 223, .18);
  padding: 1.6rem 0 1.4rem;
}
.question:last-of-type { border-bottom: 1px solid rgba(236, 234, 223, .18); }
.q-entete { display: flex; gap: .9rem; align-items: baseline; margin-bottom: 1rem; }
.q-num {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  color: var(--surligneur);
  min-width: 2.1rem;
}
.q-texte {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.4vw, 1.22rem);
  line-height: 1.45;
  margin: 0;
  color: #fbf9f2;
}
.q-source {
  display: inline-block;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ardoise);
  background: var(--surligneur);
  padding: .12rem .45rem;
  margin-bottom: .55rem;
}

.propositions { list-style: none; margin: 0 0 0 3rem; padding: 0; display: flex; flex-direction: column; gap: .42rem; max-width: 56rem; }
.q-texte, .correction, .entete-exo p { max-width: 54rem; }
.prop {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(236, 234, 223, .22);
  color: #eceadf;
  font-family: var(--sans);
  font-size: .97rem;
  line-height: 1.45;
  padding: .68rem .9rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.prop:hover:not(:disabled) { background: rgba(236, 234, 223, .07); border-color: rgba(236, 234, 223, .45); }
.prop-lettre {
  font-weight: 700;
  font-size: .82rem;
  min-width: 1.1rem;
  padding-top: .1rem;
  color: #b9b6ab;
}
.prop.choisie { border-color: var(--surligneur); background: rgba(246, 226, 122, .1); }
.prop.juste { border-color: #6fae83; background: rgba(111, 174, 131, .16); }
.prop.juste .prop-lettre { color: #8fd0a2; }
.prop.fausse { border-color: #cf6f62; background: rgba(207, 111, 98, .14); }
.prop.fausse .prop-lettre { color: #e79b8f; }
.prop:disabled { cursor: default; }

.barre-q { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0 3rem; flex-wrap: wrap; }

.bouton {
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .58rem 1.15rem;
  border: 1px solid var(--encre);
  background: var(--encre);
  color: var(--papier);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.bouton:hover { background: var(--bleu); border-color: var(--bleu); }
.bouton:disabled { opacity: .35; cursor: default; }
.bouton.clair { background: transparent; color: #eceadf; border-color: rgba(236, 234, 223, .45); }
.bouton.clair:hover { background: rgba(236, 234, 223, .12); border-color: #eceadf; }
.bouton.papier { background: var(--encre); color: var(--papier); }

.correction {
  margin: 1rem 0 0 3rem;
  padding: .9rem 1.1rem;
  background: rgba(236, 234, 223, .07);
  border-left: 3px solid var(--surligneur);
  font-size: .95rem;
  line-height: 1.55;
  color: #ded9ca;
}
.correction b { color: #fbf9f2; }
.correction .renvoi {
  display: block;
  margin-top: .5rem;
  font-size: .74rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #9a978d;
  font-weight: 600;
}

.verdict { font-weight: 700; margin-right: .4rem; }
.verdict.ok { color: #8fd0a2; }
.verdict.ko { color: #e79b8f; }

/* vrai / faux */
.duo { display: flex; gap: .6rem; margin-left: 3rem; flex-wrap: wrap; }
.duo .prop { width: auto; min-width: 7.5rem; justify-content: center; }

/* question à rédiger */
.redaction { margin-left: 3rem; }
.redaction textarea {
  width: 100%;
  min-height: 6.5rem;
  background: rgba(236, 234, 223, .06);
  border: 1px solid rgba(236, 234, 223, .25);
  color: #eceadf;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
  padding: .8rem .9rem;
  resize: vertical;
}
.redaction textarea:focus { outline: 2px solid var(--surligneur); outline-offset: 1px; }
.corrige {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(246, 226, 122, .07);
  border: 1px dashed rgba(246, 226, 122, .4);
}
.corrige h4 {
  margin: 0 0 .5rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--surligneur);
}
.corrige ul { margin: 0; padding-left: 1.1rem; }
.corrige li { margin-bottom: .35rem; font-size: .96rem; }

/* le compteur du chapitre */
.bilan-chap {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(236, 234, 223, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}
.bilan-chiffre { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: #fbf9f2; line-height: 1; }
.bilan-texte { font-size: .9rem; color: #b9b6ab; max-width: 34ch; }

/* ===============================================================
   7. Les pièges — fond bleu
   =============================================================== */
.pieges { background: var(--bleu); color: #eef1f8; padding: clamp(2.4rem, 6vw, 3.8rem) 0; }
.pieges .titre-section { color: var(--surligneur); }
.pieges .titre-section::after { background: rgba(238, 241, 248, .25); }
.paire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(238, 241, 248, .22);
}
.paire h4 { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 .35rem; font-weight: 600; }
.paire p { margin: 0; font-size: .92rem; line-height: 1.5; color: #ccd5ea; }
.paire-cle {
  grid-column: 1 / -1;
  font-size: .85rem;
  color: var(--surligneur);
  font-style: italic;
  font-family: var(--serif);
  padding-top: .3rem;
}

/* ===============================================================
   8. Navigation de bas de page
   =============================================================== */
.pied-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem 0 3rem;
  flex-wrap: wrap;
}
.pied-nav a {
  text-decoration: none;
  color: var(--encre);
  font-family: var(--serif);
  font-size: 1.05rem;
  max-width: 20rem;
}
.pied-nav a small {
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-pale);
  margin-bottom: .2rem;
}
.pied-nav a:hover { color: var(--bleu); }
.pied-nav .suivant { text-align: right; margin-left: auto; }

.pied {
  border-top: 1px solid var(--filet);
  padding: 1.5rem 0 2.5rem;
  font-size: .78rem;
  color: var(--encre-pale);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pied a { color: var(--encre-douce); text-decoration: none; }

/* ===============================================================
   9. Examen blanc
   =============================================================== */
.feuille-examen {
  border: 1px solid var(--encre);
  padding: clamp(1.3rem, 4vw, 2.2rem);
  margin: clamp(2rem, 5vw, 3rem) 0;
  background: var(--papier-2);
}
.feuille-entete {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1.5px solid var(--encre);
  padding-bottom: .8rem;
  margin-bottom: 1.1rem;
}
.feuille-entete h1 { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2rem); margin: 0; font-weight: 700; }
.feuille-consigne { font-size: .9rem; color: var(--encre-douce); max-width: 58ch; }
.feuille-consigne li { margin-bottom: .3rem; }

.chrono {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--encre);
}
.chrono.rouge { color: var(--rouge); }

.resultat-examen { padding: 2rem 0 1rem; }
.note {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 12vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--bleu);
}
.note small { font-size: .3em; color: var(--encre-douce); font-weight: 400; }
.liste-erreurs { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.liste-erreurs li { padding: .8rem 0; border-bottom: 1px solid var(--filet); font-size: .95rem; }
.liste-erreurs .ratee { font-family: var(--serif); font-size: 1.06rem; display: block; margin-bottom: .2rem; }
.liste-erreurs a { font-size: .82rem; }

/* ===============================================================
   10. Divers
   =============================================================== */
.cache { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.aucun { color: var(--encre-pale); font-style: italic; }

.schema { margin: 1.8rem 0; }
.schema svg { width: 100%; height: auto; }
.schema figcaption {
  font-size: .78rem;
  color: var(--encre-pale);
  margin-top: .5rem;
  font-family: var(--sans);
}

/* ===============================================================
   11. Écrans étroits
   =============================================================== */
@media (max-width: 860px) {
  .glossaire { columns: 1; }
  .auteur { grid-template-columns: 1fr; gap: .1rem; }
  .paire { grid-template-columns: 1fr; gap: 1.1rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .bandeau-liens { gap: .9rem; }
  .bandeau-liens a { font-size: .8rem; }
  .bandeau-titre { font-size: .92rem; }
  .bandeau-titre span, .lien-exo { display: none; }
  .bloc-chapo { margin: .45rem 0 1rem; }
  .ligne-chap { flex-wrap: wrap; gap: .2rem .6rem; padding: .75rem 0; }
  .chap-seance { min-width: 0; order: 1; }
  .chap-etat { order: 2; min-width: 0; margin-left: auto; }
  .chap-corps { order: 3; flex: 1 0 100%; }
  .chap-points { display: none; }
  .propositions, .barre-q, .correction, .duo, .redaction { margin-left: 0; }
  .q-entete { gap: .6rem; }
  .q-num { min-width: 1.6rem; }
  .texte-cours { font-size: 1.06rem; }
  .pied-nav { flex-direction: column; }
  .pied-nav .suivant { text-align: left; margin-left: 0; }
}

.bloc-chapo { margin: .45rem 0 1rem; color: var(--encre-douce); font-size: .88rem; max-width: 62ch; }

/* la barre de l'examen reste visible pendant l'épreuve */
.barre-examen {
  position: sticky;
  top: 47px;
  z-index: 20;
  margin: 1.4rem 0 0;
  background: var(--papier-2);
}
.barre-examen .feuille-entete { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* les schémas gardent une taille lisible et défilent latéralement sur petit écran */
.schema { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schema svg { min-width: 640px; }
@media (max-width: 700px) {
  .schema { border-left: 2px solid var(--filet); padding-left: .6rem; }
  .schema figcaption { min-width: 0; }
}
