@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink: #1B1B17;
  --sage: #8FA890;
  --sage-dark: #6C8770;
  --sage-tint: #E4EBDF;
  --cream: #F8F3E7;
  --cream-2: #EFE7D3;
  --accent: #C24E2C;
  --accent-tint: #F3DFCF;
  --line: #E2D9C2;
  --concrete: #8A8570;
  --white: #FFFFFF;
}
*{box-sizing:border-box; margin:0; padding:0;}
html,body{height:100%;}
body{
  background: #EDEAE0;
  background-image: radial-gradient(circle at 15% 10%, rgba(143,168,144,0.18), transparent 45%);
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  font-family:'Inter', sans-serif;
}

.phone{
  width: 430px; max-width: 100vw;
  height: 100vh; height: 100dvh;
  background: var(--cream);
  display:flex; flex-direction:column;
  overflow:hidden;
  position:relative;
}
.splash-screen{
  position:absolute; inset:0; z-index:50;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  background: var(--cream);
  transition: opacity 0.5s ease;
}
.splash-screen.hide{ opacity:0; pointer-events:none; }
.splash-screen .mark{ width:52px; height:52px; }
.splash-screen .word{ font-family:'Manrope', sans-serif; font-weight:800; font-size:26px; color:var(--ink); letter-spacing:0.01em; }
.splash-screen .tagline{ font-family:'Inter', sans-serif; font-size:13px; color:var(--concrete); }
@media (min-width: 480px){
  .phone{ width:430px; height: 860px; max-height: 92vh; border-radius:30px; border:3px solid var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,0.35); margin: 24px; }
}

.topbar{ padding: max(16px, env(safe-area-inset-top)) 20px 14px; flex-shrink:0; border-bottom: 1px solid var(--line); background: var(--cream); }
.brand{ display:flex; align-items:center; gap:9px; text-decoration:none; }
.brand .mark{ width:26px; height:26px; flex-shrink:0; }
.brand .word{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 17px; color: var(--ink); letter-spacing: 0.01em; }
.brand .tag{ font-family:'IBM Plex Mono', monospace; font-size:9px; letter-spacing:0.05em; color: var(--white); background: var(--sage-dark); padding: 3px 7px; border-radius: 999px; text-transform:uppercase; margin-left:2px; }

.stepline{ display:flex; align-items:center; gap:6px; margin-top:13px; }
.step{ flex:1; display:flex; flex-direction:column; gap:5px; text-decoration:none; color:inherit; cursor:pointer; }
.step .bar{ height:4px; background: var(--line); border-radius:2px; overflow:hidden; }
.step.active .bar{ background: var(--accent); }
.step.done .bar{ background: var(--sage-dark); }
.step .lbl{ font-family:'IBM Plex Mono', monospace; font-size:9px; letter-spacing:0.06em; color: var(--concrete); text-transform:uppercase; }
.step.active .lbl{ color: var(--ink); font-weight:600;}
.step.disabled{ opacity:0.4; cursor:default; pointer-events:none; }

.screen{ flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; padding: 18px 20px calc(60px + env(safe-area-inset-bottom)); scrollbar-width:none; }
.screen::-webkit-scrollbar{ display:none; }

.sub-screen{ display:none; flex:1; min-height:0; flex-direction:column; }
.sub-screen.active{ display:flex; }

.substeps{ display:flex; align-items:center; justify-content:center; gap:7px; padding: 12px 0 4px; }
.substeps .sdot{ width:7px; height:7px; border-radius:50%; background: var(--line); transition: all .2s; }
.substeps .sdot.on{ background: var(--sage-dark); width:18px; border-radius:4px; }

.eyebrow{ font-family:'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-dark); margin-bottom:7px; }
h1.h{ font-family:'Manrope', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); line-height:1.2; letter-spacing:-0.01em; margin-bottom: 5px; }
.sub{ font-size: 13.5px; color: var(--concrete); line-height:1.5; margin-bottom: 18px; }

