:root{color-scheme:light;--green:#1f4038;--sand:#fcf6e8;--gold:#edc875;--muted:#617367}*{box-sizing:border-box}body{margin:0;background:var(--sand);color:var(--green);font:16px/1.5 system-ui,-apple-system,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}.welcome-shell{position:relative;isolation:isolate;max-width:520px;min-height:100svh;margin:auto;padding:max(18px,env(safe-area-inset-top)) 24px max(20px,env(safe-area-inset-bottom));overflow:hidden}.welcome-shell:before,.welcome-shell:after{content:'';position:absolute;z-index:-1;width:160px;height:60px;background:#416d4e14;border-radius:100% 0 100% 0;transform:rotate(-35deg);pointer-events:none}.welcome-shell:before{top:55px;right:-95px;box-shadow:-20px 48px 0 #416d4e0c}.welcome-shell:after{bottom:20px;left:-90px;transform:rotate(25deg);box-shadow:20px -45px 0 #416d4e0b}nav{display:flex;justify-content:space-between;align-items:center;min-height:46px;margin-bottom:22px;gap:8px}#steps{font-size:13px;color:var(--muted);margin:auto}section{text-align:center;animation:appear .2s ease-out}h1{font-size:clamp(27px,7vw,35px);line-height:1.17;letter-spacing:-.8px;margin:18px 0 14px}h2{font-size:19px;line-height:1.25}p{color:var(--muted);margin:12px 0 24px}button.primary,button.secondary{width:100%;min-height:52px;border-radius:18px;padding:14px 18px;margin:8px 0;border:1px solid var(--green);font-weight:650}.primary{background:var(--green);color:white}.secondary{background:#fffaf1;color:var(--green)}.primary:hover{background:#2d5748}.text-button,.inline{background:none;border:0;color:var(--green);padding:12px 4px;min-height:44px}.inline{text-decoration:underline;text-underline-offset:4px;font-weight:600}.official-logo{display:block;width:min(100%,320px);aspect-ratio:1;object-fit:contain;margin:0 auto 12px;mix-blend-mode:multiply}.official-logo.small{max-width:200px}.intro{font-size:19px;max-width:340px;margin:0 auto 30px}.islands{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0 14px}.island{background:#fffcf5;border:2px solid #e6e5d5;border-radius:23px;min-height:185px;padding:18px 10px;color:var(--green);display:flex;flex-direction:column;align-items:center;gap:10px}.island[aria-pressed=true]{border-color:var(--green);background:#e9f0e6;box-shadow:0 0 0 2px #1f403810}.island-art{font-size:44px;display:grid;place-items:center;min-height:70px;width:100%;border-radius:40% 60% 30% 50%;background:linear-gradient(150deg,#e3ead1,#efe0ad)}small{font-size:13px;font-weight:400}.both{grid-column:1/-1;min-height:105px;gap:4px}.features{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:30px 0}.features article{background:#fffdf8;border:1px solid #e9e6d8;border-radius:22px;padding:23px 12px;box-shadow:0 4px 12px #203f3705}.features article>span{font-size:34px;display:block;height:50px}.features h2{font-size:17px;margin:8px 0}.features p{font-size:14px;margin:0}.benefits{padding:12px 24px;list-style:none;text-align:left;background:#fffdf8;border:1px solid #e9e6d8;border-radius:24px;margin:34px 0}.benefits li{padding:18px 0;border-bottom:1px solid #eee6d3}.benefits li:last-child{border:0}.benefits li:before{content:'✓';margin-right:12px;color:#376e53;font-weight:700}form{text-align:left;margin-top:30px}label{display:block;font-weight:600;font-size:14px;margin-bottom:18px}input{width:100%;min-height:52px;padding:13px 14px;border:1px solid #cdd6c9;border-radius:13px;background:#fffefa;color:var(--green);margin-top:6px;font-size:16px}input:focus{border-color:var(--green);outline:2px solid #d4b969;outline-offset:2px}.password{position:relative}.password input{padding-right:66px}.reveal{position:absolute;right:4px;top:9px;border:0;background:transparent;color:var(--green);min-width:58px;min-height:46px;font-size:13px}.hint{font-size:13px;margin:12px 0 20px}.forgot{display:block;margin-left:auto}.status:empty{display:none}.status{padding:15px;background:#eef1e5;border:1px solid #cdd6c9;border-radius:14px;font-size:14px}.status[data-error=true]{color:#852f25;background:#fff0e7}a{color:var(--green)}footer{display:flex;justify-content:center;gap:9px;font-size:12px;flex-wrap:wrap;margin-top:25px}footer a{padding:10px 0}button:focus-visible,a:focus-visible{outline:3px solid #bc903c;outline-offset:4px}.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}@keyframes appear{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){section{animation:none}}@media(max-width:350px){.welcome-shell{padding-left:16px;padding-right:16px}.features{gap:9px}.features article{padding:18px 8px}}@media(min-width:700px){body{background:#f2eddf}.welcome-shell{margin:32px auto;min-height:calc(100svh - 64px);border:1px solid #e4dfd1;border-radius:30px;background:var(--sand);padding:24px 36px;box-shadow:0 15px 60px #223f3710}}
/* Composition d’accueil : sable, botanique légère et commandes accessibles. */
.welcome-shell{background:radial-gradient(ellipse at 80% 15%,#f7e7bc80,transparent 55%),var(--sand);padding-bottom:max(30px,env(safe-area-inset-bottom))}
.welcome-shell:before,.welcome-shell:after{width:190px;height:210px;background:url('assets/accueil-feuillage.svg') center/contain no-repeat;border-radius:0;box-shadow:none;opacity:.35}
.welcome-shell:before{top:-90px;right:-65px;transform:rotate(175deg)}
.welcome-shell:after{bottom:-65px;left:-65px;transform:rotate(12deg);opacity:.45}
.welcome-shell nav{position:relative;z-index:1;margin-bottom:12px}
.welcome-shell section{position:relative;z-index:1}
.welcome-shell h1{font-weight:780;letter-spacing:-1px}
.welcome-shell .primary,.welcome-shell .secondary{border-radius:999px;min-height:54px;box-shadow:0 5px 15px #1f40380b}
.welcome-shell .primary{background:linear-gradient(110deg,#123e34,#21604c)}
.welcome-shell .secondary{background:#fffaf0cc}
.welcome-shell .hero{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - 160px)}
.welcome-shell .hero .official-logo{width:min(88%,310px);margin:0 auto 20px}
.welcome-shell .hero .intro{font-size:18px;max-width:310px;line-height:1.6;margin-bottom:34px}
.welcome-shell .hero>p:last-child{margin-bottom:0}
.welcome-shell .islands{gap:12px;margin-top:24px}
.welcome-shell .island{overflow:hidden;padding:0 0 17px;gap:8px;border:1px solid #dedbc8;background:#fffaf0;box-shadow:0 5px 18px #634b2010}
.welcome-shell .island-art{min-height:125px;border-radius:0;background:radial-gradient(ellipse at bottom,#e0cf8b 0,transparent 65%),linear-gradient(160deg,#c5dfcf,#eef2d6);font-size:48px}
.welcome-shell .island strong{font-size:18px}
.welcome-shell .island[aria-pressed=true]{outline:3px solid #285b48;outline-offset:2px}
.welcome-shell .island.both{padding:17px 16px;min-height:100px;background:#fffaf0e8}
.welcome-shell .features{gap:12px;margin:24px 0}
.welcome-shell .features article{background:#fffaf0e8;border-color:#ece0c7;box-shadow:0 6px 16px #80632c0a;padding:22px 10px}
.welcome-shell .features article>span{display:grid;place-items:center;width:66px;height:66px;margin:auto;border-radius:50%;background:#e8eddb;color:#205640}
.welcome-shell .benefits{background:#fffaf0ed;border-color:#e9ddc4;padding:10px 23px;box-shadow:0 8px 24px #80632c0a}
.welcome-shell form{margin-top:26px}
.welcome-shell input{background:#fffffff0;border-color:#e3dece;border-radius:12px;box-shadow:0 2px 7px #634b2005}
.welcome-shell footer{position:relative;z-index:1}
@media(max-width:360px){.welcome-shell .hero .official-logo{max-width:235px}.welcome-shell .island-art{min-height:95px}.welcome-shell .features article{padding:17px 8px}}
.welcome-shell a.reset-open-app{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:64px;padding:17px 22px;margin:24px 0 12px;border:1px solid var(--green);font-weight:650;line-height:1.35;text-decoration:none;white-space:normal}
.welcome-shell a.reset-open-app>span{flex:none;font-size:22px}
