/*
 * Silo Visite virtuelle (maquette « visionneuse 360° » validée le 06/10) : héros panoramique à faire glisser, fond
 * nuit profonde, fusion HDR collée, démonstration des points interactifs, étude de cas, usages à révélation
 * circulaire, cadran 360°, écrans en parallaxe, configurations d'une salle (mobilier qui se replace). Chargé seulement sur les pages concernées (inc/releve.php).
 * Sans script : photo fixe, image finale, premier panneau ouvert, cadran plein, compteurs à leur valeur.
 */

.cp-rl--cinema { background: #07071F; color: #fff; }
.cp-rl--cinema .cp-rl__h,
.cp-rl--cinema .cp-rl__h3 { color: #fff; }
.cp-rl--cinema p,
.cp-rl--cinema .cp-rl__txt li { color: #B8BBD6; }
.cp-rl--cinema .cp-rl__lead { color: #D6D8EA; }
[class*="cp-rl--vv-"] .cp-rl__cote { display: none; }
[class*="cp-rl--vv-"] .cp-rl__h { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.06; letter-spacing: -.015em; }
[class*="cp-rl--vv-"] .cp-rl__lead { margin-top: 20px; }
.cp-rl--vv-hdr .cp-rl__h,
.cp-rl--vv-diffusion .cp-rl__h { font-size: clamp(30px, 2.9vw, 44px); }
.cp-vv__ring { display: block; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 153, 0, .25); position: relative; }
.cp-vv__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--o); animation: cp-vv-spin 6s linear infinite; }
@keyframes cp-vv-spin { to { transform: rotate(360deg); } }

/* ---------- Héros panoramique (bloc secteur-hero) ---------- */
.cp-sx-hero.is-pano { display: grid; align-items: center; min-height: min(100vh, 920px); cursor: grab; user-select: none; }
.cp-sx-pano__pts { position: absolute; top: 0; left: 0; height: 100%; z-index: 0; pointer-events: none; will-change: transform; }
.cp-sx-hero.is-pano .cp-sx-hero__in { position: relative; z-index: 1; }
.cp-sx-hero.is-pano.is-drag { cursor: grabbing; }
.cp-sx-pano { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.cp-sx-pano__in { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.cp-sx-hero .cp-sx-pano .cp-sx-hero__img { position: relative; inset: auto; z-index: 0; width: auto; min-width: 135vw; height: 100%; max-width: none; object-fit: cover; }
.cp-sx-pano__pt { position: absolute; width: 0; height: 0; }
.cp-sx-pano__pt b { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 2px #fff; }
.cp-sx-pano__pt b::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #FF9900; }
.cp-sx-pano__pt b::before { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; animation: cp-vv-ping 2.4s infinite; }
@keyframes cp-vv-ping { 0% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.9); } }
.cp-sx-pano__pt span { position: absolute; left: 22px; top: -15px; padding: 5px 12px; border-radius: 999px; background: rgba(7, 7, 31, .78); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cp-sx-hero.is-pano .cp-sx-hero__in { grid-template-columns: minmax(0, 1fr) 220px; align-items: end; }
.cp-sx-hero.is-pano .cp-sx-hero__title { font-size: clamp(34px, 3.8vw, 60px); }
.cp-sx-hud { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; pointer-events: none; }
.cp-sx-hud span { display: flex; align-items: center; gap: 8px; opacity: .85; }
.cp-sx-hud svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.cp-sx-hud__c { position: relative; width: 96px; height: 96px; border-radius: 50%; background: rgba(7, 7, 31, .35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.cp-sx-hud__c i { position: absolute; inset: 0; transform: rotate(var(--deg, 0deg)); }
.cp-sx-hud__c i::before { content: ""; position: absolute; left: 50%; top: 8px; margin-left: -7px; border: 7px solid transparent; border-bottom: 30px solid #FF9900; }
.cp-sx-hud__c em { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-style: normal; }
@media (max-width: 1000px) {
	.cp-sx-hero.is-pano .cp-sx-hero__in { grid-template-columns: minmax(0, 1fr); }
	.cp-sx-hud { display: none; }
}

/* ---------- Fusion HDR ---------- */
.cp-rl--vv-hdr { padding-block: 0; }
.cp-vv__pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; padding-block: clamp(96px, 10vw, 140px); }
.cp-vv__steps { display: grid; gap: 4px; margin-top: 30px !important; }
.cp-vv__steps li { padding: 14px 0 14px 22px; border-left: 2px solid #E3E5EF; transition: border-color .4s; }
.cp-rl .cp-vv__steps .cp-rl__h3 { margin: 0 0 4px; font-size: 20px; opacity: .45; transition: opacity .4s; }
.cp-vv__steps li.is-on,
.cp-rl:not(.is-live) .cp-vv__steps li { border-left-color: var(--o); }
.cp-rl .cp-vv__steps li.is-on .cp-rl__h3,
.cp-rl:not(.is-live) .cp-vv__steps .cp-rl__h3 { opacity: 1; }
.cp-vv__after { margin-top: 26px; }
.cp-vv__stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #07071F; box-shadow: 0 50px 100px -40px rgba(0, 0, 51, .6); }
.cp-vv__ex { position: absolute; inset: 8%; overflow: hidden; border-radius: 6px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); }
.cp-rl .cp-vv__ex img { width: 100%; height: 100%; object-fit: cover; }
.cp-vv__ex--0 img { filter: brightness(.42) contrast(1.1); }
.cp-vv__ex--1 img { filter: brightness(1.9) saturate(.8); }
.cp-vv__ex span { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(7, 7, 31, .8); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.cp-rl:not(.is-live) .cp-vv__ex--0,
.cp-rl:not(.is-live) .cp-vv__ex--1,
.cp-rl:not(.is-live) .cp-vv__ex span { display: none; }
.cp-vv__tiles { position: absolute; inset: 8%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); opacity: 0; }
.cp-vv__tiles i { background-image: var(--src); background-size: 400% 200%; }
.cp-vv__lab { position: absolute; right: 16px; bottom: 14px; color: #fff; font-size: 13px; font-weight: 600; opacity: .8; }
.cp-rl--vv-hdr.is-live { height: 320vh; }
.cp-rl--vv-hdr.is-live > .cp-rl__w { height: 100%; }
.cp-rl--vv-hdr.is-live .cp-vv__pin { position: sticky; top: 0; height: 100vh; padding-block: 0; }
@media (max-width: 1000px) {
	.cp-vv__pin { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Points interactifs ---------- */
.cp-vv__ui { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: 56px; }
.cp-vv__feat { display: grid; gap: 8px; }
.cp-vv__feat button { all: unset; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 14px 18px; border-radius: 8px; cursor: pointer; transition: background .3s; }
.cp-vv__feat svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .07); fill: none; stroke: #fff; stroke-width: 1.6; transition: background .3s; }
.cp-vv__feat b { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.2; }
.cp-vv__feat small { color: #B8BBD6; font-size: 14px; line-height: 1.45; }
.cp-vv__feat button.is-on { background: rgba(255, 255, 255, .06); }
.cp-vv__feat button.is-on svg { background: var(--o); stroke: #000033; }
.cp-vv__feat button:focus-visible { outline: 2px solid var(--o); }
.cp-vv__device { padding: 10px; border-radius: 10px; background: #1A1A44; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.cp-vv__bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; color: #B8BBD6; font-size: 12px; }
.cp-vv__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3A72; }
.cp-vv__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #0E0E30; }
.cp-vv__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.cp-rl .cp-vv__screen > img { width: 100%; height: 100%; object-fit: cover; }
.cp-vv__logo { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #000033; font-size: 13px; font-weight: 700; }
.cp-vv__pt { position: absolute; width: 0; height: 0; }
.cp-vv__pt b { position: absolute; left: -13px; top: -13px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: transform .3s, background .3s; }
.cp-vv__pt b::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #000033; }
.cp-vv__pt.is-on b { background: var(--o); transform: scale(1.25); }
.cp-vv__pt em { position: absolute; left: 22px; top: -14px; padding: 5px 11px; border-radius: 999px; background: rgba(7, 7, 31, .85); color: #fff; font-size: 13px; font-weight: 600; font-style: normal; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.cp-vv__pt.is-g em { left: auto; right: 22px; transform: translateX(6px); }
.cp-vv__pt.is-on em { opacity: 1; transform: none; }
.cp-vv__panel { position: absolute; right: 14px; top: 14px; max-height: calc(100% - 28px); width: 46%; overflow: hidden; padding: 18px; border-radius: 8px; background: rgba(255, 255, 255, .96); color: #14162E; opacity: 0; transform: translateX(24px); transition: opacity .45s, transform .45s; pointer-events: none; }
.cp-vv__panel.is-on { opacity: 1; transform: none; }
.cp-rl .cp-vv__ph { margin-bottom: 10px; color: #000033; font-size: 16px; font-weight: 700; }
.cp-vv__menu li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #E3E5EF; font-size: 14px; }
.cp-vv__menu li:first-child { color: var(--o); font-weight: 700; }
.cp-vv__vid { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.cp-rl .cp-vv__vid img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.cp-vv__vid::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -9px; border-left: 24px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.cp-vv__book { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cp-rl .cp-vv__book img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.cp-vv__plan { aspect-ratio: 4 / 3; border-radius: 6px; background: #EEF0F7; }
.cp-vv__plan svg { width: 100%; height: 100%; }
.cp-rl .cp-vv__contact p { color: #14162E; font-size: 14px; line-height: 1.6; }
.cp-vv__map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #DDE8D8, #E8EEF6); }
.cp-vv__map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(30deg, transparent 46%, #fff 46% 54%, transparent 54%), linear-gradient(110deg, transparent 40%, #fff 40% 46%, transparent 46%); }
.cp-vv__map i { position: absolute; left: 55%; top: 40%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--o); transform: rotate(-45deg); }
@media (max-width: 1000px) {
	.cp-vv__ui { grid-template-columns: minmax(0, 1fr); }
	.cp-vv__panel { width: 60%; }
}
@media (max-width: 600px) {
	.cp-vv__panel { width: auto; left: 10px; right: 10px; top: auto; bottom: 10px; max-height: 70%; }
	.cp-vv__pt em { display: none; }
}

/* ---------- Étude de cas ---------- */
.cp-vv__cashead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; }
.cp-vv__counts { display: flex; flex-wrap: wrap; gap: 48px; }
.cp-vv__counts b { display: block; color: #000033; font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cp-rl--cinema .cp-vv__counts b { color: #fff; }
.cp-vv__counts span { color: var(--mute); font-size: 15px; }
.cp-vv__marq { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cp-vv__marqt { display: flex; gap: 18px; width: max-content; }
.cp-rl .cp-vv__marqt img { width: auto; height: 300px; max-width: none; border-radius: 8px; }
.cp-rl--vv-cas.is-live .cp-vv__marqt { animation: cp-vv-marq 40s linear infinite; }
.cp-vv__marq:hover .cp-vv__marqt { animation-play-state: paused; }
@keyframes cp-vv-marq { to { transform: translateX(-50%); } }
.cp-rl--vv-cas:not(.is-live) .cp-vv__marq { overflow-x: auto; }
.cp-vv__chips,
.cp-vv__dchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px !important; }
.cp-vv__chips span,
.cp-vv__dchips span { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #F3F4F8; color: #000033; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cp-vv__dchips span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o); }
.cp-vv__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px !important; }
.cp-vv__btn { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 8px; background: var(--o); color: #000033; font-size: 17px; font-weight: 700; text-decoration: none; transition: transform .25s; }
.cp-vv__btn:hover { transform: translateY(-2px); }
.cp-vv__btn--line { background: transparent; box-shadow: inset 0 0 0 1.5px #000033; }
@media (max-width: 1000px) {
	.cp-vv__cashead { grid-template-columns: minmax(0, 1fr); }
	.cp-rl .cp-vv__marqt img { height: 200px; }
}

/* ---------- Usages ---------- */
.cp-vv__use { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 56px !important; }
.cp-vv__uc { position: relative; grid-column: span 2; min-height: 380px; overflow: hidden; border-radius: 8px; isolation: isolate; color: #fff; outline: none; background-image: var(--bg); background-size: cover; background-position: center; }
.cp-vv__uc:nth-child(5n + 4),
.cp-vv__uc:nth-child(5n + 5) { grid-column: span 3; }
/* Deux tuiles seulement : chacune prend la moitié de la ligne (sinon un vide d'un tiers à droite). */
@media (min-width: 1001px) { .cp-vv__use:has(> :nth-child(2):last-child) > .cp-vv__uc { grid-column: span 3; } }
.cp-vv__uc::before { content: ""; position: absolute; inset: 0; z-index: -3; background: rgba(7, 7, 31, .55); -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1); }
.cp-rl .cp-vv__uc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); transition: clip-path .7s cubic-bezier(.2, .8, .2, 1); }
.cp-vv__uc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 7, 31, .95) 10%, rgba(7, 7, 31, .2) 70%); }
.cp-vv__uc:hover,
.cp-vv__uc:focus-visible { --r: 150%; }
.cp-vv__uc:focus-visible { box-shadow: 0 0 0 2px var(--o); }
.cp-vv__uc > div { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.cp-rl .cp-vv__uc .cp-rl__h3 { margin-bottom: 8px; color: #fff; font-size: 24px; }
.cp-rl .cp-vv__uc p { color: #D6D8EA; font-size: 15px; line-height: 1.55; }
.cp-vv__uc small { display: block; margin-top: 12px; color: var(--o); font-size: 13px; font-weight: 600; line-height: 1.45; }
.cp-vv__deg { position: absolute; right: 20px; top: 18px; color: rgba(255, 255, 255, .35); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
@media (hover: none) {
	.cp-rl .cp-vv__uc img { clip-path: none; }
}
@media (max-width: 1000px) {
	.cp-vv__use { grid-template-columns: minmax(0, 1fr); }
	.cp-vv__uc,
	.cp-vv__uc:nth-child(5n + 4),
	.cp-vv__uc:nth-child(5n + 5) { grid-column: auto; min-height: 300px; }
}

/* ---------- Cadran 360° ---------- */
.cp-vv__dgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: 56px; }
.cp-vv__dial { position: sticky; top: calc(var(--cp-bar-h, 76px) + 40px); width: 100%; max-width: 440px; aspect-ratio: 1; }
.cp-vv__dial svg { width: 100%; height: 100%; overflow: visible; }
.cp-vv__track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.cp-vv__prog { fill: none; stroke: var(--o); stroke-width: 4; stroke-linecap: round; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); }
.cp-vv__tick circle { fill: #07071F; stroke: rgba(255, 255, 255, .3); stroke-width: 2; transition: fill .4s, stroke .4s; }
.cp-vv__tick text { fill: rgba(255, 255, 255, .4); font: 600 13px "Titillium Web", sans-serif; transition: fill .4s; }
.cp-vv__tick.is-on circle { fill: var(--o); stroke: var(--o); }
.cp-vv__tick.is-on text { fill: #fff; }
.cp-vv__big { fill: #fff; font: 700 64px "Titillium Web", sans-serif; text-anchor: middle; }
.cp-vv__sm { fill: #B8BBD6; font: 600 14px "Titillium Web", sans-serif; text-anchor: middle; }
.cp-vv__dsteps li { min-height: 42vh; padding: 30px 0 30px 26px; border-left: 2px solid rgba(255, 255, 255, .12); transition: border-color .4s; }
.cp-vv__dsteps li.is-on { border-left-color: var(--o); }
.cp-vv__dn { color: var(--o); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.cp-rl .cp-vv__dsteps .cp-rl__h3 { margin: 6px 0 10px; transition: opacity .4s; }
.cp-rl--vv-cadran.is-live .cp-vv__dsteps li:not(.is-on) .cp-rl__h3 { opacity: .5; }
@media (max-width: 1000px) {
	.cp-vv__dgrid { grid-template-columns: minmax(0, 1fr); }
	.cp-vv__dial { position: static; max-width: 300px; margin: 0 auto; }
	.cp-vv__dsteps li { min-height: 0; }
}

/* ---------- Écrans en parallaxe ---------- */
.cp-vv__diff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cp-vv__difftxt { margin-top: 20px; }
.cp-vv__difftxt p { color: #14162E; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; font-weight: 300; }
.cp-vv__devs { position: relative; height: 460px; }
.cp-vv__dv { position: absolute; padding: 8px; border-radius: 14px; background: #14143E; box-shadow: 0 40px 80px -30px rgba(0, 0, 51, .55); transform: translateY(calc(var(--p, 0) * var(--sp) * 1px)); }
.cp-rl .cp-vv__dv img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.cp-vv__dv--lap { left: 0; top: 40px; width: 68%; aspect-ratio: 16 / 10; --sp: -40; }
.cp-vv__dv--lap::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -16px; height: 16px; border-radius: 0 0 12px 12px; background: #20205A; }
.cp-vv__dv--tab { right: 4%; top: 0; width: 34%; aspect-ratio: 3 / 4; --sp: 30; }
.cp-vv__dv--pho { left: 46%; bottom: 0; width: 17%; aspect-ratio: 9 / 19; border-radius: 18px; --sp: -70; }
.cp-vv__dv--vr { right: 0; bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 26%; aspect-ratio: 2 / 1.05; padding: 12px; border-radius: 40px 40px 34px 34px; background: #1F1F55; --sp: 50; }
.cp-rl .cp-vv__dv--vr img { border-radius: 24px; }
@media (max-width: 1000px) {
	.cp-vv__diff { grid-template-columns: minmax(0, 1fr); }
	.cp-vv__devs { height: 340px; }
}

/* ---------- Nouveaux points : météo, quiz, visite guidée en direct ---------- */
.cp-vv__screen::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background-image: radial-gradient(circle at 20% 30%, #fff 0 3px, transparent 4px), radial-gradient(circle at 70% 60%, #fff 0 2.2px, transparent 3px), radial-gradient(circle at 45% 85%, rgba(255, 255, 255, .9) 0 3.6px, transparent 4.6px), radial-gradient(circle at 85% 15%, #fff 0 2.6px, transparent 3.4px); background-size: 90px 90px, 130px 130px, 170px 170px, 110px 110px; animation: cp-vv-snow 7s linear infinite; }
.cp-vv__screen.is-meteo::before { opacity: 1; }
.cp-vv__screen > img { transition: filter .6s; }
.cp-vv__screen.is-meteo > img { filter: brightness(.55) saturate(.5) contrast(1.05); }
@keyframes cp-vv-snow { to { background-position: 30px 90px, -20px 130px, 40px 170px, -10px 110px; } }
.cp-vv__screen.is-lumiere > img { animation: cp-vv-sun 9s ease-in-out infinite; }
@keyframes cp-vv-sun { 0%, 100% { filter: brightness(1.05) saturate(.95); } 40% { filter: brightness(.95) sepia(.35) saturate(1.35); } 70% { filter: brightness(.5) sepia(.5) saturate(1.2) hue-rotate(-12deg); } }
.cp-vv__mat { display: grid; gap: 8px; }
.cp-vv__mat li { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 8px; color: #14162E; font-size: 14px; font-weight: 600; }
.cp-vv__mat li.is-on { background: #F3F4F8; box-shadow: inset 0 0 0 2px var(--o); }
.cp-vv__sw { flex: none; width: 44px; height: 44px; border-radius: 6px; }
.cp-vv__sw--0 { background: repeating-linear-gradient(90deg, #C9A27A 0 9px, #B88F66 9px 10px, #D2AE88 10px 20px); }
.cp-vv__sw--1 { background: radial-gradient(circle at 30% 30%, #D9D6D0, #B4B0A9 70%); }
.cp-vv__sw--2 { background-color: #8E9197; background-image: linear-gradient(90deg, transparent 21px, #fff 21px 23px, transparent 23px), linear-gradient(transparent 21px, #fff 21px 23px, transparent 23px); }
.cp-vv__meteo { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-vv__meteo span,
.cp-vv__quiz span { padding: 7px 12px; border-radius: 999px; background: #F3F4F8; color: #000033; font-size: 13px; font-weight: 600; }
.cp-vv__meteo span.is-on { background: var(--o); }
.cp-vv__quiz { display: grid; gap: 6px; }
.cp-vv__quiz small { color: #6B6F8A; font-size: 12px; font-weight: 600; }
.cp-vv__quiz b { margin-bottom: 4px; color: #000033; font-size: 15px; line-height: 1.35; }
.cp-vv__quiz span { border-radius: 6px; }
.cp-vv__quiz span.is-ok { background: #000033; color: #fff; }
.cp-vv__live em { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--o); color: #000033; font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.cp-vv__live em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #000033; animation: cp-vv-blink 1.2s infinite; }
@keyframes cp-vv-blink { 50% { opacity: .2; } }
.cp-rl .cp-vv__live p { margin: 10px 0; color: #14162E; font-size: 14px; line-height: 1.5; }
.cp-vv__live span { display: flex; }
.cp-vv__live i { width: 28px; height: 28px; margin-right: -8px; border: 2px solid #fff; border-radius: 50%; background: #3A3A72; }
.cp-vv__live i:nth-child(2) { background: #8C90B8; }
.cp-vv__live i:nth-child(3) { background: #FF9900; }
.cp-vv__live i:nth-child(4) { background: #000033; }
.cp-vv__live small { display: block; margin-top: 8px; color: #6B6F8A; font-size: 12px; }

/* ---------- Visionneuse à modes ---------- */
.cp-rl--vv-modes .cp-rl__h { font-size: clamp(30px, 2.9vw, 44px); }
.cp-vv__modes { margin: 0; perspective: 1600px; }
.cp-vv__modes .cp-vv__device { transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cp-vv__mscr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #fff; }
.cp-vv__md { position: absolute; inset: 0; }
.cp-rl .cp-vv__md img { width: 100%; height: 100%; object-fit: cover; }
.cp-vv__md:not(.is-on):not(.is-in) { visibility: hidden; }
.cp-vv__md.is-in { z-index: 1; animation: cp-vv-open .9s cubic-bezier(.65, 0, .25, 1) forwards; }
@keyframes cp-vv-open { from { clip-path: circle(0 at var(--cx, 50%) var(--cy, 100%)); } to { clip-path: circle(150% at var(--cx, 50%) var(--cy, 100%)); } }
.cp-vv__tools { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(7, 7, 31, .82); transform: translateX(-50%); }
.cp-vv__tools button { all: unset; display: flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .3s, color .3s; }
.cp-vv__tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cp-vv__tools button.is-on { background: var(--o); color: #000033; }
.cp-vv__modes figcaption { margin-top: 14px; color: var(--mute); font-size: 14px; }
.cp-vv__mes svg { width: 100%; height: auto; border-radius: 6px; background: #EEF0F7; }
.cp-vv__mes .l { stroke: var(--o); stroke-width: 3; stroke-dasharray: 200; stroke-dashoffset: 200; animation: cp-vv-cote 2.4s ease-in-out infinite; }
.cp-vv__mes .t { stroke: #000033; stroke-width: 1.5; }
.cp-vv__mes circle { fill: #000033; }
@keyframes cp-vv-cote { 60%, 100% { stroke-dashoffset: 0; } }
.cp-rl .cp-vv__mes p { margin-top: 10px; color: #14162E; font-size: 14px; line-height: 1.5; }
.cp-vv__dat { display: grid; gap: 8px; margin: 0; }
.cp-vv__dat div { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #E3E5EF; }
.cp-vv__dat dt { color: #6B6F8A; font-size: 13px; font-weight: 600; }
.cp-vv__dat dd { margin: 0; }
.cp-vv__dat i { display: block; width: 70%; height: 9px; border-radius: 5px; background: #E3E5EF; }
.cp-vv__dat div:nth-child(2n) i { width: 45%; }
.cp-vv__vue::after { content: none; }
.cp-rl .cp-vv__vue img { opacity: 1; }
@media (max-width: 600px) {
	.cp-vv__tools button span { display: none; }
}

/* ---------- Du dessin au rendu ---------- */
.cp-rl--vv-trait { padding-block: 0; }
.cp-rl--vv-trait .cp-rl__h { font-size: clamp(30px, 2.9vw, 44px); }
.cp-rl--vv-trait.is-live { height: 300vh; }
.cp-rl--vv-trait.is-live > .cp-rl__w { height: 100%; }
.cp-rl--vv-trait.is-live .cp-vv__pin { position: sticky; top: 0; height: 100vh; padding-block: 0; }
.cp-vv__trait { margin: 0; }
.cp-vv__trs { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 50px 100px -40px rgba(0, 0, 51, .45), 0 0 0 1px #E3E5EF; }
.cp-vv__tr { position: absolute; inset: 0; }
.cp-rl .cp-vv__tr img { width: 100%; height: 100%; object-fit: cover; }
.cp-vv__tr + .cp-vv__tr { clip-path: inset(0 calc(100% - var(--w, 100%)) 0 0); }
.cp-vv__scan { position: absolute; top: 0; bottom: 0; left: var(--x, 0); width: 2px; margin-left: -1px; background: var(--o); box-shadow: 0 0 18px 4px rgba(255, 153, 0, .55); opacity: 0; transition: opacity .3s; }
.cp-vv__trs.is-scan .cp-vv__scan { opacity: 1; }
.cp-vv__trs .cp-vv__lab { left: 16px; right: auto; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 7, 31, .8); opacity: 1; }
.cp-vv__trait figcaption { margin-top: 14px; color: var(--mute); font-size: 14px; }

/* ---------- Configurations d'une salle ---------- */
.cp-rl--vv-config .cp-rl__h { font-size: clamp(30px, 2.9vw, 44px); }
.cp-vv__cfgw { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: 40px; }
.cp-vv__cfg { display: grid; gap: 4px; }
.cp-vv__cfg li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; padding: 14px 0 14px 20px; border-left: 2px solid #E3E5EF; cursor: pointer; transition: border-color .4s; }
.cp-vv__cfg li.is-on { border-left-color: var(--o); }
.cp-vv__cn { padding-top: 3px; color: var(--o); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.cp-rl .cp-vv__cfg .cp-rl__h3 { margin: 0 0 4px; font-size: 20px; }
.cp-vv__cfg button { all: unset; cursor: pointer; opacity: .5; transition: opacity .4s; }
.cp-vv__cfg li.is-on button,
.cp-vv__cfg li:hover button { opacity: 1; }
.cp-vv__cfg button:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.cp-rl .cp-vv__cfg p { font-size: 15px; line-height: 1.5; opacity: .7; transition: opacity .4s; }
.cp-rl .cp-vv__cfg li.is-on p { opacity: 1; }
.cp-vv__device--cfg { transition: box-shadow .6s; }
.cp-vv__screen--cfg { display: grid; place-items: center; aspect-ratio: 16 / 11; background: radial-gradient(120% 90% at 50% 0%, #1B1B52 0%, #07071F 70%); perspective: 1400px; }
.cp-vv__room { width: 88%; height: auto; margin-top: 7%; overflow: visible; transform: rotateX(30deg); transform-origin: 50% 60%; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.cp-vv__device--cfg:hover .cp-vv__room { transform: rotateX(0deg) scale(.95); }
.cp-vv__floor { fill: #12124A; }
.cp-vv__wall { fill: none; stroke: #fff; stroke-width: 8; stroke-linejoin: round; }
.cp-vv__win { stroke: #9DB8FF; stroke-width: 10; }
.cp-vv__door { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: 4 4; }
.cp-vv__scr { fill: var(--o); filter: drop-shadow(0 0 10px rgba(255, 153, 0, .8)); }
.cp-vv__scrt { fill: rgba(255, 255, 255, .5); font: 700 14px "Titillium Web", sans-serif; letter-spacing: .2em; text-anchor: middle; }
.cp-vv__fur > g { opacity: 0; }
.cp-vv__fur.is-ready > g { transition: transform 1.1s cubic-bezier(.65, 0, .25, 1), opacity .6s; }
.cp-vv__ch .s { fill: var(--o); }
.cp-vv__ch .b { fill: #C26F00; }
.cp-vv__tb { fill: #E9E7F7; }
.cp-vv__tabs { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-vv__tabs button { all: unset; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.cp-vv__tabs button.is-on { background: var(--o); color: #000033; }
.cp-vv__cfgl { position: absolute; right: 14px; bottom: 12px; z-index: 2; color: #B8BBD6; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 1000px) {
	.cp-vv__cfgw { grid-template-columns: minmax(0, 1fr); }
	.cp-vv__device--cfg { order: -1; }
}
@media (max-width: 600px) {
	.cp-vv__tabs button { padding: 4px 9px; font-size: 11px; }
	.cp-vv__room { margin-top: 12%; }
	.cp-vv__cfgl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	[class*="cp-vv__"],
	[class*="cp-vv__"]::before,
	[class*="cp-vv__"]::after,
	.cp-sx-pano__pt b::before { transition: none !important; animation: none !important; }
}