.card{ background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.tag-pill{ display:inline-flex; align-items:center; gap:5px; font-family:'IBM Plex Mono', monospace; font-size: 10.5px; padding: 4px 9px; border-radius: 999px; font-weight:500; }
.tag-pill.ok{ background: var(--sage-tint); color: var(--sage-dark); }
.tag-pill.warn{ background: var(--accent-tint); color: var(--accent); }
.tag-pill.pending{ background: var(--cream-2); color: var(--concrete); }

.btn{ display:block; width:100%; background: var(--sage); color: var(--ink); text-align:center; padding: 14px; border-radius: 999px; font-weight:700; font-size: 14px; border:none; cursor:pointer; font-family:'Manrope',sans-serif; }
.btn.dark{ background: var(--ink); color: var(--cream); }
.btn.outline{ background:transparent; border:1.5px solid var(--ink); color:var(--ink); }
.btn:disabled{ opacity:0.45; cursor:not-allowed; }
.btn-row{ display:flex; gap:10px; margin-top:6px; }
.btn-row .btn{ flex:1; }
.section-title{ font-family:'Manrope', sans-serif; font-weight:800; font-size: 15px; color: var(--ink); margin: 20px 0 10px; }

.opt-card{ background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.opt-t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:13.5px; color:var(--ink); margin-bottom:3px;}
.opt-s{ font-size:12px; color:var(--concrete); line-height:1.45;}
.search-box{ position:relative; margin-top:10px; }
.search-box input{ width:100%; background: var(--cream-2); border:1.5px solid transparent; border-radius:12px; padding:12px 14px; font-size:16px; color:var(--ink); font-family:'Inter',sans-serif; }
.search-box input:focus{ outline:none; border-color: var(--sage-dark); background:var(--white); }
.suggest-list{ margin-top:8px; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:var(--white); }
.suggest-item{ padding:11px 13px; font-size:12.5px; color:var(--ink); border-bottom:1px solid var(--cream-2); cursor:pointer; }
.suggest-item:last-child{ border-bottom:none; }
.suggest-item:hover, .suggest-item:active{ background: var(--sage-tint); }
.suggest-empty{ font-size:11.5px; color:var(--concrete); padding:6px 2px; }
.selected-address{ display:flex; align-items:center; justify-content:space-between; gap:8px; background: var(--sage-tint); border:1.5px solid var(--sage-dark); border-radius:12px; padding:12px 14px; margin-top:10px; font-size:12.5px; color:var(--ink); font-weight:600; }
.selected-address button{ background:none; border:none; color:var(--sage-dark); font-family:'IBM Plex Mono',monospace; font-size:10.5px; cursor:pointer; text-decoration:underline; flex-shrink:0; }

.field{ margin-bottom: 18px; }
.field-lbl{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:var(--ink); margin-bottom:8px; }
.seg{ display:flex; flex-wrap:wrap; background: var(--cream-2); border-radius: 11px; padding:3px; gap:3px; }
.seg .so{ flex:1; min-width:72px; text-align:center; padding: 9px 4px; border-radius:9px; font-size:12px; font-weight:600; color: var(--concrete); cursor:pointer; }
.seg .so.on{ background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.seg-photo{ display:flex; flex-wrap:wrap; gap:8px; }
.seg-photo-opt{ flex:1; min-width:70px; display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 4px; border-radius:11px; background:var(--cream-2); cursor:pointer; border:1.5px solid transparent; }
.seg-photo-opt.on{ background:var(--white); border-color:var(--sage-dark); box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.seg-photo-opt .spn{ font-size:11px; font-weight:600; color:var(--concrete); text-align:center; }
.seg-photo-opt.on .spn{ color:var(--ink); }
.swatch-dot{ width:30px; height:30px; border-radius:50%; border:1.5px solid var(--line); }
.stepper{ display:flex; align-items:center; justify-content:space-between; background: var(--white); border:1px solid var(--line); border-radius:11px; padding: 8px 8px 8px 16px; }
.stepper .val{ font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:14px; color:var(--ink); }
.stepper .btns{ display:flex; gap:6px; }
.stepper .sb{ width:28px; height:28px; border-radius:8px; background: var(--cream-2); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--ink); cursor:pointer; user-select:none; }
.toggle-row{ display:flex; background: var(--cream-2); border-radius:11px; padding:3px; gap:3px; width: 140px; }
.toggle-row .to{ flex:1; text-align:center; padding:9px 0; border-radius:9px; font-size:12px; font-weight:600; color:var(--concrete); cursor:pointer; }
.toggle-row .to.on{ background: var(--sage-dark); color:var(--white); }

.map-card{ background: var(--cream-2); border-radius: 14px; height: 200px; overflow:hidden; margin-bottom: 8px; }
.map-card .map-loading{ height:100%; display:flex; align-items:center; justify-content:center; }
.map-loading{ font-family:'IBM Plex Mono',monospace; font-size:11px; color: var(--sage-dark); }
.parcel-label-wrap{ margin-bottom: 14px; }
.parcel-label{ display:inline-block; font-family:'IBM Plex Mono', monospace; font-size:10.5px; color: var(--white); background: var(--ink); padding:5px 9px; border-radius:6px; }

.data-row{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding: 9px 0; border-bottom: 1px solid var(--cream-2); font-size: 13px; }
.data-row:last-child{ border-bottom:none; }
.data-row .k{ color: var(--concrete); min-width:0; }
.data-row .v{ font-family:'IBM Plex Mono', monospace; font-weight:600; color: var(--ink); text-align:right; max-width: 55%; flex-shrink:0; }
.card-label{ font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--concrete); margin-bottom:8px; display:flex; align-items:center; gap:6px;}
.abf-banner{ display:flex; gap:10px; align-items:flex-start; background: var(--accent-tint); border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.abf-banner .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:12.5px; color:#7A3A1F; margin-bottom:3px;}
.abf-banner .s{ font-size:11.5px; color:#7A3A1F; line-height:1.4; }
.info-banner{ display:flex; gap:10px; align-items:flex-start; background: var(--cream-2); border:1px dashed var(--concrete); border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.info-banner .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:12.5px; color:var(--ink); margin-bottom:3px;}
.info-banner .s{ font-size:11.5px; color:var(--concrete); line-height:1.4; }
.info-banner.warn{ border-color:var(--accent); background:var(--accent-tint); }
.checklist-row{ display:flex; align-items:center; gap:10px; padding: 10px 0; border-bottom:1px solid var(--cream-2); font-size:13px; }
.checklist-row:last-child{ border-bottom:none; }
.chk{ width:18px; height:18px; border-radius:5px; border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:11px; color:var(--white); }
.chk.on{ background: var(--sage-dark); border-color: var(--sage-dark); }
.piece-name{ flex:1; color:var(--ink); }
.piece-name.muted{ color: var(--concrete); }
.info-dot{ display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; background:var(--concrete); color:var(--white); font-family:'Manrope',sans-serif; font-size:10px; font-weight:800; cursor:pointer; flex-shrink:0; margin-left:6px; }
.info-popup-backdrop{ position:fixed; inset:0; background:rgba(27,27,23,0.45); z-index:200; display:flex; align-items:flex-end; justify-content:center; }
.info-popup{ background:var(--white); border-radius:18px 18px 0 0; padding:22px 20px max(22px, env(safe-area-inset-bottom)); max-width:430px; width:100%; max-height:70vh; overflow-y:auto; }
.info-popup .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; color:var(--ink); margin-bottom:8px; }
.info-popup .s{ font-size:13px; color:var(--concrete); line-height:1.55; margin-bottom:16px; }
.info-popup .btn{ margin-bottom:0; }
.info-popup .btn + .btn{ margin-top:8px; }

.home-real-row{ display:flex; gap:10px; margin:14px 0 6px; }
.home-real-thumb{ flex:1; aspect-ratio:3/4; border-radius:12px; overflow:hidden; cursor:pointer; position:relative; }
.home-real-thumb img{ width:100%; height:100%; object-fit:cover; filter:blur(3px); transform:scale(1.08); }
.home-real-note{ display:flex; align-items:center; justify-content:center; gap:6px; font-size:11.5px; color:var(--concrete); margin-bottom:16px; }
.real-teaser-backdrop{ position:fixed; inset:0; background:rgba(27,27,23,0.92); z-index:210; display:flex; align-items:center; justify-content:center; padding:20px; }
.real-teaser-backdrop img{ max-width:100%; max-height:76vh; border-radius:8px; box-shadow:0 10px 40px rgba(0,0,0,0.5); }
.real-teaser-close{ position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.15); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; }
.real-teaser-cta{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); width:calc(100% - 48px); max-width:340px; }

