/* Villa Victoria — traversée cinématographique de la page Expériences (v1.2).
 * Section de 600 vh, scène collante de 100 vh, canvas en « cover », cinq chapitres alternés :
 * texte, deux boutons, panneau de verre (soins, tarifs, repères), rail de chapitres à droite. */

/* Le conteneur Elementor qui porte le shortcode ne doit ni rogner ni décaler la scène. */
.elementor-7835 .elementor-element-e5c1ae3 {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	overflow: visible !important;
	gap: 0 !important;
}
.elementor-7835 .elementor-element-e5c1ae3 .elementor-widget-shortcode,
.elementor-7835 .elementor-element-e5c1ae3 .elementor-widget-shortcode > .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

.vv-cine {
	--vv-cine-progress: 0;
	--vv-cine-navy: #0F1F34;
	--vv-cine-gold: #E8C89F;
	--vv-cine-gutter: clamp(24px, 6vw, 132px);
	--vv-cine-header: 96px; /* hauteur de l'en-tête (en flux à l'arrivée, collant ensuite), sous lequel on centre */
	position: relative;
	height: 600vh;
	margin: 0;
	background: var(--vv-cine-navy);
	color: #fff;
}

.vv-cine__scene {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: var(--vv-cine-navy);
}

.vv-cine__poster,
.vv-cine__canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}
.vv-cine__poster {
	object-fit: cover;
	object-position: center;
	z-index: 0;
	transition: opacity .5s ease;
}
.vv-cine.is-drawn .vv-cine__poster { opacity: 0; }
.vv-cine__canvas { z-index: 1; }

/* ---- chapitres ------------------------------------------------------- */
.vv-cine__chapters {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.vv-cine__chapter {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: var(--vv-cine-header) var(--vv-cine-gutter) 0;
	opacity: 0;
	visibility: hidden;
}
.vv-cine__chapter::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.vv-cine__chapter--gauche { justify-content: flex-start; }
.vv-cine__chapter--gauche::before {
	background: linear-gradient(90deg, rgba(11, 26, 45, .66) 0%, rgba(11, 26, 45, .32) 36%, rgba(11, 26, 45, 0) 64%);
}
.vv-cine__chapter--droite { justify-content: flex-end; text-align: right; }
.vv-cine__chapter--droite::before {
	background: linear-gradient(270deg, rgba(11, 26, 45, .66) 0%, rgba(11, 26, 45, .32) 36%, rgba(11, 26, 45, 0) 64%);
}

.vv-cine__text {
	position: relative;
	width: 100%;
	max-width: min(580px, 46vw);
	pointer-events: auto;
	will-change: transform;
}

.vv-cine__kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.4px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--vv-cine-gold);
}
.vv-cine__kicker::before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 1px;
	background: var(--vv-cine-gold);
}
.vv-cine__chapter--droite .vv-cine__kicker { flex-direction: row-reverse; }

.vv-cine__title {
	margin: 0;
	font-family: "Melodrama", "Jost", serif;
	font-size: clamp(34px, min(4.2vw, 6.6vh), 60px);
	font-weight: 400;
	letter-spacing: -0.4px;
	line-height: 1.04;
	color: #fff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, .28);
	text-transform: none;
}

.vv-cine__body {
	max-width: 48ch;
	margin: 16px 0 0;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: clamp(15px, 1.15vw, 17px);
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
	text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}
.vv-cine__chapter--droite .vv-cine__body { margin-left: auto; }

/* ---- boutons : deux par chapitre, même largeur ---------------------------- */
.vv-cine__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	max-width: 540px;
	margin-top: 24px;
}
.vv-cine__chapter--droite .vv-cine__actions { margin-left: auto; }
.vv-cine__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 15px 16px;
	border: 1px solid #fff;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.vv-cine__btn--primaire { background: #fff; color: var(--vv-cine-navy); }
.vv-cine__btn--primaire:hover,
.vv-cine__btn--primaire:focus-visible { background: #C39A6B; border-color: #C39A6B; color: var(--vv-cine-navy); }
.vv-cine__btn--secondaire { background: rgba(11, 26, 45, .22); color: #fff; border-color: rgba(255, 255, 255, .85); }
.vv-cine__btn--secondaire:hover,
.vv-cine__btn--secondaire:focus-visible { background: #fff; border-color: #fff; color: var(--vv-cine-navy); }
.vv-cine__btn:focus-visible { outline: 2px solid var(--vv-cine-gold); outline-offset: 3px; }

/* ---- ligne de confiance (premier chapitre) ------------------------------- */
.vv-cine__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.4px;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .74);
	text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}
.vv-cine__trust li { display: flex; align-items: center; gap: 8px; }
.vv-cine__trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vv-cine-gold); }
.vv-cine__chapter--droite .vv-cine__trust { justify-content: flex-end; }

