:root{--navy:#102b4c;--blue:#1677e8;--cyan:#24b9db;--ink:#172b46;--muted:#71839b;--line:#e1e9f2}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#f4f7fb}.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 18px}.auth-card{width:min(100%,460px);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:0 24px 70px #17375a12}.auth-brand{display:flex;justify-content:center;margin-bottom:28px}.auth-brand img{width:145px;max-height:66px;object-fit:contain}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--blue)}h1{font-size:27px;letter-spacing:-.8px;margin:10px 0;color:var(--ink)}.auth-card>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 24px}.auth-card form{display:grid;gap:16px}.auth-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#40536c}.auth-card input{width:100%;height:46px;border:1px solid #dce5ef;border-radius:10px;padding:0 13px;font:14px inherit;color:var(--ink);outline:none}.auth-card input:focus{border-color:#6aa9f1;box-shadow:0 0 0 3px #1677e817}.primary{height:48px;border:0;border-radius:10px;background:linear-gradient(100deg,#1677e8,#1267cb);color:#fff;font-weight:750;font-size:13px;cursor:pointer;box-shadow:0 8px 18px #1677e82b}.primary span{float:right;font-size:19px;margin-top:-3px}.auth-wrap>footer{font-size:11px;color:#8291a5;margin-top:24px}.auth-wrap>footer b{color:#41658d}.login-card{text-align:center}.login-card .school-logo-wrap{height:80px;display:grid;place-items:center;margin-bottom:20px}.school-logo-wrap img{max-width:160px;max-height:76px;object-fit:contain}.school-placeholder{width:62px;height:62px;border-radius:18px;background:#e9f3ff;color:var(--blue);display:grid;place-items:center;font-size:36px}.login-card form{text-align:left}.password-wrap{position:relative}.password-wrap input{padding-right:76px}.password-wrap button{position:absolute;right:8px;top:7px;height:32px;border:0;background:#edf5ff;color:#176ed0;border-radius:7px;padding:0 10px;font-size:11px;font-weight:700;cursor:pointer}.role-hint,.security-note{font-size:11px;color:#8796a8;margin-top:20px}.alert,.success{padding:11px 13px;border-radius:9px;font-size:12px;margin:0 0 16px;text-align:left}.alert{background:#fff0f0;border:1px solid #ffd9d9;color:#b52b36}.success{background:#eaf8f0;border:1px solid #c9eed9;color:#187447}.home-body{background:#fff}.home-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);border-bottom:1px solid #edf1f6;background:#fff}.home-brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-size:15px}.home-brand img{max-width:56px;max-height:48px;object-fit:contain}.home-brand .school-placeholder{width:44px;height:44px;font-size:26px}.header-login,.primary-link{background:var(--blue);color:#fff;text-decoration:none;padding:13px 19px;border-radius:9px;font-size:12px;font-weight:750}.header-login span,.primary-link span{margin-left:14px}.home-main{max-width:1200px;margin:auto;padding:0 28px}.home-hero{min-height:510px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:45px;padding:70px 0 60px}.hero-copy h1{font-size:clamp(36px,5vw,58px);line-height:1.08;letter-spacing:-2px;max-width:650px;margin:18px 0}.hero-copy>p{max-width:530px;color:#71839b;font-size:16px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:20px;margin-top:30px}.secondary-link{color:#315879;text-decoration:none;font-size:12px;font-weight:700}.hero-trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:32px;color:#71839b;font-size:11px}.hero-visual{height:350px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#eaf5ff 0,#f3f8ff 48%,transparent 70%)}.visual-orbit{position:absolute;border:1px solid #cfe4fb;border-radius:50%;width:300px;height:300px}.orbit-two{width:380px;height:230px;transform:rotate(-27deg);border-color:#dceafa}.visual-card{z-index:1;width:260px;height:220px;border-radius:22px;background:linear-gradient(145deg,#12385f,#1677e8);box-shadow:0 28px 55px #145da633;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center}.visual-icon{width:54px;height:54px;border-radius:17px;background:#ffffff20;display:grid;place-items:center;font-size:30px;margin-bottom:15px}.visual-card strong{font-size:16px}.visual-card span{font-size:11px;color:#d6e8ff;margin-top:8px}.visual-bars{display:flex;gap:7px;align-items:end;height:30px;margin-top:16px}.visual-bars i{width:7px;border-radius:5px;background:#68d9ee}.visual-bars i:nth-child(1){height:12px}.visual-bars i:nth-child(2){height:20px}.visual-bars i:nth-child(3){height:27px}.visual-bars i:nth-child(4){height:17px}.visual-bars i:nth-child(5){height:24px}.visual-bars i:nth-child(6){height:14px}.floating-tag{position:absolute;z-index:2;padding:11px 15px;border:1px solid #e1eaf5;border-radius:10px;background:#fff;box-shadow:0 12px 28px #17375a12;font-size:11px;font-weight:750;color:#315879}.tag-top{top:45px;right:8px}.tag-bottom{bottom:42px;left:0}.levels-section{padding:50px 0 75px;border-top:1px solid #edf1f6}.levels-section h2{font-size:27px;margin:10px 0}.levels-section>div:first-child>p{color:var(--muted);font-size:13px}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:27px}.level-grid article{padding:23px;border:1px solid var(--line);border-radius:14px;background:#fff}.level-number{font-size:10px;font-weight:800;color:var(--blue);letter-spacing:1px}.level-grid h3{font-size:17px;margin:15px 0 7px}.level-grid p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.home-footer{border-top:1px solid #e9eef5;padding:24px max(5vw,24px);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#71839b;font-size:11px}.home-footer>div{display:grid;gap:5px}.home-footer>div b{color:#314b69;font-size:12px}.footer-contact{display:flex;gap:15px}.home-footer small{font-size:10px}.home-footer small b{color:#176ed0}@media(max-width:760px){.home-header{height:70px;padding:0 17px}.home-brand{font-size:12px}.home-main{padding:0 19px}.home-hero{grid-template-columns:1fr;padding:55px 0 35px;gap:10px}.hero-copy h1{font-size:39px}.hero-copy>p{font-size:14px}.hero-visual{height:300px}.level-grid{grid-template-columns:1fr}.home-footer{align-items:flex-start;flex-direction:column;padding:22px}.footer-contact{flex-direction:column;gap:6px}.auth-card{padding:27px 22px}}


/* Accueil DorsySchool — photo d'élèves en arrière-plan */
.home-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:570px;margin:28px 0 0;padding:72px clamp(28px,6vw,82px);border-radius:24px;overflow:hidden;background:#092d59 url("home-students-bg.png") center 46%/cover no-repeat;box-shadow:0 22px 55px rgba(9,45,89,.16)}
.home-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,29,59,.94) 0%,rgba(7,42,79,.86) 36%,rgba(7,42,79,.42) 63%,rgba(7,42,79,.08) 100%)}
.hero-copy{max-width:610px;position:relative;z-index:1}
.hero-copy .eyebrow{color:#8ee7f4}
.hero-copy h1{color:#fff;font-size:clamp(38px,5vw,62px);line-height:1.06}
.hero-copy>p{color:#e2edf8;font-size:16px;max-width:540px}
.hero-trust{color:#e1efff}
.hero-actions{flex-wrap:wrap}
.hero-actions .secondary-link{color:#fff}
.hero-visual{display:none}
.home-hero .primary-link{background:linear-gradient(100deg,#1684f5,#0e68cf);box-shadow:0 10px 25px rgba(0,0,0,.18)}
@media(max-width:760px){.home-hero{min-height:590px;margin:14px 0 0;padding:42px 25px;border-radius:17px;background-position:58% center}.home-hero::before{background:linear-gradient(90deg,rgba(5,29,59,.91),rgba(7,42,79,.72) 72%,rgba(7,42,79,.42))}.hero-copy h1{font-size:clamp(34px,9vw,46px)}.hero-copy>p{font-size:14px}.hero-trust{gap:12px;flex-direction:column}}


/* Accueil plein écran : la photo couvre toute la page */
.home-body{position:relative;min-height:100vh;background:#071d38 url("home-students-bg.png") center center/cover fixed no-repeat;color:#fff}
.home-body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(110deg,rgba(4,22,45,.88) 0%,rgba(5,35,67,.68) 48%,rgba(4,25,48,.30) 100%)}
.home-header,.home-main,.home-footer{position:relative;z-index:1}
.home-header{height:82px;background:rgba(5,25,49,.24);border-bottom:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}
.home-brand{color:#fff}.home-brand b{color:#fff}.home-brand img{background:rgba(255,255,255,.92);border-radius:8px;padding:3px}
.header-login{background:#1677e8;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.home-main{max-width:none;margin:0;padding:0 clamp(22px,7vw,110px)}
.home-hero{min-height:calc(100vh - 82px);margin:0;padding:70px 0;display:flex;align-items:center;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
.home-hero::before{display:none}
.hero-copy{max-width:720px}
.hero-copy h1{font-size:clamp(44px,7vw,82px);text-shadow:0 3px 22px rgba(0,0,0,.22)}
.hero-copy>p{font-size:clamp(15px,1.5vw,19px)}
.hero-trust{font-size:12px}
.levels-section{padding:38px clamp(22px,7vw,110px) 55px;margin:0 -clamp(22px,7vw,110px);background:rgba(5,24,47,.72);border-top:1px solid rgba(255,255,255,.18);backdrop-filter:blur(9px);color:#fff}
.levels-section h2{color:#fff}.levels-section>div:first-child>p{color:#d6e3f1}
.level-grid article{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.35);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.home-footer{background:rgba(3,18,36,.88);border-top:1px solid rgba(255,255,255,.15);color:#d3e0ef}
.home-footer>div b{color:#fff}.home-footer small b{color:#7edff0}
@media(max-width:760px){.home-header{height:70px}.home-main{padding:0 20px}.home-hero{min-height:calc(100svh - 70px);padding:52px 0 45px}.hero-copy h1{font-size:clamp(38px,11vw,56px)}.levels-section{margin:0 -20px;padding:32px 20px 40px}.home-footer{padding:22px 20px}}

/* Accueil minimaliste DorsySchool : dégradé blanc, identité de l'école et accès privé */
.home-body.home-simple{position:relative;min-height:100vh;min-height:100svh;margin:0;overflow-x:hidden;color:#142b49;background:#fff url("home-students-bg.jpg") center center/cover no-repeat;display:flex;flex-direction:column}
.home-body.home-simple::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.83) 43%,rgba(255,255,255,.36) 61%,rgba(255,255,255,.04) 100%)}
.simple-home{position:relative;z-index:1;flex:1;display:flex;align-items:center;width:100%;padding:clamp(32px,8vw,120px)}
.simple-school{width:min(760px,100%);display:flex;flex-direction:column;align-items:flex-start}
.simple-school-logo{display:block;width:auto;height:auto;max-width:min(220px,52vw);max-height:125px;object-fit:contain;object-position:left center;margin-bottom:28px}
.simple-school-name{max-width:900px;font-size:clamp(42px,7.2vw,96px);font-weight:850;line-height:1.02;letter-spacing:-.045em;color:#102b50;text-wrap:balance}
.simple-school-slogan{max-width:600px;margin:22px 0 0;color:#52657d;font-size:clamp(15px,1.5vw,19px);line-height:1.65}
.simple-login{display:inline-flex;align-items:center;gap:34px;margin-top:36px;padding:17px 24px;border-radius:12px;background:linear-gradient(110deg,#ff9200,#ff7100);color:#fff;text-decoration:none;font-size:15px;font-weight:800;box-shadow:0 10px 26px rgba(255,126,0,.2);transition:transform .18s ease,box-shadow .18s ease}
.simple-login:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(255,126,0,.28)}
.simple-login span{font-size:22px;line-height:1}
.simple-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;padding:16px 22px;color:#718198;font-size:11px;letter-spacing:.04em;background:rgba(255,255,255,.72);border-top:1px solid rgba(20,43,73,.08);backdrop-filter:blur(8px)}
.simple-footer span{font-size:13px;font-weight:850;color:#17375e;letter-spacing:-.02em}.simple-footer i{width:3px;height:3px;border-radius:50%;background:#16bde4}
@media(max-width:700px){.home-body.home-simple{background-position:62% center}.home-body.home-simple::before{background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 43%,rgba(255,255,255,.68) 70%,rgba(255,255,255,.2) 100%),linear-gradient(0deg,rgba(255,255,255,.28),transparent 65%)}.simple-home{align-items:center;padding:42px 25px 55px}.simple-school-logo{max-width:155px;max-height:90px;margin-bottom:23px}.simple-school-name{font-size:clamp(40px,12vw,64px)}.simple-school-slogan{font-size:14px;margin-top:17px}.simple-login{margin-top:29px;padding:15px 20px;font-size:14px}.simple-footer{min-height:58px;flex-wrap:wrap;font-size:10px}}