.demo-video-backdrop{ position:fixed; inset:0; background:rgba(27,27,23,0.92); z-index:230; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; }
.demo-video-top{ width:100%; max-width:380px; display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.demo-video-title{ color:#fff; font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; }
.demo-video-close{ width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.15); color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer; flex-shrink:0; }
.demo-video-backdrop video{ width:100%; max-width:380px; max-height:70vh; border-radius:12px; background:#000; }
.demo-video-cta{ width:100%; max-width:380px; margin-top:14px; }
.demo-card-magnifier{ position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%; background:var(--sage-tint); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; }
.demo-card-magnifier svg{ stroke:var(--sage-dark); }
.demo-card-magnifier-label{ position:absolute; top:48px; right:4px; font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:0.04em; color:var(--sage-dark); text-transform:uppercase; }
.revoir-demo-link{ font-size:11px; font-weight:600; color:var(--concrete); cursor:pointer; white-space:nowrap; }

.leave-confirm-backdrop{ position:fixed; inset:0; background:rgba(27,27,23,0.45); z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.leave-confirm{ background:var(--white); border-radius:16px; padding:20px; max-width:380px; width:100%; }
.leave-confirm .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14.5px; color:var(--ink); margin-bottom:6px; }
.leave-confirm .s{ font-size:12.5px; color:var(--concrete); line-height:1.5; margin-bottom:16px; }
.leave-confirm .btn-row{ display:flex; gap:8px; margin-top:0; }

.error-banner{ display:flex; gap:10px; align-items:flex-start; background:#F8DCD3; border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.error-banner .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:12.5px; color:#7A3A1F; margin-bottom:3px;}
.error-banner .s{ font-size:11.5px; color:#7A3A1F; line-height:1.4; }

.offer-card{ background:var(--white); border:1.5px solid var(--line); border-radius:16px; padding:16px; margin-bottom:12px; cursor:pointer; }
.offer-card.sel{ border-color:var(--sage-dark); background:var(--sage-tint); }
.offer-top{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:6px; }
.offer-name{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14.5px; color:var(--ink); }
.offer-price{ font-family:'Manrope',sans-serif; font-weight:800; font-size:17px; color:var(--accent); white-space:nowrap; }
.offer-for{ font-size:12px; color:var(--concrete); line-height:1.5; margin-bottom:10px; }
.offer-list{ list-style:none; padding:0; margin:0; }
.offer-list li{ font-size:12px; color:var(--ink); padding:4px 0 4px 18px; position:relative; line-height:1.4; }
.offer-list li::before{ content:"✓"; position:absolute; left:0; color:var(--sage-dark); font-weight:700; }
.offer-list li.no::before{ content:"×"; color:var(--concrete); }
.offer-list li.no{ color:var(--concrete); }
.offer-tag{ display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:0.04em; background:var(--ink); color:var(--cream); padding:3px 8px; border-radius:999px; margin-bottom:8px; }
.m2-sub{ display:none; }
.m2-sub.on{ display:block; }

.price-band{ background: var(--sage-tint); border: 1px solid var(--sage); border-radius: 14px; padding: 20px; margin-bottom: 14px; text-align:center; }
.price-band .eyebrow{ color: var(--sage-dark); justify-content:center; }
.price-value{ font-family:'Manrope', sans-serif; font-size: 23px; font-weight:800; color: var(--accent); margin: 6px 0 2px; }
.price-sub{ font-size:11.5px; color: var(--concrete); font-family:'IBM Plex Mono', monospace;}

.lot-row{ margin-bottom: 12px; }
.lot-row:last-child{ margin-bottom:0; }
.lot-row-top{ display:flex; justify-content:space-between; gap:8px; font-size:12.5px; margin-bottom:5px; }
.lot-row-top .nm{ color:var(--ink); font-weight:600; min-width:0; }
.lot-row-top .amt{ font-family:'IBM Plex Mono',monospace; color:var(--concrete); font-size:11.5px; flex-shrink:0; white-space:nowrap; }
.lot-bar-track{ height:7px; background: var(--cream-2); border-radius:4px; overflow:hidden; }
.lot-bar-fill{ height:100%; background: var(--sage-dark); border-radius:4px; }

/* frise de statut du dossier permis */
.timeline{ position:relative; padding-left: 22px; margin-bottom:14px; }
.timeline::before{ content:""; position:absolute; left:6px; top:4px; bottom:4px; width:2px; background: var(--line); }
.tl-item{ position:relative; padding-bottom: 22px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-dot{ position:absolute; left:-22px; top:1px; width:14px; height:14px; border-radius:50%; background: var(--white); border: 2.5px solid var(--line); }
.tl-item.done .tl-dot{ background: var(--sage-dark); border-color: var(--sage-dark); }
.tl-item.active .tl-dot{ background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(194,78,44,0.15); }
.tl-title{ font-weight:700; font-size:13.5px; color: var(--ink); margin-bottom:2px; font-family:'Manrope',sans-serif; }
.tl-meta{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; color: var(--concrete); }
.tl-item.active .tl-title{ color: var(--accent); }

.timeline-row{ display:flex; align-items:center; gap:8px; padding:7px 0; }
.timeline-label{ width:84px; flex-shrink:0; font-size:11px; color:var(--ink); font-weight:600; line-height:1.3; }
.timeline-track{ flex:1; position:relative; height:10px; background:var(--cream-2); border-radius:5px; overflow:hidden; }
.timeline-fill{ position:absolute; top:0; height:100%; border-radius:5px; background:var(--concrete); }
.timeline-fill.attente{ background:var(--concrete); }
.timeline-fill.recu{ background:var(--accent); }
.timeline-fill.pret{ background:var(--sage-dark); }
.timeline-fill.gantt-a_venir{ background:var(--concrete); }
.timeline-fill.gantt-en_cours{ background:var(--sage-dark); }
.timeline-fill.gantt-termine{ background:var(--line); }
.timeline-fill.gantt-retard{ background:var(--accent); }
.timeline-row{ cursor:pointer; }
.gantt-badge{ font-family:'IBM Plex Mono',monospace; font-size:9px; padding:2px 7px; border-radius:7px; margin-left:6px; white-space:nowrap; }
.gantt-badge.gantt-retard{ background:var(--accent-tint); color:var(--accent); }
.gantt-badge.gantt-en_cours{ background:var(--sage-tint); color:var(--sage-dark); }
.gantt-badge.gantt-termine{ background:var(--cream-2); color:var(--concrete); }
.gantt-badge.gantt-a_venir{ background:var(--cream-2); color:var(--concrete); }
.photo-grid{ display:flex; flex-wrap:wrap; gap:8px; }
.photo-cell{ width:64px; height:64px; border-radius:10px; position:relative; overflow:hidden; background:var(--cream-2); }
.photo-cell img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-cell-date{ position:absolute; bottom:2px; left:3px; font-size:8.5px; font-family:'IBM Plex Mono',monospace; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,0.6); }
.mbtn{ font-family:'Manrope',sans-serif; font-weight:700; font-size:11.5px; padding:8px 12px; border-radius:9px; border:none; cursor:pointer; flex-shrink:0; }
.mbtn.ghost{ background:var(--white); color:var(--ink); border:1px solid var(--line); }
.timeline-dates{ width:70px; flex-shrink:0; text-align:right; font-family:'IBM Plex Mono',monospace; font-size:9.5px; color:var(--concrete); }

.dl-item{ display:flex; gap:12px; padding: 12px 0; border-bottom:1px solid var(--cream-2); }
.dl-item:last-child{ border-bottom:none; }
.dl-item > div:not(.dl-badge){ min-width:0; }
.dl-badge{ font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--sage-dark); background:var(--sage-tint); border-radius:8px; padding:5px 8px; height:fit-content; white-space:nowrap; }
.dl-t{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:var(--ink); margin-bottom:2px; min-width:0; }
.dl-s{ font-size:11.5px; color:var(--concrete); line-height:1.4; }
.gantt-track{ position:relative; height:7px; background:var(--cream-2); border-radius:4px; margin-top:7px; }
.gantt-bar{ position:absolute; top:0; height:100%; background:var(--sage-dark); border-radius:4px; min-width:4px; }
.gantt-bar.milestone{ width:9px; height:9px; top:-1px; border-radius:50%; background:var(--accent); }
.gantt-note{ font-size:11.5px; color:var(--concrete); line-height:1.5; margin-top:2px; }
.order-item{ display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--cream-2); font-size:12.5px; color:var(--ink); }
.order-item:last-child{ border-bottom:none; }
.onum{ width:22px; height:22px; border-radius:50%; background: var(--sage-tint); color: var(--sage-dark); font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dl-head-row{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.dl-cost{ font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; color:var(--accent); white-space:nowrap; flex-shrink:0; }
.dl-link{ font-family:'Manrope',sans-serif; font-size:11px; font-weight:700; color:var(--sage-dark); cursor:pointer; display:inline-flex; align-items:center; gap:3px; }

/* écran d'accueil */
.ob-hero{ background: var(--sage); border-radius:18px; padding:20px 20px 22px; margin-bottom:22px; }
.ob-hero .eyebrow{ color: var(--sage-dark); }
.ob-hero h1{ font-family:'Manrope',sans-serif; font-weight:800; font-size:24px; color:var(--ink); line-height:1.2; margin-bottom:8px; }
.ob-hero p{ font-size:13.5px; color:var(--ink); opacity:0.75; line-height:1.55; }
.steps-row{ display:flex; flex-direction:column; gap:8px; }
.ob-card{ background: var(--white); border:1px solid var(--line); border-radius:18px; padding:16px; margin-bottom:14px; text-decoration:none; color:inherit; position:relative; }
a.ob-card{ display:block; cursor:pointer; transition: border-color .15s; }
a.ob-card:active{ border-color: var(--sage-dark); }
.ob-top{ display:flex; gap:14px; align-items:center; }
.ob-illus{ width:56px; height:56px; flex-shrink:0; border-radius:14px; background:var(--sage-tint); display:flex; align-items:center; justify-content:center; }
.ob-num{ font-family:'IBM Plex Mono',monospace; font-size:10px; color: var(--sage-dark); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:3px; }
.ob-t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14.5px; color:var(--ink); margin-bottom:4px; }
.ob-s{ font-size:12px; color:var(--concrete); line-height:1.45; }
.ob-price{ display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; color: var(--accent); background: var(--accent-tint); padding:5px 10px; border-radius:999px; }
.ob-slogan{ text-align:center; font-family:'Manrope',sans-serif; font-weight:700; font-size:13.5px; color:var(--ink); margin: 6px 0 18px; line-height:1.4; }

/* études techniques annexes (RE2020, géotechnique, parasismique, assainissement) */
.etude-card{ background: var(--white); border:1.5px solid var(--line); border-radius:14px; padding:14px; margin-bottom:12px; }
.etude-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:7px; }
.etude-name{ font-family:'Manrope',sans-serif; font-weight:700; font-size:13.5px; color:var(--ink); }
.etude-desc{ font-size:11.5px; color:var(--concrete); line-height:1.5; margin-bottom:9px; }
.etude-price{ font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:12px; color:var(--accent); }
.etude-note{ background: var(--cream-2); border-radius:9px; padding:9px 11px; font-size:10.5px; color:var(--concrete); margin-top:9px; line-height:1.45; }

/* calculateur taxe d'aménagement */
.calc-row{ display:flex; gap:10px; margin-bottom:12px; }
.calc-field{ flex:1; }
.calc-field label{ display:block; font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:0.03em; color:var(--concrete); margin-bottom:6px; }
.calc-field input{ width:100%; background:var(--white); border:1.5px solid var(--sage-dark); border-radius:10px; padding:10px 11px; font-family:'IBM Plex Mono',monospace; font-size:16px; font-weight:600; color:var(--ink); }
.calc-field input:focus{ outline:none; border-color:var(--accent); }
.ta-result{ background:var(--sage-tint); border-radius:12px; padding:12px 14px; margin-top:6px; }
.ta-result .data-row{ border-bottom-color:rgba(108,135,112,0.2); }

.loader{ display:inline-block; width:14px; height:14px; border:2px solid var(--sage-tint); border-top-color: var(--sage-dark); border-radius:50%; animation: spin .7s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* inscription (écran 5) */
/* 16px (et non 13px) : en-dessous, Safari iOS zoome automatiquement la page au focus d'un champ
   (règle du navigateur, pas un bug à nous) et ne redézoome pas toujours tout seul ensuite — ce qui
   laissait l'appli affichée en zoom avant, avec du contenu coupé sur les écrans suivants. */
.text-field{ width:100%; background: var(--white); border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; font-size:16px; color:var(--ink); font-family:'Inter',sans-serif; margin-bottom:14px; }
.text-field:focus{ outline:none; border-color: var(--sage-dark); }
.privacy-note{ font-size:11px; color: var(--concrete); text-align:center; margin-top:10px; line-height:1.4; }
.privacy-note a{ color: var(--sage-dark); }

/* confirmation */
.confirm-card{ background: var(--sage-tint); border:1px solid var(--sage-dark); border-radius:18px; padding:30px 20px; text-align:center; margin-top: 20px; }
.confirm-ic{ width:48px; height:48px; border-radius:50%; background: var(--sage-dark); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.confirm-t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:16px; color:var(--ink); margin-bottom:6px; }
.confirm-s{ font-size:12.5px; color:var(--concrete); line-height:1.5; }

/* dashboard admin */
.admin-body{ background:#EDEAE0; min-height:100vh; font-family:'Inter',sans-serif; display:block; }
.admin-wrap{ max-width:760px; margin:0 auto; padding: 28px 20px 60px; }
.admin-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.admin-title{ font-family:'Manrope',sans-serif; font-weight:800; font-size:19px; color:var(--ink); }
.admin-logout{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--concrete); background:none; border:1px solid var(--line); border-radius:999px; padding:7px 13px; cursor:pointer; }
.login-card{ max-width:340px; margin: 80px auto; background:var(--white); border:1px solid var(--line); border-radius:18px; padding:26px; text-align:center; }
.prospect-row{ background:var(--white); border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:10px; }
.prospect-top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:6px; }
.prospect-name{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; color:var(--ink); }
.prospect-date{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--concrete); }
.prospect-meta{ font-size:12.5px; color:var(--concrete); line-height:1.5; }
.prospect-meta b{ color:var(--ink); }
.devis-del-x{ width:20px; height:20px; border-radius:50%; background:var(--accent-tint); color:var(--accent); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; cursor:pointer; flex-shrink:0; }
.admin-empty{ text-align:center; color:var(--concrete); font-size:13px; padding: 40px 0; }
.admin-tabs{ display:flex; gap:8px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.admin-tab{ padding:10px 4px; font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; color:var(--concrete); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; }
.admin-tab.on{ color:var(--ink); border-bottom-color:var(--accent); }
.dossier-row{ background:var(--white); border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:10px; }
.dossier-status{ display:inline-flex; font-family:'IBM Plex Mono',monospace; font-size:10px; padding:4px 9px; border-radius:999px; margin-top:4px; }
.dossier-status.attente{ background:var(--cream-2); color:var(--concrete); }
.dossier-status.recu{ background:var(--accent-tint); color:var(--accent); }
.dossier-status.pret{ background:var(--sage-tint); color:var(--sage-dark); }

.module-tabs{ display:flex; background:var(--cream-2); border-radius:11px; padding:3px; gap:3px; margin-bottom:16px; }
.module-tab{ flex:1; text-align:center; padding:9px 4px; border-radius:9px; font-size:12.5px; font-weight:700; font-family:'Manrope',sans-serif; color:var(--concrete); cursor:pointer; }
.module-tab.on{ background:var(--white); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.08); }

.version-row{ padding:12px 0; border-bottom:1px solid var(--cream-2); }
.version-row:last-child{ border-bottom:none; }
.version-top{ display:flex; align-items:center; gap:10px; }
.version-badge{ font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:11px; background:var(--sage-tint); color:var(--sage-dark); padding:4px 10px; border-radius:999px; }
.version-date{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--concrete); }
.version-note{ font-size:12.5px; color:var(--ink); margin-top:6px; line-height:1.4; }

