:root{--noir:#101218;--nuit:#14213d;--or:#c9a227;--or-clair:#f8f0d4;--fond:#f4f5f8;--carte:#fff;--texte:#1c2333;--gris:#5d6577;--trait:#dde0e8;--vert:#17723a;--vert-fond:#e5f4ea;--rouge:#a4262c;--rouge-fond:#fbeaea;--ambre:#8a5a00;--ambre-fond:#fdf1d8;--or-vif:#e6bd4c;--haut:126px}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;font-family:"Segoe UI",Arial,sans-serif;background:var(--fond);color:var(--texte);line-height:1.6}
a{color:#1d4f91}
h1{color:var(--nuit);font-size:26px;margin:4px 0 8px}
h2{color:var(--nuit);font-size:19px;margin:0 0 10px}
h3{color:var(--nuit);font-size:16px;margin:16px 0 6px}
.gris{color:var(--gris)}.petit{font-size:13.5px}
.attente{padding:40px;text-align:center}
.marque{font-size:20px;letter-spacing:.5px}
.marque span{color:var(--or)}
.ico{width:22px;height:22px;flex:none}
/* ---------- en-tête ---------- */
.entete{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:22px;height:76px;padding:0 24px;background:#08090d;color:#fff;border-bottom:2px solid var(--or)}
.enseigne{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none;white-space:nowrap}
.enseigne img{width:50px;height:50px;border-radius:10px;border:1px solid var(--or)}
.enseigne strong{display:block;font-size:21px;letter-spacing:.4px;line-height:1.25}
.enseigne strong span{color:var(--or-vif)}
.enseigne small{display:block;color:#aeb3c2;font-size:12.5px;line-height:1.3}
.recherche{position:relative;flex:1;max-width:460px;margin-left:auto;color:#aeb3c2}
.recherche>.ico{position:absolute;left:14px;top:11px;width:20px;height:20px;pointer-events:none}
.recherche input{width:100%;background:#151822;border:1px solid #2c3142;color:#fff;border-radius:11px;padding:9px 14px 9px 44px}
.recherche input::placeholder{color:#99a0b2}
.outils{display:flex;align-items:center;gap:14px}
.separateur{width:1px;height:34px;background:#333849}
#cloche,.zone-profil{position:relative}
button.rond-entete{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:0;background:transparent;border:0;border-radius:50%;color:#fff}
button.rond-entete:hover{background:#1b1f2c}
.point{position:absolute;top:7px;right:8px;width:10px;height:10px;border-radius:50%;background:var(--or-vif);border:2px solid #08090d}
.profil{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;white-space:nowrap}
.avatar{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;background:linear-gradient(135deg,#f1d27a,#b98a14);color:#10131c;font-weight:700}
.qui b{display:block;font-size:14.5px;line-height:1.3}.qui small{display:block;color:var(--or-vif);font-weight:700;letter-spacing:.8px;font-size:12px;line-height:1.4}
button.sortie{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid #4a5064;color:#fff;font-size:14px;padding:7px 13px;white-space:nowrap}
button.sortie:hover{border-color:var(--or-vif);color:var(--or-vif)}
.sortie .ico{width:18px;height:18px}
button.danger{background:#fff;color:var(--rouge);border-color:var(--rouge)}
button.danger:hover{background:var(--rouge-fond)}
td.compte{white-space:nowrap}td.compte .note{display:block;width:max-content;margin-bottom:6px}
table.fixe td:nth-child(2){width:190px}table.fixe td:nth-child(3){width:150px}
.deroulant{position:absolute;right:0;top:calc(100% + 12px);z-index:40;width:290px;max-height:70vh;overflow:auto;background:#fff;color:var(--texte);border:1px solid var(--trait);border-radius:12px;box-shadow:0 14px 34px rgba(10,14,28,.22);padding:8px}
.deroulant h2{font-size:15px;margin:6px 10px}
.deroulant p{margin:6px 10px}
.deroulant small{display:block;color:var(--gris);font-weight:400;font-size:12.5px;line-height:1.4}
.deroulant a,.deroulant button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;color:var(--texte);text-decoration:none;padding:8px 10px;font-weight:400}
.deroulant a:hover,.deroulant button:hover{background:var(--or-clair)}
.deroulant b{font-weight:600;font-size:14.5px}
.deroulant.resultats{left:0;right:0;width:auto}
button.ouvre-menu{display:none}
/* ---------- menu de gauche ---------- */
.cadre{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:calc(100vh - 76px)}
#menu{position:sticky;top:76px;align-self:start;height:calc(100vh - 76px);display:flex;flex-direction:column;background:linear-gradient(180deg,#0e1526,#080b14);color:#dfe3ee;overflow:hidden}
#menu .defilement{flex:1;min-height:0;overflow-y:auto;padding:16px 14px 10px;scrollbar-width:thin;scrollbar-color:#2c3550 transparent}
#menu .entree{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;margin:3px 0;border:0;border-radius:11px;background:transparent;color:#dfe3ee;font-weight:500;font-size:15px;text-align:left;text-decoration:none;cursor:pointer}
#menu .entree>span{flex:1}
#menu .entree:hover{background:#18213a}
#menu .entree.actif{background:linear-gradient(100deg,#f0cf6f,#c2921c);color:#10131c;font-weight:700}
#menu .chevron{width:17px;height:17px;transition:transform .15s}
#menu [aria-expanded="true"] .chevron{transform:rotate(180deg)}
#menu .sous-menu{margin:2px 0 6px 24px;border-left:1px solid #2c3550;padding-left:8px}
#menu .sous-menu a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;border-radius:7px;color:#c3c9d9;text-decoration:none;font-size:13.5px;line-height:1.4}
#menu .sous-menu a:hover{background:#18213a;color:#fff}
#menu .sous-menu a.choisi{color:var(--or-vif);font-weight:700;background:#171e33}
#menu .sous-menu em{font-style:normal;color:#8f98b0;font-size:12px;white-space:nowrap}
#menu .sous-menu h3{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:#c9a227;margin:10px 8px 2px}
#menu hr{border:0;border-top:1px solid #273049;margin:14px 6px}
.courbes{display:block;width:100%;height:130px;flex:none;pointer-events:none}
@media (max-height:640px){.courbes{display:none}}
/* ---------- pages ---------- */
main{padding:18px 28px 70px;max-width:1320px;width:100%;margin:0 auto;min-width:0}
.carte{background:var(--carte);border:1px solid var(--trait);border-radius:14px;padding:18px 22px;margin:14px 0;box-shadow:0 2px 8px rgba(16,24,48,.05)}
.fil{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px;color:var(--gris);margin-bottom:12px}
.fil a{display:inline-flex;color:var(--gris);text-decoration:none}.fil a:hover{color:var(--nuit);text-decoration:underline}
.fil .ico{width:17px;height:17px}.fil .sep{display:inline-flex}.fil .sep .ico{width:13px;height:13px}
.fil .ici{color:var(--texte);font-weight:600}
.heros{display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:18px;padding:22px 30px;min-height:230px;color:#fff;overflow:hidden;background:radial-gradient(circle at 82% 50%,#26345c 0,#121a30 42%,#0a0e1b 100%)}
.heros-texte{flex:1;min-width:0}
.etiquette{display:inline-block;background:linear-gradient(100deg,#f0cf6f,#c2921c);color:#10131c;font-weight:700;font-size:12px;letter-spacing:.7px;text-transform:uppercase;border-radius:7px;padding:4px 12px}
.heros-titre{border-left:5px solid var(--or-vif);padding-left:18px;margin-top:16px}
.heros h1{color:#fff;font-size:32px;line-height:1.2;margin:0}
.heros p{color:#c9cfdf;margin:10px 0 0;max-width:520px}
.illustration{width:42%;max-width:430px;flex:none}
.rondeur{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:var(--or-clair);color:#8a6a08}
.rondeur .ico{width:25px;height:25px}
.infos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:16px 8px}
.infos>div{display:flex;gap:14px;padding:2px 16px;border-left:1px solid var(--trait)}.infos>div:first-child{border-left:0}
.infos h2{font-size:14.5px;margin:0 0 2px}.infos p{margin:0;font-size:14px;color:var(--gris)}
.etapes{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:14px 0;scroll-margin-top:90px}
.etapes button{display:flex;align-items:center;gap:12px;background:#fff;color:var(--nuit);border:1px solid var(--trait);border-radius:13px;padding:12px 14px;text-align:left;box-shadow:0 2px 8px rgba(16,24,48,.05)}
.etapes button:hover{border-color:var(--or)}
.etapes button.actif{background:linear-gradient(105deg,#f3d67e,#c59520);border-color:#c59520;color:#10131c}
.etapes .ico{width:28px;height:28px}
.etapes b{display:block;font-size:15px;line-height:1.3}.etapes small{display:block;font-weight:400;font-size:12.5px;color:var(--gris);line-height:1.35}
.etapes button.actif small{color:#2c2406}
.module-colonnes{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.contenu-module>:first-child,.panneau>:first-child,.contenu-module>div:first-child>.carte:first-child{margin-top:0}
.panneau{position:sticky;top:90px}
.anneau{display:block;width:150px;height:150px;margin:4px auto 8px}
.progres{list-style:none;margin:0;padding:0}
.progres li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--trait);font-size:14.5px}
.progres li span{flex:1}.progres b{font-size:13.5px}
.progres .complet .ico{color:#1f9d4d}.progres .partiel-p .ico{color:var(--or)}.progres .vide .ico{color:#b6bccb}
.competence-visee{display:flex;gap:14px}.competence-visee h2{font-size:15px;margin:0 0 4px}.competence-visee p{margin:0;font-size:14px;color:var(--gris)}
.lecture-cours{scroll-margin-top:90px}
.presentation{border-bottom:1px solid var(--trait);margin-bottom:16px}
.chiffre{display:flex;gap:14px;align-items:center}.chiffre>div{flex:1;min-width:0}
.reprise{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}.reprise p{margin:0}
.deux{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:0 16px}
.lignes a{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:9px 4px;border-top:1px solid var(--trait);text-decoration:none;color:var(--texte)}
.lignes a:hover{background:var(--fond)}
.lignes b{font-weight:600;font-size:14.5px}.lignes small{display:block;color:var(--gris);font-size:12.5px;line-height:1.4}
.mini-jauge{width:96px;flex:none;text-align:right}
.rapides{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.acces-rapide{display:flex;align-items:center;gap:14px;margin:0;text-decoration:none;color:var(--texte)}
.acces-rapide div{flex:1}.acces-rapide b{display:block;color:var(--nuit)}.acces-rapide small{display:block;color:var(--gris)}
.acces-rapide:hover,.module:hover{border-color:var(--or)}
.titre-bloc{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:22px 0 8px}.titre-bloc h2{margin:0}.titre-bloc span{white-space:nowrap}
.grille-modules{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.module{display:flex;flex-direction:column;gap:6px;margin:0;text-decoration:none;color:var(--texte)}
.module>b{color:var(--nuit);line-height:1.35}.module p{margin:0;flex:1}
.numero{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--or-clair);color:#8a6a08;font-weight:700}
.details{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--gris)}.details span{display:inline-flex;align-items:center;gap:5px}.details .ico{width:16px;height:16px}
.pied{display:flex;align-items:center;gap:10px}.pied .jauge{flex:1}
.ressource{display:flex;gap:16px}.ressource h2{margin-bottom:4px}.ressource p{margin:0 0 10px}
.carte.accent{border-left:5px solid var(--or)}
.carte.conseils{background:var(--or-clair);border-color:#e7d9a4}
.carte.erreurs{background:#fff6f6;border-color:#f0d0d0}
.defile{overflow-x:auto}
table{border-collapse:collapse;width:100%;margin:10px 0;font-size:14.5px}
th,td{border:1px solid var(--trait);padding:8px 10px;text-align:left;vertical-align:top}
th{background:var(--nuit);color:#fff}
code{font-family:Consolas,monospace;background:#eef0f5;padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
pre{font-family:Consolas,monospace;font-size:14px;background:#171b26;color:#e9ecf5;padding:12px 14px;border-radius:8px;overflow:auto;white-space:pre-wrap;margin:8px 0;max-height:520px}
pre code{background:none;color:inherit;padding:0}
pre.erreurs{background:#3b1417}
button,.bouton{font:inherit;font-weight:600;border:1px solid var(--nuit);background:var(--nuit);color:#fff;border-radius:8px;padding:8px 16px;cursor:pointer;text-decoration:none;display:inline-block}
button.second,.bouton.second{background:#fff;color:var(--nuit)}
.bouton.mini{padding:2px 10px;font-size:13.5px}
button.or,.bouton.or{background:var(--or);border-color:var(--or);color:var(--noir)}
button.clair{background:transparent;border-color:#666d80;font-size:14px;padding:5px 12px}
button.mini{padding:2px 10px;font-size:13.5px}
button.large{width:100%;margin-top:6px}
button.lien{background:none;border:0;padding:2px;color:#1d4f91;font-weight:400;text-decoration:underline}
.centre{text-align:center;margin:12px 0 0}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--or);outline-offset:2px}
.barre{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;align-items:center}
.onglets{display:flex;gap:6px;margin-top:14px;flex-wrap:wrap}
.onglets button{background:#fff;color:var(--nuit);border-color:var(--trait)}
.onglets button.actif{background:var(--nuit);color:#fff;border-color:var(--nuit)}
.onglets.fichiers{margin:8px 0 4px}.onglets.fichiers button{padding:4px 14px;font-size:13.5px}
input,select,textarea{font:inherit;border:1px solid #b9bfcd;border-radius:8px;padding:8px 10px;color:var(--texte);background:#fff;max-width:100%}
textarea{width:100%;resize:vertical}
textarea.editeur{font-family:Consolas,monospace;font-size:14.5px;line-height:1.5;min-height:300px;white-space:pre;tab-size:4;background:#fbfbfd}
.champ{display:block;margin:10px 0}.champ span{display:block;font-weight:600;font-size:14px;margin-bottom:3px}
.champ input,.champ select{width:100%}
.message{padding:9px 14px;border-radius:8px;margin:10px 0}
.message.erreur{background:var(--rouge-fond);color:var(--rouge)}.message.succes{background:var(--vert-fond);color:var(--vert)}.message.info{background:var(--or-clair)}
.acces{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 30%,#232f55 0,#0d1223 45%,#06070b 100%)}
.acces .carte{width:100%;max-width:440px;text-align:left;padding:28px;border:0;border-top:4px solid var(--or)}
.acces img{width:84px;height:84px;display:block;margin:0 auto;border-radius:14px}
.acces .marque{text-align:center;font-weight:700;margin:10px 0}
.chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:14px 0}
.chiffres .carte{margin:0}.chiffres b{font-size:30px;color:var(--nuit)}
.jauge{height:8px;background:var(--trait);border-radius:6px;overflow:hidden;min-width:80px}
.jauge i{display:block;height:100%;background:var(--or);width:0}
.pastille{display:inline-block;background:var(--rouge);color:#fff;border-radius:20px;padding:0 8px;font-size:12.5px}
.competence{background:var(--carte);border-left:4px solid var(--or);padding:8px 14px;border-radius:6px}
.sommaire{list-style:none;margin:0;padding:0}
.sommaire li{border-top:1px solid var(--trait)}.sommaire li:first-child{border-top:0}
.sommaire button{display:flex;align-items:center;gap:14px;width:100%;background:none;border:0;border-radius:10px;color:var(--texte);padding:9px 10px;font-weight:400;text-align:left}
.sommaire button:hover{background:var(--fond)}
.sommaire button.actif{background:var(--or-clair);font-weight:600}
.sommaire .rang{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:#eceef3;color:var(--nuit);font-weight:700;font-size:13.5px}
.sommaire .actif .rang{background:linear-gradient(135deg,#f0cf6f,#c2921c);color:#10131c}
.sommaire .intitule{flex:1;min-width:0}
.sommaire .lu{width:19px;height:19px;color:#1f9d4d}
.sommaire .suite{width:16px;height:16px;color:#8c93a8}
.cours .retenir{background:var(--vert-fond);border-left:4px solid var(--vert);padding:8px 14px;border-radius:6px;margin:12px 0}
.cours .astuce{background:var(--or-clair);border-left:4px solid var(--or);padding:8px 14px;border-radius:6px;margin:12px 0}
.cours .attention{background:var(--rouge-fond);border-left:4px solid var(--rouge);padding:8px 14px;border-radius:6px;margin:12px 0}
.essai{border-top:2px dashed var(--trait);margin-top:18px;padding-top:4px}
/* ---------- schémas illustrés ---------- */
.schema{margin:16px 0;border:1px solid #d3dcf0;border-radius:12px;background:#f7f9ff;padding:14px 16px}
.schema figcaption{font-weight:700;color:var(--nuit);font-size:16px;margin-bottom:10px}
.lecture{background:#fff;border-left:4px solid var(--or);border-radius:6px;padding:8px 14px;margin-top:12px;font-size:14.5px}
.lecture ol{margin:4px 0;padding-left:20px}
.lecture li{margin:4px 0}
.a-retenir{background:var(--vert-fond);border-left:4px solid var(--vert);border-radius:6px;padding:8px 14px;margin-top:8px;font-size:14.5px}
.icone{color:var(--nuit);flex:none}
.flux{display:flex;flex-direction:column;align-items:center;gap:2px}
.boite{position:relative;width:100%;max-width:560px;background:#fff;border:2px solid var(--nuit);border-radius:12px;padding:10px 16px;display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:center;font-size:14px}
.boite .icone{grid-row:1 / span 2}
.boite strong{font-size:15px;color:var(--nuit)}
.boite>span:last-child{grid-column:2}
.boite .num{position:absolute;top:-9px;left:-9px;width:24px;height:24px;border-radius:50%;background:var(--or);color:var(--noir);font-weight:700;display:grid;place-items:center;font-size:13px}
.fleche{display:flex;justify-content:center;align-items:center;gap:10px;color:#8a6d0a;line-height:1.2;min-height:30px}
.fleche span{display:inline-block;transform:rotate(90deg);font-size:20px}
.fleche small{font-size:12.5px;font-weight:600}
.couches{max-width:560px;margin:0 auto}
.couche{border-radius:10px;padding:10px 14px;border:2px solid var(--nuit);display:flex;flex-direction:column;text-align:center}
.c0{background:#fdf1d8}.c1{background:#e5f4ea}.c2{background:#e6eeff}.c3{background:#eceef3}
.entre{text-align:center;color:#8a6d0a;font-size:12px;line-height:1.8}
.colonnes{display:flex;flex-wrap:wrap;gap:10px}
.colonne{flex:1 1 170px;background:#fff;border:1px solid var(--trait);border-top:5px solid var(--nuit);border-radius:8px;padding:10px}
.fiche{background:#eef2fb;border-radius:6px;padding:7px 10px;margin-top:7px;font-size:14px}
.vie{display:flex;gap:14px;background:#fffaf0;border:1px solid #ecd9a0;border-radius:12px;padding:14px 16px;margin:16px 0}
.vie h3{margin:0 0 4px}.vie p{margin:6px 0}
.surtitre{text-transform:uppercase;font-size:11.5px;font-weight:700;color:var(--ambre);margin:0!important}
.morale{background:var(--vert-fond);border-radius:6px;padding:6px 10px}
.maquette{max-width:480px;margin:0 auto;border:3px solid #6b7285;border-radius:10px;overflow:hidden;background:#fff;font-size:14px;width:100%}
.m-barre{display:flex;justify-content:space-between;gap:10px;background:#dfe2ea;padding:8px 12px}
.m-corps{padding:10px 12px}.m-titre{font-weight:700;margin-bottom:6px}
.m-ligne{display:flex;justify-content:space-between;gap:8px;border:2px dashed #9aa1b3;border-radius:6px;padding:8px 10px;margin:8px 0}
.m-bouton{border:2px solid #6b7285;border-radius:5px;padding:0 10px}
.m-cote{display:flex;gap:10px}.m-cote>div{flex:1}
.ecrans{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;align-items:flex-start}
.ecrans .maquette{flex:1 1 240px;margin:0}.ecrans .maquette.etroit{flex:0 1 170px}
.relation{display:flex;flex-direction:column;gap:8px;align-items:center;overflow-x:auto}
.relation table{width:auto;background:#fff;margin:0}.relation caption{font-weight:700}
.surligne td{background:#fdf1d8}
.lien{font-weight:700;color:#8a6d0a}
.mcd{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;font-weight:700}
.entite{border:3px solid var(--nuit);background:#fff;padding:16px 20px;border-radius:4px}
.assoc{border:3px solid #8a6d0a;background:#fdf1d8;padding:12px 24px;border-radius:50%}
.card{color:var(--rouge)}
.emboite,.emboite div{border:2px solid var(--nuit);border-radius:8px;padding:8px 12px;background:#fff}
.emboite div{margin-top:8px;background:#eef2fb}.emboite div div{background:#fdf1d8}
.bm-marge,.bm-bordure,.bm-interieur,.bm-contenu{text-align:center;font-size:13.5px;border-radius:8px}
.bm-marge{border:2px dashed #b7791f;background:#fdf1d8;padding:6px 18px 18px;max-width:520px;margin:0 auto}
.bm-bordure{border:6px solid var(--nuit);background:#fff;padding:4px}
.bm-interieur{background:#e5f4ea;padding:4px 18px 18px}
.bm-contenu{background:#e6eeff;border:1px solid #7f9bd6;padding:18px;font-weight:700}
.arbre,.arbre ul{list-style:none;margin:0;padding-left:20px}
.arbre li{border-left:2px solid var(--nuit);padding:3px 0 3px 12px;font-family:Consolas,monospace}
.pyramide{display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:600}
.pyramide div{padding:12px;text-align:center;border-radius:6px;background:#e6eeff;border:2px solid var(--nuit)}
.p1{width:45%;min-width:200px;background:#fbeaea!important}.p2{width:70%;background:#fdf1d8!important}.p3{width:100%;background:#e5f4ea!important}
.droite{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;font-weight:700}
.droite span{padding:12px 16px;border-radius:8px;border:2px solid}
.droite .oui{background:var(--vert-fond);color:var(--vert)}.droite .non{background:var(--rouge-fond);color:var(--rouge)}
@media (max-width:620px){.vie{flex-direction:column}}
.situation{background:#eef2fb;border:1px solid #d3dcf0;border-radius:10px;padding:6px 16px;margin:10px 0}
fieldset{border:1px solid var(--trait);border-radius:10px;margin:14px 0;padding:10px 16px;min-width:0}
legend{font-weight:600;padding:0 6px}
label.choix{display:flex;gap:10px;align-items:baseline;padding:5px 0;cursor:pointer}
.association{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid var(--trait)}
.association span{flex:1 1 260px}
ol.ordre li{margin:6px 0}
ol.ordre li>span:first-child{display:inline-block;min-width:60%;margin-right:10px}
ol.ordre button{margin-right:4px}
.indice{background:var(--or-clair);padding:8px 12px;border-radius:8px;margin:6px 0}
iframe.apercu{width:100%;min-height:340px;border:2px dashed var(--trait);border-radius:8px;background:#fff}
iframe.hors-ecran{position:fixed;left:-10000px;top:0;height:700px;border:0}
.resultat{border:2px solid var(--trait);border-radius:12px;padding:16px 20px;margin:16px 0;background:#fff}
.resultat.bien{border-color:var(--vert)}.resultat.moyen{border-color:var(--ambre)}.resultat.faible{border-color:var(--rouge)}
.grande-note{font-size:40px;font-weight:700;color:var(--nuit)}
.points{list-style:none;padding:0}
.points li{padding:7px 12px;border-radius:8px;margin:5px 0}
.bon{background:var(--vert-fond);color:var(--vert)}.faux{background:var(--rouge-fond);color:var(--rouge)}.partiel,.attente-p{background:var(--ambre-fond);color:var(--ambre)}
.ameliorer{background:var(--or-clair);border-radius:10px;padding:2px 16px 6px}
.note{display:inline-block;border-radius:20px;padding:1px 10px;font-weight:700;font-size:13.5px;white-space:nowrap}
.note.bien{background:var(--vert-fond);color:var(--vert)}.note.moyen{background:var(--ambre-fond);color:var(--ambre)}.note.faible{background:var(--rouge-fond);color:var(--rouge)}.note.neutre{background:#e8eaf0;color:var(--gris)}
.commentaire{background:#eef2fb;border-radius:8px;padding:8px 12px;white-space:pre-wrap}
.libre{white-space:pre-wrap}
.ligne-copie{border-bottom:1px solid var(--trait);padding:8px 0}
.ligne-copie.a-corriger{background:var(--ambre-fond);padding:8px 10px;border-radius:8px}
.entete-copie{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.copie{background:#fafbfd;border:1px solid var(--trait);border-radius:10px;padding:8px 16px;margin-top:8px}
.comparaison{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.comparaison>div{border:1px solid var(--trait);border-radius:8px;padding:8px 12px;background:#fff}
details{margin:8px 0}summary{cursor:pointer;font-weight:600}
details.partie summary{font-size:16px;color:var(--nuit)}
.partie p.copie{padding:10px 14px}
td textarea{min-width:200px;font-size:14px}
/* ---------- parcours ---------- */
.cases-modules{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 14px}
.cases-modules label.choix{font-size:14px}
.competence-admin{border-top:1px solid var(--trait);padding:6px 0}.competence-admin summary{font-size:13.5px;font-weight:400;color:var(--gris)}
table.fixe-parcours td:first-child{width:52%}
.module .barre{margin:6px 0 0}.module .note{align-self:flex-start}
/* ---------- vague de code animée ---------- */
.heros,.acces{position:relative;isolation:isolate}
.vague{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.acces{overflow:hidden}
.heros::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(7,10,20,.84) 0,rgba(7,10,20,.70) 42%,rgba(7,10,20,0) 68%)}
.heros h1,.heros p{text-shadow:0 1px 8px rgba(5,8,18,.9)}
.heros p{color:#e6ebf7}
@media (max-width:980px){.heros .vague{opacity:.45}}
/* ---------- double vérification ---------- */
.qr{display:block;width:230px;max-width:100%;height:auto;margin:10px auto;border:1px solid var(--trait);border-radius:8px}
code.cle{font-size:16px;letter-spacing:1px;overflow-wrap:anywhere}
pre.codes{font-size:17px;letter-spacing:1px;text-align:center}
/* ---------- préparation du projet d'examen ---------- */
.jauges-projet{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 22px}
.barre-projet>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:14px;margin-bottom:5px}
.lignes-projet>div{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:7px 0;border-top:1px solid var(--trait);font-size:14.5px}
.lignes-projet span:first-child{flex:1 1 230px}.lignes-projet small{color:var(--gris);font-size:12.5px}
/* ---------- création et modification des contenus (ADMIN) ---------- */
.barre-admin{justify-content:flex-end;margin:0 0 8px}
.ligne-admin{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid var(--trait)}
.ligne-admin .nom{flex:1 1 260px}.ligne-admin .actions,.entete-question .actions{display:flex;flex-wrap:wrap;gap:6px}
.ligne-admin.retiree .nom>span:first-child{text-decoration:line-through;color:var(--gris)}
.formulaire-contenu .champ{margin:14px 0}.formulaire-contenu>h2{margin-top:22px}
.outils-texte{display:flex;flex-wrap:wrap;gap:6px;position:sticky;top:76px;z-index:5;background:#fff;border:1px solid #b9bfcd;border-bottom:0;border-radius:10px 10px 0 0;padding:8px}
.zone-riche{min-height:260px;border:1px solid #b9bfcd;border-radius:0 0 10px 10px;padding:12px 16px;background:#fff;overflow-x:auto}
.zone-riche.courte{min-height:90px}
.zone-riche:focus{outline:3px solid var(--or);outline-offset:1px}
.zone-riche figure,.zone-riche .vie{user-select:none}
.zone-riche td,.zone-riche th{min-width:60px}
.retrait-schema{text-align:right;user-select:none}
.question-admin{background:#fafbfd}
.entete-question{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.entete-question h3{margin:0}
.ligne-reponse{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
.ligne-reponse input[type=text]{flex:1 1 220px}.ligne-reponse label{white-space:nowrap;font-size:14px}
textarea.editeur.compact{min-height:130px}
.barre-fixe{position:sticky;bottom:0;z-index:6;background:var(--fond);padding:10px 0;border-top:1px solid var(--trait)}
.barre-fixe .message{margin:0}
.annonce{position:fixed;right:18px;bottom:18px;z-index:50;max-width:340px;background:var(--vert);color:#fff;border-radius:10px;padding:12px 18px;box-shadow:0 10px 26px rgba(10,14,28,.25)}
/* ---------- thème ROJ PRIME : bleu nuit et or ---------- */
:root{--noir:#071031;--nuit:#0b1a4a;--or:#dca41f;--or-vif:#f5c342;--or-clair:#fdf1d0;--fond:#edf1fc;--trait:#dde4f5;--texte:#111c42;--gris:#4f5b82;--haut-large:90px;
--degrade-or:linear-gradient(115deg,#ffd868 0,#eab42a 48%,#c88d08 100%);--ombre:0 4px 16px rgba(27,48,120,.09)}
.carte,.volet,.indicateur,.action{box-shadow:var(--ombre)}
.carte{border-radius:16px}
button.or,.bouton.or{background:var(--degrade-or);border-color:#c8920f;color:#12100a}
th{background:var(--nuit)}
.entete{height:var(--haut-large);gap:26px;padding:0 28px;background:linear-gradient(100deg,#060d29,#0a1746 55%,#060d29);border-bottom:2px solid var(--or-vif);box-shadow:0 2px 14px rgba(245,195,66,.42)}
.enseigne{gap:18px}
.enseigne img{width:66px;height:66px;border:2px solid var(--or-vif);border-radius:12px}
.enseigne .separateur{height:54px;background:#3a4673}
.enseigne strong{font-size:28px;line-height:1.2}.enseigne small{font-size:15px;color:#eef1fb}
.recherche{max-width:520px;margin:0 auto}
.recherche input{background:rgba(24,36,86,.78);border-color:#5563a0;padding-top:11px;padding-bottom:11px;border-radius:13px}
.recherche>.ico{top:13px;color:#fff}.recherche input::placeholder{color:#c4cbe6}
.outils{gap:14px}
a.rond-entete{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff}a.rond-entete:hover{background:#17225a}
.rond-entete .ico{width:28px;height:28px}
.point{top:0;right:0;display:grid;place-items:center;min-width:20px;width:auto;height:20px;padding:0 5px;border:0;background:var(--degrade-or);color:#12100a;font-style:normal;font-weight:700;font-size:11.5px;line-height:1}
button.profil{display:flex;align-items:center;gap:12px;background:transparent;border:0;color:#fff;padding:4px 6px;text-align:left}
.avatar{width:54px;height:54px;background:var(--degrade-or);font-size:19px}
.qui b{font-size:18px}.qui small{font-size:14.5px;letter-spacing:.4px}
.fleche-profil{width:20px;height:20px}
.deroulant.compte a,.deroulant.compte button{display:flex;gap:10px;align-items:center;font-size:14.5px}
.deroulant.compte button.sortie{border:0;color:var(--texte);padding:8px 10px}
.deroulant.compte p{border-bottom:1px solid var(--trait);padding-bottom:8px;overflow-wrap:anywhere}
.cadre{grid-template-columns:276px minmax(0,1fr);min-height:calc(100vh - var(--haut-large))}
#menu{top:var(--haut-large);height:calc(100vh - var(--haut-large));background:linear-gradient(180deg,#0c1949 0,#08113a 55%,#040a24 100%)}
#menu .defilement{padding:22px 12px 8px}
#menu .entree{padding:13px 18px;gap:18px;font-size:16.5px;color:#fff;border-radius:13px}
#menu .entree .ico{width:27px;height:27px}
#menu .entree:hover{background:#172663}
#menu .entree.actif{background:var(--degrade-or);color:#10131c;box-shadow:0 6px 18px rgba(234,180,42,.28)}
#menu hr{border-top-color:#35427a}
.signature{flex:none;text-align:center;padding-bottom:16px}
.signature .courbes{height:150px;margin-bottom:-6px}
.signature b{display:block;color:var(--or-vif);font-size:21px;letter-spacing:5px}
.signature small{display:block;color:#fff;font-size:10.5px;letter-spacing:3px;text-transform:uppercase;line-height:1.8}
@media (max-height:860px){.signature .courbes{height:86px;display:block;margin-bottom:-4px}.signature small{display:none}.signature{padding-bottom:8px}}
@media (max-height:660px){.signature{display:none}}
main{max-width:1500px;padding:16px 26px 60px}
.fil .ico{width:20px;height:20px}.fil>a:first-child{color:var(--or)}.fil{font-size:14.5px}
.heros{border-radius:20px;background:radial-gradient(ellipse at 80% 55%,#1a2f86 0,#0b1851 45%,#060d2c 100%)}
.etiquette{background:var(--degrade-or);border-radius:10px;padding:6px 18px;font-size:13.5px}
.heros.accueil{min-height:212px;padding:18px 40px 18px 74px}.heros.accueil .heros-titre{margin-top:10px}.heros.accueil p{margin-top:2px;max-width:560px;font-size:17px;line-height:1.45}
.heros h1{font-size:34px}
.heros h1 em{font-style:normal;color:var(--or-vif)}
.illustration image{filter:drop-shadow(0 0 9px rgba(255,184,48,.42))}
.heros.accueil .illustration{max-width:390px;margin-right:-12px}
.heros h1:has(em){font-size:46px}
.heros-titre{border-left-color:var(--or-vif)}
.rondeur{background:var(--or-clair);color:#b57f06}
/* chiffres clés */
.indicateurs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}
.indicateur{position:relative;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--trait);border-radius:18px;padding:13px 20px;text-decoration:none;color:var(--texte);min-width:0}
.indicateur>div{flex:1;min-width:0}
.indicateur>div>span{display:block;font-weight:600;font-size:15.5px;line-height:1.35}
.indicateur b{display:block;font-size:31px;color:var(--nuit);line-height:1.25}
.indicateur .rondeur{width:60px;height:60px}.indicateur .rondeur .ico{width:34px;height:34px}
.indicateur.fort{background:linear-gradient(135deg,#17337f,#081543);border-color:#1b3a8c;color:#fff}
.indicateur.fort b{color:#fff}.indicateur.fort .rondeur{background:rgba(255,255,255,.12);color:var(--or-vif)}
.indicateur .suite{width:22px;height:22px;color:var(--nuit)}.indicateur.fort .suite{color:#fff}
.indicateur .hausse{color:#4fe08a;font-weight:700;font-size:17px;white-space:nowrap;align-self:flex-end;padding-bottom:6px}
a.indicateur:hover,a.action:hover{transform:translateY(-2px);transition:transform .15s}
.jauge i{background:var(--degrade-or)}
/* volets */
.volets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0}
.volet{background:#fff;border:1px solid var(--trait);border-radius:18px;padding:11px 18px;min-width:0}
.volet>header{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--trait);margin-bottom:10px}
.volet>header .ico{width:28px;height:28px;color:var(--or)}
.volet h2{margin:0;font-size:20px;flex:1}
.volet>header a{color:#a87504;font-weight:700;font-size:14px;white-space:nowrap}
.rien{margin:14px 4px}
.a-traiter{display:flex;flex-direction:column;gap:8px}
.a-traiter a{display:flex;align-items:center;gap:14px;background:#fef5e2;border-radius:12px;padding:8px 12px;text-decoration:none;color:var(--texte)}
.a-traiter a:hover{background:var(--or-clair)}
.a-traiter>a>.ico:first-child{width:28px;height:28px;color:var(--or)}
.a-traiter a>span{flex:1;min-width:0}.a-traiter b,.fil-activite b,.progressions b{display:block;font-size:14.5px;line-height:1.35}
.a-traiter small,.fil-activite small{display:block;color:var(--gris);font-size:12.5px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.a-traiter i{display:grid;place-items:center;min-width:32px;height:32px;border-radius:20px;background:var(--degrade-or);font-style:normal;font-weight:700;color:#12100a}
.a-traiter .suite,.progressions .suite{width:18px;height:18px}
.a-traiter a.autres{justify-content:center;background:none;padding:2px;color:#a87504;font-weight:700;font-size:13.5px}
.fil-activite{list-style:none;margin:0;padding:0}
.fil-activite li{position:relative;padding-left:20px;border-top:1px solid var(--trait)}.fil-activite li:first-child{border-top:0}
.fil-activite li::before{content:"";position:absolute;left:3px;top:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:var(--or)}
.fil-activite li::after{content:"";position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--trait);z-index:0}
.fil-activite li::before{z-index:1}
.fil-activite a{display:flex;align-items:center;gap:12px;padding:9px 0;text-decoration:none;color:var(--texte)}
.fil-activite a>span:nth-child(2){flex:1;min-width:0}.fil-activite b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}
.fil-activite time{font-size:12px;color:#2a4a9a;white-space:nowrap}
.pion{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;color:#fff}.pion .ico{width:22px;height:22px}
.pion.vert{background:linear-gradient(135deg,#55c96a,#2d9c47)}.pion.bleu{background:linear-gradient(135deg,#3f9bff,#1d63d8)}.pion.violet{background:linear-gradient(135deg,#9a7bff,#6247d6)}.pion.or{background:var(--or-clair);color:#a87504}
.progressions a{display:flex;align-items:center;gap:14px;padding:9px 0;border-top:1px solid var(--trait);text-decoration:none;color:var(--texte)}.progressions a:first-child{border-top:0}
.progressions a>span:nth-child(2){flex:1;min-width:0}
.progressions b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.initiales{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:var(--or-clair);color:var(--nuit);font-weight:700}
.ligne-jauge{display:flex;align-items:center;gap:12px}.ligne-jauge small{font-size:12.5px;white-space:nowrap;color:var(--gris)}.ligne-jauge strong{color:var(--texte)}.ligne-jauge .jauge{flex:1;min-width:50px}
/* accès rapides */
.actions-rapides{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:16px 0}
.action{position:relative;display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--trait);border-radius:18px;padding:12px 44px 12px 20px;text-decoration:none;color:var(--texte);min-width:0}
.action>.ico:first-child{width:38px;height:38px;color:var(--or);margin-bottom:2px}
.action b{font-size:16.5px;line-height:1.3;color:var(--nuit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action small{color:var(--gris);font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.action .suite{position:absolute;right:16px;bottom:24px;width:20px;height:20px}
.action.forte{background:var(--degrade-or);border-color:#d49a14}.action.forte>.ico:first-child,.action.forte small{color:#241a02}
/* ---------- remonter en haut ---------- */
button.haut-page{position:fixed;right:22px;bottom:22px;z-index:45;display:grid;place-items:center;width:54px;height:54px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--degrade-or);color:#10131c;box-shadow:0 8px 22px rgba(7,16,49,.38)}
button.haut-page:hover{transform:translateY(-3px)}
.haut-page .ico{width:26px;height:26px}
body:has(.barre-fixe) button.haut-page{bottom:84px}
body:has(.haut-page:not([hidden])) .annonce{bottom:90px}
@media (max-width:620px){button.haut-page{right:12px;bottom:14px;width:46px;height:46px}}
/* ---------- écrans moyens et téléphones ---------- */
@media (max-width:1240px){.module-colonnes{grid-template-columns:minmax(0,1fr)}.panneau{position:static;order:-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.panneau>.carte{margin:0}.qui b{display:none}.entete{gap:14px}}
@media (max-width:980px){
.cadre{grid-template-columns:minmax(0,1fr)}
#menu{position:fixed;left:0;top:var(--haut);bottom:0;height:auto;width:280px;max-width:86vw;z-index:25;transform:translateX(-105%);visibility:hidden;transition:transform .2s,visibility .2s}
#menu.ouvert{transform:none;visibility:visible;box-shadow:0 0 0 100vmax rgba(5,8,16,.5)}
button.ouvre-menu{display:grid}
.entete{flex-wrap:wrap;gap:8px 10px;height:var(--haut);padding:10px 12px;align-content:center}
.enseigne{gap:9px;min-width:0;flex:1;white-space:normal}.enseigne img{width:40px;height:40px;flex:none}.enseigne strong{font-size:15px;line-height:1.2}.enseigne small{display:none}
.recherche{order:5;flex-basis:100%;max-width:none}
.outils{gap:4px}.separateur,.avatar,.sortie span{display:none}
.qui b{display:none}button.sortie{border:0;padding:10px}.sortie .ico{width:22px;height:22px}
.heros{padding:20px;min-height:0}.heros h1{font-size:24px}.illustration{display:none}
.infos{grid-template-columns:1fr;gap:12px}.infos>div{border-left:0}
main{padding:14px 14px 60px}.comparaison{grid-template-columns:1fr}.outils-texte{position:static}.etapes,.module-colonnes,.lecture-cours{scroll-margin-top:140px}}
@media (max-width:620px){.etapes{grid-template-columns:repeat(2,minmax(0,1fr))}.etapes small{display:none}.carte{padding:15px 14px}.deux{grid-template-columns:minmax(0,1fr)}.ressource{flex-direction:column}.deroulant{position:fixed;left:10px;right:10px;top:calc(var(--haut) - 4px);width:auto}.contenu-module table{display:block;max-width:100%;overflow-x:auto}.contenu-module th,.contenu-module td{overflow-wrap:normal}}
@media (max-width:1420px){.actions-rapides{grid-template-columns:repeat(3,minmax(0,1fr))}.indicateurs{grid-template-columns:repeat(2,minmax(0,1fr))}.volets{grid-template-columns:repeat(2,minmax(0,1fr))}.enseigne strong{font-size:22px}.enseigne small{font-size:13px}.enseigne img{width:54px;height:54px}}
@media (max-width:1240px){.enseigne .separateur,.enseigne small,.fleche-profil{display:none}.enseigne strong{font-size:19px}}
@media (max-width:980px){:root{--haut-large:126px}.heros.accueil{padding:18px 20px;min-height:0}.heros.accueil p{font-size:15px}.cadre{grid-template-columns:minmax(0,1fr)}.entete{height:var(--haut-large);gap:8px 10px;padding:10px 12px}.enseigne{gap:9px}.enseigne img{width:40px;height:40px;border-width:1px}.enseigne strong{font-size:15px}.recherche{max-width:none;margin:0}.outils{gap:4px}a.rond-entete{width:38px;height:38px}.rond-entete .ico{width:23px;height:23px}.avatar{display:grid;width:38px;height:38px;font-size:14px}button.profil{padding:0}.qui{display:none}#menu{top:var(--haut-large);height:auto}.signature{display:none}.heros h1:has(em){font-size:28px}.volets{grid-template-columns:minmax(0,1fr)}.actions-rapides{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.indicateurs,.actions-rapides{grid-template-columns:minmax(0,1fr)}.indicateur{padding:14px 16px}.indicateur .rondeur{width:50px;height:50px}.indicateur .rondeur .ico{width:26px;height:26px}.indicateur b{font-size:27px}a.rond-entete.aide{display:none}.volet h2{font-size:18px}}
