:root{color-scheme:light;--ink:#15232d;--muted:#62717a;--accent:#e2b383;--line:#dce2e5;--paper:#f5f7f8;--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;font:16px/1.5 var(--sans);color:var(--ink);background:var(--paper)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #5384a5;outline-offset:4px}button svg,.private svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.skip{position:fixed;top:-60px;left:16px;z-index:100;background:white;padding:10px}.skip:focus{top:10px}.tour-app{min-height:100dvh;height:100dvh;display:flex;flex-direction:column}.header{min-height:82px;padding:16px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--line);z-index:5}.brand{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none}.brand>svg{width:39px;height:39px;fill:none;stroke:var(--ink);stroke-width:1.4;stroke-linecap:round}.brand strong{font:22px/1.2 var(--serif);font-weight:normal;display:block}.brand small{display:block;font-size:12px;letter-spacing:.18em;margin-top:5px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:16px}.private{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:14px}.private svg{width:15px;height:15px}.guided-button{display:flex;align-items:center;gap:8px;background:var(--ink);color:#fff;min-height:44px;padding:10px 16px;border-radius:6px;font-size:14px}.guided-button[aria-pressed=true]{background:#7d5135}.guided-button svg{height:19px;width:19px}.icon-button{display:grid;place-items:center;background:transparent;width:44px;height:44px;border:1px solid var(--line);border-radius:6px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;flex:1;min-height:0}.view-column{display:flex;flex-direction:column;min-width:0;min-height:0;padding:20px 22px 16px}.viewer{position:relative;flex:1;min-height:280px;overflow:hidden;border-radius:8px;background:#132129;isolation:isolate;touch-action:pan-y;user-select:none}.backdrop{position:absolute;inset:-45px;background-position:center;background-size:cover;filter:blur(30px) brightness(.43);opacity:.75;z-index:-1}.scene-surface{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:50% 50%;will-change:transform}.scene-surface>img{display:block;width:100%;height:100%;object-fit:contain;opacity:1;transition:opacity .25s ease;pointer-events:none}.scene-surface.transitioning>img{opacity:0}.scene-surface.transitioning>.hotspots{visibility:hidden}.scene-surface.zoomed{cursor:grab}.scene-surface.dragging{cursor:grabbing}.view-top{position:absolute;top:18px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2;pointer-events:none}.view-top span{color:white;background:rgba(14,26,35,.72);border:1px solid #ffffff30;padding:6px 10px;border-radius:4px;font-size:12px;letter-spacing:.13em}.view-top span+span{letter-spacing:0;color:#e7edef}.hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 13px 5px 5px;background:rgba(18,32,42,.88);color:#fff;border:1px solid #ffffff94;border-radius:50px;font-size:14px;box-shadow:0 4px 22px #0003;pointer-events:auto;white-space:nowrap;transition:background .2s,box-shadow .2s}.hotspot>span:first-child{width:30px;height:30px;display:grid;place-items:center;background:var(--accent);color:#182631;border-radius:50%;font-size:22px;font-weight:400;line-height:1}.hotspot:hover{background:#263f50;box-shadow:0 0 0 5px #ffffff25}.hotspots.hidden{visibility:hidden}.viewer-tools{position:absolute;bottom:18px;right:18px;display:flex;align-items:center;padding:3px;border:1px solid #ffffff30;background:rgba(14,26,35,.86);border-radius:6px;z-index:3;gap:1px;color:white}.tool{background:transparent;color:inherit;display:grid;place-items:center;width:42px;height:42px;border-radius:3px}.tool:hover,.zoom-value:hover{background:#ffffff20}.zoom-value{background:none;color:white;font-size:14px;min-width:58px;height:42px}.tool-divider{width:1px;height:20px;background:#ffffff30;margin:0 5px}.view-hint{position:absolute;bottom:20px;left:20px;padding:6px 10px;background:#0e1a23ba;color:#fff;font-size:13px;border-radius:4px;margin:0;pointer-events:none}.scene-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 6px}.scene-title{display:flex;align-items:center;gap:16px;min-width:0}.scene-title>span{font:38px/1 var(--serif);color:#89949b;border-right:1px solid #bdc8ce;padding-right:17px}.scene-title small{display:block;color:var(--muted);font-size:12px;letter-spacing:.13em}.scene-title h1{font:25px/1.2 var(--serif);margin:3px 0 0;font-weight:400}.step-actions{display:flex;gap:10px;align-items:center;flex:none}.step{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:50%}.step:hover{background:#e8eef1}.step-actions>span{font-size:14px;color:var(--muted);min-width:38px;text-align:center}.scene-description{font-size:14px;color:var(--muted);margin:0 0 0 62px;min-height:21px}.navigator{background:white;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow:hidden}.nav-heading{display:flex;align-items:center;justify-content:space-between;padding:26px 20px 20px;gap:15px}.nav-heading small,.plan-header small{font-size:12px;letter-spacing:.15em;color:var(--muted)}.nav-heading h2{font:23px/1.15 var(--serif);margin:7px 0 0}.house-count{font-size:12px;color:var(--muted);text-align:right;white-space:nowrap;padding-top:18px;line-height:1.7}.level-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 12px;gap:2px}.level-tabs button{position:relative;background:none;font-size:14px;color:var(--muted);padding:12px 7px;white-space:nowrap}.level-tabs button[aria-selected=true]{color:var(--ink);font-weight:600}.level-tabs button[aria-selected=true]:after{content:'';position:absolute;left:7px;right:7px;bottom:-1px;height:3px;background:var(--ink)}.room-list{overflow:auto;flex:1;padding:15px 12px;min-height:0;scrollbar-width:thin}.room{display:flex;width:100%;align-items:center;gap:12px;border:1px solid transparent;padding:9px;background:none;border-radius:6px;margin:0 0 8px;text-align:left}.room img{width:78px;height:58px;object-fit:cover;border-radius:4px;flex:none}.room>span{display:block;font-size:14px;line-height:1.3}.room small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.room[aria-current=true]{background:#eef2f4;border-color:#bdcbd3}.room:hover{background:#f3f6f7}.nav-bottom{padding:16px 20px 20px;border-top:1px solid var(--line)}.plan-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 7px;background:white;border:1px solid #aebdc5;border-radius:5px;font-size:14px;min-height:46px}.plan-button:hover{background:#eef2f4}.nav-bottom p{color:var(--muted);font-size:12px;text-align:center;margin:11px 0 0}.footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:11px 30px;color:var(--muted);font-size:12px;background:white;min-height:41px}.guided-progress{position:absolute;bottom:0;left:0;right:0;height:3px;display:none;z-index:4;background:#ffffff22}.guided-progress i{display:block;height:100%;width:0;background:var(--accent)}.is-playing .guided-progress{display:block}.is-playing .scene-surface:not(.zoomed)>img{animation:gentle-move 5s linear forwards}.image-error{position:absolute;inset:0;place-content:center;text-align:center;background:#15232dee;z-index:4;color:#fff}.image-error:not([hidden]){display:grid}.image-error button{background:white;color:var(--ink);border-radius:5px;padding:10px 20px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:#fff;padding:12px 20px;border-radius:6px;box-shadow:0 5px 30px #0003;font-size:14px;z-index:30;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.plan-dialog{padding:22px 26px 16px;border:0;border-radius:10px;width:min(940px,calc(100% - 32px));max-height:calc(100dvh - 40px);background:#fff;color:var(--ink);box-shadow:0 25px 80px #0005}.plan-dialog::backdrop{background:#07131dcc;backdrop-filter:blur(5px)}.plan-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.plan-header h2{font:27px/1.25 var(--serif);margin:5px 0 16px}.plan-levels{display:flex;gap:4px;background:#edf1f3;padding:4px;border-radius:6px;width:max-content;max-width:100%}.plan-levels button{padding:8px 14px;background:none;border-radius:4px;font-size:14px;color:var(--muted)}.plan-levels button[aria-pressed=true]{background:var(--ink);color:#fff}.plan-instruction{font-size:14px;color:var(--muted);margin:12px 0 4px}.plan-stage{height:min(57dvh,580px);position:relative;background:#fff;min-height:280px}.plan-surface{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.plan-surface img{display:block;width:100%;height:100%;object-fit:contain}.plan-stage .hotspot{font-size:13px;background:#15232df2}.plan-note{font-size:12px;color:var(--muted);margin:4px 0 0;text-align:center}.immersive{position:fixed;inset:0;z-index:20;background:var(--paper);height:100dvh;overflow:auto}.tour-app:fullscreen{background:var(--paper);width:100%;height:100dvh}.noscript{position:fixed;bottom:0;background:white;padding:16px;width:100%;z-index:100}.noscript a{color:var(--ink)}
@keyframes gentle-move{from{transform:scale(1)}to{transform:scale(1.05)}}
@media(min-width:1500px){.layout{grid-template-columns:minmax(0,1fr) 350px}.nav-heading{padding:30px 25px}.level-tabs{justify-content:space-between;padding:0 18px}.room-list{padding:18px}.room img{width:90px;height:66px}.view-column{padding:24px 28px 18px}.nav-heading h2{font-size:25px}}
@media(max-width:1020px){.layout{grid-template-columns:minmax(0,1fr) 280px}.header{padding:14px 20px}.brand strong{font-size:20px}.nav-heading{padding:22px 16px}.house-count{display:none}.level-tabs{padding:0 6px}.level-tabs button{font-size:13px;padding:12px 6px}.view-column{padding:16px}.view-hint{display:none}.footer{padding:10px 20px}.keyboard-note{display:none}.room-list{padding:12px 8px}.room{gap:9px}.room img{width:66px;height:50px}.scene-title h1{font-size:23px}.step-actions{gap:6px}}
@media(max-width:740px){.tour-app{height:auto;min-height:100svh}.header{padding:13px 16px;min-height:74px;gap:8px}.brand{gap:8px}.brand>svg{width:29px;height:29px}.brand strong{font-size:18px;max-width:180px}.brand small{font-size:10px;letter-spacing:.13em;margin-top:4px}.header-actions{gap:6px}.private{font-size:0;gap:0;margin-right:2px}.private svg{height:17px;width:17px}.guided-button{padding:10px;width:42px;height:42px;justify-content:center}.guided-button>span{display:none}.fullscreen-button{width:42px;height:42px}.layout{display:flex;flex-direction:column;flex:none}.view-column{padding:12px 12px 14px;min-height:0}.viewer{flex:none;height:52svh;min-height:300px;max-height:570px;border-radius:6px}.view-top{top:12px;left:12px;right:12px}.view-top span{font-size:10px;padding:5px 7px;letter-spacing:.08em}.view-top span+span{font-size:11px}.viewer-tools{bottom:12px;right:12px}.tool{width:38px;height:38px}.zoom-value{height:38px;min-width:53px}.scene-bar{padding:14px 3px 5px;gap:8px}.scene-title{gap:10px}.scene-title>span{font-size:31px;padding-right:11px}.scene-title small{font-size:10px}.scene-title h1{font-size:23px}.step{width:38px;height:38px}.step-actions{gap:5px}.step-actions>span{min-width:35px;font-size:12px}.scene-description{margin:3px 3px 0;font-size:14px}.navigator{border-left:0;border-top:1px solid var(--line);overflow:visible}.nav-heading{padding:15px 16px 8px}.nav-heading small{display:none}.nav-heading h2{font-size:21px;margin:0}.house-count{display:block;padding:0;font-size:12px}.level-tabs{padding:0 12px;gap:12px}.level-tabs button{font-size:14px;padding:11px 6px}.room-list{display:flex;gap:10px;overflow:auto;padding:14px 16px 8px;scroll-snap-type:x proximity;flex:none}.room{flex:0 0 144px;display:block;padding:5px;margin:0;scroll-snap-align:start;border-radius:6px}.room img{width:132px;height:78px}.room>span{font-size:14px;padding:6px 3px 3px;line-height:1.25}.room small{font-size:12px;margin-top:4px}.nav-bottom{padding:12px 16px 16px;border-top:0}.nav-bottom p{display:none}.footer{font-size:11px;padding:12px 16px;line-height:1.5;min-height:42px}.hotspot{gap:5px;font-size:12px;min-height:42px;padding:4px 9px 4px 4px}.hotspot>span:first-child{width:28px;height:28px;font-size:20px}.plan-dialog{padding:17px 15px 12px;width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.plan-header h2{font-size:23px}.plan-stage{height:52dvh;min-height:260px}.plan-stage .hotspot{font-size:11px;min-height:36px;padding:3px 7px 3px 3px}.plan-stage .hotspot>span:first-child{width:24px;height:24px;font-size:17px}.plan-instruction{font-size:13px}.plan-levels button{padding:8px 12px}.immersive .viewer,.tour-app:fullscreen .viewer{height:calc(100dvh - 178px);max-height:none;min-height:260px}.immersive .navigator,.tour-app:fullscreen .navigator,.immersive .footer,.tour-app:fullscreen .footer{display:none}}
@media(max-width:370px){.brand strong{max-width:130px;font-size:17px}.brand>svg{display:none}.header-actions{gap:4px}.scene-title h1{font-size:20px}.scene-title>span{font-size:28px}.scene-title small{letter-spacing:.08em}.step-actions{gap:3px}.step{width:34px;height:36px}}
@media(max-height:660px) and (min-width:741px){.tour-app{height:auto;min-height:100dvh}.viewer{height:410px;flex:none}.room-list{max-height:430px}.header{min-height:70px}}
/* Correctifs du 9 octobre 2026 : petits écrans, paysage mobile, plans en faible hauteur */
.view-top span{white-space:nowrap}.view-top span+span{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-height:660px) and (min-width:741px){.viewer{height:max(220px,calc(100dvh - 120px))}.immersive .viewer,.tour-app:fullscreen .viewer{height:calc(100dvh - 120px)}}
@media(max-width:740px){.plan-stage{height:min(52dvh,calc(100dvh - 300px));min-height:220px}}
@media(max-width:740px) and (max-height:500px){.viewer{height:calc(100svh - 112px);min-height:200px}.immersive .viewer,.tour-app:fullscreen .viewer{height:calc(100dvh - 112px);min-height:200px}}
@media(max-width:370px){.view-top{gap:6px}.view-top span{font-size:9.5px;padding:4px 6px;letter-spacing:.05em}.view-top span+span{font-size:10px}.hotspot{gap:4px;font-size:11px;min-height:36px;padding:3px 8px 3px 3px}.hotspot>span:first-child{width:26px;height:26px;font-size:18px}}
@media(max-height:560px){.plan-dialog{padding:12px 18px 10px;max-height:calc(100dvh - 16px)}.plan-header small{display:none}.plan-header h2{font-size:20px;margin:0}.plan-levels{position:absolute;top:12px;right:72px}.plan-instruction,.plan-note{display:none}.plan-stage{height:calc(100dvh - 92px);min-height:170px;margin-top:8px}.plan-stage .hotspot{font-size:11px;min-height:34px;padding:3px 7px 3px 3px}.plan-stage .hotspot>span:first-child{width:24px;height:24px;font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
