/* Alfarabi 2.5 — identité, rythme, images éditoriales et carte. */
:root{--ink:#122d55;--deep:#102c56;--green:#294f96;--green-dark:#1c3f7d;--gold:#d92335;--text:#3d506c;--muted:#61718b;--line:#e1e7f0;--canvas:#f3f6fb;--brand-red:#d92335;--brand-shadow:0 16px 48px -30px #183b7755}
html{scroll-padding-top:110px;scroll-behavior:smooth}
body{font-family:"Segoe UI",Tahoma,Arial,sans-serif;color:var(--text);-webkit-font-smoothing:antialiased}
html[lang=ar] body{font-family:Tahoma,"Segoe UI",Arial,sans-serif}
::selection{background:#dce6fd;color:#142e5c}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #4d79cb;outline-offset:4px}
.button{min-height:44px;border-radius:11px;font-size:13px;font-weight:600;transition:background .2s,box-shadow .2s,transform .2s;border:1px solid transparent}
.button-primary{background:#294f96;color:#fff;box-shadow:0 7px 16px -9px #23478599}
.button-primary:hover{background:#1d3d78;box-shadow:0 12px 24px -10px #23478588;transform:translateY(-2px)}
.button-secondary{background:#fff;border-color:#dce3ee;color:#284e88}
.button-secondary:hover{background:#f0f4fb;border-color:#b7c8e3;transform:translateY(-1px)}
.button .icon,.text-link .icon{transition:translate .2s}
.button:hover .icon:last-child,.text-link:hover .icon:last-child{translate:3px 0}
html[dir=rtl] .button:hover .icon:last-child,html[dir=rtl] .text-link:hover .icon:last-child{translate:-3px 0}
.text-link{color:#294f96;font-weight:600}.danger-text{color:#b82a3e}
.public-page{background:#fff}
.public-header.school-header{position:sticky;top:0;z-index:24;max-width:none;min-height:92px;padding:16px max(30px,calc((100% - 1220px)/2));background:#ffffffed;border-bottom:1px solid #e7ecf3;backdrop-filter:blur(16px);transition:box-shadow .2s}
.page-scrolled .public-header.school-header{box-shadow:0 6px 28px #193a7510}
.brand{gap:12px}.brand-logo{width:55px;height:60px;border-radius:8px}
.brand strong{font-size:24px;letter-spacing:.3px}.brand small{font-size:10px;letter-spacing:1px;color:#61718b}
.public-nav{font-size:13px;gap:30px;color:#50627f}.public-nav a{position:relative;padding-block:12px}
.public-nav a:after{content:"";position:absolute;inset-inline-start:0;bottom:5px;width:0;height:2px;background:#d92335;transition:width .2s}
.public-nav a:hover:after{width:100%}
.school-header .public-header-end{gap:22px}.header-login{font-size:12px;padding:11px 17px}
.language-switch{background:#f1f4f9;border:1px solid #e2e8f0;border-radius:10px;padding:4px;gap:3px}
.language-switch a{min-width:30px;height:29px;border-radius:7px;color:#60718b;font-size:10px}
.language-switch a.selected{background:#284f95;color:#fff;box-shadow:0 3px 8px #294f9522}
.school-hero{max-width:1340px;min-height:630px;padding:76px 60px 85px;gap:75px;grid-template-columns:1.15fr .95fr;background:#fff;isolation:isolate}
.school-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 0 10%,#eaf0fb77,transparent 48%),linear-gradient(100deg,#fafbfd00,#f6f8fc99);pointer-events:none}
.school-eyebrow{font-size:11px;font-weight:600;color:#365f9e;background:#edf2fc;border:1px solid #dfe8f6;border-radius:30px;padding:9px 13px;line-height:1.5}
.school-eyebrow i{width:7px;height:7px;box-shadow:0 0 0 4px #d923350e;flex-shrink:0}
.school-hero h1{font-size:clamp(38px,4.2vw,58px);line-height:1.16;letter-spacing:-2.3px;font-weight:750;color:#112e59;margin:26px 0 24px;max-width:670px}
.school-hero h1>span{display:block;color:#365f9e;margin-top:7px}
.school-hero-copy>p{font-size:15px;line-height:1.9;max-width:510px;color:#62718a}
.hero-actions{margin:29px 0 32px;align-items:center;gap:17px}.hero-actions>.button{padding:14px 23px;font-size:13px;min-height:51px}
.hero-access-note{display:flex;align-items:center;gap:6px;max-width:175px;font-size:11px;line-height:1.6;color:#697a94}.hero-access-note .icon{width:16px;height:16px;flex-shrink:0;color:#9aa9bd}
.hero-school-details{display:flex;gap:24px;align-items:center;padding-top:28px;border-top:1px solid #dfe6f0;max-width:435px}
.hero-school-details>div{display:flex;flex-direction:column;gap:6px}.hero-school-details strong{font-size:17px;letter-spacing:.5px;color:#2b4b78;font-weight:700;white-space:nowrap}.hero-school-details>div:first-child strong{color:#ce293a}.hero-school-details div>span{font-size:9px;letter-spacing:.7px;color:#78879c}.hero-detail-rule{height:31px;width:1px;background:#dfe6ee}
.school-hero-identity{min-height:450px;background:transparent;padding:24px 24px 34px;align-self:center;isolation:isolate}
.identity-accent{position:absolute;inset:10px 5px 52px 40px;border-radius:30px;background:#e9eff9;transform:rotate(7deg);z-index:-1;border:1px solid #e1e8f4}
.identity-accent:after{content:"";position:absolute;top:10px;right:12px;width:70px;height:70px;border-top:3px solid #d92335;border-right:3px solid #d92335;border-radius:0 25px 0 0}
.identity-card{width:100%;max-width:375px;border:1px solid #dde5f1;border-radius:19px;background:#fff;box-shadow:0 28px 70px -35px #173b7770;overflow:hidden;position:relative}
.identity-card-heading{display:flex;justify-content:space-between;padding:19px 23px 12px;color:#7a8da9;font-size:9px;letter-spacing:1.6px;direction:ltr}.identity-card-heading>span:first-child{font-weight:700;color:#2e538c}
.identity-logo-surface{background:#fff;padding:8px 27px 10px;display:flex;justify-content:center;align-items:center}
.school-hero-identity .identity-logo-surface img{display:block;width:270px;height:280px;max-width:100%;object-fit:contain;background:#fff}
.identity-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 24px;border-top:1px solid #ecf0f6;color:#56719b;font-size:11px;font-weight:500;background:#fff}.identity-card-footer .icon{width:19px;height:19px;color:#d02b3b}
.identity-float{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;padding:14px 17px;background:#fffffffa;border:1px solid #e0e7f1;box-shadow:0 12px 32px -15px #163b7755;border-radius:13px;max-width:280px}
.float-schedule{inset-inline-start:-21px;top:73px}.float-family{inset-inline-end:-17px;bottom:14px}
.identity-float-icon{width:35px;height:35px;border-radius:10px;background:#edf3fd;color:#365f9e;display:grid;place-items:center;flex-shrink:0}.identity-float-icon .icon{width:19px;height:19px}.float-family .identity-float-icon{color:#c52d3d;background:#fff0f1}
.identity-float strong{display:block;font-size:11px;font-weight:650;color:#29466f;line-height:1.5}.identity-float small{display:block;font-size:9px;color:#7c8ea7;margin-top:3px;line-height:1.6}
.school-ribbon{border-block:1px solid #e1e8f2;background:#f6f8fc}
.school-ribbon>div{max-width:1130px;margin:auto;display:flex;align-items:center;justify-content:space-around;gap:25px;padding:24px 15px}
.school-ribbon span{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:600;color:#526a90}.school-ribbon .icon{width:19px;height:19px;color:#738db4}.school-ribbon i{height:19px;width:1px;background:#dce4f0}
.school-news,.school-contact{max-width:1220px;margin:0 auto;padding:76px 25px;border:0}
.public-section-heading .section-eyebrow{color:#cc2b3b;font-size:10px;letter-spacing:1.8px;font-weight:700}
.public-section-heading h2{color:#183960;font-size:31px;letter-spacing:-.8px;line-height:1.35;margin:11px 0 9px}
.public-section-heading p{font-size:13px;line-height:1.8;color:#71819b;max-width:560px}
.public-news-heading,.public-contact-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:33px}
.section-number{font-size:55px;color:#e6ebf3;font-weight:300;line-height:1;font-variant-numeric:tabular-nums}
.public-post-grid{gap:24px}.public-post-card{position:relative;padding:27px;border:1px solid #dfe6f1;border-radius:16px;box-shadow:0 5px 22px #1a407006;transition:transform .25s,box-shadow .25s,border-color .25s;overflow:hidden;border-top-width:1px;min-width:0}
.public-post-card:before{content:"";height:3px;background:#335d9d;position:absolute;inset:0 24px auto}
.public-post-card:nth-child(3n+2):before{background:#cf3040}.public-post-card:nth-child(3n+2){border-top-color:#dfe6f1}
.public-post-card:hover{transform:translateY(-6px);border-color:#bdcce3;box-shadow:0 24px 42px -25px #254e8b55}
.public-post-top{margin-bottom:22px}.public-post-top time{font-size:11px;color:#72849e}.badge{font-weight:500;font-size:10px;border-radius:6px;padding:5px 9px}
.post-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edf3fc;color:#496ea6;margin-bottom:18px}.post-symbol .icon{width:24px;height:24px}.public-post-card:nth-child(3n+2) .post-symbol{background:#fff0f2;color:#ca3d4c}
.public-post-card h3{font-size:19px;line-height:1.65;color:#25466f;margin-bottom:12px}.public-post-excerpt{font-size:13px;line-height:1.9;color:#6b7c96;max-height:75px}.public-post-card .text-link{font-size:12px;padding-top:18px;justify-content:space-between}
.public-privacy-note{font-size:11px;color:#7c8ca4;line-height:1.7;margin-top:24px}.public-privacy-note .icon{color:#91a3bd;flex-shrink:0}
.public-empty{padding:35px;display:flex;flex-direction:row;gap:23px;text-align:start;border:1px dashed #c8d5e8;border-radius:16px;background:#f8faff;color:#6a7e9f}.public-empty h3{color:#385a8d;font-size:17px;margin:0 0 6px}.public-empty p{font-size:13px;line-height:1.8}.empty-news-icon{display:grid;place-items:center;width:64px;height:64px;background:#eaf0fc;border:1px solid #dfe7f8;border-radius:17px;flex-shrink:0}.empty-news-icon>.icon{width:26px;height:26px}
.school-contact{border-top:1px solid #e4eaf3;padding-top:62px}.contact-layout{grid-template-columns:1.05fr 1fr;gap:70px;align-items:stretch;margin-top:0}.contact-details{padding:0}.contact-item{padding:23px 0;gap:17px;align-items:center}.contact-item:first-child{padding-top:6px}.contact-icon{width:45px;height:45px;background:#f0f4fa;border:1px solid #e3eaf5;border-radius:12px;color:#456797}.contact-item h3{color:#7587a1;font-size:11px;margin-bottom:6px}.contact-item a,.contact-item p{font-size:15px;color:#2e4e7c;line-height:1.8}.contact-item>.icon{margin-inline-start:auto;width:17px;height:17px;color:#a5b3c8;flex-shrink:0}.facebook-contact{font-size:12px;margin-top:23px}
.location-card{border:1px solid #183c72;padding:31px 35px;border-radius:18px;background:linear-gradient(135deg,#173763,#244b85);color:#fff;box-shadow:0 22px 45px -25px #17376370;isolation:isolate}
.location-card:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:35px 35px;mask-image:linear-gradient(110deg,transparent,#000)}
.location-mark{background:#ffffff12;border:1px solid #ffffff18;color:#dde9ff;width:42px;height:42px;border-radius:12px;margin-bottom:20px}.location-school-name{position:absolute;top:45px;inset-inline-end:32px;color:#9db5d7;letter-spacing:1.3px;font-size:9px}.location-card h3{font-size:24px;color:#fff;margin:0}.location-card>p{font-size:13px;color:#b8c9e1;line-height:1.9;margin-top:9px}.location-code{border-color:#ffffff22;color:#bdcce1;background:#ffffff06;font-size:10px}.location-coordinates{padding:17px 0}.location-coordinates>span{color:#90aacd;font-size:10px}.location-coordinates>strong{color:#d5e2f7;font-size:14px}.location-card>.button{background:#fff;color:#214778;padding:12px 18px;box-shadow:none}.location-card>.button:hover{background:#eef3fc}
.public-footer{max-width:none;margin:0;background:#102b51;color:#a4b6d1;padding:32px max(30px,calc((100% - 1170px)/2));border:0;gap:28px;font-size:10px}.public-footer strong{font-size:13px;color:#fff}.public-footer>div>span{font-size:10px;color:#879fc0;margin-top:4px}.public-footer>nav{font-size:11px;gap:23px}.public-footer nav a{color:#b4c4dc}.public-footer a:hover{color:#fff}
/* Espaces privés : navigation contrastée, formulaires lisibles, données calmes. */
.portal-page{background:#f3f6fb}.sidebar{background:#112e55;border-inline-end:0;box-shadow:6px 0 24px #19386508}.sidebar-brand{padding:4px 5px 18px}.sidebar-brand .brand-logo{width:48px;height:54px;background:#fff;border-radius:9px;padding:2px}.sidebar-brand strong{color:#fff;font-size:21px}.sidebar-brand small{color:#9db2d0;font-size:8px}.sidebar-caption{color:#7895ba;font-size:10px;letter-spacing:1px;margin-block:14px 15px}.nav-item{color:#b5c7e0;font-size:12px;border-radius:10px;min-height:45px;transition:background .2s,color .2s,translate .2s}.nav-item:hover{background:#ffffff0b;color:#fff;translate:2px 0}.nav-item.active{background:#ffffff13;color:#fff;box-shadow:inset 3px 0 0 #e85562}.nav-item.active>.icon{color:#f19aa4}html[dir=rtl] .nav-item.active{box-shadow:inset -3px 0 0 #e85562}.nav-count{background:#db3448;color:#fff}.sidebar-bottom{border-color:#ffffff12}.year-label{color:#92accf}.year-label strong{color:#d6e3f5;font-size:12px}.logout-button{color:#a4bbda;border-radius:10px;min-height:44px}.logout-button:hover{background:#ffffff0b;color:#fff}
.topbar{height:83px;background:#ffffffed;border-bottom:1px solid #e2e8f1;backdrop-filter:blur(12px)}.breadcrumb{color:#77879e;font-size:12px}.breadcrumb strong{color:#34547e;font-weight:600}.avatar-small{background:#edf3fc;color:#4e6f9f;border:1px solid #dce6f4}.notification-button{border:1px solid #e6ecf4;background:#fff;border-radius:10px;width:36px;height:36px}
.user-chip{display:flex;align-items:center;gap:9px;padding:4px 9px 4px 4px;border:1px solid #e2e8f1;border-radius:12px;background:#fff;min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}.user-chip:hover{border-color:#bfcee3;box-shadow:0 8px 22px -16px #183b7770;transform:translateY(-1px)}html[dir=rtl] .user-chip{padding:4px 4px 4px 9px}.user-chip-copy{display:flex;flex-direction:column;min-width:0;max-width:180px;line-height:1.35}.user-chip-copy strong{font-size:11px;color:#294a76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip-copy small{font-size:9px;color:#8392a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-button{overflow:visible}.notification-badge{position:absolute;top:-6px;inset-inline-end:-7px;display:grid;place-items:center;min-width:18px;height:18px;padding-inline:4px;border:2px solid #fff;border-radius:9px;background:#d92335;color:#fff;font-size:8px;font-weight:700;line-height:1;font-style:normal}
.content{max-width:1600px;padding:34px 38px 42px}.page-heading{margin-bottom:27px}.page-heading h1{font-size:29px;letter-spacing:-.7px;color:#193963;font-weight:700}.page-heading p{color:#72829c;font-size:12px;line-height:1.8}.section-eyebrow{color:#8a9ab1;font-size:9px;font-weight:600}.panel{border:1px solid #e0e7f1;border-radius:16px;box-shadow:0 6px 25px #274b7f04}.panel-header{padding:23px 25px}.panel-header h2{font-size:18px;color:#2a4871}.muted{color:#6b7f9b}.block-muted{color:#8393ab}.panel-footnote{color:#8293ad}
.stat-card{padding:23px;border:1px solid #e0e7f1;box-shadow:0 5px 22px #20457903;border-radius:15px;transition:box-shadow .2s,transform .2s}.stat-card:hover{transform:translateY(-3px);box-shadow:var(--brand-shadow)}.stat-icon{width:44px;height:44px;border-radius:13px}.stat-card>div>span{color:#73839c;font-size:11px}.stat-card strong{font-size:29px;color:#244871;letter-spacing:-.8px}.tone-blue,.tone-mint{background:#edf3fc;color:#5375aa}.tone-peach{background:#fff0f1;color:#c35b69}.tone-lilac{background:#f1effb;color:#8d7aaf}
.student-banner{border-radius:18px;background:linear-gradient(115deg,#16355f,#2d548d);border-inline-start:4px solid #de3b4d;box-shadow:0 18px 36px -27px #183e7588;position:relative;isolation:isolate}.student-banner:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 90% 90%,#ffffff0c,transparent 60%);border-radius:inherit;pointer-events:none}.student-banner h2{font-size:25px;letter-spacing:-.5px}.student-meta{font-size:11px;color:#b2c6e2}.banner-eyebrow{color:#94afd1}.button-banner{border-color:#ffffff25;background:#ffffff0b;color:#fff}.button-banner:hover{background:#ffffff18}.student-banner .avatar-large{background:#ffffff0d;border-color:#ffffff22}
.lesson-description h3{color:#2e4c76;font-size:14px}.lesson-description p{color:#7c8fa8;font-size:11px}.lesson-time strong{color:#456490}.lesson-time small{color:#8899af}.announcement-content h3{font-size:15px;color:#2d4b74}.announcement-content>p{font-size:12px;line-height:1.9;color:#6e809c}.announcement-meta time{color:#8292aa;font-size:10px}.announcement-row{padding:25px}.announcement-icon{width:40px;height:40px;border-radius:12px}.announcement-row.is-unread{background:#fbfcff;border-inline-start:3px solid #5d83bd}.announcement-footer>.muted,.read-status{color:#7c8fa9;font-size:10px}
.admin-tabs{border:1px solid #dfe6f1;padding:5px;background:#fff;gap:4px;border-radius:12px;margin-bottom:25px;scrollbar-width:thin}.admin-tabs a{border:0;border-radius:8px;padding:12px 14px;font-size:11px;color:#667e9e;transition:background .2s,color .2s}.admin-tabs a.active{background:#eaf0fc;color:#294f96;font-weight:650}.admin-tabs a:hover{background:#f3f6fb;color:#294f96}
table{font-size:12px}th{background:#f6f8fc;color:#7185a2;font-size:10px;font-weight:600;letter-spacing:.15px;padding:16px 22px}td{color:#4d6586;padding:19px 22px;border-bottom:1px solid #edf1f6}td strong{color:#36547d;font-size:12px}tbody tr{transition:background .15s}tbody tr:hover{background:#f9fbff}.row-actions .text-link{font-size:11px}.badge-green{background:#eef5fc;color:#4b739d}.badge-neutral{background:#f0f2f6;color:#7d8ca0}
input:not([type=hidden]),textarea,select{border:1px solid #d9e2ef;border-radius:9px;color:#34547c;background:#fff;font-family:inherit;transition:box-shadow .2s,border-color .2s}input:not([type=checkbox]):not([type=hidden]),textarea,select{font-size:13px;min-height:43px}input:focus,select:focus,textarea:focus{border-color:#759ad0;box-shadow:0 0 0 3px #edf3fc;outline:none}input[type=checkbox]{accent-color:#294f96}.field label,.form-stack>label{font-size:12px;color:#587293}.search-form input{min-height:38px}.create-details summary{font-size:13px;color:#355982}.create-details[open]>summary{background:#f7f9fd;border-radius:16px 16px 0 0}.publication-form>h2{font-size:19px;color:#35537d}.publication-form>.muted,.vault-gate>p{font-size:12px;color:#7387a4;line-height:1.9}.vault-gate{padding:34px}.vault-gate h2{font-size:23px;color:#284b7d}.vault-notice{border:1px solid #dce6f8;background:#eef4fd}.credential-export{padding:26px}.credential-export .muted{font-size:12px;line-height:1.9}.audit-caption{font-size:11px;line-height:1.8}.account-form>.muted{font-size:12px;line-height:1.8}.sync-note{background:#eaf0f8;border:1px solid #dfe7f3;color:#6680a3;border-radius:12px}.workspace-footer{color:#8a9bb2;font-size:10px}
.account-form .password-input{width:100%}.account-form .password-input input{padding-inline-start:41px;padding-inline-end:44px}.password-feedback{min-height:21px;margin:2px 0 0;padding-inline-start:21px;position:relative;color:#7688a2;font-size:11px;line-height:1.7}.password-feedback:empty{min-height:0}.password-feedback:not(:empty):before{content:"";position:absolute;inset-inline-start:3px;top:.58em;width:8px;height:8px;border-radius:50%;background:#93a2b8}.password-feedback.is-error{color:#a2454f}.password-feedback.is-error:before{background:#d85260}.password-feedback.is-success{color:#2f765e}.password-feedback.is-success:before{background:#3c9a75}.notice{transition:opacity .18s,translate .18s}.notice>span{min-width:0}.notice-close{margin-inline-start:auto;display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:transparent;color:currentColor;font-size:20px;line-height:1;opacity:.65}.notice-close:hover{background:#ffffff80;opacity:1}.notice.is-closing{opacity:0;translate:0 -5px}
/* Connexion et choix de langue. */
.login-layout{max-width:1000px;margin:58px auto 70px;border:1px solid #dfe6f2;border-radius:23px;box-shadow:0 32px 70px -40px #1b3d7566;overflow:hidden}.login-story{position:relative;background:linear-gradient(140deg,#112e56,#2d568f);padding:50px 40px;isolation:isolate}.login-story:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 0 100%,#ffffff10,transparent 65%)}.story-label{font-size:10px;border:1px solid #ffffff25;border-radius:24px;padding:8px 12px;background:#ffffff07;width:fit-content;color:#c3d5ef}.login-story h1{color:#fff;font-size:35px;line-height:1.4;letter-spacing:-.8px;margin-top:28px}.login-story>p{font-size:13px;line-height:1.9;color:#b0c7e6}.story-card{background:#ffffff12;border:1px solid #ffffff20;box-shadow:none;border-radius:15px;transform:rotate(-3deg);padding:23px}.story-card-top{color:#e4edfb}.story-card-top small{color:#9db8dc}.story-card-top>span{background:#ffffff12;color:#d6e4f9}.story-line span,.story-line b{background:#ffffff16}.story-line i{background:#ec9aa5}.story-footnote{color:#96b2d7;font-size:11px}.login-form-panel{padding:52px 43px;background:#fff}.login-form-panel h2{font-size:29px;color:#244775;letter-spacing:-.7px;margin-top:12px}.login-form-panel>.muted{font-size:13px;color:#7a8eaa;line-height:1.8}.login-form-panel .form-stack{margin-top:30px}.login-form-panel input{min-height:48px}.login-form-panel .input-icon>.icon{color:#93a6c0}.login-form-panel .button-block{min-height:49px;margin-top:15px}.login-help{font-size:11px;color:#8396b1;line-height:1.9;border-top:1px solid #e7edf5;padding-top:21px;margin-top:25px}.login-help .icon{color:#a2b0c5}
.welcome-section{background:radial-gradient(ellipse at 50% 0,#edf2fb,transparent 65%)}.welcome-section h1{font-size:43px;color:#1b3f70;letter-spacing:-1px}.welcome-intro{font-size:14px;color:#7386a2}.language-school-logo img{width:170px;height:175px;background:#fff;border-radius:14px;box-shadow:0 15px 35px -25px #21467955}.language-card{border:1px solid #dce5f3;box-shadow:0 8px 24px #244a8006;border-radius:16px;transition:transform .25s,box-shadow .25s}.language-card:hover{transform:translateY(-6px);box-shadow:0 20px 35px -20px #244a8055}.language-primary{border-color:#91acd3;background:#f7faff}.language-card strong{color:#365d92}.public-article{border:1px solid #dfe6f2;box-shadow:var(--brand-shadow);margin-block:48px 70px}.article-body{color:#5c7497;font-size:16px;line-height:2}
html[lang=ar] .school-hero h1{font-size:clamp(40px,4.5vw,60px);line-height:1.65;letter-spacing:0;margin-block:18px 20px}html[lang=ar] .school-hero-copy>p{font-size:14px;line-height:2.15}html[lang=ar] .public-section-heading h2{letter-spacing:0;font-size:29px}html[lang=ar] .page-heading h1{letter-spacing:0}html[lang=ar] .nav-item{font-size:12px}html[lang=ar] .public-post-card h3{font-size:17px;line-height:1.9}
/* Les contenus restent visibles sans JavaScript et si l'observateur échoue. */
@media(prefers-reduced-motion:no-preference){
 .school-hero-copy{animation:alfarabi-enter .7s cubic-bezier(.2,.65,.3,1) both}.school-hero-identity{animation:alfarabi-enter .85s .1s cubic-bezier(.2,.65,.3,1) both}
 .identity-float{animation:alfarabi-float 6s ease-in-out infinite}.float-family{animation-delay:-3s}
 .motion-ready [data-reveal]{animation:alfarabi-enter .55s cubic-bezier(.2,.65,.3,1) both;animation-play-state:paused}
 .motion-ready [data-reveal].is-visible{animation-play-state:running}
 .motion-ready .public-post-card:nth-child(2){animation-delay:.08s}.motion-ready .public-post-card:nth-child(3){animation-delay:.16s}
 .content>.page-heading{animation:alfarabi-enter .4s both}.stat-card{animation:alfarabi-enter .4s both}.stat-card:nth-child(2){animation-delay:.05s}.stat-card:nth-child(3){animation-delay:.1s}.stat-card:nth-child(4){animation-delay:.15s}
}
@keyframes alfarabi-enter{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}
@keyframes alfarabi-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(min-width:1500px){.school-hero{min-height:680px}.school-hero-identity{padding-inline:35px}.school-hero h1{font-size:60px}}
@media(max-width:1200px){.public-header.school-header{padding-inline:30px}.school-hero{padding:62px 42px 68px;gap:38px;min-height:570px}.school-hero h1{font-size:47px}.hero-actions{align-items:flex-start;flex-direction:column;gap:11px}.hero-access-note{max-width:none}.school-hero-identity{padding-inline:20px;min-height:425px}.float-schedule{inset-inline-start:-10px}.float-family{inset-inline-end:-9px}.identity-float{padding:11px 13px}.school-news,.school-contact{margin:0;padding-inline:40px}.contact-layout{gap:40px}.content{padding:29px 26px 38px}.stat-card{padding:20px 17px}.login-layout{margin-inline:40px}.topbar{padding-inline:26px}.public-footer{padding-inline:40px}}
@media(max-width:1000px){.public-nav{gap:18px;font-size:12px}.school-header .public-header-end{gap:13px}.header-login{font-size:11px;padding-inline:13px}.public-header.school-header{gap:20px}.brand strong{font-size:22px}.school-hero{grid-template-columns:1fr 1fr;gap:25px;padding-inline:35px}.school-hero h1{font-size:41px;letter-spacing:-1.5px}.school-hero-copy>p{font-size:14px}.school-hero-identity{padding:22px 16px 45px;min-height:390px}.school-hero-identity .identity-logo-surface img{width:230px;height:250px}.identity-float strong{font-size:10px}.identity-float small{font-size:8px}.identity-float-icon{width:30px;height:30px}.hero-school-details{gap:17px}.hero-school-details strong{font-size:15px}.school-ribbon>div{padding-block:22px}.public-section-heading h2{font-size:28px}.public-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-post-grid>.public-post-card:last-child:nth-child(odd){grid-column:1/-1}.contact-layout{gap:30px}.location-card{padding:28px}.location-school-name{inset-inline-end:28px}.public-footer{flex-wrap:wrap}.public-footer>span{margin-inline-start:auto}.login-story h1{font-size:30px}.login-story{padding:40px 30px}.login-form-panel{padding:43px 30px}.admin-tabs a{padding-inline:12px}.sidebar-caption{letter-spacing:.5px}}
@media(max-width:800px){.public-nav{display:none}.public-header.school-header{min-height:82px;padding:12px 25px}.public-header .brand{margin-inline-end:auto}.school-hero{padding:42px 32px 55px;gap:26px;grid-template-columns:1fr;min-height:0}.school-hero-copy{text-align:center;max-width:600px;margin:auto}.school-hero h1{font-size:47px;max-width:none;line-height:1.2;margin-block:24px}.school-hero-copy>p{max-width:535px;margin:auto;font-size:14px}.hero-actions{align-items:center;margin:26px 0;gap:12px}.hero-school-details{justify-content:center;margin:0 auto;padding-top:23px;gap:27px}.school-hero-identity{width:min(430px,100%);min-height:430px;margin:16px auto 0;padding:18px 30px 43px}.school-hero-identity .identity-logo-surface img{width:260px;height:275px}.identity-accent{inset:12px 20px 45px 40px}.float-schedule{inset-inline-start:-8px;top:70px}.float-family{inset-inline-end:0;bottom:8px}.identity-float strong{font-size:11px}.identity-float small{font-size:9px}.school-ribbon>div{gap:12px;padding:22px 20px;flex-wrap:wrap}.school-ribbon span{font-size:11px;gap:8px}.school-ribbon .icon{width:17px;height:17px}.school-news,.school-contact{padding:53px 29px}.contact-layout{grid-template-columns:1fr;gap:27px}.contact-details{max-width:none}.location-card{padding:30px;min-height:310px}.public-footer{padding:29px;gap:22px}.public-footer>nav{gap:20px}.public-footer>span{margin-inline-start:0;width:100%}.public-contact-heading{margin-bottom:20px}.section-number{font-size:45px}.public-post-card{padding:24px}.topbar{height:73px}.content{padding:27px 22px 35px}.page-heading h1{font-size:26px}.login-layout{margin:32px auto 50px;max-width:540px}.login-form-panel{padding:40px}.login-story{display:none}.public-article{margin:32px 25px 50px;padding:30px}.public-article h1{font-size:29px}.menu-open{overflow:hidden}html[lang=ar] .school-hero h1{font-size:49px;line-height:1.65}html[lang=ar] .school-hero-copy>p{font-size:14px}}
@media(max-width:560px){html{scroll-padding-top:150px}.public-header.school-header{padding:12px 20px;flex-wrap:wrap;gap:12px;position:relative}.public-header .brand{gap:9px}.brand-logo{width:44px;height:49px}.brand strong{font-size:21px}.brand small{font-size:9px}.school-header .public-header-end{width:100%;justify-content:space-between;gap:12px}.header-login{font-size:11px;padding:10px 14px;min-height:41px}.public-header .language-switch a{min-width:27px;height:26px}.school-hero{padding:33px 23px 43px}.school-eyebrow{font-size:10px;padding:8px 11px}.school-hero h1{font-size:37px;letter-spacing:-1.4px;margin-block:22px}.school-hero h1>span{margin-top:8px}.school-hero-copy>p{font-size:13px;line-height:1.95}.hero-actions>.button{font-size:12px;min-height:48px;padding:13px 20px}.hero-access-note{font-size:10px}.hero-school-details{gap:20px;max-width:340px}.hero-school-details strong{font-size:14px}.hero-school-details div>span{font-size:8px}.hero-detail-rule{height:27px}.school-hero-identity{max-width:350px;padding:15px 20px 45px;min-height:370px;margin-top:14px}.identity-card-heading{padding:16px 19px 9px;font-size:8px}.identity-logo-surface{padding:5px 25px 7px}.school-hero-identity .identity-logo-surface img{width:230px;height:235px}.identity-card-footer{padding:16px 19px;font-size:10px}.identity-accent{inset:5px 5px 50px 28px;border-radius:20px}.identity-float{max-width:235px;padding:10px 12px;gap:8px;border-radius:11px}.identity-float strong{font-size:9px}.identity-float small{font-size:8px}.identity-float-icon{width:29px;height:29px;border-radius:8px}.identity-float-icon .icon{width:16px;height:16px}.float-schedule{top:54px;inset-inline-start:-5px}.float-family{inset-inline-end:-2px;bottom:7px}.school-ribbon>div{display:grid;grid-template-columns:1fr 1fr;gap:17px;padding:23px 30px}.school-ribbon i{display:none}.school-ribbon span{font-size:11px;gap:10px}.school-news,.school-contact{padding:42px 22px}.public-section-heading h2{font-size:25px;letter-spacing:-.5px}.public-section-heading p{font-size:12px;max-width:290px}.public-section-heading .section-eyebrow{font-size:9px}.section-number{font-size:39px;align-self:flex-start;margin-top:22px}.public-news-heading{margin-bottom:26px}.public-post-grid{grid-template-columns:1fr;gap:19px}.public-post-grid>.public-post-card:last-child:nth-child(odd){grid-column:auto}.public-post-card{padding:23px}.public-post-card h3{font-size:18px}.public-post-excerpt{font-size:12px}.post-symbol{width:43px;height:43px;margin-bottom:16px}.public-empty{padding:25px 22px;align-items:flex-start;gap:15px}.empty-news-icon{width:43px;height:43px;border-radius:12px}.empty-news-icon>.icon{width:21px;height:21px}.public-empty h3{font-size:15px}.public-empty p{font-size:12px}.public-privacy-note{align-items:flex-start;font-size:10px;gap:8px}.contact-item{gap:13px;padding:20px 0}.contact-item a,.contact-item p{font-size:13px}.contact-item h3{font-size:10px}.contact-icon{width:39px;height:39px;border-radius:11px}.contact-item>.icon{width:15px}.location-card{padding:27px 25px;border-radius:16px}.location-school-name{font-size:8px;inset-inline-end:25px;top:43px}.location-card h3{font-size:22px}.location-card>p{font-size:12px}.public-footer{padding:27px 23px;gap:22px;flex-direction:column;align-items:flex-start}.public-footer>nav{font-size:10px;gap:20px;flex-wrap:wrap}.public-footer>span{font-size:9px}.public-footer strong{font-size:12px}.login-layout{margin:25px 20px 40px}.login-form-panel{padding:30px 25px}.login-form-panel h2{font-size:26px}.login-form-panel>.muted{font-size:12px}.login-form-panel .form-stack{margin-top:25px}.login-form-panel input{font-size:16px}.content{padding:24px 17px 33px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.stat-card{padding:18px 14px;gap:11px;border-radius:13px}.stat-icon{width:36px;height:36px;border-radius:11px}.stat-card strong{font-size:25px}.stat-card>div>span{font-size:10px}.panel-header{padding:21px}.panel-header h2{font-size:17px}.announcement-row{padding:21px 18px}.announcement-content h3{font-size:14px}.announcement-content>p{font-size:12px}.admin-tabs a{font-size:10px;padding:11px 12px}.form-grid.two{grid-template-columns:1fr}.credential-export{padding:23px}.vault-gate{padding:27px 23px}.vault-notice{align-items:flex-start}.publication-form{padding:23px}.form-stack>label,.field label{font-size:12px}input:not([type=hidden]),select,textarea{font-size:16px!important}.managed-cell input{font-size:12px!important}.public-article{margin:25px 20px 40px;padding:25px}.public-article h1{font-size:25px}.article-body{font-size:14px;line-height:2}html[lang=ar] .school-hero h1{font-size:40px;line-height:1.65}html[lang=ar] .school-hero-copy>p{font-size:13px}html[lang=ar] .public-section-heading h2{font-size:24px}}
@media(max-width:560px){.user-chip{padding:3px;border-radius:10px}.user-chip-copy{display:none}.user-chip .avatar-small{width:32px;height:32px}.topbar-end{gap:6px}.notification-badge{top:-5px;inset-inline-end:-5px}}
/* Accueil éditorial : scènes illustratives et vraie carte de localisation. */
.identity-photo-surface{position:relative;overflow:hidden;background:#e9eef6}.identity-photo-surface:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff26;pointer-events:none}.identity-photo-surface img{display:block;width:100%;height:330px;object-fit:cover;object-position:center;transition:transform .55s ease}.identity-card:hover .identity-photo-surface img{transform:scale(1.025)}.school-hero-identity .identity-mini-logo{display:block;width:32px;height:32px;object-fit:contain;border-radius:7px;background:#fff;border:1px solid #e3e9f2;padding:2px}
.school-experience{max-width:1220px;margin:0 auto;padding:76px 25px 82px}.experience-heading{max-width:720px;margin-bottom:31px}.experience-heading h2{font-size:31px}.experience-heading p{font-size:13px;line-height:1.85;color:#71819b;max-width:650px}.experience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.experience-card{min-width:0;border:1px solid #dfe6f1;border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 8px 28px #183b7708;transition:transform .25s,box-shadow .25s,border-color .25s}.experience-card:hover{transform:translateY(-5px);border-color:#bdcce3;box-shadow:0 24px 44px -28px #183b7770}.experience-visual{position:relative;aspect-ratio:3/2;overflow:hidden;background:#eaf0f8}.experience-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.experience-card:hover .experience-visual img{transform:scale(1.035)}.experience-visual>span{position:absolute;inset-inline-end:12px;bottom:11px;padding:5px 8px;border:1px solid #ffffff80;border-radius:7px;background:#102c56bb;color:#fff;font-size:8px;letter-spacing:.4px;backdrop-filter:blur(5px)}.experience-copy{position:relative;padding:25px 24px 27px}.experience-icon{display:grid;place-items:center;width:41px;height:41px;margin-top:-46px;margin-bottom:17px;border:4px solid #fff;border-radius:13px;background:#edf3fc;color:#315b98;box-sizing:content-box}.experience-icon .icon{width:20px;height:20px}.experience-card:nth-child(2) .experience-icon{background:#fff0f2;color:#c83244}.experience-copy h3{font-size:17px;line-height:1.55;color:#274a76;margin-bottom:9px}.experience-copy p{font-size:12px;line-height:1.85;color:#71829b}
.location-card.map-card{position:relative;min-height:390px;padding:0;background:#dfe7ef;border:1px solid #d6e0eb;overflow:hidden;box-shadow:0 22px 48px -30px #17376360}.location-map{position:absolute;inset:0;width:100%;height:100%;border:0;background:#e7edf2;filter:saturate(.78) contrast(.94)}.location-map-content{position:absolute;z-index:1;inset:auto 16px 16px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;width:auto;margin:0;padding:13px 14px;border:1px solid #dce4ed;border-radius:15px;background:#fffffff2;color:#355476;box-shadow:0 18px 40px -25px #193b7066;backdrop-filter:blur(9px)}.location-summary{display:flex;align-items:center;flex:1 1 210px;min-width:0;gap:12px}.location-summary-copy{min-width:0}.location-map-content .location-mark{flex:0 0 auto;width:39px;height:39px;margin:0;border:1px solid #dbe5f2;border-radius:10px;background:#edf3fb;color:#3e659b}.location-map-content .location-school-name{position:static;display:block;margin-bottom:2px;color:#7f91a9;font-size:8px}.location-map-content h3{margin:0;color:#1f426f;font-size:17px;line-height:1.3}.location-summary-copy>p{margin:2px 0 0;overflow:hidden;color:#637894;font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.location-map-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;gap:12px;margin-inline-start:auto}.location-map-meta{display:flex;align-items:center;gap:10px}.location-map-content .location-code{margin:0;border-color:#dce5ef;background:#f4f7fb;color:#5b7090}.location-map-content .location-coordinates{padding:0;white-space:nowrap}.location-map-content .location-coordinates>span{display:block;color:#8495aa;font-size:8px}.location-map-content .location-coordinates>strong{color:#31547f;font-size:11px}.location-map-actions>.button{min-height:40px;padding:9px 13px;background:#294f96;color:#fff;box-shadow:0 8px 18px -12px #23478599;white-space:nowrap}.location-map-actions>.button:hover{background:#1d3d78}
@media(max-width:1200px){.school-experience{padding-inline:40px}.experience-grid{gap:18px}}
@media(max-width:900px){.experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.experience-card:last-child{grid-column:1/-1}.experience-card:last-child{display:grid;grid-template-columns:minmax(220px,.9fr) 1.1fr}.experience-card:last-child .experience-visual{height:100%;aspect-ratio:auto}.experience-card:last-child .experience-copy{display:flex;flex-direction:column;justify-content:center}.experience-card:last-child .experience-icon{margin-top:0}}
@media(max-width:800px){.school-experience{padding:54px 29px 58px}.identity-photo-surface img{height:315px}.location-card.map-card{min-height:390px}}
@media(max-width:620px){.experience-grid{grid-template-columns:1fr}.experience-card:last-child{display:block;grid-column:auto}.experience-card:last-child .experience-visual{height:auto;aspect-ratio:3/2}.experience-card:last-child .experience-icon{margin-top:-46px}.school-experience{padding:45px 22px 52px}.experience-heading h2{font-size:25px}.experience-heading p{font-size:12px}.location-card.map-card{min-height:445px}.location-map-content{inset:auto 12px 12px;padding:12px}.location-summary-copy>p{white-space:normal}.location-map-actions{width:100%;justify-content:space-between;margin-inline-start:0}.location-map-content .location-code{display:none}.identity-photo-surface img{height:250px}.identity-mini-logo{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-ready [data-reveal]{opacity:1!important;transform:none!important}}
@media print{.school-ribbon,.identity-float,.public-header,.location-map{display:none!important}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready [data-reveal]{opacity:1!important;transform:none!important}.content{max-width:none;padding:0}.panel,.stat-card{box-shadow:none;break-inside:avoid}.announcement-document-image{max-height:none}.location-card{background:#fff;color:#222;box-shadow:none}.location-card h3,.location-card p,.location-coordinates>strong{color:#222}.experience-card{break-inside:avoid}.location-map-content{margin:0;box-shadow:none}}
