:root { --paper: #f3f6fa; --paper-2: #ffffff; --grille: #dde5f0; --encre: #142238; --encre-2: #52657f; --trait: #c9d5e4; --rouge: #bd433a; --craie: #e6edf7; --dp: Georgia, "Times New Roman", Times, serif; --tx: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --mo: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; --lg: 1160px; }
*,*::before,*::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--tx); font-size: 14.5px; line-height: 1.5; color: var(--encre); background-color: var(--paper); background-image: linear-gradient(var(--grille) 1px, transparent 1px),
    linear-gradient(90deg, var(--grille) 1px, transparent 1px),
    linear-gradient(rgba(20,34,56,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,34,56,.045) 1px, transparent 1px); background-size: 25px 25px, 25px 25px, 125px 125px, 125px 125px; -webkit-font-smoothing: antialiased; }
a { color: var(--encre); text-decoration-color: var(--trait); text-underline-offset: 3px; }
a:hover { color: var(--rouge); text-decoration-color: var(--rouge); }
a:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
h1,h2,h3 { font-family: var(--dp); font-weight: 600; line-height: 1.15; margin: 0; }
.mono { font-family: var(--mo); }
.enveloppe { max-width: var(--lg); margin: 0 auto; padding: 0 24px; }
.entete { background: var(--paper-2); border-bottom: 1px solid var(--trait); }
.entete-grille { max-width: var(--lg); margin: 0 auto; padding: 18px 24px 16px; display: grid; grid-template-columns: 1fr 115px; gap: 28px; align-items: center; }
.eyebrow { font-family: var(--mo); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); margin: 0 0 8px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--rouge); vertical-align: middle; margin-right: 10px; }
h1 { font-size: 2.1rem; letter-spacing: -.015em; }
h1 .nom { font-variant-caps: small-caps; letter-spacing: .02em; }
.sous-titre { margin: 8px 0 0; color: var(--encre-2); font-size: .97rem; }
.sous-titre strong { color: var(--encre); font-weight: 400; box-shadow: inset 0 -.5em 0 var(--craie); }
.vignette { margin: 0; }
.portrait { width: 100%; height: auto; display: block; border: 1px solid var(--encre); background: var(--craie); }
.nav { background: var(--paper-2); border-bottom: 1px solid var(--trait); }
.nav-liste { max-width: var(--lg); margin: 0 auto; padding: 0 24px; list-style: none; display: flex; flex-wrap: wrap; }
.nav-liste li { flex: 1 1 auto; }
.onglet { display: block; text-align: center; text-decoration: none; font-family: var(--mo); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); padding: 13px 10px 10px; border-bottom: 3px solid transparent; }
.onglet:hover { color: var(--encre); }
.onglet.actif { color: var(--encre); border-bottom-color: var(--rouge); }
.page { display: block; padding: 22px 0 52px; }
.bloc { background: var(--paper-2); border: 1px solid var(--trait); padding: 13px 22px 14px; margin-bottom: 12px; }
.bloc > *:first-child { margin-top: 0; }
.bloc > *:last-child { margin-bottom: 0; }
.bloc p { margin: 0 0 11px; }
h2.titre-section { font-size: 1rem; font-family: var(--mo); font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--encre-2); margin: 24px 0 11px; display: flex; align-items: center; gap: 14px; }
h2.titre-section::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.enveloppe > h2.titre-section:first-child { margin-top: 0; }
h3.titre-bloc { font-size: 1.2rem; margin: 0 0 5px; }
h3.titre-bloc + .meta { margin-top: -2px; }
.meta { font-family: var(--mo); font-size: 12.5px; color: var(--encre-2); letter-spacing: .03em; margin: 0 0 14px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.trois-colonnes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.empile { display: block; }
a.url { font-family: var(--mo); font-size: .84em; overflow-wrap: anywhere; word-break: break-word; }
ul.liens { list-style: none; margin: 0; padding: 0; }
ul.liens li { padding: 5px 0 5px 18px; position: relative; border-bottom: 1px dotted var(--trait); font-size: .96rem; }
ul.liens li:last-child { border-bottom: 0; }
ul.liens li::before { content: "→"; position: absolute; left: 0; color: var(--trait); font-family: var(--mo); font-size: .8rem; }
ul.liens li:hover::before { color: var(--rouge); }
ul.simple { margin: 0 0 14px; padding-left: 20px; }
ul.simple li { margin-bottom: 6px; }
.bouton { display: inline-block; text-decoration: none; font-family: var(--mo); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--encre); color: var(--encre); background: var(--paper-2); padding: 11px 18px; }
.bouton:hover { background: var(--encre); color: var(--paper-2); }
.bouton.rouge { border-color: var(--rouge); color: var(--rouge); }
.bouton.rouge:hover { background: var(--rouge); color: #fff; }
.nouveaute { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 9px 0; border-top: 1px dotted var(--trait); }
.nouveaute:first-of-type { border-top: 0; }
.nouveaute .date { font-family: var(--mo); font-size: 12.5px; color: var(--rouge); padding-top: 4px; }
.nouveaute p { margin: 0; }
.seance { display: grid; grid-template-columns: 66px 44px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--trait); align-items: baseline; }
.seance:last-child { border-bottom: 0; }
.seance .j { font-family: var(--mo); font-size: 13px; color: var(--encre); }
.seance .qui { font-family: var(--mo); font-size: 11px; letter-spacing: .06em; color: var(--encre-2); }
.seance .quoi { font-size: .95rem; }
.seance.exam { background: var(--craie); margin: 6px -10px; padding: 10px; border-bottom: 0; }
.seance.exam .quoi { font-weight: 700; }
.legende { font-family: var(--mo); font-size: 11.5px; color: var(--encre-2); letter-spacing: .04em; margin-top: 14px; }
.note { border-left: 2px solid var(--rouge); padding: 2px 0 2px 16px; margin: 16px 0; color: var(--encre-2); font-style: italic; font-size: .95rem; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts.centre { justify-content: center; }
.partition { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.partition .consigne { font-size: .9rem; color: var(--encre-2); }
.tirage { display: none; scroll-margin-top: 70px; }
.tirage-defaut { display: block; }
.tirage:target { display: block; }
.tirage:target ~ .tirage-defaut { display: none; }
.schema { position: relative; width: 200px; height: 200px; cursor: crosshair; border: 1px solid var(--encre); background: var(--paper-2); }
.schema .cellule { position: absolute; display: block; border: 1px solid rgba(20,34,56,.55); animation: apparition .45s ease both; transition: background-color .12s ease, border-color .12s ease; }
.schema .cellule.cible { background: var(--craie); border: 1.5px solid var(--rouge); z-index: 1; }
.schema:hover .cellule.cible { background: transparent; border: 1px solid rgba(20,34,56,.55); z-index: 0; }
.schema .cellule:hover,
.schema .cellule.cible:hover { background: var(--craie); border: 1.5px solid var(--rouge); z-index: 1; }
.schema .point { position: absolute; display: block; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--rouge); z-index: 2; pointer-events: none; animation: apparition .35s ease both; }
.schema .etiquette { position: absolute; display: block; z-index: 2; pointer-events: none; font-family: var(--mo); font-style: italic; font-size: 11px; color: var(--rouge); animation: apparition .35s ease both; }
.schema:hover .point,
.schema:hover .etiquette { visibility: hidden; }
.redessiner { display: inline-block; margin-top: 10px; text-decoration: none; font-family: var(--mo); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); border: 1px solid var(--trait); padding: 7px 12px; }
.redessiner:hover { border-color: var(--rouge); color: var(--rouge); }
@keyframes apparition { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion:reduce) {
.schema .cellule, .schema .point, .schema .etiquette { animation: none; }
}
.pied { border-top: 1px solid var(--trait); background: var(--paper-2); padding: 26px 0; font-family: var(--mo); font-size: 12px; color: var(--encre-2); }
.pied .enveloppe { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
@media (max-width:860px) {
.entete-grille { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
.vignette { max-width: 108px; }
.deux-colonnes,.trois-colonnes { grid-template-columns: 1fr; }
.partition { grid-template-columns: 1fr; }
.bloc { padding: 13px 16px 14px; }
.nouveaute { grid-template-columns: 1fr; gap: 4px; }
.seance { grid-template-columns: 64px 42px 1fr; gap: 10px; }
.nav-liste li { flex: 1 1 40%; }
}
@media print {
body { background: #fff; }
.nav { display: none; }
.bloc { break-inside: avoid; border-color: #999; }
}