/* budget / appels de fonds */
.budget-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:12px; }
.budget-stat{ background: var(--white); border:1px solid var(--line); border-radius:12px; padding:12px 8px; text-align:center; }
.budget-stat .bl{ font-family:'IBM Plex Mono',monospace; font-size:8.5px; text-transform:uppercase; color:var(--concrete); letter-spacing:0.03em; margin-bottom:5px; }
.budget-stat .bv{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; color:var(--ink); }
.budget-stat.paid .bv{ color:var(--sage-dark); }
.budget-progress-track{ height:10px; background: var(--cream-2); border-radius:5px; overflow:hidden; margin-bottom:6px; }
.budget-progress-fill{ height:100%; background: var(--sage-dark); border-radius:5px; }
.budget-progress-label{ display:flex; justify-content:space-between; gap:8px; font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--concrete); }

.appel-item{ display:flex; gap:12px; }
.appel-date{ width:46px; flex-shrink:0; text-align:center; background: var(--cream-2); border-radius:9px; padding:6px 0; height:fit-content; }
.appel-date .ad-day{ font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; color:var(--ink); line-height:1; }
.appel-date .ad-month{ font-family:'IBM Plex Mono',monospace; font-size:8px; color:var(--concrete); text-transform:uppercase; margin-top:2px; }
.appel-body{ flex:1; min-width:0; }
.appel-top{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.appel-lot{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:var(--ink); min-width:0; }
.appel-amt{ font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:13px; color:var(--ink); white-space:nowrap; flex-shrink:0; }
.appel-meta{ font-size:11px; color:var(--concrete); margin-top:3px; }
.appel-actions{ margin-top:8px; display:flex; gap:8px; flex-wrap:wrap; }
.mini-btn{ font-family:'Manrope',sans-serif; font-weight:700; font-size:10.5px; padding:6px 11px; border-radius:8px; background: var(--sage); color:var(--ink); border:none; cursor:pointer; }
.mini-btn.ghost{ background: var(--cream-2); color:var(--concrete); display:inline-flex; align-items:center; }

/* devis > rechercher un artisan */
.subtoggle{ display:flex; background: var(--cream-2); border-radius:11px; padding:3px; gap:3px; margin-bottom:16px; }
.subtoggle .sto{ flex:1; text-align:center; padding:9px 4px; border-radius:9px; font-size:11.5px; font-weight:700; color:var(--concrete); cursor:pointer; font-family:'Manrope',sans-serif; }
.subtoggle .sto.on{ background: var(--white); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.08); }

