/* Genius — Portail clients immo. Pétrole profond + laiton, registre notarial clair. */
/* Genius — vert anglais, crème et laiton. Registre club privé / banque privée. */
:root{
  --bg:#F3EEE4; --panel:#FBF8F2; --ink:#13241E; --muted:#5F6B64; --line:#DCD3C2; --soft:#ECE5D7;
  --navy:#0F2A22; --accent:#0F2A22; --accent-ink:#F3EEE4; --brass:#8A6A36; --orange:#B08D57; --orange-ink:#0F2A22;
  --deep:#0F2A22; --on-deep:#EFE9DD; --on-deep-muted:#B7C1BA; --brass-deep:#C9A974; --line-deep:rgba(239,233,221,.16);
  --ok:#3B6E4F; --warn:#94661C; --bad:#9B3B30; --info:#2F5A6E;
  --f-display:"Cormorant Garamond","Iowan Old Style",Georgia,serif;
  --f-body:"Jost","Avenir Next","Segoe UI",system-ui,sans-serif;
  --f-mono:"Jost","Avenir Next","Segoe UI",system-ui,sans-serif;
  --r:10px; --shadow:0 1px 1px rgba(15,42,34,.04),0 10px 30px -18px rgba(15,42,34,.22);
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0B1D17; --panel:#10261F; --ink:#EFE9DD; --muted:#A2ADA6; --line:#23392F; --soft:#163027;
  --navy:#081812; --accent:#C3A16A; --accent-ink:#0B1D17; --brass:#C9A974; --orange:#C3A16A; --orange-ink:#0B1D17;
  --deep:#081812; --line-deep:rgba(239,233,221,.14);
  --ok:#7DB592; --warn:#D9A957; --bad:#E08F84; --info:#8FB7C9; color-scheme:dark;
  --shadow:0 1px 1px rgba(0,0,0,.3),0 10px 30px -18px rgba(0,0,0,.7)}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 var(--f-body);padding:env(safe-area-inset-top) 16px calc(40px + env(safe-area-inset-bottom))}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
.wrap{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:18px;padding-top:20px}
.narrow{max-width:760px}

/* En-tête */
.top{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;justify-content:space-between}
.eyebrow{display:block;font:500 11px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--brass);margin-bottom:6px}
h1{font:700 clamp(26px,4.4vw,36px)/1.05 var(--f-display);margin:0;letter-spacing:-.01em;text-wrap:balance}
h2{font:700 22px/1.15 var(--f-display);margin:0;text-wrap:balance}
h3{font:700 17px/1.2 var(--f-display);margin:0}
.muted{color:var(--muted)}
.nav{display:flex;gap:4px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:4px}
.nav a{padding:7px 14px;border-radius:7px;text-decoration:none;color:var(--muted);font-weight:500}
.nav a[aria-current="page"]{background:var(--soft);color:var(--ink)}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:var(--panel);border-radius:9px;padding:9px 15px;cursor:pointer;font-weight:500;text-decoration:none;color:var(--ink);white-space:nowrap}
.btn:hover{border-color:var(--accent)}
.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.btn.cta{background:var(--orange);color:var(--orange-ink);border-color:var(--orange);font-weight:600}
.btn.cta:hover{filter:brightness(1.05)}
.btn.big{padding:13px 22px;font-size:16px;border-radius:11px}
.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}
.btn.danger{color:var(--bad)}
.btn.small{padding:5px 10px;font-size:13px}
.btn:disabled{opacity:.55;cursor:default}

/* Cartes & panneaux */
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);min-width:0;box-shadow:var(--shadow)}
.pad{padding:20px 22px}
.split{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:start}
@media (max-width:880px){.split{grid-template-columns:minmax(0,1fr)}.split.open>.side{display:none}.split:not(.open)>.main{display:none}}

.pgrid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
@media (max-width:880px){.pgrid{grid-template-columns:minmax(0,1fr)}}

