*{box-sizing:border-box} :root{font-family:Arial,Helvetica,sans-serif;color:#fff;background:#151513;color-scheme:dark}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e0bf72;outline-offset:4px}button{border:0}button:hover{filter:brightness(1.14)}[hidden]{display:none!important}#tour{position:relative;width:100%;height:100svh;min-height:620px;overflow:hidden}#view{position:absolute;width:100%;height:100%;inset:0;touch-action:none;cursor:grab;background:#151513}#view:active{cursor:grabbing}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(13,13,11,.38),transparent 40%,transparent 53%,rgba(13,13,11,.78) 84%,#0d0d0b 100%)}header{position:absolute;top:32px;left:40px;right:40px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}header>*{pointer-events:auto}.brand{display:flex;gap:14px;align-items:center;color:#fff;text-decoration:none}.brand>b{font-size:46px;letter-spacing:-4px;font-weight:800}.brand>b span{color:#c0983c}.brand>span{font-size:12px;letter-spacing:3px;line-height:1.8;border-left:1px solid #ffffff50;padding-left:16px}.brand small{font-size:8px;letter-spacing:1.6px}.top-actions{display:flex;gap:20px;align-items:center}.demo{font-size:10px;letter-spacing:2px;border:1px solid #ffffff70;border-radius:24px;padding:10px 15px}.round{border:1px solid #ffffff60;background:#302b2340;border-radius:50%;width:36px;height:36px}.intro{position:absolute;left:42px;top:145px;pointer-events:none;text-shadow:0 2px 20px #15151350}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:600;display:flex;gap:9px;align-items:center}.eyebrow span{width:6px;height:6px;background:#c0983c;border-radius:50%}h1{font-family:Georgia,serif;font-size:clamp(35px,4.2vw,65px);font-weight:400;letter-spacing:-2px;line-height:1.05;margin:18px 0 12px}h1 i{font-weight:400}.intro p{font-size:13px;color:#ffffffe0;letter-spacing:.2px}.tools{position:absolute;right:32px;top:36%;display:flex;flex-direction:column;gap:3px;padding:6px;border:1px solid #ffffff30;background:#171713b8;backdrop-filter:blur(18px);border-radius:32px}.tools button{width:44px;height:44px;background:transparent;font-size:28px;border-radius:50%}.tools button[aria-pressed=true]{background:#c0983c;color:#171713}.tools>span{height:1px;background:#ffffff30;margin:4px 9px}.current{position:absolute;bottom:225px;left:42px;display:flex;align-items:center;gap:20px}.current>span{font-size:12px;letter-spacing:1px;border-right:1px solid #ffffff55;padding-right:20px;color:#c0983c}.current p{font-size:9px;letter-spacing:2px;margin:0 0 7px;color:#ffffffb0}.current h2{font-family:Georgia,serif;font-weight:400;font-size:29px;margin:0}.current>a{display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff55;border-radius:50%;text-decoration:none;color:#fff;font-size:23px;margin-left:12px}.bottom{position:absolute;bottom:0;left:42px;right:42px}.gallery-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px;font-size:9px;letter-spacing:2px}.gallery-heading button{background:transparent;font-size:10px;color:#fff;letter-spacing:.3px}.gallery-heading button span{padding-left:12px}#gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.scene{position:relative;height:117px;overflow:hidden;background:#171713;border:1px solid #ffffff30;border-radius:5px;padding:0;text-align:left;transition:transform .2s,border .2s}.scene:hover{transform:translateY(-4px)}.scene img{width:100%;height:100%;object-fit:cover;opacity:.78}.scene:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#10100eea)}.scene .label{position:absolute;bottom:13px;left:14px;right:10px;font-size:12px;z-index:1;display:flex;gap:10px;align-items:center}.scene .label small{font-size:9px;color:#c0983c}.scene[aria-current=true]{border:2px solid #c0983c}.scene[aria-current=true] img{opacity:1}.scene .active{position:absolute;right:9px;top:8px;z-index:1;font-size:8px;background:#c0983c;color:#29261f;padding:5px 7px;border-radius:3px;letter-spacing:1px}footer{height:49px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#ffffff9c}footer b{font-size:17px;margin:0 10px;font-weight:400}footer i{font-family:Georgia,serif;margin:0 4px}#loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 22px;background:#171713ed;border-radius:8px;font-size:13px;max-width:85vw;text-align:center}#hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-100%);background:none;padding:0;pointer-events:auto;filter:drop-shadow(0 2px 8px #0004)}.hotspot .bubble{display:flex;align-items:center;gap:9px;background:#faf6ed;color:#302b23;border-radius:5px;padding:7px 12px 7px 7px;font-size:11px;white-space:nowrap}.hotspot img{width:48px;height:34px;object-fit:cover;border-radius:2px}.hotspot b{font-size:16px;font-weight:400;color:#745817}.hotspot .stem{width:1px;height:28px;background:#fff9}.hotspot .dot{height:16px;width:24px;border:1px solid #fff;border-radius:50%;background:#ffffff35}.panel{position:absolute;right:108px;top:100px;width:370px;max-height:calc(100% - 125px);overflow:auto;background:#f6f3ebf5;backdrop-filter:blur(20px);color:#282620;border-radius:12px;padding:24px;box-shadow:0 20px 80px #10100e50}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title button,.close{font-size:27px;background:transparent;color:inherit}.panel h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:13px 0}.muted,.note{font-size:11px;line-height:1.6;color:#665f51}.panel svg{width:100%;height:250px;background:#e6eae2;border-radius:6px;margin:10px 0}.map-row{display:flex;align-items:center;width:100%;gap:12px;background:none;color:#282620;text-align:left;padding:9px 0;border-bottom:1px solid #d4ddd6;font-size:12px}.map-row b{display:grid;place-items:center;border-radius:50%;background:#745817;color:#fff;height:22px;width:22px;font-size:10px}.map-row[aria-current=true]{font-weight:700}.map-dot{cursor:pointer}.map-dot:focus{outline:none}.map-dot:focus circle{stroke:#c48b31;stroke-width:4}.map-dot text{pointer-events:none}dialog{width:min(460px,90vw);border:0;background:#f6f3eb;color:#282620;border-radius:14px;padding:38px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#17171377;backdrop-filter:blur(7px)}dialog h2{font-family:Georgia,serif;font-weight:400;font-size:32px;line-height:1.2}dialog p{font-size:13px;line-height:1.8}dialog .close{position:absolute;right:15px;top:10px}.primary{background:#302c23;border-radius:6px;padding:13px 20px;margin-top:12px}body.compact .current{bottom:100px}body.compact #gallery{display:none}body.compact .scene{display:none}@media(max-width:700px){#tour{min-height:540px}header{top:20px;left:20px;right:20px}.brand>b{font-size:37px}.brand>span{font-size:9px;padding-left:12px}.brand small{font-size:6px}.demo{display:none}.intro{left:22px;top:108px}.intro h1{font-size:39px}.intro p{font-size:11px}.eyebrow{font-size:8px}.tools{right:14px;top:34%;padding:3px}.tools button{width:35px;height:36px;font-size:24px}.bottom{left:20px;right:20px}#gallery{display:flex;overflow-x:auto;gap:9px;padding:4px 0 8px;scrollbar-width:thin}.scene{min-width:143px;height:90px}.scene .label{left:9px;font-size:10px;bottom:10px;gap:5px}.scene .active{font-size:6px}.current{left:22px;bottom:202px;gap:12px}.current h2{font-size:24px}.current>span{padding-right:12px;font-size:10px}.current>a{width:30px;height:30px;margin-left:0}footer{height:42px;font-size:8px}footer b{margin:0 4px}.panel{right:65px;top:80px;width:calc(100% - 80px);padding:20px;max-height:calc(100% - 100px)}.panel svg{height:200px}.hotspot .bubble{font-size:10px;padding:6px 9px}.hotspot img{display:none}.hotspot .stem{height:20px}.gallery-heading{font-size:8px}.gallery-heading button{font-size:9px}}

.edit-button{background:#f6f3eb;color:#282620;padding:10px 15px;border-radius:22px;font-size:11px}.edit-button[aria-pressed=true]{background:#c0983c}#editorPanel{position:absolute;z-index:5;left:30px;top:112px;width:330px;max-height:calc(100% - 320px);overflow:auto;background:#f6f3ebf5;color:#282620;border-radius:10px;padding:20px;box-shadow:0 12px 40px #0003}#editorPanel h2{font:25px Georgia,serif;margin:12px 0}#editorPanel label{display:block;font-size:11px;margin:15px 0 7px}#targetSelect{width:100%;background:#fff;color:#282620;border:1px solid #aebcba;border-radius:5px;padding:10px;font:inherit;font-size:12px}.editor-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.editor-actions button{font-size:11px;padding:10px;border:1px solid #b5c4bf;border-radius:5px;color:#282620;background:#fff}.editor-actions .primary{margin:0;background:#302c23;color:#fff}.editor-actions button:disabled{opacity:.4;cursor:default}#saveStatus{font-size:11px;line-height:1.5;border-top:1px solid #d7dfda;padding-top:10px}body.editing .intro{display:none}body.editing .hotspot.selected .bubble{background:#c0983c}#placementHint{position:absolute;z-index:8;left:50%;top:110px;transform:translateX(-50%);background:#f6f3eb;color:#282620;padding:12px 18px;border-radius:8px;display:flex;align-items:center;gap:14px;box-shadow:0 5px 20px #0004;font-size:13px;max-width:90%;width:max-content}#placementHint button{background:#302c23;border-radius:5px;padding:8px 12px;font-size:11px}body.placing #editorPanel{visibility:hidden}body.placing #view{cursor:crosshair}body.placing #hotspots{visibility:hidden}#centerMark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;color:#f9e2aa;text-shadow:0 1px 3px #000;font-size:26px}body.editing .current{pointer-events:none}@media(max-width:700px){.top-actions{gap:8px}.edit-button{font-size:10px;padding:9px}.brand>span{display:none}#editorPanel{left:16px;top:88px;width:265px;max-height:calc(100% - 275px);padding:15px}#placementHint{top:84px;font-size:11px}#editorPanel .note{font-size:10px}}@media(max-height:660px){#editorPanel{max-height:calc(100% - 225px);top:95px}body.editing .current{display:none}}

/* Keep each geographic anchor fixed; only spread its label. */
.hotspot{width:0;height:0;display:block;transform:none;overflow:visible;pointer-events:none}.hotspot .bubble{position:absolute;transform:translateX(-50%);pointer-events:auto;max-width:245px;z-index:2}.hotspot .stem{position:absolute;left:0;bottom:0;transform-origin:50% 100%;pointer-events:none;z-index:0}.hotspot .dot{position:absolute;left:0;top:0;transform:translate(-50%,-50%);pointer-events:auto;z-index:1}.hotspot:focus-visible{outline:0}.hotspot:focus-visible .bubble{outline:3px solid #e0bf72;outline-offset:3px}

#exportDialog{width:min(620px,94vw);max-height:90svh;overflow:auto}#exportDialog h2{font-size:29px;margin:18px 0 8px}#exportDialog p{margin:10px 0;font-size:12px}.export-label{display:block;font-size:11px;margin:15px 0 8px}#exportText{display:block;width:100%;height:210px;resize:vertical;border:1px solid #b1c1bd;border-radius:6px;background:#fff;color:#29261f;padding:12px;font:11px/1.6 monospace;user-select:text;-webkit-user-select:text}.export-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}.export-actions button,.download-export{margin:0;padding:12px;border-radius:5px;font-size:12px;text-decoration:none}.download-export,.export-actions button:not(.primary){background:#e0e8e2;color:#282620}#exportStatus{color:#6e6252;min-height:35px}.download-export[aria-disabled=true]{pointer-events:none;opacity:.5}@media(max-width:700px){#exportDialog{padding:27px 22px}#exportText{height:180px}}

#pano{position:absolute;inset:0;width:100%;height:100%;background:#151513}#view{background:transparent}#pano canvas{outline:none}

/* Dans le site : des commandes compactes et toute la hauteur disponible. */
html.is-embedded #tour{height:100dvh;min-height:0}
html.is-embedded .intro{display:none}
html.is-embedded header{top:18px;left:22px;right:22px}
html.is-embedded .brand>b{font-size:34px}
html.is-embedded .brand>span{font-size:10px;letter-spacing:2px}
html.is-embedded .brand small{font-size:7px;letter-spacing:1px}
html.is-embedded .demo{display:none}
html.is-embedded .bottom{left:22px;right:22px}
html.is-embedded #gallery{gap:8px}
html.is-embedded .scene{height:90px}
html.is-embedded .scene .label{left:8px;right:6px;bottom:9px;font-size:10px;gap:6px}
html.is-embedded .scene .active{top:6px;right:5px;font-size:7px;padding:4px}
html.is-embedded .current{left:22px;bottom:172px;gap:12px}
html.is-embedded .current h2{font-size:25px}
html.is-embedded .tools{right:16px;top:29%;padding:4px}
html.is-embedded .tools button{width:36px;height:36px;font-size:24px}
html.is-embedded .hotspot .bubble{font-size:10px;gap:6px;padding:5px 8px 5px 5px}
html.is-embedded .hotspot img{width:38px;height:28px}
html.is-embedded footer{height:36px;font-size:9px}
@media(max-width:520px){
 html.is-embedded header{top:14px;left:14px;right:14px}
 html.is-embedded .brand>span{display:none}
 html.is-embedded .bottom{left:14px;right:14px}
 html.is-embedded .current{left:14px;bottom:158px}
 html.is-embedded .current h2{font-size:22px}
 html.is-embedded .tools{right:10px;top:23%}
 html.is-embedded .scene{height:76px;min-width:0}
 html.is-embedded .scene .label{font-size:9px}
 html.is-embedded .scene .label small,html.is-embedded .scene .active{display:none}
 html.is-embedded .hotspot img{width:30px;height:24px}
 html.is-embedded .hotspot .bubble{font-size:9px;max-width:160px;white-space:normal}
}
