@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@710&display=swap');
@import url('/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/fonts/quentin/quentin.css');

/* Surclassement de l'overflow nul du carrousel reco en bas de la bage */
.experience-einstein-carousel {
    margin: 0 40px;
}

/* Mise en page générale */
.stval-main {
	width: 100%;
	margin: 0;
	position: relative;
	/* Taille typo pour toute la LP */
	font-size: clamp(13px, 3.6vw, 18px);
	scroll-behavior: smooth;
}

.stval-main img {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.global-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.ancre-stval{
	position: relative;
}

@keyframes fade-in {
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

/* Valable pour toute la page */
.stval-filet{
	margin: 0;
	border: none;
	width: 100%;
	height: 2em;
	background: center / cover no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-filet-mob.webp);
}

.stval-text{
	width: 100%;
	margin: 3.5em 0 3em;
	text-align: center;
}

.stval-text-timer{
	margin: 0;
	color: #A1A1A1;
	font-size: 1.5em;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.stval-text-title{
	margin: 0;
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	font-size: 2.2em;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.stval-manuscrit{
	font-family: 'Quentin', cursive;
	margin: 0;
	color: white;
	line-height: 0.8;
	user-select: none;
}


/* COVER */
.stval-cover{
	position: relative;
	aspect-ratio: 666/977;
}

.stval-cover-img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.stval-cover-text{
	width: 100%;
	height: 100%;
	padding: 0em 0 4em;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	gap: 2em;
}

.stval-cover-text-logo{
	width: 21em;
}

.stval-cover-text-wrapper{
	display: none;
}

.stval-cover-text-cta{
	display: inline-block;
	position: relative;
	z-index: 2;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0.5em 1.6em;
	border: solid 1px white;
	transition: color 480ms ease-in-out, background-color 480ms ease-in-out;
}

.stval-cover-text-cta:link, .stval-cover-text-cta:visited{
	text-decoration: none;
	color: white;
}

.stval-cover-text-cta:hover, .stval-cover-text-cta:active{
	text-decoration: none;
	color: black;
	background-color: white;
}


/* BLOC INVITATION */
.stval-invit{
	position: relative;
}

.stval-invit-video{
	position: relative;
	aspect-ratio: 664/976;
	background: center / contain no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-invit-poster-mob.webp);
}

.stval-video{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
}

.stval-video.desktop{
	display: none;
}

.stval-invit-grid{
	margin-top: 2em;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.stval-invit-grid-element{
	position: relative;
	aspect-ratio: 333/492;
}

.stval-invit-grid-element#texture{
	background: center / cover no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-invit-texture-mob.webp);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.stval-invit-grid-element .stval-manuscrit{
	transform: rotate(-8deg);
	text-align: center;
	font-size: 2.8em;
}


/* BLOC MISE EN BEAUTE */
.stval-beaute{
	position: relative;
}

.stval-beaute-grid{
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: 
		"serviette serviette"
		"ceinture robe";
	margin-bottom: 1em;
}

.stval-beaute-grid-element{
	position: relative;
	aspect-ratio: 333/492;
}

.stval-beaute-grid-element#serviette{
	grid-area: serviette;
	position: relative;
	aspect-ratio: 666/980;
}

.stval-beaute-serviette-text{
	margin: 0;
	position: absolute;
	left: 0.5em;
	bottom: 0.5em;
	color: white;
	font-family: 'Playfair Display';
	font-weight: 700;
	text-transform: uppercase;
	font-size: 3.7em;
	text-shadow: 0 0 0.3rem #0000005c;
	user-select: none;
}

.stval-beaute-nb-wrapper{
	position: relative;
	aspect-ratio: 666/1066;
}

.stval-beaute-enveloppe-container{
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 12em;
}

.stval-beaute-enveloppe{
	aspect-ratio: 700/493;
	background: center / contain no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-beaute-enveloppe.webp);
	filter: drop-shadow(0 0.06em 0.1em #00000069);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 25em;
	transform: rotate(8deg) translate(-45%, -70%);
}

.stval-beaute-enveloppe .stval-manuscrit{
	margin: 1.5em 0;
	transform: rotate(-1deg);
	font-size: 2.4em;
}


/* Bloc CHOIX swiper */
.stval-choix .stval-text{
	margin: 0 0 3em;
}

.stval-choix-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.stval-choix .swiper-slide {
	transition: transform 0.5s ease-out;
	/* Reset de la font-size */
	font-size: inherit !important;
}

.stval-choix-swiper-img{
	aspect-ratio: 479/691;
}

.swiper-slide-active{
	z-index: 1;
	transform: rotate(0) !important;
}

.stval-choix-swiper-text{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

.stval-choix-swiper-title{
	color: white;
	text-shadow: 0 0 0.3rem #0000005c;
	font-size: 1.5em;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.1em;
}

.swiper-slide-active .stval-choix-swiper-text{
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 25%;
	animation: fade-in 480ms ease-out 1 normal forwards;
}


/* Bloc DEPART */
.stval-depart{
	position: relative;
}

.stval-depart-grid{
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.stval-depart-grid-element{
	position: relative;
	aspect-ratio: 333/492;
}

.stval-depart-grid-element#main{
	grid-column: 1/3;
	aspect-ratio: 666/982;
}


.stval-depart-logo{
	position: absolute;
	bottom: 34%;
	left: 50%;
	transform: translate(-50%);
	width: 22em;
}

.stval-depart-logo svg{
	width: 74%;
	margin-left: 39%;
}


/* ============================= */
/* PINS et FICHES PRODUITS */
.fiche{
	position: absolute;
	z-index: 2;
	filter: drop-shadow(0 0 0.3em #0000005c);
}

.fiche-inner{
	display: none;
	width: 11.5em;
	position: relative;
	background-color: white;
	text-align: center;
	border-radius: 0.6em; 
	overflow: hidden;
}

.fiche-name{
	font-weight: normal;
	text-align: center;
	margin: 0.5em 0.1em 0;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.1;
}

.fiche-price{
	margin: 0.25em 0;
}

.pin-cta{
	font-size: 0.85em;
	display: inline-block;
	margin: 0.5em 0 1em;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 0.5em;
	padding: 0.4em 1.8em;
	border: solid 1px #151516;
	transition: color 240ms ease-in-out, background-color 240ms ease-in-out;
	box-sizing: border-box;
}

.pin-cta:link, .pin-cta:visited{
	color: black;
	background-color: white;
	text-decoration: none;
}

.pin-cta:hover, .pin-cta:active{
	color: white;
	background-color: #151516;
	text-decoration: none;
}

.button-more{
	position: absolute;
	left: 0;
	top: 0;
	height: 1.2em;
	aspect-ratio: 1/1;
	translate: -50% -50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: white;
	color: black;
	font-size: 1.5em;
	transition: 200ms ease-in-out;
}

.button-more:hover{
	background-color: black;
	color: white;
	cursor: pointer;
}

.button-more-x{
	margin: 0;
	user-select: none;
}

/* Ici, on détermine ce qu'il se passe au clique. */
.opened{
	background-color: black;
	color: white;
	rotate: 45deg;
	z-index: 3;
}

.visible{
	z-index: 2;
	opacity: 1;
	display: block;
	animation: fade-in 240ms ease-out 1 normal forwards;
}


/* PLACEMENT DES PINS*/
/* Chemise */
#pin-01{
	top: 55%;
	left: 60%;
}

/* Sac */
#pin-02{
	top: 60%;
	left: 75%;
}

/* Robe */
#pin-03{
	top: 35%;
	left: 65%;
}
#pin-03 .fiche-inner{
	transform: translateX(-100%);
}

