:root{--violet:#4816b9;--deep:#17175f;--pink:#e31add;--yellow:#ffc928;--soft:#f4f5ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--deep);background:white;font-family:"Trebuchet MS",Arial,sans-serif}.header{height:92px;display:flex;align-items:center;gap:28px;padding:8px max(4vw,24px);position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);box-shadow:0 2px 18px #4015a51a}.brand{width:240px;text-decoration:none}.brand img,footer img{width:100%;display:block}.brand span{font-size:12px;color:#3e38a8;display:block;text-align:center;margin-top:-5px}.menu{display:flex;gap:27px;margin:auto}.menu a,footer a{color:#4137b8;text-decoration:none;font-weight:800}.menu a.active{color:#d61be5;border-bottom:4px solid;padding-bottom:10px}.account{display:flex;gap:10px}.header button,.offer button,.spaces button,.feature-grid button{font:inherit;font-weight:800;cursor:pointer}.ghost,.primary{padding:12px 22px;border-radius:28px;background:#fff;border:2px solid #cf3de7;color:#7c2abb}.primary{border-color:#ffc72a;background:linear-gradient(#ffd94d,#ffb914);color:#30339a}.menu-button{display:none}.hero{min-height:530px;position:relative;overflow:hidden;background:#edf0ff}.hero-art{position:absolute;inset:0;background:url('hero-devoirio-v2.png') center/cover no-repeat;filter:saturate(1.06)}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0 29%,rgba(255,255,255,.76) 39%,rgba(255,255,255,.8) 61%,transparent 72%)}.hero-copy{position:relative;z-index:1;width:min(590px,46%);margin:auto;padding:20px 0 28px;text-align:center}.hero h1{font-size:46px;line-height:.98;margin:0 0 14px;font-weight:1000;letter-spacing:-2px}.hero h1 em{font-style:normal;color:#ffbf16;border-bottom:6px solid #ffcb27}.hero-copy>p{font-size:18px;font-weight:800;color:#c12ce0}.exercise-card{background:rgba(255,255,255,.94);border-radius:25px;padding:17px 22px;box-shadow:0 10px 32px #4e21a533;border:1px solid #dacdfa}.exercise-card>strong{font-size:19px}.exercise-card>strong span{font-size:25px;color:#4420bd}.exercise-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:14px 0}.action{min-height:100px;border:0;border-radius:15px;background:#f2e9ff;color:#3525ad;font-size:17px;font-weight:900;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.action:last-child{background:#f8fbff}.action b{font-size:34px}.action small{font-size:12px}.exercise-actions i{font-style:normal;color:#6829c5;font-weight:bold}.try-button{width:100%;border:0;border-radius:26px;padding:12px 22px;background:linear-gradient(#ffe45b,#ffb918);color:#2432a6;font-size:19px;font-weight:900;cursor:pointer;box-shadow:0 5px 10px #ffbf2344}.exercise-card>small{display:block;margin-top:10px;color:#4333a9}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:18px max(4vw,34px);box-shadow:0 5px 20px #5a35c517}.steps article{display:flex;align-items:center;justify-content:center;gap:14px}.steps b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffd32c;color:#2240bd;font-size:26px}.steps span{font-size:35px}.steps p{margin:0}.steps strong,.steps small{display:block}.steps small{color:#6c5fd0;margin-top:4px}.content-section{padding:18px max(4vw,40px)}h2{margin:0 0 16px;font-size:28px}h2:after{content:"";display:block;width:72px;height:5px;background:#ffcc1f;border-radius:9px;margin-top:5px}.choices{display:grid;gap:12px}.choices button{border:0;border-radius:14px;background:var(--soft);min-height:84px;font:inherit;color:#263abb;font-weight:900;cursor:pointer;transition:.18s}.choices button:hover{transform:translateY(-3px);box-shadow:0 7px 17px #3818a422}.choices span{display:block;margin-top:4px}.levels{grid-template-columns:repeat(9,1fr)}.levels button{font-size:30px}.levels span{font-size:17px}.subjects{grid-template-columns:repeat(7,1fr)}.subjects button{font-size:28px}.subjects span{font-size:15px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-grid article{display:flex;align-items:center;gap:16px;min-height:130px;padding:18px;border:2px solid #eeeeff;border-radius:20px;background:#fff}.feature-grid article>span{font-size:45px}.feature-grid h3{margin:0;font-size:18px}.feature-grid p{margin:5px 0;color:#5e55bb}.feature-grid button{border:0;border-radius:20px;background:var(--violet);color:#fff;padding:8px 17px}.feature-grid .dictation{position:relative;border-color:#ef27d8;background:#fff8a8}.dictation label{position:absolute;top:-16px;left:50%;transform:translateX(-50%);padding:7px 22px;background:var(--pink);color:#fff;border-radius:18px;font-weight:900}.offer{margin:12px max(4vw,40px);padding:13px 30px;border-radius:18px;display:flex;align-items:center;gap:22px;color:#fff;background:linear-gradient(110deg,#2c18a5,#5a20c3);border:3px solid #ffe12a}.offer>span{font-size:54px}.offer div{flex:1}.offer strong,.offer b,.offer small{display:block}.offer strong{font-size:25px}.offer b{color:#ffdb2e;font-size:48px;line-height:1}.offer button,.spaces button{border:0;border-radius:26px;padding:13px 28px;background:linear-gradient(#ffe35c,#ffb81b);color:#2733a9}.spaces{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:12px max(4vw,40px) 24px}.spaces article{min-height:130px;padding:22px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#a5efac,#eaffd2)}.spaces article:last-child{background:linear-gradient(120deg,#ffd5f6,#ffeef7)}.spaces article b{font-size:36px}.spaces h2{margin:0}.spaces h2:after{display:none}.spaces p{margin:4px 0}footer{display:flex;align-items:center;gap:36px;padding:20px max(4vw,40px);border-top:1px solid #eee}footer img{width:170px}footer nav{display:flex;gap:22px;margin:auto}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,120px);background:#35118f;color:#fff;border:2px solid #ffd523;border-radius:16px;padding:13px 20px;font-weight:900;transition:.25s;z-index:30}.toast.show{transform:translate(-50%,0)}dialog{border:0;border-radius:24px;padding:0;box-shadow:0 24px 70px #1f125c66;width:min(560px,calc(100% - 28px))}dialog::backdrop{background:#171047aa}dialog form{padding:28px;position:relative}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:30px;cursor:pointer}textarea{width:100%;min-height:170px;border:2px solid #d6c4ff;border-radius:15px;padding:15px;font:inherit;margin:8px 0 15px;resize:vertical}
@media(max-width:900px){.header{height:auto;min-height:72px;flex-wrap:wrap;padding:8px 15px}.brand{width:170px}.menu-button{display:block;margin-left:auto;border:0;background:#eee8ff;border-radius:10px;font-size:24px}.menu{display:none;order:3;width:100%;flex-direction:column;gap:0}.menu.open{display:flex}.menu a{padding:11px}.account{display:none}.hero{min-height:auto;padding-top:41.66vw;background:#fff}.hero-art{height:41.66vw;min-height:0;inset:0 0 auto;background-size:100% auto;background-position:center top;background-repeat:no-repeat}.hero-art:after{display:none}.hero-copy{width:94%;padding:22px 0 28px}.hero h1{font-size:34px}.steps{grid-template-columns:1fr;padding:16px}.steps article{justify-content:flex-start}.levels{grid-template-columns:repeat(3,1fr)}.subjects{grid-template-columns:repeat(2,1fr)}.feature-grid,.spaces{grid-template-columns:1fr}.offer{margin:10px 16px;flex-wrap:wrap;padding:15px}.offer>span{font-size:40px}.offer b{font-size:38px}.offer button{width:100%}.content-section,.spaces{padding-left:16px;padding-right:16px}footer{flex-direction:column;gap:16px}footer nav{flex-wrap:wrap;justify-content:center}.exercise-actions{gap:6px}.action{font-size:15px}}

.expose-callout{margin:20px max(4vw,40px) 26px;padding:24px 28px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;border:4px solid #5720bd;border-radius:25px;background:linear-gradient(135deg,#5420bd,#7b42dc 58%,#ffd538);color:#fff;box-shadow:0 8px 0 #d5a500}.expose-icon{display:grid;place-items:center;width:92px;height:92px;border-radius:25px;background:#fff;font-size:43px;box-shadow:5px 5px 0 #2d0a77}.expose-callout span{color:#ffdd45;font-weight:900;letter-spacing:.7px}.expose-callout h2{margin:4px 0;font-size:32px}.expose-callout h2:after{display:none}.expose-callout em{color:#ffdf45}.expose-callout p{margin:0;line-height:1.45}.expose-callout>button,.expose-actions button{padding:15px 20px;border:0;border-radius:24px;background:#ffd538;color:#351075;font:700 17px "Fredoka","Trebuchet MS",sans-serif;box-shadow:0 5px 0 #bd8d00;cursor:pointer}.expose-dialog{width:min(760px,calc(100% - 24px))}.expose-content{position:relative;padding:30px}.expose-photo-actions,.expose-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.expose-photo-actions button{padding:16px;border:2px solid #cab7f1;border-radius:18px;background:#f7f2ff;color:#42138e;cursor:pointer}.expose-photo-actions span,.expose-photo-actions strong,.expose-photo-actions small{display:block}.expose-photo-actions span{font-size:32px}.expose-preview{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px;border-radius:15px;background:#e8f8ed;color:#08713d}.expose-preview img{width:72px;height:58px;object-fit:cover;border-radius:10px}.expose-field{display:block;margin:14px 0;color:#42138e;font-weight:900}.expose-field input,.expose-field select{display:block;width:100%;margin-top:7px;padding:13px;border:2px solid #cfbfef;border-radius:13px;background:#fff;font-size:16px}.expose-paper{margin:18px 0;padding:24px;border:2px solid #e2d8f4;border-radius:18px;background:#fffefa;box-shadow:0 6px 18px rgba(62,25,125,.12)}.expose-paper h3{margin:18px 0 6px;color:#5320ad}.expose-paper p,.expose-paper li{line-height:1.6}.expose-paper .oral-tip{padding:12px;border-radius:12px;background:#fff5b8;color:#4a287d;font-weight:800}.expose-actions button:first-child{background:#fff;border:2px solid #5720bd;box-shadow:none}.expose-dialog progress{width:100%;height:13px;accent-color:#ffc928}@media(max-width:760px){.expose-callout{grid-template-columns:auto 1fr;margin:18px 12px;padding:18px 15px}.expose-icon{width:65px;height:65px;font-size:30px}.expose-callout h2{font-size:25px}.expose-callout p{font-size:14px}.expose-callout>button{grid-column:1/-1;width:100%}.expose-content{padding:26px 16px}.expose-photo-actions,.expose-actions{grid-template-columns:1fr}}

.expose-preview small{display:block;margin-top:3px;color:#39765a}.expose-mission{padding:14px 16px;border-radius:15px;background:linear-gradient(135deg,#5a20bf,#7134d0);color:#fff}.expose-mission strong{color:#ffdc42;font-size:19px}.expose-mission p{margin:5px 0 0}.expose-draft-label{display:block;margin-top:22px;color:#3f178d}.expose-draft-label strong,.expose-draft-label span{display:block}.expose-draft-label strong{font:700 21px "Fredoka","Trebuchet MS",sans-serif}.expose-draft-label span{margin-top:5px;color:#665b89;line-height:1.45}.expose-draft{min-height:250px;margin-top:11px;background:repeating-linear-gradient(#fff,#fff 31px,#e6def6 32px);line-height:32px;color:#251665}.expose-correction{margin:20px 0;padding:20px;border:3px solid #ffd33d;border-radius:18px;background:#fffbee}.expose-correction h3{margin:0 0 8px;color:#4d1aa2}.expose-correction ul{display:grid;gap:9px;padding:0;list-style:none}.expose-correction li{padding:10px 12px;border-radius:12px;line-height:1.4}.expose-correction .is-good{background:#e6f8ec;color:#08703b}.expose-correction .to-improve{background:#fff0df;color:#8b4100}.expose-correction .oral-tip{margin-bottom:0;padding:12px;border-radius:12px;background:#efe7ff;color:#4a287d;font-weight:800}

/* Le pied de page reprend exactement l'identité visuelle du logo d'en-tête. */
.brand,.footer-brand{width:240px;text-decoration:none;display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.brand-name{position:relative;display:flex!important;align-items:flex-end;justify-content:center;line-height:.82;margin:0!important;filter:drop-shadow(0 4px 5px #30117f2b)}.brand-devoir{display:flex!important;color:#4317a8!important;font:900 45px/.82 Georgia,"Times New Roman",serif!important;letter-spacing:-5px;margin:0!important}.brand-devoir>span{display:inline-block!important;font:inherit!important;color:inherit!important;margin:0!important}.brand-devoir>span:nth-child(2),.brand-devoir>span:nth-child(5){transform:translateY(2px) rotate(-2deg)}.brand-devoir>span:nth-child(3),.brand-devoir>span:nth-child(6){transform:translateY(-1px) rotate(2deg)}.brand-io{display:block!important;color:#ffc51f!important;font:900 45px/.82 Georgia,"Times New Roman",serif!important;letter-spacing:-5px;margin:0!important;text-shadow:1px 1px 0 #e99c00}.brand-hat{display:block!important;position:absolute;right:-26px;top:-20px;color:initial!important;font-size:31px!important;margin:0!important;transform:rotate(8deg)}.brand-tagline{display:block!important;margin:9px 0 0!important;color:#3e38a8!important;font-size:14px!important;font-weight:900;text-align:center;white-space:nowrap}.footer-brand{width:240px}.footer-brand .brand-tagline{margin-top:14px!important}footer{padding-top:27px;padding-bottom:27px}
@media(max-width:900px){.brand{width:170px}.brand-devoir,.brand-io{font-size:36px!important}.brand-hat{right:-22px;top:-17px;font-size:25px!important}.brand-tagline{font-size:12px!important}.footer-brand{width:220px}.footer-brand .brand-devoir,.footer-brand .brand-io{font-size:42px!important}.footer-brand .brand-tagline{font-size:14px!important}}

/* Un titre plus rond et plus joyeux, lisible du CP au collège. */
.hero h1{font-family:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",sans-serif;font-weight:700;letter-spacing:-1px;line-height:1.02;text-shadow:0 3px 0 rgba(255,255,255,.88),0 6px 14px rgba(72,22,185,.12)}.hero h1 em{display:inline-block;padding:0 .12em .04em;border-bottom:6px solid #ffcb27;border-radius:12px;transform:rotate(-1deg)}

/* Le slogan du pied de page est bien séparé du logo et ressort franchement. */
.footer-brand .brand-tagline{margin-top:18px!important;padding:1px 5px 3px;color:#111018!important;font-family:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",sans-serif;font-size:17px!important;font-weight:700!important;line-height:1.15;letter-spacing:.15px;background:linear-gradient(transparent 66%,#ffd126 66%);text-shadow:0 1px 0 #fff}
@media(max-width:900px){.footer-brand .brand-tagline{margin-top:17px!important;font-size:16px!important}}

/* Version finale : même logo qu'en haut, avec une accroche noire, espacée et fun. */
.footer-brand{width:260px!important}.footer-brand .brand-name{transform:none}.footer-brand .brand-tagline{margin-top:22px!important;padding:7px 15px 8px!important;color:#09090d!important;background:#ffd126!important;border:2px solid #09090d;border-radius:999px;font-size:21px!important;font-weight:700!important;line-height:1!important;letter-spacing:.1px;box-shadow:3px 3px 0 #6b2bd1;text-shadow:none!important;transform:rotate(-1deg)}
@media(max-width:900px){.footer-brand{width:250px!important}.footer-brand .brand-devoir,.footer-brand .brand-io{font-size:45px!important}.footer-brand .brand-hat{right:-26px;top:-20px;font-size:31px!important}.footer-brand .brand-tagline{margin-top:21px!important;font-size:19px!important}}

/* Les neuf niveaux restent lisibles et bien espacés jusqu'à la 3e. */
.school-levels{display:grid;grid-template-columns:repeat(9,minmax(44px,52px));justify-content:center;gap:10px;padding:9px 14px;background:linear-gradient(90deg,#f1eaff,#fff7b9,#f1eaff);border-bottom:2px solid #e6d8ff;box-shadow:0 5px 13px rgba(63,26,155,.12)}.school-levels span{min-width:0;padding:8px 5px;border-radius:16px;background:#fff;color:#431cb1;font-size:15px;font-weight:900;text-align:center;box-shadow:0 3px 7px rgba(63,26,155,.13)}.school-levels span:nth-child(3n+2){background:#fff4a5}.school-levels span:nth-child(3n){background:#eadfff}
@media(max-width:900px){.school-levels{grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;padding:8px 6px;overflow:visible}.school-levels span{padding:8px 2px;border-radius:13px;font-size:12px}}

/* Parcours d'explication interactif. */
.dialog-intro{margin:-6px 0 8px;color:#6256a9;line-height:1.45}.exercise-status{min-height:24px;margin:13px 0 0;color:#4b2aaa;font-weight:800;text-align:center}.try-button:disabled{cursor:wait;filter:saturate(.55);opacity:.8}.exercise-result{margin-top:18px;padding:18px;border:2px solid #d9c8ff;border-radius:19px;background:linear-gradient(145deg,#faf7ff,#fffce1);box-shadow:0 7px 20px #3d15961c}.result-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.result-heading>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#efe6ff;font-size:29px}.result-heading small{color:#6a32c9;font-size:11px;font-weight:900;letter-spacing:.7px}.result-heading h3{margin:2px 0 0;color:#21146e;font-size:22px}.exercise-result #resultText{white-space:pre-wrap;color:#201d50;font-size:16px;line-height:1.55}.result-again{width:100%;margin-top:15px;padding:10px 16px;border:2px solid #6d38c9;border-radius:22px;background:#fff;color:#4a1daa;font:800 15px "Trebuchet MS",Arial,sans-serif;cursor:pointer}

/* Première version application : profil, progression et vérification. */
[hidden]{display:none!important}.student-bar{display:flex;align-items:center;gap:24px;padding:12px max(4vw,40px);background:#fff;border-bottom:1px solid #e7e1fb;box-shadow:0 5px 16px #37139212}.student-welcome{display:flex;align-items:center;gap:11px;min-width:245px}.student-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#f0e7ff,#fff2a6);font-size:28px}.student-welcome small{display:block;color:#7a55c3;font-size:11px;font-weight:900;letter-spacing:.6px}.student-welcome strong{display:block;margin-top:2px;color:#25137a;font-size:18px}.student-stat{display:flex;align-items:center;gap:8px}.student-stat>span{font-size:27px}.student-stat strong,.student-stat small{display:block}.student-stat strong{font-size:20px}.student-stat small{color:#6d61a6;white-space:nowrap}.student-progress{flex:1;min-width:150px}.student-progress>div{display:flex;justify-content:space-between;margin-bottom:5px;font-size:13px;font-weight:900}.student-progress progress{width:100%;height:12px;accent-color:#6b31ce}.student-bar>button{border:2px solid #6b31ce;border-radius:20px;padding:8px 14px;background:#fff;color:#5623b2;font-weight:900;cursor:pointer}
.exercise-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.exercise-meta label,.profile-field{display:grid;gap:6px;color:#37237f;font-size:14px;font-weight:900}.exercise-meta select,.profile-field input,.profile-field select{width:100%;border:2px solid #d8cbf5;border-radius:12px;padding:11px;background:#fff;color:#20165d;font:inherit}.profile-field{margin:13px 0}.profile-robot{display:block;margin-bottom:5px;font-size:44px}.photo-preview{display:flex;align-items:center;gap:12px;margin:10px 0;padding:10px;border:2px dashed #b998ef;border-radius:14px;background:#f8f4ff}.photo-preview img{width:70px;height:60px;border-radius:10px;object-fit:cover}.photo-preview strong,.photo-preview small{display:block}.photo-preview small{margin-top:3px;color:#66599d}
.verification{margin-top:18px;padding:15px;border-radius:16px;background:#291081;color:#fff}.verification>span{color:#ffd52b;font-size:12px;font-weight:900;letter-spacing:.8px}.verification h3{margin:5px 0 12px;font-size:17px;line-height:1.35}.verification>div{display:flex;gap:8px}.verification input{min-width:0;flex:1;border:0;border-radius:11px;padding:11px;font:inherit}.verification button{border:0;border-radius:11px;padding:10px 16px;background:#ffd12d;color:#2a1985;font:900 15px "Trebuchet MS",Arial,sans-serif;cursor:pointer}.verification p{min-height:21px;margin:10px 0 0;font-weight:900}.verification p.success{color:#fff28b}.verification p.try-again{color:#ffd4ec}dialog{max-height:calc(100dvh - 24px);overflow:auto}#progressCard{cursor:pointer}
@media(max-width:900px){.account{display:flex;order:4;width:100%;justify-content:center}.account button{flex:1;max-width:180px;padding:8px 10px;font-size:13px}.student-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:13px 12px}.student-welcome{grid-column:1/-1;min-width:0}.student-progress{grid-column:1/-1}.student-bar>button{position:absolute;right:12px;margin-top:5px}.student-stat small{font-size:12px}.exercise-meta{grid-template-columns:1fr}dialog form{padding:24px 18px}.verification>div{flex-direction:column}.verification button{width:100%}}

.ai-consent{display:flex;align-items:flex-start;gap:10px;margin:0 0 15px;padding:12px;border:1px solid #d9ccf4;border-radius:13px;background:#f8f5ff;color:#51467f;font-size:13px;line-height:1.35;cursor:pointer}.ai-consent input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:#5a24bd}.ai-consent strong{color:#32118d}.student-bar{position:relative}
.dialog-photo-button{display:grid;grid-template-columns:54px 1fr;align-items:center;width:100%;margin:14px 0;padding:15px 18px;border:3px solid #ffd234;border-radius:19px;background:linear-gradient(135deg,#5b20c2,#42139a);color:#fff;text-align:left;box-shadow:0 6px 0 #d4a400;cursor:pointer}.dialog-photo-button>span{grid-row:1/3;font-size:39px}.dialog-photo-button strong,.dialog-photo-button small{display:block}.dialog-photo-button strong{font:700 18px "Fredoka","Trebuchet MS",sans-serif}.dialog-photo-button small{margin-top:3px;color:#fff3a9;font-size:13px;font-weight:800}.dialog-photo-button:focus-visible{outline:4px solid #ffdd42;outline-offset:3px}.exercise-or{display:flex;align-items:center;gap:10px;margin:5px 0;color:#77699a;font-weight:900;text-align:center}.exercise-or:before,.exercise-or:after{content:"";height:1px;flex:1;background:#ded5ef}.exercise-or span{padding:0 7px}

/* Logo centré en haut et accès clair à l'ensemble des matières. */
.header{height:auto;min-height:128px;flex-direction:column;justify-content:center;gap:12px}
.header-top{position:relative;width:100%;display:flex;align-items:center;justify-content:center}
.header .menu{margin:0;justify-content:center}
.header .account{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.all-subjects{grid-column:1/-1;background:linear-gradient(135deg,#fff2a0,#eadcff)!important;border:2px solid #ffc928!important}
@media(max-width:900px){.header{min-height:78px;flex-wrap:nowrap}.header-top{min-height:58px}.header .brand{width:190px}.header .menu-button{position:absolute;right:0;margin:0}.header .menu{order:initial}.header .account{display:none}}

/* Le logo d'en-tête reprend exactement la signature visuelle du bas. */
.header .brand{width:260px!important}
.header .brand .brand-devoir,.header .brand .brand-io{font-size:45px!important}
.header .brand .brand-hat{right:-26px;top:-20px;font-size:31px!important}
.header .brand .brand-tagline{margin-top:18px!important;padding:6px 13px 7px!important;color:#09090d!important;background:#ffd126!important;border:2px solid #09090d;border-radius:999px;font-size:18px!important;font-weight:700!important;line-height:1!important;box-shadow:3px 3px 0 #6b2bd1;text-shadow:none!important;transform:rotate(-1deg)}

/* Bulles des deux élèves, inspirées de la maquette et du prospectus. */
.student-bubble{position:absolute;z-index:2;top:72px;max-width:190px;padding:13px 17px;border:3px solid #4219a9;border-radius:22px;background:#fff;color:#2b176f;font:700 17px/1.15 "Fredoka","Arial Rounded MT Bold","Trebuchet MS",sans-serif;text-align:center;box-shadow:4px 5px 0 #ffd126}
.student-bubble:after{content:"";position:absolute;bottom:-13px;width:18px;height:18px;background:#fff;border-right:3px solid #4219a9;border-bottom:3px solid #4219a9;transform:rotate(45deg)}
.bubble-girl{left:6%}.bubble-girl:after{left:30px}
.bubble-boy{right:6%;background:#fff9b7}.bubble-boy:after{right:30px;background:#fff9b7}
@media(max-width:900px){.header{min-height:132px}.header-top{min-height:94px}.header .brand{width:250px!important}.header .brand .brand-tagline{font-size:17px!important}.student-bubble{top:4vw;max-width:34%;padding:7px 8px;border-width:2px;border-radius:14px;font-size:clamp(10px,2.8vw,13px);box-shadow:2px 3px 0 #ffd126}.student-bubble:after{bottom:-8px;width:11px;height:11px;border-width:0 2px 2px 0}.bubble-girl{left:3%}.bubble-boy{right:3%}}

/* Les personnages restent entièrement visibles, quelle que soit la largeur. */
.hero{min-height:clamp(530px,41.56vw,700px)}
.hero-art{background-size:100% auto;background-position:center top;background-repeat:no-repeat}
.kids-hook{display:inline-flex;align-items:center;justify-content:center;margin:0 0 10px;padding:8px 16px;border:2px solid #5521bd;border-radius:999px;background:linear-gradient(90deg,#fff08a,#ffd22e);color:#321685;font:700 16px/1.1 "Fredoka","Arial Rounded MT Bold","Trebuchet MS",sans-serif;box-shadow:3px 4px 0 #a72bd1;transform:rotate(-1deg)}
@media(max-width:900px){.hero{min-height:auto}.hero-art{background-size:100% auto;background-position:center top}.student-bubble{top:2vw;max-width:31%;padding:6px 7px;font-size:clamp(9px,2.45vw,12px)}.bubble-girl{left:1%}.bubble-boy{right:1%}.hero-copy{padding-top:18px}.kids-hook{margin-bottom:12px;padding:8px 12px;font-size:14px}}

/* Bulles blanches manuscrites, fidèles aux exemples fournis. */
.student-bubble{top:12px;max-width:220px;padding:14px 19px;border:0;border-radius:48% 52% 45% 55%/55% 45% 56% 44%;background:rgba(255,255,255,.97);color:#3026c6;font:700 20px/1.05 "Comic Sans MS","Comic Sans",cursive;box-shadow:0 5px 16px rgba(59,34,172,.24);transform:rotate(-4deg)}
.student-bubble:after{bottom:-10px;width:19px;height:19px;border:0;background:#fff;box-shadow:4px 4px 7px rgba(59,34,172,.08);transform:rotate(45deg)}
.bubble-girl{left:2%}.bubble-girl:after{left:42px}
.bubble-boy{right:2%;background:rgba(255,255,255,.97);transform:rotate(3deg)}.bubble-boy:after{right:44px;background:#fff}
@media(max-width:900px){.hero{padding-top:56vw}.hero-art{height:56vw;background-size:100% auto;background-position:center bottom}.student-bubble{top:1.5vw;max-width:32%;padding:6px 7px;font-size:clamp(10px,2.65vw,13px);box-shadow:0 3px 9px rgba(59,34,172,.2)}.student-bubble:after{bottom:-6px;width:11px;height:11px}.bubble-girl{left:1.5%}.bubble-girl:after{left:25px}.bubble-boy{right:1.5%}.bubble-boy:after{right:25px}}

/* Lecture immédiate des bulles, y compris sur petit écran. */
.student-bubble{max-width:260px;padding:16px 22px;border:3px solid #4635d7;color:#2015bd;font-size:23px;font-weight:900;line-height:1.08;box-shadow:0 0 0 5px rgba(255,211,38,.72),0 8px 22px rgba(44,24,145,.3)}
.student-bubble:after{bottom:-13px;width:21px;height:21px;border-right:3px solid #4635d7;border-bottom:3px solid #4635d7}
.bubble-boy{max-width:285px}
@media(max-width:900px){.hero{padding-top:66vw}.hero-art{height:66vw}.student-bubble{top:2vw;max-width:39%;padding:9px 10px;border-width:2px;font-size:clamp(13px,3.45vw,17px);line-height:1.05;box-shadow:0 0 0 3px rgba(255,211,38,.78),0 4px 12px rgba(44,24,145,.28)}.student-bubble:after{bottom:-8px;width:13px;height:13px;border-width:0 2px 2px 0}.bubble-girl{left:2%}.bubble-boy{right:2%;max-width:43%}}

/* Variante très contrastée : violet Devoirio et texte jaune. */
.student-bubble,.bubble-boy{border-color:#ffd329;background:linear-gradient(145deg,#5d24c9,#32108e);color:#ffe34f;text-shadow:0 2px 0 rgba(31,10,101,.65);box-shadow:0 0 0 4px #fff,0 8px 24px rgba(48,15,135,.42)}
.student-bubble:after,.bubble-boy:after{border-color:#ffd329;background:#4315aa;box-shadow:none}
@media(max-width:900px){.student-bubble,.bubble-boy{box-shadow:0 0 0 3px #fff,0 5px 15px rgba(48,15,135,.4)}}

/* Police ronde, nette et immédiatement lisible. */
.student-bubble,.bubble-boy{font-family:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;font-weight:700;line-height:1.18;letter-spacing:.1px;text-shadow:0 1px 0 rgba(31,10,101,.55)}
@media(max-width:900px){.student-bubble,.bubble-boy{line-height:1.15;letter-spacing:0}}

/* Actions du profil familial : deux boutons lisibles sans masquer les résultats. */
.student-bar{flex-wrap:wrap}
.student-actions{display:flex;gap:9px;margin-left:auto}
.student-actions button{border:2px solid #6b31ce;border-radius:20px;padding:9px 13px;background:#fff;color:#5623b2;font:900 14px "Trebuchet MS",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.student-actions button:first-child{background:#fff5a8}
.student-dialog-content{position:relative;padding:28px}
.student-list{display:grid;gap:10px;margin:18px 0}
.student-choice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;padding:13px 15px;border:2px solid #ded3f8;border-radius:16px;background:#fff;color:#2e197d;text-align:left;cursor:pointer}
.student-choice>span{font-size:27px}.student-choice strong{font-size:18px}.student-choice small{padding:5px 9px;border-radius:12px;background:#eee7ff;color:#5725b2;font-weight:900}
.student-choice.active{border-color:#6b31ce;background:#fffbe3;box-shadow:0 3px 0 #ffd12d}
@media(max-width:900px){.student-bar>button{position:static}.student-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0}.student-actions button{min-height:43px;padding:8px 7px;font-size:13px;white-space:normal}.student-stat small{white-space:normal}.student-dialog-content{padding:24px 18px}}

/* En-tête mobile : il défile avec la page et le nom Devoirio reste sans ambiguïté. */
.header{position:relative;top:auto}
.brand-devoir,.brand-io{font-family:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif!important;letter-spacing:-1px!important}
.brand-devoir>span{transform:none!important}
@media(max-width:900px){
  .header{min-height:104px;padding-top:6px;padding-bottom:6px}
  .header-top{min-height:82px}
  .header .brand{width:225px!important}
  .header .brand .brand-devoir,.header .brand .brand-io{font-size:41px!important}
  .header .brand .brand-tagline{margin-top:13px!important;font-size:15px!important}
  .header .menu{position:relative;width:100%;padding:5px 10px 10px;border-top:1px solid #ece6fb;background:#fff;box-shadow:0 10px 18px rgba(45,20,110,.12)}
}

/* Menu téléphone : de grands boutons Devoirio, confortables au toucher. */
@media(max-width:900px){
  .header .menu.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 12px 16px;background:linear-gradient(180deg,#fff,#f4efff)}
  .header .menu a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:11px 8px;border:2px solid #4b18b5;border-radius:16px;background:#5922c5;color:#fff;font:700 16px/1.1 "Fredoka","Trebuchet MS",Arial,sans-serif;text-align:center;box-shadow:0 4px 0 #351080;transition:transform .15s,box-shadow .15s}
  .header .menu a:nth-child(even){border-color:#e4a900;background:#ffd332;color:#351080;box-shadow:0 4px 0 #dc9f00}
  .header .menu a.active{border-color:#ffd332;background:#5922c5;color:#fff}
  .header .menu a:active{transform:translateY(3px);box-shadow:0 1px 0 #351080}
}

/* Premier parcours pédagogique : cours puis quiz interactif. */
.learning-demo{margin:18px max(4vw,40px);padding:24px 28px;border:3px solid #5420bd;border-radius:24px;background:linear-gradient(135deg,#f2eaff,#fff8b2);box-shadow:0 9px 0 #e5c126;display:flex;align-items:center;gap:28px}.learning-heading{display:flex;align-items:center;gap:17px;flex:1}.learning-heading>span{font-size:58px}.learning-heading small,.lesson-label{display:inline-block;margin-bottom:5px;color:#6128bf;font-weight:900;letter-spacing:.6px}.learning-heading h2{margin:0 0 7px}.learning-heading h2:after{display:none}.learning-heading p{margin:0;color:#554b88}.learning-actions{display:flex;gap:12px}.learning-actions button{min-width:175px;padding:15px;border:2px solid #5420bd;border-radius:18px;background:#fff;color:#321080;cursor:pointer;box-shadow:0 5px 0 #d8c8fa}.learning-actions button:last-child{border-color:#d69f00;background:#ffd538;box-shadow:0 5px 0 #d49c00}.learning-actions span,.learning-actions strong,.learning-actions small{display:block}.learning-actions span{font-size:30px}.learning-actions strong{font:700 18px "Fredoka","Trebuchet MS",sans-serif}.learning-actions small{margin-top:3px;color:#6659a0}.learning-dialog{width:min(680px,calc(100% - 24px))}.learning-dialog-content{position:relative;padding:30px}.learning-dialog-content>p{font-size:17px;line-height:1.55}.fraction-visual{display:grid;grid-template-columns:1fr 1fr;width:130px;height:130px;margin:18px auto;border:4px solid #4e1bb4;border-radius:50%;overflow:hidden;transform:rotate(-25deg)}.fraction-visual span:first-child{background:#ffd332}.fraction-visual span:last-child{background:#f1e9ff}.fraction-caption{text-align:center}.learning-dialog article,.lesson-example,.lesson-memory{margin:16px 0;padding:16px;border-radius:16px;background:#f5f0ff}.learning-dialog article h3{margin:0 0 8px;color:#4919a5}.learning-dialog article p{margin:7px 0;line-height:1.45}.lesson-example{border-left:6px solid #ffd02a;background:#fff9cc}.lesson-example p{margin:6px 0}.lesson-memory{background:#4c1bb0;color:#fff;font-weight:900}.quiz-top{display:flex;justify-content:space-between;gap:12px;color:#5722b4}.quiz-top span{font-weight:900}#quizProgress{width:100%;height:13px;margin:9px 0 18px;accent-color:#ffc928}.quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:18px 0}.quiz-answers button{min-height:58px;padding:12px;border:2px solid #d7c8f5;border-radius:15px;background:#fff;color:#2e176f;font:800 16px "Trebuchet MS",Arial,sans-serif;cursor:pointer}.quiz-answers button.correct{border-color:#168c50;background:#dff8e8;color:#075c31}.quiz-answers button.wrong{border-color:#d73770;background:#ffe3ed;color:#8b1741}.quiz-feedback{min-height:48px;padding:11px 13px;border-radius:13px;background:#f4efff;color:#4f368d;line-height:1.4}.quiz-feedback.success{background:#e2f7e9;color:#075c31}.quiz-result{text-align:center}.quiz-result>span{display:block;font-size:75px}.quiz-result>strong{display:block;margin:10px;color:#4b19ae;font:700 54px "Fredoka",sans-serif}.quiz-result p{font-size:18px}.quiz-result h2:after{margin-left:auto;margin-right:auto}
@media(max-width:900px){.learning-demo{margin:16px;padding:19px;display:block}.learning-heading{align-items:flex-start}.learning-heading>span{font-size:43px}.learning-heading h2{font-size:23px}.learning-actions{margin-top:17px;display:grid;grid-template-columns:1fr 1fr}.learning-actions button{min-width:0;padding:12px 7px}.learning-actions strong{font-size:16px}.learning-dialog-content{padding:26px 17px}.quiz-answers{grid-template-columns:1fr}.quiz-answers button{min-height:53px}.fraction-visual{width:110px;height:110px}}

/* Exemple de cours d'arabe : écouter, observer, tracer et reconnaître. */
.language-demo{margin:18px max(4vw,40px);padding:21px 28px;border:3px solid #efb90c;border-radius:24px;background:linear-gradient(135deg,#fffbd4,#f2eaff);display:flex;align-items:center;gap:24px}.language-demo .learning-heading{flex:1}.language-demo h2:after{display:none}.language-demo>button{padding:14px 22px;border:0;border-radius:24px;background:#5420bd;color:#fff;font:700 17px "Fredoka","Trebuchet MS",sans-serif;box-shadow:0 5px 0 #351080;cursor:pointer}.arabic-letter-row{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:20px;margin:15px 0;padding:18px;border-radius:20px;background:linear-gradient(135deg,#f0e7ff,#fff9bd)}.arabic-letter-row>div:first-child{color:#4d19ad;font:700 120px/1 Arial,sans-serif;text-align:center}.arabic-letter-row strong{font-size:25px}.arabic-letter-row p{line-height:1.45}.arabic-letter-row button{padding:10px 16px;border:0;border-radius:20px;background:#5420bd;color:#fff;font-weight:900;cursor:pointer}.arabic-direction{display:flex;align-items:center;justify-content:center;gap:13px;padding:12px;border-radius:14px;background:#4c1aac;color:#fff;font-weight:900}.arabic-direction b{color:#ffd332;font-size:32px}.arabic-steps{padding-left:25px;line-height:1.55}.trace-board{position:relative;height:240px;border:3px dashed #b89ae9;border-radius:19px;background:#fff;overflow:hidden;touch-action:none}.trace-board canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:none}.trace-board>span{position:absolute;inset:0;display:grid;place-items:center;color:rgba(84,32,189,.12);font:700 190px/1 Arial,sans-serif;pointer-events:none}.trace-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:10px}.trace-actions button{padding:12px;border:2px solid #5420bd;border-radius:15px;background:#fff;color:#48179f;font-weight:900;cursor:pointer}.trace-actions button:last-child{background:#ffd332}.arabic-feedback{min-height:24px;color:#15824a;font-weight:900;text-align:center}.arabic-mini-quiz{margin-top:18px;padding:17px;border-radius:18px;background:#f3edff;text-align:center}.arabic-mini-quiz h3{margin:0 0 12px}.arabic-mini-quiz>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.arabic-mini-quiz button{min-height:70px;border:2px solid #d8c7f4;border-radius:15px;background:#fff;color:#4d19ad;font:700 45px Arial,sans-serif;cursor:pointer}.arabic-mini-quiz p{min-height:23px;margin-bottom:0;color:#49209a;font-weight:900}
@media(max-width:900px){.language-demo{margin:16px;padding:19px;display:block}.language-demo>button{width:100%;margin-top:16px}.arabic-letter-row{grid-template-columns:105px 1fr;padding:13px;gap:12px}.arabic-letter-row>div:first-child{font-size:88px}.arabic-letter-row strong{font-size:21px}.trace-board{height:210px}.trace-board>span{font-size:160px}}

/* Catalogue des cours : classe, matière, puis chapitre. */
.catalog-dialog{width:min(860px,calc(100% - 24px));max-height:calc(100dvh - 20px);border-radius:26px}.catalog-content{position:relative;padding:32px}.catalog-content>h2{font-size:34px}.catalog-selectors{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.catalog-selectors label{display:grid;gap:7px;color:#41208d;font-weight:900}.catalog-selectors select{width:100%;padding:13px;border:2px solid #cdb9f3;border-radius:14px;background:#fff;color:#241466;font:800 16px "Trebuchet MS",Arial,sans-serif}.catalog-summary{display:flex;align-items:center;gap:13px;margin:20px 0 12px;padding:13px 16px;border-radius:16px;background:linear-gradient(90deg,#eee5ff,#fff7b2)}.catalog-summary>span{font-size:38px}.catalog-summary small,.catalog-summary strong{display:block}.catalog-summary small{color:#714ac4;font-size:11px;font-weight:900;letter-spacing:.5px}.catalog-summary strong{margin-top:3px;color:#2f147e;font-size:20px}.catalog-chapters article{display:grid;grid-template-columns:55px 1fr;gap:15px;padding:18px;border:2px solid #d9cbf4;border-radius:19px;background:#fff;box-shadow:0 6px 17px rgba(65,24,154,.1)}.catalog-chapters article>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#ffd332;color:#3a168b;font:900 26px "Fredoka",sans-serif}.catalog-chapters small{color:#7046bf;font-size:11px;font-weight:900}.catalog-chapters h3{margin:4px 0;color:#31117f;font-size:22px}.catalog-chapters p{margin:5px 0 13px;color:#625990}.catalog-chapters article div div{display:flex;gap:9px}.catalog-chapters button,.catalog-empty button{padding:10px 15px;border:2px solid #5420bd;border-radius:18px;background:#5420bd;color:#fff;font-weight:900;cursor:pointer}.catalog-chapters button+button{border-color:#e0aa00;background:#ffd332;color:#351080}.catalog-empty{padding:28px 18px;border:2px dashed #cbb9ed;border-radius:19px;background:#faf8ff;text-align:center}.catalog-empty>span{font-size:48px}.catalog-empty h3{margin:8px 0;color:#381486}.catalog-empty p{color:#655a93}
@media(max-width:900px){.catalog-content{padding:27px 16px}.catalog-content>h2{font-size:28px}.catalog-selectors{grid-template-columns:1fr;gap:10px}.catalog-chapters article{grid-template-columns:44px 1fr;padding:14px;gap:10px}.catalog-chapters article>span{width:42px;height:42px}.catalog-chapters article div div{display:grid}.catalog-chapters button{width:100%;min-height:44px}}

/* Cours de français et fiche de révision. */
.verb-method{display:flex;align-items:center;gap:13px;margin:12px 0;padding:13px 15px;border-radius:15px;background:#f3edff}.verb-method>b,.sheet-rule>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#ffd332;color:#34147e;font-size:20px}.verb-method p{margin:0;line-height:1.45}.verb-method span{color:#6a35bd}.ending-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.ending-grid span{padding:12px 8px;border:2px solid #d8c8f5;border-radius:13px;background:#fff;text-align:center;font-weight:800}.ending-grid b{color:#5a20bd;font-size:20px}.revision-sheet{background:linear-gradient(180deg,#fff,#fffbea)}.revision-sheet>h2{color:#3b1689}.sheet-rule{display:flex;align-items:center;gap:13px;margin:12px 0;padding:13px;border:2px solid #e1d7f5;border-radius:15px;background:#fff}.sheet-rule p{margin:0;line-height:1.45}.sheet-example{margin:17px 0;padding:17px;border-radius:17px;background:#4e1bad;color:#fff;text-align:center}.sheet-example>b{color:#ffd83b;font-size:20px}.sheet-example p{margin:8px 0 0;font-size:17px;line-height:1.55}.sheet-tip{margin:15px 0;padding:14px;border:2px solid #e0ad00;border-radius:15px;background:#fff4a8;color:#321572;font-weight:800}
@media(max-width:900px){.ending-grid{grid-template-columns:repeat(2,1fr)}.verb-method{align-items:flex-start}.catalog-chapters article>span{font-size:18px}}

/* Anglais 6e : écouter puis répéter de petites phrases. */
.english-phrases{display:grid;gap:10px;margin:17px 0}.english-phrases article{display:flex;align-items:center;gap:13px;padding:12px 14px;border:2px solid #d8caf3;border-radius:16px;background:#fff}.english-phrases button{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:0;border-radius:50%;background:#5420bd;color:#fff;font-size:20px;cursor:pointer}.english-phrases strong,.english-phrases small{display:block}.english-phrases strong{color:#321276;font-size:18px}.english-phrases small{margin-top:3px;color:#6a6191}.english-model{margin:16px 0;padding:17px;border-radius:17px;background:linear-gradient(135deg,#4e1bac,#6d2bd0);color:#fff}.english-model>strong{color:#ffe044}.english-model p{margin:9px 0 0;font-size:18px;line-height:1.55}.english-model b{color:#ffe044}

/* Français 6e : familles de mots et fiche express. */
.word-family-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.word-family-grid article{margin:0;padding:14px;border:2px solid #ddd0f5;background:#fff}.word-family-grid b,.word-family-grid span,.word-family-grid em{display:block}.word-family-grid b{color:#4c18aa;font-size:19px}.word-family-grid span{margin:4px 0;color:#544a7e}.word-family-grid em{color:#8a5d00;font-style:normal;font-weight:900}.grammar-sheet-list{display:grid;gap:9px;margin:17px 0}.grammar-sheet-list p{margin:0;padding:12px 14px;border-left:6px solid #5b20bd;border-radius:10px;background:#fff}.grammar-sheet-list b{color:#4b17a5}@media(max-width:900px){.word-family-grid{grid-template-columns:1fr}}
/* Parrainage Devoirio */
.pricing-dialog{width:min(1080px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(42,14,111,.38)}.pricing-dialog::backdrop{background:rgba(32,13,76,.65);backdrop-filter:blur(3px)}.pricing-content{position:relative;padding:34px;background:linear-gradient(180deg,#fff,#faf7ff);color:#301670}.pricing-content>h2{margin:7px 0;color:#4818aa;font:700 36px/1.1 "Fredoka","Trebuchet MS",sans-serif}.pricing-content>h2:after{display:none}.pricing-intro{margin:7px 0 18px;color:#62578a;font-size:17px}.pricing-promo{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;align-items:center;margin:16px 0 22px;padding:14px 18px;border:3px solid #e1aa00;border-radius:18px;background:linear-gradient(90deg,#fff4a0,#fffbd7)}.pricing-promo span{grid-row:1/3;padding:7px 10px;border-radius:10px;background:#5620bd;color:#fff;font-weight:900}.pricing-promo strong{font-size:21px;color:#35107e}.pricing-promo small{color:#6e5298;font-weight:800}.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.pricing-grid article{position:relative;display:flex;flex-direction:column;min-height:260px;padding:22px 16px 17px;border:2px solid #ded2f4;border-radius:20px;background:#fff;text-align:center}.pricing-grid article>span{position:absolute;top:-13px;left:50%;transform:translateX(-50%);width:max-content;padding:6px 10px;border-radius:999px;background:#ffd332;color:#351080;font-size:11px;font-weight:900}.pricing-grid article>small{color:#6731bf;font-weight:900;letter-spacing:.6px}.pricing-grid h3{margin:12px 0 2px;color:#3c128e;font:700 34px "Fredoka",sans-serif}.pricing-grid p{margin:0 0 8px;color:#6c5b94}.pricing-grid b{color:#8c6500;font-size:14px}.pricing-grid button{margin-top:auto;min-height:47px;padding:11px;border:0;border-radius:16px;background:#5720bd;color:#fff;font:700 16px "Fredoka","Trebuchet MS",sans-serif;box-shadow:0 4px 0 #351080;cursor:pointer}.pricing-featured{border:4px solid #5a20bd!important;background:linear-gradient(180deg,#f1e9ff,#fff)!important;transform:translateY(-5px)}.pricing-featured button{background:#ffd332;color:#351080;box-shadow:0 4px 0 #d29d00}.pricing-includes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 20px;margin-top:22px;padding:18px;border-radius:18px;background:#4d1bad;color:#fff}.pricing-includes strong{grid-column:1/-1;color:#ffe040;font-size:18px}.pricing-note{display:block;margin-top:12px;color:#77689b;text-align:center}
@media(max-width:850px){.pricing-content{padding:28px 15px 20px}.pricing-content>h2{font-size:28px}.pricing-promo{grid-template-columns:1fr;text-align:center}.pricing-promo span{grid-row:auto;margin-bottom:5px}.pricing-grid{grid-template-columns:1fr 1fr}.pricing-featured{transform:none}.pricing-includes{grid-template-columns:1fr}.pricing-includes strong{grid-column:auto}}
@media(max-width:520px){.pricing-grid{grid-template-columns:1fr}.pricing-grid article{min-height:225px}.pricing-content>h2{padding-right:32px;text-align:left}.pricing-intro{text-align:left}.pricing-promo strong{font-size:19px}}
.referral-cumulative{margin:16px 0 0;padding:12px 15px;border:2px solid #e0ad00;border-radius:14px;background:#fff7b5;color:#3d187f;font-weight:900;line-height:1.4;text-align:center}
.referral-dialog{width:min(900px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(42,14,111,.38)}
.referral-dialog::backdrop{background:rgba(32,13,76,.65);backdrop-filter:blur(3px)}
.referral-content{position:relative;padding:34px;background:linear-gradient(180deg,#fff 0,#faf7ff 100%);color:#2f176f}
.referral-content>h2{margin:8px 0 7px;color:#4818aa;font:700 35px/1.1 "Fredoka","Trebuchet MS",sans-serif}
.referral-content>h2:after{display:none}.referral-badge{position:absolute;top:28px;right:76px;padding:8px 13px;border-radius:999px;background:#ffd332;color:#351080;font-weight:900;box-shadow:0 4px 0 #d6a400;transform:rotate(2deg)}
.referral-code{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;margin:22px 0;padding:16px;border:3px solid #5b24c1;border-radius:19px;background:#fff8bd}.referral-code small,.referral-code strong{display:block}.referral-code small{color:#6b42ac;font-weight:900}.referral-code strong{margin-top:4px;color:#32117e;font-size:17px;overflow-wrap:anywhere}.referral-code button{min-height:46px;padding:11px 15px;border:2px solid #5420bd;border-radius:15px;background:#5420bd;color:#fff;font-weight:900;cursor:pointer}.referral-code button:last-child{border-color:#dda900;background:#ffd332;color:#351080}
.referral-progress{margin:20px 0}.referral-progress>div{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px}.referral-progress span{color:#654d99;font-weight:800}.referral-progress progress{width:100%;height:18px;accent-color:#5b24c1}
.referral-levels{display:grid;grid-template-columns:1fr 1fr;gap:13px}.referral-levels article{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:start;padding:17px;border:2px solid #ded2f5;border-radius:18px;background:#fff}.referral-levels article>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#eee6ff;font-size:28px}.referral-levels small{color:#6b32c5;font-weight:900}.referral-levels h3{margin:4px 0;color:#351080;font:700 21px "Fredoka","Trebuchet MS",sans-serif}.referral-levels p{margin:0;color:#62558e;line-height:1.4}.referral-levels .super-referral{border-color:#e3ad00;background:linear-gradient(135deg,#fff9c6,#fff)}.referral-levels .super-referral>span{background:#ffd332}
.referral-rule{margin-top:18px;padding:16px 18px;border-radius:17px;background:#4d1bae;color:#fff}.referral-rule>strong{color:#ffe04a;font-size:18px}.referral-rule ol{margin:10px 0 0;padding-left:22px;line-height:1.55}.referral-note{display:block;margin-top:12px;color:#75669b;line-height:1.4}
@media(max-width:700px){.referral-content{padding:27px 15px 20px}.referral-content>h2{font-size:27px;padding-right:0}.referral-badge{position:static;display:inline-block;margin:0 0 13px}.referral-code{grid-template-columns:1fr 1fr}.referral-code>div{grid-column:1/-1}.referral-code button{padding:9px 7px}.referral-levels{grid-template-columns:1fr}.referral-levels article{padding:14px}.referral-progress>div{font-size:14px}.referral-close{top:13px!important;right:13px!important}}

/* Tarifs : montants plus lisibles et mascotte Vario. */
.pricing-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:105px}.pricing-heading h2{margin:7px 0;color:#4818aa;font:700 36px/1.1 "Fredoka","Trebuchet MS",sans-serif}.pricing-heading h2:after{display:none}.pricing-robot{flex:0 0 auto;width:112px;height:124px;object-fit:contain;filter:drop-shadow(0 7px 7px rgba(60,21,143,.22));transform:rotate(3deg)}
.pricing-grid h3{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900;line-height:1.1;letter-spacing:-1px}
@media(max-width:850px){.pricing-heading h2{font-size:28px}.pricing-robot{width:88px;height:98px}}
@media(max-width:520px){.pricing-heading{align-items:flex-start}.pricing-heading h2{padding-right:0;text-align:left}.pricing-robot{width:76px;height:84px;margin-top:16px}}

/* Un petit Vario accompagne chaque prix, en alternant sa position. */
.pricing-grid article{overflow:visible}.pricing-grid h3{position:relative;z-index:1;padding:0 38px}.plan-robot{position:absolute;z-index:0;width:58px;height:64px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 5px rgba(60,21,143,.2))}.plan-robot.robot-left{left:5px}.plan-robot.robot-right{right:5px;transform:scaleX(-1) rotate(-7deg)}.plan-robot.robot-up{top:43px}.plan-robot.robot-down{top:57px}.plan-robot.robot-left.robot-up{transform:rotate(-8deg)}.plan-robot.robot-left.robot-down{transform:rotate(7deg)}.plan-robot.robot-right.robot-up{transform:scaleX(-1) rotate(7deg)}
@media(max-width:850px){.plan-robot{width:62px;height:68px}.plan-robot.robot-left{left:10px}.plan-robot.robot-right{right:10px}.pricing-grid h3{padding:0 46px}}
@media(max-width:520px){.plan-robot{width:66px;height:73px}.plan-robot.robot-left{left:18px}.plan-robot.robot-right{right:18px}.pricing-grid h3{padding:0 62px}}

/* Parcours d’inscription parent, enfant et récapitulatif. */
.signup-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(42,14,111,.4)}.signup-dialog::backdrop{background:rgba(32,13,76,.68);backdrop-filter:blur(3px)}.signup-content{position:relative;padding:31px 36px 34px;background:linear-gradient(180deg,#fff,#faf7ff);color:#301670}.signup-step h2{margin:8px 0;color:#4818aa;font:700 34px/1.12 "Fredoka","Trebuchet MS",sans-serif}.signup-step h2:after{display:none}.signup-progress{display:flex;align-items:center;justify-content:center;margin:0 45px 27px}.signup-progress>span{display:grid;place-items:center;position:relative;width:38px;height:38px;border:3px solid #d7caf2;border-radius:50%;background:#fff;color:#7964a8;font-weight:900}.signup-progress>span.active{border-color:#5720bd;background:#5720bd;color:#fff}.signup-progress>span.current{box-shadow:0 0 0 5px #fff1a0}.signup-progress span small{position:absolute;top:42px;color:#78679d;font-size:11px}.signup-progress i{flex:1;height:4px;background:#d7caf2}.signup-progress span.active+i{background:#5720bd}.signup-fields{display:grid;gap:14px;margin:20px 0}.signup-fields label{display:grid;gap:7px;color:#402082;font-weight:900}.signup-fields input,.signup-fields select{width:100%;min-height:50px;padding:12px 14px;border:2px solid #d8caf1;border-radius:14px;background:#fff;color:#2e176d;font:700 16px "Trebuchet MS",Arial,sans-serif}.signup-fields input:focus,.signup-fields select:focus{outline:3px solid #ffdf54;border-color:#5720bd}.signup-consent{display:flex;align-items:flex-start;gap:10px;margin:15px 0 20px;color:#62558c;font-size:14px;line-height:1.4}.signup-consent input{flex:0 0 auto;width:19px;height:19px;accent-color:#5720bd}.signup-step>.try-button{width:100%}.signup-child{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:18px}.signup-child>img{width:120px;height:135px;object-fit:contain;filter:drop-shadow(0 7px 7px rgba(60,21,143,.2));transform:rotate(-5deg)}.signup-actions{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:22px}.signup-actions button{min-height:50px}.signup-back{padding:11px 17px;border:2px solid #5720bd;border-radius:16px;background:#fff;color:#4b199e;font-weight:900;cursor:pointer}.signup-summary{display:grid;gap:10px;margin:21px 0}.signup-summary>div{padding:14px 17px;border:2px solid #ded2f4;border-radius:15px;background:#fff}.signup-summary>div:first-child{border-color:#dfaa00;background:#fff7b9}.signup-summary small,.signup-summary strong{display:block}.signup-summary small{color:#7448bd;font-size:11px;font-weight:900;letter-spacing:.5px}.signup-summary strong{margin-top:4px;color:#32117d;font-size:17px}.signup-benefits{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:16px;border-radius:16px;background:#4d1bad;color:#fff;font-size:14px;font-weight:800}.signup-payment-note{display:block;margin-top:12px;color:#77689b;text-align:center}
@media(max-width:560px){.signup-content{padding:27px 16px 24px}.signup-progress{margin:0 28px 28px}.signup-step h2{font-size:27px;padding-right:32px}.signup-child{grid-template-columns:82px 1fr;gap:10px}.signup-child>img{width:80px;height:96px}.signup-benefits{grid-template-columns:1fr}.signup-actions{grid-template-columns:1fr}.signup-actions .signup-back{order:2}.signup-fields input,.signup-fields select{font-size:16px}}

/* Tableau de bord de l’espace parent. */
.parent-dialog{width:min(850px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(42,14,111,.4)}.parent-dialog::backdrop{background:rgba(32,13,76,.68);backdrop-filter:blur(3px)}.parent-content{position:relative;padding:30px 34px 34px;background:linear-gradient(180deg,#fff,#f8f4ff);color:#301670}.parent-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.parent-heading h2{margin:5px 0 3px;color:#4818aa;font:700 35px/1.1 "Fredoka","Trebuchet MS",sans-serif}.parent-heading h2:after{display:none}.parent-heading p{margin:0;color:#6b5b91}.parent-heading img{width:88px;height:96px;object-fit:contain;transform:rotate(5deg);filter:drop-shadow(0 6px 6px rgba(60,21,143,.2))}.parent-overview{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin:20px 0}.parent-overview article{min-height:175px;padding:19px;border-radius:20px}.parent-overview article>small,.parent-family small{color:#7749bd;font-weight:900;letter-spacing:.5px}.parent-plan{border:3px solid #d9a800;background:linear-gradient(135deg,#fff5a8,#fff)}.parent-plan strong,.parent-plan span{display:block}.parent-plan strong{margin:8px 0 4px;color:#351080;font-size:22px}.parent-plan span{color:#6b588e}.parent-plan button{margin-top:15px;padding:9px 14px;border:2px solid #5620bd;border-radius:14px;background:#fff;color:#4c199f;font-weight:900;cursor:pointer}.parent-allowance{background:#4d1bad;color:#fff}.parent-allowance>small{color:#ffe143!important}.parent-allowance>div{display:flex;align-items:baseline;gap:8px;margin:8px 0}.parent-allowance strong{color:#ffe143;font:700 44px "Fredoka",sans-serif}.parent-allowance progress{width:100%;height:15px;accent-color:#ffd332}.parent-family{padding:19px;border:2px solid #ddd0f4;border-radius:20px;background:#fff}.parent-family>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px}.parent-family h3{margin:3px 0;color:#351080;font:700 24px "Fredoka",sans-serif}.parent-family>div>button{padding:10px 13px;border:0;border-radius:14px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.parent-profile-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.parent-profile{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:12px;border:2px solid #ded2f4;border-radius:16px;background:#fff;color:#351080;text-align:left;cursor:pointer}.parent-profile>span{font-size:28px}.parent-profile strong,.parent-profile small{display:block}.parent-profile small{margin-top:3px;color:#786b9c}.parent-profile b{padding:5px 8px;border-radius:10px;background:#eee7ff;color:#6330b7;font-size:11px}.parent-profile.active{border-color:#dfaa00;background:#fff9cc}.parent-profile.active b{background:#5720bd;color:#fff}.parent-empty{grid-column:1/-1;margin:0;padding:15px;border:2px dashed #d5c5f0;border-radius:14px;color:#706093;text-align:center}.parent-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:14px}.parent-shortcuts button{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;align-items:center;min-height:75px;padding:12px;border:2px solid #ded2f4;border-radius:17px;background:#fff;color:#351080;text-align:left;cursor:pointer}.parent-shortcuts button>span{grid-row:1/3;font-size:27px}.parent-shortcuts strong,.parent-shortcuts small{display:block}.parent-shortcuts small{color:#756696}
@media(max-width:650px){.parent-content{padding:26px 14px 20px}.parent-heading h2{font-size:28px}.parent-heading img{width:70px;height:78px}.parent-overview{grid-template-columns:1fr}.parent-overview article{min-height:0}.parent-profile-list{grid-template-columns:1fr}.parent-shortcuts{grid-template-columns:1fr}.parent-family>div:first-child{align-items:flex-start}.parent-family>div>button{max-width:130px}.parent-profile{grid-template-columns:42px 1fr auto}}

/* Packs d’aides supplémentaires. */
.parent-allowance>button{margin-top:12px;padding:8px 11px;border:2px solid #ffe143;border-radius:13px;background:transparent;color:#ffe143;font-weight:900;cursor:pointer}.pack-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(42,14,111,.4)}.pack-dialog::backdrop{background:rgba(32,13,76,.68);backdrop-filter:blur(3px)}.pack-content{position:relative;padding:32px 34px;color:#301670;background:linear-gradient(180deg,#fff,#faf7ff)}.pack-content h2{margin:7px 0;color:#4818aa;font:700 34px/1.12 "Fredoka","Trebuchet MS",sans-serif}.pack-content h2:after{display:none}.pack-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.pack-grid>button{position:relative;display:flex;flex-direction:column;align-items:center;min-height:190px;padding:20px 12px;border:3px solid #ded2f4;border-radius:20px;background:#fff;color:#351080;cursor:pointer}.pack-grid>button:hover,.pack-grid>button.selected{border-color:#5720bd;background:#f2ebff;transform:translateY(-3px)}.pack-grid em{position:absolute;top:-12px;padding:5px 9px;border-radius:99px;background:#ffd332;color:#351080;font-size:10px;font-style:normal;font-weight:900}.pack-grid span{font:700 44px "Fredoka",sans-serif}.pack-grid strong{font-size:18px}.pack-grid b{margin:11px 0 4px;color:#5720bd;font-size:25px}.pack-grid small{color:#766896}.pack-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:3px solid #dda900;border-radius:17px;background:#fff7b5}.pack-summary small,.pack-summary strong{display:block}.pack-summary small{color:#7550a8;font-size:11px;font-weight:900}.pack-summary strong{margin-top:4px;font-size:19px}.pack-summary button{padding:12px 15px;border:0;border-radius:14px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.pack-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0;padding:15px;border-radius:16px;background:#4d1bad;color:#fff;font-size:14px;font-weight:800}
@media(max-width:600px){.pack-content{padding:27px 14px 22px}.pack-content h2{padding-right:34px;font-size:27px}.pack-grid{grid-template-columns:1fr}.pack-grid>button{display:grid;grid-template-columns:65px 1fr auto;min-height:0;padding:14px;text-align:left}.pack-grid em{top:-9px;right:12px}.pack-grid span{grid-row:1/3;font-size:38px}.pack-grid strong,.pack-grid small{justify-self:start}.pack-grid b{grid-row:1/3;grid-column:3;margin:0}.pack-summary{display:grid}.pack-summary button{width:100%}.pack-rules{grid-template-columns:1fr}}

/* Quiz Sport & Foot : trois niveaux et récompense à 8/10. */
.sports-quiz-dialog{width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(4,65,31,.45)}.sports-quiz-dialog::backdrop{background:rgba(12,49,29,.72);backdrop-filter:blur(3px)}.sports-quiz-content{position:relative;padding:32px 34px;background:linear-gradient(145deg,#efffe8,#fff,#fff9c8);color:#173f2b}.sports-kicker{display:inline-block;padding:7px 12px;border-radius:99px;background:#156b38;color:#fff;font-weight:900}.sports-quiz-content h2{margin:13px 0 8px;color:#164f2e;font:700 35px/1.12 "Fredoka","Trebuchet MS",sans-serif}.sports-quiz-content h2:after{background:#ffd332}.sports-quiz-content>div>p{font-size:16px;line-height:1.45}.sports-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.sports-levels button{display:flex;flex-direction:column;align-items:center;min-height:150px;padding:18px 12px;border:3px solid #9cd5a9;border-radius:20px;background:#fff;color:#164f2e;cursor:pointer;box-shadow:0 5px 0 #5cab75}.sports-levels button:hover{transform:translateY(-3px)}.sports-levels span{font-size:38px}.sports-levels strong{margin:7px 0 3px;font:700 20px "Fredoka",sans-serif}.sports-levels small{color:#587661}.sports-reward{padding:14px;border:2px solid #dbab00;border-radius:15px;background:#fff3a3;color:#4d3a00;font-weight:900;text-align:center}.sports-quiz-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#165632}.sports-quiz-top button{padding:7px 10px;border:2px solid #2e7d4c;border-radius:12px;background:#fff;color:#1b6038;font-weight:900;cursor:pointer}.sports-quiz-top span{font-weight:900}.sports-quiz-content progress{width:100%;height:15px;margin:12px 0 18px;accent-color:#1a7a40}.sports-quiz-content #sportsQuizLevel{color:#257044;font-weight:900}.sports-answers{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:20px 0}.sports-answers button{min-height:58px;padding:12px;border:3px solid #b9ddc1;border-radius:16px;background:#fff;color:#17482d;font:800 16px "Trebuchet MS",Arial,sans-serif;cursor:pointer}.sports-answers button:hover:not(:disabled){border-color:#247747;background:#f0fff3}.sports-answers button.correct{border-color:#168447;background:#dff8e8;color:#075c31}.sports-answers button.wrong{border-color:#cf3567;background:#ffe3ed;color:#84153d}.sports-explanation{min-height:52px;padding:12px 14px;border-radius:14px;background:#fff2d2;color:#704f12;line-height:1.4}.sports-explanation.success{background:#dcf6e5;color:#075c31}.sports-result{text-align:center}.sports-result>span{display:block;font-size:72px}.sports-result>strong{display:block;margin:10px;color:#17623a;font:700 55px "Fredoka",sans-serif}.sports-result h2:after{margin-left:auto;margin-right:auto}.sports-badge{display:inline-block;margin:12px 0;padding:12px 18px;border:3px solid #dba700;border-radius:99px;background:#ffd332;color:#17472c;font-weight:900;box-shadow:0 5px 0 #c79500}.sports-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.sports-result-actions button{min-height:48px;border:2px solid #176c3a;border-radius:15px;background:#176c3a;color:#fff;font-weight:900;cursor:pointer}.sports-result-actions button:last-child{background:#fff;color:#176c3a}
@media(max-width:570px){.sports-quiz-content{padding:27px 14px 22px}.sports-quiz-content h2{padding-right:35px;font-size:28px}.sports-levels{grid-template-columns:1fr}.sports-levels button{display:grid;grid-template-columns:55px 1fr;min-height:0;text-align:left}.sports-levels span{grid-row:1/3}.sports-levels strong,.sports-levels small{justify-self:start}.sports-answers{grid-template-columns:1fr}.sports-quiz-top{flex-wrap:wrap}.sports-result-actions{grid-template-columns:1fr}}
.sports-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0}.sports-choices button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 6px;border:2px solid #b6dcbf;border-radius:15px;background:#fff;color:#164f2e;font-weight:900;cursor:pointer}.sports-choices button span{font-size:30px}.sports-choices button.selected{border-color:#176c3a;background:#e2f8e7;box-shadow:0 4px 0 #176c3a}.sports-quiz-content h3{margin:18px 0 0;color:#164f2e;text-align:center}@media(max-width:570px){.sports-choices{grid-template-columns:repeat(2,1fr)}}
.cp-program-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 16px;border-radius:15px;background:#f0e8ff;color:#4b237b}.cp-program-head strong{font-size:20px}.cp-program-head span{font-weight:800}.cp-chapter{animation:rise .25s ease both}.cp-chapter>span{min-width:42px}.cp-lesson-actions{margin-top:20px}@media(max-width:570px){.cp-program-head{align-items:flex-start;flex-direction:column}.cp-program-head span{font-size:13px}}

/* Rubrique Quiz scolaire */
.school-quiz-dialog{border:0;border-radius:28px;padding:0;width:min(920px,94vw);max-height:92vh;color:#26144a;box-shadow:0 24px 80px #2b14505c}.school-quiz-dialog::backdrop{background:#1d103bc9;backdrop-filter:blur(5px)}.school-quiz-content{position:relative;padding:34px;background:linear-gradient(145deg,#fff 0%,#fff9dc 100%);min-height:560px;overflow:auto;max-height:92vh}.school-quiz-close{position:absolute;right:18px;top:14px;z-index:2}.school-quiz-kicker{display:inline-block;background:#6d42d8;color:#ffe455;border-radius:999px;padding:8px 14px;font-size:.8rem;font-weight:900;letter-spacing:.07em}.school-quiz-content h2{font-size:clamp(1.8rem,4vw,2.8rem);margin:14px 0 6px;color:#4d269b}.school-quiz-intro{max-width:650px;margin:0 0 20px;color:#665b79}.school-level-picker{display:flex;align-items:center;gap:12px;width:max-content;font-weight:900;background:#fff;border:2px solid #e1d6fa;border-radius:15px;padding:9px 12px;margin-bottom:20px}.school-level-picker select{font:inherit;color:#4d269b;border:0;background:#f3edff;border-radius:10px;padding:8px 30px 8px 10px}.school-quiz-subjects{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.school-quiz-subjects>button{border:2px solid color-mix(in srgb,var(--subject-color) 28%,white);border-radius:20px;background:#fff;padding:18px 12px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 8px 22px #45238112;cursor:pointer;transition:.18s}.school-quiz-subjects>button:hover,.school-quiz-subjects>button:focus-visible{transform:translateY(-3px);border-color:var(--subject-color);box-shadow:0 12px 26px #45238125}.school-quiz-subjects button span{font-size:2.25rem}.school-quiz-subjects button strong{font-size:1.05rem;color:var(--subject-color)}.school-quiz-subjects button small{color:#766d83}.school-quiz-reward{margin-top:18px;border-radius:15px;background:#fff2a8;padding:13px;text-align:center;font-weight:800}.school-coming{grid-column:1/-1;text-align:center;background:#fff;border:2px dashed #cab6ed;border-radius:20px;padding:35px}.school-coming span{display:block;font-size:2.5rem}.school-coming strong{display:block;color:#5c32ad;font-size:1.2rem;margin:8px}.school-quiz-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.school-quiz-top button,.school-quiz-result-actions button{border:0;border-radius:12px;background:#eee5ff;color:#522ca0;font-weight:800;padding:10px 14px;cursor:pointer}.school-quiz-top span{font-weight:800;color:#6b5c7e}.school-quiz-content progress{width:100%;height:14px;margin:18px 0;accent-color:#6d42d8}.school-quiz-content #schoolQuizLabel{font-weight:900;color:#6d42d8;letter-spacing:.06em}.school-quiz-content #schoolQuizQuestion{font-size:clamp(1.5rem,4vw,2.25rem);margin:18px 0}.school-quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.school-quiz-answers button{border:2px solid #e0d6f2;background:#fff;color:#312047;border-radius:16px;padding:17px;text-align:left;font-size:1rem;font-weight:750;cursor:pointer}.school-quiz-answers button:hover:not(:disabled){border-color:#7c4ee0;background:#f8f4ff}.school-quiz-answers button.correct{border-color:#1ca66a;background:#dff9ec;color:#087344}.school-quiz-answers button.wrong{border-color:#e04c62;background:#ffe8eb;color:#a81d35}.school-quiz-explanation{min-height:48px;padding:12px 14px;border-radius:13px;font-weight:750}.school-quiz-explanation:empty{padding:0}.school-quiz-explanation.good{background:#dff9ec;color:#087344}.school-quiz-explanation.bad{background:#fff0d9;color:#984f00}.school-quiz-result{text-align:center;padding:55px 20px}.school-quiz-result>span{font-size:4rem}.school-quiz-result>strong{display:block;font-size:3.4rem;color:#6d42d8}.school-quiz-result p{max-width:560px;margin:12px auto 20px}.school-quiz-badge{display:inline-block;background:linear-gradient(135deg,#6d42d8,#915ce5);color:#ffe455;border:3px solid #ffe455;border-radius:999px;padding:13px 22px;font-weight:950;margin:5px 0 20px}.school-quiz-result-actions{display:flex;justify-content:center;gap:12px}.school-quiz-result-actions button:first-child{background:#6d42d8;color:#fff}@media(max-width:650px){.school-quiz-content{padding:26px 17px}.school-quiz-subjects{grid-template-columns:1fr 1fr}.school-quiz-answers{grid-template-columns:1fr}.school-quiz-top{flex-wrap:wrap}.school-quiz-top strong{order:3;width:100%}.school-quiz-result-actions{flex-direction:column}.school-level-picker{width:100%;justify-content:space-between}}
.school-quiz-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 10px}.school-quiz-modes button{display:flex;min-height:92px;padding:10px;border:2px solid #ded2f5;border-radius:16px;background:#fff;color:#4d269b;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer}.school-quiz-modes button>span{font-size:1.6rem}.school-quiz-modes button strong{font-size:.95rem}.school-quiz-modes button small{color:#746a83;font-size:.76rem}.school-quiz-modes button.active{border-color:#6d42d8;background:#f2ecff;box-shadow:0 0 0 2px #d9c9ff}.school-quiz-mode-hint{margin:0 0 15px;color:#665b79;font-weight:750}.school-quiz-top #schoolQuizTimer{padding:7px 10px;border-radius:999px;background:#fff0b3;color:#7a4700;font-weight:950}@media(max-width:650px){.school-quiz-modes{grid-template-columns:1fr 1fr}.school-quiz-modes button{min-height:82px}.school-quiz-top #schoolQuizTimer{order:2}.school-quiz-top #schoolQuizScore{order:2}}
.school-quiz-format{display:inline-block;margin:12px 0 0 10px;padding:6px 10px;border-radius:999px;background:#fff0b3;color:#714300;font-size:.72rem;font-weight:950;letter-spacing:.05em}.school-quiz-answers.format-typing,.school-quiz-answers.format-reorder{grid-template-columns:1fr}.school-quiz-typing{display:grid;gap:10px;padding:16px;border:2px solid #ded2f5;border-radius:18px;background:#fff}.school-quiz-typing span{color:#522ca0;font-weight:900}.school-quiz-typing input{min-height:52px;padding:10px 13px;border:2px solid #bda7e8;border-radius:13px;font-size:1rem}.school-quiz-typing button,.school-quiz-order-actions button{border:0;border-radius:12px;background:#6d42d8;color:#fff;padding:12px 15px;font-weight:900;cursor:pointer}.school-quiz-order-result{min-height:64px;padding:15px;border:2px dashed #9f83dd;border-radius:15px;background:#faf7ff;color:#402073;font-size:1.05rem;font-weight:850}.school-quiz-order-words{display:flex;flex-wrap:wrap;gap:8px}.school-quiz-order-words button{min-height:44px;padding:9px 13px;text-align:center}.school-quiz-order-actions{display:flex;gap:10px}.school-quiz-order-actions button:first-child{background:#eee5ff;color:#522ca0}@media(max-width:650px){.school-quiz-format{margin-left:0}.school-quiz-order-actions{flex-direction:column}}

.complete-lesson{width:min(760px,92vw);max-height:90vh;overflow:auto}.complete-lesson-goal{font-size:1.08rem;color:#665b79;border-left:5px solid #f2c735;padding-left:14px}.complete-lesson section{background:#fff;border:1px solid #e8def7;border-radius:17px;padding:15px 17px;margin:13px 0}.complete-lesson section h3{color:#5d31ae;margin:0 0 7px}.complete-lesson section p{margin:0;line-height:1.65}.complete-lesson ol,.complete-lesson ul{margin:0;padding-left:23px}.complete-lesson li{padding:4px 0;line-height:1.5}.complete-lesson .lesson-memory{margin-top:13px}.complete-lesson .cp-lesson-actions{display:flex;gap:10px;margin-top:18px}.complete-lesson #cpLessonQuiz,.complete-lesson #cpLessonWriting{border:2px solid #6d42d8;background:#f4efff;color:#5a31aa;border-radius:14px;padding:12px 16px;font-weight:900;cursor:pointer}.complete-lesson #cpLessonWriting{border-color:#d8a900;background:#fff2a1;color:#4e3500}.chapter-quiz-progress{margin:10px 0 16px;color:#6d42d8;font-weight:900}.chapter-quiz-result{text-align:center;padding:25px 12px}.chapter-quiz-result strong{display:block;color:#6d42d8;font:700 3rem "Fredoka",sans-serif}.chapter-quiz-result button{padding:12px 18px;border:0;border-radius:14px;background:#6d42d8;color:#fff;font-weight:900;cursor:pointer}@media(max-width:600px){.complete-lesson .cp-lesson-actions{flex-direction:column}}
.chapter-practice{min-height:520px}.practice-heading{display:flex;align-items:center;gap:12px;margin:18px 0 8px}.practice-heading>span{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#daf7e6;color:#087343;font-size:12px;font-weight:950;letter-spacing:.05em}.practice-heading>span.medium{background:#fff1a8;color:#6a4a00}.practice-heading>span.challenge{background:#efe4ff;color:#5a20b6}.practice-heading strong,.practice-heading small{display:block}.practice-heading strong{color:#4f269b;font-size:17px}.practice-heading small{margin-top:3px;color:#746889}.chapter-practice>progress{width:100%;height:14px;margin:9px 0 19px;accent-color:#6d42d8}.chapter-practice>h2{font-size:clamp(1.55rem,4vw,2.2rem);color:#3f1a8d}.practice-answers{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:20px 0}.practice-answers button{min-height:58px;padding:13px 15px;border:2px solid #ddcff5;border-radius:16px;background:#fff;color:#34205f;font:800 16px "Trebuchet MS",Arial,sans-serif;text-align:left;cursor:pointer}.practice-answers button:hover:not(:disabled){border-color:#7040d1;background:#f8f4ff}.practice-answers button.correct{border-color:#15935a;background:#dcf8e9;color:#076b3e}.practice-answers button.wrong{border-color:#d43f64;background:#ffe6ed;color:#951b3a}.practice-feedback{min-height:54px;padding:13px 15px;border-radius:14px;font-weight:800;line-height:1.45}.practice-feedback:empty{padding:0}.practice-feedback.good{background:#dcf8e9;color:#076b3e}.practice-feedback.bad{background:#fff0d5;color:#8a5000}.practice-result{text-align:center;padding:24px 10px}.practice-result>span{display:block;font-size:58px}.practice-result>strong{display:block;color:#6d42d8;font:700 3.5rem "Fredoka",sans-serif}.practice-result h3{color:#46208f;font-size:24px}.practice-result button{padding:13px 18px;border:0;border-radius:15px;background:#6d42d8;color:#fff;font-weight:900;cursor:pointer}@media(max-width:600px){.practice-answers{grid-template-columns:1fr}.practice-heading{align-items:flex-start;flex-direction:column}.chapter-practice{min-height:0}}
.script-writing-dialog{width:min(860px,calc(100% - 20px));max-height:calc(100dvh - 18px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 75px rgba(48,16,112,.5)}.script-writing-dialog::backdrop{background:rgba(36,13,80,.74);backdrop-filter:blur(4px)}.script-writing-content{position:relative;max-height:calc(100dvh - 18px);overflow:auto;padding:30px 34px;background:linear-gradient(145deg,#f5efff,#fff 55%,#fff6b9);color:#30126f}.script-writing-content h2{margin:12px 0 6px;color:#521caf;font:700 34px/1.1 "Fredoka",sans-serif}.script-writing-content>p{line-height:1.5}.script-writing-progress{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 12px;color:#5b27b8}.script-writing-progress>div{display:flex;gap:7px}.script-writing-progress span{width:13px;height:13px;border:2px solid #6e3dcc;border-radius:50%;background:#fff}.script-writing-progress span.active{background:#ffd539;box-shadow:0 0 0 3px #fff0a2}.script-writing-progress span.done{background:#6e3dcc}.script-writing-model{display:grid;grid-template-columns:220px 1fr;gap:16px}.script-writing-model>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;border:3px solid #ddcff4;border-radius:22px;background:#fff}.script-writing-model small{color:#7a55b7;font-weight:900}.script-writing-model strong{margin:8px;font:700 98px/1.1 Arial,sans-serif;color:#4f1aad}.script-writing-model span{font-weight:900}.script-writing-model button{margin-top:13px;padding:10px 14px;border:2px solid #5d25bd;border-radius:14px;background:#f1eaff;color:#4d17a8;font-weight:900;cursor:pointer}.script-writing-pad{position:relative;overflow:hidden;background-image:linear-gradient(#e8def7 1px,transparent 1px),linear-gradient(90deg,#e8def7 1px,transparent 1px)!important;background-size:50% 50%!important}.script-writing-pad>span{position:absolute;inset:0;display:grid;place-items:center;color:rgba(89,35,181,.16);font:700 190px/1 Arial,sans-serif;pointer-events:none}.script-writing-pad canvas{position:relative;z-index:1;width:100%;height:300px;touch-action:none}.script-writing-tip{padding:11px 13px;border-radius:13px;background:#eee6ff;color:#4d209a;font-weight:800}.script-writing-feedback{min-height:24px;color:#137745;font-weight:900;text-align:center}.script-writing-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.script-writing-actions button{min-height:48px;border:2px solid #5a22b7;border-radius:15px;background:#fff;color:#4c189f;font-weight:900;cursor:pointer}.script-writing-actions button:nth-child(2),.script-writing-actions button:last-child{background:#5a22b7;color:#fff}.script-writing-actions button[hidden]{display:none}@media(max-width:650px){.script-writing-content{padding:27px 14px 20px}.script-writing-content h2{padding-right:35px;font-size:28px}.script-writing-model{grid-template-columns:1fr}.script-writing-model>div{min-height:180px}.script-writing-model strong{font-size:76px}.script-writing-pad canvas{height:230px}.script-writing-pad>span{font-size:145px}.script-writing-actions{grid-template-columns:1fr}.script-writing-actions button{width:100%}}
.logout-button{padding:11px 17px;border-radius:25px;border:2px solid #5622bd;background:#5622bd;color:#fff;font:inherit;font-weight:900;cursor:pointer;white-space:nowrap}.logout-button:hover,.logout-button:focus-visible{background:#3f1596;border-color:#ffc928;outline:3px solid #ffe589}
.profile-step{display:inline-block;margin-bottom:8px;padding:6px 10px;border-radius:999px;background:#5922c5;color:#ffe04a;font-size:12px;font-weight:900;letter-spacing:.05em}.profile-benefit{margin:16px 0;padding:12px 14px;border:2px solid #e1d5f7;border-radius:14px;background:#f6f1ff;color:#4c2396;font-weight:800;line-height:1.4}.profile-family-note{display:block;margin-top:12px;color:#75669b;text-align:center;line-height:1.4}#profileForm{width:min(520px,calc(100vw - 32px))}#profileForm>.try-button{width:100%}
.menu-logout{border:2px solid #ffc928;border-radius:13px;background:#5622bd;color:#fff;padding:11px;font:inherit;font-weight:900;text-align:center;cursor:pointer}.parent-logout{display:block;width:100%;margin-top:17px;padding:13px;border:2px solid #5b27bd;border-radius:14px;background:#f1eaff;color:#5020aa;font:inherit;font-weight:900;cursor:pointer}.parent-logout:hover,.parent-logout:focus-visible{background:#5b27bd;color:#fff}
.welcome-account-actions{display:flex;justify-content:center;gap:10px;margin:0 auto 13px}.welcome-account-actions button,.menu-account button{border-radius:24px;padding:11px 18px;font:inherit;font-weight:900;cursor:pointer}.welcome-account-actions button:first-child,.menu-account button:first-child{background:#fff;border:2px solid #6d36ce;color:#5922b8}.welcome-account-actions button:last-child,.menu-account button:last-child{background:#5922b8;border:2px solid #5922b8;color:#fff;box-shadow:0 4px 0 #ffc928}.menu-account{display:none}.guest-only[hidden]{display:none!important}@media(max-width:900px){.welcome-account-actions{display:grid;grid-template-columns:1fr 1fr}.welcome-account-actions button{padding:12px 8px;font-size:15px}.menu-account{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 7px;border-bottom:1px solid #e4dcf5}.menu-account button{padding:11px 7px;font-size:14px}}
.clerk-user-button{min-width:44px;min-height:44px;place-items:center}.clerk-user-button:not([hidden]){display:grid}.clerk-mobile-account{display:none}.clerk-mobile-account[hidden]{display:none!important}@media(max-width:900px){.clerk-mobile-account:not([hidden]){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid #e7def5;border-radius:13px;background:#f5f0ff;color:#421491;font-weight:900}.clerk-mobile-account .menu-logout{display:block;min-height:40px;margin:0;border:0;border-radius:12px;padding:8px 12px;background:#5922c5;color:#fff;font:700 14px "Fredoka","Trebuchet MS",sans-serif}}

/* Tables de multiplication à l'oral, reliées aux points Devoirio. */
.tables-callout{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;margin:30px max(4vw,40px);padding:34px 38px;overflow:hidden;border:5px solid #ffd42d;border-radius:30px;background:linear-gradient(118deg,#3b0d98,#6626d0 48%,#4b15ad);color:#fff;box-shadow:0 11px 0 #d7aa00,0 19px 35px rgba(58,18,146,.28)}.tables-callout:before,.tables-callout:after{content:"";position:absolute;border-radius:50%;background:rgba(255,215,49,.18)}.tables-callout:before{width:210px;height:210px;right:-65px;top:-110px}.tables-callout:after{width:125px;height:125px;left:4%;bottom:-90px}.tables-robot{position:relative;z-index:1;display:grid;place-items:center;width:112px;height:112px;border:4px solid #fff;border-radius:32px;background:#ffd538;font-size:59px;box-shadow:7px 7px 0 #2a086d;transform:rotate(-3deg)}.tables-main-copy{position:relative;z-index:1}.tables-new{display:inline-block;padding:7px 13px;border-radius:999px;background:#ffd537;color:#35107f;font-size:13px;font-weight:900;letter-spacing:.7px}.tables-callout h2{margin:7px 0 9px;color:#fff;font:700 42px/1.02 "Fredoka",sans-serif}.tables-callout h2:after{display:none}.tables-callout h2 em{color:#ffe044;font-style:normal}.tables-callout p{max-width:720px;margin:0;color:#fff;font-size:17px;font-weight:700;line-height:1.45}.tables-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.tables-badges b{padding:7px 11px;border:2px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:13px}.tables-callout>button{position:relative;z-index:1;min-width:215px;padding:18px 20px;border:3px solid #fff;border-radius:24px;background:#ffd537;color:#34107f;font:700 19px "Fredoka",sans-serif;box-shadow:0 7px 0 #d29e00;cursor:pointer}.tables-callout>button span{font-size:24px}.tables-dialog{width:min(760px,calc(100% - 22px));max-height:calc(100dvh - 18px);background:#fff}.tables-dialog::backdrop{background:rgba(35,12,92,.75);backdrop-filter:blur(3px)}.tables-content{position:relative;padding:31px 33px;background:linear-gradient(145deg,#f5efff,#fff,#fff8bd);color:#2b176d}.tables-kicker{display:inline-block;padding:7px 13px;border-radius:999px;background:#5721bd;color:#ffe047;font-weight:900}.tables-content h2{margin:13px 0 7px;color:#4815a8;font:700 34px "Fredoka",sans-serif}.tables-content>div>p{line-height:1.45}.table-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:20px 0}.table-picker button{min-height:48px;border:3px solid #d9c9f5;border-radius:15px;background:#fff;color:#5520b2;font:700 19px "Fredoka",sans-serif;cursor:pointer}.table-picker button.selected{border-color:#4f19b0;background:#ffd637;box-shadow:0 4px 0 #d4a200}.tables-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.tables-modes button{display:flex;flex-direction:column;align-items:center;min-height:130px;padding:14px 9px;border:3px solid #cdb8ed;border-radius:19px;background:#fff;color:#40128e;cursor:pointer}.tables-modes button:nth-child(2){border-color:#dbac00;background:#fff8b0}.tables-modes span{font-size:34px}.tables-modes strong{margin:6px 0 3px;font:700 18px "Fredoka",sans-serif}.tables-modes small{color:#6d5d91}.tables-reward{margin-top:15px;padding:12px;border:2px solid #e2b200;border-radius:14px;background:#fff4a5;color:#4b3600;font-weight:900;text-align:center}.tables-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.tables-top button,.tables-secondary{padding:8px 12px;border:2px solid #5b25b9;border-radius:13px;background:#fff;color:#4a189f;font-weight:900;cursor:pointer}.tables-top span{color:#9b287a;font-weight:900}.tables-content progress{width:100%;height:14px;margin:12px 0 18px;accent-color:#5a20bd}.vario-question{display:flex;align-items:center;justify-content:center;gap:15px;padding:19px;border-radius:20px;background:#eee5ff;text-align:center}.vario-question>span{font-size:54px}.vario-question small{color:#7b42c3;font-weight:900}.vario-question h2{margin:4px 0;font-size:37px}.listen-question,.microphone-answer{display:block;width:100%;margin-top:11px;padding:12px;border:2px solid #6a31c4;border-radius:17px;background:#fff;color:#501baa;font-weight:900;cursor:pointer}.microphone-answer{padding:16px;background:#5a20bd;color:#fff;font:700 19px "Fredoka",sans-serif}.microphone-status{min-height:24px;margin:10px 0 7px;color:#67568e;text-align:center}.number-answer{display:grid;grid-template-columns:1fr auto;gap:8px}.number-answer input{min-width:0;padding:14px;border:3px solid #d6c3f3;border-radius:15px;font:700 21px "Fredoka",sans-serif;text-align:center}.number-answer button{padding:12px 20px;border:0;border-radius:15px;background:#ffd331;color:#381082;font-weight:900;cursor:pointer}.tables-feedback{min-height:45px;padding:11px;border-radius:13px;background:#f3edff;text-align:center;font-weight:900}.tables-feedback.good{background:#dff7e7;color:#08713c}.tables-feedback.bad{background:#ffe5ee;color:#8a1744}.tables-result{text-align:center}.tables-result>span{display:block;font-size:72px}.tables-result>strong{display:block;margin:10px;color:#4b19ae;font:700 52px "Fredoka",sans-serif}.tables-result-badge{display:inline-block;margin:9px;padding:11px 16px;border:3px solid #d6a700;border-radius:999px;background:#ffd332;color:#3c167e;font-weight:900}.tables-secondary{width:100%;margin-top:10px}.student-stat strong{font-variant-numeric:tabular-nums}
@media(max-width:700px){.tables-callout{grid-template-columns:auto 1fr;gap:14px;margin:22px 12px;padding:22px 15px;border-width:4px;border-radius:24px}.tables-robot{width:70px;height:70px;border-radius:21px;font-size:38px}.tables-callout h2{font-size:29px}.tables-callout p{grid-column:1/-1;font-size:15px}.tables-callout>button{grid-column:1/-1;width:100%;min-width:0}.tables-badges{grid-column:1/-1}.tables-badges b{font-size:12px}.tables-content{padding:27px 14px 20px}.tables-content h2{padding-right:30px;font-size:27px}.table-picker{grid-template-columns:repeat(4,1fr)}.tables-modes{grid-template-columns:1fr}.tables-modes button{display:grid;grid-template-columns:50px 1fr;min-height:0;text-align:left}.tables-modes span{grid-row:1/3}.tables-modes strong,.tables-modes small{justify-self:start}.tables-top{flex-wrap:wrap}.vario-question{padding:15px 8px}.vario-question>span{font-size:42px}.vario-question h2{font-size:30px}.number-answer{grid-template-columns:1fr}.number-answer button{min-height:48px}}

/* Accès aux tables puis deux exemples compacts côte à côte. */
.compact-tables{margin-top:26px;margin-bottom:18px;padding:18px 25px;border-width:4px;border-radius:23px;box-shadow:0 7px 0 #d7aa00,0 13px 25px rgba(58,18,146,.2)}.compact-tables .tables-robot{width:76px;height:76px;border-width:3px;border-radius:23px;font-size:41px;box-shadow:5px 5px 0 #2a086d}.compact-tables h2{font-size:31px}.compact-tables p{font-size:15px}.compact-tables>button{min-width:225px;padding:14px 17px;font-size:17px}.example-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 max(4vw,40px) 20px}.example-grid .learning-demo,.example-grid .language-demo{min-width:0;margin:0;padding:18px 20px;display:flex;flex-direction:column;align-items:stretch;gap:14px;box-shadow:none}.example-grid .learning-heading{align-items:flex-start;gap:12px}.example-grid .learning-heading>span{font-size:40px}.example-grid .learning-heading h2{font-size:22px}.example-grid .learning-heading p{font-size:14px;line-height:1.35}.example-grid .learning-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}.example-grid .learning-actions button{min-width:0;padding:10px 7px}.example-grid .learning-actions span{font-size:24px}.example-grid .learning-actions strong{font-size:15px}.example-grid .learning-actions small{font-size:11px}.example-grid .language-demo>button{width:100%;margin-top:auto;padding:12px 16px;font-size:15px}
@media(max-width:760px){.compact-tables{grid-template-columns:auto 1fr;margin:22px 12px 16px;padding:17px 14px}.compact-tables .tables-robot{width:62px;height:62px;font-size:33px}.compact-tables h2{font-size:25px}.compact-tables p{font-size:14px}.compact-tables>button{grid-column:1/-1;width:100%;min-width:0}.example-grid{grid-template-columns:1fr;gap:12px;margin:0 12px 18px}.example-grid .learning-demo,.example-grid .language-demo{margin:0;padding:16px}.example-grid .learning-actions{grid-template-columns:1fr 1fr}}

/* Menu mobile compact et clairement organisé. */
@media(max-width:900px){.header .menu.open{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;margin-top:4px;border:1px solid #e3d9f7;border-radius:20px;background:#fff;box-shadow:0 14px 32px rgba(48,20,110,.18)}.header .menu a,.header .menu a:nth-child(even),.header .menu a.active{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:45px;padding:10px 12px;border:1px solid #e2d8f6;border-radius:13px;background:#f5f0ff;color:#421491;font:700 15px/1.1 "Fredoka","Trebuchet MS",sans-serif;box-shadow:none}.header .menu a:nth-child(2),.header .menu a:nth-child(4),.header .menu a:nth-child(6),.header .menu a:nth-child(8){background:#fff8cf;border-color:#f3d65d}.header .menu a span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#fff;font-size:17px}.header .menu a:active{transform:scale(.98);box-shadow:none}.header .menu-account{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0 0;margin-top:2px;border-top:1px solid #e7def5;border-bottom:0}.header .menu-account button{min-height:44px;border-radius:13px;font-size:14px}.header .menu-logout{grid-column:1/-1;min-height:44px;margin-top:3px}.menu-button[aria-expanded="true"]{background:#5922c5;color:#fff;transform:rotate(90deg)}}

/* Accueil mobile resserré : les bulles restent lisibles et les enfants remontent. */
@media(max-width:900px){.hero{padding-top:50vw}.hero-art{height:50vw;background-position:center bottom}.student-bubble{top:1.5vw}.hero-copy{padding-top:8px}.kids-hook{margin-bottom:6px}.hero-copy>p{margin:7px 0 11px}}

/* Deux univers visuels : terrain de sport et scène Arts & Culture. */
.themed-spaces{grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.themed-spaces article{position:relative;isolation:isolate;min-height:300px;overflow:hidden;padding:22px;border:4px solid rgba(255,255,255,.92);border-radius:28px;background-size:cover;background-repeat:no-repeat;color:#fff;box-shadow:0 12px 28px rgba(33,13,80,.25)}.themed-spaces article:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(20,12,58,.1),transparent 72%)}.themed-spaces article>div{max-width:62%;padding:15px 17px 18px;border:1px solid rgba(255,255,255,.36);border-radius:20px;background:rgba(25,12,70,.7);box-shadow:0 8px 22px rgba(16,7,45,.24)}.themed-spaces article b{font-size:34px}.themed-spaces article h2{margin:7px 0 6px;color:#fff;font:700 32px/1.05 "Fredoka",sans-serif;text-shadow:0 2px 6px #150735}.themed-spaces article h2:after{display:none}.themed-spaces article h2 strong{color:#ffe143}.themed-spaces article p{color:#fff;font-size:16px;font-weight:800;line-height:1.35;text-shadow:0 1px 4px #12072c}.themed-spaces article>button{position:absolute;left:39px;bottom:22px;padding:13px 20px;border:2px solid #fff;border-radius:18px;background:#ffe03e;color:#35117f;font-weight:900;box-shadow:0 5px 0 #c99d00;cursor:pointer}.sports-visual-card{background-image:url('sports-quiz-bg.png');background-position:62% center}.culture-visual-card{background-image:url('arts-culture-quiz-bg.png');background-position:60% center}.culture-visual-card:before{background:linear-gradient(90deg,rgba(45,7,90,.08),transparent 72%)!important}.culture-visual-card>div{background:rgba(52,10,101,.72)}
.sports-quiz-content{background-image:linear-gradient(145deg,rgba(239,255,232,.97),rgba(255,255,255,.95),rgba(255,249,200,.94)),url('sports-quiz-bg.png');background-position:center;background-size:cover}.culture-quiz-dialog{width:min(800px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 75px rgba(43,7,86,.55)}.culture-quiz-dialog::backdrop{background:rgba(28,7,53,.78);backdrop-filter:blur(4px)}.culture-quiz-content{position:relative;max-height:calc(100dvh - 20px);overflow:auto;padding:32px 34px;background-image:linear-gradient(145deg,rgba(49,12,104,.94),rgba(88,22,144,.88),rgba(30,8,71,.94)),url('arts-culture-quiz-bg.png');background-position:center;background-size:cover;color:#fff}.culture-kicker{display:inline-block;padding:7px 13px;border-radius:999px;background:#ffe143;color:#42128f;font-weight:900}.culture-quiz-content h2{margin:13px 0 8px;color:#fff;font:700 35px/1.12 "Fredoka",sans-serif;text-shadow:0 2px 7px #260650}.culture-quiz-content h2:after{background:#ffdc38}.culture-quiz-content>div>p{font-size:16px;line-height:1.45}.culture-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 16px}.culture-levels button{padding:12px;border:2px solid rgba(255,255,255,.68);border-radius:16px;background:rgba(255,255,255,.14);color:#fff;font:700 18px "Fredoka",sans-serif;cursor:pointer}.culture-levels button small{display:block;margin-top:3px;font:800 12px "Trebuchet MS",sans-serif}.culture-levels button.selected{border-color:#ffe143;background:#ffe143;color:#40118b;box-shadow:0 4px 0 #bd8e00}.culture-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:16px 0}.culture-categories button{display:flex;flex-direction:column;align-items:center;min-height:132px;padding:15px 8px;border:3px solid rgba(255,255,255,.58);border-radius:20px;background:rgba(255,255,255,.93);color:#4a168f;cursor:pointer;box-shadow:0 5px 0 rgba(255,221,50,.65)}.culture-categories button:hover{transform:translateY(-3px);border-color:#ffe143}.culture-categories span{font-size:37px}.culture-categories strong{margin:7px 0 3px;font:700 17px "Fredoka",sans-serif}.culture-categories small{color:#765d99}.culture-reward{padding:13px;border:2px solid #ffe143;border-radius:15px;background:rgba(255,225,67,.94);color:#35106f;font-weight:900;text-align:center}.culture-quiz-content progress{width:100%;height:15px;margin:12px 0 18px;accent-color:#ffe143}.culture-quiz-content #cultureQuizLabel{color:#ffe96c;font-weight:900}.culture-quiz-content .sports-answers button{border-color:#d8c3f1;color:#3f117e}.culture-quiz-content .sports-explanation{background:rgba(255,255,255,.94);color:#593274}.culture-quiz-content .sports-explanation.success{background:#dff8e8;color:#075c31}.culture-quiz-content .sports-result>strong{color:#ffe143}.culture-badge{display:inline-block;margin:12px 0;padding:12px 18px;border:3px solid #ffe143;border-radius:999px;background:#fff;color:#4c168f;font-weight:900;box-shadow:0 5px 0 #c79a00}.culture-quiz-content .sports-result-actions button{border-color:#ffe143;background:#ffe143;color:#42118a}.culture-quiz-content .sports-result-actions button:last-child{background:#fff;color:#4b168e}
@media(max-width:760px){.themed-spaces{grid-template-columns:1fr;gap:14px;margin:18px 12px}.themed-spaces article{min-height:275px;padding:15px}.themed-spaces article>div{max-width:68%;padding:12px 14px}.themed-spaces article h2{font-size:27px}.themed-spaces article p{font-size:15px}.themed-spaces article>button{left:29px;bottom:16px}.sports-visual-card{background-position:68% center}.culture-visual-card{background-position:66% center}.culture-quiz-content{padding:27px 14px 22px}.culture-quiz-content h2{padding-right:34px;font-size:28px}.culture-categories{grid-template-columns:1fr 1fr}.culture-categories button{min-height:115px}.culture-levels{grid-template-columns:1fr}.culture-levels button{display:flex;align-items:center;justify-content:space-between}.culture-quiz-content .sports-answers{grid-template-columns:1fr}}

/* Choix direct entre appareil photo et image déjà reçue. */
.dialog-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:14px 0}.dialog-photo-actions .dialog-photo-button{grid-template-columns:48px 1fr;margin:0;padding:15px 14px}.dialog-photo-actions .import-photo-button{border-color:#bca6ef;background:linear-gradient(135deg,#fff,#f2ebff);color:#4816a4;box-shadow:0 6px 0 #b9a3e8}.dialog-photo-actions .import-photo-button small{color:#70589f}@media(max-width:520px){.dialog-photo-actions{grid-template-columns:1fr}.dialog-photo-actions .dialog-photo-button{min-height:78px}}

/* Cours d'anglais réellement interactif dans chaque chapitre. */
.english-practical-lesson{margin:18px 0;padding:18px;border:3px solid #d5c3f5!important;border-radius:22px;background:linear-gradient(145deg,#f3edff,#fff 58%,#fff7bd)}.english-practical-head{display:flex;align-items:center;gap:13px}.english-practical-head>span{font-size:42px}.english-practical-head h3{margin:0;color:#4815a7}.english-practical-head p{margin:4px 0;color:#635786;line-height:1.4}.english-listen-all{width:100%;padding:13px;border:2px solid #5420bd;border-radius:15px;background:#5420bd;color:#fff;font-weight:900;cursor:pointer}.english-writing-task{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:15px;padding:15px;border:2px solid #ebcd43;border-radius:17px;background:#fff}.english-writing-task label{grid-column:1/-1;display:flex;gap:8px;align-items:baseline}.english-writing-task label strong{color:#44149c}.english-writing-task input{min-width:0;padding:13px;border:2px solid #cdbaf0;border-radius:13px;font:700 17px inherit}.english-writing-task button{padding:12px 15px;border:0;border-radius:13px;background:#ffd536;color:#3b117f;font-weight:900;cursor:pointer}.english-writing-task p{grid-column:1/-1;min-height:20px;margin:0;font-weight:900}.english-writing-task p.good{color:#087641}.english-writing-task p.try-again{color:#8a2750}@media(max-width:600px){.english-practical-lesson{padding:14px}.english-practical-head>span{font-size:34px}.english-writing-task{grid-template-columns:1fr}.english-writing-task label{display:grid;gap:3px}.english-writing-task input,.english-writing-task button{width:100%}}

/* Vario devient la mascotte visible de l'accueil et des cours. */
.exercise-card{position:relative}.hero-vario{position:absolute;z-index:2;right:-82px;top:-52px;width:118px;height:118px;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(48,15,112,.2));transform:rotate(4deg)}.tables-robot{padding:0;overflow:visible;background:#ffd538}.tables-robot img{width:132%;height:132%;object-fit:contain;filter:drop-shadow(4px 6px 2px rgba(37,8,96,.28))}.complete-lesson{position:relative}.lesson-vario{float:right;width:92px;height:92px;margin:5px 25px 8px 12px;object-fit:contain;filter:drop-shadow(0 6px 7px rgba(56,20,116,.2))}@media(max-width:900px){.hero-vario{right:-6px;top:-75px;width:86px;height:86px}.lesson-vario{width:72px;height:72px;margin-right:28px}}@media(max-width:420px){.hero-vario{right:1px;top:-61px;width:68px;height:68px}.lesson-vario{width:62px;height:62px}}

/* La mascotte reste dans son cadre et ne recouvre jamais les boutons du compte. */
.exercise-card .hero-vario{position:static;display:block;width:70px;height:70px;margin:0 auto 4px;object-fit:contain;transform:none;filter:drop-shadow(0 5px 6px rgba(48,15,112,.18))}@media(max-width:900px){.exercise-card .hero-vario{position:static;width:62px;height:62px;margin:0 auto 3px}}

/* Mini-dessin animé interactif de Vario. */
.vario-adventure-card{display:grid;grid-template-columns:105px 1fr auto;align-items:center;gap:22px;margin:22px max(4vw,40px);padding:20px 27px;border:4px solid #5b21bc;border-radius:26px;background:linear-gradient(125deg,#efe7ff,#fff 55%,#fff3a1);box-shadow:0 8px 0 #d7af13}.vario-adventure-card img{width:105px;height:105px;object-fit:contain}.vario-adventure-card span{color:#6624ba;font-size:13px;font-weight:900;letter-spacing:.7px}.vario-adventure-card h2{margin:4px 0;color:#431294;font:700 30px "Fredoka",sans-serif}.vario-adventure-card h2:after{display:none}.vario-adventure-card p{margin:0;color:#5f5484;font-weight:700}.vario-adventure-card button,.adventure-panel>button{padding:15px 23px;border:2px solid #3e117f;border-radius:18px;background:#ffd638;color:#361078;font-weight:900;cursor:pointer;box-shadow:0 5px 0 #c79a00}.vario-adventure-dialog{width:min(780px,calc(100% - 20px));max-height:calc(100dvh - 16px);background:#160c3d}.vario-adventure-dialog::backdrop{background:rgba(14,5,40,.83);backdrop-filter:blur(4px)}.vario-adventure-content{position:relative;max-height:calc(100dvh - 16px);overflow:auto;padding:25px;background:linear-gradient(#24105a,#391080);color:#fff}.vario-adventure-content .close{z-index:5;color:#fff}.adventure-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px;padding-right:38px}.adventure-top>span{color:#ffe044;font-weight:900}.adventure-code{display:flex;gap:7px}.adventure-code b{display:grid;place-items:center;width:41px;height:45px;border:2px solid #ffe044;border-radius:10px;background:#0e082b;color:#ffe044;font-size:24px}.adventure-scene{position:relative;height:300px;overflow:hidden;border:4px solid #9471dc;border-radius:23px;background:radial-gradient(circle at 50% 20%,#9d86c9 0 8%,transparent 9%),linear-gradient(90deg,#34235e 0 12%,#5d4988 12% 88%,#34235e 88%);box-shadow:inset 0 -46px #241846}.room-light{position:absolute;left:50%;top:0;width:240px;height:260px;transform:translateX(-50%);background:linear-gradient(105deg,transparent 20%,rgba(255,239,147,.18),transparent 80%);clip-path:polygon(43% 0,57% 0,100% 100%,0 100%)}#adventureVario{position:absolute;z-index:2;left:-150px;bottom:24px;width:150px;height:150px;object-fit:contain;transition:left .8s cubic-bezier(.2,.8,.2,1);filter:drop-shadow(0 10px 6px rgba(0,0,0,.35))}.adventure-scene.entered #adventureVario{left:12%}.adventure-safe{position:absolute;right:12%;bottom:35px;display:grid;place-items:center;width:145px;height:145px;border:7px solid #d7ad31;border-radius:23px;background:linear-gradient(145deg,#5d6070,#242733);font-size:67px;box-shadow:inset 0 0 0 7px #92959f,0 13px 18px rgba(0,0,0,.35)}.adventure-treasure{position:absolute;z-index:3;right:17%;bottom:103px;font-size:55px;filter:drop-shadow(0 0 12px #fff176);animation:treasurePop .7s both}.adventure-bubble,#adventureBubble{position:absolute;z-index:4;left:32%;top:18px;max-width:310px;margin:0;padding:12px 15px;border-radius:17px;background:#fff;color:#3c1680;font-weight:900;box-shadow:0 6px 18px rgba(0,0,0,.25)}.adventure-panel{margin-top:15px;padding:18px;border-radius:19px;background:#fff;color:#2c1763;text-align:center}.adventure-panel h2{margin:0 0 8px;color:#4b18a8}.adventure-panel h2:after{margin-left:auto;margin-right:auto}.adventure-panel p{line-height:1.45}.adventure-panel small{color:#6a3bc1;font-weight:900}.adventure-answers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.adventure-answers button{min-height:57px;border:3px solid #d4c2f2;border-radius:15px;background:#fff;color:#3f148c;font-size:20px;font-weight:900;cursor:pointer}.adventure-answers button.correct{border-color:#149252;background:#dff8e8;color:#076439}.adventure-answers button.wrong{border-color:#d53069;background:#ffe3ed}.adventure-panel #adventureFeedback{min-height:24px;font-weight:900}.adventure-panel #adventureFeedback.good{color:#087442}.adventure-panel #adventureFeedback.bad{color:#9a2450}.adventure-panel #adventureNext{padding:12px 20px;border:0;border-radius:14px;background:#5720b7;color:#fff;font-weight:900;cursor:pointer}.adventure-result strong{display:block;margin:12px;color:#5b1db7;font-size:21px}.adventure-scene.shake{animation:adventureShake .32s}.adventure-scene.safe-open .adventure-safe{animation:safeGlow .8s both}@keyframes adventureShake{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}@keyframes safeGlow{50%{box-shadow:0 0 35px #ffe34c,inset 0 0 0 7px #92959f}100%{transform:scale(1.04)}}@keyframes treasurePop{from{opacity:0;transform:translateY(28px) scale(.3)}to{opacity:1;transform:none}}@media(max-width:650px){.vario-adventure-card{grid-template-columns:72px 1fr;margin:18px 12px;padding:16px;gap:12px}.vario-adventure-card img{width:72px;height:72px}.vario-adventure-card h2{font-size:23px}.vario-adventure-card p{font-size:14px}.vario-adventure-card button{grid-column:1/-1;width:100%}.vario-adventure-content{padding:20px 10px}.adventure-scene{height:260px}.adventure-scene.entered #adventureVario{left:2%}#adventureVario{width:112px;height:112px}.adventure-safe{right:4%;width:115px;height:115px;font-size:51px}.adventure-treasure{right:12%;bottom:88px}.adventure-bubble,#adventureBubble{left:21%;top:12px;max-width:235px;font-size:13px}.adventure-answers{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){#adventureVario,.adventure-scene,.adventure-safe,.adventure-treasure{animation:none!important;transition:none!important}}

/* Décor cinématographique, mouvement de Vario et pluie d'étoiles. */
.adventure-scene{height:340px;border:5px solid #8a5ee8;background:#100921 url('vario-vault-room.png') center/cover no-repeat;box-shadow:inset 0 0 55px rgba(0,0,0,.75),0 0 0 3px #21104f,0 14px 34px rgba(0,0,0,.45)}.adventure-scene:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,3,30,.42),transparent 45%,rgba(13,5,35,.1));box-shadow:inset 0 0 40px rgba(106,48,209,.35)}.room-light{z-index:1;width:360px;height:100%;opacity:.8;animation:vaultLight 4s ease-in-out infinite alternate}.adventure-safe{z-index:3;right:14%;bottom:76px;width:78px;height:78px;border:2px solid rgba(255,223,92,.85);border-radius:50%;background:radial-gradient(circle,rgba(27,18,51,.88),rgba(8,5,18,.92));font-size:38px;box-shadow:0 0 18px rgba(255,221,77,.35),inset 0 0 12px rgba(255,255,255,.22)}.adventure-scene.entered:not(.vario-happy) #adventureVario{animation:varioIdle 2.1s ease-in-out .8s infinite}.adventure-scene.vario-happy #adventureVario{animation:varioHappy .65s ease-in-out infinite alternate;filter:drop-shadow(0 0 18px #ffe54f)}.adventure-scene.safe-open:before{content:"";position:absolute;z-index:2;right:3%;bottom:0;width:45%;height:88%;pointer-events:none;background:radial-gradient(ellipse at 58% 58%,rgba(255,238,105,.92),rgba(255,197,44,.3) 28%,transparent 65%);animation:vaultBurst 1s both}.adventure-celebration{position:absolute;z-index:5;inset:0;overflow:hidden;pointer-events:none}.adventure-celebration i{position:absolute;left:calc((var(--i) * 37 + 8) * 1% / 7);top:-25px;color:#ffe44e;font-style:normal;font-size:calc(16px + (var(--i) % 4) * 5px);opacity:0;text-shadow:0 0 9px #fff}.safe-open .adventure-celebration i{animation:starRain calc(1.6s + (var(--i) % 5) * .22s) calc((var(--i) % 6) * .12s) ease-in infinite}.safe-open #adventureBubble{background:#fff6a7;color:#401183;box-shadow:0 0 22px #ffe04b}.adventure-treasure{z-index:6;font-size:75px}@keyframes varioIdle{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(2deg)}}@keyframes varioHappy{0%{transform:translateY(0) rotate(-7deg) scale(1)}100%{transform:translateY(-26px) rotate(8deg) scale(1.08)}}@keyframes starRain{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(370px) rotate(460deg)}}@keyframes vaultLight{from{transform:translateX(-58%) skewX(-5deg);opacity:.35}to{transform:translateX(-42%) skewX(5deg);opacity:.8}}@keyframes vaultBurst{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@media(max-width:650px){.adventure-scene{height:290px;background-position:58% center}.adventure-safe{right:11%;bottom:58px;width:62px;height:62px;font-size:30px}.adventure-treasure{right:13%;bottom:91px;font-size:58px}}@media(prefers-reduced-motion:reduce){.adventure-scene.entered #adventureVario,.adventure-scene.vario-happy #adventureVario,.adventure-celebration i,.room-light{animation:none!important}.safe-open .adventure-celebration i{opacity:1;top:auto;bottom:8px}}

/* Chaque classe possède son épisode, son ambiance et son étoile unique. */
.adventure-level-badge{display:inline-flex;margin:0 auto 12px;padding:7px 13px;border-radius:999px;background:#efe7ff;color:#5420ad;font-size:12px;font-weight:900;letter-spacing:.45px}.adventure-scene[data-level="CP"],.adventure-scene[data-level="CE1"]{border-color:#63d4a5}.adventure-scene[data-level="CE2"],.adventure-scene[data-level="CM1"]{border-color:#58b9ed}.adventure-scene[data-level="CM2"],.adventure-scene[data-level="6e"]{border-color:#ffca38}.adventure-scene[data-level="5e"],.adventure-scene[data-level="4e"],.adventure-scene[data-level="3e"]{border-color:#e56be7}.adventure-scene[data-level="3e"]{box-shadow:inset 0 0 65px rgba(0,0,0,.82),0 0 0 3px #5c155f,0 14px 34px rgba(0,0,0,.5)}

/* Une fiche doit permettre d'apprendre et de s'entraîner sans exercice importé. */
.complete-lesson #cpLessonExplain,.complete-lesson #cpLessonExample{white-space:pre-line;line-height:1.62}.lesson-training-preview{border:3px solid #ffd332!important;background:linear-gradient(145deg,#fffdf0,#f5efff)!important}.lesson-training-preview>h3{color:#4d19ad}.training-intro{margin-top:-3px;color:#625482}.lesson-training-preview article{display:grid;grid-template-columns:38px 1fr;gap:12px;margin:12px 0;padding:14px;border:1px solid #dfd2f5;border-radius:15px;background:#fff}.lesson-training-preview article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#5720bd;color:#fff;font-weight:900}.lesson-training-preview article strong{color:#42138f}.lesson-training-preview article p{margin:7px 0;line-height:1.5}.lesson-training-preview details{margin-top:9px;border-radius:11px;background:#eee7ff}.lesson-training-preview summary{padding:10px 12px;color:#4b18a5;font-weight:900;cursor:pointer}.lesson-training-preview details p{margin:0;padding:0 12px 12px;color:#27305e}@media(max-width:520px){.lesson-training-preview article{grid-template-columns:1fr}.lesson-training-preview article>span{width:30px;height:30px}}
.lesson-mistake{margin:16px 0;padding:14px 16px;border-left:6px solid #ed7d20;border-radius:13px;background:#fff0df;color:#6f3410}.lesson-mistake strong{display:block;margin-bottom:5px}.lesson-mistake p{margin:0;line-height:1.5}
.course-answer-label{display:block;margin-top:12px;color:#4a168f;font-size:14px;font-weight:900}.course-answer{width:100%;min-height:82px;margin:6px 0 9px;padding:11px;border:2px solid #cfbdf0;border-radius:12px;background:#fff;font:inherit;resize:vertical}.course-answer:focus{border-color:#5720bd;outline:3px solid #e7ddfb}.course-answer[readonly]{background:#f4f1f8;color:#615876}.course-correction-button{width:100%;padding:11px 13px;border:0;border-radius:12px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.course-correction-button:disabled{background:#d4cce2;color:#786f87;cursor:not-allowed}.course-correction{margin-top:10px;padding:13px;border:2px solid #38a66a;border-radius:12px;background:#e8f8ef;color:#155b36}.course-correction strong{color:#087442}.course-correction small{display:block;margin-top:8px;font-weight:800}.lesson-training-preview article.attempted{border-color:#38a66a;box-shadow:0 0 0 2px #dff5e8}

/* En-tête plus visible et accueil mieux dégagé autour des enfants. */
.header .brand{width:290px}.header .brand-devoir,.header .brand-io{font-size:54px!important}.header .brand-hat{right:-30px;top:-23px;font-size:35px!important}.header .brand-tagline{font-size:15px!important}
.hero-copy{padding-top:20px}
.bubble-boy{top:6px;right:1%;max-width:250px;padding:13px 17px;font-size:20px;line-height:1.1}
@media(max-width:900px){.header .brand{width:270px!important}.header .brand-devoir,.header .brand-io{font-size:50px!important}.hero-copy{padding-top:8px}.bubble-boy{top:1vw;right:1%;max-width:40%;padding:7px 8px;font-size:clamp(12px,3vw,15px);line-height:1.08}}
@media(max-width:420px){.header .brand{width:235px!important}.header .brand-devoir,.header .brand-io{font-size:44px!important}.header .brand-tagline{font-size:15px!important}.bubble-boy{top:1vw;max-width:41%;font-size:clamp(11px,3vw,13px)}}

/* Le bouton du menu mobile reste discret, mais plus facile à repérer. */
@media(max-width:900px){.menu-button{display:grid;place-items:center;width:50px;height:50px;padding:0;font-size:38px;font-weight:1000;line-height:.8;color:#45149f;background:#eee8ff;border:2px solid #5a24bd}}

/* Neuf matières essentielles puis un accès clair à la liste complète. */
.subjects{grid-template-columns:repeat(3,minmax(0,1fr))}.subjects .subject-extra[hidden]{display:none!important}.subjects button{min-width:0;padding:9px 5px}.subjects button span{overflow-wrap:anywhere}
@media(max-width:520px){.subjects{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.subjects button{min-height:82px;font-size:25px}.subjects button span{font-size:13px}}

/* Compter, écouter, répéter et écrire dans chaque langue. */
.language-numbers{margin:18px 0;padding:17px!important;border:3px solid #ffd43b!important;border-radius:20px;background:#fff!important}.language-numbers h3{margin:0;color:#4717a2}.language-numbers>p{margin:6px 0 13px;color:#655582}.language-numbers>div:first-of-type{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.language-numbers article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;min-width:0;padding:9px;border:2px solid #dfd2f5;border-radius:13px;background:#f8f4ff}.language-numbers article b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#5720bd;color:#fff}.language-numbers article strong{min-width:0;color:#321077;font-size:14px;overflow-wrap:anywhere}.language-numbers article button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#ffd43b;cursor:pointer}.language-numbers .english-listen-all{margin-top:12px}.number-writing-task{display:grid!important;grid-template-columns:1fr auto;gap:9px;margin-top:13px;padding:13px;border-radius:15px;background:#eee7ff}.number-writing-task label,.number-writing-task p{grid-column:1/-1}.number-writing-task label{color:#451593;font-weight:900}.number-writing-task input{min-width:0;padding:11px;border:2px solid #c9b5ee;border-radius:11px;font:inherit}.number-writing-task button{padding:10px 14px;border:0;border-radius:11px;background:#ffd43b;color:#3c117e;font-weight:900}.number-writing-task p{min-height:20px;margin:0;font-weight:900}.number-writing-task p.good{color:#087442}.number-writing-task p.try-again{color:#9a2450}
@media(max-width:700px){.language-numbers>div:first-of-type{grid-template-columns:repeat(3,1fr)}.language-numbers article{grid-template-columns:auto 1fr;padding:8px}.language-numbers article button{grid-column:1/-1;width:100%;border-radius:9px}.number-writing-task{grid-template-columns:1fr}.number-writing-task input,.number-writing-task button{width:100%}}

/* Les nombres arabes et chinois restent horizontaux dans des cartes bien séparées. */
.language-numbers>div:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.language-numbers article{min-height:72px;padding:10px 12px}.language-numbers article strong{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px;overflow-wrap:normal}.language-numbers article strong span{white-space:nowrap;font-size:18px}.language-numbers article strong small{white-space:nowrap;color:#746096;font-size:12px;font-weight:800;direction:ltr}
@media(max-width:600px){.language-numbers>div:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}.language-numbers article{grid-template-columns:29px minmax(0,1fr) 34px;gap:5px;min-height:68px;padding:8px}.language-numbers article button{grid-column:auto;width:32px;border-radius:50%}.language-numbers article strong span{font-size:17px}.language-numbers article strong small{font-size:11px}}

/* Le mot et son bouton audio disposent chacun de leur place, sans chevauchement. */
.language-numbers>div:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}.language-numbers article{grid-template-columns:32px minmax(0,1fr) 38px;column-gap:10px}.language-numbers article strong{overflow:visible}.language-numbers article strong span{display:block;max-width:100%;white-space:nowrap}.language-numbers article button{position:static;z-index:1;width:36px;height:36px;justify-self:end}
@media(max-width:600px){.language-numbers>div:first-of-type{grid-template-columns:1fr}.language-numbers article{grid-template-columns:32px minmax(0,1fr) 38px}.language-numbers article strong span{font-size:18px}}

/* Le chiffre sort de la carte : aucun élément ne peut recouvrir le mot. */
#languageNumberGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important;padding-top:12px}.language-numbers #languageNumberGrid article{position:relative;grid-template-columns:minmax(0,1fr) 42px!important;gap:12px!important;min-height:76px!important;margin:0!important;padding:17px 12px 10px!important;overflow:visible}.language-numbers #languageNumberGrid article>b{position:absolute;z-index:2;left:13px;top:-18px;width:36px;height:36px;border:3px solid #fff;box-shadow:0 3px 7px rgba(52,16,126,.22)}.language-numbers #languageNumberGrid article>strong{grid-column:1;align-self:center;padding-top:5px;overflow:visible!important}.language-numbers #languageNumberGrid article>button{grid-column:2;align-self:center;justify-self:end;width:38px;height:38px}.language-numbers #languageNumberGrid article strong span{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
@media(max-width:600px){#languageNumberGrid{grid-template-columns:1fr!important;gap:24px!important}.language-numbers #languageNumberGrid article{min-height:82px!important;padding:20px 14px 11px!important}.language-numbers #languageNumberGrid article>b{left:15px;top:-19px}.language-numbers #languageNumberGrid article strong span{font-size:21px!important}.language-numbers #languageNumberGrid article strong small{font-size:13px!important}}

/* Les écritures arabe et chinoise sont agrandies pour faciliter leur découverte. */
#englishPracticalLesson[data-subject="Arabe"] #languageNumberGrid article strong span,#englishPracticalLesson[data-subject="Chinois"] #languageNumberGrid article strong span{font-size:30px!important;line-height:1.25}#englishPracticalLesson[data-subject="Arabe"] #languageNumberGrid article strong small,#englishPracticalLesson[data-subject="Chinois"] #languageNumberGrid article strong small{font-size:14px!important}
@media(max-width:600px){#englishPracticalLesson[data-subject="Arabe"] #languageNumberGrid article strong span,#englishPracticalLesson[data-subject="Chinois"] #languageNumberGrid article strong span{font-size:34px!important}}

/* Défi de reconnaissance : les cartes sont remplacées par une question plein écran. */
.number-challenge-start{width:100%;margin-top:14px;padding:14px;border:2px solid #351078;border-radius:15px;background:#ffd43b;color:#351078;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 5px 0 #c79c00}.number-challenge{padding:8px 2px;text-align:center}.number-challenge-progress{display:flex;justify-content:space-between;gap:12px;margin:16px 0;padding:11px 14px;border-radius:14px;background:#eee7ff;color:#4a169c}.number-challenge>h2{margin:18px 0 10px}.number-challenge>h2:after{margin-left:auto;margin-right:auto}#numberChallengeWord{display:grid;place-items:center;min-height:150px;margin:18px 0;padding:24px;border:4px solid #ffd43b;border-radius:25px;background:linear-gradient(145deg,#f5efff,#fff);color:#3e118e;font-size:clamp(42px,8vw,72px);font-weight:900;box-shadow:0 8px 0 #d7c8ee}.number-challenge>label{display:block;margin:24px 0 8px;color:#4a169c;font-weight:900}.number-challenge-answer{display:grid;grid-template-columns:1fr auto;gap:10px}.number-challenge-answer input{min-width:0;padding:14px;border:3px solid #6a35c5;border-radius:14px;font-size:25px;font-weight:900;text-align:center}.number-challenge-answer button,#numberChallengeResult button{padding:13px 18px;border:0;border-radius:14px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.number-challenge>p{min-height:26px;font-weight:900}.number-challenge>p.good{color:#087442}.number-challenge>p.bad{color:#9a2450}#numberChallengeResult{margin-top:18px;padding:20px;border:3px solid #ffd43b;border-radius:20px;background:#fff9cf}#numberChallengeResult strong{color:#4a169c;font-size:40px}
@media(max-width:520px){.number-challenge-answer{grid-template-columns:1fr}.number-challenge-answer button{min-height:48px}#numberChallengeWord{min-height:130px;padding:18px;font-size:46px}}

/* Traducteur guidé et exercice de traduction sur une page séparée. */
.language-translator #englishWritingFeedback.good{display:flex;flex-direction:column;gap:5px;padding:13px;border:2px solid #38a66a;border-radius:12px;background:#e8f8ef}.language-translator #englishWritingFeedback strong{color:#351078;font-size:23px}.language-translator #englishWritingFeedback small{color:#087442}.language-challenge #languageChallengePhrase{display:grid;place-items:center;min-height:145px;margin:18px 0;padding:22px;border:4px solid #ffd43b;border-radius:25px;background:linear-gradient(145deg,#f5efff,#fff);color:#3e118e;font-size:clamp(30px,6vw,52px);font-weight:900;box-shadow:0 8px 0 #d7c8ee}.language-challenge-answer{display:grid;grid-template-columns:1fr auto;gap:10px}.language-challenge-answer input{min-width:0;padding:14px;border:3px solid #6a35c5;border-radius:14px;font:inherit;font-size:18px}.language-challenge-answer button,#languageChallengeResult button{padding:13px 18px;border:0;border-radius:14px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.language-challenge>p{min-height:26px;font-weight:900}.language-challenge>p.good{color:#087442}.language-challenge>p.bad{color:#9a2450}#languageChallengeResult{margin-top:18px;padding:20px;border:3px solid #ffd43b;border-radius:20px;background:#fff9cf}#languageChallengeResult strong{color:#4a169c;font-size:40px}
.language-translator textarea{width:100%;min-height:120px;padding:14px;border:3px solid #6a35c5;border-radius:14px;background:#fff;color:#351078;font:inherit;font-size:18px;line-height:1.45;resize:vertical}.language-translator textarea:focus{outline:3px solid #ffd43b;outline-offset:2px}.language-translator button:disabled{opacity:.65;cursor:wait}
@media(max-width:520px){.language-challenge-answer{grid-template-columns:1fr}.language-challenge-answer button{min-height:48px}.language-challenge #languageChallengePhrase{min-height:125px;padding:17px;font-size:34px}}

/* L'enfant saisit un chiffre et découvre immédiatement son écriture et son son. */
.number-reader{margin-top:13px;padding:14px;border:2px solid #cdbaf0;border-radius:16px;background:linear-gradient(135deg,#f4efff,#fff9c9)}.number-reader label{display:block;margin-bottom:8px;color:#451593;font-weight:900}.number-reader>div{display:grid;grid-template-columns:110px 1fr;gap:9px}.number-reader input{min-width:0;padding:12px;border:2px solid #7140c8;border-radius:12px;background:#fff;color:#351078;font-size:20px;font-weight:900;text-align:center}.number-reader button{padding:11px 14px;border:0;border-radius:12px;background:#5720bd;color:#fff;font-weight:900;cursor:pointer}.number-reader output{display:flex;align-items:center;gap:12px;min-height:55px;margin-top:10px;padding:10px 13px;border-radius:12px;background:#fff;color:#351078}.number-reader output:empty{display:none}.number-reader output b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffd43b}.number-reader output strong{font-size:23px;white-space:nowrap}.number-reader output small{color:#746096;font-weight:800}.number-reader output.try-again{color:#9a2450;font-weight:900}
@media(max-width:480px){.number-reader>div{grid-template-columns:82px 1fr}.number-reader button{padding:9px;font-size:13px}.number-reader output{flex-wrap:wrap}.number-reader output strong{font-size:20px}}
.microphone-answer.listening{background:#d9305f;border-color:#d9305f;box-shadow:0 0 0 5px rgba(217,48,95,.2);animation:microphonePulse 1s ease-in-out infinite alternate}
@keyframes microphonePulse{to{transform:scale(1.025);box-shadow:0 0 0 9px rgba(217,48,95,.08)}}
.answer-method-title,.typed-answer-title{margin:14px 0 7px;text-align:center;color:#4d199c;font-size:13px;font-weight:900;letter-spacing:.04em}.typed-answer-title{display:flex;align-items:center;gap:8px}.typed-answer-title:before,.typed-answer-title:after{content:"";height:2px;flex:1;background:#dfd3f3}.typed-answer-title span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffd740;color:#4d199c}.microphone-status{min-height:22px;font-weight:800}.number-answer input{font-size:22px!important;font-weight:900}.number-answer button{font-size:17px;font-weight:900}
.vario-question h2.answer-good{color:#087d4f}.vario-question h2.answer-bad{color:#bd2851}
.vario-question>span img{display:block;width:138px;height:158px;object-fit:contain;filter:drop-shadow(0 6px 7px rgba(61,19,145,.25))}.vario-question.ready{min-height:290px;flex-direction:column;padding:20px}.vario-question.ready>span img{width:215px;height:225px}.vario-question.ready h2{font-size:38px}
@media(max-width:700px){.vario-question>span img{width:118px;height:136px}.vario-question.ready>span img{width:190px;height:200px}}

/* Espace parent : lecture plus douce et profils clairement séparés. */
.parent-dialog::backdrop{background:rgba(32,48,66,.58)}
.parent-content{background:#f7fbfd;color:#173b4d}
.parent-heading h2,.parent-family h3{color:#173b4d}
.parent-heading p{color:#516b78;font-size:17px}
.parent-overview article>small,.parent-family small{color:#356a7f}
.parent-allowance{background:#176f78;color:#fff}
.parent-allowance>small,.parent-allowance strong{color:#fff4a8!important}
.parent-family{border:3px solid #c7dfe8;background:#fff}
.parent-family>div>button{padding:13px 17px;background:#16737c;color:#fff;font-size:16px;line-height:1.2}
#parentProfileList{gap:13px}
#parentProfileList .parent-profile{box-sizing:border-box;width:100%;min-width:0;min-height:88px;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;padding:15px 16px;border:3px solid #c7dfe8;background:#f4fbfd;color:#173b4d;box-shadow:0 3px 0 #dcebf0}
#parentProfileList .parent-profile>span{font-size:34px}
#parentProfileList .parent-profile strong{color:#173b4d;font-size:19px;line-height:1.2}
#parentProfileList .parent-profile small{margin-top:5px;color:#496978;font-size:15px;line-height:1.25}
#parentProfileList .parent-profile b{white-space:nowrap;padding:8px 11px;border-radius:12px;background:#e1f0f4;color:#195f6a;font-size:14px;line-height:1.15}
#parentProfileList .parent-profile.active{border-color:#e0b52f;background:#fff8cf;box-shadow:0 3px 0 #f0dda0}
#parentProfileList .parent-profile.active b{background:#176f78;color:#fff}
.parent-shortcuts{gap:14px}
.parent-shortcuts button{min-height:88px;padding:16px;border:3px solid #c7dfe8;background:#fff;color:#173b4d}
.parent-shortcuts button>span{font-size:32px}
.parent-shortcuts strong{font-size:18px;line-height:1.25}
.parent-shortcuts small{margin-top:4px;color:#58717e;font-size:15px;line-height:1.3}
@media(max-width:650px){.parent-content{padding:24px 16px 22px}.parent-family{padding:17px 14px}.parent-family h3{font-size:29px}.parent-family>div:first-child{align-items:center}.parent-family>div>button{max-width:150px}.parent-profile-list{grid-template-columns:1fr}#parentProfileList .parent-profile{grid-template-columns:48px minmax(0,1fr) auto;padding:15px 13px}#parentProfileList .parent-profile b{font-size:13px}.parent-shortcuts button{grid-template-columns:48px minmax(0,1fr)}}
.parent-access-button{padding:10px 14px;border:2px solid #176f78;border-radius:14px;background:#eef9fa;color:#145963;font-weight:900;cursor:pointer}.menu-parent-access{padding:11px 14px;border:2px solid #176f78;border-radius:13px;background:#eef9fa;color:#145963;font-weight:900;text-align:left;cursor:pointer}#parentProfileList .parent-profile em{display:block;margin-top:6px;color:#315c6c;font-size:14px;font-style:normal;font-weight:800}@media(max-width:720px){.parent-access-button{display:none}.menu-parent-access{display:block;width:100%}}

/* Rubrique dédiée aux verbes irréguliers anglais. */
.irregular-verbs-card{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:22px;margin:24px max(4vw,40px);padding:24px 28px;border:4px solid #178154;border-radius:27px;background:linear-gradient(120deg,#e9fff2,#fff 62%,#efffd2);box-shadow:0 8px 0 #0e623f,0 17px 32px rgba(19,112,73,.16)}.irregular-icon{display:grid;place-items:center;width:86px;height:86px;border:3px solid #178154;border-radius:24px;background:#fff;font-size:44px}.irregular-verbs-card span{color:#14734b;font-size:13px;font-weight:900;letter-spacing:.7px}.irregular-verbs-card h2{margin:4px 0;color:#123e2b;font:700 32px "Fredoka",sans-serif}.irregular-verbs-card h2:after{display:none}.irregular-verbs-card p{margin:0;color:#345b49;font-size:17px;font-weight:700}.irregular-verbs-card>button{padding:16px 22px;border:0;border-radius:17px;background:#147a50;color:#fff;font-size:17px;font-weight:900;box-shadow:0 5px 0 #095c39;cursor:pointer}.irregular-dialog{width:min(760px,calc(100% - 22px));max-height:calc(100dvh - 18px);padding:0;border:0;border-radius:26px;background:#f6fff9}.irregular-dialog::backdrop{background:rgba(14,48,34,.7);backdrop-filter:blur(3px)}.irregular-content{position:relative;max-height:calc(100dvh - 18px);overflow:auto;padding:31px;background:linear-gradient(155deg,#f0fff6,#fff,#f7ffe5);color:#173f2d}.irregular-kicker{display:inline-block;padding:8px 13px;border-radius:999px;background:#176f4b;color:#fff;font-size:13px;font-weight:900;letter-spacing:.7px}.irregular-content h2{margin:13px 0 7px;color:#174d35;font:700 34px "Fredoka",sans-serif}.irregular-content h2:after{display:none}.irregular-content>div>p{font-size:17px;line-height:1.45}.irregular-modes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.irregular-modes button{display:flex;min-height:150px;flex-direction:column;align-items:center;justify-content:center;padding:18px;border:3px solid #acd8bf;border-radius:21px;background:#fff;color:#174d35;cursor:pointer}.irregular-modes button:last-child{border-color:#e2bd45;background:#fff9d8}.irregular-modes span{font-size:39px}.irregular-modes strong{margin:8px 0 4px;font-size:20px}.irregular-modes small{color:#527363;font-size:14px}.irregular-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.irregular-top button,.verb-nav button{padding:9px 13px;border:2px solid #27805a;border-radius:13px;background:#fff;color:#176342;font-weight:900;cursor:pointer}.irregular-top span{color:#16714a;font-weight:900}.verb-learning-card,.verb-question{padding:24px;border:3px solid #b6dec7;border-radius:23px;background:#fff;text-align:center;box-shadow:0 6px 20px rgba(18,91,59,.09)}.verb-learning-card>small,.verb-question>small{color:#21744f;font-weight:900;letter-spacing:.7px}.verb-learning-card>h2,.verb-question>h2{margin:8px 0;color:#123f2a;font-size:45px}.verb-forms{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.verb-forms>div{padding:15px;border-radius:16px;background:#e9f8ef}.verb-forms small,.verb-forms strong{display:block}.verb-forms small{color:#49705d;font-size:12px;font-weight:900}.verb-forms strong{margin-top:5px;color:#174d35;font-size:22px}.verb-learning-card>p{color:#52675d;font-size:18px;font-weight:800}.verb-learning-card>button,.verb-question>button{padding:13px 18px;border:0;border-radius:15px;background:#176f4b;color:#fff;font-weight:900;cursor:pointer}.verb-nav{display:flex;justify-content:space-between;gap:12px;margin-top:15px}.verb-nav button{flex:1}.verb-nav button:disabled{opacity:.4}.irregular-content progress{width:100%;height:15px;margin:2px 0 16px;accent-color:#178154}.verb-answer{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:9px;margin-top:15px}.verb-answer button,.verb-answer input{min-height:51px;box-sizing:border-box;border-radius:15px;font-size:16px}.verb-answer button{padding:11px 15px;border:0;background:#176f4b;color:#fff;font-weight:900;cursor:pointer}.verb-answer input{min-width:0;padding:11px 13px;border:3px solid #b6dec7;background:#fff;color:#173f2d;font-weight:800}.verb-answer span{color:#587267;font-size:12px;font-weight:900}.irregular-feedback{min-height:50px;margin:13px 0 6px;padding:12px;border-radius:14px;background:#edf8f1;font-weight:900;text-align:center}.irregular-feedback.good{background:#dff7e8;color:#09643b}.irregular-feedback.bad{background:#ffe5e5;color:#942d35}.irregular-next,.irregular-result button{width:100%;margin-top:10px;padding:13px;border:0;border-radius:15px;background:#174d35;color:#fff;font-weight:900;cursor:pointer}.irregular-result{text-align:center}.irregular-result>span{display:block;font-size:66px}.irregular-result>strong{display:block;color:#176f4b;font:700 51px "Fredoka",sans-serif}.irregular-result p{font-size:17px}.irregular-result button+button{background:#fff;color:#176342;border:2px solid #27805a}@media(max-width:650px){.irregular-verbs-card{grid-template-columns:66px minmax(0,1fr);gap:13px;margin:20px 12px;padding:18px 15px}.irregular-icon{width:62px;height:62px;border-radius:18px;font-size:32px}.irregular-verbs-card h2{font-size:26px}.irregular-verbs-card p{font-size:15px}.irregular-verbs-card>button{grid-column:1/-1;width:100%}.irregular-content{padding:27px 14px 20px}.irregular-content h2{padding-right:30px;font-size:28px}.irregular-modes{grid-template-columns:1fr}.irregular-modes button{min-height:120px}.verb-learning-card,.verb-question{padding:19px 12px}.verb-learning-card>h2,.verb-question>h2{font-size:39px}.verb-forms strong{font-size:19px}.verb-answer{grid-template-columns:1fr}.verb-answer span{text-align:center}.verb-answer button,.verb-answer input{width:100%}.irregular-top{flex-wrap:wrap}.irregular-top>strong{font-size:14px}}

/* L'espace élève reste compact sur l'accueil ; les détails s'ouvrent à la demande. */
.student-quick-bar{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 16px;background:#fff;border-bottom:1px solid #e7e1fb;box-shadow:0 4px 12px rgba(55,19,146,.08)}
.student-space-button,.student-space-logout{min-height:48px;border-radius:17px;font:800 15px "Fredoka","Trebuchet MS",sans-serif;cursor:pointer}
.student-space-button{display:flex;align-items:center;gap:10px;min-width:285px;padding:6px 12px;border:2px solid #6b31ce;background:#fff;color:#32127f;text-align:left}
.student-space-button span:nth-child(2){flex:1}.student-space-button small,.student-space-button strong{display:block}.student-space-button small{color:#7956bd;font-size:11px;letter-spacing:.4px}.student-space-button strong{margin-top:1px;font-size:17px}.student-space-button>b{font-size:28px;color:#6b31ce}
.student-space-logout{padding:9px 17px;border:2px solid #6b31ce;background:#5b24bd;color:#fff}
.student-space-dialog{width:min(610px,calc(100% - 24px))}.student-space-content{position:relative;padding:26px}.student-space-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.student-space-heading small{color:#7956bd;font-weight:900}.student-space-heading h2{margin:2px 0 0}.student-space-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px;border-radius:20px;background:#faf8ff}.student-space-content .student-progress{margin:20px 0}.student-space-content .student-actions{display:grid;grid-template-columns:1fr 1fr;margin:0;width:100%}.student-space-content .student-actions button{min-height:46px}
@media(max-width:900px){.student-quick-bar{padding:7px 10px;gap:8px}.student-space-button{min-width:0;flex:1;min-height:45px;padding:5px 9px}.student-space-button .student-avatar{width:38px;height:38px;font-size:22px}.student-space-button small{font-size:9px}.student-space-button strong{font-size:14px}.student-space-logout{min-height:45px;padding:7px 10px;font-size:12px}.student-space-content{padding:23px 16px}.student-space-stats{gap:14px 8px;padding:14px}.student-space-stats .student-stat{gap:5px}.student-space-stats .student-stat>span{font-size:23px}.student-space-stats .student-stat strong{font-size:18px}.student-space-stats .student-stat small{font-size:12px;white-space:normal}}

/* Cartes Sport et Culture : présentation plus sobre, claire et professionnelle. */
.themed-spaces{gap:16px;margin-top:22px}.themed-spaces article{min-height:220px;padding:28px;border:1px solid #dedbea;border-radius:20px;background-image:none;box-shadow:0 8px 24px rgba(28,20,67,.1)}.themed-spaces article:before{background:none!important}.themed-spaces .sports-visual-card{background:linear-gradient(135deg,#f6faf8,#edf7f1)}.themed-spaces .culture-visual-card{background:linear-gradient(135deg,#f8f7fc,#f1eff9)}.themed-spaces article>div,.themed-spaces .culture-visual-card>div{max-width:74%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.themed-spaces article b{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#fff;color:#333;font-size:25px;box-shadow:0 3px 12px rgba(25,20,54,.1)}.themed-spaces article h2{margin:16px 0 7px;color:#21194f;font:700 30px/1.1 "Fredoka","Trebuchet MS",sans-serif;text-shadow:none}.themed-spaces article p{margin:0;color:#5f5977;font:600 15px/1.45 "Trebuchet MS",Arial,sans-serif;text-shadow:none}.themed-spaces article>button{left:auto;right:28px;bottom:28px;padding:11px 18px;border:1px solid #4a28a7;border-radius:12px;background:#4a28a7;color:#fff;box-shadow:none;font-size:14px}.themed-spaces article>button:hover{background:#35177f}.culture-categories{grid-template-columns:repeat(4,1fr)}.culture-categories button{min-height:118px;border-width:1px;border-radius:15px;box-shadow:0 3px 10px rgba(24,8,54,.15)}.culture-categories button:hover{transform:none;box-shadow:0 5px 14px rgba(24,8,54,.2)}
@media(max-width:760px){.themed-spaces{gap:12px;margin:16px 12px}.themed-spaces article{min-height:190px;padding:22px}.themed-spaces article>div,.themed-spaces .culture-visual-card>div{max-width:72%}.themed-spaces article b{width:42px;height:42px;font-size:22px}.themed-spaces article h2{margin-top:13px;font-size:25px}.themed-spaces article p{font-size:14px}.themed-spaces article>button{right:18px;bottom:18px;padding:10px 14px}.culture-categories{grid-template-columns:1fr 1fr}.culture-categories button{min-height:105px}}

/* Visuels éditoriaux réalistes pour les deux espaces. */
.themed-spaces article,.themed-spaces .sports-visual-card,.themed-spaces .culture-visual-card{min-height:285px;background-position:center;background-size:cover;background-repeat:no-repeat;color:#fff;border:1px solid rgba(255,255,255,.72);box-shadow:0 12px 30px rgba(23,16,57,.2)}
.themed-spaces .sports-visual-card{background-image:linear-gradient(90deg,rgba(7,33,20,.9) 0%,rgba(7,33,20,.74) 42%,rgba(7,33,20,.05) 75%),url('sport-realiste-v2.png')}
.themed-spaces .culture-visual-card{background-image:linear-gradient(90deg,rgba(25,12,52,.94) 0%,rgba(25,12,52,.76) 43%,rgba(25,12,52,.08) 76%),url('culture-realiste-v2.png')}
.themed-spaces article>div,.themed-spaces .culture-visual-card>div{max-width:58%}.themed-spaces article b{display:none}.themed-spaces article h2{margin-top:0;color:#fff;font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900;text-shadow:0 2px 10px rgba(0,0,0,.35)}.themed-spaces article p{color:rgba(255,255,255,.9);text-shadow:0 1px 5px rgba(0,0,0,.45)}.themed-spaces article>button{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.94);color:#32127f}.themed-spaces article>button:hover{background:#fff;color:#24105c}
@media(max-width:760px){.themed-spaces article,.themed-spaces .sports-visual-card,.themed-spaces .culture-visual-card{min-height:235px;background-position:center}.themed-spaces .sports-visual-card{background-image:linear-gradient(90deg,rgba(7,33,20,.92) 0%,rgba(7,33,20,.72) 50%,rgba(7,33,20,.08) 86%),url('sport-realiste-v2.png')}.themed-spaces .culture-visual-card{background-image:linear-gradient(90deg,rgba(25,12,52,.95) 0%,rgba(25,12,52,.75) 52%,rgba(25,12,52,.1) 86%),url('culture-realiste-v2.png')}.themed-spaces article>div,.themed-spaces .culture-visual-card>div{max-width:68%}.themed-spaces article>button{right:16px;bottom:16px}}
.tables-order{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 17px;padding:11px 13px;border:2px solid #d8c7f2;border-radius:16px;background:#fff}.tables-order>strong{color:#4815a8;font:700 16px "Fredoka",sans-serif}.tables-order>div{display:flex;gap:7px}.tables-order button{min-height:42px;padding:9px 13px;border:2px solid #cdb8ed;border-radius:12px;background:#fff;color:#4a189f;font-weight:900;cursor:pointer}.tables-order button.selected{border-color:#4f19b0;background:#ffd637;box-shadow:0 3px 0 #d4a200}
@media(max-width:700px){.tables-order{align-items:stretch;flex-direction:column}.tables-order>div{display:grid;grid-template-columns:1fr 1fr}}
.tables-spoken-text{margin:5px 0 0;color:#3f177f;font-size:18px;font-weight:800;line-height:1.35}.tables-spoken-text:empty{display:none}

/* Recherche rapide dans les 100 verbes irréguliers. */
.verb-search{margin:20px 0 4px;padding:17px;border:2px solid #b6dec7;border-radius:18px;background:#fff}.verb-search label{display:block;margin-bottom:9px;color:#174d35;font-size:17px;font-weight:900}.verb-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.verb-search input,.verb-search button{min-height:49px;box-sizing:border-box;border-radius:13px;font-size:16px}.verb-search input{min-width:0;padding:11px 13px;border:3px solid #b6dec7;color:#173f2d;font-weight:800}.verb-search>div>button{padding:11px 17px;border:0;background:#176f4b;color:#fff;font-weight:900;cursor:pointer}.verb-search>p{margin:11px 0 0!important;color:#527363;font-size:15px!important}.verb-search>p.found{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.3fr auto;align-items:center;gap:8px;padding:11px 12px;border-radius:13px;background:#e5f8ec;color:#174d35}.verb-search>p.found strong{font-size:19px}.verb-search>p.found span{font-weight:900}.verb-search>p.found em{font-style:normal}.verb-search>p.found button{min-height:38px;padding:6px 10px;border:0;background:#176f4b;color:#fff;cursor:pointer}.verb-search>p.not-found{padding:10px;border-radius:12px;background:#fff0df;color:#874811;font-weight:800}
@media(max-width:650px){.verb-search>div{grid-template-columns:1fr}.verb-search>p.found{grid-template-columns:1fr 1fr}.verb-search>p.found strong,.verb-search>p.found em{grid-column:1/-1}.verb-search>p.found button{grid-column:1/-1}}

/* Carte d’accueil aux couleurs Devoirio. */
.irregular-verbs-card{border-color:#5b20bd;background:linear-gradient(120deg,#4a139d 0%,#6426c7 62%,#351079 100%);box-shadow:0 8px 0 #2a0865,0 17px 32px rgba(55,18,123,.25)}
.irregular-icon{border-color:#ffd83d;background:#fff9dc;box-shadow:0 4px 0 rgba(35,8,87,.3)}
.irregular-verbs-card span{color:#ffd83d}
.irregular-verbs-card h2{color:#fff}
.irregular-verbs-card p{color:#f1eaff}
.irregular-verbs-card>button{background:#ffd83d;color:#321078;box-shadow:0 5px 0 #c79600}
.irregular-verbs-card>button:hover{background:#ffe66f}

/* Menu mobile plus sobre et plus professionnel. */
@media(max-width:900px){
  .header .menu.open{position:fixed;top:76px;right:12px;left:auto;display:flex;width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - 90px);overflow-y:auto;flex-direction:column;gap:3px;margin:0;padding:12px;border:1px solid #dedbe7;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(27,20,52,.24)}
  .header .menu.open:before{content:"Menu";display:block;padding:4px 8px 10px;color:#211a3d;font:800 18px/1.2 "Trebuchet MS",Arial,sans-serif;border-bottom:1px solid #ece9f2;margin-bottom:5px}
  .header .menu a,.header .menu a:nth-child(even),.header .menu a.active{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:48px;padding:9px 10px;border:0;border-radius:10px;background:#fff;color:#302a43;font:700 16px/1.2 "Trebuchet MS",Arial,sans-serif;box-shadow:none}
  .header .menu a:hover,.header .menu a:focus-visible{background:#f3f1f7;color:#421491}
  .header .menu a.active{position:relative;background:#f0ebfa;color:#421491}
  .header .menu a.active:after{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#5a24bd}
  .header .menu a span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #e4e0eb;border-radius:8px;background:#f7f6f9;font-size:16px;filter:grayscale(.28)}
  .header .menu-parent-access{order:20;width:100%;min-height:47px;margin-top:7px;padding:10px 12px;border:1px solid #ddd8e7;border-radius:10px;background:#f7f6f9;color:#302a43;font:700 15px "Trebuchet MS",Arial,sans-serif;text-align:left}
  .header .menu-account{order:21;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0 0;margin-top:3px;border-top:1px solid #ece9f2;border-bottom:0}
  .header .menu-account button{min-height:43px;border-radius:10px;box-shadow:none;font-family:"Trebuchet MS",Arial,sans-serif;font-size:14px}
  .header .menu-account button:first-child{border:1px solid #d8d3e2;background:#fff;color:#3c3452}
  .header .menu-account button:last-child{border:1px solid #4d1ba7;background:#4d1ba7;color:#fff}
  .header .clerk-mobile-account{order:21;border:1px solid #e2dde9;background:#f7f6f9;color:#302a43}
  .header .menu-logout{border-radius:9px;background:#4d1ba7}
  .menu-button{width:44px;height:44px;border:1px solid #ded8e9;border-radius:12px;background:#fff;color:#352b4d;font-size:28px;box-shadow:0 3px 10px rgba(38,25,75,.09);transition:background .15s,color .15s,transform .15s}
  .menu-button[aria-expanded="true"]{background:#4d1ba7;color:#fff;transform:none}
}
/* Exercices de cours écrits : une consigne, une réponse libre, puis la correction. */
.written-practice-instruction{margin:18px 0 10px;padding:13px 15px;border-left:5px solid #ffd232;border-radius:10px;background:#fff8cf;color:#43216f;font-size:17px;font-weight:800;line-height:1.45}.written-practice>h2{margin:15px 0;padding:18px;border:2px solid #d8c8f2;border-radius:18px;background:#faf7ff;color:#321265;font-size:clamp(1.2rem,3.5vw,1.65rem);line-height:1.4}.written-answer-label{display:block;margin:16px 0 7px;color:#4d1c9d;font-weight:900}.written-practice textarea{box-sizing:border-box;width:100%;min-height:145px;padding:15px;border:3px solid #cdb9ef;border-radius:17px;background:#fff;color:#271451;font:700 17px/1.45 "Trebuchet MS",Arial,sans-serif;resize:vertical}.written-practice textarea:focus{border-color:#6430c5;outline:3px solid #eee5ff}.written-practice-actions{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.written-practice-actions button{min-height:50px;padding:12px 16px;border:2px solid #6030ba;border-radius:15px;font-weight:900;cursor:pointer}.written-practice-actions #chapterPracticeOwn{background:#fff;color:#5121a3}.written-correction{margin:16px 0;background:#e5f8ec;color:#075e35}.written-correction strong{display:block;font-size:18px}.written-correction p{white-space:pre-line}.written-correction small{display:block;margin-top:8px}@media(max-width:600px){.written-practice-actions{grid-template-columns:1fr}.written-practice-actions button{width:100%}}

/* Révision express : une fiche créée depuis le vrai cours de l'enfant. */
.feature-grid .control-tomorrow-card{position:relative;grid-column:1/-1;display:grid;grid-template-columns:130px minmax(0,1fr);gap:26px;min-height:245px;padding:29px 34px;overflow:hidden;border:4px solid #ffd538;border-radius:28px;background:radial-gradient(circle at 90% 15%,rgba(255,215,56,.24),transparent 25%),linear-gradient(125deg,#22105f,#5520bc 62%,#351080);color:#fff;box-shadow:0 9px 0 #321077,0 20px 38px rgba(39,13,104,.27)}
.control-tomorrow-card:after{content:"";position:absolute;right:-55px;bottom:-85px;width:230px;height:230px;border:35px solid rgba(255,214,56,.12);border-radius:50%}.control-tomorrow-icon{position:relative;z-index:1;display:grid;place-items:center;align-content:center;width:122px;height:150px;border:3px solid #ffe46b;border-radius:24px;background:#ffd538;color:#321078;box-shadow:0 7px 0 #c99300;transform:rotate(-3deg)}.control-tomorrow-icon span{font:900 68px/1 "Fredoka","Trebuchet MS",sans-serif}.control-tomorrow-icon b{font-size:14px;letter-spacing:1px}.control-tomorrow-copy{position:relative;z-index:1}.control-tomorrow-copy>small{color:#ffe15a;font-size:13px;font-weight:900;letter-spacing:1.2px}.feature-grid .control-tomorrow-copy h3{margin:5px 0 7px;color:#fff;font:700 clamp(30px,4vw,45px)/1.05 "Fredoka","Trebuchet MS",sans-serif}.feature-grid .control-tomorrow-copy p{max-width:720px;margin:0 0 14px;color:#f3efff;font-size:17px;line-height:1.45}.control-tomorrow-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:17px}.control-tomorrow-steps span{padding:8px 11px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.1);font-size:14px;font-weight:900}.control-tomorrow-steps i{color:#ffd538;font-size:25px;font-style:normal}.feature-grid .control-tomorrow-card button{padding:13px 20px;border:0;border-radius:14px;background:#ffd538;color:#321078;font-size:16px;font-weight:900;box-shadow:0 5px 0 #bd8f00}
.control-tomorrow-dialog{width:min(690px,calc(100% - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 18px);margin:auto;overflow:hidden;overscroll-behavior-x:none;border-radius:27px;background:#fff}.control-tomorrow-dialog::backdrop{background:rgba(24,9,70,.78);backdrop-filter:blur(4px)}.control-tomorrow-form{width:100%;max-width:100%;max-height:calc(100dvh - 18px);overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;touch-action:pan-y;padding:31px;background:linear-gradient(155deg,#f5f0ff,#fff 55%,#fff9d7);color:#2d126d}.control-tomorrow-form>*{max-width:100%}.control-tomorrow-kicker{display:inline-block;padding:8px 13px;border-radius:999px;background:#ffd538;color:#351077;font-size:13px;font-weight:900;letter-spacing:.8px}.control-tomorrow-form h2{margin:12px 0 7px;color:#411396;font:700 35px/1.1 "Fredoka",sans-serif}.control-tomorrow-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:19px 0}.control-tomorrow-fields label,.control-note{color:#44208c;font-weight:900}.control-tomorrow-fields select{display:block;width:100%;min-height:49px;margin-top:6px;padding:9px 12px;border:2px solid #ccb9ef;border-radius:13px;background:#fff;color:#271250;font:700 16px inherit}.control-course-photo{display:grid;place-items:center;min-height:190px;padding:19px;border:3px dashed #7040c9;border-radius:21px;background:#f9f6ff;text-align:center;cursor:pointer}.control-course-photo input{position:absolute;opacity:0;pointer-events:none}.control-course-photo>span{font-size:42px}.control-course-photo strong,.control-course-photo small{display:block}.control-course-photo strong{font-size:20px}.control-course-photo small{margin-top:5px;color:#70608e}.control-course-photo img{max-width:100%;max-height:270px;margin-top:14px;border-radius:13px}.control-note{display:block;margin-top:17px}.control-note textarea{min-height:90px;margin-bottom:8px}.control-consent{display:flex;align-items:flex-start;gap:9px;margin:9px 0 15px;color:#51456b;font-size:14px;font-weight:800}.control-consent input{width:19px;height:19px;flex:0 0 auto}.control-tomorrow-form>#controlTomorrowStatus{min-height:24px;color:#8b3c20;font-weight:900}.control-tomorrow-result{margin-top:18px;padding:20px;border:3px solid #3ca86d;border-radius:19px;background:#e9f9ef;color:#174d32}.control-tomorrow-result>span{font-size:12px;font-weight:900;letter-spacing:.8px}.control-tomorrow-result h3{margin:5px 0 11px;font-size:23px}.control-tomorrow-result p{white-space:pre-line;line-height:1.55}.control-tomorrow-result button{padding:10px 14px;border:2px solid #27885a;border-radius:12px;background:#fff;color:#17643f;font-weight:900;cursor:pointer}
@media(max-width:650px){.feature-grid .control-tomorrow-card{grid-template-columns:72px minmax(0,1fr);gap:14px;padding:22px 15px}.control-tomorrow-icon{width:68px;height:92px;border-radius:17px}.control-tomorrow-icon span{font-size:46px}.control-tomorrow-icon b{font-size:9px}.feature-grid .control-tomorrow-copy h3{font-size:29px}.feature-grid .control-tomorrow-copy p{font-size:15px}.control-tomorrow-steps{grid-column:1/-1}.control-tomorrow-steps i{display:none}.control-tomorrow-steps span{font-size:12px}.control-tomorrow-form{padding:27px 15px}.control-tomorrow-form h2{padding-right:28px;font-size:29px}.control-tomorrow-fields{grid-template-columns:1fr}.control-course-photo{min-height:165px}}

/* Espace ludique et peu coûteux pour découvrir plusieurs langues. */
.languages-discovery-card{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:24px;margin:24px max(4vw,40px);padding:25px 29px;border:4px solid #ffd538;border-radius:28px;background:linear-gradient(125deg,#eef8ff,#fff 58%,#fff5ba);box-shadow:0 8px 0 #3f1a99,0 18px 34px rgba(47,21,116,.18)}.languages-globe{position:relative;display:grid;place-items:center;width:120px;height:120px;border-radius:50%;background:#5120b6;font-size:58px;box-shadow:inset 0 0 0 5px #7544d0,0 6px 0 #30106f}.languages-globe span{position:absolute;padding:3px 7px;border-radius:8px;background:#fff;color:#3b157e;font-size:11px;font-weight:900;box-shadow:0 2px 7px #230b5e55}.languages-globe span:nth-child(1){top:3px;right:-5px}.languages-globe span:nth-child(2){left:-10px;bottom:18px}.languages-globe span:nth-child(3){right:-12px;bottom:5px}.languages-discovery-card small{color:#6a2bc3;font-weight:900;letter-spacing:1px}.languages-discovery-card h2{margin:5px 0;color:#331079;font:700 34px "Fredoka",sans-serif}.languages-discovery-card h2:after{display:none}.languages-discovery-card p{margin:0;color:#514476;font-size:17px;line-height:1.45}.languages-flags{margin-top:10px;font-size:24px;letter-spacing:4px}.languages-discovery-card>button{padding:15px 20px;border:0;border-radius:15px;background:#5120b6;color:#fff;font-size:16px;font-weight:900;box-shadow:0 5px 0 #2d0c73;cursor:pointer}.languages-discovery-dialog{width:min(760px,calc(100% - 20px));max-height:calc(100dvh - 18px);border-radius:28px}.languages-discovery-dialog::backdrop{background:rgba(25,8,67,.76);backdrop-filter:blur(4px)}.languages-discovery-content{position:relative;max-height:calc(100dvh - 18px);overflow:auto;padding:31px;background:linear-gradient(145deg,#f3efff,#fff 58%,#fff7c8);color:#321071}.languages-kicker{display:inline-block;padding:8px 13px;border-radius:999px;background:#5420b7;color:#fff;font-size:13px;font-weight:900;letter-spacing:.8px}.languages-discovery-content>h2{margin:12px 0;color:#3e128c;font:700 34px "Fredoka",sans-serif}.languages-select{display:block;margin:15px 0 19px;color:#4c218f;font-weight:900}.languages-select select{display:block;width:100%;min-height:52px;margin-top:7px;padding:10px 13px;border:3px solid #cbb7ed;border-radius:14px;background:#fff;color:#321071;font-size:17px;font-weight:900}.languages-activity{display:grid;gap:15px}.languages-count-card,.languages-translate-card{padding:20px;border:3px solid #d9caf2;border-radius:21px;background:#fff}.languages-count-card>div:first-child,.languages-translate-card>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:0 11px}.languages-count-card>div:first-child>span,.languages-translate-card>div:first-child>span{grid-row:1/3;font-size:36px}.languages-count-card h3,.languages-translate-card h3{margin:0;color:#421494;font-size:22px}.languages-count-card p,.languages-translate-card p{margin:4px 0 13px;color:#655a7f}.languages-number-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.languages-number-action input,.languages-number-action button,.languages-translate-meta button{min-height:49px;border-radius:13px;font:800 16px "Trebuchet MS",sans-serif}.languages-number-action input{min-width:0;padding:9px 12px;border:3px solid #cab6ec;color:#321071}.languages-number-action button,.languages-translate-meta button{padding:10px 16px;border:0;background:#5420b7;color:#fff;cursor:pointer}.languages-count-card output,.languages-translate-card output{display:block;min-height:42px;margin-top:11px;padding:11px 13px;border-radius:12px;background:#f1ebff;color:#3f138c;font-size:18px;font-weight:900}.languages-translate-card textarea{min-height:105px;margin:5px 0 7px}.languages-translate-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.languages-translate-meta small{color:#6c6083;font-weight:900}.languages-time-note{margin:0;padding:11px 13px;border-radius:13px;background:#fff7c9;color:#5b4610;font-size:14px;font-weight:900}.languages-break{padding:32px 22px;border:4px solid #ffd538;border-radius:24px;background:#fff9d7;text-align:center}.languages-break>span{font-size:64px}.languages-break h3{margin:9px 0;color:#421493;font:700 30px "Fredoka",sans-serif}.languages-break p{font-size:17px;line-height:1.5}.languages-break strong{display:block;margin:13px 0;color:#4e1bab;font:700 48px "Fredoka",sans-serif}.languages-break small{color:#6d6086;font-weight:900}
@media(max-width:700px){.languages-discovery-card{grid-template-columns:72px minmax(0,1fr);gap:14px;margin:20px 12px;padding:20px 15px}.languages-globe{width:70px;height:70px;font-size:36px}.languages-globe span{display:none}.languages-discovery-card h2{font-size:27px}.languages-discovery-card p{font-size:15px}.languages-flags{font-size:19px;letter-spacing:1px}.languages-discovery-card>button{grid-column:1/-1;width:100%}.languages-discovery-content{padding:27px 14px 20px}.languages-discovery-content>h2{padding-right:30px;font-size:28px}.languages-number-action{grid-template-columns:1fr}.languages-translate-meta{align-items:stretch;flex-direction:column}.languages-number-action button,.languages-translate-meta button{width:100%}}

.languages-count-card #languagesNumberResult{display:grid;place-items:center;min-height:105px;padding:17px;color:#351078;font:900 clamp(32px,7vw,54px)/1.2 "Fredoka","Trebuchet MS",sans-serif;text-align:center;overflow-wrap:anywhere}.languages-copy-card>div:first-child{margin-bottom:14px}.languages-phrase-model{display:grid;gap:7px;place-items:center;min-height:120px;padding:18px;border:3px solid #ffd538;border-radius:17px;background:#fff9d5;text-align:center;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.languages-phrase-model strong{color:#351078;font:900 clamp(29px,6vw,46px)/1.2 "Fredoka","Trebuchet MS",sans-serif;overflow-wrap:anywhere;transition:filter .2s,opacity .2s}.languages-phrase-model.is-writing{box-shadow:0 8px 22px rgba(49,16,113,.18)}.languages-phrase-model.is-writing strong{filter:blur(7.5px);opacity:.34}.languages-french-phrase{color:#45208d;font-size:clamp(20px,4.5vw,28px);font-weight:900}.languages-phrase-model small{color:#63547d;font-size:14px;font-weight:900}.languages-listen-button,.languages-next-button{width:100%;min-height:48px;margin:10px 0;padding:10px 15px;border:0;border-radius:13px;background:#5420b7;color:#fff;font-weight:900;cursor:pointer}.languages-copy-card>label{display:block;margin-top:10px;color:#45208d;font-weight:900}.languages-copy-card textarea{min-height:92px;font-size:19px;font-weight:800}.languages-copy-card output.good{background:#dff7e8;color:#09643b}.languages-copy-card output.bad{background:#ffe8e8;color:#932d3a}.languages-next-button{margin-bottom:0;background:#ffd538;color:#321071}.languages-next-button[hidden]{display:none!important}@media(max-width:650px){.languages-count-card #languagesNumberResult{font-size:34px}.languages-phrase-model strong{font-size:30px}.languages-phrase-model.is-writing{min-height:104px;margin:8px 0;padding:12px 14px}.languages-phrase-model.is-writing small{display:none}.languages-copy-card.is-keyboard-writing{position:fixed;z-index:100;top:var(--writing-top,8px);right:10px;left:10px;width:auto;max-height:var(--writing-height,560px);overflow:auto;padding:14px;border-width:3px;border-radius:20px;box-shadow:0 18px 55px rgba(27,8,71,.45)}.languages-copy-card.is-keyboard-writing>div:first-child,.languages-copy-card.is-keyboard-writing>.languages-speech-actions,.languages-copy-card.is-keyboard-writing>.languages-repeat-feedback{display:none!important}.languages-copy-card.is-keyboard-writing>label{margin-top:0}.languages-copy-card.is-keyboard-writing .languages-phrase-model{margin:0 0 9px}.languages-copy-card.is-keyboard-writing textarea{min-height:96px;margin-bottom:6px}.languages-copy-card.is-keyboard-writing .languages-translate-meta{flex-direction:row;align-items:center}.languages-copy-card.is-keyboard-writing .languages-translate-meta button{width:auto;min-width:140px}.languages-copy-card.is-keyboard-writing .languages-sticky-result{margin-top:7px}}
@media(max-width:650px){.languages-copy-card.is-keyboard-writing{padding:10px 12px}.languages-copy-card.is-keyboard-writing .languages-phrase-model{min-height:82px;padding:8px 12px}.languages-copy-card.is-keyboard-writing .languages-phrase-model strong{font-size:25px}.languages-copy-card.is-keyboard-writing .languages-french-phrase{font-size:20px}.languages-copy-card.is-keyboard-writing textarea{min-height:76px}.languages-copy-card.is-keyboard-writing .languages-translate-meta button,.languages-copy-card.is-keyboard-writing .languages-next-button{min-height:42px;padding:7px 12px}.languages-copy-card.is-keyboard-writing .languages-next-button{margin-top:0}.languages-copy-card.is-keyboard-writing .languages-translate-meta small{font-size:13px}}
@media(max-width:650px){.languages-discovery-dialog.is-writing-panel-open .languages-discovery-content{overflow:hidden;touch-action:none}.languages-copy-card.is-keyboard-writing{touch-action:auto}.languages-copy-card.is-keyboard-writing.is-result-view{transform:translateY(-50%);box-shadow:0 0 0 100vmax rgba(28,11,70,.72),0 18px 55px rgba(27,8,71,.45)}}
.languages-selectors{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 19px}.languages-selectors .languages-select{margin:0}.languages-sticky-result{position:static;margin:10px 0 0;padding:0;border:0;background:transparent;box-shadow:none}.languages-sticky-result output{margin:0 0 8px!important}.languages-sticky-result output:empty{display:none!important}.languages-sticky-result .languages-next-button{margin:0}@media(max-width:650px){.languages-selectors{grid-template-columns:1fr}}
.languages-speaking-level{margin:4px 0 12px;padding:14px;border:3px solid #d7c6f1;border-radius:17px;background:#fff}.languages-speaking-level .languages-select{margin:0}
.languages-phrase-builder{margin:10px 0;padding:13px;border:3px solid #cab6ec;border-radius:16px;background:#faf8ff}.languages-phrase-builder>p{margin:0 0 7px;color:#45208d;font-weight:900}.languages-phrase-built{min-height:62px;padding:12px;border:2px dashed #8c69cf;border-radius:12px;background:#fff;color:#351078;font-size:clamp(22px,5vw,32px);font-weight:900;line-height:1.4}.languages-phrase-tiles{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.languages-phrase-tiles button{min-width:48px;min-height:48px;padding:8px 13px;border:0;border-radius:12px;background:#5420b7;color:#fff;font-size:clamp(19px,4vw,26px);font-weight:900;box-shadow:0 3px 0 #30106f;cursor:pointer}.languages-phrase-tiles button:disabled{opacity:.28;box-shadow:none}.languages-phrase-builder>#languagesPhraseUndo{min-height:42px;padding:8px 12px;border:2px solid #8c69cf;border-radius:11px;background:#fff;color:#4b1b9c;font-weight:900;cursor:pointer}
.languages-speech-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.languages-speech-actions .languages-listen-button,.languages-repeat-button{width:100%;min-height:50px;margin:10px 0;padding:10px;border:0;border-radius:13px;background:#5420b7;color:#fff;font-size:16px;font-weight:900;cursor:pointer}.languages-repeat-button{background:#ffd538;color:#321071}.languages-repeat-button:disabled{opacity:.7}.languages-repeat-feedback{display:block;min-height:0!important;margin:0 0 9px!important;padding:9px 11px!important;background:#edf8ff!important;color:#284d75!important;font-size:15px!important}.languages-repeat-feedback:empty{display:none}@media(max-width:420px){.languages-speech-actions{grid-template-columns:1fr}}
.languages-calendar-choice{margin:0 0 15px}.languages-calendar-choice .languages-select{margin:0}.languages-calendar-choice select{border-color:#ffd538;background:#fff9d5}
.languages-number-series-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px}.languages-number-series-head strong{color:#3f138c;font:900 23px "Fredoka",sans-serif}.languages-number-series-head button,.languages-number-nav button{min-height:44px;padding:9px 12px;border:0;border-radius:12px;background:#5420b7;color:#fff;font-weight:900;cursor:pointer}.languages-number-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.languages-number-grid button{display:grid;place-items:center;min-width:0;min-height:108px;padding:8px 4px;border:3px solid #d9caf2;border-radius:14px;background:#fff;color:#351078;cursor:pointer}.languages-number-grid strong{font:900 30px "Fredoka",sans-serif}.languages-number-grid span{max-width:100%;font-size:14px;font-weight:900;line-height:1.15;overflow-wrap:anywhere}.languages-number-grid small{color:#7653bd;font-size:11px;font-weight:900}.languages-number-nav{display:flex;justify-content:space-between;gap:9px;margin-top:11px}.languages-number-nav button:disabled{opacity:.35;cursor:not-allowed}.languages-number-custom{margin-top:17px;padding-top:15px;border-top:3px dashed #d9caf2}.languages-number-custom>label{display:block;margin-bottom:7px;color:#45208d;font-weight:900}@media(max-width:560px){.languages-number-grid{grid-template-columns:repeat(2,1fr)}.languages-number-grid button{min-height:96px}.languages-number-series-head{align-items:stretch;flex-direction:column}.languages-number-nav button{flex:1;padding:8px 5px;font-size:13px}}
.languages-count-card{padding:15px}.languages-count-card>div:first-child>span{font-size:29px}.languages-count-card h3{font-size:20px}.languages-count-card>div:first-child p{margin-bottom:5px;font-size:14px}.languages-number-series-head{margin:7px 0}.languages-number-series-head strong{font-size:19px}.languages-number-series-head button{min-height:38px;padding:6px 10px;font-size:13px}.languages-number-grid{gap:5px}.languages-number-grid button{min-height:72px;padding:4px 2px;border-width:2px;border-radius:10px}.languages-number-grid strong{font-size:23px}.languages-number-grid span{font-size:11px;line-height:1.05}.languages-number-grid small{font-size:12px}.languages-number-nav{margin-top:7px}.languages-number-nav button{min-height:38px;padding:6px 8px;font-size:12px}.languages-number-custom{margin-top:9px;padding-top:9px}.languages-number-custom>label{margin-bottom:4px;font-size:14px}.languages-number-custom .languages-number-action input,.languages-number-custom .languages-number-action button{min-height:41px}.languages-number-custom #languagesNumberResult{min-height:52px;margin-top:6px;padding:7px;font-size:26px}@media(max-width:560px){.languages-discovery-content{padding:20px 13px}.languages-number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.languages-number-grid button{min-height:67px}.languages-number-grid span{font-size:9px}.languages-number-series-head{align-items:center;flex-direction:row}.languages-number-nav button{font-size:11px}.languages-count-card{padding:12px}}
.languages-selectors{grid-template-columns:1fr;margin:8px 0 11px}.languages-discovery-content>h2{margin:8px 0;font-size:28px;line-height:1.08}.languages-kicker{padding:6px 10px}.languages-select select{min-height:45px;margin-top:4px;padding:7px 10px}.languages-number-grid button{min-height:82px}.languages-number-grid strong{font-size:26px}.languages-number-grid span{font-size:12px;line-height:1.1}.languages-number-grid small{font-size:13px}@media(max-width:560px){.languages-selectors{grid-template-columns:1fr}.languages-discovery-content>h2{max-width:330px;font-size:27px}.languages-count-card>div:first-child p{margin:2px 0 4px}.languages-number-grid button{min-height:80px}.languages-number-grid span{font-size:11px}.languages-number-grid strong{font-size:25px}}
@media(max-width:560px){.languages-discovery-content>h2{display:none}.languages-discovery-content{padding-top:14px}.languages-kicker{margin-bottom:7px;font-size:11px}.languages-selectors{margin:3px 0 8px}.languages-selectors .languages-select{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;font-size:13px}.languages-selectors .languages-select select{min-height:39px;margin:0;font-size:14px}.languages-count-card>div:first-child{grid-template-columns:auto 1fr;align-items:center}.languages-count-card>div:first-child>span{grid-row:auto;font-size:25px}.languages-count-card>div:first-child p{display:none}.languages-count-card h3{font-size:18px}.languages-number-series-head{margin:5px 0}.languages-number-custom #languagesNumberResult:empty{display:none}.languages-number-custom #languagesNumberResult:not(:empty){min-height:42px;padding:5px;font-size:21px;line-height:1.1}}
.languages-number-grid span{font-size:15px}.languages-number-grid button.long-word span{font-size:13px}.languages-number-grid button.very-long-word span{font-size:11.5px;letter-spacing:-.25px}@media(max-width:560px){.languages-number-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.languages-number-grid button{min-height:82px;padding-inline:3px}.languages-number-grid strong{font-size:27px}.languages-number-grid span{font-size:14px!important}.languages-number-grid button.long-word span{font-size:12.5px!important}.languages-number-grid button.very-long-word span{font-size:11px!important}}
.languages-number-series-head button.is-playing{background:#ffd538;color:#321071}.languages-number-series-head button.is-playing:focus-visible{outline:3px solid #5420b7;outline-offset:2px}@media(max-width:560px){.languages-count-card{padding:15px}.languages-number-grid{gap:7px}.languages-number-series-head{margin:8px 0}.languages-number-nav{margin-top:10px}.languages-number-custom{margin-top:13px;padding-top:12px}}
@media(max-width:560px){.languages-number-grid{grid-auto-rows:90px}.languages-number-grid button{height:90px;min-height:90px}}
@media(max-width:560px){.languages-number-grid{grid-auto-rows:84px}.languages-number-grid button{height:84px;min-height:84px}.languages-number-custom .languages-number-action{display:grid;grid-template-columns:92px minmax(0,1fr);gap:7px}.languages-number-custom .languages-number-action input,.languages-number-custom .languages-number-action button{width:100%;min-height:43px;margin:0;padding:6px 8px}.languages-number-custom .languages-number-action button{font-size:13px}.languages-number-custom #languagesNumberResult:not(:empty){margin-top:6px}}
@media(max-width:560px){.languages-count-card{display:flex;flex-direction:column;justify-content:space-between}.languages-count-card>div:first-child,.languages-number-series-head,.languages-number-grid,.languages-number-nav,.languages-number-custom{flex:none}}
/* Parcours officiel : découvrir, s'entraîner, puis avancer après maîtrise. */
.official-course-source{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;padding:10px 13px;border:2px solid #d8c8f3;border-radius:14px;background:#f8f5ff;color:#4b1b9c;font-weight:900}.official-course-source small{color:#6b5a88}.learning-path{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0 22px}.learning-path button{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;min-height:78px;padding:11px;border:2px solid #d7c9ef;border-radius:16px;background:#fff;color:#3f167f;text-align:left;cursor:pointer}.learning-path button>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#5b25bb;color:#fff;font-weight:900}.learning-path strong,.learning-path small{display:block}.learning-path strong{font-size:16px}.learning-path small{color:#706486}.learning-path button:disabled{cursor:not-allowed;opacity:.62;background:#f0edf5}.learning-path button.unlocked{border-color:#d3aa00;background:#fff7b6;box-shadow:0 4px 0 #e2bd22}.learning-path button.unlocked>span{background:#e7b900;color:#351076}.chapter-quiz-result button+button{margin-left:8px;background:#ffd333;color:#3f147f}@media(max-width:650px){.official-course-source{align-items:flex-start;flex-direction:column}.learning-path{grid-template-columns:1fr}.learning-path button{min-height:64px}}

/* Une fenêtre fermée ne doit laisser ni cadre ni ombre visible sur Safari mobile. */
dialog:not([open]){display:none!important;box-shadow:none!important}

/* Calendrier anglais: les deux listes restent dans le chapitre de vocabulaire existant. */
#englishPracticalPhrases[data-calendar="true"]{grid-template-columns:repeat(2,minmax(0,1fr));}
#englishPracticalPhrases[data-calendar="true"] h4{grid-column:1/-1;margin:8px 0 0;color:#4815a7;font-size:17px;}
#englishPracticalPhrases .language-pronunciation{color:#62596f;font-style:italic;}
@media(max-width:600px){#englishPracticalPhrases[data-calendar="true"]{grid-template-columns:1fr;}}


.pricing-topups{margin-top:18px;padding:18px;border:2px solid #e2ad00;border-radius:18px;background:linear-gradient(100deg,#fff4b8,#fffdf1);color:#3b157f;text-align:center}
.pricing-topups-heading h3{margin:0;color:#3c128e;font:700 23px "Fredoka",sans-serif}
.pricing-topups-heading p{margin:5px 0 14px;line-height:1.45}
.pricing-topups-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pricing-topups-options article{display:flex;justify-content:center;gap:8px;align-items:center;padding:12px;border:1px solid #e2ad00;border-radius:12px;background:#fff;font-size:16px}
.pricing-topups-options article strong{color:#4c139f}
.pricing-topups-options article span{font-weight:800}
.pricing-topups>small{display:block;margin-top:10px;color:#77689b}
@media(max-width:560px){.pricing-topups-options{grid-template-columns:1fr}.pricing-topups-options article{justify-content:space-between}}
/* Tarifs Devoirio : cartes lisibles, centrées sur mobile et ordinateur. */
.pricing-grid{grid-template-columns:minmax(0,560px);justify-content:center}
/* Deux niveaux de forfait, avec les quotas mis en regard. */
.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center}
@media(max-width:520px){.pricing-grid{grid-template-columns:1fr}}
.pricing-grid article > small{font-size:clamp(18px,2vw,21px);line-height:1.2;letter-spacing:.04em}

.duration-pricing{margin:22px 0 8px;padding:20px;border:2px solid #e4d8f5;border-radius:20px;background:#fff}
.duration-pricing-heading{text-align:center}
.duration-pricing-heading h3{margin:0;color:#3c128e;font-size:clamp(21px,2.5vw,27px);font-weight:900}
.duration-pricing-heading p{margin:5px 0 14px;color:#62578a}
.duration-pricing-scroll{overflow-x:auto}
.duration-pricing-table{width:100%;border-collapse:separate;border-spacing:0;min-width:420px;text-align:center}
.duration-pricing-table th,.duration-pricing-table td{padding:11px 12px;border-bottom:1px solid #ece6f6}
.duration-pricing-table thead th{color:#5b35a1;font-size:14px}
.duration-pricing-table tbody th{color:#351080;text-align:left;font-weight:800}
.duration-pricing-table td strong{display:block;color:#351080;font-size:20px}
.duration-pricing-table td small{display:block;margin-top:2px;color:#6c5b94;font-size:12px}
.duration-pricing-table tbody tr:last-child th,.duration-pricing-table tbody tr:last-child td{border-bottom:0}
@media(max-width:520px){.duration-pricing{padding:15px 12px}.duration-pricing-table th,.duration-pricing-table td{padding:10px 7px}.duration-pricing-table td strong{font-size:18px}}

.plan-name{display:block;margin:0 0 8px;color:#3c128e;font-size:clamp(26px,3vw,32px);font-weight:900;line-height:1.08;letter-spacing:-.02em}
@media(max-width:520px){.plan-name{font-size:27px}}

/* Espace parent : profils sur toute la largeur, même si le navigateur mobile affiche une largeur desktop. */
.parent-profile-list{grid-template-columns:minmax(0,1fr);min-width:0}
#parentProfileList .parent-profile{width:100%;min-width:0;grid-template-columns:48px minmax(0,1fr) auto}
#parentProfileList .parent-profile>div{min-width:0}