/* ---- panneau de verre : soins, tarifs, repères (toujours lu de gauche à droite) ---- */
.vv-cine__panel {
	margin-top: 22px;
	padding: 14px 18px 12px;
	text-align: left;
	background: rgba(11, 26, 45, .5);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	backdrop-filter: blur(18px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.vv-cine__chapter--droite .vv-cine__panel { margin-left: auto; }
.vv-cine__panel-title {
	margin: 0 0 2px;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--vv-cine-gold);
}
.vv-cine__rows {
	display: flex;
	flex-direction: column;
}
.vv-cine__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	font-family: "Jost", Helvetica, Arial, sans-serif;
	color: #fff;
	text-decoration: none;
	transition: border-color .25s ease;
}
.vv-cine__row:last-child { border-bottom-color: transparent; padding-bottom: 6px; }
.vv-cine__row-label {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: #fff;
	transition: color .25s ease;
}
.vv-cine__row-meta {
	flex: 0 0 auto;
	max-width: 58%;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: .2px;
	color: rgba(255, 255, 255, .78);
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.vv-cine__meta-court { display: none; } /* méta abrégée, mobile seulement */
.vv-cine__row:hover,
.vv-cine__row:focus-visible { border-bottom-color: var(--vv-cine-gold); outline: none; }
.vv-cine__row:hover .vv-cine__row-label,
.vv-cine__row:focus-visible .vv-cine__row-label { color: var(--vv-cine-gold); }
.vv-cine__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--vv-cine-gold);
	transition: gap .25s ease, color .25s ease;
}
.vv-cine__more:hover,
.vv-cine__more:focus-visible { gap: 12px; color: #fff; outline: none; }
.vv-cine__chevron { flex: 0 0 auto; }

/* Dernier chapitre remonté pour laisser la table de massage dégagée. */
.vv-cine__chapter--haut { padding-bottom: 10vh; }

/* Fenêtres basses : moins de lignes, moins d'air, jusqu'à céder la place à l'image. */
@media (min-width: 768px) and (max-height: 940px) {
	.vv-cine__row:nth-child(n + 5) { display: none; }
	.vv-cine__panel { margin-top: 16px; }
	.vv-cine__body { margin-top: 12px; }
	.vv-cine__kicker { margin-bottom: 12px; }
	.vv-cine__actions { margin-top: 18px; }
	.vv-cine__trust { margin-top: 12px; }
	.vv-cine__chapter--haut { padding-bottom: 6vh; }
}
@media (min-width: 768px) and (max-height: 820px) {
	.vv-cine__row:nth-child(n + 4) { display: none; }
	.vv-cine__title { font-size: clamp(30px, 6vh, 46px); }
	.vv-cine__body { font-size: 15px; line-height: 1.5; }
}
@media (min-width: 768px) and (max-height: 700px) {
	.vv-cine__panel,
	.vv-cine__trust { display: none; }
}
/* Largeurs moyennes : boutons plus compacts pour rester sur une ligne. */
@media (min-width: 768px) and (max-width: 1180px) {
	.vv-cine__btn { padding: 14px 12px; font-size: 12px; letter-spacing: 1px; }
}

/* Sous 1201 px, le thème passe #pxl-wapper et #pxl-main en overflow: hidden, ce qui fait de
 * ces blocs des conteneurs de défilement et neutralise le position: sticky de la scène.
 * `clip` rogne de la même façon sans créer de conteneur de défilement (même parade que sur
 * les pages Massages et Évènementiel). */
body.page-id-7835 #pxl-wapper,
body.page-id-7835 #pxl-main { overflow: clip !important; }

/* ---- rail de chapitres (progression + points cliquables) ---------------- */
.vv-cine__rail {
	position: absolute;
	right: clamp(18px, 2.6vw, 40px);
	top: 50%;
	z-index: 4;
	width: 28px;
	height: 36vh;
	transform: translateY(-50%);
	pointer-events: none;
}
.vv-cine__rail-track {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	margin-left: -.5px;
	background: rgba(255, 255, 255, .22);
}
.vv-cine__rail-track i {
	position: absolute;
	inset: 0;
	background: var(--vv-cine-gold);
	transform-origin: top center;
	transform: scaleY(var(--vv-cine-progress));
}
.vv-cine__tick {
	position: absolute;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
}
.vv-cine__tick::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px var(--vv-cine-navy);
	opacity: .6;
	transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}
