:root { --stagia:#ff751f; --stagia-dark:#e85d04; --ink:#171717; --muted:#6d6d6d; --soft:#f7f7f5; }
* { box-sizing:border-box; }
body { color:var(--ink); background:#fff; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:inherit; }
.navbar { min-height:76px; }
.brand-logo { width:78px; height:48px; object-fit:contain; object-position:center; }
.brand-divider { width:1px; height:26px; background:#ddd; }
.brand-library { font-size:.92rem; font-weight:700; }
.nav-link { font-weight:600; font-size:.94rem; }
.nav-link.active,.nav-link:hover,.text-stagia,.section-kicker { color:var(--stagia)!important; }
.btn-stagia { background:var(--stagia); color:#fff; border-color:var(--stagia); font-weight:700; }
.btn-stagia:hover,.btn-stagia:focus { background:var(--stagia-dark); border-color:var(--stagia-dark); color:#fff; }
.hero-section { background:radial-gradient(circle at 82% 20%,#ffe4d0 0,transparent 33%),linear-gradient(135deg,#fff 0%,#fff9f5 100%); overflow:hidden; }
.eyebrow,.section-kicker { font-weight:800; font-size:.76rem; letter-spacing:.09em; text-transform:uppercase; }
.eyebrow { color:#9b3c00; background:#fff0e6; border:1px solid #ffd8bd; padding:.5rem .8rem; border-radius:30px; }
.hero-section h1 { letter-spacing:-.055em; line-height:1.02; }
.hero-section h1 span { color:var(--stagia); }
.hero-copy { max-width:670px; line-height:1.65; }
.hero-search { display:flex; align-items:center; gap:.75rem; padding:.55rem; padding-left:1.2rem; background:white; border-radius:999px; max-width:650px; }
.hero-search input { flex:1; min-width:0; border:0; outline:0; font-size:1rem; }
.hero-visual { min-height:430px; position:relative; display:grid; place-items:center; }
.visual-orbit { width:260px; height:260px; border-radius:50%; background:linear-gradient(145deg,var(--stagia),#ffad73); box-shadow:0 30px 70px #ff751f42; display:grid; place-items:center; color:#fff; font-size:6rem; transform:rotate(-5deg); }
.visual-orbit::after { content:""; position:absolute; width:330px; height:330px; border:1px dashed #ffb17d; border-radius:50%; }
.floating-card { position:absolute; z-index:2; background:#fff; border:1px solid #eee; border-radius:18px; padding:1rem 1.2rem; box-shadow:0 18px 45px #34180322; display:grid; grid-template-columns:auto 1fr; column-gap:.7rem; }
.floating-card i { grid-row:1/3; align-self:center; font-size:1.6rem; color:var(--stagia); }
.floating-card span { font-size:.75rem; color:var(--muted); }
.card-one { top:32px; left:0; }.card-two { right:-10px; bottom:28px; }
.resource-card { border:1px solid #e9e9e7; border-radius:18px; overflow:hidden; background:white; transition:.25s ease; }
.resource-card:hover { transform:translateY(-7px); box-shadow:0 20px 45px #00000014; border-color:#ffd0b2; }
.resource-cover { height:235px; margin:10px; border-radius:12px; padding:1rem; color:white; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.resource-cover::before { content:""; position:absolute; width:180px; height:180px; border:1px solid #ffffff38; border-radius:50%; right:-70px; bottom:-75px; }
.resource-cover::after { content:""; position:absolute; width:110px; height:110px; background:#ffffff12; border-radius:50%; left:-45px; top:50px; }
.cover-orange{background:linear-gradient(145deg,#ff751f,#bb3c00)}.cover-blue{background:linear-gradient(145deg,#2f80ed,#103b78)}.cover-green{background:linear-gradient(145deg,#29966f,#0e4935)}.cover-purple{background:linear-gradient(145deg,#8c56d9,#402071)}.cover-navy{background:linear-gradient(145deg,#334968,#101c2f)}.cover-red{background:linear-gradient(145deg,#e65454,#761d1d)}.cover-yellow{background:linear-gradient(145deg,#f7a800,#9c5400)}.cover-teal{background:linear-gradient(145deg,#18a8a6,#0b515d)}
.resource-type { text-transform:uppercase; letter-spacing:.08em; font-size:.7rem; font-weight:700; z-index:1; }
.cover-mark { margin:auto; font-size:5rem; line-height:1; font-weight:900; opacity:.18; font-style:italic; }
.price-badge { position:absolute; right:.8rem; bottom:.8rem; border-radius:30px; padding:.38rem .7rem; font-size:.72rem; font-weight:800; z-index:2; }
.price-badge.free { background:#daf9e8;color:#17623a}.price-badge.paid{background:#fff;color:#222}
.resource-title { font-size:1.05rem; line-height:1.35; font-weight:800; }
.category-section,.page-header { background:var(--soft); }
.category-tile { min-height:120px; display:flex; align-items:center; gap:.8rem; padding:1.2rem; border-radius:16px; background:#fff; border:1px solid #e7e7e5; text-decoration:none; font-weight:700; transition:.2s; }
.category-tile>i:first-child { display:grid; place-items:center; width:48px; height:48px; flex:0 0 auto; border-radius:12px; background:#fff0e7; color:var(--stagia); font-size:1.35rem; }.category-tile>i:last-child{margin-left:auto}.category-tile:hover{border-color:var(--stagia);transform:translateY(-3px)}
.cta-panel { padding:2.5rem 3rem; background:linear-gradient(120deg,#1f1f1f,#3b2a20); color:#fff; border-radius:24px; display:flex; justify-content:space-between; align-items:center; gap:2rem; }
.footer { background:#101010;color:#fff}.footer a{display:block;color:#aaa;text-decoration:none;margin:.5rem 0}.footer a:hover{color:var(--stagia)}.footer-logo{filter:brightness(0) invert(1)}
.filter-bar { display:grid; grid-template-columns:2fr 1fr 1fr 1fr auto; gap:.75rem; padding:1rem; border:1px solid #e7e7e5; border-radius:16px; background:#fff; box-shadow:0 12px 28px #0000000a; }.search-field{display:flex;align-items:center;gap:.6rem;border:1px solid #dee2e6;border-radius:.375rem;padding:0 .75rem}.search-field input{border:0;outline:0;width:100%;height:100%}
.advanced-search-panel{margin-top:.85rem;border:1px solid #deded9;border-radius:14px;background:#fff;overflow:hidden}.advanced-search-panel summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;cursor:pointer;list-style:none;font-weight:800;color:#282828}.advanced-search-panel summary::-webkit-details-marker{display:none}.advanced-search-panel summary span{display:flex;align-items:center;gap:.55rem}.advanced-search-panel summary i{color:var(--stagia);font-size:1.05rem}.advanced-search-panel summary small{font-weight:600;color:var(--muted)}.advanced-search-panel[open] summary{background:#fff7f1;border-bottom:1px solid #ffe0ca}.advanced-search-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem;padding:1.25rem}.advanced-search-grid>div{grid-column:span 4;width:100%!important}.advanced-search-grid>div:nth-child(n+4){grid-column:span 3}.advanced-search-grid .form-label{display:block;margin:0 0 .45rem;font-size:.82rem;font-weight:800;color:#444}.advanced-search-grid .form-control,.advanced-search-grid .form-select{min-height:46px;border-color:#d8d8d3}.advanced-search-grid .form-control:focus,.advanced-search-grid .form-select:focus{border-color:var(--stagia);box-shadow:0 0 0 .2rem #ff751f1f}
.catalog-search-layout{display:grid;grid-template-columns:minmax(238px,280px) minmax(0,1fr);gap:1.5rem;align-items:start}.catalog-facets{position:sticky;top:1rem;border:1px solid #e6e4e0;border-radius:16px;background:#fff;box-shadow:0 10px 28px #1717170a;overflow:hidden}.catalog-facets-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.15rem;background:#fff7f1;border-bottom:1px solid #ffe3d0}.catalog-facets-heading span{display:block;color:var(--stagia-dark);font-size:.67rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.catalog-facets-heading h2{margin:.18rem 0 0;font-size:1rem;font-weight:850}.catalog-facets-heading>strong{display:grid;place-items:center;min-width:34px;height:34px;padding:0 .45rem;border-radius:50%;background:var(--stagia);color:#fff;font-size:.8rem}.catalog-facet{border-bottom:1px solid #eceae6}.catalog-facet:last-child{border-bottom:0}.catalog-facet summary{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.9rem 1.1rem;cursor:pointer;list-style:none;font-size:.84rem;font-weight:800}.catalog-facet summary::-webkit-details-marker{display:none}.catalog-facet summary span{display:flex;align-items:center;gap:.55rem}.catalog-facet summary span i{color:var(--stagia);font-size:1rem}.catalog-facet summary>i{color:#777;transition:transform .18s}.catalog-facet[open] summary>i{transform:rotate(180deg)}.catalog-facet-options{max-height:235px;overflow:auto;padding:0 .65rem .75rem;scrollbar-width:thin}.catalog-facet-options a{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.48rem .45rem;border-radius:7px;color:#4c4b49;text-decoration:none;font-size:.8rem}.catalog-facet-options a:hover,.catalog-facet-options a.is-active{background:#fff0e6;color:#a63d00}.catalog-facet-options a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-facet-options a strong{flex:0 0 auto;min-width:24px;padding:.13rem .38rem;border-radius:30px;background:#f2f1ef;text-align:center;font-size:.68rem}.catalog-facet-options a.is-active strong{background:#ffd6ba}.catalog-results{min-width:0}
.catalog-facet summary small{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 .3rem;border-radius:20px;background:#f1efec;color:#555;font-size:.68rem}.catalog-resource-links a i{color:#a65a2d}
@media(max-width:991px){.advanced-search-grid>div,.advanced-search-grid>div:nth-child(n+4){grid-column:span 6}.catalog-search-layout{grid-template-columns:1fr}.catalog-facets{position:static}.catalog-facet-options{max-height:190px}}@media(max-width:575px){.advanced-search-panel summary{align-items:flex-start;flex-direction:column}.advanced-search-grid{grid-template-columns:1fr;padding:1rem}.advanced-search-grid>div,.advanced-search-grid>div:nth-child(n+4){grid-column:auto}}
.empty-state { padding:4rem 1rem; text-align:center; border:1px dashed #d4d4d0; background:#fafafa; border-radius:18px; }.empty-state>i{font-size:3rem;color:var(--stagia)}
.detail-hero{background:linear-gradient(120deg,#fff9f5,#fff)}.detail-cover{height:390px;margin:0;box-shadow:0 25px 60px #4a210d2b}.resource-cover.has-cover-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.resource-cover.has-cover-image::before,.resource-cover.has-cover-image::after{z-index:1}.resource-cover.has-cover-image .resource-type,.resource-cover.has-cover-image .cover-mark,.resource-cover.has-cover-image .price-badge{position:relative;z-index:2;text-shadow:0 1px 3px #000}.detail-cover .cover-mark{font-size:8rem}.detail-summary{font-size:1.08rem;line-height:1.8;color:#4d4d4d}.info-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #eee;border-radius:18px;margin-top:2rem}.info-strip>span{padding:1.3rem;display:grid;grid-template-columns:auto 1fr;column-gap:.8rem}.info-strip i{grid-row:1/3;color:var(--stagia);font-size:1.6rem}.info-strip small{color:#777}
.auth-section,.checkout-section{min-height:68vh;background:linear-gradient(150deg,#fff8f3,#f7f7f5)}.auth-card{background:#fff;border:1px solid #e9e9e5;padding:2.2rem;border-radius:24px;box-shadow:0 24px 65px #0000000c}.auth-icon{margin:auto;width:64px;height:64px;border-radius:20px;background:#fff0e6;color:var(--stagia);display:grid;place-items:center;font-size:1.7rem}.form-control{min-height:48px}.form-label{font-weight:650}.auth-separator{display:flex;align-items:center;gap:1rem;color:#999;margin:1.4rem 0}.auth-separator::before,.auth-separator::after{content:"";height:1px;background:#e6e6e6;flex:1}.demo-credentials{background:#f6f6f4;border-radius:12px;padding:1rem;display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.demo-credentials strong{width:100%;font-size:.8rem}.demo-credentials code{background:#fff;padding:.25rem .5rem;border-radius:5px;color:#333}.integration-flow{display:flex;justify-content:center;align-items:center;gap:.7rem;margin:2rem 0;flex-wrap:wrap}.integration-flow span{padding:.8rem;background:#f6f6f4;border-radius:12px}
.account-header{background:linear-gradient(120deg,#191919,#4a2d1d);color:#fff}.profile-avatar{display:grid;place-items:center;width:74px;height:74px;border-radius:22px;background:var(--stagia);font-size:1.5rem;font-weight:800}.shortcut{display:flex;align-items:center;gap:1rem;border:1px solid #e6e6e3;border-radius:14px;padding:1rem;text-decoration:none}.shortcut>i{font-size:1.5rem;color:var(--stagia)}.shortcut span{display:flex;flex-direction:column}.shortcut small{color:#777}
.order-item{display:flex;gap:1rem;align-items:center;background:#fff;border:1px solid #e6e6e3;padding:1rem;border-radius:16px}.mini-cover{width:60px;height:80px;border-radius:8px;color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:900}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.payment-options input{position:absolute;opacity:0}.payment-options span{border:2px solid #e5e5e5;border-radius:12px;padding:1rem;display:block;cursor:pointer}.payment-options input:checked+span{border-color:var(--stagia);background:#fff7f1;color:#9b3c00}
.reader-header{background:#fff;border-bottom:1px solid #eee}.reader-wrap{background:#efefed;padding:3rem 1rem;min-height:70vh}.reader-page{background:#fff;width:min(800px,100%);min-height:850px;margin:auto;padding:4rem;border-radius:4px}.reader-page h2{font-size:2.4rem;font-weight:800;margin:.8rem 0 1rem}.reader-page h3{margin-top:2rem}.reader-page p{line-height:1.8}.demo-note{display:flex;gap:1rem;background:#fff2e9;border-left:4px solid var(--stagia);padding:1.2rem;margin-top:2rem}.demo-note i{color:var(--stagia)}
@media(max-width:991px){.filter-bar{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.cta-panel{padding:2rem;align-items:flex-start}.navbar-collapse{padding:1rem 0}.detail-cover{height:340px}}
@media(max-width:767px){.hero-section h1{font-size:2.7rem}.hero-search{border-radius:18px;flex-wrap:wrap}.hero-search input{min-height:42px}.hero-search button{width:100%}.filter-bar{grid-template-columns:1fr}.search-field{grid-column:auto;min-height:48px}.cta-panel{flex-direction:column}.info-strip{grid-template-columns:1fr}.reader-page{padding:2rem 1.3rem}.payment-options{grid-template-columns:1fr}}
@media print{.navbar,.footer,.reader-header{display:none}.reader-wrap{padding:0;background:#fff}.reader-page{box-shadow:none!important;min-height:auto}}

/* Portail stable — composition adaptée du modèle Edusite */
:root{--portal-orange:#ff751f;--portal-orange-dark:#da5600;--portal-ink:#161616;--portal-cream:#fff8f3;--portal-muted:#6e6e6e}
html{scroll-behavior:smooth}.portal-home main{margin-top:0}.inner-page main{padding-top:78px}.site-header{position:absolute;top:0;left:0;width:100%;z-index:50;transition:background .25s ease,box-shadow .25s ease}.site-header-solid{position:fixed;background:#fff;box-shadow:0 3px 22px #00000010}.site-header .navbar{min-height:78px}.site-brand{display:flex;align-items:center;gap:.8rem;text-decoration:none}.site-brand img{width:78px;height:48px;object-fit:contain}.site-brand span{display:flex;flex-direction:column;padding-left:.8rem;border-left:1px solid #ffffff4f;line-height:1.1}.site-brand strong{font-size:1rem;color:#fff}.site-brand small{font-size:.64rem;color:#ffffffa8;margin-top:.25rem;letter-spacing:.035em}.site-header-solid .site-brand span{border-left-color:#ddd}.site-header-solid .site-brand strong{color:#1d1d1d}.site-header-solid .site-brand small{color:#777}.site-header .nav-link{position:relative;color:#fff!important;font-size:.88rem;font-weight:700;padding:.6rem .7rem!important}.site-header .nav-link::after{content:"";position:absolute;left:.7rem;right:.7rem;bottom:.25rem;height:2px;background:var(--portal-orange);transform:scaleX(0);transition:.2s}.site-header .nav-link:hover::after,.site-header .nav-link.active::after{transform:scaleX(1)}.site-header-solid .nav-link{color:#2b2b2b!important}.portal-account-btn{background:var(--portal-orange);border:1px solid var(--portal-orange);color:#fff!important;border-radius:4px;padding:.7rem 1rem;font-size:.85rem;font-weight:800}.portal-account-btn:hover{background:var(--portal-orange-dark);border-color:var(--portal-orange-dark)}.portal-toggler{border:0;padding:.4rem}.portal-toggler span{display:block;width:27px;height:2px;background:#fff;margin:5px}.site-header-solid .portal-toggler span{background:#222}.flash-container{position:relative;z-index:60;padding-top:95px;margin-bottom:-80px}
.portal-hero{position:relative;min-height:760px;background-image:var(--hero-image);background-size:cover;background-position:center 52%;color:#fff;overflow:hidden}.portal-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,8,.88) 0%,rgba(12,7,3,.72) 48%,rgba(12,7,3,.2) 100%)}.portal-hero-content{position:relative;z-index:2}.portal-eyebrow{display:inline-flex;align-items:center;gap:.5rem;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:800;color:#fff}.portal-eyebrow::before{content:"";width:28px;height:2px;background:var(--portal-orange)}.portal-hero h1{max-width:850px;margin:1.2rem 0;font-size:clamp(3.2rem,6vw,5.5rem);font-weight:850;letter-spacing:-.06em;line-height:.98}.portal-hero h1 span{color:var(--portal-orange)}.portal-hero-content>div>div>p{max-width:720px;font-size:1.15rem;line-height:1.75;color:#ffffffc7}.portal-search{display:flex;align-items:center;max-width:720px;background:#fff;margin-top:2rem;padding:.55rem .55rem .55rem 1.2rem;box-shadow:0 18px 45px #00000040}.portal-search>i{color:#777;font-size:1.1rem}.portal-search input{flex:1;min-width:0;border:0;outline:0;padding:0 .8rem;height:48px}.portal-search button,.portal-primary-btn{display:inline-flex;justify-content:center;align-items:center;gap:.65rem;background:var(--portal-orange);border:0;color:#fff;text-decoration:none;padding:.95rem 1.35rem;font-size:.88rem;font-weight:800;transition:.2s}.portal-search button:hover,.portal-primary-btn:hover{background:var(--portal-orange-dark);color:#fff;transform:translateY(-2px)}.portal-hero-actions{display:flex;align-items:center;gap:1.4rem;margin-top:1.5rem}.portal-text-link{color:#fff;text-decoration:none;font-weight:700}.portal-text-link:hover{color:var(--portal-orange)}.portal-trust{display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:2rem;font-size:.78rem;color:#ffffffc9}.portal-trust i{color:var(--portal-orange);margin-right:.3rem}.portal-trust strong{color:#fff}.scroll-indicator{position:absolute;z-index:3;bottom:28px;left:50%;width:25px;height:42px;border:2px solid #ffffff8c;border-radius:20px}.scroll-indicator span{position:absolute;width:4px;height:8px;border-radius:4px;background:#fff;left:50%;top:8px;transform:translateX(-50%);animation:portal-scroll 1.6s infinite}@keyframes portal-scroll{0%{opacity:0;transform:translate(-50%,0)}50%{opacity:1}100%{opacity:0;transform:translate(-50%,14px)}}
.portal-section{padding:105px 0}.portal-section-label{display:inline-flex;align-items:center;gap:.55rem;text-transform:uppercase;letter-spacing:.14em;color:var(--portal-orange);font-size:.72rem;font-weight:850}.portal-section-label::before{content:"";width:25px;height:2px;background:var(--portal-orange)}.portal-section h2,.portal-banner h2,.portal-final-cta h2{font-size:clamp(2.2rem,4vw,3.3rem);line-height:1.12;letter-spacing:-.045em;font-weight:850;margin:.8rem 0 1.2rem}.portal-lead{font-size:1.08rem;line-height:1.75;color:var(--portal-muted)}.portal-feature{display:flex;align-items:flex-start;gap:1rem;margin-top:1.6rem}.portal-feature>span{width:53px;height:53px;flex:0 0 auto;display:grid;place-items:center;background:#fff0e6;color:var(--portal-orange);font-size:1.4rem}.portal-feature h3{font-size:1rem;font-weight:800;margin:.2rem 0}.portal-feature p{margin:0;color:#777;font-size:.9rem}.portal-about-visual{position:relative;min-height:530px;display:flex;align-items:flex-end;justify-content:center}.portal-about-visual img{position:relative;z-index:2;width:min(560px,100%);max-height:520px;object-fit:contain}.visual-accent{position:absolute;z-index:1;width:380px;height:380px;border-radius:50%;background:#fff0e7;right:5%;bottom:4%}.about-stat{position:absolute;z-index:3;left:3%;bottom:7%;background:#171717;color:#fff;padding:1.2rem 1.5rem;box-shadow:0 15px 40px #0003}.about-stat strong{display:block;color:var(--portal-orange);font-size:2rem;line-height:1}.about-stat span{font-size:.72rem}.portal-selection{background:#f7f7f6}.portal-heading{max-width:720px;margin:0 auto 3rem}.portal-heading>p{color:#777}
.library-card{background:#fff;border:1px solid #e5e5e2;transition:.25s;box-shadow:0 8px 28px #00000008}.library-card:hover{transform:translateY(-7px);box-shadow:0 20px 45px #00000017}.library-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.library-card-image{height:210px;position:relative;overflow:hidden}.library-card-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.65))}.library-card-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.library-card:hover img{transform:scale(1.05)}.library-format,.library-price{position:absolute;z-index:2;font-size:.68rem;font-weight:850}.library-format{left:.8rem;top:.8rem;color:#fff;background:#171717c9;padding:.35rem .55rem}.library-price{right:.8rem;bottom:.8rem;padding:.38rem .6rem}.library-price.is-free{background:#d9f5e5;color:#17613a}.library-price.is-paid{background:var(--portal-orange);color:#fff}.library-card-body{display:flex;flex-direction:column;flex:1;padding:1.2rem}.library-card-body>p{color:var(--portal-orange);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.45rem}.library-card-body h3{font-size:1.02rem;line-height:1.4;font-weight:800}.library-author{font-size:.78rem;color:#777}.library-more{margin-top:auto;padding-top:1rem;font-size:.78rem;font-weight:800}.library-more i{color:var(--portal-orange);margin-left:.25rem}
.portal-banner{position:relative;min-height:540px;padding:110px 0;display:flex;align-items:center;background-image:var(--banner-image);background-size:cover;background-position:center 45%;background-attachment:fixed;color:#fff}.portal-banner-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,8,.93),rgba(15,8,3,.7) 63%,rgba(15,8,3,.35))}.portal-banner p{max-width:650px;color:#ffffffc7;font-size:1.05rem;line-height:1.75;margin-bottom:1.7rem}.portal-domains{background:#fff}.domain-card{position:relative;display:block;height:100%;min-height:230px;padding:1.6rem;background:#f7f7f5;color:#222;text-decoration:none;border-bottom:3px solid transparent;transition:.25s}.domain-card>span{width:55px;height:55px;display:grid;place-items:center;background:#fff;color:var(--portal-orange);font-size:1.45rem}.domain-card h3{font-size:1.05rem;font-weight:800;margin:1.35rem 0 .4rem}.domain-card p{color:#777;font-size:.8rem}.domain-card>i{position:absolute;right:1.3rem;bottom:1.2rem}.domain-card:hover{background:#171717;color:#fff;border-bottom-color:var(--portal-orange);transform:translateY(-5px)}.domain-card:hover p{color:#bbb}.portal-why{background:var(--portal-cream)}.portal-video-card{min-height:480px;background-size:cover;background-position:center;display:grid;place-items:center;position:relative}.portal-video-card::before{content:"";position:absolute;inset:0;background:#0003}.portal-video-card span{position:relative;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:var(--portal-orange);color:#fff;font-size:2rem;box-shadow:0 0 0 15px #ff751f38}.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}.why-grid>div{display:grid;grid-template-columns:auto 1fr;column-gap:.8rem;background:#fff;padding:1rem}.why-grid i{grid-row:1/3;color:var(--portal-orange);font-size:1.35rem}.why-grid strong{font-size:.9rem}.why-grid span{font-size:.75rem;color:#777}.portal-final-cta{position:relative;padding:115px 0;background-image:var(--final-image);background-size:cover;background-position:center;color:#fff}.portal-final-overlay{position:absolute;inset:0;background:rgba(8,8,8,.78)}.portal-final-cta p{font-size:1.05rem;color:#ffffffc7;margin-bottom:1.8rem}
.portal-footer{background:#111;color:#aaa}.portal-footer .footer-brand span{border-left-color:#333}.portal-footer .footer-brand strong{color:#fff}.portal-footer .footer-brand small{color:#888}.portal-footer p{max-width:520px;font-size:.85rem;line-height:1.7}.portal-footer h2{font-size:.78rem;color:#fff;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.2rem}.portal-footer a:not(.site-brand){display:block;color:#999;text-decoration:none;font-size:.8rem;margin:.65rem 0}.portal-footer a:hover{color:var(--portal-orange)}.footer-contact{color:#fff!important}.footer-bottom{border-top:1px solid #292929;margin-top:2.5rem;padding-top:1.2rem;display:flex;justify-content:space-between;font-size:.72rem}
.inner-page .page-header{padding-top:20px}.inner-page .auth-section,.inner-page .checkout-section{padding-top:1px}.inner-page .detail-hero{padding-top:20px}
@media(max-width:991px){.site-header .navbar-collapse{background:#171717;margin:0 -12px;padding:1rem}.site-header-solid .navbar-collapse{background:#fff;box-shadow:0 14px 25px #0001}.site-header .nav-link::after{display:none}.portal-hero{min-height:720px;background-position:center}.portal-hero h1{font-size:3.5rem}.portal-about-visual{min-height:440px}.portal-banner{background-attachment:scroll}.why-grid{grid-template-columns:1fr}.site-header .portal-account-btn{display:block;margin-top:.5rem;text-align:center}}
@media(max-width:767px){.portal-section{padding:75px 0}.portal-hero{min-height:760px}.portal-hero-overlay{background:rgba(7,7,7,.78)}.portal-hero h1{font-size:2.8rem}.portal-search{flex-wrap:wrap;padding:.7rem}.portal-search input{min-height:44px}.portal-search button{width:100%}.portal-hero-actions{align-items:flex-start;flex-direction:column}.portal-trust{gap:.8rem}.portal-about-visual{min-height:360px}.visual-accent{width:280px;height:280px}.portal-banner{padding:80px 0}.library-card-image{height:190px}.footer-bottom{flex-direction:column;gap:.5rem}.why-grid{grid-template-columns:1fr}}

/* Authentification moderne */
.portal-outline-btn{display:inline-flex;align-items:center;gap:.55rem;padding:.9rem 1.2rem;color:#fff;border:1px solid #ffffff80;text-decoration:none;font-weight:800;font-size:.86rem}.portal-outline-btn:hover{color:#fff;background:#ffffff18}.auth-modern{min-height:calc(100vh - 78px);padding:55px 0 75px;background:radial-gradient(circle at 10% 20%,#ffe4d2,transparent 28%),#f5f6f8}.auth-shell{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(420px,1.05fr);max-width:1080px;min-height:690px;margin:auto;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 35px 90px #20242e26;transition:transform .18s ease;transform-style:preserve-3d}.auth-shell-wide{max-width:1200px}.auth-shell-compact{max-width:980px;min-height:590px}.auth-visual{position:relative;overflow:hidden;background:linear-gradient(180deg,#171b2480,#171b24d9),url('/images/portal/auth-library.jpeg') center/cover;color:#fff;padding:3rem;display:flex;align-items:flex-end}.auth-visual-register{background:linear-gradient(180deg,#5b260045,#111827e8),url('/images/portal/auth-library.jpeg') 62% center/cover}.auth-visual-copy{position:relative;z-index:2}.auth-visual-copy>span{display:inline-flex;align-items:center;gap:.5rem;color:#ff9b5d;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:850}.auth-visual-copy h2{font-size:clamp(2.1rem,3.4vw,3.3rem);line-height:1.05;letter-spacing:-.045em;font-weight:850;margin:1rem 0}.auth-visual-copy p{color:#ffffffc4;line-height:1.75}.auth-visual-copy ul{list-style:none;padding:0;margin:1.5rem 0 0}.auth-visual-copy li{margin:.65rem 0;font-size:.86rem}.auth-visual-copy li i{color:#ff751f;margin-right:.45rem}.auth-orb{position:absolute;border-radius:50%;background:#ff751f33;filter:blur(1px);animation:float-orb 7s ease-in-out infinite}.orb-one{width:180px;height:180px;top:-50px;right:-50px}.orb-two{width:90px;height:90px;top:25%;left:-25px;animation-delay:-3s}@keyframes float-orb{50%{transform:translateY(25px) rotate(20deg)}}.auth-panel{padding:2.7rem 3.2rem;display:flex;flex-direction:column;justify-content:center}.auth-back{align-self:flex-start;color:#7c8490;text-decoration:none;font-size:.78rem;margin-bottom:1.6rem}.auth-heading{margin-bottom:1.5rem}.auth-mini-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#ff751f;background:#fff0e6;font-size:1.2rem}.auth-heading h1{font-weight:850;letter-spacing:-.04em;margin:.8rem 0 .25rem}.auth-heading p{color:#7d8490;margin:0}.modern-form label{font-size:.78rem;font-weight:750;margin:0 0 .4rem;color:#383d48}.modern-form input:not([type=radio]){width:100%;height:50px;border:1px solid #dfe2e7;border-radius:11px;padding:.7rem .9rem;outline:0;background:#fafbfc}.modern-form input:focus{border-color:#ff751f;box-shadow:0 0 0 4px #ff751f15;background:#fff}.input-icon,.password-field{position:relative}.input-icon>i{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#9aa0aa}.input-icon>input{padding-left:2.8rem!important}.modern-form .label-row{display:flex;justify-content:space-between;align-items:center;margin-top:1.1rem}.label-row a{font-size:.74rem;color:#ff6510;text-decoration:none}.password-field button{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;color:#808792}.password-field input{padding-right:3rem!important}.auth-submit{width:100%;min-height:51px;margin-top:1.25rem;border:0;border-radius:11px;background:linear-gradient(135deg,#ff812f,#ee5e00);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:.6rem;font-weight:800;box-shadow:0 10px 25px #ff751f42}.auth-submit:hover{color:#fff;transform:translateY(-1px)}.auth-sso{display:flex;justify-content:center;align-items:center;gap:.7rem;height:49px;border:1px solid #dfe2e7;border-radius:11px;color:#2f3440;text-decoration:none;font-weight:750}.sso-mark{width:27px;height:27px;border-radius:8px;background:#151a25;color:#ff751f;display:grid;place-items:center;font-weight:900}.auth-switch{text-align:center;font-size:.8rem;margin:1.3rem 0}.auth-switch a{color:#ed6008;font-weight:800}.channel-choice>div>div{display:flex;gap:1.5rem}.channel-choice input{margin-right:.35rem}.password-meter{height:5px;background:#eceef1;border-radius:5px;margin-top:.5rem;overflow:hidden}.password-meter span{display:block;width:0;height:100%;background:#ef4444;transition:.25s}.password-meter span[data-score='2']{background:#f59e0b}.password-meter span[data-score='3'],.password-meter span[data-score='4']{background:#22a06b}.password-wrap small{color:#858b95;font-size:.68rem}.confirmation-card{max-width:610px;margin:55px auto;background:#fff;border-radius:25px;padding:3.5rem;text-align:center;box-shadow:0 30px 80px #2222}.confirmation-icon{width:78px;height:78px;margin:auto;display:grid;place-items:center;border-radius:24px;background:#fff0e6;color:#ff751f;font-size:2rem}.confirmation-card h1{font-weight:850;margin-top:1.3rem}.confirmation-card p{color:#737a85;line-height:1.7}.confirmation-card>a:not(.auth-submit){display:block;margin-top:1.2rem;color:#e95c06}.dev-confirm-link{display:block;text-align:center;margin-top:1rem;color:#e95c06;font-size:.8rem}.auth-panel .demo-credentials{margin-top:auto}
@media(max-width:991px){.auth-shell{grid-template-columns:1fr;max-width:680px}.auth-visual{min-height:320px}.auth-panel{padding:2.5rem}.auth-shell-wide .auth-visual{min-height:380px}}
@media(max-width:575px){.auth-modern{padding:25px 0}.auth-shell{border-radius:18px}.auth-visual{min-height:250px;padding:1.7rem}.auth-visual-copy h2{font-size:2rem}.auth-panel{padding:1.7rem}.confirmation-card{padding:2rem 1.3rem}.portal-hero-actions{gap:.8rem}}
.student-note-card{max-width:850px;margin:auto;padding:1.5rem;background:#fff;border:1px solid #e5e5e5;border-radius:12px}.save-search-bar{display:flex;gap:.7rem;align-items:center;margin:-.5rem 0 1.5rem auto;max-width:520px}.save-search-bar input{flex:1;border:1px solid #ddd;padding:.65rem}.save-search-bar button{border:0;background:#fff0e6;color:#c84c00;padding:.7rem;font-weight:800}
/* Lecteur documentaire sécurisé */
.document-reader{background:#172331;border-radius:18px;padding:1rem;box-shadow:0 12px 35px rgba(19,35,51,.14)}
.document-reader-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;color:#fff}.document-reader-toolbar button{border:0;border-radius:8px;background:#314555;color:#fff;padding:.45rem .62rem}.document-reader-toolbar button:hover{background:#ff751f}.document-reader-toolbar label{display:flex;align-items:center;gap:.35rem;font-size:.9rem}.document-reader-toolbar input{max-width:90px;border:0;border-radius:7px;padding:.4rem}.reader-search{background:#fff;color:#24313d;border-radius:7px;padding:0 .4rem}.reader-search input{max-width:185px}.reader-divider{height:26px;border-left:1px solid rgba(255,255,255,.35);margin:0 .25rem}.reader-help{color:#d9e4ea;font-size:.82rem;margin:.75rem 0}.document-reader-frame{height:min(76vh,900px);background:#59636c;border-radius:10px;overflow:hidden}.document-reader-frame iframe{display:block;width:100%;height:100%;border:0}.reader-annotations{background:#fff8f1;border-left:4px solid #ff751f;border-radius:10px;padding:1.25rem}.reader-annotations .list-group-item{background:transparent}@media(max-width:575px){.document-reader-frame{height:65vh}.reader-search{width:100%}.reader-search input{max-width:none;width:100%}.reader-divider{display:none}}
.document-reader-frame{overflow:auto;padding:1.25rem}.document-reader-stage{margin:auto;background:#fff;box-shadow:0 3px 15px #0006}.document-reader-stage canvas{display:block;width:100%;height:auto}.document-reader:fullscreen{width:100%;height:100%;border-radius:0;display:flex;flex-direction:column;padding:.8rem}.document-reader:fullscreen .document-reader-frame{height:auto;flex:1;border-radius:0}.document-reader:fullscreen .document-reader-stage{margin:auto}
/* La page de lecture donne toute la fenêtre au document. */
.reader-fullscreen{background:#172331;overflow:hidden}.reader-fullscreen main{height:100vh;display:flex;flex-direction:column}.reader-fullscreen .reader-header{flex:0 0 auto;background:#172331;border-color:#314555;color:#fff}.reader-fullscreen .reader-header a{color:#fff}.reader-fullscreen .container.py-4{flex:1;display:flex;width:100%;max-width:none;padding:0!important}.reader-fullscreen .document-reader{flex:1;border-radius:0;box-shadow:none;padding:.65rem}.reader-fullscreen .document-reader-frame{height:calc(100vh - 116px);border-radius:0}.reader-fullscreen .reader-help{display:none}.reader-fullscreen .reader-annotations,.reader-fullscreen .student-note-card{max-width:1200px;margin:0 auto}@media(max-width:575px){.reader-fullscreen .document-reader-frame{height:calc(100vh - 164px)}}
.reader-fullscreen .reader-help{display:block;margin:.45rem .25rem;color:#d9e4ea}