/* Veste rouge */
#pin-04{
	top: 48%;
	left: 65%;
}
#pin-04 .fiche-inner{
	transform: translateX(-100%);
}

/* Pantalon rouge */
#pin-05{
	top: 95%;
	left: 73%;
}
#pin-05 .fiche-inner{
	transform: translate(-100%, -100%);
}

/* Ceinture gauche */
#pin-06{
	top: 30%;
	left: 52%;
	z-index: 4;
}

/* Ceinture droite */
#pin-07{
	top: 45%;
	left: 72%;
	z-index: 3;
}
/* Sac coeur */
#pin-08{
	top: 58%;
	left: 28%;
}
#pin-08 .fiche-inner{
	transform: translateX(-100%);
}

/* Robe rouge */
#pin-09{
	top: 25%;
	left: 65%;
}
#pin-09 .fiche-inner{
	transform: translateX(-100%);
}

/* Top dentelles */
#pin-10{
	top: 62%;
	left: 20%;
}
/* Combi dentelle */
#pin-11{
	top: 48%;
	left: 42%;
}
/* Chaussures */
#pin-12{
	top: 38%;
	left: 58%;
}

/* Robe */
#pin-13{
	top: 33%;
	left: 70%;
}
#pin-13 .fiche-inner{
	transform: translateX(-100%);
}

/* Césure pourrie */
@media screen and (min-width : 666px) {
	.cesure-mob{
		display: none;
	}
}


