@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#22223b;background:#f5f6fb;font-synthesis:none;--purple:#5943c9;--muted:#666b82;--line:#e5e7f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ea9c35;outline-offset:3px}button{border:0;border-radius:10px;padding:12px 18px;background:#ece9fb;color:#4836ac;font-weight:700}a{color:#4e39ba}button:hover{filter:brightness(.96)}aside{width:256px;position:fixed;inset:0 auto 0 0;background:white;padding:32px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:#26203f;font-weight:800;font-size:19px}.brand small{display:block;font-size:10px;letter-spacing:1.2px;color:#777990;margin-top:5px}.brandmark{background:#5440bf;color:#fff;padding:9px 11px;border-radius:14px;font-size:29px}.brandmark span{color:#fc9f80}.eyebrow{font-size:11px;letter-spacing:1.4px;color:#9092a4;margin:48px 12px 15px}nav{display:grid;gap:9px}.nav{background:transparent;text-align:left;color:#73768c;font-size:14px;padding:15px 13px}.nav.active{color:#5a42c7;background:#efecfb}.aside-bottom{margin-top:auto;padding:24px 13px 0}.aside-bottom strong{display:block;margin-top:17px}.aside-bottom p{font-size:14px;line-height:1.7;color:var(--muted)}.aside-bottom small{font-size:11px;color:#999aac}.flag{display:block;width:36px;height:23px;background:linear-gradient(90deg,#4761c1 33%,white 33%,white 66%,#ed777f 66%);box-shadow:0 2px 8px #d3d5df;border-radius:3px}.shell{margin-left:256px}header{padding:24px 40px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;color:#74778d;font-size:14px}.header-tag{font-weight:600;color:#47415f}i{font-style:normal;color:#b6b0d1;margin:0 12px}main{max-width:1440px;margin:auto;padding:34px 40px;min-height:85vh}.overline{font-size:12px;font-weight:800;letter-spacing:2px;color:#a6c2ff}.hero{background:linear-gradient(110deg,#283e88,#5440aa 70%,#7955be);border-radius:24px;min-height:315px;color:white;padding:38px 40px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.1fr .8fr;gap:15px}.hero h1{font-family:Manrope,sans-serif;font-size:43px;line-height:1.17;letter-spacing:-1.7px;margin:16px 0}.hero p{color:#e1e0f5;line-height:1.7;max-width:420px;font-size:15px}.hero button{background:white;color:#49399f;margin-top:9px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center}.hero-art svg{width:100%;height:260px}.speech{position:absolute;background:#ffffffed;color:#40376b;border:1px solid #fff7;box-shadow:0 10px 30px #20204c33;padding:13px 18px;border-radius:14px;top:35px;right:2px;transform:rotate(5deg);font-size:19px;font-weight:700}.speech small{display:block;color:#8579a7;font-size:11px;margin-top:4px}.stats{display:flex;gap:32px;padding:24px 5px;margin-bottom:10px;border-bottom:1px solid var(--line)}.stat{display:flex;align-items:center;gap:12px;font-size:13px;color:#777b92}.stat strong{font-size:21px;color:#37304e}.section-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:25px 0 20px}h2{font-family:Manrope,sans-serif;font-size:23px;margin:0 0 8px;letter-spacing:-.5px}.section-top p,.intro{color:var(--muted);font-size:14px;line-height:1.6;margin:0}.segmented{display:flex;gap:5px;background:#eaeaf3;padding:5px;border-radius:12px}.segmented button{background:transparent;color:#74758b;padding:10px 17px;font-size:14px;white-space:nowrap}.segmented .selected{background:#fff;color:#5943bf;box-shadow:0 2px 5px #31304a10}.filter-row{display:flex;justify-content:space-between;margin:18px 0;align-items:center;gap:12px}.badge{border-radius:6px;padding:6px 9px;color:#5d49b5;background:#eae5fb;font-size:12px;font-weight:700}.filter-row input{width:240px;max-width:100%;padding:10px 15px;background:white;border:1px solid var(--line);border-radius:9px;font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid var(--line);background:white;border-radius:17px;overflow:hidden;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #3c327512}.scene{height:150px;position:relative;overflow:hidden;background:linear-gradient(145deg,#e8e4fc,#d5ddf7);display:flex;align-items:center;justify-content:center}.scene svg{width:90%;height:140px}.scene.t2{background:linear-gradient(135deg,#dbeeea,#cbded8)}.scene.t3{background:linear-gradient(135deg,#ffe9da,#f6d6d3)}.term{position:absolute;top:14px;left:15px;border:1px solid #fff9;background:#fffd;padding:5px 9px;font-size:10px;font-weight:700;letter-spacing:1px;border-radius:5px}.card-body{padding:21px}.card h3{font-size:19px;margin:0 0 8px}.card p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 16px}.card .skills{font-size:11px;color:#77718f;display:block;margin-bottom:20px}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eeeef5;padding-top:16px}.card-bottom small{color:#9290a0;font-size:12px}.card button{font-size:13px;padding:9px 15px}.banner{margin-top:28px;padding:22px 26px;border:1px solid #dfdaef;border-radius:14px;display:flex;gap:18px;align-items:center;background:#f0edf9}.banner strong{font-size:15px}.banner p{font-size:13px;color:#75708b;margin:5px 0}.banner a{margin-left:auto;font-size:13px;white-space:nowrap}footer{display:flex;justify-content:space-between;padding:24px 40px;color:#9291a3;font-size:11px;border-top:1px solid var(--line)}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;margin-top:20px}.panel p{line-height:1.7;color:var(--muted)}.panel li{margin:12px 0;line-height:1.6}.phrase-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.phrase-row strong{display:block;font-size:18px}.phrase-row span{display:block;font-size:14px;color:var(--muted);margin-top:5px}.phrase-row button{padding:9px 14px;font-size:13px}dialog{border:0;border-radius:20px;max-width:850px;width:calc(100% - 32px);max-height:92vh;padding:0;box-shadow:0 30px 100px #1114}dialog::backdrop{background:#17142cb0;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:17px 26px;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}.modal-head button{background:transparent}#lesson-body{padding:28px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0}.tabs button{font-size:13px;background:#f2f2f8}.tabs button.selected,.primary{background:#5943c9;color:white}.lead{font-size:15px;color:var(--muted);line-height:1.7}.prompt{padding:25px;background:#f0edfb;border-radius:14px;font-size:20px;line-height:1.6;margin:20px 0}.options{display:grid;gap:12px}.options button{text-align:left;border:1px solid #e0dced;background:#fff;color:#453b60}.feedback{padding:14px;margin:16px 0;border-radius:10px;background:#e9f2eb;color:#2d6544;line-height:1.6}.feedback.wrong{background:#fff0e5;color:#8e502c}textarea{display:block;width:100%;min-height:150px;border:1px solid #d7d5e4;border-radius:10px;padding:15px;margin:15px 0;line-height:1.6}label{font-weight:600}select{border:1px solid #d7d5e4;border-radius:8px;background:white;padding:10px;margin-left:10px}progress{width:100%;accent-color:#5943c9;height:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.empty{padding:35px;text-align:center;color:var(--muted)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.notice{font-size:13px!important;color:#736a85}.print-title{display:none}
@media(min-width:1500px){main{padding-top:45px}.hero{min-height:355px}.hero h1{font-size:50px}}@media(max-width:1100px){aside{width:210px;padding:25px 15px}.shell{margin-left:210px}header,main,footer{padding-left:25px;padding-right:25px}.hero{padding:30px}.hero h1{font-size:35px}.grid{gap:12px}.card-body{padding:17px}.section-top{align-items:flex-start;flex-direction:column}.stats{gap:20px}}@media(max-width:760px){aside{position:static;width:100%;padding:14px 18px}.brand small,.eyebrow,.aside-bottom{display:none}.brandmark{font-size:22px;padding:6px 9px}nav{display:flex;overflow:auto;margin-top:14px;gap:2px}.nav{font-size:12px;white-space:nowrap;padding:10px}.shell{margin-left:0}header{padding:14px 20px;font-size:11px}header>span:first-child{max-width:180px}.hero{grid-template-columns:1fr;padding:28px}.hero-art{display:none}.hero h1{font-size:37px}.hero p{font-size:14px}main{padding:20px}.stats{gap:14px;flex-wrap:wrap}.stat{font-size:11px;gap:7px}.stat strong{font-size:19px}.grid{grid-template-columns:1fr}.scene{height:170px}.segmented{width:100%;justify-content:space-between}.segmented button{padding:9px 12px}.banner{align-items:flex-start;flex-wrap:wrap}.banner a{margin-left:0}footer{display:block;line-height:1.8}footer span{display:block}.filter-row{align-items:flex-start;flex-direction:column}.filter-row input{width:100%}.phrase-row{gap:10px}.phrase-row strong{font-size:16px}#lesson-body{padding:20px}}
@media print{aside,header,footer,.hero,.stats,.section-top,.filter-row,.grid,.banner,.modal-head,.tabs,.actions,button{display:none!important}.shell{margin:0}dialog{position:static;display:block;width:100%;max-width:none;max-height:none;box-shadow:none}dialog::backdrop{display:none}body:has(dialog[open]) .shell{display:none}textarea{border:1px solid #aaa;height:170px}.panel{break-inside:avoid}.print-title{display:block}}
/* Realistic curriculum scenes and restrained motion. */
.real-scene{background-image:url('assets/french-scenes.png');background-size:300% 400%;background-position:var(--scene-x) var(--scene-y);background-repeat:no-repeat;width:100%;aspect-ratio:2/1;flex:none;transition:transform .55s cubic-bezier(.2,.65,.3,1);will-change:auto}
.scene{height:auto;aspect-ratio:2/1;background:#e6e1f0}.scene .real-scene{height:100%}.term{z-index:2;box-shadow:0 2px 12px #1a15351c;background:#fffffff2;color:#38304f;font-size:11px}.card:hover .real-scene,.card:focus-within .real-scene{transform:scale(1.045)}
.hero{grid-template-columns:1fr 1fr;gap:30px}.hero-art{min-width:0}.hero-picture{border:5px solid #ffffff25;border-radius:22px;box-shadow:0 20px 45px #14143655;transform:rotate(-3deg);animation:picture-in .8s ease-out both}.speech{top:12px;right:-8px;animation:greeting-float 4s ease-in-out 1;box-shadow:0 12px 28px #1b174a40}.hero-art::after{content:'Des mots. Des liens. Un nouveau monde.';position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.5px;color:#e6e1ff}.lesson-illustration{border-radius:14px;overflow:hidden;margin:0 0 24px;max-height:280px}.lesson-illustration .real-scene{width:100%;max-width:560px;margin:auto;border-radius:14px}.lesson-illustration{background:#f1eef8}
.card{animation:card-in .45s ease-out both;animation-delay:var(--card-delay,0ms);transition:transform .25s ease,box-shadow .25s ease}.card:hover{transform:translateY(-5px);box-shadow:0 16px 36px #3c32751c}.hero>div:first-child{animation:card-in .6s ease-out both}.panel{animation:fade-in .25s ease-out}.feedback{animation:card-in .25s ease-out}dialog[open]{animation:dialog-in .22s ease-out}button{transition:background-color .18s,box-shadow .18s,transform .18s,filter .18s}button:active:not(:disabled){transform:scale(.97)}button:disabled{cursor:default;opacity:.65}.nav:hover{background:#f6f3ff}.primary:hover{box-shadow:0 5px 14px #5943c933}
@keyframes card-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes picture-in{from{opacity:0;transform:translateY(14px) rotate(0)}to{opacity:1;transform:translateY(0) rotate(-3deg)}}@keyframes greeting-float{0%,100%{transform:translateY(0) rotate(5deg)}50%{transform:translateY(-8px) rotate(3deg)}}
@media(max-width:1100px){.hero{gap:20px}.hero-art::after{font-size:10px;bottom:14px}.speech{font-size:16px;top:24px}}
@media(max-width:760px){.hero{grid-template-columns:1fr;gap:23px}.hero-art{display:block;padding:10px 0 25px}.hero-picture{max-width:430px;margin:auto;transform:rotate(-2deg)}.hero-art::after{bottom:0;font-size:11px}.speech{top:-8px;right:0;font-size:15px}.scene{height:auto}.lesson-illustration{max-height:none}.lesson-illustration .real-scene{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.card:hover,.card:focus-within,.card:hover .real-scene,.card:focus-within .real-scene,.hero-picture,.speech{transform:none!important}}
@media print{.lesson-illustration{display:none}.card,.panel{animation:none!important}}
