/* QCM énergie 1ère STI2D - styles isolés du thème WordPress */
.sti2d-qcm-energy {
  --qcm-ink: #17263c;
  --qcm-muted: #62718a;
  --qcm-blue: #2258cc;
  --qcm-blue-bg: #eaf1ff;
  --qcm-border: #dce4f1;
  --qcm-green: #167047;
  --qcm-green-bg: #eaf8f0;
  --qcm-orange: #9a5815;
  --qcm-orange-bg: #fff4e5;
  width: 100%; max-width: 880px; margin: 18px auto 32px; 
  padding: 0; color: var(--qcm-ink); font: 400 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box; isolation: isolate;
}
.sti2d-qcm-energy *, .sti2d-qcm-energy *::before, .sti2d-qcm-energy *::after {box-sizing: border-box;}
.sti2d-qcm-energy .sti2d-qcm__shell {background: #fff; border: 1px solid var(--qcm-border); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 42px rgba(28,43,76,.08);}
.sti2d-qcm-energy .sti2d-qcm__hero {background: linear-gradient(112deg,#112e57 0%,#234c91 100%); padding: 29px 32px 26px; color: #fff;}
.sti2d-qcm-energy .sti2d-qcm__eyebrow {margin: 0 0 7px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #cbdffa;}
.sti2d-qcm-energy .sti2d-qcm__hero h2 {color:#fff !important; margin: 0 !important; padding:0; font-size: clamp(1.6rem,3.4vw,2rem); font-weight: 780; line-height: 1.15; border: 0;}
.sti2d-qcm-energy .sti2d-qcm__subtitle {font-size: .94rem; color: #dbe7ff; margin: 10px 0 0;}
.sti2d-qcm-energy .sti2d-qcm__meta {display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;}
.sti2d-qcm-energy .sti2d-qcm__pill {font-size:.77rem; font-weight:700; line-height:1.25; padding: 6px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,.27); background:rgba(255,255,255,.11); color:#fff;}
.sti2d-qcm-energy .sti2d-qcm__body {padding: 25px 32px 29px;}
.sti2d-qcm-energy .sti2d-qcm__topline {display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:11px; font-weight:700; font-size:.89rem;}
.sti2d-qcm-energy .sti2d-qcm__subtle {color: var(--qcm-muted);font-weight:500;}
.sti2d-qcm-energy .sti2d-qcm__progress {background:#e9eef6; height:9px; border-radius:30px; overflow:hidden; margin-bottom:27px;}
.sti2d-qcm-energy .sti2d-qcm__bar {background:linear-gradient(90deg,#3777ef,#64afe9); height:100%; border-radius:30px; width:0%; transition:width .25s;}
.sti2d-qcm-energy .sti2d-qcm__topic {margin:0 0 9px; color:var(--qcm-blue); font-size:.77rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase;}
.sti2d-qcm-energy .sti2d-qcm__question {color:var(--qcm-ink); font-size:clamp(1.07rem, 2vw, 1.28rem); font-weight:730; line-height:1.43; margin:0 0 21px !important; padding:0;}
.sti2d-qcm-energy .sti2d-qcm__fieldset {border:0; margin:0; padding:0; min-width:0;}
.sti2d-qcm-energy .sti2d-qcm__fieldset legend {font-size:.85rem; color:var(--qcm-muted);margin-bottom:12px; padding:0;}
.sti2d-qcm-energy .sti2d-qcm__choices {display:grid; gap:10px;}
.sti2d-qcm-energy .sti2d-qcm__choice {position:relative; display:flex; align-items:flex-start; gap:12px; cursor:pointer; border:1.5px solid var(--qcm-border); border-radius:12px; padding:14px 15px; min-height:55px; background:#fff; color:var(--qcm-ink); transition:border-color .14s,background .14s; font-size:.97rem; line-height:1.45; margin:0; font-weight:500;}
.sti2d-qcm-energy .sti2d-qcm__choice:hover:not(.is-disabled) {background:#f6f9ff; border-color:#95b7ee;}
.sti2d-qcm-energy .sti2d-qcm__choice:focus-within {outline:3px solid #b8d2ff;outline-offset:2px;}
.sti2d-qcm-energy .sti2d-qcm__choice.is-selected {background:var(--qcm-blue-bg); border-color:var(--qcm-blue);}
.sti2d-qcm-energy .sti2d-qcm__choice.is-disabled {background:#f5f7fa; color:#647084; border-style:dashed; cursor:default; opacity:.80;}
.sti2d-qcm-energy .sti2d-qcm__choice.is-right {border-color:#43a377; background:var(--qcm-green-bg); color:#175d3e; opacity:1;}
.sti2d-qcm-energy .sti2d-qcm__choice.is-wrong {border-color:#cf9879; background:#fff6f1;}
.sti2d-qcm-energy .sti2d-qcm__choice input {appearance:none !important; -webkit-appearance:none !important; flex:0 0 auto; width:17px; height:17px; border:2px solid #a9b5c7; background:white; border-radius:50%; margin:3px 0 0 !important; padding:0; box-shadow:none;}
.sti2d-qcm-energy .sti2d-qcm__choice input:checked {border:5px solid var(--qcm-blue);}
.sti2d-qcm-energy .sti2d-qcm__choice input:disabled {cursor:default;}
.sti2d-qcm-energy .sti2d-qcm__answerletter {flex:0 0 20px; font-size:.88rem; font-weight:800; color:var(--qcm-muted); margin-top:1px;}
.sti2d-qcm-energy .sti2d-qcm__answerlabel {flex:1;}
.sti2d-qcm-energy .sti2d-qcm__answerhint {display:inline-block; font-size:.74rem; margin-left:5px; font-weight:650; color:#75543d;}
.sti2d-qcm-energy .sti2d-qcm__feedback {margin-top:20px; padding:16px 18px; border:1px solid #e8b89a; border-left:4px solid #b86b35; border-radius:10px; background:var(--qcm-orange-bg); color:var(--qcm-ink);}
.sti2d-qcm-energy .sti2d-qcm__feedback.is-success {border-color:#9ad0b4; border-left-color:#19845a; background:var(--qcm-green-bg);}
.sti2d-qcm-energy .sti2d-qcm__feedback h4 {font-size:1rem; font-weight:800; margin:0 0 8px !important; color:inherit;}
.sti2d-qcm-energy .sti2d-qcm__feedback p {margin:8px 0 0 !important; font-size:.93rem;}
.sti2d-qcm-energy .sti2d-qcm__feedback .sti2d-qcm__hint {border-top:1px solid rgba(20,38,62,.13); margin-top:12px; padding-top:10px;}
.sti2d-qcm-energy .sti2d-qcm__actions {display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:23px;}
.sti2d-qcm-energy .sti2d-qcm__btn {display:inline-flex; align-items:center; justify-content:center; min-height:45px; border-radius:10px; padding:10px 18px; font:700 .91rem/1.25 inherit; font-family:inherit; font-size:.91rem; font-weight:730; cursor:pointer; text-decoration:none; border:1px solid transparent; transition:background .14s,color .14s;}
.sti2d-qcm-energy .sti2d-qcm__btn--main {background:#2258cc; color:#fff !important; border-color:#2258cc;}
.sti2d-qcm-energy .sti2d-qcm__btn--main:hover:not(:disabled) {background:#163f9b;}
.sti2d-qcm-energy .sti2d-qcm__btn--main:disabled {background:#cbd5e1;border-color:#cbd5e1; color:#586579 !important; cursor:not-allowed;}
.sti2d-qcm-energy .sti2d-qcm__btn--ghost {background:transparent; border-color:#c9d5e5; color:#3c5378 !important;}
.sti2d-qcm-energy .sti2d-qcm__btn--ghost:hover {background:#f3f7fc;}
.sti2d-qcm-energy .sti2d-qcm__btn:focus-visible {outline:3px solid #aacaff; outline-offset:2px;}
.sti2d-qcm-energy .sti2d-qcm__attempt {font-size:.82rem; color:var(--qcm-muted);}
.sti2d-qcm-energy .sti2d-qcm__result {text-align:center; border-radius:15px; background:#f0f5ff; padding:26px 22px; margin-bottom:20px;}
.sti2d-qcm-energy .sti2d-qcm__bigscore {color:#1e50ae; font-size:clamp(2.2rem,6vw,3.25rem); font-weight:850; letter-spacing:-.04em; line-height:1.1; margin:12px 0 6px;}
.sti2d-qcm-energy .sti2d-qcm__result h3 {font-size:1.45rem; margin:0 !important; font-weight:780;}
.sti2d-qcm-energy .sti2d-qcm__result p {margin:7px 0 0 !important;}
.sti2d-qcm-energy .sti2d-qcm__review {display:grid; gap:9px; margin:18px 0 25px;}
.sti2d-qcm-energy .sti2d-qcm__review details {border:1px solid var(--qcm-border);border-radius:10px;padding:0;background:#fff;overflow:hidden;}
.sti2d-qcm-energy .sti2d-qcm__review summary {cursor:pointer;padding:13px 15px;font-weight:650;line-height:1.35;}
.sti2d-qcm-energy .sti2d-qcm__review summary::marker {color:#7386a6;}
.sti2d-qcm-energy .sti2d-qcm__review .sti2d-qcm__reviewdetail {border-top:1px solid var(--qcm-border);padding:12px 15px;color:var(--qcm-ink);font-size:.91rem;}
.sti2d-qcm-energy .sti2d-qcm__review .sti2d-qcm__reviewdetail p {margin:6px 0 9px;}
.sti2d-qcm-energy .sti2d-qcm__footer {border-top:1px solid #e9edf5; padding:12px 32px; font-size:.75rem; color:var(--qcm-muted); background:#fbfcff;}
.sti2d-qcm-energy .sti2d-qcm__loading {background:#f5f8ff;padding:30px;border-radius:12px;text-align:center;}
@media (max-width:620px) {
 .sti2d-qcm-energy {margin:12px auto 22px; font-size:15px;}
 .sti2d-qcm-energy .sti2d-qcm__shell {border-radius:13px;}
 .sti2d-qcm-energy .sti2d-qcm__hero {padding:22px 18px;}
 .sti2d-qcm-energy .sti2d-qcm__body {padding:19px 17px 22px;}
 .sti2d-qcm-energy .sti2d-qcm__footer {padding:12px 17px;}
 .sti2d-qcm-energy .sti2d-qcm__choice {padding:13px 11px;gap:9px;}
 .sti2d-qcm-energy .sti2d-qcm__actions .sti2d-qcm__btn--main {width:100%;}
 .sti2d-qcm-energy .sti2d-qcm__attempt {width:100%;}
}
@media (prefers-reduced-motion:reduce) {
 .sti2d-qcm-energy .sti2d-qcm__bar, .sti2d-qcm-energy .sti2d-qcm__choice, .sti2d-qcm-energy .sti2d-qcm__btn {transition:none;}
}