/* ===== RESPONSIVE SUR DESKTOP ===== */
@media screen and (min-width : 768.5px) {
	.stval-main {
		font-size: clamp(13px, 1vw, 18px);
	}

	.stval-filet{
		background: center / cover no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-filet-desk.webp);
	}

	/* Cover */
	.stval-cover{
		aspect-ratio: 1920/1195;
	}

	.stval-cover-text{
		position: -webkit-sticky;
		position: sticky;
		/* Hauteur du petit header */
		top: 60px;
		left: 0;
		/* Taille de l'écran, moins la taille du header */
		height: calc(100vh - 102px);
		max-height: 100%;
		padding: 0 9% 0 59%;
		justify-content: center;
		gap: 2vh;
	}
	
	.stval-cover-text-logo{
		width: 27vw;
		max-width: 28em;
		margin: 0;
	}

	.stval-cover-text-wrapper{
		display: block;
		min-width: 333px;
	}
	
	.stval-cover-text-labeur{
		margin: 0.5em 0em;
		color: white;
		line-height: 1.5;
		text-align: center;
	}

	.stval-bold{
		font-weight: 700;
	}


	/* Bloc INVITATION */
	.stval-invit-video{
		aspect-ratio: 1920/1080;
		background: center / contain no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-invit-poster-desk.webp);
	}

	.stval-video.mob{
		display: none;
	}
	
	.stval-video.desktop{
		display: block;
	}

	.stval-invit-grid-element{
		aspect-ratio: 960/1100;
	}

	.stval-invit-grid-element#texture{
		background: center / cover no-repeat url(/on/demandware.static/-/Library-Sites-SharedLibraryMorgan/default/content_asset/LP-2025/lp-saint-valentin-2025/stval-invit-texture-desk.webp);
		font-size: 2.5em;
	}


	/* Bloc MISE EN BEAUTE */
	.stval-beaute-grid{
		grid-template-columns: 65% 35%;
		grid-template-areas: 
			"serviette robe"
			"serviette ceinture";
		margin-bottom: 2em;
	}

	.stval-beaute-grid-element{
		aspect-ratio: 650/931;
	}
	
	.stval-beaute-grid-element#robe{
		grid-area: robe;
	}

	.stval-beaute-grid-element#serviette{
		aspect-ratio: unset;
		height: 100%;
	}

	.stval-beaute-serviette-text{
		font-size: 8em;
	}
	

	.stval-beaute-nb-wrapper{
		position: relative;
		aspect-ratio: 1920/1103;
	}

	.stval-beaute-enveloppe-container{
		height: 19em;
	}

	.stval-beaute-enveloppe{
		width: 60em;
		transform: rotate(7deg) translate(-15%, -85%);
	}
	
	.stval-beaute-enveloppe .stval-manuscrit{
		margin: 1.2em 0;
		font-size: 4.2em;
	}


	/* Bloc CHOIX swiper */
	.stval-choix-swiper-title{
		font-size: 1.8em;
	}


	/* Bloc DEPART */
	.stval-depart-grid-element{
		position: relative;
		aspect-ratio: 960/1418;
	}
	
	.stval-depart-grid-element#main{
		aspect-ratio: 1920/1196;
	}
	
	.stval-depart-logo{
		bottom: 5%;
		width: 42em;
	}
	.stval-depart-logo svg{
		margin-left: 44%;
	}
	

	/* ============================= */
	/* PLACEMENT DES PINS*/
	/* Sac */
	#pin-02{
		top: 58%;
		left: 72%;
	}

	/* Robe */
	#pin-03{
		top: 40%;
		left: 55%;
	}
	#pin-03 .fiche-inner{
		transform: none;
	}

	/* Veste rouge */
	#pin-04{
		top: 55%;
		left: 70%;
	}
	#pin-04 .fiche-inner{
		transform: none;
	}

	/* Pantalon rouge */
	#pin-05 .fiche-inner {
		transform: translate(0,-100%);
	}

	/* Ceinture gauche */
	/* Le translate empêche de cliquer sur la Pin-07, alors il faut la repositionner complètement */
	#pin-06{
		left: unset;
		right: 48%;
	}
	#pin-06 .button-more{
		left: unset;
		right: 0;
		translate: 50% -50%;
	}

	/* Ceinture droite */
	#pin-07 .fiche-inner{
		transform: translateX(-100%);
	}

	/* Robe rouge */
	#pin-09{
		top: 25%;
		left: 60%;
	}

	/* Top dentelles */
	#pin-10{
		top: 45%;
		left: 30%;
	}
}
