/* VÉRITAS · Apprendre — charte de la leçon modèle « Dénombrement » sur TOUTES les pages d'Apprendre
   (16/11/2026, demande de Jacques : « change aussi les polices, icônes dans Apprendre, exactement comme
   dans Dénombrement »). Chargé en DERNIER par les 7 pages (index, matière, leçon, manuel, ressources,
   labo, notes). Polices : Segoe UI (texte), Trebuchet MS 800 (titres). Icônes : tuiles arrondies en
   dégradé de la couleur de la famille, pictogramme blanc ; numéros dans des cercles à halo. */
/* Police d'Apprendre : Roboto (16/11/2026), celle que Jacques voit dans les leçons sur son téléphone et qu'il demande
   de garder (« Garde aussi l'ancienne police », « Conserve ceci »). Hébergée sur le site (licence Apache 2.0,
   assets/polices/ROBOTO-LICENSE.txt) : même rendu sur Android, iPhone et Windows, sans appel à Google Fonts.
   « Poppins » désigne aussi Roboto, pour les feuilles qui la nomment en dur. Graisses 400, 500, 700. */
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/polices/roboto-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/polices/roboto-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/polices/roboto-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/polices/roboto-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/polices/roboto-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/polices/roboto-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/polices/roboto-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/polices/roboto-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/polices/roboto-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--sans:"Roboto","Segoe UI",Roboto,Arial,sans-serif;--serif:"Roboto","Trebuchet MS",system-ui,sans-serif;--vm-titre:"Roboto","Trebuchet MS",system-ui,sans-serif;--vm-corps:"Roboto","Segoe UI",Roboto,Arial,sans-serif;--vm-mag:#B2316E;--vm-gold:#FFC93C}
body{font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
b,strong{font-weight:700}
/* textes des schémas et planches : même police que la page */
figure svg text,.illus svg text,.p3d-svg text{font-family:var(--sans)!important}
body,button,input,select,textarea{font-family:var(--sans)}
h1,h2,h3,.sec-t h2,.bloc h2,.chap h3,.chap-t h3,.acc-g h2,.acc-d h3,.profils-z h2,.res-fam>h2,.tp-gt,.offre-t,.fo-nom,.mat b,.mtete h1,.bandeau h1{font-family:var(--vm-titre)!important;font-weight:700!important;letter-spacing:-.01em}
h1{color:#0C1F55}

/* titres de section : trait dégradé magenta → or, comme les titres du modèle */
.sec-t h2,.res-fam>h2{position:relative;padding-bottom:8px}
.sec-t h2::after{content:"";position:absolute;left:0;bottom:0;width:72px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--vm-mag),var(--vm-gold))}

