/* Fabriqué par scripts/construire_style_site.py à partir de maquettes/site/espace.css : ne pas modifier à la main. */
.tge { --police: "Robout", system-ui, "Helvetica Neue", Arial, sans-serif; --bleu: #03224c; --bleu2: #0d3b7a; --vif: #1a5fd0; --ciel: #e9f0fa; --fond: #f3f6fb; --rouge: #c8102e; --vert: #13795b; --ambre: #b26a00; --texte: #10203a; --gris: #5a6577; --trait: #d9dfe8; }
.tge, .tge * { box-sizing: border-box; }
.tge { margin: 0; font: 15px/1.5 var(--police); color: var(--texte); background: var(--fond); }
.tge a:not(:where(.tge-ancien *)) { color: inherit; text-decoration: none; }
.tge img:not(:where(.tge-ancien *)) { display: block; max-width: 100%; }
.tge svg.ico:not(:where(.tge-ancien *)) { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tge h1:not(:where(.tge-ancien *)), .tge h2:not(:where(.tge-ancien *)), .tge h3:not(:where(.tge-ancien *)) { font-family: var(--police); margin: 0; color: var(--bleu); }
.tge .cote { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; background: var(--bleu); color: #fff; display: flex; flex-direction: column; padding: 22px 16px 18px; z-index: 30; }
.tge .cote .logo img { height: 52px; margin: 0 8px 6px; }
.tge .cote .role { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: #a9c4ee; margin: 14px 12px 10px; }
.tge .cote nav { display: grid; gap: 2px; }
.tge .cote nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 500; color: #d5e1f5; border-left: 3px solid transparent; }
.tge .cote nav a svg { font-size: 18px; }
.tge .cote nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.tge .cote nav a.ici { background: rgba(255,255,255,.12); color: #fff; border-left-color: #fff; font-weight: 600; }
.tge .cote nav a em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; background: #fff; color: var(--bleu); padding: 1px 8px; border-radius: 20px; }
.tge .cote .bas { margin-top: auto; background: rgba(255,255,255,.08); padding: 16px; }
.tge .cote .bas b { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.tge .cote .bas p { margin: 6px 0 12px; font-size: 13px; color: #c5d6f2; }
.tge .cote .bas a { display: block; text-align: center; background: #fff; color: var(--bleu); font-weight: 600; padding: 9px; font-size: 14px; }
.tge .haut { position: sticky; top: 0; z-index: 20; margin-left: 256px; height: 68px; background: #fff; border-bottom: 1px solid var(--trait); display: flex; align-items: center; gap: 18px; padding: 0 32px; }
.tge .haut h1 { font-size: 20px; font-weight: 600; }
.tge .haut .chercher { margin-left: 18px; flex: 1; max-width: 380px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: var(--fond); color: var(--gris); font-size: 14px; }
.tge .roles { margin-left: auto; display: flex; background: var(--ciel); padding: 4px; font-size: 13px; font-weight: 600; }
.tge .roles a { padding: 6px 12px; color: var(--bleu); }
.tge .roles a.ici { background: var(--bleu); color: #fff; }
.tge .haut .cloche { position: relative; font-size: 20px; color: var(--bleu); display: flex; }
.tge .haut .cloche::after { content: ""; position: absolute; right: -1px; top: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); border: 2px solid #fff; }
.tge .moi { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.tge .moi span { width: 38px; height: 38px; border-radius: 50%; background: var(--bleu); color: #fff; display: grid; place-items: center; font-size: 14px; }
.tge .moi small { display: block; font-weight: 400; color: var(--gris); font-size: 12px; }
.tge main:not(:where(.tge-ancien *)) { margin-left: 256px; padding: 28px 32px 60px; max-width: 1500px; }
.tge .bonjour { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.tge .bonjour h2 { font-size: 28px; font-weight: 600; letter-spacing: -.3px; }
.tge .bonjour p { margin: 4px 0 0; color: var(--gris); }
.tge .grille { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tge .c3 { grid-column: span 3; }
.tge .c4 { grid-column: span 4; }
.tge .c5 { grid-column: span 5; }
.tge .c6 { grid-column: span 6; }
.tge .c7 { grid-column: span 7; }
.tge .c8 { grid-column: span 8; }
.tge .c12 { grid-column: span 12; }
.tge .carte { background: #fff; border: 1px solid var(--trait); padding: 22px 24px; min-width: 0; }
.tge .carte > .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.tge .carte h3 { font-size: 17px; font-weight: 600; }
.tge .carte .t a { font-size: 13px; font-weight: 600; color: var(--vif); }
.tge .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; font: 600 14px var(--police); border: 1.5px solid var(--bleu); background: var(--bleu); color: #fff; cursor: pointer; white-space: nowrap; }
.tge .btn.clair { background: #fff; color: var(--bleu); }
.tge .btn.petit { height: 32px; padding: 0 12px; font-size: 13px; }
.tge .btn.blanc { background: #fff; color: var(--bleu); border-color: #fff; }
.tge .chiffre { display: flex; gap: 16px; align-items: center; }
.tge .chiffre .pic { width: 48px; height: 48px; background: var(--ciel); color: var(--vif); display: grid; place-items: center; font-size: 22px; flex: none; }
.tge .chiffre b { display: block; font-size: 28px; font-weight: 600; color: var(--bleu); line-height: 1.1; }
.tge .chiffre span { font-size: 13px; color: var(--gris); }
.tge .chiffre small { display: block; font-size: 12px; font-weight: 600; color: var(--vert); }
.tge .chiffre small.att { color: var(--ambre); }
.tge .reprendre { background: var(--bleu); color: #fff; border: 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.tge .reprendre small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: #a9c4ee; }
.tge .reprendre h3 { color: #fff; font-size: 22px; margin: 6px 0 4px; }
.tge .reprendre p { margin: 0 0 16px; color: #d5e1f5; }
.tge .barre { height: 8px; background: var(--ciel); position: relative; }
.tge .barre i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--vif); display: block; }
.tge .reprendre .barre { background: rgba(255,255,255,.2); max-width: 420px; }
.tge .reprendre .barre i { background: #fff; }
.tge .agenda { display: grid; grid-template-columns: 52px repeat(6, 1fr); grid-template-rows: 34px repeat(10, 40px); font-size: 12px; position: relative; }
.tge .agenda .j { grid-row: 1; font-weight: 600; color: var(--bleu); text-align: center; align-self: center; font-size: 13px; }
.tge .agenda .j.auj { background: var(--bleu); color: #fff; padding: 5px 0; }
.tge .agenda .h { grid-column: 1; color: var(--gris); font-size: 11px; transform: translateY(-8px); }
.tge .agenda .ligne { grid-column: 2 / -1; border-top: 1px solid var(--trait); }
.tge .agenda .ev { margin: 2px 3px; padding: 6px 8px; overflow: hidden; border-left: 3px solid var(--bleu); background: var(--ciel); color: var(--bleu); line-height: 1.3; z-index: 1; }
.tge .agenda .ev b { display: block; font-weight: 600; font-size: 12px; }
.tge .agenda .ev.ligne-c { border-left-color: var(--vif); background: #e3edff; }
.tge .agenda .ev.epreuve { border-left-color: var(--rouge); background: #fdebee; color: #7d0a1e; }
.tge .agenda .ev.rass { border-left-color: var(--ambre); background: #fff3d9; color: #6b4000; }
.tge .legende { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--gris); margin-top: 12px; }
.tge .legende span { display: flex; align-items: center; gap: 6px; }
.tge .legende i { width: 10px; height: 10px; display: block; background: var(--bleu); }
.tge .liste { display: grid; }
.tge .liste > div, .tge .liste > a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--trait); }
.tge .liste > :first-child { border-top: 0; padding-top: 0; }
.tge .liste .heure { width: 58px; font-weight: 600; color: var(--bleu); font-size: 14px; flex: none; }
.tge .liste b { display: block; font-weight: 600; font-size: 14px; }
.tge .liste small { color: var(--gris); font-size: 13px; }
.tge .liste .fin { margin-left: auto; flex: none; }
.tge .etat { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--ciel); color: var(--bleu); white-space: nowrap; }
.tge .etat.ok { background: #e2f4ec; color: var(--vert); }
.tge .etat.att { background: #fff3d9; color: var(--ambre); }
.tge .etat.ko { background: #fdebee; color: var(--rouge); }
.tge .cours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tge .cours a { border: 1px solid var(--trait); display: block; }
.tge .cours img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.tge .cours .c { padding: 14px 16px 16px; }
.tge .cours small { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; font-weight: 700; color: var(--vif); }
.tge .cours b { display: block; font-weight: 600; margin: 4px 0 12px; color: var(--bleu); line-height: 1.3; min-height: 2.6em; }
.tge .cours .pc { display: flex; justify-content: space-between; font-size: 12px; color: var(--gris); margin-top: 6px; }
.tge .parcours { display: grid; gap: 10px; }
.tge .parcours div { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tge .parcours span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; background: var(--ciel); color: var(--bleu); }
.tge .parcours .fait span { background: var(--vert); color: #fff; }
.tge .parcours .cours-en span { background: var(--bleu); color: #fff; }
.tge .parcours small { margin-left: auto; color: var(--gris); font-size: 13px; }
.tge table:not(:where(.tge-ancien *)) { width: 100%; border-collapse: collapse; font-size: 14px; }
.tge th:not(:where(.tge-ancien *)) { text-align: left; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--gris); font-weight: 600; padding: 0 12px 10px 0; border-bottom: 1px solid var(--trait); }
.tge td:not(:where(.tge-ancien *)) { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.tge tr:last-child td:not(:where(.tge-ancien *)) { border-bottom: 0; }
.tge td b:not(:where(.tge-ancien *)) { font-weight: 600; }
.tge .pastille { width: 32px; height: 32px; border-radius: 50%; background: var(--ciel); color: var(--bleu); display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; margin-right: 10px; vertical-align: middle; }
.tge .salles { display: grid; grid-template-columns: 130px repeat(4, 1fr); gap: 6px; font-size: 13px; }
.tge .salles .e { font-weight: 600; color: var(--gris); font-size: 12px; text-align: center; padding-bottom: 4px; }
.tge .salles .s { font-weight: 600; color: var(--bleu); display: flex; align-items: center; }
.tge .salles .x { padding: 10px 12px; background: var(--ciel); border-left: 3px solid var(--bleu); color: var(--bleu); line-height: 1.3; }
.tge .salles .x b { display: block; font-weight: 600; }
.tge .salles .x.libre { background: #fff; border: 1px dashed var(--trait); color: var(--gris); display: grid; place-items: center; }
.tge .salles .x.ligne-c { border-left-color: var(--vif); background: #e3edff; }
.tge .barres { display: grid; gap: 12px; }
.tge .barres > div { display: grid; grid-template-columns: 190px 1fr 34px; gap: 12px; align-items: center; font-size: 14px; }
.tge .barres .barre { height: 12px; }
.tge .barres b { text-align: right; font-weight: 600; color: var(--bleu); }
.tge .appel-l div { gap: 10px; }
.tge .choix-p { margin-left: auto; display: flex; gap: 4px; flex: none; }
.tge .choix-p span { font-size: 12px; font-weight: 600; padding: 5px 10px; border: 1px solid var(--trait); color: var(--gris); }
.tge .choix-p .p { background: var(--vert); border-color: var(--vert); color: #fff; }
.tge .choix-p .a { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.tge .choix-p .r { background: var(--ambre); border-color: var(--ambre); color: #fff; }
.tge .note-prov { background: #fff7e0; border-left: 4px solid #e3b04b; padding: 10px 16px; font-size: 13px; color: #5c4400; margin-bottom: 20px; }
@media (max-width: 1100px) {
.tge .cote { position: static; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px; }
.tge .cote .role, .tge .cote .bas { display: none; }
.tge .cote nav { display: flex; overflow-x: auto; flex: 1; }
.tge .cote nav a { white-space: nowrap; border-left: 0; }
.tge .haut, .tge main:not(:where(.tge-ancien *)) { margin-left: 0; }
.tge .haut { padding: 0 16px; position: static; }
.tge .haut .chercher, .tge .moi div { display: none; }
.tge main:not(:where(.tge-ancien *)) { padding: 20px 16px 40px; }
.tge .grille > * { grid-column: span 12; }
.tge .cours { grid-template-columns: 1fr 1fr; }
.tge .reprendre { grid-template-columns: 1fr; }
.tge .haut { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px 14px; }
.tge .haut h1 { font-size: 17px; }
.tge .roles { margin-left: 0; order: 5; }
.tge .grille > *, .tge main:not(:where(.tge-ancien *)) { min-width: 0; }
.tge .carte { overflow-x: auto; }
.tge .liste > div, .tge .liste > a { flex-wrap: wrap; }
.tge .choix-p { margin-left: 46px; }
.tge .bonjour h2 { font-size: 22px; }
.tge table:not(:where(.tge-ancien *)) { min-width: 560px; }
.tge .agenda, .tge .salles { min-width: 640px; }
.tge .defile { overflow-x: auto; }
.tge .barres > div { grid-template-columns: 120px 1fr 30px; }
}

/* ----- Ajouts propres au vrai site (absents de la maquette) ----- */
.tge { min-height: 100vh; }
.tge .cote nav .avenir { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 500; color: #8fa6c9; border-left: 3px solid transparent; cursor: default; }
.tge .cote nav .avenir svg { font-size: 18px; }
.tge .cote nav .avenir em { margin-left: auto; display: flex; color: #7f97bd; }
.tge .cote nav .avenir em svg { font-size: 15px; }
.tge .lecteur-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tge .haut .liens { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; color: var(--bleu); }
.tge .haut .liens a { display: flex; align-items: center; gap: 7px; }
.tge .haut .liens a:hover { text-decoration: underline; }
.tge .vide { color: var(--gris); font-size: 14px; margin: 0; padding: 18px 0 6px; display: flex; gap: 12px; align-items: flex-start; }
.tge .vide svg { font-size: 20px; color: var(--vif); margin-top: 1px; }
.tge .chiffre b.rien { color: #9aa6b8; }
.tge .cours a .c b { min-height: 0; }
.tge .cours img { height: auto; }
.tge .tge-ancien { min-width: 0; }
@media (max-width: 1100px) {
.tge .haut .liens span { display: none; }
.tge .cote nav .avenir { white-space: nowrap; border-left: 0; }
.tge .cote nav .avenir em { display: none; }
}
