
/* Simulateur BTS — Lecteur pédagogique V2 */
.lesson-v2{max-width:1180px;margin:0 auto;padding:8px 0 70px}
.lesson-v2-top{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:34px;margin:0 0 22px;border-radius:28px;background:radial-gradient(circle at 90% 10%,rgba(122,73,255,.32),transparent 32%),radial-gradient(circle at 10% 100%,rgba(255,83,104,.16),transparent 34%),linear-gradient(135deg,#121426,#25204a);color:#fff;box-shadow:0 22px 60px rgba(31,24,73,.16)}
.lesson-v2-top:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-90px;top:-110px}
.lesson-v2-top>*{position:relative;z-index:1}
.lesson-v2-top h2{color:#fff!important;font-size:clamp(29px,3vw,43px);line-height:1.08;margin:8px 0 10px;max-width:760px}
.lesson-v2-top p{color:#d8d9e8;margin:0;font-size:15px}
.lesson-kicker,.lesson-eyebrow{display:block;font-size:11px;line-height:1.2;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#7657ff}
.lesson-v2-top .lesson-kicker{color:#ff6879}
.lesson-stats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:350px}
.lesson-stats span{padding:9px 13px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.10);backdrop-filter:blur(8px);color:#fff;white-space:nowrap;font-size:12px;font-weight:700}
.lesson-v2-visual{overflow:hidden;width:100%;max-height:440px;margin:0 0 22px;border-radius:25px;background:#f4f5f8;box-shadow:0 12px 35px rgba(28,31,55,.08)}
.lesson-v2-visual img{display:block;width:100%;max-height:440px;object-fit:contain;object-position:center}
.lesson-objectives,.lesson-step,.lesson-summary,.lesson-challenge,.lesson-finish{background:#fff;border:1px solid #e7e8f1;border-radius:24px;margin:20px 0}
.lesson-objectives{display:grid;grid-template-columns:58px minmax(0,1fr);gap:20px;padding:29px;box-shadow:0 10px 35px rgba(33,35,68,.05)}
.lesson-section-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#f0edff,#fff0f3);font-size:25px}
.lesson-objectives h2,.lesson-summary h2,.lesson-challenge h2,.lesson-finish h2{margin:5px 0 18px;font-size:24px;line-height:1.2}
.objective-grid,.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.objective-item{display:flex;align-items:flex-start;gap:12px;min-height:68px;padding:14px 15px;border:1px solid #eeeff5;border-radius:15px;background:#fafafe}
.objective-item>span{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#7657ff;color:#fff;font-size:12px;font-weight:850}
.objective-item p{margin:3px 0 0;line-height:1.5}
.lesson-progress{display:flex;align-items:center;gap:14px;padding:6px 5px 13px;color:#777d91;font-size:13px}
.lesson-progress-bar{flex:0 0 170px;height:7px;overflow:hidden;border-radius:999px;background:#e9e9f2}
.lesson-progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#7657ff,#ff5368)}
.lesson-step{overflow:hidden;box-shadow:0 8px 30px rgba(33,35,68,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.lesson-step:hover{transform:translateY(-3px);border-color:#dcd8f8;box-shadow:0 18px 48px rgba(32,30,70,.09)}
.lesson-step-head{display:grid;grid-template-columns:54px minmax(0,1fr) 46px;align-items:center;gap:16px;padding:22px 27px;border-bottom:1px solid #ededf4;background:linear-gradient(90deg,#fafafe,#fff 72%)}
.lesson-step-head h2{margin:4px 0 0!important;font-size:21px!important;line-height:1.25}
.lesson-step-number{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#17172c;color:#fff;font-size:14px;font-weight:850}
.lesson-step-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f1eeff;font-size:20px}
.lesson-step-body{max-width:940px;margin:0 auto;padding:28px 38px 32px}
.lesson-reading{color:#44516b;font-size:16px;line-height:1.8}
.lesson-reading p{margin:0 0 17px}.lesson-reading li{margin:9px 0}
.method-box{margin:24px 0;padding:19px 21px;border-left:4px solid #7657ff;border-radius:14px;background:#f6f4ff}
.key-list{display:grid;gap:10px;margin:22px 0}
.key-list>div{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;border:1px solid #edf0f3;border-radius:13px;background:#f9fbfc}
.key-list span{color:#13a36f;font-size:17px;font-weight:900}.key-list p{margin:1px 0 0;line-height:1.55}
.knowledge-check{position:relative;overflow:hidden;margin-top:29px;padding:23px;border:1px solid #e3ddfb;border-radius:19px;background:radial-gradient(circle at 100% 0,rgba(255,83,104,.09),transparent 34%),linear-gradient(135deg,#f6f3ff,#fff)}
.knowledge-check:before{content:"?";position:absolute;right:17px;top:8px;color:rgba(118,87,255,.08);font-size:90px;font-weight:900;line-height:1}
.knowledge-check>*{position:relative;z-index:1}.knowledge-check h3{margin:6px 0 5px;font-size:19px}.knowledge-check>p{margin:4px 0 17px;color:#626b80}
.knowledge-actions{display:flex;flex-wrap:wrap;gap:10px}
.knowledge-btn{border:0;border-radius:11px;padding:11px 17px;background:#7657ff;color:#fff;font:800 13px inherit;cursor:pointer}
.knowledge-btn.secondary{border:1px solid #dcddea;background:#fff;color:#424b62}
.knowledge-feedback{min-height:20px;margin-top:13px;font-size:13px;font-weight:750}.answered-ok .knowledge-feedback{color:#12875e}.answered-review .knowledge-feedback{color:#c87820}
.lesson-summary{padding:31px;background:radial-gradient(circle at 90% 0,rgba(118,87,255,.28),transparent 30%),linear-gradient(145deg,#17172c,#29244d);color:#fff;box-shadow:0 18px 45px rgba(23,23,44,.13)}
.lesson-summary .lesson-eyebrow{color:#ff6a79}.lesson-summary h2{color:#fff!important}
.summary-item{display:flex;align-items:flex-start;gap:12px;padding:15px 16px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.075)}
.summary-item>span{color:#ff6879;font-size:13px;font-weight:900}.summary-item p{margin:0;color:#f1f1f8;line-height:1.55}
.lesson-challenge{padding:31px;border:2px solid #ff5368;background:linear-gradient(135deg,#fff8f8,#fff)}
.challenge-label{display:inline-block;padding:7px 11px;border-radius:8px;background:#ff5368;color:#fff;font-size:10px;font-weight:900;letter-spacing:.11em}
.lesson-challenge>p{max-width:850px;color:#535d72;font-size:16px;line-height:1.7}
.challenge-expected{margin-top:19px;padding:19px 21px;border:1px solid #f0e7e8;border-radius:15px;background:#fff}
.lesson-correction{overflow:hidden;margin:21px 0;border:1px solid #e4e5ee;border-radius:17px;background:#fff}
.lesson-correction summary{padding:19px 22px;cursor:pointer;font-weight:800;list-style:none}.lesson-correction summary::-webkit-details-marker{display:none}
.lesson-correction summary:after{content:"+";float:right;color:#7657ff;font-size:21px}.lesson-correction[open] summary:after{content:"−"}
.lesson-correction>div{padding:0 22px 21px;color:#4f5a70}
.lesson-finish{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px;box-shadow:0 12px 38px rgba(33,35,68,.06)}
.lesson-finish p{max-width:670px;margin:0;color:#687186;line-height:1.6}.lesson-finish-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
@media(max-width:900px){.lesson-v2-top,.lesson-finish{align-items:flex-start;flex-direction:column}.lesson-stats{justify-content:flex-start}.objective-grid,.summary-grid{grid-template-columns:1fr}.lesson-step-body{padding:24px}}
@media(max-width:600px){.lesson-v2-top{padding:25px 21px;border-radius:21px}.lesson-v2-top h2{font-size:28px}.lesson-objectives{grid-template-columns:1fr;padding:21px}.lesson-progress{align-items:flex-start;flex-direction:column}.lesson-progress-bar{width:100%;flex-basis:7px}.lesson-step{border-radius:19px}.lesson-step-head{grid-template-columns:44px 1fr;padding:18px}.lesson-step-number{width:42px;height:42px}.lesson-step-icon{display:none}.lesson-step-body{padding:21px 18px}.lesson-reading{font-size:15px;line-height:1.7}.lesson-summary,.lesson-challenge,.lesson-finish{padding:22px}}
