.ouverture{background:var(--petrole);color:#fff;padding:22px var(--gouttiere) 30px}
.ouverture .retour{color:#cfe3e2}
.ouverture h1{color:#fff;font-size:40px;margin:6px 0 14px}
.ouverture p{color:#cfe3e2;margin:0 0 22px;font-size:17.5px;max-width:34ch}
.fait{display:flex;gap:14px;align-items:center;margin:0 0 24px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.fait strong{font-size:34px;line-height:1;font-weight:790;letter-spacing:-.03em;color:var(--jaune);font-variant-numeric:tabular-nums;flex:none}
.fait span{font-size:15.5px;color:#e3efee;line-height:1.4}

/* Une vraie question, jouable */
.essai{padding:40px var(--gouttiere)}
.question{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 40px -20px rgba(0,30,36,.35),0 1px 3px rgba(0,30,36,.06)}
.question .haut{display:flex;justify-content:space-between;align-items:center;padding:12px 14px}
.pastille{font-size:13.5px;font-weight:650;padding:5px 10px;border-radius:999px;background:#e6f2f1;color:var(--bouton)}
.chrono{display:flex;align-items:center;gap:6px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--encre-2);font-size:15px}
.chrono svg{width:18px;height:18px}
.jauge{height:4px;background:#efe8da}
.jauge i{display:block;height:100%;width:62%;background:var(--bouton);transition:width .4s}
.scene-q{display:block;width:100%;height:auto;background:#7cb87a}
.enonce{padding:14px 16px 4px;font-weight:700;font-size:17.5px;letter-spacing:-.01em}
.reponses{display:grid;gap:10px;padding:10px 14px 16px;margin:0;list-style:none}
.reponses button{width:100%;display:grid;grid-template-columns:32px 1fr auto;gap:12px;align-items:center;text-align:left;min-height:58px;padding:10px 12px;border-radius:14px;border:1.5px solid var(--ligne);background:#fff;color:var(--encre);font:500 16px/1.35 var(--font);cursor:pointer;transition:border-color .15s,background .15s,transform .1s}
.reponses button:hover{border-color:#b9ad94}
.reponses button:active{transform:scale(.99)}
.reponses b{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--sable-2);font-weight:750}
.reponses small{font-size:12.5px;font-weight:650;color:var(--encre-2)}
.reponses .bonne{border-color:#1a7a55;background:#e8f5ee}
.reponses .bonne b{background:#1a7a55;color:#fff}
.reponses .fausse{border-color:#b42318;background:#fdecea}
.reponses .fausse b{background:#b42318;color:#fff}
.explication{margin:0 14px 16px;padding:14px;border-radius:14px;background:var(--sable-2);font-size:15.5px;color:var(--encre-2);display:none}
.question.repondue .explication{display:block;animation:ouvre .35s cubic-bezier(.16,1,.3,1)}
@keyframes ouvre{from{opacity:0;transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.question.repondue .explication{animation:none}}
.essai .sous{margin:14px 2px 0;font-size:15px;color:var(--encre-2)}

/* Les thèmes */
.themes{list-style:none;margin:0;padding:0;columns:1;border-top:1px solid var(--ligne)}
.themes li{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;min-height:48px;border-bottom:1px solid var(--ligne);font-size:16px;font-weight:550}
.themes span{color:var(--encre);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:750;border:2px solid currentColor}
.themes li:nth-child(1) span{border-color:#c0392b}.themes li:nth-child(2) span{border-color:#d35400}.themes li:nth-child(3) span{border-color:#a8730a}
.themes li:nth-child(4) span{border-color:#6d8a1f}.themes li:nth-child(5) span{border-color:#1a7a55}.themes li:nth-child(6) span{border-color:#0b6b78}
.themes li:nth-child(7) span{border-color:#1f6f9a}.themes li:nth-child(8) span{border-color:#2f5aa8}.themes li:nth-child(9) span{border-color:#3b4fa0}
.themes li:nth-child(10) span{border-color:#7a3e8e}.themes li:nth-child(11) span{border-color:#a2336b}.themes li:nth-child(12) span{border-color:#5d6f72;border-style:dashed}

/* Les trois niveaux */
.niveaux{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.niveau{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:16px;border-radius:18px;background:#fff;border:1.5px solid var(--c)}
.niveau .n{grid-row:span 2;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--c);font-weight:780;font-size:18px}
.niveau b{font-size:18px;letter-spacing:-.01em;align-self:end}
.niveau span{font-size:15.5px;color:var(--encre-2)}
.pret{margin-top:12px;display:flex;gap:14px;align-items:center;padding:16px;border-radius:18px;background:var(--petrole);color:#fff}
.pret svg{width:44px;height:44px;flex:none;padding:10px;border-radius:50%;background:var(--jaune);color:var(--petrole)}
.pret span{font-size:15.5px;color:#cfe3e2}.pret b{display:block;color:#fff;font-size:18px}

/* Avec ton moniteur */
.duo{background:var(--sable-2)}
.duo .cadre{width:236px;margin:6px auto 0}
.duo ul{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:14px}
.duo li{display:grid;grid-template-columns:26px 1fr;gap:12px;font-size:16px;color:var(--encre-2)}
.duo li svg{width:24px;height:24px;color:var(--bouton)}
.duo li b{color:var(--encre)}

.fin{text-align:left}
.fin .lien{display:flex;justify-content:center;align-items:center;min-height:48px;margin-top:8px;font-weight:650;color:var(--bouton)}

.themes-section{padding-top:8px}
.niveau.n1{--c:#0b6b78}.niveau.n2{--c:#1a7a55}.niveau.n3{--c:#8a5d00}
