.landing-trailer{position:relative;padding:34px 0 24px;overflow:hidden;background:#081226;color:#fff}
.landing-trailer:before,.landing-trailer:after{content:"";position:absolute;border-radius:50%;filter:blur(4px);pointer-events:none}
.landing-trailer:before{width:620px;height:620px;left:-260px;top:-300px;background:radial-gradient(circle,rgba(27,206,190,.22),transparent 68%)}
.landing-trailer:after{width:760px;height:760px;right:-310px;bottom:-480px;background:radial-gradient(circle,rgba(89,108,238,.3),transparent 67%)}
.trailer-heading{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.56fr);gap:30px 70px;align-items:end;margin-bottom:34px}
.trailer-heading .eyebrow{grid-column:1/-1;width:max-content;border-color:rgba(132,151,255,.16);background:rgba(105,126,238,.12);color:#aab9ff}
.trailer-heading h2{margin:0;color:#fff;font-size:clamp(2.35rem,4.7vw,4.3rem);line-height:1.01;letter-spacing:-.06em}
.trailer-heading>p{margin:0 0 6px;color:#9faac0;font-size:1rem;line-height:1.7}
.trailer-player{position:relative;z-index:1}
.trailer-screen{position:relative;height:610px;overflow:hidden;border:1px solid rgba(175,192,255,.16);border-radius:30px;background:linear-gradient(145deg,#111e38,#0a152c 56%,#101d37);box-shadow:0 45px 110px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.06);isolation:isolate}
.trailer-screen:after{content:"";position:absolute;inset:0;z-index:20;border-radius:inherit;box-shadow:inset 0 0 90px rgba(1,6,18,.38);pointer-events:none}
.trailer-ambient{position:absolute;inset:0;z-index:-1;overflow:hidden}.trailer-ambient i{position:absolute;border-radius:50%;filter:blur(18px);opacity:.55}.trailer-ambient i:nth-child(1){width:450px;height:450px;left:-150px;top:-220px;background:radial-gradient(circle,#1ba9a0,transparent 66%)}.trailer-ambient i:nth-child(2){width:520px;height:520px;right:-120px;bottom:-280px;background:radial-gradient(circle,#5d69d8,transparent 66%)}.trailer-ambient i:nth-child(3){width:260px;height:260px;left:48%;top:18%;background:radial-gradient(circle,rgba(66,118,223,.33),transparent 68%)}
.trailer-brand{position:absolute;left:30px;right:30px;top:24px;z-index:30;display:flex;align-items:center;gap:10px;color:#fff}.trailer-brand img{width:25px;height:25px;object-fit:contain}.trailer-brand span{font-size:.76rem;font-weight:800}.trailer-brand em{margin-left:auto;color:#77859f;font-size:.64rem;font-style:normal;letter-spacing:.08em;text-transform:uppercase}
.trailer-scene{position:absolute;inset:0;z-index:2;display:grid;grid-template-columns:minmax(0,.86fr) minmax(440px,1.14fr);gap:58px;align-items:center;padding:85px 58px 42px;opacity:0;visibility:hidden;transform:scale(1.025);transition:opacity .65s ease,transform .8s cubic-bezier(.2,.8,.2,1),visibility 0s .7s}.trailer-scene.is-active{z-index:5;opacity:1;visibility:visible;transform:none;transition-delay:0s}
.trailer-scene-copy{position:relative;z-index:2}.trailer-kicker{display:block;margin-bottom:15px;color:#78d8c5;font-size:.66rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.trailer-scene-copy h3{max-width:580px;margin:0;color:#fff;font-size:clamp(2.15rem,4vw,3.75rem);line-height:1.02;letter-spacing:-.058em}.trailer-scene-copy p{max-width:520px;margin:20px 0 0;color:#a9b4c7;font-size:.95rem;line-height:1.75}.trailer-scene.is-active .trailer-kicker,.trailer-scene.is-active .trailer-scene-copy h3,.trailer-scene.is-active .trailer-scene-copy p{animation:trailerCopyIn .7s both}.trailer-scene.is-active .trailer-scene-copy h3{animation-delay:.08s}.trailer-scene.is-active .trailer-scene-copy p{animation-delay:.16s}@keyframes trailerCopyIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.trailer-week,.trailer-scheduler,.trailer-chat,.trailer-changes{border:1px solid rgba(154,176,227,.16);border-radius:23px;background:rgba(245,248,255,.065);box-shadow:0 28px 70px rgba(0,0,0,.25);backdrop-filter:blur(18px)}
.trailer-week{padding:24px}.trailer-week header{display:flex;align-items:center;justify-content:space-between}.trailer-week header strong{font-size:.9rem}.trailer-week header span{color:#67d3ba;font-size:.62rem;font-weight:750}.trailer-days{display:grid;grid-template-columns:repeat(5,1fr);margin:25px 0 9px;padding-left:5px}.trailer-days b{color:#77859f;font-size:.58rem;text-align:center}.trailer-week-grid{position:relative;height:280px;border-radius:16px;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 55px,rgba(176,195,237,.1) 56px),repeating-linear-gradient(to right,transparent 0,transparent calc(20% - 1px),rgba(176,195,237,.08) 20%)}.trailer-week-grid i{position:absolute;width:17%;padding:9px;border-radius:9px;font-size:.58rem;font-style:normal;font-weight:750}.tw-stage{top:8%;height:36%;background:#174e51;color:#70ddc4}.tw-stage.s1{left:1.5%}.tw-stage.s2{left:41.5%}.tw-course{left:21.5%;top:27%;height:23%;background:#353056;color:#c8b9ff}.tw-guard{left:61.5%;top:58%;height:37%;background:#5b2838;color:#ffb3c3}.tw-rest{left:81.5%;top:10%;height:30%;background:#263d64;color:#a9c7ff}.trailer-scene.is-active .trailer-week{animation:trailerPanelIn .85s .12s both}.trailer-scene.is-active .trailer-week-grid i{animation:trailerBlockIn .55s both}.trailer-scene.is-active .tw-stage.s1{animation-delay:.28s}.trailer-scene.is-active .tw-course{animation-delay:.38s}.trailer-scene.is-active .tw-stage.s2{animation-delay:.48s}.trailer-scene.is-active .tw-guard{animation-delay:.58s}.trailer-scene.is-active .tw-rest{animation-delay:.68s}@keyframes trailerPanelIn{from{opacity:0;transform:translateX(38px) rotateY(-4deg)}to{opacity:1;transform:none}}@keyframes trailerBlockIn{from{opacity:0;transform:scale(.75)}to{opacity:1;transform:none}}
.trailer-scheduler{display:grid;grid-template-columns:1fr 36px 1fr;gap:13px;padding:22px}.scheduler-queue>span,.scheduler-day>span{display:block;margin-bottom:12px;color:#7585a2;font-size:.6rem;font-weight:800;text-transform:uppercase}.scheduler-queue article{position:relative;margin-top:8px;padding:12px 12px 12px 49px;border:1px solid rgba(153,175,224,.12);border-radius:12px;background:rgba(255,255,255,.055)}.scheduler-queue article i{position:absolute;left:11px;top:12px;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#273863;color:#aebcff;font-size:.52rem;font-style:normal;font-weight:800}.scheduler-queue strong,.scheduler-queue small{display:block}.scheduler-queue strong{font-size:.66rem}.scheduler-queue small{margin-top:3px;color:#7f8ca4;font-size:.52rem}.scheduler-arrow{align-self:center;color:#6f82bd;font-size:1.3rem;text-align:center}.scheduler-day{position:relative;padding:0 4px}.scheduler-day article{margin-top:9px;padding:15px;border-radius:12px;font-size:.61rem;font-weight:750}.scheduler-day .locked{background:#184a4b;color:#78d8c5}.scheduler-day .placed{border:1px solid #5168bb;background:#1b2c54;color:#c3ceff}.trailer-scene.is-active .trailer-scheduler{animation:trailerPanelIn .8s .1s both}.trailer-scene.is-active .scheduler-queue article{animation:queueAway 2.6s .5s both}.trailer-scene.is-active .scheduler-queue article:nth-child(3){animation-delay:.75s}.trailer-scene.is-active .scheduler-queue article:nth-child(4){animation-delay:1s}.trailer-scene.is-active .scheduler-day .placed{animation:slotPlaced .6s 1.45s both}.trailer-scene.is-active .scheduler-day .p2{animation-delay:1.75s}@keyframes queueAway{0%,45%{opacity:1;transform:none}70%,100%{opacity:.38;transform:translateX(8px)}}@keyframes slotPlaced{from{opacity:0;transform:translateX(-25px)}to{opacity:1;transform:none}}
.trailer-chat{padding:28px;display:flex;min-height:330px;flex-direction:column;justify-content:center;gap:18px}.tc-user{align-self:flex-end;max-width:82%;padding:14px 17px;border-radius:18px 18px 5px 18px;background:linear-gradient(135deg,#5475e9,#7965dc);font-size:.78rem;font-weight:650;box-shadow:0 12px 30px rgba(42,57,145,.25)}.tc-thinking{align-self:flex-start;padding:13px 15px;display:flex;align-items:center;gap:5px;border-radius:6px 16px 16px;background:rgba(255,255,255,.07)}.tc-thinking span{width:6px;height:6px;border-radius:50%;background:#8da0c7;animation:thinkingDot 1s infinite}.tc-thinking span:nth-child(2){animation-delay:.15s}.tc-thinking span:nth-child(3){animation-delay:.3s}.tc-thinking em{margin-left:7px;color:#8592aa;font-size:.58rem;font-style:normal}.tc-result{padding:15px;display:flex;gap:12px;align-items:center;border:1px solid rgba(68,200,170,.25);border-radius:14px;background:rgba(30,145,124,.12)}.tc-result>i{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#39b99e;color:#fff;font-style:normal}.tc-result strong,.tc-result small{display:block}.tc-result strong{font-size:.7rem}.tc-result small{margin-top:3px;color:#86a99f;font-size:.57rem}.trailer-scene.is-active .tc-user{animation:chatInRight .55s .3s both}.trailer-scene.is-active .tc-thinking{animation:chatInLeft .55s 1s both}.trailer-scene.is-active .tc-result{animation:chatInLeft .55s 2.1s both}@keyframes thinkingDot{50%{transform:translateY(-4px);background:#b6c5e4}}@keyframes chatInRight{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}@keyframes chatInLeft{from{opacity:0;transform:translateX(-25px)}to{opacity:1;transform:none}}
.trailer-changes{padding:22px}.trailer-changes header{display:flex;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid rgba(160,181,227,.12)}.trailer-changes header span{color:#62d0b7;font-size:.64rem;font-weight:800}.trailer-changes header strong{font-size:.68rem}.trailer-changes article{margin-top:10px;padding:12px;display:grid;grid-template-columns:28px 1fr auto 1fr;gap:10px;align-items:center;border-radius:12px;background:rgba(255,255,255,.055)}.trailer-changes article>i{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#24355d;color:#aebfff;font-size:.56rem;font-style:normal;font-weight:800}.trailer-changes article strong,.trailer-changes article small{display:block}.trailer-changes article strong{font-size:.62rem}.trailer-changes article small{margin-top:3px;color:#7e8ca5;font-size:.52rem}.trailer-changes article>b{color:#69799c}.trailer-changes .new-slot{padding:8px;border-radius:9px;background:#173c3c}.trailer-changes .new-slot strong{color:#73d8c2}.trailer-changes button{width:100%;margin-top:13px;padding:12px;border:0;border-radius:11px;background:linear-gradient(135deg,#5676e8,#7567df);color:#fff;font-size:.66rem;font-weight:800}.trailer-scene.is-active .trailer-changes{animation:trailerPanelIn .75s .08s both}.trailer-scene.is-active .trailer-changes article{animation:changeIn .5s .55s both}.trailer-scene.is-active .trailer-changes article:nth-child(3){animation-delay:.85s}.trailer-scene.is-active .trailer-changes button{animation:changeIn .5s 1.25s both}@keyframes changeIn{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:none}}
.trailer-finale{grid-template-columns:1fr;place-items:center;text-align:center}.trailer-finale>img{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(33,189,197,.18))}.trailer-finale>span{margin-top:-28px;color:#8b9ab5;font-size:.68rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.trailer-finale h3{margin:-20px 0 0;color:#fff;font-size:clamp(2.7rem,6vw,5.6rem);line-height:.98;letter-spacing:-.07em}.trailer-finale p{margin:-25px 0 0;color:#95a4bd}.trailer-finale a{margin-top:-22px;padding:14px 20px;border-radius:13px;background:#fff;color:#17233e;font-size:.75rem;font-weight:800;box-shadow:0 17px 35px rgba(0,0,0,.24)}.trailer-finale a b{margin-left:12px}.trailer-scene.is-active.trailer-finale>*{animation:finaleIn .7s both}.trailer-scene.is-active.trailer-finale>span{animation-delay:.12s}.trailer-scene.is-active.trailer-finale h3{animation-delay:.22s}.trailer-scene.is-active.trailer-finale p{animation-delay:.32s}.trailer-scene.is-active.trailer-finale a{animation-delay:.42s}@keyframes finaleIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.trailer-controls{height:58px;display:flex;align-items:center;gap:12px;color:#75839c}.trailer-control-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(142,161,207,.2);border-radius:10px;background:#121e35;color:#fff;cursor:pointer}.trailer-control-button [data-play]{display:none;font-size:.65rem}.trailer-player.is-paused .trailer-control-button [data-play]{display:block}.trailer-player.is-paused .trailer-control-button [data-pause]{display:none}.trailer-progress{height:4px;flex:1;overflow:hidden;border-radius:99px;background:#253149}.trailer-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#50cdb4,#6576eb)}.trailer-controls time,.trailer-controls>span{font-size:.62rem;font-variant-numeric:tabular-nums}.trailer-replay{padding:7px 10px;border:0;background:transparent;color:#a3afc3;font-size:.65rem;font-weight:750;cursor:pointer}.trailer-chapters{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.trailer-chapters button{padding:9px 3px;display:grid;grid-template-columns:7px auto;gap:7px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;background:transparent;color:#64728b;font-size:.58rem;font-weight:700;cursor:pointer}.trailer-chapters button i{width:6px;height:6px;border-radius:50%;background:#34415a}.trailer-chapters button.is-current{border-color:rgba(103,124,220,.17);background:#111d34;color:#b9c5da}.trailer-chapters button.is-current i{background:#57cbb4;box-shadow:0 0 0 4px rgba(87,203,180,.1)}
@media(max-width:900px){.trailer-heading{grid-template-columns:1fr}.trailer-heading .eyebrow{grid-column:1}.trailer-heading>p{max-width:660px}.trailer-screen{height:700px}.trailer-scene{grid-template-columns:1fr;gap:28px;padding:82px 34px 34px}.trailer-scene-copy h3{font-size:2.7rem}.trailer-scene-copy p{margin-top:12px}.trailer-week-grid{height:220px}.trailer-finale{gap:34px}.trailer-finale>span,.trailer-finale h3,.trailer-finale p,.trailer-finale a{margin:0}}
@media(max-width:600px){.landing-trailer{padding:68px 0 72px}.trailer-heading{gap:12px;margin-bottom:24px}.trailer-heading h2{font-size:2.55rem}.trailer-screen{height:690px;border-radius:22px}.trailer-brand{left:19px;right:19px;top:18px}.trailer-brand em{display:none}.trailer-scene{gap:22px;padding:72px 18px 24px}.trailer-scene-copy h3{font-size:2.15rem}.trailer-scene-copy p{font-size:.82rem;line-height:1.58}.trailer-week{padding:15px}.trailer-week-grid{height:210px}.trailer-scheduler{grid-template-columns:1fr 20px 1fr;padding:12px;gap:5px}.scheduler-queue article{padding:10px}.scheduler-queue article i,.scheduler-queue small{display:none}.scheduler-day article{padding:11px 7px}.trailer-chat{min-height:290px;padding:17px}.trailer-changes{padding:13px}.trailer-changes article{grid-template-columns:24px 1fr auto 1fr;gap:6px;padding:9px}.trailer-changes article>i{width:23px;height:23px}.trailer-finale h3{font-size:3rem}.trailer-chapters button{grid-template-columns:1fr}.trailer-chapters button i{justify-self:center}.trailer-chapters button span{display:none}.trailer-controls{gap:8px}.trailer-controls>span{display:none}}
@media(prefers-reduced-motion:reduce){.trailer-scene,.trailer-scene *{animation:none!important;transition:none!important}.trailer-ambient{display:none}}

/* Aurora clair : la section reste dans le flux blanc, la lumière vit dans l’écran. */
.landing-trailer{background:#fff;color:var(--ink);border:0}
.landing-trailer>.trailer-heading{display:none}
.landing-trailer:before{width:520px;height:520px;left:-310px;top:80px;background:radial-gradient(circle,rgba(79,114,232,.07),transparent 70%)}
.landing-trailer:after{width:520px;height:520px;right:-330px;bottom:20px;background:radial-gradient(circle,rgba(18,169,141,.065),transparent 70%)}
.trailer-heading .eyebrow{border-color:transparent;background:rgba(79,114,232,.09);color:var(--primary-d)}
.trailer-heading h2{color:var(--ink)}
.trailer-heading>p{color:var(--body)}
.trailer-screen{border-color:var(--line);border-radius:22px;background:linear-gradient(145deg,#fff 0%,#f8faff 58%,#f5fbfa 100%);box-shadow:var(--shadow),inset 0 1px #fff}
.trailer-screen:after{box-shadow:inset 0 0 64px rgba(79,114,232,.025)}
.trailer-ambient i{opacity:.24;filter:blur(42px)}
.trailer-ambient i:nth-child(1){width:390px;height:390px;left:-190px;top:-210px;background:radial-gradient(circle,rgba(18,169,141,.27),transparent 68%)}
.trailer-ambient i:nth-child(2){width:460px;height:460px;right:-210px;bottom:-290px;background:radial-gradient(circle,rgba(79,114,232,.24),transparent 68%)}
.trailer-ambient i:nth-child(3){width:220px;height:220px;left:50%;top:25%;background:radial-gradient(circle,rgba(109,92,240,.1),transparent 70%)}
.trailer-brand{color:#22304b}.trailer-brand em{color:#8b97aa}
.trailer-kicker{color:#29967e}
.trailer-scene-copy h3,.trailer-finale h3{color:#111c35}
.trailer-scene-copy p,.trailer-finale p{color:#6f7d94}
.trailer-week,.trailer-scheduler,.trailer-chat,.trailer-changes{border-color:var(--line);background:rgba(255,255,255,.9);box-shadow:var(--shadow-sm)}
.trailer-week header strong{color:#26344e}.trailer-week header span{color:#288e78}
.trailer-days b,.scheduler-queue>span,.scheduler-day>span{color:#8793a7}
.trailer-week-grid{background:repeating-linear-gradient(to bottom,rgba(91,111,163,.025) 0,rgba(91,111,163,.025) 55px,rgba(91,111,163,.1) 56px),repeating-linear-gradient(to right,transparent 0,transparent calc(20% - 1px),rgba(91,111,163,.08) 20%)}
.tw-stage{background:#dff6f0;color:#258d77}.tw-course{background:#eee9ff;color:#7053b5}.tw-guard{background:#ffe6ea;color:#bb5868}.tw-rest{background:#e5edff;color:#5570d4}
.scheduler-queue article{border-color:#e3e8f3;background:#f8faff}.scheduler-queue article i{background:#e5ebff;color:#5871d6}.scheduler-queue strong,.scheduler-day article{color:#27354f}.scheduler-queue small{color:#8995a8}.scheduler-day .locked{background:#dff6f0;color:#258d77}.scheduler-day .placed{border-color:#aebdf2;background:#edf1ff;color:#516bd0}.scheduler-arrow{color:#8292bc}
.tc-user{box-shadow:0 12px 30px rgba(70,88,180,.17)}.tc-thinking{border:1px solid #e1e6f1;background:#fff}.tc-thinking span{background:#8190aa}.tc-thinking em{color:#7a879d}.tc-result{border-color:rgba(57,185,158,.24);background:#ecfaf6}.tc-result strong{color:#24324b}.tc-result small{color:#5f8f83}
.trailer-changes header{border-color:#e2e7f1}.trailer-changes header span{color:#278f79}.trailer-changes header strong{color:#34425b}.trailer-changes article{background:#f7f9fd}.trailer-changes article>i{background:#e5ebff;color:#5871d6}.trailer-changes article strong{color:#26344d}.trailer-changes article small{color:#8793a7}.trailer-changes article>b{color:#8190aa}.trailer-changes .new-slot{background:#e4f7f2}.trailer-changes .new-slot strong{color:#278f79}
.trailer-finale>span{color:#78869c}.trailer-finale a{background:var(--primary);color:#fff;box-shadow:0 10px 24px rgba(79,114,232,.28)}
.trailer-controls{color:#7e8a9f}.trailer-control-button{border-color:var(--line);background:#fff;color:var(--ink);box-shadow:var(--shadow-sm)}.trailer-progress{background:#e7ecf6}.trailer-replay{color:var(--body)}.trailer-chapters button{color:var(--muted)}.trailer-chapters button i{background:#b8c3d6}.trailer-chapters button.is-current{border-color:var(--line);background:var(--bg-soft);color:var(--ink)}.trailer-chapters button.is-current i{background:var(--teal);box-shadow:0 0 0 4px rgba(18,169,141,.1)}