/* icônes de ressources et tuiles « Tout pour progresser » : tuile en dégradé, pictogramme blanc */
.res-p,.res-sm .res-c .res-p,.porte .res-p,.res-fam>h2 .res-p,.tp-c .res-p{flex:0 0 40px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center;border-radius:12px!important;color:#fff!important;background:linear-gradient(145deg,color-mix(in srgb,var(--k,#13307A) 62%,#fff),var(--k,#13307A))!important;box-shadow:0 5px 12px color-mix(in srgb,var(--k,#13307A) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.35);padding:0!important}
.res-sm .res-c .res-p{background:linear-gradient(145deg,color-mix(in srgb,var(--sk,#13307A) 62%,#fff),var(--sk,#13307A))!important}
.res-p svg,.tp-i svg{width:21px!important;height:21px!important;stroke:#fff}
.tp-i{flex:0 0 46px!important;width:46px!important;height:46px!important;border-radius:14px!important;border:0!important;opacity:1!important;display:grid!important;place-items:center;color:#fff!important;background:linear-gradient(145deg,color-mix(in srgb,var(--k,#13307A) 62%,#fff),var(--k,#13307A))!important;box-shadow:0 6px 14px color-mix(in srgb,var(--k,#13307A) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.35)!important}
.res-c strong,.res-c b,.tp-c b,.tp-t b{font-family:var(--vm-titre);font-weight:600}

/* matière : numéro de chapitre en tuile, numéro de leçon en cercle à halo */
.chap-n{border-radius:14px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--k) 62%,#fff),var(--k))!important;font:600 20px var(--vm-titre)!important;box-shadow:0 6px 14px color-mix(in srgb,var(--k) 30%,transparent),inset 0 1px 0 rgba(255,255,255,.35);position:relative}
.chap-n::after{content:"";position:absolute;right:-3px;top:-3px;width:12px;height:12px;border-radius:50%;background:var(--vm-gold);border:2px solid #fff}
.chap-t h3{font-size:19px!important}
.lg .n{font:600 13px var(--vm-titre)!important;background:#fff!important;border:2px solid var(--k)!important;color:var(--k)!important;box-shadow:0 0 0 3px var(--kp)}
.lg.r .n{background:var(--k)!important;color:#fff!important}
.lg .t{font-size:15.5px}

/* boutons et pastilles : même graisse que les boutons du modèle */
.btn-l,.filtres button,.top-nav a,.offre .fo-btn,.voir-plus,.go{font-weight:700}

/* cartes de matière : nom de matière en titre du modèle */
.mat b{font-size:17px}
/* l'ancienne règle « sobriété » (14/11) grisait et estompait ces icônes : la tuile du modèle prime */
.res-p,.res-sm .res-c .res-p,.res-fam>h2 .res-p,.porte .res-p,.tp-i{opacity:1!important;border:0!important;margin-top:0!important}
.res-c .res-p svg,.porte .res-p svg,.res-fam>h2 .res-p svg,.res-sm .res-c .res-p svg,.tp-c .res-p svg,.tp-i svg,.res-p .si,.tp-i .si{color:#fff!important;stroke:#fff!important;width:21px!important;height:21px!important}
.res-c{align-items:flex-start}
.res-c:hover .res-p,.tp-c:hover .tp-i{transform:translateY(-1px) scale(1.04)}
.res-p,.tp-i{transition:transform .18s ease}
/* spécificité renforcée : les cartes .res-c portaient encore « background:none » (règles 14/11) */
html body .res-c .res-p,html body .res-sm .res-c .res-p,html body .porte .res-p,html body .res-fam>h2 .res-p,html body .tp-c .res-p{flex:0 0 40px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center;border-radius:12px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--k,#13307A) 62%,#fff),var(--k,#13307A))!important;box-shadow:0 5px 12px color-mix(in srgb,var(--k,#13307A) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.35)!important;opacity:1!important}
html body .res-sm .res-c .res-p{background:linear-gradient(145deg,color-mix(in srgb,var(--sk,var(--k,#13307A)) 62%,#fff),var(--sk,var(--k,#13307A)))!important}

/* ── Icônes de matière : sur une tuile douce de leur couleur, comme les tuiles du modèle ── */
html body .mat .pas,html body .mtete .pas{flex:0 0 54px!important;width:54px!important;height:54px!important;display:grid!important;place-items:center;border-radius:16px!important;background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--c,#13307A) 14%,#fff))!important;border:0!important;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--c,#13307A) 22%,#fff),0 6px 14px color-mix(in srgb,var(--c,#13307A) 16%,transparent)!important;transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
html body .mat .pas svg{width:34px!important;height:34px!important}
html body .mtete .pas svg{width:40px!important;height:40px!important}
.mat{transition:transform .2s ease,box-shadow .2s ease!important}
.mat:hover{transform:translateY(-3px)}
.mat:hover .pas,.res-c:hover .res-p,.tp-c:hover .tp-i,.porte:hover .res-p{transform:rotate(-6deg) scale(1.08)!important}
.mat b{font-weight:700!important}

/* ── Animations d'apparition (comme dans la leçon modèle) : cartes qui montent en fondu, en cascade ── */
@keyframes vm-monte{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes vm-trait{from{width:0}to{width:72px}}
@keyframes vm-pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.mats>*,.res-g>*,.tp-gl>*,.portes>*,.chap,.goals,.objectifs,.jour,.blocs>*{animation:vm-monte .55s cubic-bezier(.2,.7,.2,1) both}
.mats>*:nth-child(2),.res-g>*:nth-child(2),.tp-gl>*:nth-child(2),.portes>*:nth-child(2){animation-delay:.05s}
.mats>*:nth-child(3),.res-g>*:nth-child(3),.tp-gl>*:nth-child(3),.portes>*:nth-child(3){animation-delay:.1s}
.mats>*:nth-child(4),.res-g>*:nth-child(4),.tp-gl>*:nth-child(4),.portes>*:nth-child(4){animation-delay:.15s}
.mats>*:nth-child(5),.res-g>*:nth-child(5),.tp-gl>*:nth-child(5){animation-delay:.2s}
.mats>*:nth-child(6),.res-g>*:nth-child(6),.tp-gl>*:nth-child(6){animation-delay:.25s}
.mats>*:nth-child(7),.res-g>*:nth-child(7),.tp-gl>*:nth-child(7){animation-delay:.3s}
.mats>*:nth-child(8),.res-g>*:nth-child(8),.tp-gl>*:nth-child(8){animation-delay:.35s}
.mats>*:nth-child(n+9),.res-g>*:nth-child(n+9),.tp-gl>*:nth-child(n+9){animation-delay:.4s}
.sec-t h2::after{animation:vm-trait .7s .2s cubic-bezier(.2,.7,.2,1) both}
.chap-n,.partie h2 .num{animation:vm-pop .5s cubic-bezier(.34,1.56,.64,1) both}
.res-c,.tp-c,.porte,.btn-l,.filtres button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.res-c:hover,.tp-c:hover{transform:translateY(-3px)}
.btn-l:active,.filtres button:active,.tg:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){.mats>*,.res-g>*,.tp-gl>*,.portes>*,.chap,.goals,.objectifs,.jour,.blocs>*,.sec-t h2::after,.chap-n,.partie h2 .num{animation:none!important}.mat:hover,.res-c:hover,.tp-c:hover{transform:none}}
@media print{.mats>*,.res-g>*,.chap,.partie h2 .num{animation:none!important}}

/* ── Formules et panneau « Avec un professeur » (16/11/2026) : charte du modèle ── */
.offre-h,.fo-nom,.offre-t{font-family:var(--vm-titre)!important;font-weight:700!important;letter-spacing:-.01em}
.fo-nom{font-size:21px!important}
.fo-pour{font-weight:600}
.fo-prix{font-family:var(--vm-titre);font-weight:700}
.fo-av li{font-size:15.5px;line-height:1.5}
.fo-btn{font-family:var(--vm-titre)!important;font-weight:600!important;border-radius:14px!important;letter-spacing:.01em;transition:transform .15s ease,box-shadow .15s ease}
.fo-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,17,54,.14)}
.fo{border-radius:20px!important;animation:vm-monte .55s cubic-bezier(.2,.7,.2,1) both}
.offre-plans>.fo:nth-child(2){animation-delay:.08s}.offre-plans>.fo:nth-child(3){animation-delay:.16s}
/* note sous les formules : lisible (elle était serrée sur une ligne de 1) */
.offre-n{font:500 14.5px/1.6 var(--sans)!important;color:#4D5163!important;margin:14px 2px 16px!important;padding:12px 14px;border-radius:14px;background:#F6F8FC}
.offre-n a{color:var(--vm-mag);font-weight:600}
/* liens « Enseignant ? », « Cahiers » : pictogramme en tuile dégradée, titre du modèle */
.offre-l{border-radius:18px!important;padding:16px!important;gap:16px!important}
.offre-l>svg{flex:0 0 44px!important;width:44px!important;height:44px!important;padding:11px;box-sizing:border-box;border-radius:14px;color:#fff!important;stroke:#fff;background:linear-gradient(145deg,#2C55C4,#0C1F55);box-shadow:0 6px 14px rgba(19,48,122,.28),inset 0 1px 0 rgba(255,255,255,.35)}
.offre-l.or>svg{background:linear-gradient(145deg,#F39A45,#C2540A)}
.offre-l b{font-family:var(--vm-titre)!important;font-weight:700!important;font-size:17px!important}
.offre-l small{font-size:14.5px!important;line-height:1.55!important}
.offre-l:hover>svg{transform:rotate(-6deg) scale(1.06);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
/* cartes de matière : la ligne « rédigées » et la barre s'alignent sous le nom (tuile de 54 px + 14 px) ;
   sur téléphone, la tuile passe au-dessus du nom : plus de retrait */
.mat>.barre-p{margin-left:68px!important}
.mat>span{margin-left:68px!important}
@media (max-width:640px){.mat>.barre-p,.mat>span{margin-left:0!important}html body .mat .pas{flex-basis:46px!important;width:46px!important;height:46px!important;border-radius:14px!important}html body .mat .pas svg{width:28px!important;height:28px!important}}

/* ── Corrections de mise en page (16/11/2026) ── */
/* 1. En-tête de chapitre : la tuile reste à côté du titre, même long ; le lien « Évaluer » passe dessous */
.chap-t>div{flex:1 1 0;min-width:0}
.chap-t>.chap-n{flex:0 0 46px}
.chap-t .atelier-l{flex:1 1 100%}
@media (max-width:640px){.chap-t{flex-wrap:wrap}.chap-t .atelier-l{margin-left:60px}}
/* 2. Étiquettes des lignes de leçon (Labo, Jeu, Cours…) : vraies pastilles lisibles, plus de rond écrasé */
.lst .res-pa{display:flex;flex-wrap:wrap;gap:6px}
.lst .res-pa a,.lst .res-pa a:hover{display:inline-flex!important;align-items:center;gap:5px;padding:3px 10px!important;border-radius:999px!important;background:var(--kp,#EEF2FB)!important;border:0!important;color:var(--k,#1E499B)!important;font:700 12px/1.3 var(--sans)!important;text-decoration:none!important;white-space:nowrap}
/* 3. Titres de section : le lien (« Tout voir », « Défi express ») ne se coince plus contre un titre long */
.sec-t{flex-wrap:wrap;row-gap:4px}
.sec-t h2{flex:1 1 auto;min-width:0}
.sec-t>a{white-space:nowrap}
@media (max-width:640px){.sec-t>a{flex:1 1 100%}}
/* 4. Compte à rebours : les cases se partagent la largeur (plus de débordement de la case des secondes) */
.cal-chiffres{grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr))!important}
.cal-chiffres span{min-width:0;overflow:hidden}
.cal-chiffres b{font-size:clamp(22px,2.6vw,32px)!important;font-weight:700!important}
.cal-chiffres small{font-size:11px;letter-spacing:.04em}
/* compte à rebours : chiffres proportionnés à la largeur de la carte (requête de conteneur) */
.cal-cpt{container-type:inline-size}
@supports (font-size:1cqw){
  .cal-chiffres b{font-size:clamp(17px,11cqw,34px)!important}
  .cal-chiffres small{font-size:clamp(9px,3.6cqw,11px)!important;letter-spacing:.02em}
  .cal-chiffres{gap:clamp(4px,2cqw,8px)!important}
  .cal-chiffres span{padding:10px 2px 8px!important}
}
.sec-t h2{margin-bottom:0}
@media (max-width:640px){.sec-t>.lu{flex:1 1 100%;margin-top:2px}}

/* ════════ Hiérarchie des titres dans les leçons (16/11/2026, 2e version) ════════
   Demande de Jacques : « hiérarchiser = distinguer les grands titres des sous-titres » (comme « Laboratoires » /
   « Mathématiques » sur l'accueil) ; garder l'ancien système à pointillés ; garder les icônes illustrées en plus petit ;
   des pastilles pour les objectifs.
   1. Grand titre de partie : cercle magenta numéroté à point or, titre magenta souligné (style d'origine).
   2. Sous-titre (h3) : plus petit, en couleur, sans icône.
   3. Encadrés (définition, propriété, méthode, exemple) : petite icône illustrée + rail en pointillés.
   4. Post-it : petite icône illustrée dans le titre. */
:root{
  --vm-ill-def:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M6 18c8-5 17-5 26 1v34c-9-6-18-6-26-1z' fill='%234F86E0'/%3E%3Cpath d='M58 18c-8-5-17-5-26 1v34c9-6 18-6 26-1z' fill='%232C55C4'/%3E%3Cpath d='M9 20c7-3 14-3 20 1v28c-6-4-13-4-20-1z' fill='%23fff'/%3E%3Cpath d='M55 20c-7-3-14-3-20 1v28c6-4 13-4 20-1z' fill='%23EAF1FF'/%3E%3Cpath d='M13 27h11M13 32h11M13 37h9M40 27h11M40 32h11M40 37h8' stroke='%239CB4E0' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M44 8h8v20l-4-3-4 3z' fill='%23E8394B'/%3E%3Cpath d='M32 19v34' stroke='%23163A8C' stroke-width='2'/%3E%3C/svg%3E");
  --vm-ill-prop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 34 12 58l9-4 5 8 7-22z' fill='%23E8394B'/%3E%3Cpath d='M44 34l8 24-9-4-5 8-7-22z' fill='%232C55C4'/%3E%3Ccircle cx='32' cy='26' r='19' fill='%23F2C540'/%3E%3Ccircle cx='32' cy='26' r='14' fill='%23FFE07A' stroke='%23C48A0C' stroke-width='2'/%3E%3Cpath d='m32 16 3 6.5 7 .8-5.2 4.8 1.5 7-6.3-3.6-6.3 3.6 1.5-7L22 23.3l7-.8z' fill='%23C48A0C'/%3E%3C/svg%3E");
  --vm-ill-methode:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(24 26)'%3E%3Cpath d='M-3-18h6l1 5 4 2 4-3 4 4-3 4 2 4 5 1v6l-5 1-2 4 3 4-4 4-4-3-4 2-1 5h-6l-1-5-4-2-4 3-4-4 3-4-2-4-5-1v-6l5-1 2-4-3-4 4-4 4 3 4-2z' fill='%231FB3C0'/%3E%3Ccircle r='6' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate(45 44)'%3E%3Cpath d='M-2.5-14h5l.8 3.8 3 1.5 3.2-2.3 3.5 3.5-2.3 3.2 1.5 3 3.8.8v5l-3.8.8-1.5 3 2.3 3.2-3.5 3.5-3.2-2.3-3 1.5-.8 3.8h-5l-.8-3.8-3-1.5-3.2 2.3-3.5-3.5 2.3-3.2-1.5-3-3.8-.8v-5l3.8-.8 1.5-3-2.3-3.2 3.5-3.5 3.2 2.3 3-1.5z' fill='%23F39A45'/%3E%3Ccircle r='4.5' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  --vm-ill-ex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='8' y='8' width='34' height='44' rx='4' fill='%23fff' stroke='%238A5AD0' stroke-width='3'/%3E%3Cpath d='M15 19h20M15 26h20M15 33h12' stroke='%23CDB8EA' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='m44 18 10 10-22 22-12 3 3-12z' fill='%23F2C540'/%3E%3Cpath d='m44 18 10 10 4-4a3 3 0 0 0 0-4l-6-6a3 3 0 0 0-4 0z' fill='%23E8394B'/%3E%3Cpath d='m23 41 9 9-12 3z' fill='%23F4D9B5'/%3E%3Cpath d='m20 53 3-3-3-1z' fill='%233B3520'/%3E%3C/svg%3E");
  --vm-ill-astuce:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6a17 17 0 0 0-10 30.7c2 1.6 3 3.6 3 6.3h14c0-2.7 1-4.7 3-6.3A17 17 0 0 0 32 6z' fill='%23FFD43B'/%3E%3Cpath d='M27 12a12 12 0 0 0-7 10' stroke='%23fff' stroke-width='3' stroke-linecap='round' opacity='.8'/%3E%3Crect x='24' y='44' width='16' height='5' rx='2' fill='%238A96A8'/%3E%3Crect x='25' y='50' width='14' height='5' rx='2' fill='%236B7287'/%3E%3Cpath d='M4 22h5M55 22h5M10 6l4 4M54 6l-4 4' stroke='%23F2C540' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --vm-ill-attention:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M29 6a3.5 3.5 0 0 1 6 0l25 46a3.5 3.5 0 0 1-3 5H7a3.5 3.5 0 0 1-3-5z' fill='%23E8394B'/%3E%3Cpath d='M32 15 53 52H11z' fill='%23fff'/%3E%3Crect x='29' y='24' width='6' height='16' rx='3' fill='%233B3520'/%3E%3Ccircle cx='32' cy='46' r='3.5' fill='%233B3520'/%3E%3C/svg%3E");
  --vm-ill-retiens:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M24 6h16l-2 14 8 8v6H18v-6l8-8z' fill='%23E8394B'/%3E%3Cpath d='M27 9h4l-1 11-5 6' stroke='%23fff' stroke-width='2.5' opacity='.6' fill='none'/%3E%3Cpath d='M32 34v24' stroke='%236B7287' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --vm-ill-savais:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 22a12 12 0 1 1 18.5 10C34 35 32 37.5 32 43' fill='none' stroke='%23B2316E' stroke-width='8' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='54' r='5' fill='%23B2316E'/%3E%3Ccircle cx='47' cy='14' r='4' fill='%23FFC93C'/%3E%3C/svg%3E");
}
/* 1. grand titre de partie : style d'origine conservé (« Conserve ceci ») : numéro dans un cercle magenta à point or,
   titre magenta souligné d'un trait magenta → or (apprendre/lecon-modele.css) ; seule la graisse suit Roboto. */
.carte .partie>h2 .txt{font-weight:700!important}
/* 2. sous-titres */
.carte .partie h3{font:700 clamp(19px,3.8vw,22px)/1.25 var(--vm-titre)!important;color:#0B6A74!important;margin:26px 0 10px!important}
/* 3. encadrés : ancien système (pointillés), icône illustrée plus petite à la place de la tuile */
.carte .def::before,.carte .prop::before,.carte .methode::before,.carte .ex::before{width:42px!important;height:42px!important;left:2px!important;border-radius:0!important;background:var(--vm-ill) center/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 2px 3px rgba(0,17,54,.2))}
.carte .def::after,.carte .prop::after,.carte .methode::after,.carte .ex::after{top:52px!important}
.carte .def{--vm-ill:var(--vm-ill-def)}.carte .prop{--vm-ill:var(--vm-ill-prop)}.carte .methode{--vm-ill:var(--vm-ill-methode)}.carte .ex{--vm-ill:var(--vm-ill-ex)}
.carte .def>b:first-child,.carte .prop>b:first-child,.carte .methode>b:first-child,.carte .ex>b:first-child{font-size:19px!important;min-height:42px!important}
@media (max-width:560px){.carte .def::before,.carte .prop::before,.carte .methode::before,.carte .ex::before{width:36px!important;height:36px!important}.carte .def::after,.carte .prop::after,.carte .methode::after,.carte .ex::after{left:18px!important;top:46px!important}.carte .def>b:first-child,.carte .prop>b:first-child,.carte .methode>b:first-child,.carte .ex>b:first-child{font-size:17.5px!important;min-height:36px!important}}
/* 4. post-it : petite icône illustrée */
.carte .astuce>b:first-child{--vm-i:var(--vm-ill-astuce)}.carte .attention>b:first-child{--vm-i:var(--vm-ill-attention)}.carte .retiens>b:first-child{--vm-i:var(--vm-ill-retiens)}.carte .savais>b:first-child{--vm-i:var(--vm-ill-savais)}
/* objectifs : pastilles de couleur à la place des tuiles d'icônes */
.carte .objectifs ul{gap:8px!important}
.carte .objectifs li{padding:3px 0 3px 30px!important;min-height:0!important;font-weight:500!important;text-align:left}
.carte .objectifs li::before{top:.62em!important;left:4px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:linear-gradient(145deg,var(--vm-c1),var(--vm-c2))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--vm-c1) 20%,#fff)!important}

/* Vecteurs fléchés (16/11/2026) : la police n'a pas le combinant U+20D7, la flèche est dessinée en CSS. */
.vec{position:relative;display:inline-block;padding-top:.32em;line-height:1;font-style:italic}
.vec::after{content:"";position:absolute;left:.05em;right:-.05em;top:.08em;height:.09em;background:currentColor;border-radius:1px}
.vec::before{content:"";position:absolute;right:-.12em;top:-.06em;border-left:.3em solid currentColor;border-top:.19em solid transparent;border-bottom:.19em solid transparent}

/* ════════ Accueil d'Apprendre : interface (16/11/2026) ════════
   Demande de Jacques (capture de l'accueil sur téléphone) : « Améliore aussi l'interface, les icônes et autres ».
   Classes en vraies pastilles, objectif du jour en puces à pictogramme coloré, icône de la leçon du jour sur tuile,
   barre des matières en tuiles de la couleur de chaque matière. */
html body .classes{display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:9px 8px!important}
html body .classes button{background:#fff!important;border:1.5px solid color-mix(in srgb,var(--k) 24%,#fff)!important;border-radius:999px!important;padding:8px 15px!important;min-width:54px;font:600 14.5px/1.2 var(--sans)!important;color:var(--k)!important;text-decoration:none!important;box-shadow:0 2px 6px rgba(19,48,122,.06)!important;transition:transform .15s,box-shadow .15s,background .15s}
html body .classes button::after{display:none!important}
html body .classes button:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(19,48,122,.12)!important}
html body .classes button[aria-pressed="true"]{background:linear-gradient(145deg,color-mix(in srgb,var(--k) 70%,#fff),var(--k))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 6px 14px color-mix(in srgb,var(--k) 38%,transparent)!important}
/* objectif du jour */
html body #objectifJour p{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
html body #objectifJour p span{display:inline-flex;align-items:center;gap:8px;padding:4px 13px 4px 4px;border-radius:999px;background:#F2F5FC;color:#1D2A4D;font-weight:500}
html body #objectifJour p span .pic{flex:0 0 28px;width:28px;height:28px;padding:6px;box-sizing:border-box;border-radius:50%;color:#fff;background:linear-gradient(145deg,#4F7BE0,#1C3C9C);box-shadow:0 3px 8px rgba(28,60,156,.25)}
html body #objectifJour p span:nth-child(2) .pic{background:linear-gradient(145deg,#FFC93C,#E08A00);box-shadow:0 3px 8px rgba(224,138,0,.3)}
html body #objectifJour p span.ok{background:#E4F6E8;color:#0A6B1C}
html body #objectifJour p span.ok .pic{background:linear-gradient(145deg,#33B852,#0A7A22)}
/* leçon du jour : icône de la matière sur tuile douce */
html body .jour .med{display:grid!important;place-items:center;flex:0 0 66px;width:66px;height:66px;border-radius:20px!important;background:linear-gradient(145deg,#fff,var(--cp,#E6EEFB))!important;border:1.5px solid color-mix(in srgb,var(--c,#1E499B) 22%,#fff)!important;box-shadow:0 8px 18px color-mix(in srgb,var(--c,#1E499B) 22%,transparent)!important}
html body .jour .med svg{width:40px;height:40px}
/* barre des matières (rail) : tuiles de la couleur de la matière */
html body .rail a.rm{display:grid!important;place-items:center;width:46px;height:46px;border-radius:14px!important;color:var(--c)!important;background:var(--cp)!important;opacity:1!important;filter:none!important;transition:transform .15s,box-shadow .15s}
html body .rail a.rm svg{opacity:1!important;filter:none!important}
html body .rail a.rm:hover{transform:translateY(-2px);box-shadow:0 6px 12px color-mix(in srgb,var(--c) 30%,transparent)}
html body .rail a.rm[aria-current]{background:#fff!important;box-shadow:0 0 0 2.5px var(--c),0 6px 14px color-mix(in srgb,var(--c) 35%,transparent)!important}
@media (max-width:640px){html body .classes button.sep{margin-left:0!important}}

/* ════════ Accueil d'Apprendre : titres au style des leçons (16/11/2026, « Conserve ceci, et utilises-en pour l'accueil ») ════════
   Titres de section magenta soulignés du trait magenta → or, précédés du cercle magenta à point or des parties de leçon. */
html body .sec-t h2,html body .res-fam>h2{color:var(--vm-mag)!important;font-weight:700!important;display:flex;align-items:center;gap:12px}
html body .sec-t h2::before,html body .res-fam>h2::before{content:"";position:relative;flex:0 0 22px;width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:3px solid var(--vm-mag);background:#fff;box-shadow:0 0 0 4px var(--vm-magbg,#FBE4EE),9px -8px 0 -4px var(--vm-gold)}
html body .sec-t h2::after,html body .res-fam>h2::after{left:34px}

/* ════════ Leçon, retours du 17/11/2026 ════════
   « Entête de leçons trop simple et pas assez parlant », « icônes en bas touffues : enlève l'ombre
   et les couleurs autour, diminue un peu la taille », « encadre les autres formules et le message
   aux enseignants », « leçon suivante et précédente : mets-les en évidence ». */

/* 1. En-tête : teinte de la matière (--mt, --mt-pale posées par commun.js) */
html body .bandeau.ent{display:block!important;position:relative;overflow:hidden;margin:4px 0 22px!important;padding:20px 22px 18px!important;border-radius:22px!important;
  background:linear-gradient(135deg,var(--mt-pale,#EAF0FB) 0%,#fff 62%)!important;border:1px solid color-mix(in srgb,var(--mt,#1E499B) 22%,#fff)!important;color:#001136!important;box-shadow:0 6px 18px rgba(0,17,54,.06)!important}
html body .bandeau.ent::before,html body .bandeau.ent::after{display:none!important}
.bandeau.ent .ent-haut{display:flex;align-items:center;gap:14px;margin:0 0 10px}
html body .bandeau.ent .medaille{flex:0 0 64px;width:64px!important;height:64px!important;border-radius:18px!important;background:#fff!important;border:2px solid color-mix(in srgb,var(--mt,#1E499B) 35%,#fff)!important;box-shadow:none!important;transform:none!important;animation:none!important;display:grid;place-items:center;color:var(--mt)}
html body .bandeau.ent .medaille svg{width:44px!important;height:44px!important}
.bandeau.ent .ent-tags{display:flex;flex-direction:column;gap:4px;min-width:0}
html body .bandeau.ent .sur{align-self:flex-start;display:inline-block;font:700 12px/1 var(--sans)!important;letter-spacing:.1em;text-transform:uppercase;color:#fff!important;background:var(--mt,#1E499B);border-radius:999px;padding:5px 11px}
.bandeau.ent .ent-mat{font:500 15px/1.3 var(--sans);color:#4D5163}.bandeau.ent .ent-mat b{color:var(--mt,#1E499B);font-weight:700}
html body .bandeau.ent h1{margin:0 0 10px!important;font-size:clamp(25px,6.4vw,36px)!important;line-height:1.15!important;color:#001136!important;text-wrap:balance}
.bandeau.ent .ent-chap{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:500 15px/1.35 var(--sans);color:#33384A}
.bandeau.ent .ent-chap svg{flex:none;color:var(--mt,#1E499B)}
.bandeau.ent .ent-chap b{font-weight:700;color:#001136}
.bandeau.ent .ent-pos{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 12px;font:600 13px/1.3 var(--sans);color:#4D5163}
.bandeau.ent .ent-barre{flex:1 1 90px;min-width:90px;max-width:220px;height:6px;border-radius:3px;background:color-mix(in srgb,var(--mt,#1E499B) 14%,#fff);overflow:hidden}
.bandeau.ent .ent-barre i{display:block;height:100%;border-radius:3px;background:var(--mt,#1E499B)}
.bandeau.ent .ent-situ{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#fff;border:1.5px dashed color-mix(in srgb,var(--mt,#1E499B) 45%,#fff)}
.bandeau.ent .ent-situ-t{display:flex;align-items:center;gap:6px;font:700 12px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--mt,#1E499B);margin:0 0 6px}
html body .bandeau.ent .accroche{margin:0!important;font:italic 500 16px/1.5 var(--sans)!important;color:#33384A!important}
html body .bandeau.ent .puces{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:0!important}
html body .bandeau.ent .puces span{display:inline-flex;align-items:center;gap:5px;background:#fff!important;border:1px solid #DCE5F5!important;border-radius:999px!important;padding:5px 11px!important;font:600 13px var(--sans)!important;color:#0C2A6A!important}
html body .bandeau.ent .puces span::before,html body .bandeau.ent .puces span::after{display:none!important;content:none!important}
html body .bandeau.ent .puces svg{color:var(--mt,#1E499B)}
@media (min-width:700px){html body .bandeau.ent{padding:24px 28px 22px!important}html body .bandeau.ent .medaille{flex-basis:76px;width:76px!important;height:76px!important}html body .bandeau.ent .medaille svg{width:52px!important;height:52px!important}}

/* 2. Barre des matières : sans pastille colorée ni ombre, un peu plus petite */
html body .rail a.rm{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important}
html body .rail a.rm svg{width:24px!important;height:24px!important}
html body .rail a.rm:hover{transform:none;box-shadow:none!important;background:#F2F4F8!important}
html body .rail a.rm[aria-current]{background:transparent!important;box-shadow:none!important}
html body .rail a.rm[aria-current]::before{display:block!important;background:var(--c,#1E499B)!important}

/* 3. Encadrés : autres formules, note de paiement, enseignants (et autres liens d'offre) */
html body .offre .fo-mini{border:1.5px solid #CFDAEE!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important}
html body .offre-n{border:1.5px solid #CFDAEE!important;background:#F8FAFE!important}
html body .offre-l{border:1.5px solid #CFDAEE!important;box-shadow:none!important;background:#fff!important}
html body .offre-l>svg{box-shadow:none!important}

/* 4. Leçon précédente / suivante : deux vrais boutons, la suivante en avant */
html body .suite{gap:12px!important;margin-top:28px!important}
html body .suite a{display:flex!important;align-items:center;gap:12px;padding:14px 16px!important;border-radius:16px!important;border:2px solid #CFDAEE!important;background:#fff!important;color:#001136!important;font:700 16px/1.3 var(--sans)!important;text-align:left!important;text-decoration:none;transition:border-color .2s,transform .2s}
html body .suite a>span:not(.su-fl){flex:1;min-width:0}
html body .suite a small{display:block!important;font:700 12px/1.2 var(--sans)!important;letter-spacing:.06em;text-transform:uppercase;color:#1E499B!important;margin:0 0 3px}
html body .suite .su-fl{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#EAF0FB;color:#1E499B;font:700 22px/1 var(--sans)}
html body .suite a.su-suiv{background:#1E499B!important;border-color:#1E499B!important;color:#fff!important;text-align:right!important}
html body .suite a.su-suiv small{color:#FFC93C!important}
html body .suite a.su-suiv .su-fl{background:#FFC93C;color:#142554}
html body .suite a:hover{border-color:#1E499B!important;transform:translateY(-1px)}
html body .suite a.su-suiv:hover{background:#163A80!important}
@media (prefers-reduced-motion:reduce){html body .suite a{transition:none}html body .suite a:hover{transform:none}}
.bandeau.ent .ent-pos>span:first-child{flex:0 0 100%}

/* Onglet actif (Cours, Révision, Quiz) : sans le trait foncé du bas (17/11/2026, « même en bas sur cours ») */
html body .formats button[aria-selected=true]{box-shadow:none!important;border:1.5px solid #9FBEEA!important}

/* Situation de vie et tâche (17/11/2026, « dispose aussi bien la situation et la tâche ») :
   une carte, un titre à pictogramme, le texte justifié avec césure (demande de Jacques), la tâche dans son propre encadré doré, libellé au-dessus. */
html body .carte .apc{margin:0 0 24px!important;padding:16px 18px 18px!important;border:1.5px solid #F2D9B8!important;border-radius:18px!important;background:linear-gradient(180deg,#FFFBF4,#fff 70%)!important;text-align:justify!important;hyphens:auto!important;-webkit-hyphens:auto!important}
html body .apc h2{display:flex!important;align-items:center;gap:10px;margin:0 0 10px!important;font:700 19px/1.3 var(--vm-titre,var(--sans))!important;color:#C24E00!important}
.apc .apc-i{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#FDEBD3;color:#C24E00}
html body .apc .apc-s{margin:0 0 14px!important;font-size:16.5px!important;line-height:1.65!important;color:#22283A;text-align:justify!important}
html body .apc .apc-t{display:flex!important;align-items:flex-start;gap:12px;margin:0!important;padding:12px 14px!important;border-radius:14px!important;background:#FFF6DC!important;border:1.5px solid #F0D58A!important}
.apc .apc-t .apc-i{width:32px;height:32px;border-radius:10px;background:#FFC93C;color:#142554}
html body .apc .apc-t p{margin:0!important;font-size:16.5px!important;line-height:1.55!important;color:#22283A;text-align:justify!important}
.apc .apc-t p b{display:block;margin:0 0 2px;font:700 12px/1.2 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#8A6A00}
html body .apc p,html body .apc .apc-t p,html body .bandeau.ent .accroche{text-align:justify!important;hyphens:auto!important;-webkit-hyphens:auto!important}

/* Texte justifié tout au long de la leçon (17/11/2026, « justifie aussi tout au long de la leçon ») :
   listes, bulle de Kalao, énoncés de questions. Légendes de figures et formules restent centrées. */
html body .carte article li,html body .carte li,html body .kalao-bulle p,html body .q p,html body .enq-pistes li{text-align:justify!important;hyphens:auto!important;-webkit-hyphens:auto!important}

/* ════════ Post-it : le titre dans le ruban blanc (17/11/2026) ════════
   Demande de Jacques (capture d'une leçon de 1re D) : « Mets les titres dans le petit cadre blanc au milieu des encadrés ».
   Le ruban (::before) disparaît : c'est le titre lui-même, icône comprise, qui devient le ruban collé en haut. */
.carte .astuce,.carte .attention,.carte .retiens,.carte .savais{padding-top:30px!important;margin-top:36px!important}
.carte .astuce::before,.carte .attention::before,.carte .retiens::before,.carte .savais::before{content:none!important;display:none!important}
.carte .astuce>b:first-child,.carte .attention>b:first-child,.carte .retiens>b:first-child,.carte .savais>b:first-child{position:relative;display:table!important;max-width:88%;box-sizing:border-box;min-height:32px!important;margin:-46px auto 12px!important;padding:5px 14px 5px 40px!important;transform:rotate(-2.5deg);background:var(--vm-i) 11px 50%/22px no-repeat,rgba(255,255,255,.9)!important;border:1px solid rgba(0,0,0,.07);box-shadow:0 2px 4px rgba(0,0,0,.06);font-size:17px!important;line-height:1.25!important;text-align:center}
@media (max-width:420px){.carte .astuce>b:first-child,.carte .attention>b:first-child,.carte .retiens>b:first-child,.carte .savais>b:first-child{font-size:16px!important}}

/* ── 18/11/2026 « Affiche bien les encadrés » : « à retenir » et notes collées, cadre fin de leur teinte ── */
html body .carte .partie .retenir{border:1.5px solid #E7B9CF;background:linear-gradient(90deg,#FCEAF2,#FFF6DC)}
html body .carte .astuce{border:1.5px solid #E9D36A}
html body .carte .attention{border:1.5px solid #EFA9C8}
html body .carte .retiens{border:1.5px solid #9ED8C8}
html body .carte .savais{border:1.5px solid #C7B4EE}

/* ── 18/11/2026 formules : les autres plans encadrés avec leurs offres, nouveau système de puces ──
   Pastille ronde pleine (coche blanche) pour ce qui est compris, pastille grise (croix) pour ce qui ne l'est pas :
   plus de texte barré. */
html body .offre .fo-mini{display:flex;flex-direction:column;padding:14px 14px 12px!important}
html body .offre .fo-mini .fo-cle{flex:0 0 auto;margin:2px 0 8px}
html body .offre .fo-mini .fo-av{margin:0 0 12px}
html body .offre .fo-mini .fo-av li{font-size:13.5px!important}
html body .fo-av li{padding-left:28px!important;margin:0 0 8px}
html body .fo-av li::before{left:0!important;top:.15em!important;width:18px!important;height:18px!important;border:0!important;border-radius:50%;transform:none!important;
  background:#17784D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat!important}
html body .fo-av-h li::before{background-color:#C24E00!important}
html body .fo-av li.fo-non{color:#7A8295;text-decoration:none!important}
html body .fo-av li.fo-non::before{height:18px!important;top:.15em!important;
  background:#E3E6EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.2 6.2l5.6 5.6M11.8 6.2l-5.6 5.6' fill='none' stroke='%237A8295' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat!important}

/* ── 18/11/2026 « couleurs légères pour attirer l'attention sur les différents services » ── */
html body .offre .fo-mini.fo-starter{background:#F1F8F3!important;border-color:#BFE3CB!important}
html body .offre .fo-mini.fo-pro{background:#F1F5FD!important;border-color:#C5D5F2!important}
html body .offre .fo-mini.fo-elite{background:#F6F1FD!important;border-color:#D8C8F2!important}
html body .offre .fo-mini .fo-btn{background:#fff!important;border:1px solid currentColor}
html body .offre .fo-mini.fo-elite .fo-btn{color:#5B2FA0!important}
html body .offre .fo-mini.fo-elite .fo-av li::before{background-color:#6A3DB5!important}
html body .offre .fo-mini.fo-pro .fo-av li::before{background-color:#1E499B!important}
html body .offre .fo-mini .fo-av li.fo-non::before{background-color:#E3E6EC!important}
html body .offre .fo-mini .fo-av,html body .offre .fo-mini .fo-base{border-top-color:rgba(0,17,54,.08)!important}
html body .offre-n{background:#EEF8F1!important;border-color:#BFE3CB!important}
html body .offre-l.ol-prof{background:#FFF4E8!important;border-color:#F5CFA6!important}
html body .offre-l.ol-cahier{background:#FFF9E3!important;border-color:#EED98F!important}
html body .offre-l.ol-ens{background:#EAF7F7!important;border-color:#B5DEDE!important}
html body .offre-l.ol-ens>svg{background:linear-gradient(145deg,#2BA3A3,#127272)!important}
html body .offre-l.ol-cahier>svg{background:linear-gradient(145deg,#E3B53C,#A87800)!important}
html body section.tuteur{background:#F3F0FD!important;border:1.5px solid #D6CCF3!important}

/* ── 18/11/2026 « réduis l'interligne dans l'objectif » ── */
html body .carte ul.objectifs{gap:0!important;row-gap:0!important}
html body .carte .objectifs li{margin:0!important;padding:2px 0 2px 30px!important;line-height:1.4!important}
html body .carte .objectifs li::before{top:.5em!important}

/* ── 18/11/2026 « dispose comme les encadrés » : l'introduction en encadré, comme la situation de vie ── */
html body .carte .info-b{margin:0 0 22px;padding:16px 18px 16px;border:1.5px solid #C9D8F2;border-radius:18px;background:linear-gradient(180deg,#F2F6FD,#fff 75%)}
html body .carte .info-b h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:0;border:0;font:700 19px/1.3 var(--vm-titre,var(--sans));color:#1E499B}
html body .carte .info-b h2::before,html body .carte .info-b h2::after{content:none!important}
html body .carte .info-b .apc-i{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#DCE6F8;color:#1E499B}
html body .carte .info-b p.info{margin:0!important;padding:0!important;background:none!important;border:0!important;font-size:16.5px!important;line-height:1.65!important;color:#22283A;text-align:justify;hyphens:auto;-webkit-hyphens:auto}
html body .carte .objectifs li{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}

/* ── 18/11/2026 « laisse le milieu en blanc, fonce un peu les en-têtes » : formules compactes ── */
html body .offre .fo-mini{background:#fff!important;overflow:hidden}
html body .offre .fo-mini .fo-nom{margin:-14px -14px 0!important;padding:14px 14px 2px!important;background:var(--fo-t,#E6ECF7)}
html body .offre .fo-mini .fo-cle{margin:0 -14px 10px!important;padding:0 14px 12px!important;background:var(--fo-t,#E6ECF7);border-bottom:1.5px solid var(--fo-b,#C5D5F2)}
html body .offre .fo-mini .fo-base{border-top:0!important;padding-top:0!important}
html body .offre .fo-mini.fo-starter{--fo-t:#DCEFE2;--fo-b:#A9D8B9;background:#fff!important}
html body .offre .fo-mini.fo-pro{--fo-t:#DCE6F8;--fo-b:#B3C8EE;background:#fff!important}
html body .offre .fo-mini.fo-elite{--fo-t:#E7DCF8;--fo-b:#CDB8F0;background:#fff!important}
html body .fo-av li{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}
html body .offre .fo-mini .fo-av{border-top:0!important;padding-top:2px!important}

/* ── 18/11/2026 « titres dans un petit cadre posé sur le grand encadré, comme les autres encadrés ;
   tâche sans encadré, icône + texte en italique » ── */
html body .carte .info-b,html body .carte .apc{position:relative;margin-top:34px!important;padding-top:30px!important}
html body .carte .info-b h2,html body .apc h2{display:table!important;margin:-50px auto 12px!important;padding:5px 16px 5px 8px!important;gap:8px;background:#fff!important;border:1.5px solid var(--cad,#C9D8F2);border-radius:12px;box-shadow:0 2px 6px rgba(0,17,54,.07);transform:rotate(-1.5deg);font-size:17px!important;line-height:1.25!important}
html body .carte .info-b h2>*,html body .apc h2>*{vertical-align:middle}
html body .carte .info-b h2 .apc-i,html body .apc h2 .apc-i{display:inline-grid!important;width:28px!important;height:28px!important;border-radius:9px!important;margin-right:8px}
html body .carte .info-b h2 .apc-i svg,html body .apc h2 .apc-i svg{width:16px;height:16px}
html body .carte .info-b{--cad:#C9D8F2}
html body .apc{--cad:#F2D9B8}
html body .apc .apc-t{background:none!important;border:0!important;padding:0!important;border-radius:0!important;gap:10px}
html body .apc .apc-t .apc-i{width:30px;height:30px;border-radius:50%;background:#FFC93C;color:#142554}
html body .apc .apc-t p{font-style:italic;font-weight:500}
html body .apc .apc-t p b{font-style:normal}
@media (prefers-reduced-motion:reduce){html body .carte .info-b h2,html body .apc h2{transform:none}}
/* même traitement pour « Ta tâche » des leçons-enquêtes : pas d'encadré, pastille crayon + italique */
html body .carte .enq-tache{position:relative;background:none!important;border:0!important;border-radius:0!important;padding:2px 0 2px 42px!important;font-style:italic;font-weight:500}
html body .carte .enq-tache::before{content:"";position:absolute;left:0;top:4px;width:30px;height:30px;border-radius:50%;background:#FFC93C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142554' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.8 2.8 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z'/%3E%3C/svg%3E") center/15px no-repeat}
html body .carte .enq-tache b{font-style:normal;color:#8A6A00!important}

/* ── 18/11/2026 situation résolue : « Les formules utilisées, étape par étape » ── */
html body .carte .den-formules{margin:16px 0 4px;padding:14px 16px;border-radius:14px;background:#fff;border:1.5px solid #BFDCC9}
html body .carte .den-formules>b{display:block;margin:0 0 10px;font:800 13px/1.3 var(--vm-titre,var(--sans));letter-spacing:.06em;text-transform:uppercase;color:#0F5132}
html body .carte .den-formules ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html body .carte .den-formules li{margin:0;padding:10px 12px;border-radius:12px;background:#F6FCF8;border-left:0}
html body .carte .den-formules .df-nom{display:block;font:700 14px/1.35 var(--sans);color:#17784D;margin:0 0 4px}
html body .carte .den-formules .df-f{display:inline-block;margin:0 0 4px;padding:4px 10px;border-radius:8px;background:#EEF4FC;color:#0C1F55;font:700 16px/1.5 var(--sans)}
html body .carte .den-formules .df-c{display:block;font:500 15.5px/1.55 var(--sans);color:#22283A}
html body .carte .den-formules .df-c::before{content:"→ ";color:#C2540A;font-weight:800}
html body .carte .den-formules,html body .carte .den-formules *{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}
html body .carte figure.illus .cm svg,html body figure.mur-schema .cm svg{max-height:none!important;width:100%!important}

/* ════════ Bas de leçon, 20/11/2026 : « ici c'est touffu ; mets juste les infos avec lien coloré en bas pour y accéder,
   même pour l'IA mets l'icône et le message ; pour les livrets, fais défiler les couvertures » ════════
   Plus d'encadrés : chaque info = un titre, une phrase, un lien coloré. Séparées par un filet pointillé. */
html body .offre-infos{margin:22px 0 0;display:block;min-width:0;max-width:100%}
html body .oi{min-width:0;max-width:100%;padding:16px 0;border-top:1.5px dashed #DCE3EF}
html body .oi:first-child{border-top:0;padding-top:4px}
html body .oi-t{display:block;margin:0 0 4px;font:700 17px/1.3 var(--vm-titre,var(--sans));color:#0C1F55}
html body .oi-d{margin:0!important;font:400 15px/1.55 var(--sans)!important;color:#4D5163!important;text-align:left!important;hyphens:manual!important}
html body .oi-a{display:inline-flex;align-items:center;gap:6px;margin:8px 0 0;padding:0;border:0;background:none;cursor:pointer;font:700 15px/1.3 var(--sans);color:#B2316E;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
html body .oi-a span{font-size:19px;line-height:1;text-decoration:none;transition:transform .2s}
html body .oi-a:hover span{transform:translateX(3px)}
html body .oi-pay .oi-a{color:#1E499B}
html body .oi-prof .oi-a{color:#C2540A}
html body .oi-livrets .oi-a{color:#9A6A00}
/* couvertures qui défilent ; pause au survol / au doigt ; immobiles si l'élève a réduit les animations */
html body .oi-defile{position:relative;overflow:hidden;margin:12px -4px 2px;padding:6px 0 10px;-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
html body .oi-piste{display:flex;width:max-content;animation:oi-defile calc(var(--oi-n,8) * 3.2s) linear infinite}
html body .oi-copie{display:flex}
html body .oi-defile:hover .oi-piste,html body .oi-defile:focus-within .oi-piste,html body .oi-defile:active .oi-piste{animation-play-state:paused}
html body .oi-couv{flex:none;display:block;width:90px;margin:0 6px;border-radius:6px;overflow:hidden;box-shadow:0 6px 12px -6px rgba(0,17,54,.45);transition:transform .2s}
html body .oi-couv:hover{transform:translateY(-3px) rotate(-1deg)}
html body .oi-couv img{display:block;width:90px;height:120px;object-fit:cover;background:#F1F4FA}
@keyframes oi-defile{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){html body .oi-piste{animation:none}html body .oi-copie{display:none}html body .oi-defile{overflow-x:auto;-webkit-mask:none;mask:none}}
/* tuteur IA : l'avatar et le message, sans cadre ; le formulaire se déplie sur le lien */
html body section.tuteur{background:none!important;border:0!important;border-top:1.5px dashed #DCE3EF!important;border-radius:0!important;padding:18px 0 4px!important;margin:16px 0 8px!important}
html body .tuteur-t img{width:52px;height:52px}
html body .tuteur-t h2{font:700 17px/1.3 var(--vm-titre,var(--sans))!important;color:#0C1F55!important}
html body .tuteur-t p{font-size:15px!important;color:#4D5163!important}
html body .tuteur-ouvrir{color:#5B3FC4!important}
html body .tuteur-corps{margin-top:6px}
@media print{html body .oi-defile{display:none}}