.vv-cine__tick:hover::before,
.vv-cine__tick:focus-visible::before,
.vv-cine__tick.is-active::before { opacity: 1; transform: scale(1.45); background: var(--vv-cine-gold); }
.vv-cine__tick:focus-visible { outline: 2px solid var(--vv-cine-gold); outline-offset: 2px; border-radius: 50%; }
.vv-cine__tick-label {
	position: absolute;
	right: calc(100% + 4px);
	top: 50%;
	padding: 6px 10px;
	transform: translateY(-50%) translateX(6px);
	white-space: nowrap;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	background: rgba(11, 26, 45, .72);
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}
.vv-cine__tick:hover .vv-cine__tick-label,
.vv-cine__tick:focus-visible .vv-cine__tick-label { opacity: 1; transform: translateY(-50%); }

/* ---- invitation et chargement : visibles dès l'arrivée, sous l'en-tête en flux ---- */
.vv-cine__hint {
	position: absolute;
	left: 50%;
	bottom: calc(34px + var(--vv-cine-header));
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	transform: translateX(-50%);
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.4px;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
	pointer-events: none; /* jamais entre le doigt et un lien */
	transition: opacity .7s ease, visibility 0s linear .7s;
}
.vv-cine__hint i {
	display: block;
	width: 1px;
	height: 44px;
	background: linear-gradient(180deg, var(--vv-cine-gold), rgba(232, 200, 159, 0));
	transform-origin: top center;
	animation: vv-cine-hint 2.4s ease-in-out infinite;
}
.vv-cine.is-scrolled .vv-cine__hint { opacity: 0; visibility: hidden; }
@keyframes vv-cine-hint {
	0%   { transform: scaleY(0); opacity: 0; }
	35%  { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

.vv-cine__loading {
	position: absolute;
	left: var(--vv-cine-gutter);
	bottom: calc(34px + var(--vv-cine-header));
	z-index: 3;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.4px;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
	font-variant-numeric: tabular-nums;
	pointer-events: none;
	transition: opacity .9s ease, visibility 0s linear .9s;
}
.vv-cine.is-ready .vv-cine__loading,
.vv-cine.is-loaded .vv-cine__loading { opacity: 0; visibility: hidden; }

/* ---- écrans étroits et tablettes en portrait : texte centré, voile vertical ---- */
@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
	.vv-cine {
		--vv-cine-gutter: 20px;
		--vv-cine-header: 80px;
		/* Zone morte du bas : barre de navigation mobile (73 px) + décalage de l'en-tête en
		 * flux (la scène sticky dépasse l'écran d'autant à défilement zéro). Le texte est
		 * centré entre cette zone et l'en-tête, donc au milieu de ce que l'on voit. */
		--vv-cine-bas: calc(73px + var(--vv-cine-header) + env(safe-area-inset-bottom, 0px));
	}
	.vv-cine__chapter,
	.vv-cine__chapter--gauche,
	.vv-cine__chapter--droite {
		align-items: center;
		align-items: safe center; /* un contenu trop haut déborde vers le bas, jamais vers le haut */
		justify-content: center;
		padding-top: calc(var(--vv-cine-header) + 22px);
		padding-bottom: var(--vv-cine-bas);
		padding-left: 34px;  /* symétrique du rail : le bloc est centré optiquement */
		padding-right: 34px; /* place pour le rail */
		text-align: center;
	}
	.vv-cine__chapter--gauche::before,
	.vv-cine__chapter--droite::before {
		background: linear-gradient(180deg, rgba(11, 26, 45, .46) 0%, rgba(11, 26, 45, .62) 30%, rgba(11, 26, 45, .62) 74%, rgba(11, 26, 45, .16) 100%);
	}
	.vv-cine__chapter--droite .vv-cine__kicker { flex-direction: row; }
	/* Centré, le trait du sur-titre décale la deuxième ligne quand le libellé passe à la
	 * ligne : on garde le mot seul, centré. */
	.vv-cine__kicker { justify-content: center; }
	.vv-cine__kicker::before { display: none; }
	.vv-cine__body,
	.vv-cine__actions,
	.vv-cine__panel,
	.vv-cine__chapter--droite .vv-cine__body,
	.vv-cine__chapter--droite .vv-cine__actions,
	.vv-cine__chapter--droite .vv-cine__panel { margin-left: auto; margin-right: auto; }
	.vv-cine__trust,
	.vv-cine__chapter--droite .vv-cine__trust { justify-content: center; }
	.vv-cine__text { max-width: min(100%, 560px); margin-left: auto; margin-right: auto; }
	.vv-cine__kicker { margin-bottom: 12px; }
	.vv-cine__title { font-size: clamp(30px, 8.4vw, 44px); }
	.vv-cine__body { font-size: 15px; line-height: 1.55; margin-top: 12px; max-width: 44ch; }
	.vv-cine__actions { grid-template-columns: 1fr; gap: 10px; max-width: none; margin-top: 18px; }
	.vv-cine__btn { padding: 14px 16px; }
	.vv-cine__trust { display: none; }
	/* Le panneau garde ses lignes soin / tarif bord à bord ; seuls son titre et son lien
	 * suivent le centrage (les cellules sont des éléments flex, text-align ne les bouge pas). */
	.vv-cine__panel { margin-top: 14px; padding: 10px 14px 6px; text-align: center; }
	.vv-cine__row { padding: 8px 0; gap: 12px; }
	/* Un libellé sur deux lignes doit rester aligné à gauche : seuls le titre du panneau et
	 * son lien suivent le centrage. */
	.vv-cine__row-label { font-size: 14px; text-align: left; }
	.vv-cine__row-meta { font-size: 12px; }
	.vv-cine__row:nth-child(n + 4) { display: none; }
	.vv-cine__more { margin-top: 4px; margin-bottom: 4px; }
	.vv-cine__rail { right: 2px; height: 22vh; }
	.vv-cine__tick-label { display: none; }
	.vv-cine__meta-long { display: none; }
	.vv-cine__meta-court { display: inline; }
	/* Invitation réduite au mot, posée entre le panneau et la barre de navigation mobile (73 px). */
	.vv-cine__hint { gap: 0; bottom: calc(73px + 12px + var(--vv-cine-header) + env(safe-area-inset-bottom, 0px)); }
	.vv-cine__hint i { display: none; }
	.vv-cine__loading { bottom: calc(73px + 12px + var(--vv-cine-header) + env(safe-area-inset-bottom, 0px)); }
}
/* Très petits écrans (moins de 700 px de haut) : le panneau cède la place à l'image. */
@media (max-width: 767px) and (max-height: 700px) {
	.vv-cine__panel { display: none; }
	.vv-cine__title { font-size: clamp(28px, 8vw, 36px); }
	.vv-cine__body { max-width: none; }
}
@media (max-width: 359px) {
	.vv-cine__title { font-size: 28px; }
	.vv-cine__row { flex-wrap: wrap; gap: 2px 12px; }
	.vv-cine__row-meta { max-width: none; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.vv-cine__hint i { animation: none; opacity: .8; }
	.vv-cine__poster { transition: none; }
	.vv-cine__tick::before,
	.vv-cine__tick-label,
	.vv-cine__btn { transition: none; }
}

/* ---- section « Être rappelé·e » : libellés des listes déroulantes ------------------ */
/* Le thème masque les libellés (les champs texte ont un placeholder) ; les deux listes,
   elles, n'en ont pas : sans libellé, « Peu importe » ne veut rien dire. */
.vv-rappel-form .vv-field-visible .vv-field-label {
	display: block;
	margin-bottom: 6px;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: 1.4;
	text-transform: uppercase;
	color: #0F1F34;
	clip: auto;
	clip-path: none;
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
}
.vv-rappel-form select { width: 100%; }

/* Mention sous le bouton : le numéro est collecté sans case à cocher, la phrase dit à quoi
   il sert. Ton discret, alignée sur le bouton. */
.vv-rappel-form .vv-form-mention {
	margin: 14px 0 0;
	font-family: "Jost", Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #6B7780;
}

/* Bouton « Être rappelé·e » et sa mention : centrés sur mobile seulement (au-dessus, ils
   suivent le fil du formulaire, alignés à gauche comme les champs). Le bouton est seul dans
   son <p> ; `inline-flex` suit le text-align du parent. */
@media (max-width: 767px) {
	.vv-rappel-form > p:has(.wpcf7-submit),
	.vv-rappel-form > p:nth-last-of-type(2),
	.vv-rappel-form .vv-form-mention { text-align: center; }
}

/* ---- reste de la page (widgets Elementor) : boutons côte à côte de même largeur ---- */
.elementor-7835 .elementor-element-34f23eb .elementor-button,
.elementor-7835 .elementor-element-54b4df1 .elementor-button { min-width: 264px; }
@media (max-width: 767px) {
	.elementor-7835 .elementor-element-34f23eb .elementor-widget-button,
	.elementor-7835 .elementor-element-54b4df1 .elementor-widget-button { width: 100% !important; }
	.elementor-7835 .elementor-element-34f23eb .elementor-button,
	.elementor-7835 .elementor-element-54b4df1 .elementor-button { width: 100%; min-width: 0; }
}