/* Liste */
.tools{display:flex;gap:8px;padding:12px;border-bottom:1px solid var(--line)}
.tools input,.tools select{min-width:0;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:8px 10px}
.tools input{flex:1}
.rows{list-style:none;margin:0;padding:6px;display:flex;flex-direction:column;gap:2px;max-height:70vh;overflow:auto}
.row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-radius:9px;cursor:pointer;border:1px solid transparent;text-decoration:none;color:inherit}
.row:hover{background:var(--soft)}
.row[aria-current="true"]{background:var(--soft);border-color:var(--line)}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font:600 14px var(--f-display);background:var(--soft);color:var(--accent);border:1px solid var(--line);flex:none}
.nm{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref{font:500 11px var(--f-mono);color:var(--muted)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--warn);margin-left:6px;vertical-align:middle}
.empty{padding:28px 18px;color:var(--muted);text-align:center}

/* Pastilles */
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--soft);white-space:nowrap}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.st-Nouveau{color:var(--muted)} .st-Profil-reçu{color:var(--info)} .st-Actif{color:var(--ok)} .st-Négociation{color:var(--warn)} .st-Clôturé{color:var(--muted)} .st-Perdu{color:var(--bad)}
.st-Proposé{color:var(--info)} .st-Intéressé{color:var(--ok)} .st-Visite-demandée{color:var(--warn)} .st-Pas-pour-moi{color:var(--muted)}
.tag{font-size:11.5px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:1px 7px;white-space:nowrap}
.meter{display:flex;align-items:center;gap:8px;font:12px var(--f-mono);color:var(--muted)}
.bar{flex:1;height:6px;border-radius:99px;background:var(--soft);overflow:hidden;min-width:60px}
.bar i{display:block;height:100%;background:var(--orange);border-radius:99px}

/* Fiche */
.dhead{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}
.who{display:flex;gap:14px;align-items:center;min-width:0}
.who .av{width:54px;height:54px;font-size:18px}
.meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}
.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tabs{display:flex;gap:2px;padding:0 14px;border-bottom:1px solid var(--line);overflow-x:auto}
.tabs button{border:0;background:none;padding:12px 10px;cursor:pointer;color:var(--muted);font-weight:500;border-bottom:2px solid transparent;white-space:nowrap}
.tabs button[aria-selected="true"]{color:var(--ink);border-color:var(--accent)}
.tabs .c{font:11px var(--f-mono);margin-left:5px;color:var(--brass)}
.pane{padding:22px;display:flex;flex-direction:column;gap:24px}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend{font:500 11px var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--brass);margin-bottom:12px;padding:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px 16px}
.f{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--muted);min-width:0}
.f.wide{grid-column:1/-1}
.f input,.f select,.f textarea{border:1px solid var(--line);background:var(--bg);border-radius:9px;padding:10px 11px;color:var(--ink);font-size:15px;width:100%;min-width:0}
.f textarea{min-height:84px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--accent);outline:none}
.f .req{color:var(--brass)}
.num{font-variant-numeric:lining-nums tabular-nums}
.savebar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}
.state{font:12px var(--f-mono);color:var(--muted)}
.state.err{color:var(--bad)}

/* Lien client */
.linkbox{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border:1px dashed var(--accent);border-radius:10px;background:var(--soft)}
.linkbox code{font:12.5px var(--f-mono);overflow-wrap:anywhere;flex:1 1 260px;min-width:0;user-select:all}

