:root{
  --bg:#f7fbfd;--surface:#ffffff;--surface2:#eaf4f7;--text:#092d4a;--muted:#5e7180;
  --primary:#084d82;--accent:#12a8b5;--orange:#f47a20;--border:#cfe2e9;--danger:#a52a2a;
  --shadow:0 14px 38px rgba(5,53,85,.10);--radius:18px;
}
html[data-theme="dark"]{
  --bg:#071621;--surface:#0b2232;--surface2:#102d40;--text:#edf9fb;--muted:#aac0ca;
  --primary:#54b8f0;--accent:#46d1d1;--orange:#ff9b53;--border:#1f4960;--shadow:0 18px 44px rgba(0,0,0,.3)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:var(--primary);text-decoration:none} a:hover{text-decoration:underline}
img{max-width:100%}
.container{width:min(1180px,92vw);margin:auto}
header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--surface) 90%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;gap:18px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.02em}.brand img{width:48px;height:48px;object-fit:contain}
.navlinks{display:flex;gap:15px;flex-wrap:wrap;align-items:center;margin-left:auto}.navlinks a{font-weight:700;font-size:.94rem}
.nav-actions{display:flex;gap:8px;align-items:center}
button,.btn{border:0;border-radius:999px;padding:11px 16px;background:var(--primary);color:#fff;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
button.secondary,.btn.secondary{background:var(--surface2);color:var(--text);border:1px solid var(--border)}
button.orange,.btn.orange{background:var(--orange)}
button.danger,.btn.danger{background:var(--danger)}
.hero{padding:76px 0 42px;display:grid;grid-template-columns:1.25fr .75fr;gap:42px;align-items:center}
.hero h1{font-size:clamp(2.35rem,5vw,5.2rem);line-height:.98;margin:0 0 18px;letter-spacing:-.045em}.hero p{font-size:1.16rem;color:var(--muted);max-width:760px}
.hero-logo{background:linear-gradient(145deg,var(--surface),var(--surface2));border:1px solid var(--border);box-shadow:var(--shadow);border-radius:34px;padding:30px}
.eyebrow{font-size:.82rem;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-weight:900}
.status{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--border);background:var(--surface2);padding:8px 12px;border-radius:999px;font-size:.88rem;font-weight:800}
.status::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--orange)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid.two{grid-template-columns:repeat(2,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.card h3{margin-top:0}.card p:last-child{margin-bottom:0}.muted{color:var(--muted)}
section{padding:46px 0}h2{font-size:clamp(1.8rem,3vw,3rem);letter-spacing:-.025em;margin:.2em 0 .7em}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:20px}
.banner{padding:16px 18px;border-radius:14px;background:var(--surface2);border:1px solid var(--border)}
.alert{border-left:5px solid var(--orange)}
form{display:grid;gap:14px}label{display:grid;gap:6px;font-weight:750}
input,select,textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}
textarea{min-height:130px;resize:vertical}
table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:14px;overflow:hidden}th,td{padding:12px;border-bottom:1px solid var(--border);text-align:left}th{background:var(--surface2)}
footer{margin-top:48px;background:#06263f;color:#d7eaf3;padding:44px 0}footer a{color:#d7eaf3}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
.flash{margin:16px 0;padding:12px 16px;border:1px solid var(--border);background:var(--surface2);border-radius:12px}
.badge{display:inline-block;padding:4px 8px;border-radius:8px;background:var(--surface2);border:1px solid var(--border);font-size:.8rem;font-weight:800}
.list{display:grid;gap:12px}.list-item{padding:15px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.cookie{position:fixed;left:20px;right:20px;bottom:20px;z-index:80;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;padding:18px;display:none}.cookie.show{display:block}.cookie-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pillrow{display:flex;gap:8px;flex-wrap:wrap}
.price{font-size:1.7rem;font-weight:900}.qty{max-width:90px}
.chat-wrap{display:grid;grid-template-columns:240px 1fr;min-height:560px;border:1px solid var(--border);border-radius:18px;overflow:hidden}.chat-side{background:var(--surface2);padding:14px}.chat-main{display:flex;flex-direction:column;background:var(--surface)}.chat-messages{flex:1;padding:15px;overflow:auto;max-height:520px}.chat-composer{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border)}.chat-composer input{flex:1}.presence{width:10px;height:10px;border-radius:50%;display:inline-block;background:#26a269}
@media(max-width:900px){.hero{grid-template-columns:1fr}.grid,.grid.two,.grid.four{grid-template-columns:1fr}.navlinks{display:none}.footer-grid{grid-template-columns:1fr}.chat-wrap{grid-template-columns:1fr}.chat-side{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* EIPS 57 Messenger — interface inspirée des messageries instantanées classiques */
.messenger-card{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(232,246,255,.98));border-color:#9dcbe8}
.chat-wrap{border:1px solid #8fb9d5;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#eef9ff 0,#fff 34%);box-shadow:0 14px 36px rgba(7,55,92,.14)}
.chat-side{background:linear-gradient(180deg,#dff2ff,#f7fbfe);border-right:1px solid #bdd6e6}
.chat-main{background:#fff}.chat-messages{background:linear-gradient(180deg,#f8fcff,#fff)}
.chat-composer{background:#e8f5fd;border-top:1px solid #bcd8e8}.presence{display:inline-block;width:11px;height:11px;border-radius:50%;background:#43b649;box-shadow:0 0 0 3px rgba(67,182,73,.12)}
.msg{position:relative}.msg .reportMsg{font-size:11px;padding:3px 7px;margin-left:8px;opacity:.55}.msg:hover .reportMsg,.msg:focus-within .reportMsg{opacity:1}
[data-theme=dark] .messenger-card,[data-theme=dark] .chat-wrap,[data-theme=dark] .chat-main,[data-theme=dark] .chat-messages,[data-theme=dark] .chat-composer,[data-theme=dark] .chat-side{background:var(--surface);border-color:var(--border)}
