.tour3d { position: relative; }
.t3-barre { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.t3-onglets { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.t3-onglets button { background: none; border: 0; color: var(--muted); padding: 6px 13px; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 600; font-size: 13px; }
.t3-onglets button.on { background: var(--red); color: #fff; }
.t3-filtres button.on { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.t3-stats { color: var(--muted); font-size: 13px; } .t3-stats b { color: var(--text); } .t3-stats b.jaune { color: #f5b301; }
.t3-scene { position: relative; height: calc(62vh - 40px); min-height: 440px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0b1226; }
.tour3d:fullscreen { background: var(--bg); padding: 14px; } .tour3d:fullscreen .t3-scene { height: calc(100vh - 80px); }
.t3-scene canvas { width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.t3-aide { position: absolute; left: 12px; bottom: 10px; background: rgba(8,9,12,.62); backdrop-filter: blur(6px); border-radius: 99px; padding: 5px 12px; font-size: 12px; color: #c8ccd4; pointer-events: none; }
.t3-bulle { position: absolute; background: rgba(8,9,12,.88); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 11px; font-size: 12px; pointer-events: none; max-width: 240px; z-index: 5; }
.t3-bulle b { display: block; font-size: 13px; } .t3-b-e { color: #7aa7ff; margin-top: 3px; }
.t3-fil { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.t3-mv { background: rgba(8,9,12,.7); backdrop-filter: blur(6px); border-left: 3px solid #22c55e; border-radius: 8px; padding: 5px 10px; font-size: 12px; max-width: 460px; white-space: nowrap; }
.t3-mv span { color: #22c55e; font-weight: 700; } .t3-mv small { color: #8a8f99; }
.t3-panneau { position: absolute; right: 0; top: 0; bottom: 0; width: 380px; max-width: 92%; overflow-y: auto; background: rgba(13,13,15,.94); backdrop-filter: blur(14px); border-left: 1px solid var(--line-2); padding: 16px 16px 120px; z-index: 6; animation: t3-entre .35s cubic-bezier(.2,.8,.2,1); }
@keyframes t3-entre { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.t3-panneau h2 { margin: 12px 0 2px; font-size: 19px; } .t3-sous { color: var(--muted); font-size: 12px; } .t3-etat { margin: 8px 0; }
.t3-x { position: absolute; right: 12px; top: 10px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 50%; width: 30px; height: 30px; cursor: pointer; }
.t3-galerie .t3-grande { width: 100%; height: 215px; object-fit: cover; border-radius: 12px; cursor: zoom-in; background: #151518; }
.t3-nophoto { height: 140px; display: flex; align-items: center; justify-content: center; background: var(--panel-2); border-radius: 12px; color: var(--faint); }
.t3-mini { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; } .t3-mini img { width: 62px; height: 46px; object-fit: cover; border-radius: 7px; opacity: .6; cursor: pointer; border: 2px solid transparent; } .t3-mini img.on { opacity: 1; border-color: var(--red-2); }
.t3-sel { display: flex; align-items: center; gap: 6px; margin: 8px 0; flex-wrap: wrap; } .t3-sel > span { color: var(--muted); font-size: 12px; min-width: 78px; }
.t3-sel button { background: var(--panel-2); border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 4px 13px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; } .t3-sel button.on { background: var(--red); border-color: var(--red); } .t3-sel button:disabled { opacity: .4; cursor: default; }
.t3-sel select { flex: 1; min-width: 0; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px; font: inherit; font-size: 12px; }
.t3-fiche { margin-top: 8px; } .t3-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .t3-ligne span { color: var(--muted); }
.t3-desc { font-size: 12px; color: var(--muted); line-height: 1.5; } .t3-titre { margin: 14px 0 6px; font-weight: 700; font-size: 13px; }
.t3-histo { border-left: 2px solid var(--line-2); margin-left: 5px; padding-left: 12px; } .t3-histo > div { position: relative; padding: 3px 0 7px; font-size: 12px; } .t3-histo i { position: absolute; left: -18px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); } .t3-histo b { display: block; } .t3-histo small { color: var(--faint); }
.t3-tache { font-size: 12px; padding: 3px 0; } .t3-tache.fait { color: var(--faint); text-decoration: line-through; }
.t3-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.t3-zoom { position: absolute; inset: 0; background: rgba(0,0,0,.9); z-index: 20; display: flex; align-items: center; justify-content: center; cursor: zoom-out; } .t3-zoom img { max-width: 94%; max-height: 94%; border-radius: 10px; }
.t3-modal { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 30; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.t3-m { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; width: min(440px, 92%); } .t3-m h3 { margin: 0 0 2px; font-size: 20px; }
.t3-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; } .t3-types button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; color: var(--text); cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; } .t3-types button:hover, .t3-types button.on { border-color: var(--red-2); box-shadow: 0 0 0 1px var(--red-2) inset; } .t3-types b { font-size: 17px; } .t3-types small { color: var(--muted); font-size: 11px; }
