body{background:transparent}#sim{max-width:1050px;margin:auto;padding:18px;position:relative;isolation:isolate;border-radius:28px;overflow:hidden;background:radial-gradient(ellipse at 2% 5%,#f6d8c0 0,transparent 45%),radial-gradient(ellipse at 100% 20%,#d1e4ce 0,transparent 53%),radial-gradient(ellipse at 65% 90%,#e0d9ef 0,transparent 55%),#f5f0e9;box-shadow:inset 0 1px 2px #fff}header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.brand{display:flex;align-items:center;gap:5px;font-weight:850;font-size:19px;letter-spacing:-.045em;color:#202e27}.tag{padding:6px 11px;background:#ffffff9a;border-radius:99px;color:#42574b;font-size:12px;font-weight:650;white-space:nowrap}#progress{margin-bottom:18px}.track{height:5px;background:#d6dcd2;border-radius:20px;margin-top:7px;overflow:hidden}.track i{display:block;height:100%;background:#c8490c;border-radius:20px;transition:width .2s}.intro{margin-bottom:16px}.intro p{margin-top:7px;color:#4d6257}.glass{background:linear-gradient(145deg,#ffffffb8,#ffffff55);border-radius:24px;padding:14px;box-shadow:0 10px 30px #4e5e4610,inset 0 1px 0 #ffffffda;backdrop-filter:blur(12px)}.mode{background:#fff7;border-radius:22px;padding:4px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.mode button{background:transparent;border-radius:18px;font-size:14px;min-height:46px;padding:7px 4px}.mode button[aria-pressed=true]{background:#fff;box-shadow:0 3px 12px #43564118;font-weight:800}.roompick{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.roomtile{background:#ffffff8c;padding:5px 5px 10px;border-radius:22px;display:flex;flex-direction:column;align-items:center;font-size:14px;font-weight:720;min-height:100px;line-height:1.2;position:relative}.roomtile svg{width:100%;height:68px}.roomtile .plus{position:absolute;right:5px;top:5px;border-radius:50%;background:#fff;display:grid;place-items:center;width:25px;height:25px;font-size:19px;color:#42684d;box-shadow:0 2px 6px #0001}.roomline{padding:10px 0;border-bottom:1px solid #55755c20}.roomline:last-child{border:0}.roomline .secondary{min-width:44px;padding:8px}.roomline input{width:80px;text-align:center}.roomline details input{width:100%;text-align:left}.preview{display:grid;align-content:start;gap:8px}.scene{width:100%;max-height:210px}.surface-number{font-size:32px;line-height:1.1}.surfacebar{background:#243c32;color:#fff;padding:14px 16px;border-radius:23px;display:flex;align-items:center;justify-content:space-between;gap:10px}.surfacebar small,.dark small{color:#e1e9e1}.photochoice{display:grid;grid-template-columns:100px 1fr 22px;gap:12px;text-align:left;align-items:center;padding:7px 11px 7px 7px;border-radius:23px;background:#ffffffa0;min-height:92px;width:100%}.photochoice img{height:78px;border-radius:17px}.photochoice[aria-pressed=true]{background:#d8e6d3;box-shadow:inset 0 0 0 1px #58775b}.photochoice .dot{font-size:19px;text-align:center;color:#315b40}.photochoice small{display:block;margin-top:3px}.dark{background:radial-gradient(ellipse at 105% 0,#708765 0,transparent 65%),linear-gradient(135deg,#20372e,#354e3e);color:white;border-radius:29px;padding:19px;box-shadow:0 12px 25px #253c3023}.dark .price{font-size:clamp(37px,7vw,54px);line-height:1.05;margin:6px 0}.range{font-size:18px;font-weight:650}.resultscene{height:120px;width:100%;margin-top:4px}.swatch{width:38px;height:38px;border-radius:50%;box-shadow:0 2px 6px #0002,inset 0 1px 0 #fff8;font-weight:800;color:#24362b}.swatch[aria-pressed=true]{outline:2px solid #35553e;outline-offset:3px}.bars{height:9px;background:#cddacf;border-radius:10px;overflow:hidden;margin-top:3px}.bars i{display:block;height:100%;background:#67886d;border-radius:10px}.resultgrid{display:grid;gap:12px}.resultgrid .glass{padding:13px}.resultmeta{font-size:14px}.opt{padding:13px;background:#f9fff4a8;border-radius:20px}.footerlinks{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.textbtn{min-height:44px;padding:8px 4px;background:transparent;color:#365b45;font-weight:650;font-size:14px}.cta{width:100%;font-size:16px}.cta-note{text-align:center;font-size:13px;color:#4d6257;margin-top:5px}#nav{display:flex;gap:8px;margin-top:14px}#errors{margin-top:12px}.live{font-size:14px;padding:9px 13px;background:#ffffff88;border-radius:15px}.fineprint{font-size:13px;color:#4d6257}.twocol{display:grid;gap:14px}.optionline{display:grid;grid-template-columns:1fr 90px;align-items:center;gap:10px;margin:6px 0}.kicker{color:#8f390d;font-size:12px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.tinygrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tinygrid .choice{font-size:14px}.selected-label{font-size:13px;color:#3b5f48}.visual-caption{text-align:center;font-size:12px;color:#52665a}.resultsummary{display:flex;gap:8px;flex-wrap:wrap;font-size:13px}.resultsummary span{border-radius:20px;background:#ffffffa0;padding:5px 9px}.desktoponly{display:none}@media(min-width:700px){#sim{padding:26px}.twocol{grid-template-columns:1.15fr .85fr;align-items:start;gap:24px}.resultgrid{grid-template-columns:1fr 1fr;align-items:start;gap:18px}.resultgrid>.full{grid-column:1/-1}.scene{max-height:300px}.roomtile svg{height:95px}.roomtile{min-height:130px}.desktoponly{display:block}.resultscene{height:160px}.photochoice{grid-template-columns:130px 1fr 22px}.photochoice img{height:88px}#nav{max-width:480px;margin-left:auto}.surfacebar{padding:16px}}@media(max-width:390px){#sim{padding:13px;border-radius:23px}.brand{font-size:18px}.glass{padding:11px}.photochoice{grid-template-columns:87px 1fr 18px;gap:8px}.photochoice img{height:74px}.roomtile{font-size:13px}.tag{font-size:11px}.dark{padding:15px}.resultscene{height:102px}}
/* Compact mobile layout: keep decision and CTA close to the answer. */
@media(max-width:699px){#sim[data-step="4"] header{margin-bottom:8px}#sim[data-step="4"] #progress{margin-bottom:10px}#sim[data-step="4"] .resultgrid{gap:9px}#sim[data-step="4"] .stack{gap:8px}#sim[data-step="4"] .dark{padding:14px 15px}#sim[data-step="4"] .resultscene{height:74px}#sim[data-step="4"] .dark .price{font-size:38px}#sim[data-step="4"] .colors{justify-content:space-between}#sim[data-step="4"] .swatch{width:34px;height:34px}#sim[data-step="4"] .budgetdetail{padding:10px 12px}#sim[data-step="4"] .bars{height:6px}#sim[data-step="4"] .opt{padding:9px 12px}#sim[data-step="4"] .opt p{margin:0}#sim[data-step="4"] details{padding:0}#sim[data-step="4"] .cta{font-size:15px;line-height:1.3;min-height:52px;padding:13px 15px}#sim[data-step="4"] .footerlinks{gap:3px}#sim[data-step="4"] .textbtn{font-size:13px}#sim[data-step="1"] .intro{margin-bottom:10px}#sim[data-step="1"] .roomtile{min-height:84px;border-radius:17px}#sim[data-step="1"] .roomtile svg{height:49px}#sim[data-step="1"] .roomline{padding:4px 0}#sim[data-step="1"] .roomline details{padding:0}#sim[data-step="1"] .preview{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:6px}#sim[data-step="1"] .preview>.row,#sim[data-step="1"] .preview>#floorNote{grid-column:1/-1}#sim[data-step="1"] .preview .surfacebar{padding:10px;display:block}#sim[data-step="1"] .preview .surface-number{font-size:26px}#sim[data-step="1"] .preview #surfaceParts br{display:none}#sim[data-step="1"] .preview #surfaceParts{font-size:12px}#sim[data-step="1"] .preview #scene{align-self:center}#sim[data-step="1"] .preview #scene svg{height:auto}#sim[data-step="3"] .scene{max-height:130px}}
@media(max-width:699px){#sim[data-step="4"] .resultscene{height:64px}#sim[data-step="4"] .swatch{width:42px;height:42px}#sim[data-step="4"] .colors{gap:4px}#sim[data-step="4"] .colors .row{gap:5px}#sim[data-step="4"] .dark{padding:12px 15px}}
/* V2 — espace disponible, ouverture des métrés et commandes lisibles */
.brand-logo{width:158px;max-width:100%;height:auto;max-height:38px;object-fit:contain;object-position:left center}.brand-fallback{font-weight:750}.twocol,.resultgrid{grid-template-columns:minmax(0,1fr)}.twocol>*,.resultgrid>*,.stack,.roomline,.glass,.field{min-width:0}.roomline .check input[type=checkbox],.roomline details .check input[type=checkbox]{width:21px;height:21px;padding:0;flex:0 0 21px}.roomline .field input{width:100%;text-align:left}.roomline .room-title{margin-bottom:5px}.roomline details .choice{font-size:14px;padding:8px 6px}.roomline details summary{font-size:14px}.roomline details .stack{gap:9px;padding-bottom:8px}.roomcount{font-size:12px;color:#365b45;font-weight:650;margin-top:3px}.empty-project{padding:10px 12px;color:#4d6257;background:#ffffff8c;border-radius:16px;font-size:14px}.opening-grid{display:grid;gap:7px}.opening-row{display:flex;justify-content:space-between;align-items:center;gap:5px}.opening-row span{min-width:0}.opening-row small{display:block;font-size:12px}.counter{display:flex;align-items:center;gap:3px;flex-shrink:0}.counter button{width:44px;height:44px;border-radius:14px;background:#dce7d7;font-weight:750;font-size:20px}.roomline details .counter input{width:40px;padding:7px 2px;text-align:center;min-height:44px}.opening-total,.trim-box{background:#e2ebdf;border-radius:16px;padding:10px 12px;color:#2e4938}.age-choices .choice{font-size:14px;padding:8px 5px}.roomtile:disabled .roomcount{color:#26382f}.roomtile:disabled{opacity:.72}.roomline{padding:12px 0!important}.roomline details .field{font-size:14px}.roomline details .field input{font-size:16px}.roomline .check{min-height:40px}.roomline .check input{margin:0}.roomline input[aria-label^="Surface"]{min-height:44px}#sim[data-step="1"] .preview>.row{flex-wrap:wrap}#sim[data-step="1"] .preview .surfacebar{min-width:0}.surfacebar .surface-number{overflow-wrap:anywhere}.roomline .field input,.trim-box input{min-height:44px}@media(min-width:700px){.twocol{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.resultgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:699px){#sim[data-step="1"] .preview{grid-template-columns:minmax(0,104px) minmax(0,1fr)}.roomline details summary{min-height:44px}.roomtile{padding-bottom:8px}}@media(max-width:350px){.opening-row .counter button{width:44px}.opening-row .counter input{width:34px!important}.opening-row strong{font-size:14px}}
