:root{--creme:#FFF6E3;--encre:#1A1530;--texte:#3C3558;--violet:#6C4DF2;--violet-fonce:#4B32C4;--jaune:#F7B11E;--jaune-clair:#FFE08A;--vert:#2BD46A}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--creme);color:var(--encre);font-family:'Nunito',system-ui,sans-serif;overflow-x:hidden}
img{max-width:100%}
a{color:var(--violet)}
h1,h2{font-family:'Fredoka',sans-serif;font-weight:700;text-wrap:balance;margin:0}
p{margin:0}
main{max-width:1280px;margin:0 auto}
.nav{max-width:1280px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:28px 64px}
.nav nav{display:flex;flex-wrap:wrap;gap:28px;align-items:center;font-weight:700}
.nav nav a{color:var(--encre);text-decoration:none}
.marque{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--encre)}
.mot{font-family:'Fredoka',sans-serif;font-weight:700;font-size:32px;line-height:1}
.logo-rond{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--encre)}
.logo-bouton{width:13px;height:13px;border-radius:50%;background:var(--vert)}
.btn-nuit{display:inline-block;background:var(--encre);color:var(--creme)!important;padding:12px 22px;border-radius:999px;text-decoration:none;font-weight:800}
.btn-inactif{opacity:.6;cursor:default}
.btn-violet{display:inline-block;background:var(--encre);color:#fff;font-weight:800;font-size:18px;padding:18px 30px;border-radius:999px;text-decoration:none;box-shadow:0 6px 0 var(--jaune);transition:transform .12s,box-shadow .12s}
.btn-violet:hover{background:#2A2354;transform:translateY(-2px);box-shadow:0 8px 0 var(--jaune)}
.btn-violet:active{transform:translateY(3px);box-shadow:0 3px 0 var(--jaune)}
.lien{color:var(--encre);font-weight:800;font-size:18px;padding:18px 8px}
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:32px;padding:24px 64px 72px}
.hero-texte{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.pastille{align-self:flex-start;background:var(--jaune-clair);color:#6B4400;font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;padding:8px 14px;border-radius:999px}
.hero h1{font-size:72px;line-height:1.02}
.hero-texte p{font-size:22px;line-height:1.5;max-width:30em;color:var(--texte)}
.actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero-tablette{flex:1 1 440px;min-width:0;display:flex;justify-content:center}
.tab-echelle{width:600px;max-width:100%;transform-origin:top center}
#tab3d{transition:transform .08s linear;will-change:transform}
.bandeau{width:calc(100% - 128px);max-width:1152px;margin:0 auto 14px;background:var(--encre);color:var(--creme);padding:24px 36px;border-radius:999px;box-shadow:0 8px 0 var(--jaune);display:flex;flex-wrap:wrap;gap:12px 48px;justify-content:center;font-family:'Fredoka',sans-serif;font-weight:600;font-size:22px}
.bandeau .jaune{color:var(--jaune)}
.rang{display:flex;flex-wrap:wrap;align-items:center;gap:28px 48px;padding:48px 64px}
.rang .scene{flex:1 1 420px;min-width:0}
.rang .texte{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.kick{align-self:flex-start;background:var(--jaune-clair);color:#6B4400;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;padding:7px 13px;border-radius:999px}
.rang h2{font-size:44px;line-height:1.05}
.rang p{font-size:20px;line-height:1.55;color:var(--texte);max-width:28em}
.parents{padding:24px 64px 96px}
.carte-parents{background:var(--violet);color:#fff;border-radius:40px;padding:56px;display:flex;flex-wrap:wrap;align-items:center;gap:40px}
.carte-parents>div:first-child{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}
.carte-parents h2{font-size:44px;line-height:1.1}
.carte-parents p{font-size:20px;line-height:1.55;color:#E7E0FF}
.pastilles{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:12px}
.pastilles div{background:rgba(255,255,255,.14);border-radius:20px;padding:18px 22px;font-size:18px;font-weight:700}
.pastilles .jaune-fond{background:var(--jaune);color:var(--encre);font-weight:800}
.fin{display:flex;flex-wrap:wrap;align-items:center;gap:32px;justify-content:center;padding:0 64px 96px}
.fin-doty img{height:260px}
.fin-texte{display:flex;flex-direction:column;gap:18px;max-width:28em;align-items:flex-start}
.fin h2{font-size:44px;line-height:1.1}
.fin p{font-size:20px;line-height:1.55;color:var(--texte)}
.pied{border-top:2px solid #F0DDB0;padding:28px 64px;font-size:15px;color:#5A5373;max-width:1280px;margin:0 auto}
@media (max-width:820px){
.nav{padding:18px 20px}.mot{font-size:28px}.nav nav{gap:14px;font-size:14px}.nav nav a:not(.btn-nuit){display:none}
.hero{padding:12px 20px 40px}.hero h1{font-size:42px}.hero-texte p{font-size:18px}
.tab-echelle{width:600px;transform:scale(.58);margin-bottom:-120px;margin-top:-30px}
.hero-tablette{height:330px;overflow:visible;justify-content:center;align-items:flex-start}
.bandeau{width:100%;max-width:none;padding:20px 22px;font-size:18px;gap:8px 20px;border-radius:0}
.rang{padding:28px 20px}.rang .scene{order:-1}.rang.inverse .scene{order:-1}.rang h2{font-size:30px}.rang p{font-size:17px}
.parents{padding:24px 0 48px}.carte-parents{padding:28px 22px;border-radius:0}.carte-parents h2{font-size:30px}.carte-parents p{font-size:17px}
.fin{padding:0 20px 48px;text-align:center}.fin-texte{align-items:center}.fin h2{font-size:32px}.pied{padding:20px}
.btn-violet{display:block;text-align:center;width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}#tab3d{transition:none}}

dialog{border:0;border-radius:28px;padding:0;max-width:460px;width:calc(100% - 32px);background:#FFF6E3;color:#1A1530;box-shadow:0 30px 80px rgba(26,21,48,.45)}
dialog::backdrop{background:rgba(26,21,48,.55)}
dialog[open]{animation:ouvre .22s ease-out}
@keyframes ouvre{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
#form-liste{position:relative;padding:28px 28px 30px;display:flex;flex-direction:column;gap:12px}
.dlg-fermer{position:absolute;top:10px;right:12px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;font-size:28px;line-height:1;color:#3C3558;cursor:pointer}
.dlg-fermer:hover{background:#F0DDB0}
.dlg-doty{display:flex;justify-content:center;margin-bottom:-4px}
.dlg-doty img{height:110px;width:auto}
#form-liste h2{font-size:28px;line-height:1.1;text-align:center}
.dlg-sous{text-align:center;color:#3C3558;font-size:16px;line-height:1.45}
#form-liste label{font-weight:800;font-size:14px}
#liste-email{width:100%;font:inherit;font-size:17px;padding:14px 16px;border-radius:14px;border:2px solid #E3D3A6;background:#fff;color:#1A1530}
#liste-email:focus{outline:3px solid #6C4DF2;outline-offset:1px;border-color:#6C4DF2}
.piege{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;gap:10px;align-items:flex-start;font-weight:600!important;font-size:14px!important;line-height:1.4;color:#3C3558;cursor:pointer}
.consent input{margin-top:3px;width:18px;height:18px;accent-color:#6C4DF2;flex:none}
.dlg-erreur{background:#FFE3E0;color:#8A1C12;border-radius:12px;padding:10px 14px;font-size:14px;font-weight:700}
.dlg-envoi{border:0;cursor:pointer;width:100%;font-family:inherit;margin-top:4px}
.dlg-envoi[disabled]{opacity:.6;cursor:wait}
.dlg-ok{position:absolute;inset:0;background:#FFF6E3;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:28px}
.dlg-ok[hidden]{display:none}
.ok-rond{width:72px;height:72px;border-radius:50%;background:#2BD46A;color:#fff;font-size:40px;display:flex;align-items:center;justify-content:center;animation:pop .35s cubic-bezier(.2,1.4,.4,1)}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.dlg-ok p{font-size:17px;color:#3C3558}
.btn-nuit{border:0;font-family:inherit;font-size:16px;cursor:pointer}
@media (prefers-reduced-motion:reduce){dialog[open],.ok-rond{animation:none}}

.hero-tablette{flex-direction:column;align-items:center}
@media (max-width:820px){.hero-tablette{height:auto}.tab-echelle{margin-top:-50px;margin-bottom:-205px}}

.simple{max-width:640px;margin:0 auto;padding:24px 24px 72px;display:flex;flex-direction:column;gap:18px}
.simple h1{font-size:44px;line-height:1.05}
.simple p{font-size:18px;line-height:1.6;color:#3C3558}
.simple form{display:flex;flex-direction:column;gap:12px}
.simple label{font-weight:800;font-size:14px}
.simple input[type=email]{width:100%;font:inherit;font-size:17px;padding:14px 16px;border-radius:14px;border:2px solid #E3D3A6;background:#fff;color:#1A1530}
.simple input[type=email]:focus{outline:3px solid #6C4DF2;outline-offset:1px;border-color:#6C4DF2}
.des-ok{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:24px 0}
.des-ok[hidden],#form-des[hidden]{display:none}
.pied a{color:#5A5373}

.o-svg{display:inline-block;width:.53em;height:.53em;vertical-align:-.018em;margin:0 .014em}
.pied .mot{font-size:20px}

/* ===== menu « Pour les parents » ===== */
.dd{position:relative}
.dd summary{list-style:none;cursor:pointer;font-weight:700;color:var(--encre);display:inline-flex;align-items:center;gap:6px;padding:6px 2px}
.dd summary::-webkit-details-marker{display:none}
.dd summary::after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.dd[open] summary::after{transform:rotate(225deg) translateY(-2px)}
.dd ul{position:absolute;top:calc(100% + 10px);left:-14px;z-index:20;margin:0;padding:8px;list-style:none;background:#fff;border-radius:18px;box-shadow:0 14px 40px rgba(26,21,48,.22);min-width:230px}
.dd li a{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:12px;color:var(--encre);text-decoration:none;font-weight:800}
.dd li a small{font-weight:700;color:#7A7396;font-size:13px}
.dd li a:hover,.dd li a:focus-visible{background:#FFF1CC}
.nav nav .dd summary:hover{color:var(--violet)}

/* ===== pages par niveau ===== */
.niv-hero{padding-bottom:56px}
.niv-scene{align-items:center}
.podium{position:relative;width:100%;max-width:520px;height:440px}
.podium span{position:absolute;display:block}
.p-blob{left:4%;right:4%;top:2%;bottom:10%;border-radius:46% 54% 50% 50%/52% 48% 52% 48%;background:var(--blob)}
.p-pointille{left:10%;right:10%;top:8%;bottom:16%;border-radius:50%;border:2px dashed rgba(26,21,48,.14)}
.p-ombre{left:22%;right:22%;bottom:5%;height:11%;border-radius:50%;background:rgba(26,21,48,.22);filter:blur(10px)}
.p-flanc{left:23%;right:23%;bottom:8%;height:16%;border-radius:0 0 50% 50%/0 0 100% 100%;background:var(--side)}
.p-dessus{left:23%;right:23%;bottom:15%;height:14%;border-radius:50%;background:var(--top);box-shadow:inset 0 -5px 0 rgba(0,0,0,.12)}
.podium .doty-scene{position:absolute;left:50%;bottom:20%;transform:translateX(-50%);max-width:64%;object-fit:contain;z-index:2}
.podium .etoile{position:absolute;z-index:1}
.prog{padding:8px 64px 14px;color:var(--creme)}
.prog-in{max-width:1152px;margin:0 auto;padding:26px 40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 32px;background:var(--encre);border-radius:44px;box-shadow:0 8px 0 var(--jaune)}
.prog-titre{display:flex;gap:16px;align-items:center;max-width:46em}
.prog-titre b{display:block;font-family:'Fredoka',sans-serif;font-size:22px;color:var(--jaune);margin-bottom:2px}
.prog-titre span:last-child,.prog-titre div span{display:block;font-size:16px;line-height:1.45;color:#D9D2F2}
.sceau{flex:none;width:44px;height:44px;border-radius:50%;background:var(--vert);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:inline-block;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;padding:8px 16px;font-weight:800;font-size:15px}
.chip-clair{background:#fff;color:var(--encre);box-shadow:0 2px 0 #F0DDB0}
.demo{max-width:1280px;margin:0 auto;padding:72px 64px;display:flex;flex-wrap:wrap;gap:36px 56px;align-items:center}
.demo-texte{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:16px}
.demo-texte h2,.essai h2,.args h2,.mats h2{font-size:42px;line-height:1.06}
.demo-texte p,.essai p{font-size:20px;line-height:1.55;color:var(--texte)}
.coches{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-weight:700;font-size:18px}
.coches li{display:flex;gap:12px;align-items:flex-start}
.coches li::before{content:"✓";flex:none;width:26px;height:26px;border-radius:50%;background:var(--vert);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;margin-top:1px}
.chat{flex:1 1 440px;min-width:0;background:#fff;border-radius:32px;padding:26px;display:flex;flex-direction:column;gap:16px;box-shadow:0 10px 0 #F0DDB0}
.bulle{position:relative;max-width:86%;border-radius:22px;padding:14px 18px 14px;font-size:17px;line-height:1.45}
.bulle p{margin:0}
.b-qui{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;opacity:.7}
.b-doty{align-self:flex-start;background:#FFF1CC;border-bottom-left-radius:6px}
.b-enfant{align-self:flex-end;background:var(--violet);color:#fff;border-bottom-right-radius:6px}
.b-note{display:inline-block;margin-top:10px;background:var(--encre);color:var(--creme);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:800}
.attend{display:inline-flex;gap:5px;margin-left:8px;vertical-align:middle}
.attend i{width:7px;height:7px;border-radius:50%;background:#C98A0B;animation:pt 1.2s infinite ease-in-out}
.attend i:nth-child(2){animation-delay:.2s}.attend i:nth-child(3){animation-delay:.4s}
@keyframes pt{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.essai{background:#FFE9B0;padding:64px 48px;width:calc(100% - 128px);max-width:1152px;margin:0 auto;border-radius:44px;box-shadow:0 8px 0 #E3C877}
.piege-in{max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.piege-btns{display:flex;flex-wrap:wrap;gap:12px}
.piege-btn{font:inherit;font-weight:800;font-size:17px;border:2px solid var(--encre);background:#fff;color:var(--encre);border-radius:999px;padding:12px 20px;cursor:pointer;transition:transform .1s,background .1s}
.piege-btn:hover{background:var(--encre);color:var(--creme)}
.piege-btn:active{transform:scale(.97)}
.piege-btn[aria-pressed=true]{background:var(--violet);border-color:var(--violet);color:#fff}
.piege-rep{width:100%;background:#fff;border-radius:24px;padding:20px 24px;font-size:20px;line-height:1.5;min-height:96px;box-shadow:0 6px 0 #E3C877}
.piege-rep p{margin:0;color:var(--encre)}
.args,.mats{max-width:1280px;margin:0 auto;padding:72px 64px 0;display:flex;flex-direction:column;gap:28px}
.args-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.arg{background:#fff;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:10px;box-shadow:0 6px 0 #F0DDB0}
.arg-num{width:44px;height:44px;border-radius:50%;background:var(--jaune);display:flex;align-items:center;justify-content:center;font-family:'Fredoka',sans-serif;font-weight:700;font-size:22px}
.arg:nth-child(2) .arg-num{background:var(--violet);color:#fff}.arg:nth-child(3) .arg-num{background:var(--vert)}.arg:nth-child(4) .arg-num{background:#FF7AA8}
.arg h3{margin:0;font-family:'Fredoka',sans-serif;font-size:22px;line-height:1.15}
.arg p{font-size:17px;line-height:1.55;color:var(--texte)}
.mats{padding-bottom:72px}
.mats h2{font-size:34px}
@media (max-width:820px){
.nav nav .lien-nav{display:none}
.dd ul{left:auto;right:-8px}
.niv-hero{padding-bottom:28px}
.podium{height:340px}
.prog{padding:8px 0 14px}.prog-in{padding:20px 22px;border-radius:0;max-width:none}.demo{padding:40px 20px}.demo-texte h2,.essai h2,.args h2{font-size:30px}.demo-texte p,.essai p{font-size:17px}
.chat{padding:18px}.bulle{max-width:94%;font-size:16px}
.essai{width:100%;max-width:none;border-radius:0;padding:44px 20px;box-shadow:none}.piege-rep{font-size:17px}
.args,.mats{padding:44px 20px 0}.mats{padding-bottom:44px}.mats h2{font-size:26px}
}

.logo-svg{width:30px;height:30px;flex:none;display:block}
.marque{gap:12px}

.stores{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:10px;padding:18px 24px 16px;background:#fff;border-radius:26px;box-shadow:0 6px 0 #F0DDB0}
.stores-badges{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
.stores-badges a{display:block;line-height:0;border-radius:9px;transition:transform .12s}
.stores-badges a:hover,.stores-badges a:focus-visible{transform:translateY(-2px)}
.stores-badges img{display:block;height:46px;width:auto}
.stores-legende{display:flex;align-items:center;gap:9px;font-weight:800;font-size:14px;color:#5A5373}
.stores-point{width:10px;height:10px;border-radius:50%;background:var(--vert);box-shadow:0 0 0 4px rgba(43,212,106,.22)}

/* ===== tableau blanc (Velleda), section « il écrit au tableau » ===== */
.vel-planche{container-type:inline-size;filter:drop-shadow(0 14px 14px rgba(26,21,48,.22))}
.vel-cadre{background:linear-gradient(160deg,#F4F6F9 0%,#CBD1DA 55%,#B7BEC9 100%);border-radius:10px;padding:2.6cqw;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),inset 0 -2px 3px rgba(0,0,0,.15)}
.vel-surface{position:relative;aspect-ratio:4/3;border-radius:5px;overflow:hidden;background:linear-gradient(115deg,#FFFFFF 0%,#F6F8FB 48%,#EEF1F6 100%);box-shadow:inset 0 0 6px rgba(26,21,48,.18)}
.vel-surface::after{content:"";position:absolute;inset:0;background:linear-gradient(112deg,rgba(255,255,255,0) 32%,rgba(255,255,255,.4) 42%,rgba(255,255,255,0) 52%);pointer-events:none}
.vel-trace{position:absolute;left:8%;top:55%;width:46%;height:20%;border-radius:50%;background:rgba(150,160,175,.16);filter:blur(5px);transform:rotate(-8deg)}
.vel-rigole{display:flex;align-items:center;gap:2.2cqw;margin:1.6cqw 3cqw 0;padding:1.4cqw 3cqw;height:5.2cqw;background:linear-gradient(#C7CDD6,#A9B1BD);border-radius:0 0 8px 8px}
.vel-feutre{display:block;width:12cqw;height:2.8cqw;border-radius:1.4cqw;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.vel-brosse{display:block;margin-left:auto;width:11cqw;height:3.2cqw;border-radius:1cqw;background:linear-gradient(#5B6475,#3C4352)}
.p-contact{left:31%;right:31%;bottom:15.2%;height:6.5%;border-radius:50%;background:rgba(10,8,30,.34);filter:blur(5px);z-index:1}

/* ===== choix du niveau (accueil) ===== */
.choix-niveau{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.choix-titre{font-weight:800;font-size:15px;color:#5A5373;letter-spacing:.02em}
.choix-liste{display:flex;flex-wrap:wrap;gap:12px}
.niv-pill{display:flex;flex-direction:column;gap:1px;padding:12px 22px;background:#fff;color:var(--encre);border-radius:999px;text-decoration:none;box-shadow:0 5px 0 var(--ombre,#F7B11E);transition:transform .12s,box-shadow .12s}
.niv-pill b{font-family:'Fredoka',sans-serif;font-size:20px;line-height:1.1}
.niv-pill small{font-weight:700;font-size:13px;color:#7A7396}
.niv-jaune{--ombre:#F7B11E}.niv-rose{--ombre:#FF7AA8}.niv-vert{--ombre:#2BD46A}
.niv-pill:hover,.niv-pill:focus-visible{transform:translateY(-3px);box-shadow:0 8px 0 var(--ombre)}
.niv-pill:active{transform:translateY(2px);box-shadow:0 3px 0 var(--ombre)}
@media (max-width:820px){.choix-liste{display:grid;grid-template-columns:1fr;gap:12px}.niv-pill{flex-direction:row;align-items:baseline;justify-content:space-between;border-radius:22px;padding:14px 20px}}
.niv-hero .pastille{text-transform:none;letter-spacing:.02em;font-size:15px}

.vel-svg{position:absolute;left:6%;top:6%;width:90%;height:auto;overflow:visible}
.vel-svg .vt{stroke-width:.046;stroke:#2F6FE0;opacity:.96;filter:drop-shadow(0 0 .006px rgba(47,111,224,.6))}
.vel-svg .vt[data-c="rouge"]{stroke:#E0413A;stroke-width:.06}
.vel-stylo{transition:opacity .25s;pointer-events:none;filter:drop-shadow(0 .03px .04px rgba(0,0,0,.35))}
.vel-stylo .st-corps{fill:#F4F6F9;stroke:#9AA3B2;stroke-width:.012}
.vel-stylo .st-capuchon{fill:#2F6FE0}
.vel-stylo .st-pointe{fill:#2F6FE0}
.vel-stylo.rouge .st-capuchon,.vel-stylo.rouge .st-pointe{fill:#E0413A}
