.sc-invitation{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:26px;margin:0 0 20px;border:1px solid #b5dcd9;border-radius:22px;background:linear-gradient(120deg,#e0f4ef,#f5f4df);box-shadow:0 5px 20px #1745520a}
.sc-invitation h2{font:800 1.9rem/1.1 var(--titre);margin:8px 0}.sc-invitation p{margin:6px 0;color:#36596a;max-width:550px}.sc-invitation .btn{flex-shrink:0}.sc-kicker{font-size:.75rem;font-weight:700;letter-spacing:.15em;color:#28665e}.sc-shell{max-width:980px;margin:auto;padding-bottom:30px}.sc-heading{position:relative;margin:26px 0;padding:44px 38px;border-radius:26px;overflow:hidden;background:linear-gradient(125deg,#122e48,#195269);color:#eafcff}.sc-heading:after{content:'△';font-size:270px;line-height:1;position:absolute;right:25px;bottom:-35px;color:#78c3cf29;pointer-events:none}.sc-heading .sc-kicker{color:#a7e1d7}.sc-heading h1{font:800 clamp(2.8rem,7vw,4rem)/1 var(--titre);margin:18px 0}.sc-heading p{max-width:400px;color:#c2dde5}.sc-route{display:flex;flex-wrap:wrap;gap:10px;position:relative;z-index:1}.sc-route span{font-size:.85rem;border:1px solid #8cb9c65c;border-radius:30px;padding:8px 14px}.sc-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sc-card{text-align:left;border:1px solid #c5dedb;border-radius:20px;background:#fff;padding:24px;transition:transform .18s,box-shadow .18s}.sc-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #204a5a13}.sc-card-top{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;color:#517078}.sc-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e0f3ec;color:#24675e;font-size:1.7rem}.sc-card:nth-child(3n+2) .sc-icon{background:#fff0d4;color:#916615}.sc-card:nth-child(3n) .sc-icon{background:#e4effb;color:#315c88}.sc-card h2{font:700 1.5rem/1.2 var(--titre);margin:20px 0 8px}.sc-card p{font-size:1rem;color:#536b7a;margin:0 0 20px}.sc-card strong{color:#0f5e6e;font-size:.95rem}.sc-note{color:#526a7c;font-size:.85rem;line-height:1.6;margin:22px 0}.sc-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.sc-toolbar>span{font-size:.75rem;letter-spacing:.1em;color:#536b7a}.sc-toolbar .btn{padding:9px 16px;font-size:.9rem}.sc-lesson-heading{margin:26px 0 20px}.sc-lesson-heading h1{font:800 clamp(1.9rem,5vw,2.8rem)/1.1 var(--titre);margin:10px 0}.sc-experiment{overflow:hidden;border-radius:22px;background:#fff;border:1px solid #bcdad9;box-shadow:0 8px 26px #1634480a}.sc-experiment svg{width:100%;max-height:380px;display:block;background:#0c2542}.sc-experiment svg text{font:16px var(--texte);fill:#effbff}.sc-experiment svg .sc-yellow{fill:#ffdc9c}.sc-experiment svg .sc-pink{fill:#ffa5b0}.sc-experiment svg .sc-big{font-size:34px;font-weight:bold}.sc-experiment svg .sc-number{fill:#123449;font-weight:bold}.sc-controls{display:flex;flex-wrap:wrap;gap:16px;padding:20px 24px 8px}.sc-controls label{flex:1;min-width:200px;font-size:.95rem;color:#294e60}.sc-controls label strong{float:right}.sc-controls select{display:block;width:100%;margin-top:8px;padding:10px 12px;font:inherit;color:#17324d;border:1px solid #a5c8c6;border-radius:10px;background:#f6faf9;min-height:46px}.sc-controls input[type=range]{width:100%;display:block;margin:14px 0;accent-color:#157768;height:24px}.sc-controls p{margin:0;font-size:.9rem;color:#526a7c}.sc-observation{margin:10px 24px 22px;padding:14px 16px;background:#edf7f3;border-left:3px solid #248372;border-radius:0 10px 10px 0;font-size:1rem;min-height:56px}.sc-steps{display:flex;justify-content:center;gap:14px;margin:26px 0 20px}.sc-steps button{width:44px;height:44px;border-radius:50%;border:1px solid #a9c9c7;background:white;font-weight:bold}.sc-steps button[aria-current=step]{color:white;background:#126b65;border-color:#126b65;box-shadow:0 0 0 5px #d8ece7}.sc-explanation{padding:24px 26px;background:#fff;border-radius:18px;border:1px solid #cbe0dc}.sc-explanation h2{font:700 1.6rem/1.2 var(--titre);margin:9px 0}.sc-explanation p{line-height:1.7;margin:0}.sc-step-actions{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.sc-step-actions button:disabled{opacity:.4;cursor:default}.sc-summary{border-radius:16px;padding:18px 22px;background:#f8efd8;border:1px solid #e6d8ae}.sc-summary summary{cursor:pointer;font-weight:700}.sc-summary p{font-size:1rem;line-height:1.6}.m-sciences{background:#e0f2e7!important;color:#24634e!important}
@keyframes sc-flow{to{stroke-dashoffset:-48}}.sc-flow{stroke-dasharray:14 10;animation:sc-flow 2s linear infinite}
@keyframes sc-snow{0%{transform:translateY(-14px);opacity:0}30%{opacity:1}100%{transform:translateY(35px);opacity:0}}.sc-snow{animation:sc-snow 3.5s linear infinite}
@keyframes sc-pulse{50%{stroke-opacity:.35;stroke-width:6}}.sc-pulse{animation:sc-pulse 2.5s ease-in-out infinite}
.sc-water{transition:height .5s,y .5s}.sc-paused *{animation-play-state:paused!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.sc-shell *{animation:none!important;transition:none!important}}
@media(max-width:620px){.sc-invitation{flex-direction:column;align-items:stretch;padding:20px}.sc-invitation .btn{align-self:flex-start}.sc-cards{grid-template-columns:1fr}.sc-heading{padding:28px 24px}.sc-heading:after{right:-30px}.sc-toolbar{gap:8px}.sc-toolbar>span{display:none}.sc-controls{padding:16px 16px 4px}.sc-observation{margin:10px 16px 16px}.sc-controls label{min-width:100%}.sc-explanation{padding:20px}.sc-step-actions .btn{font-size:.95rem;padding:10px 16px}.sc-experiment svg text{font-size:18px}.sc-experiment svg .sc-big{font-size:30px}}

/* Fiches reproduites depuis les photos scolaires. */
.sc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:24px 0}.sc-card{text-align:left;cursor:pointer}.scf-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:20px 0 30px}.scf-list button{display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:5px}.scf-list small{font-weight:400;color:#526373}.scf{display:grid;gap:16px;min-width:0}.scf-source{color:#536b79;font-size:.9rem}.scf-intro{padding:16px;background:#edf7fb;border-left:4px solid #4e9eb8;border-radius:10px;line-height:1.6}.scf-champ{display:grid;gap:7px;padding:12px;border:1px solid #cadce4;border-radius:12px;min-width:0;background:#fff}.scf-champ input:not([type=checkbox]),.scf-champ select,.scf-answer{font:inherit;min-height:44px;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:2px solid #b2cad6;border-radius:9px;background:#fff;color:#173e52}.scf-champ select{white-space:normal}.scf-champ input:focus,.scf-champ select:focus,.scf-answer:focus{outline:3px solid #85d6ee;outline-offset:2px}.scf-check{display:flex;align-items:center;gap:9px;padding:9px;cursor:pointer}.scf-check input{width:21px;height:21px}.scf-right{border-color:#20825f;background:#effbf5}.scf-wrong{border-color:#c97536;background:#fff6e9}.scf-feedback{font-size:.9rem;line-height:1.5}.scf-drawing{display:block;width:100%;height:auto}.scf-drawing text{font:16px system-ui;fill:#244758}.scf-note,.scf-help{font-size:.9rem;color:#4b6471;line-height:1.5}.scf-table-wrap{overflow-x:auto}.scf-table{border-collapse:collapse;width:100%;font-size:.95rem}.scf-table th,.scf-table td{border:1px solid #cbdce2;padding:8px;text-align:left}.scf-table th{background:#edf7fb}.scf-table .scf-champ{padding:6px;border:0;min-width:80px}.scf-table .scf-champ>span:first-child{font-size:.75rem}.scf-table .scf-input{max-width:140px}.scf-balance,.scf-energy{display:flex;gap:20px;align-items:center;justify-content:space-around;padding:22px;background:#edf7fb;border-radius:16px}.scf-balance>div,.scf-energy>div{display:grid;gap:8px;text-align:center}.scf-energy span{font-size:2.4rem;letter-spacing:8px}.scf-yellow{color:#a86b00}.scf-red{color:#be4257}.scf-crossword{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));max-width:520px;width:100%;margin:auto;gap:1px;padding:5px;box-sizing:border-box;background:#edf4f7}.scf-cell{aspect-ratio:1;position:relative;display:flex;align-items:center;justify-content:center;background:white;border:1px solid #6c8c9b;font-size:clamp(11px,3vw,20px);font-weight:700}.scf-cell small{position:absolute;top:0;left:2px;font-size:8px}.scf-conflict{background:#ffe1c0}.scf-model{padding:20px;background:#eef8f4;border:1px solid #b6dacc;border-radius:16px}.scf-model[hidden]{display:none}.scf-model button{margin:8px 8px 0 0}.scf-maze-next{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scf-maze-path{line-height:1.7}.scf-answer{resize:vertical}.scf-table td{vertical-align:top}
@media(max-width:520px){.sc-cards,.scf-list{grid-template-columns:1fr}.scf-table{font-size:.8rem}.scf-table th,.scf-table td{padding:3px}.scf-table .scf-champ{min-width:59px;padding:3px}.scf-table .scf-input{padding:5px}.scf-energy{gap:8px;padding:12px}.scf-energy span{letter-spacing:1px}.scf-maze-next{grid-template-columns:1fr}}

.scf-sign{justify-self:start;min-width:44px;min-height:36px;border:1px solid #aecbd7;border-radius:8px;background:#edf7fb;color:#204b60;font:700 1.1rem system-ui;cursor:pointer}.scf-sign:disabled{opacity:.5}