.loc-badge{ display:flex; align-items:center; gap:8px; background: var(--sage-tint); border-radius:11px; padding:11px 13px; margin-bottom:14px; font-size:11.5px; color:var(--ink); }
.manual-link{ display:flex; align-items:center; justify-content:center; gap:7px; font-family:'Manrope',sans-serif; font-weight:700; font-size:12px; color:var(--sage-dark); background:var(--sage-tint); border-radius:11px; padding:11px; margin-bottom:14px; cursor:pointer; }
.manual-form{ background:var(--white); border:1.5px dashed var(--sage-dark); border-radius:14px; padding:14px; margin-bottom:14px; }

.chip-grid{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.chip-opt{ padding:9px 13px; border-radius:999px; background: var(--cream-2); color:var(--concrete); font-size:11.5px; font-weight:600; font-family:'Manrope',sans-serif; cursor:pointer; }
.chip-opt.on{ background: var(--sage-dark); color: var(--white); }

.artisan-card{ background: var(--white); border:1.5px solid var(--line); border-radius:14px; padding:13px; margin-bottom:10px; display:flex; gap:11px; }
.artisan-card.sel{ border-color:var(--sage-dark); background:var(--sage-tint); }
.artisan-check{ width:20px; height:20px; border-radius:6px; border:1.5px solid var(--line); flex-shrink:0; margin-top:1px; background:var(--white); display:flex; align-items:center; justify-content:center; color:var(--white); font-size:12px; cursor:pointer; }
.artisan-check.on{ background: var(--sage-dark); border-color:var(--sage-dark); }
.artisan-info{ flex:1; min-width:0; }
.artisan-top2{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.artisan-name{ font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; color:var(--ink); min-width:0; }
.artisan-dist{ font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--concrete); white-space:nowrap; flex-shrink:0; }
.artisan-contact{ display:flex; flex-wrap:wrap; gap:9px; margin-top:5px; font-size:10.5px; color:var(--concrete); }
.artisan-rev-toggle{ font-family:'Manrope',sans-serif; font-weight:700; font-size:10.5px; color:var(--sage-dark); margin-top:7px; cursor:pointer; }
.artisan-rev-panel{ margin-top:7px; padding-top:7px; border-top:1px solid var(--cream-2); font-size:10.5px; color:var(--concrete); font-style:italic; line-height:1.4; }

.gg-row{ display:flex; align-items:center; gap:6px; margin-top:9px; }
.gg-stars{ color:#C08A2E; font-size:12px; letter-spacing:1px; }
.gg-score{ font-family:'Manrope',sans-serif; font-weight:800; font-size:12px; color:var(--ink); }
.gg-count{ font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--concrete); }

.selbar{ position:sticky; bottom:0; background:var(--white); border-top:1px solid var(--line); padding:12px 0 4px; margin-top:4px; }
.req-preview{ background: var(--cream-2); border-radius:12px; padding:12px 14px; font-size:11.5px; color:var(--ink); line-height:1.5; margin:14px 0 0; border-left:3px solid var(--sage-dark); }
.req-preview .ml{ font-family:'IBM Plex Mono',monospace; font-size:9px; color:var(--concrete); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:5px; }
.req-pj{ display:flex; align-items:center; gap:7px; background:var(--white); border:1px solid var(--line); border-radius:9px; padding:8px 10px; margin-top:8px; font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--ink); }