/* Documents */
.docs{display:flex;flex-direction:column;gap:8px}
.drow{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.drow.done{background:var(--soft)}
.drow .lbl{display:flex;gap:10px;align-items:center;font-weight:500;flex:1 1 220px;min-width:0}
.check{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;flex:none;font-size:12px;color:var(--accent-ink)}
.done .check{background:var(--accent);border-color:var(--accent)}
.files{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.file{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:3px 4px 3px 3px;max-width:100%}
.thumb{border:0;padding:0;background:none;cursor:zoom-in;display:block}
.thumb img{width:42px;height:32px;object-fit:cover;border-radius:5px;display:block;background:var(--soft)}
.pdf{display:grid;place-items:center;width:42px;height:32px;border-radius:5px;background:var(--soft);color:var(--bad);font:600 10px var(--f-mono);text-decoration:none}
.fn{font-size:12.5px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x{border:0;background:none;color:var(--muted);cursor:pointer;font-size:12px;padding:2px 5px}
.x.armed{color:var(--bad);font-weight:600}
.up{display:inline-flex;align-items:center;border:1px dashed var(--accent);color:var(--accent);border-radius:8px;padding:6px 11px;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}
.up:hover{background:var(--soft)}
.up:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.up input{position:absolute;width:1px;height:1px;opacity:0}
.share{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:var(--muted)}
.share input{accent-color:var(--accent)}

/* Journal */
.addline{display:grid;grid-template-columns:150px 130px minmax(0,1fr) auto;gap:8px}
@media (max-width:640px){.addline{grid-template-columns:1fr 1fr}.addline .grow{grid-column:1/-1}}
.addline input,.addline select{border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:8px 10px;min-width:0}
.log{list-style:none;margin:0;padding:0}
.log li{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);align-items:start}
.log time{font:12px var(--f-mono);color:var(--muted);padding-top:2px}
.todo li{grid-template-columns:24px minmax(0,1fr) auto auto}
.todo input{accent-color:var(--accent);width:17px;height:17px;margin-top:2px}
.todo .ok span{text-decoration:line-through;color:var(--muted)}
.late{color:var(--bad)!important}

/* Biens */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:inherit}
a.card:hover{border-color:var(--accent)}
.cover{aspect-ratio:16/10;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:13px;max-width:100%}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.cbody{padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.price{font:700 22px/1 var(--f-display);font-variant-numeric:lining-nums tabular-nums}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.figures div{background:var(--panel);padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.figures span{font-size:12px;color:var(--muted)}
.figures b{font:600 16px var(--f-display);font-variant-numeric:lining-nums tabular-nums}
.figures .total{background:var(--soft)}
.gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:10px}
.gallery button{flex:0 0 min(88%,520px);scroll-snap-align:start;border:0;padding:0;background:var(--soft);border-radius:10px;overflow:hidden;cursor:zoom-in;aspect-ratio:16/10}
.gallery img{width:100%;height:100%;object-fit:cover;display:block}
.react{display:flex;flex-wrap:wrap;gap:8px}
.react .btn[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.pick{display:flex;flex-direction:column;gap:6px;max-height:340px;overflow:auto}
.pick label{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:9px;cursor:pointer}
.pick input{accent-color:var(--accent);width:17px;height:17px}
.match{font:11px var(--f-mono);color:var(--ok)}

/* Divers */
.lb{position:fixed;inset:0;background:rgba(0,0,0,.82);display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;padding:24px;z-index:20}
.lb img{max-width:100%;max-height:82vh;border-radius:8px;background:#fff}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:10px;font-weight:500;z-index:30;max-width:calc(100% - 32px)}
.login{max-width:380px;margin:12vh auto 0;display:flex;flex-direction:column;gap:14px}
.notice{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:14px}
.hero{display:flex;flex-direction:column;gap:6px}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.step{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);display:flex;flex-direction:column;gap:3px}
.step b{font:600 13px var(--f-display)}
.step span{font-size:12.5px;color:var(--muted)}
.step .bar{flex:none;margin-top:4px;min-width:0}
@media (max-width:480px){.step{padding:10px}.step b{font-size:12px}.step span{font-size:11.5px}}
.step.ok{border-color:var(--accent)}
.foot{color:var(--muted);font-size:12.5px;text-align:center;padding-top:10px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- Marque & navigation ---------- */
.brandmark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:700 20px/1 var(--f-display);letter-spacing:-.01em}
.brandmark i{width:34px;height:34px;border-radius:10px;background:var(--navy) url(/icon.svg) center/cover;display:block;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.brandmark small{font:500 10px var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--brass);display:block;margin-top:3px}
.appbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-top:18px}
.appnav{display:flex;gap:4px;overflow-x:auto;max-width:100%}
.appnav a{padding:9px 14px;border-radius:9px;text-decoration:none;color:var(--muted);font-weight:500;white-space:nowrap}
.appnav a[aria-current="page"]{background:var(--panel);color:var(--ink);box-shadow:var(--shadow)}
.appnav .c{font:11px var(--f-mono);color:var(--orange);margin-left:4px}

/* ---------- Accueil ---------- */
.hero-band{background:var(--navy);color:#EFE9DD;border-radius:22px;padding:clamp(28px,5vw,56px) clamp(28px,5vw,56px) clamp(44px,6vw,72px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;position:relative;overflow:hidden}
.hero-band::after{content:"";position:absolute;left:-140px;bottom:-160px;width:360px;height:360px;border-radius:50%;border:56px solid rgba(176,141,87,.12);pointer-events:none}
@media (max-width:860px){.hero-band{grid-template-columns:minmax(0,1fr)}}
.hero-band .eyebrow{color:#C9A974}
.hero-band h1{font-size:clamp(32px,5.2vw,58px);line-height:1.02;color:#fff}
.hero-band h1 em{font-style:normal;color:#C3A16A}
.hero-band p.lead{font-size:clamp(16px,1.6vw,19px);color:#CFC7B6;max-width:52ch;margin:16px 0 26px}
.hero-band .btn{border-color:rgba(255,255,255,.22);background:transparent;color:#fff}
.hero-band .btn.cta{background:#C3A16A;border-color:#C3A16A;color:#0F2A22}
.demo{background:#fff;color:#13241E;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 24px 60px -20px rgba(0,0,0,.55);position:relative;z-index:1}
.demo .tagx{position:absolute;top:-11px;right:16px;background:#C3A16A;color:#0F2A22;font:600 11px var(--f-mono);letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:6px}
.demo h3{font-size:16px}
.demo .row2{display:flex;justify-content:space-between;font-size:13px;color:#5F6B64}
.demo .row2 b{color:#13241E;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
.vs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vs>div{border:1px solid #DCD3C2;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}
.vs>div>span{font-size:12px;color:#5F6B64}
.vs>div>b{font:700 22px var(--f-display);font-variant-numeric:lining-nums tabular-nums}
.vs>.win{border-color:#B08D57;background:#F6F0E4}
.hbar{height:8px;border-radius:99px;background:#ECE5D7;overflow:hidden}.hbar i{display:block;height:100%;background:#0F2A22;border-radius:99px}.win .hbar i{background:#B08D57}
.section-title{display:flex;flex-direction:column;gap:6px;margin-top:22px}
.how{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.how article{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:8px}
.how .k{font:600 12px var(--f-mono);color:var(--orange)}
.feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.feat div{background:var(--panel);padding:18px;display:flex;flex-direction:column;gap:4px}
.feat b{font:600 15px var(--f-display)}
.feat span{color:var(--muted);font-size:14px}
.cta-band{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;padding:24px 26px;border-radius:var(--r);background:var(--panel);border:1px solid var(--line)}

/* ---------- Connexion ---------- */
.authwrap{max-width:440px;margin:6vh auto 0;display:flex;flex-direction:column;gap:18px}
.authcard{padding:26px;display:flex;flex-direction:column;gap:14px}
.google{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:11px;font-weight:600;color:var(--ink);text-decoration:none}
.google:hover{border-color:var(--accent)}
.google svg{width:18px;height:18px}
.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12.5px}.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.switch{font-size:14px;color:var(--muted);text-align:center}

/* ---------- Catalogue client ---------- */
.banner{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:16px 20px;border-radius:var(--r);background:var(--navy);color:#EFE9DD}
.banner b{font:600 16px var(--f-display);color:#fff}
.banner span{color:#CFC7B6;font-size:14px}
.banner .bar{background:rgba(255,255,255,.15);max-width:220px}
.pcard{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:inherit;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}
.pcard:hover{transform:translateY(-2px);border-color:var(--orange)}
.pcard .cover{position:relative}
.ribbon{position:absolute;left:12px;top:12px;background:var(--orange);color:var(--orange-ink);font:600 11.5px var(--f-body);padding:4px 9px;border-radius:7px}
.ribbon.navy{background:var(--navy);color:#fff}
.status-chip{position:absolute;right:12px;top:12px}
.why{display:flex;flex-direction:column;gap:3px;font-size:13px}
.why span::before{content:"✓ ";color:var(--ok);font-weight:700}
.why span.w::before{content:"! ";color:var(--warn)}
.yields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.yields div{border:1px solid var(--line);border-radius:9px;padding:7px 10px;display:flex;flex-direction:column}
.yields span{font-size:11.5px;color:var(--muted)}
.yields b{font:600 15px var(--f-display);font-variant-numeric:lining-nums tabular-nums}

/* ---------- Dossier d'investissement ---------- */
.dossier{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:720px){.dossier{grid-template-columns:minmax(0,1fr)}}
.scen{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--panel)}
.scen header{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.scen header b{font:700 26px var(--f-display);font-variant-numeric:lining-nums tabular-nums}
.scen.best{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.scen.best header{background:color-mix(in srgb,var(--orange) 10%,var(--panel))}
.lines{list-style:none;margin:0;padding:6px 16px 12px}
.lines li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:14px}
.lines li:last-child{border-bottom:0}
.lines li span{color:var(--muted)}
.lines li b{font-variant-numeric:lining-nums tabular-nums;font-weight:600;white-space:nowrap}
.lines li.tot{border-top:1px solid var(--ink);border-bottom:0;margin-top:4px;padding-top:9px}
.lines li.tot span,.lines li.tot b{color:var(--ink);font-weight:700}
.pos{color:var(--ok)!important}.neg{color:var(--bad)!important}
.sim{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;padding:16px;border:1px solid var(--line);border-radius:var(--r);background:var(--soft)}
.sim input[type=range]{width:100%;accent-color:var(--orange)}
.sim output{font:600 15px var(--f-display);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.disclaimer{font-size:12.5px;color:var(--muted)}
.detail-head{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
@media (max-width:860px){.detail-head{grid-template-columns:minmax(0,1fr)}}
.sticky{position:sticky;top:calc(12px + env(safe-area-inset-top,0px))}

/* ---------- Passage design : icônes, interactions, mobile ---------- */
.ic{width:18px;height:18px;flex:none;vertical-align:-3px}
.ic.sm{width:15px;height:15px}
.btn{min-height:42px;transition:background-color .18s,border-color .18s,color .18s,transform .12s,box-shadow .18s;touch-action:manipulation}
.btn:active{transform:scale(.98)}
.btn.small{min-height:36px}
.btn[aria-busy="true"]{opacity:.65;cursor:progress}
.btn[aria-busy="true"]::after{content:"";width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.x{min-width:32px;min-height:32px;display:inline-grid;place-items:center;border-radius:6px}
.x:hover{background:var(--soft);color:var(--bad)}
.x .ic{width:15px;height:15px}
.f input,.f select,.f textarea{font-size:16px;min-height:46px}
.f textarea{min-height:96px}
.pwwrap{position:relative;display:block}
.pwwrap input{padding-right:46px}
.pweye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;border-radius:8px}
.pweye:hover{color:var(--ink)}
.check .ic{width:13px;height:13px}
.why span{display:flex;gap:6px;align-items:flex-start}
.why span::before{content:none}
.why .ic{width:15px;height:15px;margin-top:2px;color:var(--ok)}
.why .w .ic{color:var(--warn)}
.cover{position:relative;overflow:hidden}
.cover img{transition:transform .35s ease}
.pcard:hover .cover img{transform:scale(1.04)}
.cover .ph{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--muted);font-size:13px}
.cover .ph .ic{width:28px;height:28px;opacity:.6}
.pricetag{position:absolute;left:12px;bottom:12px;background:var(--panel);color:var(--ink);font:700 17px var(--f-display);padding:6px 11px;border-radius:9px;box-shadow:var(--shadow);font-variant-numeric:lining-nums tabular-nums}
.pricetag small{font:500 11px var(--f-body);color:var(--muted);margin-left:4px}
.specs{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted)}
.specs span{display:inline-flex;gap:5px;align-items:center}
.specs .ic{width:15px;height:15px}

/* Accueil avec photo */
.hero-photo{position:relative;min-width:0}
.hero-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:16px;display:block;box-shadow:0 30px 60px -25px rgba(0,0,0,.7)}
.hero-photo .demo{position:absolute;left:-36px;bottom:-56px;width:min(320px,80%)}
@media (max-width:860px){.hero-photo .demo{position:relative;left:auto;bottom:auto;width:auto;margin:-60px 14px 0}}
.trust{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;color:#CFC7B6;font-size:14px}
.trust span{display:inline-flex;gap:8px;align-items:center}
.trust .ic{color:#C3A16A}
.feat .ic{width:22px;height:22px;color:var(--orange);margin-bottom:4px}

/* Barre d'onglets en bas sur téléphone (espace client) */
.tabbar{display:none}
@media (max-width:720px){
  .appnav.top{display:none}
  .tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:15;background:var(--panel);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px -16px rgba(15,42,34,.3)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;min-height:48px;text-decoration:none;color:var(--muted);font-size:11px;font-weight:500;border-radius:10px;position:relative}
  .tabbar a[aria-current="page"]{color:var(--ink);background:var(--soft)}
  .tabbar a[aria-current="page"] .ic{color:var(--orange)}
  .tabbar .ic{width:22px;height:22px}
  .tabbar .badge{position:absolute;top:2px;right:calc(50% - 22px);background:var(--orange);color:var(--orange-ink);font:600 10px var(--f-body);min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
  body.has-tabbar{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
}

/* ---------- Charte luxe ---------- */
body{font-size:16px;letter-spacing:.005em}
h1{font:500 clamp(34px,5vw,52px)/1.02 var(--f-display);letter-spacing:-.01em}
h2{font:500 clamp(26px,3vw,32px)/1.1 var(--f-display)}
h3{font:600 21px/1.2 var(--f-display)}
.price{font-family:var(--f-display);font-weight:600;font-size:26px}
.eyebrow,legend{font:500 11px/1.2 var(--f-body);letter-spacing:.24em;text-transform:uppercase;color:var(--brass)}
.btn{border-radius:6px;font-weight:500}
.btn.primary,.btn.cta,.btn.big{text-transform:uppercase;letter-spacing:.14em;font-size:13px}
.btn.cta{background:var(--orange);border-color:var(--orange);color:var(--orange-ink)}
.panel,.pcard,.how article,.scen,.cta-band{border-radius:var(--r)}
.brandmark{font:600 22px/1 var(--f-display);letter-spacing:.28em;text-transform:uppercase}
.brandmark small{letter-spacing:.22em;font-family:var(--f-body)}
.brandmark i{background:var(--deep);border-radius:50%;box-shadow:inset 0 0 0 1px var(--brass-deep);background-image:none;display:grid;place-items:center}
.brandmark i::before{content:"G";font:500 20px/1 var(--f-display);color:var(--brass-deep);letter-spacing:0}
.ribbon{font:500 10.5px var(--f-body);letter-spacing:.14em;text-transform:uppercase;border-radius:3px}
.pricetag{font-family:var(--f-display);font-weight:600;font-size:19px;border-radius:4px}
.banner{background:var(--deep);color:var(--on-deep)}
.banner b{font:500 22px var(--f-display);color:var(--on-deep)}
.banner span{color:var(--on-deep-muted)}
.scen header b,.yields b,.vs>div>b{font-family:var(--f-display);font-weight:600}
.lines li.tot{border-top-color:var(--brass)}
.tabbar a[aria-current="page"] .ic{color:var(--brass)}
.nm{font-weight:500}

/* ---------- Page d'entrée privée ---------- */
body.entry-body{padding:0;background:var(--deep)}
.entry{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(380px,1fr)}
.entry-photo{position:relative;overflow:hidden;min-height:100%}
.entry-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.entry-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,24,18,.15) 40%,rgba(8,24,18,.78))}
.entry-photo figcaption{position:absolute;left:clamp(24px,4vw,56px);bottom:clamp(24px,4vw,52px);right:24px;z-index:1;color:#EFE9DD;font:400 clamp(24px,2.6vw,34px)/1.2 var(--f-display);font-style:italic;max-width:22ch}
.entry-photo figcaption span{display:block;font:500 11px var(--f-body);letter-spacing:.24em;text-transform:uppercase;font-style:normal;color:#C9A974;margin-top:14px}
.entry-panel{background:var(--deep);color:var(--on-deep);display:flex;flex-direction:column;justify-content:space-between;gap:36px;padding:clamp(28px,5vw,64px) clamp(24px,4.5vw,64px) calc(clamp(24px,4vw,40px) + env(safe-area-inset-bottom,0px))}
.entry-brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.mono{width:54px;height:54px;border-radius:50%;border:1px solid var(--brass-deep);display:grid;place-items:center;font:500 28px/1 var(--f-display);color:var(--brass-deep)}
.wordmark{font:500 30px/1 var(--f-display);letter-spacing:.42em;text-transform:uppercase;color:var(--on-deep)}
.wordmark+small{font:500 11px var(--f-body);letter-spacing:.24em;text-transform:uppercase;color:var(--on-deep-muted)}
.entry-main{display:flex;flex-direction:column;gap:22px;max-width:400px;width:100%}
.entry-main h1{color:var(--on-deep);font-size:clamp(38px,4.4vw,54px)}
.entry-main .lead{color:var(--on-deep-muted);margin:0;line-height:1.6}
.rule{width:56px;height:1px;background:var(--brass-deep)}
.entry .f{color:var(--on-deep-muted);font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.entry .f input,.entry .f select{background:transparent;border:0;border-bottom:1px solid var(--line-deep);border-radius:0;color:var(--on-deep);padding:10px 0;letter-spacing:.01em;text-transform:none}
.entry .f select option{color:#13241E}
.entry .f input:focus,.entry .f select:focus{border-bottom-color:var(--brass-deep);outline:none}
.entry .f input::placeholder{color:rgba(239,233,221,.35)}
.entry .pweye{color:var(--on-deep-muted)}
.entry .btn.cta{width:100%;background:var(--brass-deep);border-color:var(--brass-deep);color:#0F2A22;min-height:52px}
.entry .btn.cta:hover{filter:brightness(1.06)}
.entry .google{background:transparent;border:1px solid var(--line-deep);color:var(--on-deep);border-radius:6px;min-height:50px}
.entry .google:hover{border-color:var(--brass-deep)}
.entry .or{color:var(--on-deep-muted)}.entry .or::before,.entry .or::after{background:var(--line-deep)}
.entry a{color:var(--brass-deep)}
.entry .links{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--on-deep-muted)}
.entry .state.err{color:#F0A99E}
.entry .two{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.entry .two .wide{grid-column:1/-1}
.entry-foot{font-size:12px;color:var(--on-deep-muted);letter-spacing:.06em}
.entry-note{border:1px solid var(--line-deep);border-radius:8px;padding:14px 16px;color:var(--on-deep-muted);font-size:14px;line-height:1.6}
.entry-note b{color:var(--on-deep);font-weight:500}
@media (max-width:860px){
  .entry{grid-template-columns:minmax(0,1fr)}
  .entry-photo{min-height:34dvh}
  .entry-photo figcaption{font-size:22px}
  .entry-panel{gap:28px}
}
html{font-variant-numeric:lining-nums}
.step b,.sim output,.pricetag,.price,.scen header b{font-variant-numeric:lining-nums tabular-nums}
.appnav{justify-content:flex-start;align-self:flex-start}

/* Choix multiples (ex. banques) */
.chipsel{display:flex;flex-wrap:wrap;gap:8px}
.chipopt{position:relative;cursor:pointer}
.chipopt input{position:absolute;opacity:0;width:1px;height:1px}
.chipopt span{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);font-size:14px;transition:background .15s,border-color .15s,color .15s}
.chipopt:hover span{border-color:var(--brass)}
.chipopt input:checked+span{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.chipopt input:focus-visible+span{outline:2px solid var(--brass);outline-offset:2px}

/* ---------- Accueil client ---------- */
.hwelcome{background:var(--deep,#0F2A22) url(/hero-800.webp) center/cover;position:relative;border-radius:22px;overflow:hidden;color:#F3EEE4;padding:clamp(28px,5vw,56px);display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap;min-height:240px}
.hwelcome::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,24,18,.94) 0%,rgba(8,24,18,.78) 45%,rgba(8,24,18,.45) 100%)}
.hwelcome>*{position:relative}
.hwelcome .eyebrow{color:#C9A974}
.hwelcome h1{color:#fff;font-size:clamp(38px,6vw,64px);line-height:1;margin:4px 0 10px}
.hwelcome p{margin:0;color:#D6CFC0;max-width:44ch}
.hstats{display:flex;gap:10px;flex-wrap:wrap}
.hstats a{display:flex;flex-direction:column;align-items:center;min-width:92px;padding:14px 16px;border:1px solid rgba(201,169,116,.35);border-radius:14px;background:rgba(8,24,18,.45);backdrop-filter:blur(6px);color:#F3EEE4;text-decoration:none;transition:border-color .2s}
.hstats a:hover{border-color:#C9A974}
.hstats b{font-family:var(--f-display,"Cormorant Garamond",serif);font-size:34px;font-weight:500;line-height:1;color:#E3CB9B;font-variant-numeric:lining-nums}
.hstats span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#CFC7B6;margin-top:4px}
.hnext{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;flex-wrap:wrap;border-left:3px solid var(--brass,#B08D57)}
.hnext h2{margin:4px 0 6px;font-size:clamp(22px,2.6vw,28px)}
.hnext p{margin:0;max-width:60ch}
.hnext .btn .ic{margin-left:6px}
.hsteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:760px){.hsteps{grid-template-columns:minmax(0,1fr)}.hwelcome{align-items:flex-start}}
.hstep{display:flex;gap:14px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);text-decoration:none;color:inherit;transition:border-color .2s,transform .2s}
.hstep:hover{border-color:var(--brass,#B08D57);transform:translateY(-1px)}
.hstep .n{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--brass,#B08D57);color:var(--brass-deep,#8C6E3F);font-weight:600}
.hstep.ok .n{background:var(--deep,#0F2A22);border-color:var(--deep,#0F2A22);color:#E3CB9B}
.hstep .n .ic{width:18px;height:18px}
.hstep b{display:block}
.hstep small{color:var(--muted);font-size:13px}
.hfollows{display:flex;flex-direction:column;overflow:hidden}
.hfollow{display:flex;align-items:center;gap:14px;padding:12px 16px;text-decoration:none;color:inherit;border-top:1px solid var(--line)}
.hfollow:first-child{border-top:0}
.hfollow:hover{background:var(--soft)}
.hfollow .th{flex:none;width:64px;height:48px;border-radius:10px;overflow:hidden;background:var(--soft);display:grid;place-items:center;color:var(--muted)}
.hfollow .th img{width:100%;height:100%;object-fit:cover}
.hfollow .tx{flex:1;min-width:0;display:flex;flex-direction:column}
.hfollow .tx b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hfollow .tx small{color:var(--muted);font-size:13px}
.hcontact{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.hcontact b{display:block;font-size:18px}
@media (max-width:560px){.hstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.hstats a{min-width:0;padding:12px 6px}.hstats b{font-size:28px}.hstats span{font-size:10px}.hnext{padding:22px}}
