@font-face{font-family:Sora;font-weight:400 800;font-display:swap;src:url(assets/Sora-500-latin.woff2) format("woff2")}
:root{--nuit:#010b2e;--marine:#021955;--haut:#0a2468;--eau:#80d0d8;--clair:#f3f7ff;--doux:#c5d2ec;--gris:#9fb1d6;--encre:#010b2e;--blanc:#fdfeff;--out:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--nuit);color-scheme:dark}
body{background:var(--nuit);color:var(--clair);font:450 18px/1.55 Sora,system-ui,sans-serif;overflow-x:hidden}
[hidden]{display:none!important}.nb{white-space:nowrap}
h1,h2,legend{font-weight:700;letter-spacing:-.04em;line-height:1.04;text-wrap:balance}
em{font-style:normal;color:var(--eau)}
:focus-visible{outline:3px solid var(--eau);outline-offset:4px}
.btn{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;max-width:420px;margin:0 auto;padding:21px 28px;border:0;border-radius:16px;background:var(--eau);color:var(--encre);font:650 19px/1.2 Sora,system-ui,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 14px 44px -14px rgba(128,208,216,.55),inset 0 1px 0 rgba(253,254,255,.55);transition:transform .4s var(--out),background-color .25s}
.btn svg{width:21px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s var(--out)}
.btn:hover{background:#97dde4}.btn:hover svg{transform:translateY(3px)}.btn:active{transform:scale(.975)}.btn[disabled]{opacity:.55;cursor:default}

/* Premier écran */
.hero{position:relative;isolation:isolate;min-height:100svh;padding:max(20px,env(safe-area-inset-top)) 20px 22px;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden;background:radial-gradient(90% 55% at 50% 62%,#06237a 0,rgba(2,25,85,.55) 42%,transparent 78%),var(--nuit)}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:22%;background:linear-gradient(transparent,var(--nuit));z-index:-1}
.hero .pic{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.pic path{stroke:rgba(128,208,216,.13);stroke-width:1.4}
.pic .eclat path{stroke:var(--eau);stroke-width:2;stroke-dasharray:7 93;opacity:.75;animation:monte 9s linear infinite}
.pic .eclat path:nth-child(2){animation-delay:-3.2s;animation-duration:8s}.pic .eclat path:nth-child(3){animation-delay:-5.5s;animation-duration:7s}
@keyframes monte{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.logo{height:26px;width:auto;margin-bottom:18px}
.texte{display:contents}
.hero h1{font-size:clamp(35px,10vw,46px);max-width:14ch;animation:leve .9s var(--out) both}
.sub{margin-top:12px;color:var(--doux);font-size:clamp(15.5px,4.2vw,19px);line-height:1.45;max-width:34ch;text-wrap:balance;animation:leve .9s .08s var(--out) both}
.scene{position:relative;flex:1 1 0;min-height:300px;width:100%;max-height:600px;margin:20px 0;display:flex;justify-content:center;perspective:1200px;order:1;animation:leve 1.1s .16s var(--out) both}
.hero .btn{order:2;animation:leve .9s .26s var(--out) both}
@keyframes leve{from{opacity:0;transform:translateY(26px)}}
.cadre{position:relative;height:100%;max-width:100%;aspect-ratio:4/5;padding:7px;border-radius:32px;background:linear-gradient(160deg,rgba(128,208,216,.85),rgba(128,208,216,.16) 38%,rgba(128,208,216,.1) 62%,rgba(128,208,216,.6));box-shadow:0 40px 90px -30px rgba(0,3,20,.95);transition:transform .7s var(--out);will-change:transform}
.halo{position:absolute;inset:6% 4%;background:radial-gradient(closest-side,rgba(128,208,216,.42),rgba(43,86,190,.28) 55%,transparent);transform:scale(1.5);animation:souffle 6s ease-in-out infinite alternate;pointer-events:none}
@keyframes souffle{from{opacity:.55}to{opacity:1}}
.video{position:relative;width:100%;height:100%;border-radius:26px;overflow:hidden;background:var(--nuit)}
.video video{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}
.play{position:absolute;left:0;right:0;bottom:9%;margin:auto;width:86px;height:86px;border:0;border-radius:50%;background:var(--eau);cursor:pointer;display:grid;place-items:center;box-shadow:0 12px 40px rgba(1,11,46,.6);transition:transform .4s var(--out)}
.play::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--eau);animation:onde 2.6s var(--out) infinite}
@keyframes onde{from{transform:scale(1);opacity:.9}to{transform:scale(1.6);opacity:0}}
.play:hover{transform:scale(1.07)}.play svg{width:40px;fill:var(--encre);margin-left:4px}
.bientot{position:absolute;left:16px;right:16px;top:16px;padding:14px;border-radius:14px;background:var(--blanc);color:var(--encre);font-weight:600;font-size:15px}
.avancee{position:absolute;left:0;right:0;bottom:0;height:5px;background:rgba(243,247,255,.2);pointer-events:none;opacity:0;transition:opacity .3s}.lu .avancee{opacity:1}.avancee i{display:block;height:100%;background:var(--eau);transform:scaleX(0);transform-origin:left}
.apres{position:absolute;inset:0;margin:auto;height:64px;width:210px;display:grid;place-items:center;border-radius:16px;background:var(--eau);color:var(--encre);font-weight:650;text-decoration:none}

/* Message */
.kit,.plan{max-width:1120px;margin:auto;padding:clamp(76px,11vw,150px) 20px}
.kit h2,.plan h2,.fin h2{font-size:clamp(38px,9vw,64px)}
.chapo{color:var(--doux);margin:14px 0 34px}
label:not(.depot){display:block;font-weight:600;font-size:16px;margin-bottom:20px}
input:not([type=file]),textarea{display:block;width:100%;margin-top:9px;padding:17px 18px;border:1.5px solid #2b4385;border-radius:14px;background:#04143f;color:var(--clair);font:450 18px/1.45 Sora,system-ui,sans-serif;resize:none;transition:border-color .2s}
input::placeholder,textarea::placeholder{color:#8296c4;opacity:1}
input:focus,textarea:focus{outline:0;border-color:var(--eau)}
.aide{color:var(--gris);font-size:14.5px;line-height:1.5;margin-top:-8px}
.conv{margin-top:36px;background:var(--blanc);color:var(--encre);border-radius:30px;padding:20px;box-shadow:0 50px 100px -40px rgba(0,3,20,.9)}
.conv-t{display:flex;align-items:center;gap:13px;padding:2px 4px 18px;font-size:17px}.conv-t b{font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conv-t i{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--eau);font-style:normal;font-weight:700}
.bulle{background:var(--marine);color:var(--clair);border-radius:24px 24px 6px 24px;padding:20px;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.bulle p+p{margin-top:13px}.bulle p+.saut{margin-top:26px}.ed{border-radius:8px;outline:0;cursor:text;transition:background-color .2s}.ed:hover,.ed:focus{background:#0d2c7c;box-shadow:0 0 0 6px #0d2c7c}
mark{background:rgba(128,208,216,.17);color:var(--eau);font-weight:600;padding:2px 7px;border-radius:7px}mark.ok{background:none;padding:0;color:inherit;font-weight:inherit}
.note{color:#5d6b8c;font-size:14px;line-height:1.45;margin:14px 4px 20px}
.conv .btn{max-width:none;box-shadow:none}.etat{min-height:24px;margin-top:10px;text-align:center;font-weight:600;font-size:15.5px;color:#02657a}

/* Étapes : une montée */
.plan ol{list-style:none;padding:0;margin-top:52px;counter-reset:n}
.plan li{counter-increment:n;position:relative;padding:0 0 46px 76px}
.plan li::before{content:counter(n);position:absolute;left:0;top:-6px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--nuit);border:2px solid var(--eau);color:var(--eau);font-weight:700;z-index:1}
.plan li:not(:last-child)::after{content:"";position:absolute;left:23px;top:42px;bottom:6px;width:2px;background:rgba(128,208,216,.35)}
.plan li:last-child{padding-bottom:0}.plan li:last-child::before{background:var(--eau);color:var(--encre)}
.plan h3{font-weight:650;font-size:23px;line-height:1.2;letter-spacing:-.025em;text-wrap:balance}.plan li p{color:var(--doux);margin-top:11px;max-width:42ch;font-size:17px}

.fin{position:relative;padding:clamp(90px,13vw,170px) 20px;text-align:center;background:radial-gradient(60% 50% at 50% 50%,#06237a,transparent)}
.fin h2{max-width:14ch;margin:0 auto 36px}.dm{display:inline-block;margin-top:20px;padding:12px;color:var(--eau);font-weight:600}
footer{display:flex;justify-content:space-between;align-items:center;padding:20px;max-width:1120px;margin:auto}footer img{height:24px;width:auto}footer a{color:var(--gris);font-size:14px;padding:14px 0}

/* Formulaire */
.flux{min-height:100svh;max-width:640px;margin:auto;padding:20px;display:flex;flex-direction:column}
.flux header{display:flex;align-items:center;gap:16px;font-size:15px;color:var(--gris)}
#retour{width:48px;height:48px;margin-left:-12px;border:0;background:none;cursor:pointer;border-radius:50%}#retour svg{width:26px;fill:none;stroke:var(--clair);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.jauge{flex:1;height:5px;border-radius:3px;background:#17306f;overflow:hidden}.jauge i{display:block;height:100%;background:var(--eau);transform-origin:left;transform:scaleX(.25);transition:transform .6s var(--out)}
#f{flex:1;display:flex;flex-direction:column;padding-top:clamp(32px,9vh,90px);position:relative}
fieldset{border:0;padding:0;min-width:0;animation:leve .6s var(--out)}
legend{padding:0;font-size:clamp(30px,7.8vw,44px);margin-bottom:30px;outline:0}
.depot{display:grid;place-items:center;position:relative;min-height:230px;border:1.5px dashed var(--eau);border-radius:22px;background:#04143f;font-weight:600;cursor:pointer;overflow:hidden;padding:14px}.depot input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.depot img{max-width:100%;max-height:300px;border-radius:12px}.depot:focus-within{outline:3px solid var(--eau);outline-offset:3px}
input[type=datetime-local]{min-height:62px;-webkit-appearance:none;appearance:none}
.rgpd{font-size:14px;color:var(--gris)}.err{min-height:28px;margin:14px 0;color:#ffb3a7;font-weight:600;font-size:16px}
#suite{margin-top:auto;max-width:none;margin-bottom:env(safe-area-inset-bottom)}
.pot{position:absolute!important;left:-9999px;width:1px!important}.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.bilan{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}.bilan h1{font-size:clamp(42px,11vw,64px);outline:0}.bilan p{color:var(--doux);margin:18px auto 36px;max-width:32ch}

@media(min-width:1000px){
.hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;column-gap:clamp(40px,5vw,90px);height:100svh;min-height:620px;max-height:1080px;padding:0 max(48px,calc((100vw - 1240px)/2));text-align:left;background:radial-gradient(48% 74% at 72% 52%,#06237a 0,rgba(2,25,85,.6) 46%,transparent 80%),var(--nuit)}
.logo{position:absolute;top:36px;left:max(48px,calc((100vw - 1240px)/2));height:34px;margin:0}
.texte{display:block}.hero h1{font-size:clamp(62px,6.5vw,98px);max-width:9ch}.sub{font-size:21px;margin:26px 0 38px;max-width:30ch;text-wrap:pretty}.hero .btn{margin:0;width:auto;max-width:none;display:inline-flex;padding:24px 34px}
.scene{height:calc(100% - 96px);max-height:800px;margin:0;align-items:center}.cadre{height:auto;width:min(100%,calc((100svh - 96px)*.8));max-height:100%}
.kit{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.conv{margin:0;padding:26px}
.plan ol{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:30px;position:relative;padding-top:20px}
.plan li{padding:76px 0 0!important}.plan li:nth-child(1){margin-top:210px}.plan li:nth-child(2){margin-top:140px}.plan li:nth-child(3){margin-top:70px}
.plan li::before{top:0}.plan li:not(:last-child)::after{left:48px;right:auto;top:24px;bottom:auto;height:2px;width:calc(100% - 18px);transform-origin:left center;transform:rotate(-15.6deg)}
.plan li{min-width:0}.plan h2{max-width:13ch}.plan h3{font-size:22px}
}
@media(max-height:600px) and (max-width:999px){.hero{min-height:0}}
