/* Déroulement d'un test (page /test et espace de préparation) */
body{min-height:100svh;display:flex;flex-direction:column}
.t-haut{position:sticky;top:0;z-index:20;background:var(--fond);border-bottom:1px solid var(--ligne)}
.t-haut .wrap{display:flex;align-items:center;gap:16px;height:60px}
.t-prog{height:5px;background:var(--fond2)}
.t-prog b{display:block;height:100%;width:0;background:var(--action);transition:width .45s var(--ease)}
.t-compte{font-weight:600;font-size:15px;margin-left:auto;white-space:nowrap}
@media (max-width:440px){.t-haut .logo{font-size:0;gap:0}.t-compte{font-size:14px}}
.t-chrono{font:600 15px/1 var(--texte);font-variant-numeric:tabular-nums;padding:8px 12px;border-radius:99px;background:var(--carte);box-shadow:inset 0 0 0 1px var(--ligne)}
.t-chrono.bas{color:#B42318}
main{flex:1;display:flex;align-items:flex-start}
.t-zone{width:100%;max-width:760px;margin:0 auto;padding:clamp(28px,6vw,64px) var(--gut) 120px}
.t-theme{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--encre2)}
.t-q{font:600 clamp(25px,3.6vw,36px)/1.2 var(--titres);margin:12px 0 26px;letter-spacing:-.015em}
.t-img{display:block;max-height:260px;margin:0 auto 24px;border-radius:12px}
.t-choix{display:grid;gap:12px}
.t-choix button{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:17px 18px;border:0;border-radius:14px;background:var(--carte);box-shadow:inset 0 0 0 1.5px var(--ligne);font-size:17px;transition:box-shadow .2s,transform .2s var(--ease),background .2s}
.t-choix button:hover{box-shadow:inset 0 0 0 1.5px var(--action)}
.t-choix button:active{transform:scale(.99)}
.t-choix button i{flex:none;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font:700 14px/1 var(--texte);font-style:normal;background:var(--fond2)}
.t-choix button.sel{box-shadow:inset 0 0 0 2px var(--action);background:color-mix(in srgb,var(--action) 8%,var(--carte))}
.t-choix button.sel i{background:var(--action);color:#fff}
.t-nav{display:flex;justify-content:space-between;align-items:center;margin-top:28px;gap:12px}
.t-lien{background:none;border:0;color:var(--encre2);font-weight:600;padding:10px 4px}
.t-lien:hover{color:var(--encre)}
.t-entre{animation:entre .45s var(--ease)}
@keyframes entre{from{opacity:0;transform:translateX(26px)}}
@media (prefers-reduced-motion:reduce){.t-entre{animation:none}}
.t-fin{text-align:center;padding-top:40px}
.t-fin .anneau{width:84px;height:84px;margin:0 auto 26px;border-radius:50%;border:4px solid var(--fond2);border-top-color:var(--action);animation:tourne 1s linear infinite}
@keyframes tourne{to{transform:rotate(360deg)}}
.t-accord{font-size:13px;color:var(--encre2);margin-top:22px}
/* Texte à lire et audio (compréhension écrite / orale) */
.q-texte{background:var(--carte);border-radius:16px;padding:20px 22px;margin:0 0 20px;box-shadow:inset 4px 0 0 var(--accent),0 0 0 1px var(--ligne);font-size:17px;line-height:1.6;max-height:46vh;overflow:auto}
.q-audio{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 20px}