.sent-item{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--cream-2); }
.sent-item:last-child{ border-bottom:none; }
.sent-av{ width:32px; height:32px; border-radius:9px; background:var(--sage-dark); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:'Manrope',sans-serif; font-weight:800; font-size:11px; flex-shrink:0; }
.sent-body{ flex:1; min-width:0; }
.sent-top{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.sent-name{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:var(--ink); min-width:0; }
.sent-meta{ font-size:11px; color:var(--concrete); margin-top:2px; }

/* paiement Module 3 (Chantier) */
.pricecompare{ display:flex; gap:8px; margin-bottom:14px; }
.pc-opt{ flex:1; background: var(--white); border:1px solid var(--line); border-radius:12px; padding:12px 10px; text-align:center; }
.pc-opt .nm{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; color:var(--concrete); text-transform:uppercase; letter-spacing:0.04em; }
.pc-opt .pr{ font-family:'Manrope',sans-serif; font-weight:800; font-size:19px; color:var(--accent); margin-top:3px; }

.msg-row{ margin-bottom:14px; }
.msg-row:last-child{ margin-bottom:0; }
.msg-meta{ font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--concrete); margin-bottom:4px; }
.msg-bubble{ font-size:13px; line-height:1.5; color:var(--ink); background:var(--cream-2); border-radius:12px; padding:10px 13px; display:inline-block; max-width:100%; }
.msg-row.tahina .msg-bubble{ background:var(--sage-tint); }

/* accueil compact : tout tient sans scroll, ABC inclus */
.page-home .topbar{ padding: 12px 20px 10px; }
.page-home .screen{ padding: 12px 20px 16px; display:flex; flex-direction:column; gap:8px; }
.page-home .ob-hero{ padding: 12px 16px; margin-bottom:0; }
.page-home .ob-hero h1{ font-size:17px; margin-bottom:3px; }
.page-home .ob-hero p{ font-size:11.5px; line-height:1.35; }
.page-home .btn.dark{ padding:11px; font-size:13px; }
.page-home .ob-card{ padding:9px 11px; margin-bottom:0; }
.page-home .ob-top{ gap:10px; }
.page-home .ob-illus{ width:36px; height:36px; border-radius:11px; }
.page-home .ob-num{ font-size:9px; margin-bottom:1px; }
.page-home .ob-t{ font-size:12.5px; margin-bottom:1px; }
.page-home .ob-s{ font-size:10.5px; line-height:1.3; }
.page-home .ob-price{ font-size:10px; padding:3px 8px; margin-top:4px; }
.page-home .ob-slogan{ display:none; }
.page-home .abc-teaser{ padding:12px 14px; margin:2px 0 0; }
.page-home .abc-badge{ width:30px; height:30px; font-size:13px; top:10px; right:10px; border-radius:8px; }
.page-home .at-eyebrow{ margin-bottom:3px; }
.page-home .at-t{ font-size:14px; margin-bottom:3px; }
.page-home .at-s{ font-size:10.5px; margin-bottom:8px; line-height:1.35; }
.page-home .abc-teaser .btn{ padding:10px; font-size:12.5px; }

/* écran de consentement (tout premier écran) */
.consent-screen{ display:none; flex-direction:column; flex:1; min-height:0; }
.consent-screen.show{ display:flex; }
.consent-block{ background: var(--white); border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:12px; }
.consent-block .cb-t{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.consent-block .cb-name{ font-family:'Manrope',sans-serif; font-weight:800; font-size:13px; color:var(--ink); }
.consent-required{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:0.04em; color:var(--concrete); background:var(--cream-2); padding:4px 9px; border-radius:999px; flex-shrink:0; }
.consent-block .cb-s{ font-size:12px; color:var(--concrete); line-height:1.5; }
.consent-switch{ width:42px; height:24px; border-radius:999px; background:var(--sage-dark); position:relative; cursor:pointer; flex-shrink:0; transition:background .15s; }
.consent-switch::after{ content:""; position:absolute; top:3px; left:21px; width:18px; height:18px; border-radius:50%; background:var(--white); transition:left .15s; }
.consent-switch.off{ background:var(--line); }
.consent-switch.off::after{ left:3px; }

/* témoignages (accueil) */
.testi-card{ background: var(--white); border:1px solid var(--line); border-radius:14px; padding:15px; margin-bottom:12px; }
.testi-stars{ color:#C08A2E; font-size:13px; letter-spacing:2px; margin-bottom:6px; }
.testi-txt{ font-size:12.5px; color:var(--ink); line-height:1.55; margin-bottom:8px; }
.testi-author{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--concrete); }

/* teaser guide ABC (accueil) */
.abc-teaser{ background: var(--ink); border-radius:18px; padding:18px; margin: 4px 0 18px; position:relative; overflow:hidden; text-decoration:none; display:block; flex-shrink:0; }
.abc-teaser .at-eyebrow{ font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color: var(--sage); margin-bottom:6px; }
.abc-teaser .at-t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:17px; color: var(--cream); margin-bottom:5px; }
.abc-teaser .at-s{ font-size:12px; color: rgba(248,243,231,0.7); line-height:1.5; margin-bottom:14px; }
.abc-badge{ position:absolute; top:16px; right:16px; width:40px; height:40px; border-radius:11px; background: var(--sage); display:flex; align-items:center; justify-content:center; font-family:'Manrope',sans-serif; font-weight:800; font-size:17px; color:var(--ink); }

