:root{--ink:#15201c;--green:#174f3a;--mint:#d9f3e8;--lime:#c9f65a;--paper:#f6f8f3;--line:#dce4dc;--muted:#68756e}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Inter,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:5}.brand{display:flex;gap:10px;align-items:center;font-weight:900;letter-spacing:.08em;text-decoration:none;color:var(--ink)}.brand span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--green);color:var(--lime)}nav{display:flex;gap:8px}nav button{border:0;background:none;padding:10px 14px;color:#405047}.head-actions{display:flex;gap:10px}.primary{background:var(--green);color:#fff;border:0;border-radius:8px;padding:11px 18px;font-weight:750}.secondary{background:white;border:1px solid #aab7ae;border-radius:8px;padding:11px 18px;font-weight:700}select,input,textarea{border:1px solid #cbd5ce;border-radius:8px;padding:11px;background:#fff}main{min-height:75vh}.page{display:none;max-width:1200px;margin:auto;padding:64px 5vw}.page.active{display:block}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding:30px 0 65px}.eyebrow,.section-head span{font-size:.78rem;letter-spacing:.2em;color:var(--green);font-weight:800}.hero h1{font:800 clamp(3rem,7vw,6rem)/.95 Georgia,serif;margin:20px 0}.hero h1 em{color:var(--green);font-weight:400}.hero>div>p{max-width:640px;color:var(--muted);font-size:1.15rem}.hero-actions{display:flex;gap:12px;margin:28px 0}.trust{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:.88rem}.trust b{color:var(--green)}.ai-card{background:var(--green);color:#fff;border-radius:24px;padding:28px;box-shadow:18px 18px 0 var(--mint)}.orb{display:grid;place-items:center;width:62px;height:62px;background:var(--lime);color:var(--green);border-radius:50%;font-size:28px;float:right}.ai-card small{display:block;color:#b8d2c8}.ai-messages{min-height:190px;max-height:300px;overflow:auto;padding:20px 0}.ai-messages p{background:#28634e;padding:12px;border-radius:10px;white-space:pre-wrap}.ai-card form,.chatbox form{display:flex;gap:8px}.ai-card input{flex:1;background:#fff}.ai-card form button{border:0;border-radius:8px;background:var(--lime);font-weight:800}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.features article,.cards article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.features i{color:var(--green);font-weight:800}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-head h2{font:700 clamp(2rem,5vw,3.8rem) Georgia;margin:6px 0}.filters{display:flex;gap:12px;margin-bottom:20px}.filters input{flex:1}.list{display:grid;gap:10px}.topic{background:#fff;border:1px solid var(--line);padding:18px;border-radius:12px;display:grid;grid-template-columns:1fr auto;cursor:pointer}.topic h3{margin:0 0 5px}.meta{color:var(--muted);font-size:.86rem}.tag{display:inline-block;background:var(--mint);color:var(--green);padding:4px 9px;border-radius:99px;font-size:.78rem}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards h3{font:700 1.4rem Georgia;margin:12px 0}.cards p{color:var(--muted)}.chatbox{max-width:800px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.chatbox #chatList{height:420px;overflow:auto}.chat-message{padding:10px;border-bottom:1px solid var(--line)}.chat-message b{color:var(--green)}.chatbox input{flex:1}dialog{border:0;border-radius:18px;padding:30px;max-width:620px;width:90%;box-shadow:0 25px 80px #0003}dialog::backdrop{background:#10251dbb}.close{float:right;border:0;background:none;font-size:28px}.form{display:grid;gap:12px}.form textarea{min-height:130px}.form h2{font-family:Georgia;margin:0}.reply{padding:14px 0;border-top:1px solid var(--line)}#toast{position:fixed;bottom:25px;right:25px;background:#15201c;color:#fff;padding:12px 18px;border-radius:8px;display:none;z-index:20}footer{background:#102d22;color:#dcebe5;text-align:center;padding:45px}.auth-only{display:none}@media(max-width:800px){header{height:auto;padding:12px 4%;flex-wrap:wrap}.brand{order:1}nav{order:3;width:100%;overflow:auto;justify-content:space-between}.head-actions{order:2}.hero{grid-template-columns:1fr;gap:30px}.features,.cards{grid-template-columns:1fr}.page{padding:40px 5vw}.section-head{align-items:start;gap:15px}.section-head h2{font-size:2.3rem}.trust{display:none}}
/* Page d'erreur */
.error-page{min-height:100vh;display:grid;place-items:center;padding:24px}
.error-card{width:min(620px,100%);padding:48px;text-align:center;background:var(--surface,#fff);border:1px solid var(--border,#dfe5e2);border-radius:24px;box-shadow:0 18px 50px #163d2a18}
.error-card .brand{display:inline-flex;margin-bottom:32px}
.error-card .brand img{max-width:220px;height:auto}
.error-card h1{margin:8px 0 12px}
.error-card>p:not(.eyebrow){margin:0 auto 28px;max-width:440px}
.error-home{display:inline-flex;text-decoration:none}
