/* Bloc « Le bureau se construit au défilement » (test). */
.vtr-cs {
	--cs-encre: var(--wp--preset--color--encre, #14171f);
	--cs-gris: var(--wp--preset--color--gris, #5a5f55);
	--cs-gris-clair: var(--wp--preset--color--gris-clair, #8a8e84);
	--cs-filet: var(--wp--preset--color--filet, #e6e6e1);
	--cs-olive: var(--wp--preset--color--olive, #4b5636);
	--cs-jaune: var(--wp--preset--color--jaune, #ffe200);
	--vtr-l: calc(100vw - var(--vtr-sb, 0px));
	position: relative;
	height: calc((var(--n) + 1) * 55vh);
	width: var(--vtr-l) !important;
	max-width: none !important;
	margin-left: calc(50% - var(--vtr-l) / 2) !important;
	margin-right: calc(50% - var(--vtr-l) / 2) !important;
	color: var(--cs-encre);
	background: #fff;
}
.vtr-cs *, .vtr-cs *::before, .vtr-cs *::after { box-sizing: border-box; }
.vtr-cs__collant { position: sticky; top: var(--cs-haut, var(--wooh-entete-h, 90px)); height: calc(100vh - var(--cs-haut, var(--wooh-entete-h, 90px))); display: flex; align-items: center; overflow: hidden; }
.vtr-cs__cadre { width: 100%; padding: 0 var(--wooh-marge, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.vtr-cs__sur { margin: 0 0 14px; display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cs-olive); }
.vtr-cs__ruban { width: 28px; height: 2px; background: var(--cs-jaune); }
.vtr-cs .vtr-cs__h2 { margin: 0 0 32px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 300; line-height: 1.1; color: var(--cs-encre); }
.vtr-cs__etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vtr-cs__etape { display: flex; gap: 18px; align-items: baseline; padding: 6px 0; color: var(--cs-gris-clair); transition: color .35s; }
.vtr-cs__num { flex: none; width: 24px; font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.vtr-cs__bloc { display: flex; flex-direction: column; gap: 6px; }
.vtr-cs__titre { font-size: 17px; font-weight: 400; }
.vtr-cs__desc { font-size: 15px; line-height: 1.6; color: var(--cs-gris); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s ease; }
.vtr-cs__etape.is-fait { color: var(--cs-gris); }
.vtr-cs__etape.is-active { color: var(--cs-encre); }
.vtr-cs__etape.is-active .vtr-cs__titre { font-size: 22px; }
.vtr-cs__etape.is-active .vtr-cs__desc { max-height: 80px; opacity: 1; }
.vtr-cs__etape.is-active .vtr-cs__num { color: var(--cs-olive); }
.vtr-cs__progression { margin-top: 28px; height: 2px; background: var(--cs-filet); }
.vtr-cs__progression span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--cs-encre); }
.vtr-cs__visuel { position: relative; }
.vtr-cs__svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 160px); }
.vtr-cs__calque { opacity: 0; transform: translateY(-26px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.vtr-cs__calque.is-pose { opacity: 1; transform: none; }
/* Version images : les rendus se superposent et se fondent l'un dans l'autre. */
.vtr-cs__images { position: relative; width: 100%; max-width: var(--cs-img-max, 980px); margin-left: auto; aspect-ratio: 4 / 3; max-height: calc(100vh - 160px); }
.vtr-cs__images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vtr-cs--images .vtr-cs__calque { transform: none; transition: opacity .6s ease; }
.vtr-cs__ia { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #5a5f55; background: rgba(255, 255, 255, .85); padding: 4px 7px; }
/* Sans animation (réglage du visiteur ou pas de JavaScript) : tout est posé, texte en liste. */
.vtr-cs.is-statique { height: auto; }
.vtr-cs.is-statique .vtr-cs__collant { position: static; height: auto; padding: 64px 0; }
.vtr-cs.is-statique .vtr-cs__calque { opacity: 1; transform: none; }
.vtr-cs.is-statique .vtr-cs__desc { max-height: none; opacity: 1; }
.vtr-cs.is-statique .vtr-cs__etape { color: var(--cs-encre); }
.vtr-cs.is-statique .vtr-cs__progression { display: none; }
@media (max-width: 900px) {
	.vtr-cs__cadre { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
	.vtr-cs__visuel { order: -1; }
	.vtr-cs__svg { max-height: 46vh; margin: 0 auto; }
	.vtr-cs .vtr-cs__h2 { margin-bottom: 12px; font-size: 26px; }
	.vtr-cs__sur { display: none; }
	.vtr-cs__etape:not(.is-active) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vtr-cs__calque, .vtr-cs__desc, .vtr-cs__etape { transition: none !important; }
}

/* ---------- Variante ouverture de page (hero) ---------- */
.vtr-cs--hero { height: calc(var(--n) * 42vh + 100vh); background: #fff; }

.vtr-cs--hero .vtr-cs__cadre { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.vtr-cs__ariane { margin: 0 0 22px; font-size: 13px; color: var(--cs-gris); }
.vtr-cs__ariane a { color: inherit; text-decoration: none; }
.vtr-cs .vtr-cs__h1 { margin: 0; font-size: clamp(64px, 7.6vw, 150px); line-height: .92; font-weight: 300; letter-spacing: -.02em; color: var(--cs-encre); }
.vtr-cs__suite { display: block; margin-top: 18px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; letter-spacing: 0; font-weight: 300; color: var(--cs-gris); }
.vtr-cs__chapo { margin: 24px 0 0; max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--cs-gris); }
.vtr-cs__boutons { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.vtr-cs .vtr-cs__bouton { background: var(--cs-encre); color: #fff; border: 1px solid var(--cs-encre); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 16px 24px; }
.vtr-cs .vtr-cs__bouton:hover { background: var(--cs-olive); border-color: var(--cs-olive); color: #fff; }
.vtr-cs .vtr-cs__bouton.is-contour { background: transparent; color: var(--cs-encre); }
.vtr-cs .vtr-cs__bouton.is-contour:hover { background: var(--cs-encre); color: #fff; }
.vtr-cs__suivi { position: relative; margin-top: 40px; min-height: 96px; }
.vtr-cs--hero .vtr-cs__etapes { position: relative; }
.vtr-cs--hero .vtr-cs__etape { display: none; }
.vtr-cs--hero .vtr-cs__etape.is-active { display: flex; animation: vtrCsEntre .45s ease; }
.vtr-cs--hero .vtr-cs__etape.is-active .vtr-cs__titre { font-size: 20px; }
@keyframes vtrCsEntre { from { opacity: 0; transform: translateY(8px); } }
.vtr-cs--hero .vtr-cs__progression { margin-top: 16px; }
.vtr-cs__indice { position: absolute; left: 0; top: 0; margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cs-olive); background: #fff; padding-right: 20px; transition: opacity .3s; }
.vtr-cs__indice span { display: inline-block; margin-left: 6px; animation: vtrCsIndice 1.6s ease-in-out infinite; }
@keyframes vtrCsIndice { 50% { transform: translateY(4px); } }
.vtr-cs--hero[data-debut="0"] .vtr-cs__indice { opacity: 0; pointer-events: none; }
.vtr-cs--hero .vtr-cs__images { max-width: none; max-height: calc(100vh - 140px); }
@media (max-width: 900px) {
	.vtr-cs--hero { height: calc(var(--n) * 36vh + 100vh); }
	.vtr-cs--hero .vtr-cs__cadre { gap: 8px; }
	.vtr-cs .vtr-cs__h1 { font-size: 46px; }
	.vtr-cs__suite { margin-top: 8px; font-size: 15px; }
	.vtr-cs__chapo, .vtr-cs__ariane { display: none; }
	.vtr-cs__boutons { margin-top: 14px; }
	.vtr-cs .vtr-cs__bouton { padding: 12px 16px; }
	.vtr-cs__suivi { margin-top: 14px; min-height: 70px; }
	.vtr-cs--hero .vtr-cs__images { max-height: 40vh; }
}
@media (prefers-reduced-motion: reduce) {
	.vtr-cs__indice span, .vtr-cs--hero .vtr-cs__etape.is-active { animation: none; }
}
/* Au tout début, l'invitation à défiler remplace la première étape (pas de chevauchement). */
.vtr-cs--hero[data-debut="1"] .vtr-cs__etapes { visibility: hidden; }
.vtr-cs--hero.is-statique .vtr-cs__etapes { visibility: visible; }
.vtr-cs--hero.is-statique .vtr-cs__indice { display: none; }
/* ---------- Ouverture sur téléphone : rendu en haut, titre et étape dessous ---------- */
@media (max-width: 900px) {
	.vtr-cs--hero { height: calc(var(--n) * 30vh + 100vh); }
	.vtr-cs--hero .vtr-cs__collant { align-items: flex-start; }
	.vtr-cs--hero .vtr-cs__cadre { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 20px 0; }
	.vtr-cs--hero .vtr-cs__visuel { order: -1; margin: 0 -8px; }
	.vtr-cs--hero .vtr-cs__images { width: 100%; max-height: 38vh; margin: 0 auto; }
	.vtr-cs--hero .vtr-cs__ia { left: 4px; bottom: 0; }
	.vtr-cs--hero .vtr-cs__h1 { font-size: 40px; line-height: 1; }
	.vtr-cs--hero .vtr-cs__suite { margin-top: 6px; font-size: 14px; }
	.vtr-cs--hero .vtr-cs__boutons { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
	.vtr-cs--hero .vtr-cs__bouton { flex: 1 1 0; text-align: center; font-size: 10px; letter-spacing: .1em; padding: 12px 8px; white-space: nowrap; }
	.vtr-cs--hero .vtr-cs__suivi { margin-top: 16px; min-height: 84px; }
	.vtr-cs--hero .vtr-cs__etape.is-active .vtr-cs__titre { font-size: 16px; }
	.vtr-cs--hero .vtr-cs__desc { font-size: 13px; line-height: 1.5; }
	.vtr-cs--hero .vtr-cs__progression { margin-top: 10px; }
}

/* ---------- Ouverture plein écran : vue intérieure de face, texte posé à gauche ---------- */
.vtr-cs--plein .vtr-cs__collant { align-items: center; }
.vtr-cs--plein .vtr-cs__visuel { position: absolute; inset: 0; z-index: 0; }
.vtr-cs--plein .vtr-cs__images { position: absolute; inset: 0; max-width: none; max-height: none; aspect-ratio: auto; margin: 0; }
.vtr-cs--plein .vtr-cs__images img { object-fit: cover; object-position: 0% 50%; }
/* Le voile blanc suit la largeur réelle du texte : sur un portable ou une fenêtre étroite, le texte
   déborde sur le mur végétal et les bureaux des dernières étapes, il doit rester lisible. */
.vtr-cs--plein { --cs-txt: calc(clamp(24px, 4vw, 80px) + max(360px, min(500px, 30vw))); }
.vtr-cs--plein .vtr-cs__visuel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0, rgba(255, 255, 255, .9) var(--cs-txt), rgba(255, 255, 255, .55) calc(var(--cs-txt) + 5vw), rgba(255, 255, 255, 0) calc(var(--cs-txt) + 13vw)); }
.vtr-cs--plein .vtr-cs__ia { left: auto; right: 16px; top: 16px; bottom: auto; }
.vtr-cs--plein .vtr-cs__cadre { display: block; padding: 0 0 0 clamp(24px, 4vw, 80px); }
/* Le texte se pose sur le mur calme à gauche des fenêtres, hors de la grille de la page ;
   l'image est calée à gauche pour que les fenêtres restent à droite du texte quel que soit l'écran. */
.vtr-cs--plein .vtr-cs__texte { position: relative; z-index: 2; max-width: min(500px, 30vw); min-width: 360px; }
.vtr-cs--plein .vtr-cs__chapo { max-width: 440px; }
.vtr-cs--plein .vtr-cs__h1 { font-size: clamp(50px, min(5.6vw, 10vh), 112px); }
.vtr-cs--plein .vtr-cs__boutons { flex-wrap: nowrap; }
.vtr-cs--plein .vtr-cs__bouton { padding: 14px 16px; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
/* Écrans peu hauts (portables) : le bloc de texte se resserre pour tenir sous le menu. */
@media (min-width: 901px) and (max-height: 920px) {
	.vtr-cs--plein .vtr-cs__ariane { margin-bottom: 10px; }
	.vtr-cs--plein .vtr-cs__suite { margin-top: 10px; font-size: 16px; }
	.vtr-cs--plein .vtr-cs__chapo { margin-top: 12px; font-size: 14px; line-height: 1.6; }
	.vtr-cs--plein .vtr-cs__boutons { margin-top: 18px; }
	.vtr-cs--plein .vtr-cs__suivi { margin-top: 22px; min-height: 78px; }
	.vtr-cs--plein .vtr-cs__etape.is-active .vtr-cs__titre { font-size: 17px; }
	.vtr-cs--plein .vtr-cs__desc { font-size: 13px; }
}
.vtr-cs--plein .vtr-cs__suite, .vtr-cs--plein .vtr-cs__chapo, .vtr-cs--plein .vtr-cs__ariane { color: #3c4038; }
.vtr-cs--plein .vtr-cs__indice { background: none; }
.vtr-cs--plein .vtr-cs__progression { background: rgba(20, 23, 31, .14); }
.vtr-cs--plein .vtr-cs__calque { transition: none; transform: none; }
.vtr-cs--plein.is-statique .vtr-cs__collant { min-height: 80vh; padding: 0; position: relative; }
@media (max-width: 900px) {
	/* Téléphone : la pièce en haut (recadrée sur le centre), le texte dessous sur fond blanc. */
	.vtr-cs--plein .vtr-cs__collant { align-items: flex-start; }
	.vtr-cs--plein .vtr-cs__cadre { display: flex; flex-direction: column; align-items: stretch; }
	.vtr-cs--plein .vtr-cs__visuel { position: relative; inset: auto; order: -1; height: 44vh; flex: none; margin: -4px -20px 8px; }
	.vtr-cs--plein .vtr-cs__visuel::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, #fff 100%); }
	.vtr-cs--plein .vtr-cs__images img { object-position: 46% 50%; }
	.vtr-cs--plein .vtr-cs__ia { right: 12px; top: auto; bottom: 10px; }
	.vtr-cs--plein .vtr-cs__cadre { padding: 4px 20px 0; }
	.vtr-cs--plein .vtr-cs__texte { max-width: none; min-width: 0; }
	.vtr-cs--plein .vtr-cs__h1 { font-size: 40px; }
	.vtr-cs--plein .vtr-cs__bouton { padding: 12px 8px; font-size: 10px; letter-spacing: .1em; }
}
/* Étapes superposées dans une même case : la zone prend la hauteur de la plus longue
   et ne change plus, le bloc de texte ne sautille pas d'une étape à l'autre. */
.vtr-cs--plein .vtr-cs__suivi { min-height: 0; }
.vtr-cs--plein .vtr-cs__etapes { display: grid; }
.vtr-cs--plein .vtr-cs__etape, .vtr-cs--plein .vtr-cs__etape.is-active { display: flex; grid-area: 1 / 1; visibility: hidden; opacity: 0; animation: none; transition: opacity .35s ease, visibility 0s linear .35s; }
.vtr-cs--plein .vtr-cs__etape.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.vtr-cs--plein .vtr-cs__etape .vtr-cs__titre { font-size: 20px; }
.vtr-cs--plein .vtr-cs__etape .vtr-cs__desc { max-height: none; opacity: 1; }
.vtr-cs--plein[data-debut="1"] .vtr-cs__etape.is-active { visibility: hidden; opacity: 0; }
.vtr-cs--plein.is-statique .vtr-cs__etapes { display: flex; }
.vtr-cs--plein.is-statique .vtr-cs__etape { grid-area: auto; visibility: visible; opacity: 1; }
@media (min-width: 901px) and (max-height: 920px) {
	.vtr-cs--plein .vtr-cs__etape .vtr-cs__titre { font-size: 17px; }
}
@media (max-width: 900px) {
	.vtr-cs--plein .vtr-cs__etape .vtr-cs__titre { font-size: 16px; }
}


/* Repère « faites défiler » sur l'ouverture animée au défilement : disparaît dès qu'on défile. */
.vtr-defil {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 12px;
	background: rgba(255, 255, 255, .92);
	color: #14171f;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(20, 23, 31, .12);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity .4s ease, transform .4s ease;
}
.vtr-cs--hero .vtr-defil {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 6;
	transform: translateX(-50%);
}
.vtr-cs--hero[data-debut="0"] .vtr-defil {
	opacity: 0;
	transform: translate(-50%, 8px);
}
.vtr-defil__souris {
	position: relative;
	width: 14px;
	height: 22px;
	border: 1.5px solid currentColor;
	border-radius: 8px;
	flex: none;
}
.vtr-defil__souris i {
	position: absolute;
	left: 50%;
	top: 4px;
	width: 2px;
	height: 5px;
	margin-left: -1px;
	border-radius: 2px;
	background: currentColor;
	animation: vtr-defil 1.6s ease-in-out infinite;
}
@keyframes vtr-defil {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(7px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.vtr-cs--hero .vtr-defil { display: none; }
}
.vtr-cs.is-statique .vtr-defil { display: none; }

@media (max-width: 900px) {
	.vtr-cs--hero .vtr-defil { bottom: 16px; }
}


/* ---------- Variante « portes » (aperçu) : titre centré, montage plein écran, carte finale ---------- */
.vtr-cs--porte { --o: 0; --f: 0; height: calc(var(--n) * 46vh + 160vh); }
.vtr-cs--porte .vtr-cs__cadre { display: block; padding: 0; height: 100%; }
.vtr-cs--porte .vtr-cs__collant { align-items: stretch; }
.vtr-cs--porte .vtr-cs__visuel { position: absolute; inset: 0; height: auto; margin: 0; z-index: 0; }
.vtr-cs--porte .vtr-cs__images img { object-position: 50% 50%; }
/* Halo clair derrière le titre au départ, qui s'efface avec l'ouverture des portes. */
.vtr-cs--porte .vtr-cs__visuel::after { background: radial-gradient(ellipse 75% 55% at 50% 47%, rgba(250, 249, 246, .9) 0, rgba(250, 249, 246, .8) 30%, rgba(250, 249, 246, .55) 50%, rgba(250, 249, 246, .25) 70%, rgba(250, 249, 246, .08) 85%, rgba(250, 249, 246, 0) 100%); opacity: calc(1 - var(--o)); }
/* Voile dépoli derrière le titre : les fenêtres et montants ne se confondent plus avec les lettres. */
.vtr-cs--porte .vtr-cs__ouverture::before { content: ""; position: absolute; left: 50%; top: 47%; width: min(1500px, 110vw); height: min(640px, 76vh); transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0, rgba(0, 0, 0, .85) 25%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .12) 75%, transparent 98%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0, rgba(0, 0, 0, .85) 25%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .12) 75%, transparent 98%); opacity: calc(1 - var(--o) * 1.6); z-index: -1; pointer-events: none; }

.vtr-cs--porte .vtr-cs__ouverture { position: absolute; inset: 0; z-index: 3; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px 6vh; pointer-events: none; }
.vtr-cs--porte .vtr-cs__ouverture a, .vtr-cs--porte .vtr-cs__ouverture button { pointer-events: auto; }
.vtr-cs--porte.is-ouvert .vtr-cs__ouverture a, .vtr-cs--porte.is-ouvert .vtr-cs__ouverture button { pointer-events: none; }
.vtr-cs--porte .vtr-cs__ariane { margin: 0 0 18px; opacity: calc(1 - var(--o) * 3); }
.vtr-cs--porte .vtr-cs__h1 { font-size: clamp(64px, min(10vw, 17vh), 190px); line-height: .9; white-space: nowrap; }
.vtr-cs--porte .vtr-cs__mot, .vtr-cs--porte .vtr-cs__et { display: inline-block; will-change: transform, opacity; }
/* Les deux mots s'écartent comme deux vantaux de cloison coulissante. */
.vtr-cs--porte .vtr-cs__mot.is-g { transform: translateX(calc(var(--o) * -62vw)); opacity: calc(1 - var(--o) * .9); }
.vtr-cs--porte .vtr-cs__mot.is-d { transform: translateX(calc(var(--o) * 62vw)); opacity: calc(1 - var(--o) * .9); }
.vtr-cs--porte .vtr-cs__et { opacity: calc(1 - var(--o) * 3); transform: scale(calc(1 - var(--o) * .4)); }
.vtr-cs--porte .vtr-cs__h1 { color: #14171f; }
.vtr-cs--porte .vtr-cs__suite { margin-top: 22px; color: #14171f; font-weight: 400; opacity: calc(1 - var(--o) * 2.5); transform: translateY(calc(var(--o) * -16px)); }
.vtr-cs--porte .vtr-cs__liens { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 26px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: calc(1 - var(--o) * 2.5); }
.vtr-cs--porte .vtr-cs__liens a, .vtr-cs--porte .vtr-cs__passer { color: var(--cs-encre); text-decoration: underline; text-underline-offset: 6px; background: none; border: 0; padding: 6px 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.vtr-cs--porte .vtr-cs__liens a:hover, .vtr-cs--porte .vtr-cs__passer:hover { color: var(--cs-olive); }

/* Légende du montage, en bas à gauche, une étape à la fois. */
.vtr-cs--porte .vtr-cs__legende { position: absolute; z-index: 3; left: clamp(16px, 4vw, 80px); bottom: clamp(20px, 5vh, 48px); width: min(420px, calc(100% - 32px)); padding: 16px 18px 14px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.vtr-cs--porte.is-montage .vtr-cs__legende { opacity: 1; transform: none; }
.vtr-cs--porte .vtr-cs__legende .vtr-cs__etape .vtr-cs__titre { font-size: 17px; }
.vtr-cs--porte .vtr-cs__legende .vtr-cs__desc { font-size: 13px; line-height: 1.5; }
.vtr-cs--porte[data-debut="1"] .vtr-cs__legende .vtr-cs__etape.is-active { visibility: visible; opacity: 1; }
.vtr-cs--porte .vtr-cs__segments { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 4px; margin-top: 12px; }
.vtr-cs--porte .vtr-cs__seg { height: 2px; background: rgba(20, 23, 31, .14); transition: background .3s ease; }
.vtr-cs--porte .vtr-cs__seg.is-fait { background: var(--cs-encre); }

/* Carte finale : le texte revient, autrement. */
.vtr-cs--porte .vtr-cs__carte { position: absolute; z-index: 4; left: clamp(16px, 4vw, 80px); bottom: clamp(20px, 5vh, 48px); width: min(500px, calc(100% - 32px)); padding: clamp(22px, 3vw, 36px); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(20, 23, 31, .12); opacity: var(--f); transform: translateY(calc((1 - var(--f)) * 28px)); pointer-events: none; }
.vtr-cs--porte.is-fin .vtr-cs__carte, .vtr-cs--porte .vtr-cs__carte:has(:focus-visible) { pointer-events: auto; opacity: 1; transform: none; }
.vtr-cs--porte .vtr-cs__sur { margin: 0; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--cs-olive); letter-spacing: calc(.2em + (1 - var(--f)) * .8em); }
.vtr-cs--porte .vtr-cs__accroche { margin: 12px 0 0; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.12; font-weight: 300; color: var(--cs-encre); text-wrap: balance; }
.vtr-cs--porte .vtr-cs__chapo { margin: 14px 0 0; max-width: none; font-size: 15px; line-height: 1.65; color: #3c4038; }
.vtr-cs--porte .vtr-cs__boutons { margin-top: 22px; flex-wrap: wrap; }

@media (max-width: 900px) {
	.vtr-cs--porte { height: calc(var(--n) * 34vh + 140vh); }
	.vtr-cs--porte .vtr-cs__cadre { display: block; padding: 0; }
	.vtr-cs--porte .vtr-cs__visuel { position: absolute; inset: 0; height: auto; margin: 0; order: 0; }
	.vtr-cs--porte .vtr-cs__visuel::after { background: radial-gradient(ellipse 80% 40% at 50% 46%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 75%); }
	.vtr-cs--porte .vtr-cs__h1 { font-size: clamp(44px, 14vw, 72px); white-space: normal; }
	.vtr-cs--porte .vtr-cs__suite { font-size: 15px; margin-top: 12px; }
	.vtr-cs--porte .vtr-cs__ariane { display: none; }
	.vtr-cs--porte .vtr-cs__liens { flex-direction: column; gap: 4px; font-size: 11px; }
	.vtr-cs--porte .vtr-cs__liens span { display: none; }
	.vtr-cs--porte .vtr-cs__legende, .vtr-cs--porte .vtr-cs__carte { left: 12px; right: 12px; bottom: 12px; width: auto; }
	.vtr-cs--porte .vtr-cs__chapo { display: block; font-size: 14px; }
	.vtr-cs--porte .vtr-cs__accroche { font-size: 24px; }
}

/* Sans animation : bureau terminé, titre en haut, carte en bas. */
.vtr-cs--porte.is-statique { height: auto; --o: 0; --f: 1; }
.vtr-cs--porte.is-statique .vtr-cs__collant { position: relative; min-height: 92vh; }
.vtr-cs--porte.is-statique .vtr-cs__ouverture { justify-content: flex-start; padding-top: 8vh; }
.vtr-cs--porte.is-statique .vtr-cs__liens .vtr-cs__passer, .vtr-cs--porte.is-statique .vtr-cs__liens span, .vtr-cs--porte.is-statique .vtr-cs__legende { display: none; }
.vtr-cs--porte.is-statique .vtr-cs__carte { pointer-events: auto; }

/* Bouton « Lancer l'animation » (remplace le repère « faites défiler »). */
.vtr-cs--porte .vtr-cs__lecture { pointer-events: auto; cursor: pointer; border: 0; font-family: inherit; padding: 12px 20px 12px 16px; }
.vtr-cs--porte .vtr-cs__lecture:hover { background: #14171f; color: #fff; }
.vtr-cs--porte .vtr-cs__lecture:focus-visible { outline: 2px solid #14171f; outline-offset: 3px; }
.vtr-cs--porte[data-debut="0"] .vtr-cs__lecture { pointer-events: none; }
.vtr-cs__lecture-ico { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; flex: none; }
