@charset "UTF-8";
:root{--navy:#102d59;--blue:#086ccc;--cream:#fff8e7;--muted:#5c6c82;--line:#dce5ef;--yellow:#ffd658;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--navy);background:#fcfdff;font-family:"Trebuchet MS",Arial,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e89900;outline-offset:4px}[hidden]{display:none!important}.shell{width:min(1220px,calc(100% - 64px));margin:auto}.header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:110px}.brand{display:block;width:205px;flex-shrink:0}.brand img{display:block;width:100%;height:auto}.header nav{display:flex;align-items:center;gap:30px;font-size:15px;font-weight:bold}.header nav>a:hover,.text-link:hover{color:var(--blue)}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:var(--blue);color:#fff;border:0;border-radius:12px;padding:14px 23px;font-weight:bold;font-size:15px;min-height:49px;transition:background .15s,transform .15s}.button:hover{background:#0755a0;color:white;transform:translateY(-2px)}.button.small{padding:10px 17px;min-height:44px}.button.light{background:white;color:var(--navy)}.text-link{color:var(--blue);font-weight:bold;font-size:15px}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:30px;align-items:center;padding:60px 0 36px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1.8px;color:var(--blue);margin:0 0 17px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,3.5vw,49px);line-height:1.16;letter-spacing:-1.7px;margin-bottom:23px}h1 span{color:var(--blue)}h2{font-size:29px;line-height:1.25;letter-spacing:-.6px;margin-bottom:17px}h3{font-size:20px;line-height:1.35}.hero-description{font-size:18px;max-width:535px;color:var(--muted);line-height:1.8}.hero-actions{display:flex;align-items:center;gap:24px;margin:28px 0 17px}.quiet{font-size:14px;color:var(--muted)}.hero-visual{position:relative;background:#ecf7ff;border-radius:48% 46% 40% 40%;min-height:385px;display:flex;align-items:center;justify-content:center}.hero-visual img{width:310px;height:310px;object-fit:contain;mix-blend-mode:multiply;transform:rotate(-6deg);margin-right:45px}.sun{position:absolute;right:38px;top:8px;font-size:76px;color:#efb724;line-height:1}.hero-note{position:absolute;right:0;bottom:50px;background:var(--yellow);font-size:17px;line-height:1.5;padding:17px 19px;transform:rotate(5deg);border-radius:3px;box-shadow:0 5px 0 #e9bd42}.section{padding:35px 0 38px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:24px}.section-heading h2,.section-heading p{margin-bottom:0}.section-heading .eyebrow{margin-bottom:10px}.section-heading>p{font-size:15px;color:var(--muted)}.levels{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.level-link{position:relative;display:flex;flex-direction:column;padding:23px 17px;border-radius:15px;min-height:140px;background:var(--tint);transition:transform .15s}.level-link:hover{transform:translateY(-4px)}.level-link strong{font-size:27px;line-height:1.3}.level-link span{font-size:13px;margin-top:10px;max-width:130px}.level-link b{position:absolute;right:12px;top:13px;color:var(--accent)}.maternelle{--tint:#e3f5ee;--accent:#21785a}.cp{--tint:#fff1bf;--accent:#967000}.ce1{--tint:#ddf2ff;--accent:#0866a3}.ce2{--tint:#e9f4d8;--accent:#467e23}.cm1{--tint:#eee5fd;--accent:#7545a9}.cm2{--tint:#ffe6e8;--accent:#bf4056}.exercise-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.exercise-card{display:flex;flex-direction:column;min-height:225px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;transition:border-color .15s,transform .15s}.exercise-card:hover{border-color:#8bbbe8;transform:translateY(-3px)}.card-meta{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin-bottom:22px}.level-tag{display:inline-block;background:var(--tint);color:var(--accent);font-size:12px;font-weight:bold;padding:4px 10px;border-radius:7px;white-space:nowrap}.exercise-card h3{font-size:20px;margin-bottom:14px}.exercise-card p{font-size:12px;color:var(--muted);margin-bottom:22px}.card-bottom{margin-top:auto;display:flex;justify-content:space-between;font-weight:bold;color:var(--blue);font-size:14px}.paper-banner{display:grid;grid-template-columns:1.4fr 1fr;gap:80px;background:var(--cream);border-radius:25px;padding:45px 60px;margin:35px 0 55px;overflow:hidden}.paper-banner h2{font-size:34px}.paper-banner p{max-width:520px;color:var(--muted)}.paper-preview{background:white;transform:rotate(5deg);padding:24px 30px;max-width:290px;box-shadow:0 12px 30px #8b77491c;border:1px solid #eee8dc;border-radius:4px;margin-bottom:-70px}.paper-preview>span{font-size:10px;letter-spacing:2px}.paper-preview h3{margin:22px 0}.fraction-demo{display:flex;height:60px;border:2px solid var(--navy)}.fraction-demo i{flex:1;border-right:1px solid var(--navy)}.fraction-demo i:first-child{background:#80c591}.paper-preview p{font-size:12px;margin-top:20px}.paper-lines{height:110px;background:repeating-linear-gradient(white,white 24px,#dae2ee 25px,#dae2ee 26px)}.follow-banner{display:flex;justify-content:space-between;align-items:center;gap:35px;background:var(--navy);color:white;padding:38px 42px;border-radius:22px;margin-bottom:70px}.follow-banner p{max-width:680px;margin-bottom:0;color:#d8e5f7}.follow-banner h2{font-size:27px}.follow-banner .button{flex-shrink:0}footer{background:#edf3f9;padding:48px 0 20px;margin-top:65px}.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-brand{font-size:31px;font-weight:bold;letter-spacing:-1px}.footer-brand span{color:#df6371}.footer-top p{font-size:14px;color:var(--muted);margin-top:10px}.footer-top>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px}.footer-top strong{margin-bottom:5px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #d5dfeb;margin-top:35px;padding-top:20px;font-size:12px;color:var(--muted)}.page-intro{padding:50px 0 25px;max-width:940px}.page-intro h1{font-size:41px}.page-intro>p:last-child{color:var(--muted);font-size:18px}.filters{display:flex;align-items:flex-end;gap:16px;background:#edf4fb;padding:23px;border-radius:17px}.filters label{flex:1}.filters .search-label{flex:1.6}label{display:flex;flex-direction:column;gap:7px;font-weight:bold;font-size:14px}input,select{min-width:0;width:100%;padding:12px 13px;border:1px solid #becbdd;border-radius:9px;background:white;color:var(--navy);font-size:15px}.result-count{font-size:14px;color:var(--muted);margin:25px 0}.resource-list{display:flex;flex-direction:column;gap:16px}.resource{display:flex;align-items:center;justify-content:space-between;gap:25px;background:white;border:1px solid var(--line);padding:25px 28px;border-radius:16px}.resource h2{font-size:22px;margin:10px 0}.resource p{font-size:14px;color:var(--muted);margin-bottom:0}.resource-actions{display:flex;flex-direction:column;gap:12px;align-items:center;flex-shrink:0}.lesson-resource p{font-size:16px;margin-bottom:18px;max-width:940px}.exercise-intro h1{font-size:40px}.exercise-layout{display:grid;grid-template-columns:1fr 320px;gap:30px}.quiz{padding:32px;border:1px solid var(--line);border-radius:22px;background:#fff;min-height:480px}.quiz-top{display:flex;justify-content:space-between;font-size:14px;gap:10px;margin-bottom:13px}.quiz-top span:first-child{font-weight:bold}progress{height:10px;width:100%;appearance:none;border:0;border-radius:8px;background:#e5edf5;overflow:hidden}progress::-webkit-progress-bar{background:#e5edf5;border-radius:8px}progress::-webkit-progress-value{background:#43966a;border-radius:8px}progress::-moz-progress-bar{background:#43966a}#question-prompt{margin-top:35px;font-size:25px;line-height:1.4}.fraction-strip{display:flex;border:2px solid var(--navy);height:90px;width:min(350px,100%);margin:25px auto}.fraction-strip span{flex:1;border-right:1px solid var(--navy)}.fraction-strip span:last-child{border:0}.fraction-strip .colored{background:#76bd86}.dots{display:flex;flex-wrap:wrap;gap:14px;max-width:260px;margin:25px auto}.dots span{width:30px;height:30px;background:#438ad7;border-radius:50%}#choices{border:0;padding:0;margin:28px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.choice{position:relative;cursor:pointer}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:flex;align-items:center;justify-content:center;text-align:center;border:2px solid #dbe5f1;border-radius:13px;padding:18px 10px;min-height:76px;background:#f9fbfe;line-height:1.4;font-size:17px}.choice input:checked+span{border-color:var(--blue);background:#e7f3ff}.choice input:focus-visible+span{outline:3px solid #e89900;outline-offset:3px}.choice input:disabled+span{cursor:default}.feedback{padding:20px;border-radius:13px;margin:20px 0}.feedback strong{font-size:20px}.feedback p{margin:8px 0 0}.correct{background:#e5f4e9;color:#1a6940}.incorrect{background:#fff1d6;color:#694808}.exercise-aside>div{padding:25px;border-radius:17px;margin-bottom:20px}.exercise-aside h2{font-size:21px}.exercise-aside p{font-size:15px}.lesson-box{background:var(--cream)}.download-box{background:#eaf4ff}.download-box .button{font-size:13px;width:100%;padding:12px 9px}.download-box .text-link{display:block;text-align:center;margin-top:15px;font-size:13px}.favorite-button{border:1px solid var(--line);border-radius:10px;padding:12px 16px;background:white;color:var(--navy);font-size:14px;width:100%}#quiz-result{padding:35px 0}#quiz-result .text-link{display:block;margin-top:20px}.auth{display:grid;grid-template-columns:1fr 440px;gap:90px;max-width:1060px;margin:65px auto}.auth h1{font-size:42px}.auth>div>p{color:var(--muted)}.auth img{mix-blend-mode:multiply;display:block;margin:30px auto;transform:rotate(-8deg)}.auth-form{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;display:flex;flex-direction:column;gap:18px}.auth-form h2{font-size:25px;margin-bottom:0}.field-help{font-size:12px;color:var(--muted);margin:-10px 0 0}.error{padding:13px;background:#fff0ef;color:#a83330;border-radius:9px;font-size:14px;margin:0}.notice{padding:18px;background:#e5f4e9;color:#1a6940;border-radius:12px;margin-top:25px}.dashboard-greeting{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#eaf4ff;border-radius:23px;padding:35px 40px;margin:40px 0 25px}.dashboard-greeting h1{font-size:36px;margin-bottom:14px}.dashboard-greeting p:last-child{margin:0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:45px}.stats>div{padding:23px;border-bottom:2px solid var(--line)}.stats strong{display:block;font-size:34px}.stats span{color:var(--muted);font-size:14px}.dashboard-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:45px}.dashboard-columns h2{font-size:25px}.history-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.history-row strong{font-size:15px}.history-row span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.history-row b{color:var(--blue);white-space:nowrap}.progress-panel{background:#f0f6ed;border-radius:20px;padding:27px}.subject-progress{margin:22px 0}.subject-progress>div{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:7px}.progress-panel h3{margin-top:28px}.progress-panel>p:last-child{font-size:14px}.account-settings{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#eef4fa;padding:23px;border-radius:16px}.account-settings>form:first-child{display:flex;align-items:flex-end;gap:14px}.prose{max-width:780px;min-height:400px;margin:60px auto}.prose h1{font-size:41px}.prose h2{font-size:25px;margin-top:35px}.prose p{color:var(--muted);font-size:17px}.empty{padding:30px;background:#eef4fa;border-radius:14px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.hero{padding-top:75px}}@media(max-width:1000px){.shell{width:calc(100% - 40px)}.header nav{gap:18px;font-size:13px}.brand{width:170px}.hero{grid-template-columns:1.2fr 1fr}.hero h1{font-size:37px}.hero-visual{min-height:320px}.hero-visual img{width:250px;height:250px}.hero-note{font-size:14px;padding:13px}.levels{grid-template-columns:repeat(3,1fr)}.level-link{min-height:120px}.exercise-grid{grid-template-columns:repeat(3,1fr)}.paper-banner{gap:40px;padding:35px}.exercise-layout{grid-template-columns:1fr 280px;gap:20px}.quiz{padding:23px}.auth{gap:35px;grid-template-columns:1fr 400px}.filters{flex-wrap:wrap}.filters label{min-width:170px}}@media(max-width:720px){.shell{width:calc(100% - 32px)}.header-inner{min-height:85px;flex-wrap:wrap;gap:0}.brand{width:150px}.menu-toggle{display:block;background:#edf4fb;border:0;padding:10px 14px;border-radius:9px;color:var(--navy);font-size:14px}.header nav{display:none;width:100%;padding:20px 0;flex-direction:column;align-items:stretch;gap:20px}.header nav.open{display:flex}.hero{display:flex;flex-direction:column;padding:35px 0 15px;gap:20px}.hero h1{font-size:36px;letter-spacing:-1.3px}.hero-description{font-size:16px}.hero-actions{flex-wrap:wrap;gap:17px;margin-top:23px}.hero-visual{width:100%;min-height:280px;max-width:400px}.hero-visual img{width:235px;height:235px}.sun{font-size:60px;right:25px}.hero-note{right:5px;bottom:35px}.eyebrow{font-size:10px;letter-spacing:1.3px}.section{padding:30px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:27px}.section-heading>p{display:none}.levels{grid-template-columns:repeat(2,1fr);gap:10px}.level-link{padding:17px;min-height:108px}.level-link strong{font-size:24px}.exercise-grid{grid-template-columns:repeat(2,1fr);gap:12px}.exercise-card{padding:17px;min-height:225px}.card-meta{flex-wrap:wrap;gap:5px;margin-bottom:16px}.exercise-card h3{font-size:17px}.exercise-card p{font-size:11px}.paper-banner{grid-template-columns:1fr;padding:28px 24px;gap:30px;margin:25px 0 35px}.paper-banner h2{font-size:29px}.paper-preview{display:none}.follow-banner{flex-direction:column;align-items:flex-start;padding:28px 24px;margin-bottom:35px}.follow-banner h2{font-size:26px}.footer-top{grid-template-columns:1fr 1fr;gap:30px}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px}footer{margin-top:40px;padding-top:35px}.page-intro{padding-top:35px}.page-intro h1,.exercise-intro h1{font-size:32px;letter-spacing:-1px}.page-intro>p:last-child{font-size:16px}.filters{padding:17px;gap:12px}.filters label{min-width:120px}.filters .search-label{flex-basis:100%}.filters .button{width:100%}.resource{flex-direction:column;align-items:stretch;padding:23px}.resource-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:18px}.resource h2{font-size:20px}.exercise-layout{grid-template-columns:1fr}.quiz{padding:21px;min-height:420px}#question-prompt{font-size:22px;margin-top:28px}#choices{gap:8px;grid-template-columns:1fr}.choice span{min-height:55px;padding:14px;font-size:16px}.quiz-top{font-size:12px}.exercise-aside{display:grid;grid-template-columns:1fr;gap:0}.auth{grid-template-columns:1fr;gap:15px;margin:35px auto}.auth h1{font-size:34px}.auth img{display:none}.auth-form{padding:24px}.dashboard-greeting{flex-direction:column;align-items:flex-start;padding:27px;margin-top:30px}.dashboard-greeting h1{font-size:31px}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:30px}.stats>div{padding:15px}.stats strong{font-size:29px}.stats span{font-size:12px}.dashboard-columns{grid-template-columns:1fr;gap:30px}.account-settings{flex-direction:column;align-items:stretch}.account-settings>form:first-child{flex-wrap:wrap}.prose{margin:35px auto}.prose h1{font-size:32px}.prose p{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Navigation pédagogique, leçons et espace personnel. */
.skip-link{position:absolute;left:16px;top:-100px;z-index:99;background:#fff;padding:12px;border:2px solid #086ccc;border-radius:10px}.skip-link:focus{top:12px}.breadcrumbs{padding:22px 0 0;color:#5c6c82;font-size:12px}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;margin:0;padding:0}.breadcrumbs li:not(:last-child)::after{content:'›';margin-left:12px;color:#8c9bb0}.breadcrumbs a:hover{color:#086ccc}.subject-nav,.topic-nav,.section-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 25px}.subject-nav a{padding:10px 15px;border:1px solid #dce5ef;border-radius:10px;font-size:14px;background:white}.subject-nav a.active,.subject-nav a:hover{background:#102d59;border-color:#102d59;color:#fff}.topic-nav a{font-size:14px;color:#086ccc;border-bottom:1px solid #bdd8ee;padding:6px 10px}.section-nav{background:#e3f5ee;padding:12px;border-radius:13px}.section-nav a{font-size:14px;padding:8px 14px;border-radius:8px}.section-nav .active{background:white;font-weight:bold}.pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:35px 0}.pagination a{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:44px;border:1px solid #dce5ef;border-radius:9px;background:#fff}.pagination [aria-current]{background:#102d59;color:#fff;border-color:#102d59}.level-editorial{max-width:850px;margin:50px auto 25px;border-top:1px solid #dce5ef;padding-top:35px}.level-editorial p{color:#5c6c82;line-height:1.9}.level-editorial h3{margin-top:28px}.lesson-page{max-width:900px;margin:auto}.lesson-body{max-width:780px;margin:auto}.lesson-body section{padding:20px 0}.lesson-body p{font-size:18px;line-height:1.9;color:#5c6c82}.lesson-body .worked-example{background:#fff8e7;padding:28px 32px;border-radius:18px;margin:15px 0 25px}.worked-example p:last-child{margin-bottom:0;color:#102d59}.lesson-body .text-link{display:inline-block;margin:20px}.reading-text{background:#f1f6fb;border-radius:14px;padding:22px;margin:25px 0}.reading-text h2{font-size:18px}.reading-text p{font-size:17px;line-height:1.9;margin-bottom:0}.exercise-objectives{padding:28px 0;border-bottom:1px solid #dce5ef;margin-top:22px;max-width:820px}.exercise-objectives h2{font-size:23px}.exercise-objectives p{color:#5c6c82}.paper-questions{padding:23px;background:#edf4fb;border-radius:17px;margin:20px 0 40px}.paper-questions summary{cursor:pointer;font-weight:bold;font-size:15px}.paper-questions article{margin:25px 0;padding-bottom:15px;border-bottom:1px solid #dce5ef}.paper-questions h3{font-size:17px}.paper-questions p{font-size:14px}.faq-item{padding:22px 0;border-bottom:1px solid #dce5ef}.faq-item summary{font-size:18px;font-weight:bold;cursor:pointer}.faq-item p{margin:18px 0 0;font-size:16px}.account-advanced{margin:25px 0 45px;border:1px solid #dce5ef;padding:24px;border-radius:16px}.account-advanced summary{font-weight:bold;cursor:pointer}.account-advanced form{max-width:550px;padding:25px 0}.account-advanced label{margin-bottom:15px}.account-advanced p{font-size:14px;color:#5c6c82}.danger-button{background:#a33132;color:white;border:0;padding:12px 18px;border-radius:10px;min-height:44px}.recovery-notice{background:#fff1bf;padding:28px;border-radius:18px;margin-top:30px}.recovery-notice h2{font-size:23px}.recovery-notice code{display:block;overflow-wrap:anywhere;font-size:22px;padding:16px;background:white;border-radius:10px;letter-spacing:2px}.recovery-notice p{font-size:14px}.auth-form .quiet{font-size:12px}.empty{grid-column:1/-1}.brand img{aspect-ratio:410/231}.hero-visual img{aspect-ratio:1/1}.auth img{aspect-ratio:1/1}#question-visual{min-height:15px}.lesson-resource .text-link{margin-top:15px}.exercise-intro .eyebrow{margin-bottom:12px}.page-intro>.eyebrow a{font-size:12px}summary:focus-visible{outline:3px solid #e89900;outline-offset:4px}@media(max-width:720px){.breadcrumbs{font-size:11px;line-height:1.8}.breadcrumbs ol{gap:5px 8px}.breadcrumbs li:not(:last-child)::after{margin-left:8px}.subject-nav{gap:8px}.subject-nav a{font-size:13px;padding:9px 11px}.lesson-body p{font-size:16px}.lesson-body .worked-example{padding:23px}.lesson-body .text-link{margin:18px 0;display:block}.reading-text{padding:18px}.reading-text p{font-size:16px}.recovery-notice{padding:22px}.recovery-notice code{font-size:18px}.level-editorial{margin-top:30px}.paper-questions{padding:19px}.faq-item summary{font-size:17px}}
@media print{.header,footer,.button,.filters,.subject-nav,.topic-nav,.section-nav,.account-settings{display:none!important}.shell{width:100%}.lesson-page,.prose{max-width:100%;margin:0}body{background:white;font-size:12pt;color:#000}a{color:#000}.lesson-body p{font-size:12pt}.lesson-body section{break-inside:avoid}}

#choices.numeric-choices{display:block;max-width:330px}.numeric-choices input{font-size:27px;min-height:66px;margin-top:7px;padding:13px 17px}.numeric-choices .quiet{font-size:13px;margin:10px 0 0}

.clock-face{display:block;max-width:100%;height:auto;margin:12px auto 20px}
.time-course-entry{padding:22px 0;margin:16px 0 24px;border-block:1px solid #dce5ed}.time-course-entry h2{margin:0 0 8px}.time-course-entry p{max-width:760px;margin:0 0 12px}

#question-visual.clock-visual{min-height:312px}

.course-attempt{display:block;margin:4px 0 12px;color:#53657b}.course-guidance{border-left:3px solid #0875c9;padding-left:16px}

.subtraction-layout{display:block;max-width:100%;height:auto;margin:16px auto}.question-hint{margin:16px 0;color:#24486c}.question-hint summary{cursor:pointer;font-weight:700}.question-hint p{padding:12px 16px;background:#f0f6fc;border-left:3px solid #0875c9}.question-hint[hidden]{display:none}

.subtraction-visual{min-height:152px}

.addition-multi-visual{min-height:189px}

.blog-intro{max-width:790px;margin:64px 0 46px}.blog-intro h1,.blog-article h1{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-1.1px}.blog-index{max-width:920px}.blog-topics,.admin-nav{display:flex;flex-wrap:wrap;gap:20px;margin:24px 0 36px}.blog-row{border-top:1px solid #d7e2ed;padding:30px 0;max-width:800px}.blog-row h2{font-size:29px;line-height:1.25;margin:8px 0}.blog-row h2 a{color:#173356;text-decoration:none}.blog-row h2 a:hover{text-decoration:underline}.blog-article{max-width:800px;margin:60px auto}.blog-lead{font-size:21px;line-height:1.6}.blog-body{font-size:18px;line-height:1.8}.blog-body h2{margin:42px 0 14px;font-size:28px;line-height:1.25}.blog-cover{width:100%;height:auto;border-radius:12px;margin:24px 0}.article-resources{border-left:3px solid #1475b9;padding:8px 24px;margin:40px 0}.article-resources li{margin:12px 0}.admin-page{margin:48px auto;max-width:1000px}.admin-form{max-width:780px;display:grid;gap:18px}.admin-form label{display:grid;gap:6px;font-weight:650}.admin-form input,.admin-form select,.admin-form textarea{width:100%;padding:12px;border:1px solid #bdcede;border-radius:7px;font:inherit;background:white;color:#183451}.admin-form textarea{font-weight:400;line-height:1.6;resize:vertical}.admin-form .button{justify-self:start}.admin-nav form{margin-left:auto}.text-button{background:none;border:0;text-decoration:underline;color:#1a639e;font:inherit;cursor:pointer;padding:0}.admin-articles article{padding:22px 0;border-top:1px solid #d7e2ed}.admin-articles form{display:inline-block;margin-left:20px}.admin-metrics{display:flex;flex-wrap:wrap;gap:30px;padding:20px 0;border-block:1px solid #d7e2ed}.admin-metrics dd{margin:0;font-size:32px;font-weight:750}.lesson-example{padding:18px 0;border-bottom:1px solid #d7e2ed}.lesson-example:last-child{border-bottom:0}.lesson-body li{margin-bottom:12px}.lesson-body details{border-left:3px solid #1978bf;padding:12px 18px;background:#eff6fc}.lesson-body summary{cursor:pointer;font-weight:700}

.lesson-operation{font:25px/1.5 ui-monospace,Consolas,monospace;display:table;padding:14px 24px;margin:20px 0;color:#183451;background:#f5f9fd;border-radius:8px}.lesson-dots{font-size:25px;color:#196aaf}.lesson-body svg{max-width:100%;display:block;margin:20px 0}

.blog-row.has-image{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:center}.blog-thumb{display:block}.blog-thumbnail{width:100%;height:auto;border-radius:10px;display:block}.blog-row h2{font-size:26px}.blog-row .eyebrow{margin-top:0}@media(max-width:680px){.blog-row.has-image{grid-template-columns:1fr;gap:16px}.blog-thumbnail{max-width:600px}}

.lesson-summary{border-block:1px solid #d7e2ed;padding:12px 0;margin:0 0 30px}.lesson-summary ul{columns:2;list-style:none;padding:0}.lesson-summary li{break-inside:avoid;margin:8px 0}.lesson-summary a{text-decoration:underline;text-underline-offset:3px}.lesson-audio{margin:15px 0}@media(max-width:680px){.lesson-summary ul{columns:1}}

/* Pages d'information : lecture continue et repères latéraux. */
.institutional-page{margin:58px auto 65px;max-width:1120px}.institutional-intro{max-width:870px;margin-bottom:45px}.institutional-intro h1{font-size:clamp(32px,4.2vw,54px);line-height:1.12;letter-spacing:-1px;margin:14px 0 24px}.institutional-lead{font-size:21px;line-height:1.65;color:#53657b;max-width:790px}.institutional-layout{display:grid;grid-template-columns:minmax(0,740px) 240px;gap:70px;align-items:start}.institutional-copy{max-width:790px;font-size:17px;line-height:1.85}.institutional-copy section{margin:0 0 35px}.institutional-copy h2{font-size:25px;line-height:1.3;margin:0 0 15px}.institutional-copy p{margin:0 0 18px;color:#53657b}.institutional-copy a:not(.button),.institutional-aside a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b3d1e8}.institutional-copy a:hover,.institutional-aside a:hover{color:#086ccc}.institutional-aside{padding:24px 0 0;border-top:3px solid #ffd658;font-size:15px;line-height:1.7}.institutional-aside img{display:block;width:180px;height:auto;margin:0 0 20px}.institutional-aside h2{font-size:20px;line-height:1.3}.institutional-aside p{color:#53657b;margin:14px 0}.institutional-aside a{color:#102d59}.editorial-note{border-left:3px solid #086ccc;padding-left:20px;margin-top:35px!important}.faq-groups section{margin-bottom:40px}.faq-groups h2{margin-bottom:4px}.faq-groups .faq-item{padding:18px 0}.contact-address{overflow-wrap:anywhere;margin-top:12px!important}.footer-brand{display:block!important;font-size:inherit!important;width:245px;max-width:100%}.footer-brand img{display:block;width:100%;height:auto;aspect-ratio:410/231}.footer-identity p{max-width:310px}.footer-top nav{display:flex;flex-direction:column;align-items:flex-start}.footer-top nav a{display:block}
@media(max-width:900px){.institutional-layout{grid-template-columns:minmax(0,1fr);gap:35px}.institutional-aside{max-width:600px}.institutional-aside img{width:140px}.institutional-page{margin-top:38px}.institutional-intro{margin-bottom:32px}}@media(max-width:600px){.institutional-lead{font-size:18px}.institutional-copy{font-size:16px}.institutional-copy h2{font-size:23px}.footer-brand{width:210px}}

/* Maternelle : un univers illustré et des progressions regroupées. */
.maternal-sample{font-size:44px;font-weight:bold;line-height:1.5;color:#1677ba;text-align:center;letter-spacing:3px}
.maternelle-design{background:#fbfdff}.maternelle-design .header{border-bottom:3px solid #a6ddff}.maternelle-design h1,.maternelle-design h2{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900;letter-spacing:-.8px}.maternal-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;margin:20px 0 40px;background:#e5f6ff;min-height:355px}.maternal-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.maternal-hero>div{padding:40px;max-width:690px}.maternal-hero h1{font-size:clamp(32px,3.4vw,46px);line-height:1.13;text-shadow:0 2px 0 #fff}.maternal-hero h1 span{color:#0878c7}.maternal-hero p:not(.eyebrow){max-width:510px;font-size:17px;line-height:1.7}.maternal-sections{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.maternal-sections a{padding:18px 20px;background:#edf6ff;border:2px solid transparent;border-radius:15px;transition:transform .15s,box-shadow .15s}.maternal-sections a:hover{transform:translateY(-3px)}.maternal-sections strong,.maternal-sections span{display:block}.maternal-sections strong{font-size:21px}.maternal-sections span{font-size:13px}.maternal-sections .ps{background:#fff0b0}.maternal-sections .ms{background:#daf3ff}.maternal-sections .gs{background:#e7f7cd}.maternal-sections [aria-current]{border-color:#1075c4;box-shadow:0 4px 0 #c9e7fa}.maternal-domains{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.maternal-domains a{border-radius:30px;padding:10px 17px;background:white;border:1px solid #ccdeef;font-size:14px;font-weight:bold}.maternal-domains [aria-current]{background:#076fbc;color:white;border-color:#076fbc}.maternal-search{display:flex;align-items:center;gap:14px;border-block:1px solid #dce9f2;padding:20px 0}.maternal-search label{font-weight:bold}.maternal-search input{flex:1;min-width:0;padding:10px 15px;border:1px solid #c3d9eb;border-radius:12px}.maternal-family{display:grid;grid-template-columns:240px 1fr;gap:30px;padding:26px 0 30px;border-bottom:1px solid #d8e7f2}.maternal-preview{background:#edf8ff;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;padding:16px;overflow:hidden}.maternal-family:nth-child(3n+2) .maternal-preview{background:#fff5d6}.maternal-family:nth-child(3n) .maternal-preview{background:#edf8e4}.maternal-preview img{object-fit:contain;mix-blend-mode:multiply}.maternal-preview span{font-size:14px;font-weight:bold;margin-top:18px}.maternal-family-copy h2{font-size:26px;margin:0 0 8px}.maternal-family-copy .eyebrow{font-size:11px;margin:0 0 10px;letter-spacing:1px}.maternal-family-copy>p:not(.eyebrow){color:#4a627a;margin:0 0 16px}.maternal-stages{display:flex;gap:10px;margin:12px 0 18px}.maternal-stages a{flex:1;min-width:0;padding:12px 16px;border:1px solid #c8def0;border-radius:12px;background:white;transition:box-shadow .15s,transform .15s}.maternal-stages a:hover{box-shadow:0 5px 12px #16446613;transform:translateY(-2px)}.maternal-stages span,.maternal-stages strong,.maternal-stages small{display:block}.maternal-stages span{font-size:12px;color:#5c7287}.maternal-stages strong{font-size:19px;color:#0868b1}.maternal-stages small{font-size:12px;margin-top:5px}.maternal-stages a:nth-child(1){border-top:4px solid #84c62f}.maternal-stages a:nth-child(2){border-top:4px solid #21a8ec}.maternal-stages a:nth-child(3){border-top:4px solid #aa70e8}.maternal-stages [aria-current]{background:#eef8ff;border-color:#0878c7}.maternal-lesson-link{font-size:13px;font-weight:bold;color:#0868b1}.maternal-adult{display:flex;align-items:center;gap:35px;padding:32px;margin:40px 0 50px;background:#fff6dc;border-radius:20px}.maternal-adult>div{flex:1}.maternal-adult h2{font-size:27px}.maternal-adult p{max-width:720px}.maternal-adult .button{max-width:270px}.preschool-scene{display:block;width:100%;height:auto;max-width:600px;margin:15px auto}.maternal-preview .preschool-scene{width:100%;margin:0}.maternal-exercise-intro{padding:30px 34px;background:#e5f5ff;border-radius:20px;border-left:7px solid #ffcf2f;margin:20px 0}.maternal-exercise-intro h1{font-size:clamp(28px,3vw,40px);max-width:1000px}.maternal-exercise-intro p:last-child{margin:0}.maternelle-design .quiz{border:1px solid #c3e2f5;box-shadow:0 5px 18px #1476b809}.maternelle-design .choice{background:#f4faff;border:2px solid #c8e4f6;min-height:68px;font-size:20px}.maternelle-design .choice:has(input:checked){background:#eff9df;border-color:#75b92c}.maternelle-design #question-visual{min-height:80px}.maternelle-design .lesson-box{background:#fff7d9}.maternelle-design .download-box{background:#eaf7ff}
@media(max-width:850px){.maternal-hero>div{max-width:64%;padding:28px}.maternal-hero h1{font-size:33px}.maternal-hero p:not(.eyebrow){font-size:15px}.maternal-hero{min-height:360px}.maternal-sections{grid-template-columns:repeat(2,1fr)}.maternal-family{grid-template-columns:180px 1fr;gap:20px}.maternal-stages a{padding:10px}.maternal-stages strong{font-size:16px}.maternal-adult{display:block}.maternal-search{flex-wrap:wrap}.maternal-search label{width:100%}}
@media(max-width:580px){.maternal-hero{min-height:475px}.maternal-hero>img{object-position:78% bottom;height:200px;top:auto}.maternal-hero>div{max-width:100%;padding:26px 22px;background:linear-gradient(#e8f7ff 80%,#e8f7ff00)}.maternal-hero h1{font-size:31px}.maternal-hero .eyebrow{font-size:10px;letter-spacing:1px}.maternal-sections{gap:9px}.maternal-sections a{padding:13px}.maternal-sections strong{font-size:18px}.maternal-sections span{font-size:11px}.maternal-family{grid-template-columns:1fr;gap:18px;padding:25px 0}.maternal-preview{min-height:150px;max-height:180px}.maternal-preview img{width:95px;height:95px}.maternal-preview .preschool-scene{max-width:400px}.maternal-preview span{margin-top:0}.maternal-family-copy h2{font-size:25px}.maternal-stages{gap:6px}.maternal-stages a{padding:10px 7px}.maternal-stages strong{font-size:14px}.maternal-stages small{font-size:10px}.maternal-exercise-intro{padding:23px 20px}.maternal-adult{padding:24px}.maternal-browser .section-heading{display:block}.maternal-browser .section-heading>p{margin-top:13px}.maternal-domains a{font-size:12px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.maternal-stages a,.maternal-sections a{transition:none}}


/* CP : les mêmes repères visuels, une couleur et des supports propres au niveau. */
.cp-hero>img{z-index:-2}.cp-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eaf7ffee 0%,#eaf7ffcf 40%,#eaf7ff00 67%)}
.cp-design{background:#fffefa}.cp-design .header{border-bottom:3px solid #ffd85b}.cp-design h1,.cp-design h2{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900}.cp-hero{background:#e8f7ff}.cp-hero .eyebrow{color:#14588b}.cp-preview .maternal-sample{font-size:32px;letter-spacing:1px}.cp-preview .lesson-operation{font-size:32px;line-height:1.2;margin:0}.cp-preview .clock-face{max-width:145px;margin:0 auto}.cp-preview .lesson-dots{font-size:23px;overflow-wrap:anywhere}.cp-exercise-intro{background:#fff5d4;border-left-color:#1da2e6}.cp-design .quiz{border:1px solid #d2e6f3;box-shadow:0 5px 18px #1476b809}.cp-design .lesson-box{background:#fff7d9}.cp-design .download-box{background:#eaf7ff}.cp-design .choice{background:#f5faff;border:2px solid #c8e4f6;min-height:64px}.cp-design .choice:has(input:checked){background:#eff9df;border-color:#75b92c}.cp-extra{padding:28px 0;border-block:1px solid #d9e6f1;margin:30px 0}.cp-extra>div{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.cp-extra a{font-weight:bold;color:#0868b1}.cp-families .maternal-family-copy>p:not(.eyebrow){font-size:15px;line-height:1.7;max-width:780px}.cp-design .numeric-choices input{background:#fff;border:2px solid #b8d8eb}.cp-design #question-visual{min-height:55px}
@media(max-width:580px){.cp-extra>div{grid-template-columns:1fr}.cp-preview .maternal-sample{font-size:29px}.cp-preview .clock-face{max-width:115px}}
@media(max-width:580px){.maternal-hero{min-height:0}.maternal-hero>div{padding-bottom:210px;background:none}.maternal-hero>img{height:190px}.cp-hero:before{bottom:190px}}

/* CE2 : rangées de compétences, choix de séries et un cadre plus aéré. */
.ce2-design{background:#fcfefa}.ce2-design .header{border-bottom:3px solid #8cce77}.ce2-design h1,.ce2-design h2{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900}.ce2-hero{background:#eef8ed}.ce2-hero .eyebrow{color:#2c6544}.ce2-hero h1 span{color:#29784d}.ce2-preview{background:#edf7ee}.ce2-preview .clock-face{width:145px;height:145px;margin:auto}.ce2-preview .lesson-operation{font-size:29px;line-height:1.2}.ce2-preview .maternal-sample{font-size:27px}.ce2-families .maternal-family-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;max-width:780px}.ce2-exercise-intro{background:#edf8ef;border-left-color:#56a66b}.ce2-design .quiz{border:1px solid #cddfce;box-shadow:0 6px 24px #24563509}.ce2-design .choice{min-height:64px;background:#f7fbf7;border:2px solid #d4e8d7}.ce2-design .choice:has(input:checked){background:#e7f6d8;border-color:#67ac3c}.ce2-design .lesson-box{background:#fff8db}.ce2-design .download-box{background:#edf8ef}.ce2-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.ce2-stages>div{border-top:3px solid #8bc689;background:#f3f9f1;border-radius:5px;min-width:0}.ce2-stages>div:nth-child(2){border-color:#56a7cf;background:#f0f8fc}.ce2-stages>div:nth-child(3){border-color:#e5b750;background:#fffaec}.ce2-stage-entry{display:flex;flex-direction:column;padding:13px 16px;text-decoration:none!important;color:#234d39}.ce2-stage-entry span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#4c6657}.ce2-stage-entry strong{font-size:17px;line-height:1.4}.ce2-stage-entry small{font-size:12px;color:#567164;margin-top:5px}.ce2-stages .current{outline:2px solid #328153;outline-offset:2px}.ce2-stages details{margin:0 12px 12px;padding-top:7px;border-top:1px solid #d7e6da}.ce2-stages summary{cursor:pointer;font-size:13px;font-weight:bold;color:#265c43}.ce2-stages ul{list-style:none;padding:0;margin:10px 0 0}.ce2-stages li{margin:0 0 9px;line-height:1.5;font-size:13px}.ce2-stages li a{display:block}.ce2-stages li a[aria-current]{font-weight:bold}.ce2-complements{padding:30px 0;border-block:1px solid #d6e5d8;margin:30px 0}.ce2-complements>div{columns:2;column-gap:28px}.ce2-complements details{break-inside:avoid;padding:12px 0;border-bottom:1px solid #dce8df}.ce2-complements summary{cursor:pointer;font-weight:700}.ce2-complements summary small{font-weight:400;color:#617467}.ce2-complements ul{padding-left:20px}.ce2-complements li{line-height:1.6;margin-bottom:8px}.ce2-design .numeric-choices input{background:white;border:2px solid #bad5c2}
@media(max-width:580px){.ce2-hero h1{font-size:28px}.ce2-hero>div{padding-bottom:210px;background:none}.ce2-hero>img{height:190px;top:auto;bottom:0;object-position:80% center}.ce2-stages{gap:7px}.ce2-stage-entry{padding:12px 8px}.ce2-stage-entry strong{font-size:14px}.ce2-stage-entry span,.ce2-stage-entry small{font-size:11px}.ce2-stages details{margin:0 8px 9px}.ce2-stages summary{font-size:11px}.ce2-complements>div{columns:1}.ce2-preview .clock-face{width:120px;height:120px}.ce2-exercise-intro p{font-size:15px;line-height:1.65}}

@media(min-width:581px){.ce2-hero>img{object-position:right center;z-index:-2}.ce2-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8fcf7 0%,#f8fcf7f0 35%,#f8fcf780 58%,transparent 75%);z-index:-1;pointer-events:none}.ce2-hero>div>p:not(.eyebrow){max-width:440px}}

/* CM1 : rangées de compétences, choix de séries et un cadre plus aéré. */
.cm1-design{background:#fdfbff}.cm1-design .header{border-bottom:3px solid #b697df}.cm1-design h1,.cm1-design h2{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900}.cm1-hero{background:#f3ecfc}.cm1-hero .eyebrow{color:#654185}.cm1-hero h1 span{color:#7751a3}.cm1-preview{background:#f1ecfa}.cm1-preview .clock-face{width:145px;height:145px;margin:auto}.cm1-preview .lesson-operation{font-size:29px;line-height:1.2}.cm1-preview .maternal-sample{font-size:27px}.cm1-families .maternal-family-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;max-width:780px}.cm1-exercise-intro{background:#f2ecfb;border-left-color:#9770c5}.cm1-design .quiz{border:1px solid #ded1ed;box-shadow:0 6px 24px #24563509}.cm1-design .choice{min-height:64px;background:#fcf9ff;border:2px solid #e4d7f2}.cm1-design .choice:has(input:checked){background:#eef8df;border-color:#67ac3c}.cm1-design .lesson-box{background:#fff8db}.cm1-design .download-box{background:#f2ecfb}.cm1-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.cm1-stages>div{border-top:3px solid #b497d3;background:#f4f0fa;border-radius:5px;min-width:0}.cm1-stages>div:nth-child(2){border-color:#56a7cf;background:#f0f8fc}.cm1-stages>div:nth-child(3){border-color:#e5b750;background:#fffaec}.cm1-stage-entry{display:flex;flex-direction:column;padding:13px 16px;text-decoration:none!important;color:#513568}.cm1-stage-entry span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#69597a}.cm1-stage-entry strong{font-size:17px;line-height:1.4}.cm1-stage-entry small{font-size:12px;color:#695b7d;margin-top:5px}.cm1-stages .current{outline:2px solid #8961b2;outline-offset:2px}.cm1-stages details{margin:0 12px 12px;padding-top:7px;border-top:1px solid #e2d8ec}.cm1-stages summary{cursor:pointer;font-size:13px;font-weight:bold;color:#674686}.cm1-stages ul{list-style:none;padding:0;margin:10px 0 0}.cm1-stages li{margin:0 0 9px;line-height:1.5;font-size:13px}.cm1-stages li a{display:block}.cm1-stages li a[aria-current]{font-weight:bold}.cm1-complements{padding:30px 0;border-block:1px solid #e2d7ed;margin:30px 0}.cm1-complements>div{columns:2;column-gap:28px}.cm1-complements details{break-inside:avoid;padding:12px 0;border-bottom:1px solid #e5dced}.cm1-complements summary{cursor:pointer;font-weight:700}.cm1-complements summary small{font-weight:400;color:#71647d}.cm1-complements ul{padding-left:20px}.cm1-complements li{line-height:1.6;margin-bottom:8px}.cm1-design .numeric-choices input{background:white;border:2px solid #d2bce9}
@media(max-width:580px){.cm1-hero h1{font-size:28px}.cm1-hero>div{padding-bottom:210px;background:none}.cm1-hero>img{height:190px;top:auto;bottom:0;object-position:80% center}.cm1-stages{gap:7px}.cm1-stage-entry{padding:12px 8px}.cm1-stage-entry strong{font-size:14px}.cm1-stage-entry span,.cm1-stage-entry small{font-size:11px}.cm1-stages details{margin:0 8px 9px}.cm1-stages summary{font-size:11px}.cm1-complements>div{columns:1}.cm1-preview .clock-face{width:120px;height:120px}.cm1-exercise-intro p{font-size:15px;line-height:1.65}}

@media(min-width:581px){.cm1-hero>img{object-position:right center;z-index:-2}.cm1-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fcfaff 0%,#fcfafff0 35%,#fcfaff80 58%,transparent 75%);z-index:-1;pointer-events:none}.cm1-hero>div>p:not(.eyebrow){max-width:440px}}

/* La sélection est neutre ; les couleurs de correction apparaissent après vérification. */
.cm1-design .choice:has(input:checked){background:#f4effb;border-color:#9b7ac5}
.cm1-design .quiz:has(.feedback.correct:not([hidden])) .choice:has(input:checked){background:#edf8e3;border-color:#78ae52}
.cm1-design .quiz:has(.feedback.incorrect:not([hidden])) .choice:has(input:checked){background:#fff7e9;border-color:#d2a352}

/* CM2 : rangées de compétences, choix de séries et un cadre plus aéré. */
.cm2-design{background:#fffaf8}.cm2-design .header{border-bottom:3px solid #de9590}.cm2-design h1,.cm2-design h2{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:900}.cm2-hero{background:#fff0ea}.cm2-hero .eyebrow{color:#893f40}.cm2-hero h1 span{color:#994447}.cm2-preview{background:#fff0ea}.cm2-preview .clock-face{width:145px;height:145px;margin:auto}.cm2-preview .lesson-operation{font-size:29px;line-height:1.2}.cm2-preview .maternal-sample{font-size:27px}.cm2-families .maternal-family-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;max-width:780px}.cm2-exercise-intro{background:#fff0ea;border-left-color:#c66d69}.cm2-design .quiz{border:1px solid #edd2cc;box-shadow:0 6px 24px #24563509}.cm2-design .choice{min-height:64px;background:#fffaf8;border:2px solid #efd6d0}.cm2-design .choice:has(input:checked){background:#eef8df;border-color:#67ac3c}.cm2-design .lesson-box{background:#fff8db}.cm2-design .download-box{background:#fff0ea}.cm2-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.cm2-stages>div{border-top:3px solid #d98b85;background:#fcf0ec;border-radius:5px;min-width:0}.cm2-stages>div:nth-child(2){border-color:#56a7cf;background:#f0f8fc}.cm2-stages>div:nth-child(3){border-color:#e5b750;background:#fffaec}.cm2-stage-entry{display:flex;flex-direction:column;padding:13px 16px;text-decoration:none!important;color:#793c3d}.cm2-stage-entry span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#785453}.cm2-stage-entry strong{font-size:17px;line-height:1.4}.cm2-stage-entry small{font-size:12px;color:#795755;margin-top:5px}.cm2-stages .current{outline:2px solid #b45f5b;outline-offset:2px}.cm2-stages details{margin:0 12px 12px;padding-top:7px;border-top:1px solid #edd5cf}.cm2-stages summary{cursor:pointer;font-size:13px;font-weight:bold;color:#934948}.cm2-stages ul{list-style:none;padding:0;margin:10px 0 0}.cm2-stages li{margin:0 0 9px;line-height:1.5;font-size:13px}.cm2-stages li a{display:block}.cm2-stages li a[aria-current]{font-weight:bold}.cm2-complements{padding:30px 0;border-block:1px solid #ebd5ce;margin:30px 0}.cm2-complements>div{columns:2;column-gap:28px}.cm2-complements details{break-inside:avoid;padding:12px 0;border-bottom:1px solid #eadbd5}.cm2-complements summary{cursor:pointer;font-weight:700}.cm2-complements summary small{font-weight:400;color:#79645e}.cm2-complements ul{padding-left:20px}.cm2-complements li{line-height:1.6;margin-bottom:8px}.cm2-design .numeric-choices input{background:white;border:2px solid #dfbbb1}
@media(max-width:580px){.cm2-hero h1{font-size:28px}.cm2-hero>div{padding-bottom:210px;background:none}.cm2-hero>img{height:190px;top:auto;bottom:0;object-position:80% center}.cm2-stages{gap:7px}.cm2-stage-entry{padding:12px 8px}.cm2-stage-entry strong{font-size:14px}.cm2-stage-entry span,.cm2-stage-entry small{font-size:11px}.cm2-stages details{margin:0 8px 9px}.cm2-stages summary{font-size:11px}.cm2-complements>div{columns:1}.cm2-preview .clock-face{width:120px;height:120px}.cm2-exercise-intro p{font-size:15px;line-height:1.65}}

@media(min-width:581px){.cm2-hero>img{object-position:right center;z-index:-2}.cm2-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fffaf6 0%,#fffaf6f0 35%,#fffaf680 58%,transparent 75%);z-index:-1;pointer-events:none}.cm2-hero>div>p:not(.eyebrow){max-width:440px}}

/* La sélection est neutre ; les couleurs de correction apparaissent après vérification. */
.cm2-design .choice:has(input:checked){background:#fff0e9;border-color:#c57b70}
.cm2-design .quiz:has(.feedback.correct:not([hidden])) .choice:has(input:checked){background:#edf8e3;border-color:#78ae52}
.cm2-design .quiz:has(.feedback.incorrect:not([hidden])) .choice:has(input:checked){background:#fff7e9;border-color:#d2a352}
@media(min-width:581px){.cm2-hero>div>p:not(.eyebrow){max-width:360px}.cm2-hero h1{max-width:420px}}
.cm2-design .choice{border-radius:13px}.cm2-design .choice span,.cm2-design .choice input:checked+span{background:transparent;border:0;min-height:64px}
