
    :root{--ink:#161442;--soft-ink:#565c7a;--purple:#7140ef;--deep:#5126ca;--mint:#00cba3;--blue:#258df4;--yellow:#ffbd1b;--rose:#f76fa7;--line:#e8e7f4;--white:#fff;--shade:#f7f8ff;--shadow:0 17px 46px rgba(26,21,95,.075)}
    *,*::before,*::after{box-sizing:border-box}
    html{scroll-behavior:smooth;scroll-padding-top:100px}
    body{margin:0;background:#fff;color:var(--ink);font-family:'Trebuchet MS','Segoe UI',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
    button,input{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}
    a{text-decoration:none;color:inherit}img{display:block;max-width:100%}
    button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--mint);outline-offset:3px}
    .container{width:min(1160px,calc(100% - 56px));margin:0 auto}
    .section{padding:86px 0}
    .eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--purple);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
    .eyebrow::before{content:'';display:block;width:9px;height:9px;background:var(--mint);border-radius:50%;box-shadow:0 0 0 5px #dff9f2}
    .section-heading{margin-bottom:32px;max-width:750px}.section-heading h2{margin:12px 0 12px;font-size:clamp(2rem,4.7vw,3rem);line-height:1.1;letter-spacing:-.045em;font-weight:1000}.section-heading p{color:var(--soft-ink);margin:0;line-height:1.7;font-size:1.05rem}
    .btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:52px;border-radius:100px;padding:0 23px;font-size:.94rem;font-weight:900;border:2px solid transparent;transition:transform .18s,box-shadow .18s,background .18s;white-space:nowrap}
    .btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(120deg,#8155ff,#6533ec);color:white;box-shadow:0 11px 22px rgba(112,61,238,.23)}.btn-primary:hover{box-shadow:0 15px 28px rgba(112,61,238,.3)}.btn-outline{background:white;color:var(--purple);border-color:#b8a2ff}.btn-outline:hover{background:#f8f5ff}.btn-light{background:#f1eaff;color:var(--deep)}
    .site-header{background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:90}
    .header-inner{height:82px;display:flex;align-items:center;gap:25px}
    .brand{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:.88;transform:rotate(-4deg);white-space:nowrap;flex-shrink:0;margin-right:10px}
    .brand span:first-child{font-weight:1000;font-size:22px;color:white;letter-spacing:-.055em;background:var(--purple);border-radius:10px 12px 6px 9px;padding:5px 9px 6px;text-shadow:0 2px #31217d;box-shadow:0 3px 0 #332481}
    .brand span:last-child{font-weight:1000;font-size:24px;color:#ffcf27;letter-spacing:-.05em;background:#04cba1;border-radius:8px 10px 11px 9px;padding:3px 10px 6px;margin-left:14px;text-shadow:0 2px #344083;box-shadow:0 3px 0 #0a9b7e}
    .nav{display:flex;gap:clamp(14px,2.3vw,34px);align-items:center;margin-left:auto}.nav a{font-weight:850;font-size:.9rem;transition:color .16s}.nav a:hover,.nav a.active{color:var(--purple)}
    .header-cta{font-size:.87rem;min-height:44px;padding:0 21px;margin-left:8px}.menu-toggle{display:none;background:#f4f0ff;border:0;border-radius:14px;font-size:1.45rem;width:45px;height:45px;color:var(--purple)}
    .hero{position:relative;overflow:hidden;background:radial-gradient(circle at 85% 10%,#eaf8ff 0,transparent 43%),radial-gradient(circle at 8% 95%,#f2eaff 0,transparent 40%),#fff;padding:64px 0 68px}
    .hero::after{content:'✳';position:absolute;color:#ffbf19;font-size:72px;top:38px;left:48%;transform:rotate(12deg);opacity:.9;pointer-events:none}
    .hero-grid{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:32px;position:relative;z-index:1}
    .hero-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:#f1ecff;color:var(--deep);border-radius:30px;font-size:.78rem;font-weight:900;letter-spacing:.02em}
    .hero h1{font-size:clamp(2.8rem,5.3vw,4.65rem);line-height:1.08;letter-spacing:-.064em;font-weight:1000;margin:26px 0 19px}
    .hero h1 .pop{display:inline-block;position:relative;z-index:0;color:#f7b900;text-shadow:0 2px #b07f12}.hero h1 .pop::before{content:'';position:absolute;z-index:-1;inset:4% -3% 0 -3%;background:#00ddb8;transform:rotate(-2deg);border-radius:16px 22px 18px 12px;box-shadow:4px 5px 0 #7b46ef}
    .hero-copy>p{font-size:1.09rem;line-height:1.7;color:var(--soft-ink);max-width:440px;margin:0 0 26px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
    .hero-highlights{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.hero-highlights span{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:800;background:#fff;border:1px solid #eae7f9;border-radius:30px;padding:10px 12px;box-shadow:0 5px 17px rgba(58,42,120,.04)}
    .hero-art-box{position:relative;overflow:hidden;border-radius:30px;background:#fff;box-shadow:0 24px 65px rgba(56,66,155,.13);border:6px solid white;transform:rotate(1.2deg)}.hero-art-box img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.hero-sticker{position:absolute;bottom:18px;left:18px;background:#fff;border-radius:15px;padding:10px 14px;font-weight:1000;color:var(--deep);font-size:.86rem;box-shadow:0 8px 28px rgba(22,20,66,.17);transform:rotate(-3deg)}
    .marquee{border-block:1px solid #eae9f7;background:#fbfaff}.marquee-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;padding-block:12px}.marquee strong{font-size:.88rem}.marquee span{font-size:.87rem;color:var(--soft-ink);font-weight:800}.marquee b{color:var(--mint)}
    .intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:stretch}.intro-card{border:1px solid var(--line);border-radius:28px;padding:34px;background:linear-gradient(145deg,#f7f5ff,#fff);box-shadow:var(--shadow)}
    .intro-card h3{font-size:1.7rem;letter-spacing:-.03em;margin:0 0 12px}.intro-card p{color:var(--soft-ink);line-height:1.7;margin:0 0 17px}.intro-card .note{background:#fff;border:1px solid #e9e2ff;border-radius:18px;padding:14px 17px;font-size:.94rem;line-height:1.65}.intro-card .note strong{color:var(--deep)}
    .computer-diagram{display:grid;grid-template-columns:1fr .47fr;align-items:end;gap:15px;min-height:220px;margin-bottom:16px}.screen-stand{margin:auto;max-width:288px}.screen-case{background:#2e296b;border:8px solid #393478;border-radius:16px;padding:19px 12px 15px;box-shadow:0 12px 15px #c8c5e9}.screen-content{background:linear-gradient(135deg,#56baff,#6f47f5);height:116px;border-radius:7px;display:grid;place-items:center;color:white;font-size:2.5rem}.screen-leg{width:16px;height:24px;background:#47407f;margin:auto}.screen-base{width:84px;height:9px;background:#47407f;margin:auto;border-radius:8px}.desk-keys{width:80%;height:26px;margin:12px auto 0;background:repeating-linear-gradient(90deg,#d1ccf4 0 7px,#ebe7ff 7px 9px);border:6px solid #f0edff;border-radius:10px;box-shadow:0 5px 10px #eeeafb}.system-tower{height:190px;width:93px;margin:auto;border:9px solid #555099;border-radius:19px;background:linear-gradient(120deg,#e9f6ff,#cbc5ff);position:relative;box-shadow:0 12px 15px #cfceee}.system-tower::before{content:'';position:absolute;top:23px;left:18px;width:15px;height:15px;border-radius:50%;background:#06d5a6;box-shadow:0 38px #8f84d5}.system-tower::after{content:'';position:absolute;bottom:22px;left:18px;right:18px;height:45px;border-radius:10px;background:#8580cb}
    .diagram-caption{font-size:.8rem;text-align:center;color:var(--soft-ink);font-weight:900;margin:10px 0 0}
    .definitions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.definition{background:white;border:1px solid var(--line);border-radius:23px;padding:23px;box-shadow:var(--shadow)}.definition .icon-bubble{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;font-size:1.7rem;margin-bottom:12px}.definition h3{margin:0 0 8px;font-size:1.05rem}.definition p{margin:0;color:var(--soft-ink);line-height:1.6;font-size:.89rem}
    .peripherals-section{background:#f8f9ff;position:relative}.flow-strip{display:grid;grid-template-columns:1fr auto 1.1fr auto 1fr;align-items:center;gap:12px;margin:0 0 29px;padding:20px;background:white;border:1px solid #eceaf8;border-radius:25px;box-shadow:var(--shadow)}.flow-part{text-align:center;border-radius:17px;padding:14px 9px;font-weight:900}.flow-part span{display:block;font-size:.76rem;font-weight:750;color:var(--soft-ink);margin-top:3px}.flow-part.input{background:#e8f4ff;color:#0762c0}.flow-part.computer{background:#f0eaff;color:#602bce}.flow-part.output{background:#e0fbf2;color:#008866}.flow-arrow{font-size:1.5rem;color:#928db2}
    .filter-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.filters{display:flex;gap:9px;flex-wrap:wrap}.filter-btn{border:1.5px solid #e6e3f5;border-radius:99px;background:#fff;padding:11px 17px;font-weight:900;color:#534b85;font-size:.85rem;transition:background .2s,color .2s,transform .2s}.filter-btn:hover{transform:translateY(-1px)}.filter-btn[aria-pressed="true"]{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 6px 15px rgba(112,64,239,.15)}.card-count{font-size:.86rem;color:var(--soft-ink);font-weight:800}
    .device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.device-card{background:#fff;border:1px solid #eae8f5;border-radius:22px;padding:21px 20px 23px;box-shadow:0 10px 26px rgba(35,31,91,.04);transition:transform .18s,box-shadow .18s}.device-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.device-card[hidden]{display:none}.device-icon{height:65px;width:72px;display:grid;place-items:center;border-radius:20px;font-size:2.5rem;background:#f2eeff;margin-bottom:15px;line-height:1}.device-card h3{font-size:1.14rem;margin:0 0 7px;letter-spacing:-.02em}.device-card p{font-size:.88rem;color:var(--soft-ink);line-height:1.56;min-height:44px;margin:0 0 15px}.device-tag{display:inline-flex;gap:6px;align-items:center;font-size:.75rem;font-weight:900;padding:7px 12px;border-radius:100px}.device-card[data-type="entree"] .device-tag{background:#e6f2ff;color:#096fd0}.device-card[data-type="sortie"] .device-tag{background:#e2fbf1;color:#018768}.device-card[data-type="mixte"] .device-tag{background:#fff0d9;color:#a05c00}
    .remember{display:flex;gap:16px;align-items:start;background:#fff8e9;border:1px solid #ffe3a0;border-radius:22px;padding:20px 24px;margin-top:23px;line-height:1.65;font-size:.93rem}.remember .bulb{font-size:1.7rem}.remember strong{color:#825000}
    .files-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:26px 0}.concept-card{border:1px solid var(--line);border-radius:27px;padding:29px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.concept-card.file{background:linear-gradient(135deg,#eef7ff,#fff)}.concept-card.folder{background:linear-gradient(135deg,#fff8df,#fff)}.concept-header{display:flex;align-items:center;gap:15px;margin-bottom:15px}.concept-glyph{height:72px;width:76px;border-radius:20px;display:grid;place-items:center;font-size:3.2rem;background:#fff}.concept-card h3{font-size:1.48rem;letter-spacing:-.025em;margin:0 0 5px}.concept-card p{line-height:1.7;color:var(--soft-ink);margin:0 0 16px}.example{display:inline-flex;align-items:center;border:1px solid #e4e4ee;border-radius:13px;background:#fff;padding:10px 12px;font-weight:900;font-size:.89rem;color:#3d3a73;overflow-wrap:anywhere}.concept-card .small{margin:16px 0 0;font-size:.84rem}
    .tree-section{background:linear-gradient(160deg,#f3f0ff,#f9fbff);border-block:1px solid #ebe9fb}.tree-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:stretch}.explorer{background:white;border:1px solid #e4e0f4;border-radius:25px;overflow:hidden;box-shadow:var(--shadow)}.explorer-top{display:flex;align-items:center;gap:10px;background:#f7f6fc;padding:17px 22px;border-bottom:1px solid #e7e5f0;font-weight:900;font-size:.9rem}.explorer-dots{display:inline-flex;gap:5px;margin-right:8px}.explorer-dots i{height:9px;width:9px;border-radius:50%;background:#f78ca5}.explorer-dots i:nth-child(2){background:#ffd064}.explorer-dots i:nth-child(3){background:#62dbbb}.tree{padding:24px 22px 28px;min-height:320px;overflow:auto}.tree details{padding-left:16px;border-left:1px dashed #d9d4ee;margin-left:9px}.tree>details{border:0;margin:0;padding:0}.tree summary{list-style:none;cursor:pointer;display:flex;gap:9px;align-items:center;min-height:39px;width:max-content;max-width:100%;font-weight:850;font-size:.92rem;border-radius:10px;padding:6px 8px}.tree summary::-webkit-details-marker{display:none}.tree summary::before{content:'▸';color:#9787bd;font-size:12px;transition:transform .15s}.tree details[open]>summary::before{transform:rotate(90deg)}.tree summary:hover,.tree .tree-file:hover{background:#f6f2ff}.tree .tree-file{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;padding:9px 12px;border:0;background:transparent;border-radius:10px;text-align:left;color:var(--ink);margin-left:15px;font-size:.87rem;font-weight:750}.tree .tree-file[aria-pressed="true"]{background:#ede4ff;color:#5427ca}.tree .fname{overflow-wrap:anywhere}.selection-panel{background:#fff;border:1px solid #e4e0f4;border-radius:25px;padding:31px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center;align-items:start}.selection-panel .selection-glyph{font-size:3.3rem;background:#f7f2ff;border-radius:22px;width:86px;height:86px;display:grid;place-items:center;margin-bottom:15px}.selection-panel .small-label{font-size:.73rem;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:var(--purple)}.selection-panel h3{font-size:1.65rem;letter-spacing:-.03em;margin:8px 0}.selection-panel p{color:var(--soft-ink);line-height:1.65;margin:0}.path{margin-top:22px;padding:14px;background:#f6f4ff;border-radius:14px;color:#584c89;font-size:.85rem;font-weight:800;overflow-wrap:anywhere;width:100%}
    .quiz-section{background:#fff}.quiz-wrap{border-radius:32px;background:linear-gradient(135deg,#251b68,#6834e6 72%,#8e61fd);padding:36px;color:white;box-shadow:0 23px 65px rgba(83,43,183,.18);position:relative;overflow:hidden}.quiz-wrap::after{content:'✦';position:absolute;font-size:150px;right:-15px;top:-35px;color:#ffffff14;pointer-events:none}.quiz-inner{display:grid;grid-template-columns:.7fr 1.3fr;gap:34px;position:relative;z-index:1}.quiz-intro h2{font-size:clamp(2rem,3.5vw,2.8rem);line-height:1.1;margin:11px 0}.quiz-intro p{line-height:1.68;color:#e8e1ff}.quiz-intro .quiz-robot{width:150px;max-width:58%;margin-top:10px;filter:drop-shadow(0 10px 20px #24115255)}
    .quiz-card{background:#fff;border-radius:23px;padding:27px;color:var(--ink);min-height:360px;display:flex;flex-direction:column;justify-content:space-between}.quiz-progress{display:flex;gap:15px;justify-content:space-between;align-items:center;color:var(--purple);font-size:.85rem;font-weight:900}.progress-track{width:100%;height:8px;background:#eae5fb;border-radius:100px;overflow:hidden;margin:13px 0 23px}.progress-bar{width:14.2857%;height:100%;background:linear-gradient(90deg,#11caa6,#7244f2);border-radius:100px;transition:width .2s}.quiz-card h3{font-size:1.35rem;line-height:1.3;letter-spacing:-.025em;margin:0 0 20px}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer{padding:13px 14px;border:1.5px solid #e5e0f5;border-radius:13px;text-align:left;font-size:.9rem;font-weight:800;background:#fbfaff;color:#323062;min-height:56px}.answer:hover:not(:disabled){border-color:#9974f2;background:#f5f0ff}.answer:disabled{cursor:default}.answer.correct{background:#e4fbef;border-color:#23bf90;color:#067c5e}.answer.incorrect{background:#ffedf0;border-color:#ef7c99;color:#a72c50}.feedback{margin-top:16px;padding:12px 15px;border-radius:12px;font-size:.89rem;font-weight:800;line-height:1.55}.feedback.good{background:#e4fbef;color:#087857}.feedback.bad{background:#fff0df;color:#935000}.quiz-bottom{margin-top:19px;display:flex;justify-content:space-between;align-items:center;gap:13px}.quiz-score{color:#5a527a;font-size:.86rem;font-weight:850}.quiz-next{min-height:43px;padding:0 18px}.quiz-next:disabled{opacity:.45;cursor:default;transform:none}.result{text-align:center;padding:20px 0}.result .emoji{font-size:3.5rem}.result h3{font-size:2rem;margin:10px 0}.result p{color:var(--soft-ink);line-height:1.6;margin:0 auto 21px;max-width:390px}
    .closing{background:#f8f7ff;border-top:1px solid var(--line);padding:31px 0}.closing-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}.closing h2{font-size:1.35rem;margin:0 0 7px;letter-spacing:-.03em}.closing p{margin:0;color:var(--soft-ink);line-height:1.5}.site-footer{background:#fff;padding:30px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-inner p{font-size:.82rem;color:var(--soft-ink);margin:0}.footer-inner a:not(.brand){color:var(--purple);font-weight:850;font-size:.85rem}
    @media(max-width:1030px){.hero-grid{gap:20px}.hero h1{font-size:clamp(2.5rem,5vw,3.7rem)}.device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
    @media(max-width:790px){.container{width:min(100% - 34px,670px)}.header-inner{height:75px}.menu-toggle{display:grid;place-items:center;margin-left:auto}.nav{display:none;position:absolute;top:75px;left:0;right:0;background:white;border-bottom:1px solid var(--line);box-shadow:0 18px 25px #24204b15;padding:17px;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{padding:13px 16px;border-radius:12px}.nav a:hover{background:#f7f3ff}.header-cta{display:none}.hero{padding:40px 0 43px}.hero::after{display:none}.hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:clamp(2.65rem,9vw,4.3rem)}.hero-copy>p{max-width:600px}.hero-art-box{max-width:650px;transform:none}.section{padding:65px 0}.intro-grid,.tree-layout,.quiz-inner{grid-template-columns:1fr}.definitions{grid-template-columns:repeat(3,1fr)}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-intro .quiz-robot{display:none}.quiz-card{min-height:0}.quiz-wrap{padding:24px}.quiz-intro p{margin-bottom:0}.closing-inner{flex-direction:column;align-items:start}}
    @media(max-width:540px){.container{width:calc(100% - 32px)}.header-inner{height:69px}.nav{top:69px}.brand span:first-child{font-size:18px}.brand span:last-child{font-size:20px}.hero{padding:35px 0}.hero h1{font-size:clamp(2.35rem,12vw,3.2rem);margin:23px 0 17px}.hero-actions{gap:9px}.hero-actions .btn{width:100%}.hero-highlights{gap:7px}.hero-highlights span{font-size:.72rem;padding:8px 10px}.hero-art-box{border-radius:23px;border-width:4px}.hero-sticker{font-size:.72rem;padding:8px 11px;bottom:10px;left:10px}.marquee-inner{justify-content:center;gap:9px 18px}.marquee span{font-size:.76rem}.section{padding:54px 0}.section-heading h2{font-size:2.05rem}.intro-card{padding:22px}.computer-diagram{min-height:170px}.screen-content{height:87px}.system-tower{height:155px;width:78px}.definitions{grid-template-columns:1fr;gap:11px}.definition{display:grid;grid-template-columns:55px 1fr;column-gap:15px;padding:16px}.definition .icon-bubble{grid-row:span 2;margin:0}.definition p{font-size:.86rem}.flow-strip{padding:10px;gap:4px;border-radius:17px}.flow-part{padding:12px 3px;font-size:.72rem}.flow-part span{font-size:.67rem}.flow-arrow{font-size:1rem}.filter-btn{padding:10px 12px;font-size:.79rem}.device-grid{gap:12px}.device-card{padding:16px 13px;border-radius:18px}.device-icon{width:58px;height:57px;font-size:2.15rem}.device-card h3{font-size:1rem}.device-card p{font-size:.79rem;min-height:60px}.device-tag{font-size:.68rem;padding:7px 9px}.files-grid{grid-template-columns:1fr;gap:13px}.concept-card{padding:21px}.tree{padding:16px 10px 22px}.tree details{padding-left:10px;margin-left:5px}.tree summary{font-size:.84rem}.tree .tree-file{font-size:.79rem}.selection-panel{padding:23px}.quiz-wrap{padding:15px;border-radius:23px}.quiz-intro{padding:10px 9px}.quiz-card{padding:18px;border-radius:17px}.answers{grid-template-columns:1fr}.answer{min-height:48px}.quiz-bottom{flex-wrap:wrap}.closing{padding:25px 0}.footer-inner{align-items:start;flex-direction:column}.remember{padding:15px}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
  

/* Mon Labo Techno — visual extensions (the original palette is retained) */
:root{--pastel:#f5f4ff}
.site-header .header-inner{justify-content:space-between}.nav{margin-left:auto}.brand span:first-child{letter-spacing:-.045em}
.hero{padding:70px 0 76px}.hero h1{margin-top:0}.hero-copy>p{margin-bottom:0}.hero-art-box{transform:rotate(.5deg)}
.marquee .marquee-inner{justify-content:space-between;gap:12px 22px}.marquee span{font-size:.83rem}
.section-heading{max-width:870px;margin-bottom:30px}.section-index{color:var(--purple);font-weight:1000;margin-right:.12em}
.learn-section{background:#fff}.flow-section{background:#f6f7ff;padding:70px 0}.uc-section{background:#fff}
.discovery-grid{display:grid;grid-template-columns:minmax(0,1.23fr) minmax(0,.77fr);gap:22px;align-items:start}
.discovery-visual,.discovery-detail{border:1px solid #e6e4f6;border-radius:29px;box-shadow:var(--shadow)}
.discovery-visual{background:linear-gradient(143deg,#f5f2ff 0%,#fff 48%,#f7fbff 100%);padding:23px}
.stage-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:1000;color:#4f31a9;font-size:.91rem;flex-wrap:wrap}
.stage-count{background:#fff;color:#5f53a0;font-size:.75rem;font-weight:900;border:1px solid #e4dfff;border-radius:40px;padding:8px 11px}
.desk-illustration{width:100%;display:block;max-height:255px;margin:9px auto 0;filter:drop-shadow(0 7px 10px #5f58ac1c)}
.object-title{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin:17px 0 13px}.object-title strong{font-size:.96rem}.object-title span{font-size:.76rem;color:var(--soft-ink)}
.devices-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.device-tile{position:relative;border:2px solid #e9e7f9;background:#fff;min-height:92px;border-radius:18px;padding:10px 5px 8px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;box-shadow:0 6px 12px #29206509;transition:transform .16s,border-color .16s,background .16s}
.device-tile:hover{transform:translateY(-3px);border-color:#ac94fd}.device-tile[aria-pressed="true"]{border-color:#7450ee;background:#f0ebff;box-shadow:0 0 0 3px #e2dbff}
.tile-icon{font-size:1.85rem;line-height:1.12}.tile-label{font-weight:900;color:#23204f;font-size:.73rem;line-height:1.25;text-align:center}.seen-dot{display:none;position:absolute;right:6px;top:6px;border-radius:50%;background:#0bc59c;color:white;font-size:.62rem;padding:2px 4px}.device-tile.discovered .seen-dot{display:block}
.explored-footer{margin-top:19px;display:flex;gap:15px;align-items:center;flex-wrap:wrap;color:#5449a0;font-size:.85rem;font-weight:950}
.mini-progress{height:9px;border-radius:99px;background:#e7e0ff;overflow:hidden;flex:1;min-width:95px}.mini-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#00d7b1,#7550fa);border-radius:99px;transition:width .25s}
.visited-items{border-top:1px solid #e8e4fc;margin-top:17px;padding-top:16px;font-size:.87rem;color:#4f5170}.visited-items strong{display:block;margin-bottom:9px;color:#20204c}.visited-tags{display:flex;gap:6px;flex-wrap:wrap;line-height:1.5}.visited-tag{font-size:.72rem;background:#e5f9f3;color:#047c66;border-radius:99px;padding:5px 9px;font-weight:900}
.discovery-detail{position:sticky;top:102px;background:white;padding:29px;min-height:422px;overflow:hidden}
.discovery-detail::after{content:'✦';position:absolute;color:#e9e1ff;top:20px;right:22px;font-size:3.9rem;z-index:0;pointer-events:none}
.detail-overline{font-weight:900;text-transform:uppercase;letter-spacing:.085em;font-size:.78rem;color:#6b48d8}
.detail-symbol{margin:24px 0 12px;background:linear-gradient(140deg,#ecfaff,#f0e9ff);border-radius:24px;width:104px;height:95px;display:grid;place-items:center;font-size:3.1rem}
.detail-kicker{color:#02a987;text-transform:uppercase;font-weight:1000;font-size:.76rem;letter-spacing:.06em}
.discovery-detail h3{font-size:clamp(1.55rem,2.9vw,2rem);line-height:1.16;letter-spacing:-.035em;margin:12px 0}.discovery-detail p{color:var(--soft-ink);font-size:1.03rem;line-height:1.72;margin:0 0 18px}
.type-tag{display:inline-flex;border-radius:99px;background:#e9f3ff;color:#0868c4;font-size:.8rem;font-weight:950;padding:9px 13px;margin-bottom:18px}.type-tag[data-type="sortie"]{background:#dcf8ef;color:#05795f}.type-tag[data-type="mixte"]{background:#fff0d8;color:#a46800}.type-tag[hidden]{display:none}
.detail-small{background:#f5f1ff;border:1px solid #eae4ff;border-radius:17px;padding:17px;line-height:1.7;font-size:.84rem;color:#57547d;margin-top:14px}.detail-small strong{color:#2d2671}
.information-flow{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr);gap:9px;align-items:center;background:#fff;border-radius:29px;border:1px solid #e6e4f6;box-shadow:var(--shadow);padding:21px}
.information-flow .flow-part{min-height:190px;border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:15px 9px;line-height:1.4}
.flow-icon{font-size:2rem;margin-bottom:5px}.information-flow .flow-part strong{font-size:1.05rem}.information-flow .flow-icon{font-size:2rem}.information-flow .flow-part>span:not(.flow-icon){font-size:.83rem;color:inherit;opacity:.82}.information-flow .flow-part small{margin-top:13px;font-size:.82rem;line-height:1.4;max-width:200px}.flow-arrow{font-weight:900;text-align:center}
.flow-remember{margin-top:22px;background:#fff9e9;border:1px solid #ffd86d;border-radius:27px;font-size:1.01rem;line-height:1.72}.flow-remember strong{color:#a26500}
.uc-visual{background:linear-gradient(140deg,#f4f2ff,#fafcff)}.tower-illustration{display:block;width:100%;height:auto;margin:4px auto -2px}
.component-hit{cursor:pointer;outline:none}.part-outline{fill:transparent;stroke:transparent;stroke-width:5;transition:fill .16s,stroke .16s}
.component-hit:hover .part-outline,.component-hit:focus-visible .part-outline{fill:#fff5b722;stroke:#ffcc3b}
.component-hit[aria-pressed="true"] .part-outline{fill:#fff0aa29;stroke:#fff08d;stroke-width:6}
.component-hit:hover,.component-hit:focus-visible{filter:drop-shadow(0 0 7px #fee37e)}
.pin circle{fill:#ffcc23;stroke:#fff;stroke-width:3}.pin text{font-family:system-ui,sans-serif;fill:#333064;text-anchor:middle;font-size:15px;font-weight:1000;pointer-events:none}
.uc-hint{text-align:center;color:#585279;font-weight:800;font-size:.82rem;margin:0 0 13px}.legend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.legend-btn{min-height:48px;border:2px solid #e5e3f7;background:#fff;border-radius:15px;font-weight:900;font-size:.84rem;color:#302d67;text-align:left;padding:9px 12px;display:flex;gap:10px;align-items:center}.legend-btn:hover{border-color:#a58ffa}.legend-btn[aria-pressed="true"]{border-color:#7350ee;background:#f2ecff}.legend-number{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:25px;height:25px;color:#33305d;background:#ffd55c;font-size:.76rem}
.uc-detail .detail-small{background:#e9faf5;border-color:#d4f5e9}.return-choice{border:2px solid #b9a6ff;background:#fff;border-radius:100px;color:#603ad4;font-weight:900;padding:12px 18px;margin-top:21px;font-size:.86rem}.return-choice:hover{background:#f7f3ff}@media(min-width:961px){.return-choice{display:none}}
@media(max-width:960px){.discovery-grid{grid-template-columns:1fr}.discovery-detail{position:static;min-height:0}.tower-illustration{max-width:750px}.desk-illustration{max-width:680px}.hero{padding:48px 0}.marquee-inner{justify-content:flex-start!important}}
@media(max-width:790px){.nav{display:flex;position:static;box-shadow:none;border:0;padding:0;flex-direction:row;align-items:center;background:transparent}.nav a{padding:8px}.hero h1{font-size:clamp(2.65rem,9vw,4.2rem)}.hero-grid{grid-template-columns:1fr}.information-flow .flow-part{min-height:168px}.information-flow .flow-part strong{font-size:.93rem}}
@media(max-width:540px){.site-header .header-inner{height:74px}.hero{padding:40px 0}.hero h1{margin-top:0}.section{padding:55px 0}.discovery-visual{padding:13px;border-radius:22px}.discovery-detail{padding:23px;border-radius:22px}.devices-tiles{grid-template-columns:repeat(3,1fr);gap:7px}.device-tile{min-height:86px;padding:8px 4px}.tile-icon{font-size:1.63rem}.tile-label{font-size:.7rem}.stage-header{font-size:.8rem}.stage-count{font-size:.69rem}.desk-illustration{max-height:205px}.information-flow{grid-template-columns:1fr;gap:8px;padding:13px}.information-flow .flow-part{min-height:0;padding:17px 12px}.information-flow .flow-part small{margin-top:4px}.information-flow .flow-arrow{transform:rotate(90deg);line-height:1}.flow-remember{padding:17px}.legend-grid{grid-template-columns:1fr}.tower-illustration{max-height:none}.marquee-inner{justify-content:flex-start!important}.marquee-inner span{font-size:.78rem}.closing-inner h2{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){.mini-progress>span{transition:none}}

/* Partie 02 — version interactive revue */
.uc-heading{max-width:1080px;margin-bottom:26px}.uc-heading h2{color:var(--purple);font-size:clamp(2.1rem,3.3vw,3.35rem);line-height:1.08;letter-spacing:-.045em;margin:0 0 16px;white-space:nowrap}.uc-heading p{max-width:900px}
.uc-visual{padding:24px 24px 18px}.uc-scene-wrap{background:linear-gradient(145deg,#f8f5ff 0%,#ffffff 48%,#eef7ff 100%);border:1px solid #ebe8fb;border-radius:26px;padding:18px}.uc-scene{width:100%;height:auto;display:block;overflow:visible}.uc-scene .hit-box{fill:transparent;cursor:pointer}.uc-scene .component-zone{cursor:pointer;transform-origin:center center;transform-box:fill-box;transition:filter .18s ease,transform .18s ease}.uc-scene .component-zone:hover,.uc-scene .component-zone:focus-visible{filter:drop-shadow(0 0 8px rgba(113,64,239,.28));outline:none}.uc-scene .component-zone[aria-pressed="true"]{filter:drop-shadow(0 0 10px rgba(0,203,163,.85)) drop-shadow(0 0 4px rgba(0,203,163,.95))}.uc-scene .component-zone.discovered:not([aria-pressed="true"]){filter:drop-shadow(0 0 3px rgba(0,203,163,.55))}.uc-caption{text-align:center;color:#585279;font-weight:800;font-size:.82rem;margin:12px 0 0}.uc-progress-box{margin-top:20px}.uc-progress-box .visited-tag{background:#f1ecff;color:#4e2dc2}.uc-progress-box .visited-tag:hover{background:#ebe4ff}.uc-detail .detail-overline{color:var(--purple)}.uc-detail .detail-symbol{background:linear-gradient(140deg,#f1e9ff,#e9f8ff)}
@media(max-width:1100px){.uc-heading h2{font-size:clamp(1.95rem,3vw,2.9rem)}}
@media(max-width:840px){.uc-heading h2{white-space:normal}}
@media(max-width:540px){.uc-visual{padding:14px}.uc-scene-wrap{padding:12px;border-radius:20px}}

/* Leçon sur le trajet de l’information : titre mauve et trois encadrés sans pictogrammes. */
.flow-section #flow-title{color:var(--purple)}
.information-flow .flow-part{min-height:155px}
@media(max-width:790px){.information-flow .flow-part{min-height:145px}}
@media(max-width:540px){.information-flow .flow-part{min-height:0}}
/* Partie 01 — illustration interactive et présentation pédagogique */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lesson-heading{max-width:990px;margin-bottom:19px}.lesson-heading h2{color:var(--purple);font-size:clamp(2.1rem,4.3vw,3.45rem);line-height:1.1;margin:0 0 15px}.lesson-heading .section-index{color:inherit}
.lesson-heading p{max-width:975px;font-size:1.08rem}
.peripheral-definition{display:flex;gap:17px;align-items:start;background:linear-gradient(115deg,#f3efff,#f5f8ff);border:1px solid #e6e0fa;border-radius:21px;padding:18px 22px;margin:0 0 22px;box-shadow:0 8px 23px rgba(39,31,105,.035)}
.peripheral-definition .definition-badge{display:grid;place-items:center;flex:0 0 43px;height:43px;border-radius:13px;background:#e3d9ff;font-size:1.45rem;color:var(--purple)}
.peripheral-definition strong{font-size:1.02rem;color:#37227c}.peripheral-definition p{color:#4d506f;font-size:.95rem;line-height:1.55;margin:5px 0 0}
.peripherals-discovery-grid{grid-template-columns:minmax(0,1.63fr) minmax(0,.86fr);gap:17px;align-items:stretch}
.peripherals-visual{padding:9px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:#f8f7ff}
.scene-wrap{width:100%;border-radius:22px;overflow:hidden}
.computer-scene{position:relative;width:100%;isolation:isolate;aspect-ratio:954/428;background:#d4e6ff}
.computer-scene img{width:100%;height:100%;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none;pointer-events:none}
/* Rectangles transparents et responsive : la souris change de curseur, aucun nom ni effet au survol. */
.device-hotspot{position:absolute;z-index:3;left:var(--left);top:var(--top);width:var(--width);height:var(--height);border:0;border-radius:8px;background:transparent;opacity:1;cursor:pointer;padding:0;touch-action:manipulation;transition:box-shadow .17s ease;appearance:none}
.device-hotspot:hover{background:transparent;box-shadow:none}
.device-hotspot:focus-visible{outline:2px dashed #5c31ec;outline-offset:2px}
.device-hotspot[aria-pressed="true"],.device-hotspot[aria-pressed="true"]:hover{background:transparent;box-shadow:0 0 0 2px #fffef9b8,0 0 0 3px #9c86f6bd,0 0 18px 6px #43e4bd7a}

.scene-hint{text-align:center;font-size:.86rem;font-weight:850;color:#625a80;margin:13px 4px 11px}
.device-index{display:none;margin:10px 6px}.device-index summary{cursor:pointer;font-weight:900;color:#603bcc;font-size:.85rem;padding:10px 8px}.quick-device-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px 3px}.quick-device{border:1px solid #e1daf9;border-radius:10px;padding:9px 6px;background:#fff;color:#382b79;font-size:.78rem;font-weight:800}.quick-device[aria-pressed="true"]{background:#eee7ff;border-color:#7450ee;color:#5126ca}.quick-device.discovered::after{content:' ✓';color:#00a987}
.peripherals-detail{position:static;min-height:0;background:linear-gradient(160deg,#f7f4ff,#fff);padding:27px 25px;display:flex;flex-direction:column;align-items:start}
.peripherals-detail::after{content:'✧';opacity:.8}.peripherals-detail .detail-overline{font-size:.77rem;margin:2px 0 16px}
.peripherals-detail h3{font-size:clamp(1.5rem,2.5vw,2rem);margin:0 0 14px}.peripherals-detail p{font-size:1rem;line-height:1.65;margin-top:3px;max-width:41ch}
.peripherals-detail .type-tag{margin:0 0 17px}.not-peripheral{margin-top:11px;background:#f0eaff;color:#502da9;border:1px solid #ded3fc;border-radius:14px;padding:13px 15px;line-height:1.5;font-size:.94rem;font-weight:700}.not-peripheral[hidden]{display:none}
.peripherals-detail .return-choice{margin-top:auto}
.discovery-progress{border:1px solid #e6e3f5;background:#fff;border-radius:24px;box-shadow:var(--shadow);padding:17px 22px;margin-top:17px}
.discovery-progress .explored-footer{margin:0;gap:17px;color:#27204d;font-size:1rem}.discovery-progress .visited-items{margin-top:10px;padding-top:3px;border:0}
.discovery-progress .visited-tags{min-height:29px;display:flex;gap:8px}.discovery-progress .visited-tag{font-size:.8rem;color:#532ad0;background:#eee9ff;cursor:pointer;border:none;padding:8px 13px}.discovery-progress .visited-tag:hover{background:#e1d7ff}.discovery-progress .visited-tag:nth-child(3n + 2){background:#fff1d2;color:#9b5c00}.discovery-progress .visited-tag:nth-child(3n){background:#e2f8ef;color:#078168}
.device-remember{margin-top:17px;background:#fff9e9;border:1px solid #ffdc76;border-radius:23px;font-size:.95rem;line-height:1.55;padding:21px 22px}.device-remember strong{color:#602dca}
@media(max-width:960px){.peripherals-discovery-grid{grid-template-columns:1fr}.peripherals-detail{min-height:220px}.device-index{display:block}.peripherals-detail .return-choice{margin-top:18px}.peripherals-visual{padding:10px}}
@media(max-width:540px){.lesson-heading h2{font-size:clamp(1.87rem,8.4vw,2.3rem)}.peripheral-definition{padding:14px;gap:11px}.peripheral-definition p{font-size:.85rem}.peripheral-definition .definition-badge{flex-basis:35px;height:35px;font-size:1.2rem}.scene-wrap{border-radius:14px}.scene-hint{font-size:.78rem}.quick-device-grid{grid-template-columns:repeat(2,1fr)}.discovery-progress{padding:14px}.discovery-progress .explored-footer{font-size:.85rem}.device-remember{padding:15px;font-size:.87rem}}

/* Partie 02 — planche 3D approuvée et zones rectangulaires invisibles */
.uc-interactive-board{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:18px;isolation:isolate}
.uc-board-image{display:block;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-drag:none;pointer-events:none}
.uc-hotspot{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);display:block;background:transparent;border:0;border-radius:12px;margin:0;padding:0;cursor:pointer;touch-action:manipulation;z-index:2;transition:none;-webkit-tap-highlight-color:transparent}
.uc-hotspot[data-component="carte-mere"]{z-index:1}
.uc-hotspot::after{content:"";position:absolute;inset:2px;border-radius:12px;border:2px solid transparent;box-shadow:none;pointer-events:none;transition:border-color .17s,box-shadow .17s}
.uc-hotspot[aria-pressed="true"]::after{border-color:rgba(0,191,153,.72);box-shadow:0 0 16px 3px rgba(0,203,163,.52),inset 0 0 12px rgba(0,203,163,.12)}
.uc-hotspot:focus-visible{outline:3px solid #6c38ef;outline-offset:0}
.uc-visual .uc-scene-wrap{padding:10px;background:white}
@media(max-width:540px){.uc-visual .uc-scene-wrap{padding:5px}.uc-hotspot{border-radius:6px}.uc-hotspot::after{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.uc-hotspot::after{transition:none}}

/* Ajustements validés : partie 02 et partie 03 */
#composants .uc-detail::after{display:none}
#composants .uc-detail{grid-column:2;grid-row:1}
#composants .uc-remember{grid-column:1;grid-row:2;display:flex;align-items:flex-start;gap:14px;background:#e9faf5;border:1px solid #d4f5e9;border-radius:21px;padding:18px 22px;color:#4f5273;line-height:1.65;font-size:.93rem;box-shadow:var(--shadow)}
#composants .uc-remember strong{color:var(--deep)}
#composants .uc-remember-icon{font-size:1.35rem;line-height:1.4;flex:0 0 auto}
.files-lesson-heading{max-width:none;margin-bottom:27px}
.files-lesson-heading h2{color:var(--purple);font-size:clamp(2.2rem,3.6vw,3.4rem);letter-spacing:-.045em;line-height:1.1;margin:0 0 24px;font-weight:1000}
.files-lesson-heading .files-introduction{max-width:960px}
.files-lesson-heading .files-introduction p{color:var(--soft-ink);font-size:1.05rem;line-height:1.75;margin:0 0 15px}
.files-lesson-heading .files-introduction p:last-child{margin-bottom:0}
.files-lesson-heading .files-introduction strong{color:var(--deep)}
.files-subheading{color:var(--ink);font-size:clamp(1.55rem,2.6vw,2.15rem);letter-spacing:-.035em;line-height:1.2;margin:37px 0 24px}
@media(max-width:960px){#composants .uc-remember{grid-column:1;grid-row:2}#composants .uc-detail{grid-column:1;grid-row:3}}
@media(max-width:540px){#composants .uc-remember{padding:16px 17px}.files-lesson-heading h2{font-size:clamp(2rem,7vw,2.5rem)}.files-subheading{margin-top:31px}}

.files-lesson-heading{display:block}
.files-intro-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;margin-top:14px}
.files-introduction{display:grid;gap:14px}
.files-introduction p{margin:0;color:var(--soft-ink);line-height:1.62}
.files-intro-illustration{margin:0;background:linear-gradient(160deg,#f8f5ff,#eef7ff);border:1px solid #e6e0f7;border-radius:26px;padding:14px;box-shadow:var(--shadow)}
.files-intro-illustration img{display:block;width:100%;height:auto;border-radius:18px}
.files-subheading,.tree-subheading{color:var(--ink);font-size:clamp(1.55rem,2.6vw,2.15rem);letter-spacing:-.035em;line-height:1.2;margin:37px 0 24px}
.tree-subheading{margin:0}
.tree-heading-copy p{margin:0;color:var(--soft-ink);line-height:1.65}
.tree-heading-copy{display:grid;gap:12px}
.tree-instruction{font-size:1.04rem;font-weight:900;color:var(--ink);line-height:1.6}
.tree-layout{align-items:start}
.selection-panel .success-message{display:none;margin-top:18px;padding:12px 14px;border-radius:14px;background:#e6fbef;color:#0a7d59;font-weight:900}
.selection-panel .success-message.show{display:block}
.selection-panel .small-label.challenge-label{color:#6a58e8}
@media(max-width:860px){.files-intro-layout{grid-template-columns:1fr}.files-intro-illustration{order:2}.files-subheading,.tree-subheading{margin-top:28px}}

/* Partie 03 — nom du fichier et extension : exemple illustré */
.filename-teaching-card{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,.9fr);align-items:center;gap:10px;margin:19px 0 15px;padding:16px 14px;background:#fff;border:1px solid #e7e3f7;border-radius:17px}
.filename-parts{display:flex;align-items:flex-start;justify-content:center;gap:0;min-width:0}
.filename-part{display:flex;flex-direction:column;min-width:0;align-items:center;gap:5px}
.filename-word{display:block;white-space:nowrap;border-bottom:3px solid currentColor;padding-bottom:4px;font-weight:950;font-size:clamp(.92rem,1.6vw,1.13rem);letter-spacing:-.035em}
.filename-part-name{color:#407ed6}.filename-part-extension{color:#588e31}
.filename-part-caption{font-size:.72rem;font-weight:850;white-space:nowrap;text-align:center;line-height:1.3}
.filename-teaching-arrow{color:#5d42cf;font-size:1.7rem;font-weight:950;text-align:center;line-height:1}
.filename-teaching-card p.filename-teaching-explanation{font-size:.84rem;line-height:1.4;margin:0;color:#38375d;font-weight:750}
@media(max-width:1090px){.filename-teaching-card{grid-template-columns:minmax(0,1fr);justify-items:center;gap:11px}.filename-teaching-arrow{transform:rotate(90deg)}.filename-teaching-card p.filename-teaching-explanation{text-align:center}}
@media(max-width:540px){.filename-teaching-card{padding:13px 9px}.filename-word{font-size:1rem}}
/* Partie 03 — exemples de types de fichiers, tableau HTML accessible */
.extensions-guide{margin-top:28px}
.extensions-guide h3{font-size:clamp(1.3rem,2.5vw,1.8rem);font-weight:900;letter-spacing:-.025em;color:var(--ink);margin:0 0 16px}
.extensions-table-scroller{max-width:100%;overflow-x:auto;border:1px solid #e6e0f5;border-radius:23px;background:#fff;box-shadow:var(--shadow)}
.extensions-table-scroller:focus-visible{outline:3px solid #7253e9;outline-offset:3px}
.extensions-table{border-collapse:separate;border-spacing:0;width:100%;min-width:700px;color:var(--ink);font-size:.92rem}
.extensions-table thead th{background:#6237db;color:#fff;font-weight:900;text-align:left;padding:16px 18px;line-height:1.35;border-right:1px solid #a79bdf}
.extensions-table thead th:last-child{border-right:0}
.extensions-table tbody th,.extensions-table tbody td{padding:13px 18px;line-height:1.5;text-align:left;vertical-align:top;border-top:1px solid #e6e1f4}
.extensions-table tbody th{font-weight:850;min-width:210px}
.extensions-table tbody tr:nth-child(even){background:#f7f5ff}
.extensions-table tbody tr:nth-child(odd){background:#fff}
.extensions-table tbody tr:hover{background:#ecf9f5}
.extensions-table td code{display:inline-block;padding:2px 7px;margin:1px 0;background:#eee8ff;border-radius:7px;color:#5932c6;font:800 .85rem/1.5 inherit;font-family:inherit}
@media(max-width:540px){.extensions-guide{margin-top:24px}.extensions-guide h3{font-size:1.3rem}.extensions-table{font-size:.84rem}.extensions-table thead th,.extensions-table tbody th,.extensions-table tbody td{padding:11px 12px}}

.extensions-mobile-hint{display:none;color:#555078;font-size:.82rem;font-weight:750;margin:0 0 12px}
@media(max-width:760px){.extensions-mobile-hint{display:block}}

/* ===============================================================
   MON LABO TECHNO — Styles de navigation et en-têtes Ordi01/02
   =============================================================== */
.site-header .nav{margin-left:auto}
.site-header .nav-home{
 display:inline-flex;align-items:center;justify-content:center;gap:10px;
 background:linear-gradient(135deg,#7955ff,#6035ed);
 border:1px solid rgba(78,42,184,.12);border-radius:999px;
 color:#fff!important;padding:12px 23px;min-height:47px;
 box-shadow:0 8px 23px rgba(100,57,231,.22);
 font-weight:900;font-size:.94rem;transition:box-shadow .18s,transform .18s,background .18s;
}
.site-header .nav-home:hover{transform:translateY(-2px);background:linear-gradient(135deg,#6f47f5,#4e20cb);box-shadow:0 12px 26px rgba(100,57,231,.33)}
.site-header .nav-home:focus-visible,.program-card:focus-visible,.page-nav-action:focus-visible{outline:3px solid #04cba7;outline-offset:4px}
.site-header .nav-home svg{height:18px;width:18px;flex-shrink:0}
/* Nouveau bloc pédagogique en remplacement du bandeau horizontal */
.program-overview{background:linear-gradient(120deg,#f9f7ff,#f6fbff);border-top:1px solid #ebe8f8;border-bottom:1px solid #ebe8f8;padding:29px 0 34px}
.program-overview .program-heading{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:1.23rem;font-weight:1000;margin:0 0 17px}
.program-overview .program-heading-icon{height:38px;width:38px;background:#eee8ff;color:#6a3ef1;display:grid;place-items:center;border-radius:12px}
.program-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.program-cards.single{grid-template-columns:minmax(0,1fr);max-width:640px}
.program-card{display:flex;align-items:center;gap:16px;text-decoration:none;color:var(--ink);background:#fff;border:1px solid #e6e0f7;border-radius:21px;box-shadow:0 10px 27px rgba(49,39,102,.07);padding:18px 20px;min-height:98px;transition:transform .16s,box-shadow .16s,border-color .16s}
.program-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(49,39,102,.13);border-color:#c8b8fb}
.program-card .pictogram{height:57px;width:57px;flex-shrink:0;border-radius:16px;display:grid;place-items:center;background:#eee7ff;color:#6c3cf1}
.program-card .pictogram.mint{background:#def7ee;color:#249b81}
.program-card .pictogram svg{width:28px;height:28px}
.program-card .chapter-id{font-size:1rem;color:#6736eb;font-weight:1000;display:block;line-height:1.3;margin-bottom:2px}
.program-card .chapter-name{display:block;font-size:.94rem;font-weight:900;line-height:1.42}
.program-card .card-arrow{margin-left:auto;color:#8c75cb;font-size:1.55rem}
/* Légende "Entrée ? Sortie ?" comme les sous-titres de la partie 03 */
#peripheriques .section-heading h2{color:var(--ink);font-size:clamp(1.55rem,2.6vw,2.15rem);letter-spacing:-.035em;line-height:1.2;margin:0 0 14px;font-weight:1000}
/* Navigation en bas, sans le bandeau de félicitations ni l'ancien quiz */
.page-navigation{padding:34px 0;background:#f9f8ff;border-top:1px solid #e9e3fb}
.page-navigation .nav-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center;justify-content:center}
.page-nav-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;min-height:48px;padding:12px 19px;border:1px solid #ddd5fa;border-radius:999px;color:#5e32d3;background:#fff;box-shadow:0 5px 15px rgba(75,52,142,.05);font-size:.92rem;font-weight:900;text-decoration:none;transition:transform .16s,box-shadow .16s,border-color .16s}
.page-nav-action:hover:not(:disabled){transform:translateY(-2px);border-color:#bfa8fe;box-shadow:0 8px 20px rgba(75,52,142,.12)}
.page-nav-action.next{background:linear-gradient(135deg,#7c50ff,#6136ed);color:white;border-color:#7142ef}
.page-nav-action:disabled{cursor:not-allowed;opacity:.53}
.site-footer .footer-inner{min-height:62px}
/* Ordi01: afficher toute la photographie fournie sans recadrage */
body.ordi01 .hero{padding:45px 0 48px}
body.ordi01 .hero-art-box{background:transparent;border:0;box-shadow:none;border-radius:0;transform:none;overflow:visible;max-width:510px;margin-left:auto}
body.ordi01 .hero-art-box img{display:block;width:100%;max-height:640px;aspect-ratio:auto;object-fit:contain;border-radius:0}
body.ordi01 .hero::after{display:none}
body.ordi01 .hero h1{margin-top:0}
body.ordi01 .hero-copy>p{font-size:1.14rem}
@media(max-width:790px){.program-cards{grid-template-columns:1fr}.program-card{min-height:87px}.program-overview{padding:23px 0 28px}.site-header .nav-home{padding:10px 16px;min-height:42px}.page-navigation{padding:25px 0}body.ordi01 .hero-art-box{margin:auto;max-width:440px}body.ordi01 .hero-art-box img{max-height:510px}}
@media(max-width:490px){.page-navigation .nav-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-navigation .next{grid-column:1/-1}.page-nav-action{padding:11px;font-size:.83rem}.program-card{padding:14px}.program-card .pictogram{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.site-header .nav-home,.program-card,.page-nav-action{transition:none}}

/* Ordi01 — invitation pédagogique de la page d’ouverture */
.hero-copy .hero-invitation{margin-top:-8px;max-width:510px}
.hero-copy .hero-invitation strong{color:var(--purple);font-weight:950}