/* page du guide (ebook) */
.book-cover{ background: var(--ink); border-radius:18px; padding:26px 20px; text-align:center; margin-bottom:18px; position:relative; overflow:hidden; }
.book-cover .bc-mark{ width:44px; height:44px; border-radius:12px; background: var(--sage); display:flex; align-items:center; justify-content:center; font-family:'Manrope',sans-serif; font-weight:800; font-size:19px; color:var(--ink); margin:0 auto 14px; }
.book-cover h1{ font-family:'Manrope',sans-serif; font-weight:800; font-size:22px; color:var(--cream); line-height:1.2; margin-bottom:8px; }
.book-cover p{ font-size:12.5px; color: rgba(248,243,231,0.65); line-height:1.5; }
.book-cover .bc-tag{ display:inline-block; margin-top:12px; font-family:'IBM Plex Mono',monospace; font-size:10px; color: var(--sage); background: rgba(143,168,144,0.15); padding:5px 10px; border-radius:999px; }
.chapter-divider{ display:flex; align-items:center; gap:10px; margin: 24px 0 12px; }
.chapter-num{ width:32px; height:32px; border-radius:10px; background: var(--sage-dark); color:var(--white); font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.chapter-title{ font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; color:var(--ink); }
.book-p{ font-size:12.5px; color:var(--ink); line-height:1.65; margin-bottom:10px; }
.book-p b{ color:var(--ink); }
.callout{ background: var(--sage-tint); border-left:3px solid var(--sage-dark); border-radius:10px; padding:12px 14px; margin:12px 0; font-size:12px; color:var(--ink); line-height:1.55; }
.callout .cl-t{ font-family:'IBM Plex Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.05em; color:var(--sage-dark); margin-bottom:5px; font-weight:700; }
.callout.word{ background: var(--cream-2); border-left-color: var(--accent); }
.callout.word .cl-t{ color: var(--accent); }
.callout.number{ background: var(--accent-tint); border-left-color: var(--accent); }
.callout.number .cl-t{ color: var(--accent); }
.callout.number .cl-big{ font-family:'Manrope',sans-serif; font-weight:800; font-size:20px; color: var(--accent); margin: 2px 0 4px; }

/* ===== Version large (ordinateur) — parcours prospect uniquement =====
   Portée via body.wide-page (posé sur index/etude/permis/guide/mentions-cgv-...) : au-delà de
   860px de large, le cadre "téléphone" laisse place à une page web classique, centrée, avec une
   vraie barre de navigation pleine largeur. En dessous de ce seuil (mobile/tablette étroite),
   rien ne change — même expérience qu'avant. Les pages non listées (espace client, dossier,
   chantier, admin...) ne portent pas cette classe et gardent le cadre téléphone à toute largeur. */
@media (min-width: 860px) {
  body.wide-page{
    display:block;
    min-height:100vh;
    background: var(--cream);
    background-image:none;
  }
  body.wide-page .phone{
    width:100%; max-width:1080px; height:auto; min-height:100vh; max-height:none;
    margin:0 auto; border:none; border-radius:0; box-shadow:none; background:transparent;
  }
  body.wide-page .topbar{
    padding:22px 48px; display:flex; align-items:center; justify-content:space-between;
  }
  body.wide-page .stepline{ margin-top:0; gap:20px; }
  body.wide-page .step{ flex:none; min-width:110px; }
  body.wide-page .screen{
    max-width:720px; margin:0 auto; padding:48px 24px 100px; overflow:visible;
  }
  body.wide-page .phone.page-home .screen{ max-width:960px; }
  body.wide-page .phone.page-home .topbar{ padding:22px 48px; }

  body.wide-page .ob-hero{ padding:40px 44px; }
  body.wide-page .ob-hero h1{ font-size:30px; }
  body.wide-page .ob-hero p{ font-size:14.5px; max-width:520px; }
  body.wide-page a.btn.dark{ max-width:280px; }

  body.wide-page .steps-row{ flex-direction:row; gap:18px; margin-top:6px; }
  body.wide-page .steps-row .ob-card{ flex:1; }
  body.wide-page .steps-row .ob-top{ flex-direction:column; align-items:flex-start; gap:10px; }

  body.wide-page .abc-teaser{ padding:32px 36px; }
  body.wide-page .abc-teaser .at-t{ font-size:22px; }
  body.wide-page .abc-teaser .at-s{ max-width:520px; }
  body.wide-page .abc-teaser .btn{ width:auto; padding:12px 26px; display:inline-block; }

  body.wide-page .book-cover{ padding:44px 40px; }
  body.wide-page .book-cover h1{ font-size:30px; }
  body.wide-page .book-p{ font-size:14px; max-width:640px; }
}

/* ============ Exemples de plans (gabarits, étape 1p de l'Étude) — porté du prototype ============ */
.gab-wrap{ --g-vie:#E4EBDF; --g-nuit:#FFFFFF; --g-serv:#F2ECDD; --g-circ:#F7F2E6; --g-gar:#ECE6D6; --g-furn:#B9B29C; --g-patio:#EEF0E2; }
.gchips{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin-bottom:10px; padding-bottom:2px; }
.gchips::-webkit-scrollbar{ display:none; }
.gchip{ flex-shrink:0; padding:7px 12px; border-radius:999px; border:1.5px solid var(--line); background:var(--white); font-family:'Manrope',sans-serif; font-weight:700; font-size:12px; color:var(--concrete); cursor:pointer; }
.gchip.on{ border-color:var(--ink); background:var(--ink); color:var(--cream); }
.gab-card{ background:var(--white); border:1px solid var(--line); border-radius:16px; padding:10px 10px 12px; margin-bottom:12px; }
.gab-lvl{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--concrete); margin:4px 0 2px 4px; }
.gab-figs{ display:flex; gap:6px; margin-top:8px; }
.gab-figs div{ flex:1; background:var(--cream); border-radius:10px; padding:7px 9px; }
.gab-figs span{ display:block; font-family:'IBM Plex Mono',monospace; font-size:9px; text-transform:uppercase; letter-spacing:.05em; color:var(--concrete); }
.gab-figs b{ font-family:'Manrope',sans-serif; font-size:15px; }
.gab-pros{ margin:10px 0 0; padding-left:16px; font-size:12px; color:var(--ink); line-height:1.5; }
.gab-surf{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; background:var(--cream-2); border-radius:11px; padding:6px 6px 6px 12px; font-size:12px; color:var(--concrete); }
.gab-surf b{ font-family:'IBM Plex Mono',monospace; color:var(--ink); font-size:13px; }
.gab-surf .sb{ width:28px; height:28px; border-radius:8px; background:var(--white); display:inline-flex; align-items:center; justify-content:center; font-weight:700; cursor:pointer; margin-left:4px; }
.gab-cta{ background:var(--ink); color:var(--cream); border-radius:16px; padding:16px; margin-top:4px; }
.gab-cta .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:16px; line-height:1.25; margin-bottom:6px; }
.gab-cta .s{ font-size:12px; opacity:.8; line-height:1.5; margin-bottom:12px; }
.gab-cta .btn{ background:var(--sage); color:var(--ink); }
.chosen-plan{ display:flex; gap:12px; align-items:center; background:var(--white); border:1.5px solid var(--sage-dark); border-radius:14px; padding:10px; margin-bottom:14px; }
.chosen-plan .mini{ width:120px; flex-shrink:0; }
.chosen-plan .ct{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; }
.chosen-plan .cs{ font-size:11.5px; color:var(--concrete); line-height:1.45; margin-top:3px; }
.gab-room-small text{ fill:var(--accent) !important; }

/* ============ Dossiers réalisés (galerie plein écran) — porté du prototype ============ */
.real-entry{ display:flex; gap:12px; align-items:center; background:var(--white); border:1px solid var(--line); border-radius:14px; padding:12px; margin:2px 0 14px; cursor:pointer; }
.real-entry .stack{ position:relative; width:76px; height:56px; flex-shrink:0; }
.real-entry .stack img{ position:absolute; width:62px; height:44px; object-fit:cover; border-radius:6px; border:2px solid var(--white); box-shadow:0 2px 6px rgba(0,0,0,.15); }
.real-entry .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; }
.real-entry .s{ font-size:11.5px; color:var(--concrete); line-height:1.4; margin-top:2px; }
.real-entry .go{ margin-left:auto; color:var(--sage-dark); font-weight:800; font-size:18px; }
#realis{ position:absolute; inset:0; z-index:60; background:var(--cream); display:none; flex-direction:column; }
#realis.show{ display:flex; }
.rl-head{ display:flex; align-items:center; gap:10px; padding:38px 16px 12px; border-bottom:1px solid var(--line); background:var(--cream); flex-shrink:0; }
.rl-head .x{ width:32px; height:32px; border-radius:50%; background:var(--white); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:16px; flex-shrink:0; }
.rl-head .ht{ font-family:'Manrope',sans-serif; font-weight:800; font-size:16px; line-height:1.2; }
.rl-head .hs{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; color:var(--concrete); text-transform:uppercase; letter-spacing:.06em; }
.rl-body{ flex:1; min-height:0; overflow-y:auto; padding:14px 16px 30px; scrollbar-width:none; }
.rl-card{ background:var(--white); border:1px solid var(--line); border-radius:16px; overflow:hidden; margin-bottom:14px; cursor:pointer; }
.rl-card img{ display:block; width:100%; aspect-ratio:1.414; object-fit:cover; object-position:left top; border-bottom:1px solid var(--line); }
.rl-card .in{ padding:12px 14px; }
.rl-card .t{ font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; margin-bottom:6px; }
.rl-chips{ display:flex; flex-wrap:wrap; gap:5px; }
.rl-chips span{ font-family:'IBM Plex Mono',monospace; font-size:10px; padding:4px 8px; border-radius:999px; background:var(--cream-2); color:var(--ink); }
.rl-note{ font-size:11px; color:var(--concrete); line-height:1.5; }
.rl-view{ flex:1; min-height:0; display:flex; flex-direction:column; }
.rl-img{ flex:1; min-height:0; overflow:auto; background:#E9E4D6; display:flex; align-items:center; scrollbar-width:thin; }
.rl-img img{ display:block; width:100%; height:auto; cursor:zoom-in; }
.rl-img.zoom{ align-items:flex-start; }
.rl-img.zoom img{ width:260%; max-width:none; cursor:zoom-out; }
.rl-cap{ padding:10px 16px 6px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.rl-cap .pt{ font-family:'Manrope',sans-serif; font-weight:800; font-size:13.5px; }
.rl-cap .pn{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--concrete); }
.rl-nav{ display:flex; gap:8px; padding:0 16px 16px; flex-shrink:0; }
.rl-nav .btn{ padding:11px; font-size:13px; }
.rl-thumbs{ display:flex; gap:6px; overflow-x:auto; padding:0 16px 10px; scrollbar-width:none; flex-shrink:0; }
.rl-thumbs img{ width:58px; height:41px; object-fit:cover; object-position:left top; border-radius:5px; border:2px solid transparent; cursor:pointer; flex-shrink:0; }
.rl-thumbs img.on{ border-color:var(--ink); }

/* ============ Votre dossier 1/2 (choix du plan de départ + calage) et précisions — porté du prototype ============ */
.source-chip-row{ display:flex; gap:8px; margin-bottom:14px; }
.schip{ flex:1; text-align:center; padding:10px 6px; border-radius:11px; background: var(--cream-2); font-size:11.5px; font-weight:700; color:var(--concrete); border:1.5px solid transparent; cursor:pointer; }
.schip.on{ background: var(--sage-tint); color:var(--sage-dark); border-color:var(--sage-dark); }
.sketch-thumb{ display:flex; align-items:center; gap:12px; background: var(--white); border:1px solid var(--line); border-radius:14px; padding:12px; margin-bottom:14px; }
.sketch-thumb .timg{ width:56px; height:56px; border-radius:10px; background: var(--cream-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sketch-thumb .tt{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:var(--ink); }
.sketch-thumb .ts{ font-size:11px; color:var(--concrete); margin-top:2px; }
.layer-card{ background: var(--ink); border-radius: 14px; height: 190px; position:relative; overflow:hidden; margin-bottom: 10px; }
.layer-sketch{ position:absolute; inset:0; opacity:0.6; }
.opacity-row{ display:flex; align-items:center; gap:10px; margin-bottom:14px; font-size:10.5px; color:var(--concrete); font-family:'IBM Plex Mono',monospace; }
.opacity-track{ flex:1; height:4px; background: var(--line); border-radius:2px; position:relative; }
.opacity-fill{ position:absolute; left:0; top:0; bottom:0; width:55%; background: var(--sage-dark); border-radius:2px; }
.opacity-handle{ position:absolute; left:55%; top:50%; transform:translate(-50%,-50%); width:14px; height:14px; border-radius:50%; background: var(--white); border:2px solid var(--sage-dark); }
.check-row{ display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--cream-2); font-size:12.5px; color:var(--ink); }
.check-row:last-child{ border-bottom:none; }
.vec-compare{ display:flex; gap:8px; margin:10px 0 4px; }
.vec-box{ flex:1; background: var(--cream-2); border-radius:10px; padding:8px; text-align:center; }
.vec-box .vl{ font-family:'IBM Plex Mono',monospace; font-size:9px; text-transform:uppercase; color:var(--concrete); margin-bottom:6px; letter-spacing:0.04em;}
.swatch-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.swatch{ width:34px; height:34px; border-radius:9px; border:2px solid transparent; cursor:pointer; }
.swatch.sel{ border-color: var(--ink); box-shadow: 0 0 0 2px var(--white) inset; }
.locked-note{ font-size:10.5px; color:var(--sage-dark); margin-top:6px; display:flex; align-items:center; gap:5px; }
