/* Accueil : le haut de page, puis le bandeau défilant. Dès 900 px, le texte et les paquets se partagent la largeur. */

.lfo-accueil {
	position: relative;
	min-height: calc(100vh - 112px);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 4vw, 60px);
	padding: clamp(12px, 3vh, 40px) clamp(18px, 4vw, 60px) clamp(28px, 4vh, 48px);
	box-sizing: border-box;
	background: radial-gradient(900px 600px at 78% 40%, #FFE6B8 0%, rgba(255, 230, 184, 0) 65%);
}

.lfo-accueil__texte {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	max-width: 640px;
}

.lfo-accueil__surtitre {
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(28px, 2.6vw, 38px);
	line-height: 1;
	color: #4E9A3A;
	rotate: -4deg;
	transform-origin: left;
}

.lfo-accueil__titre {
	margin: 0;
	font-weight: 800;
	font-size: clamp(44px, 5.2vw, 84px);
	line-height: 1;
	letter-spacing: -.025em;
	color: #3A2414;
	text-wrap: balance;
}

.lfo-accueil__titre .accent {
	font-style: normal;
	background: linear-gradient(transparent 58%, #F5B82E 58%, #F5B82E 92%, transparent 92%);
	padding: 0 .06em;
}

.lfo-accueil__intro {
	margin: 0;
	max-width: 44ch;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.6;
	color: #5A3E2A;
	text-wrap: pretty;
}

.lfo-accueil__etiquettes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lfo-accueil__etiquette {
	padding: 9px 14px;
	border-radius: 10px;
	background: #4E9A3A;
	color: #FFF7EA;
	font-size: 14px;
	font-weight: 800;
	rotate: -5deg;
	box-shadow: 0 4px 0 rgba(58, 36, 20, .25);
}

.lfo-accueil__etiquette:nth-child(3n+2) {
	background: #F5B82E;
	color: #3A2414;
	rotate: 3deg;
}

.lfo-accueil__etiquette:nth-child(3n) {
	background: #D7362B;
	rotate: -2deg;
}

.lfo-accueil__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 6px;
}

.lfo-accueil__bouton {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 58px;
	padding: 0 28px;
	border-radius: 16px;
	background: #D7362B;
	color: #FFF7EA;
	font-size: 17px;
	font-weight: 800;
	box-shadow: 0 6px 0 #3A2414;
	transition: translate .15s, box-shadow .15s;
}

.lfo-accueil__bouton:hover {
	translate: 0 3px;
	box-shadow: 0 3px 0 #3A2414;
	color: #FFF7EA;
}

.lfo-accueil__lien {
	font-size: 16px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.lfo-accueil__scene {
	position: relative;
	z-index: 2;
	height: clamp(300px, 92vw, 480px);
	display: block;
}

.lfo-accueil__toile {
	position: absolute;
	left: 6%;
	right: 4%;
	top: 12%;
	bottom: 8%;
	border-radius: 30px;
	rotate: -4deg;
	background-color: #F5B82E;
	background-image:
		repeating-linear-gradient(90deg, rgba(215, 54, 43, .9) 0 22px, transparent 22px 34px, rgba(78, 154, 58, .85) 34px 40px, transparent 40px 52px, rgba(238, 122, 43, .85) 52px 70px, transparent 70px 88px),
		repeating-linear-gradient(0deg, rgba(215, 54, 43, .6) 0 22px, transparent 22px 34px, rgba(78, 154, 58, .55) 34px 40px, transparent 40px 52px, rgba(238, 122, 43, .6) 52px 70px, transparent 70px 88px),
		repeating-linear-gradient(90deg, transparent 0 30px, rgba(58, 36, 20, .4) 30px 31px, transparent 31px 88px),
		repeating-linear-gradient(0deg, transparent 0 30px, rgba(58, 36, 20, .3) 30px 31px, transparent 31px 88px);
	box-shadow: 0 30px 60px -30px rgba(58, 36, 20, .6);
}

.lfo-accueil__paquet {
	position: absolute;
}

.lfo-accueil__paquet img {
	width: 100%;
	height: auto;
	display: block;
	transition: translate .5s cubic-bezier(.34, 1.56, .64, 1), rotate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1);
}

.lfo-accueil__paquet--gauche {
	left: 8%;
	top: 2%;
	width: 30%;
	z-index: 1;
}

.lfo-accueil__paquet--gauche img {
	rotate: -10deg;
	filter: drop-shadow(0 20px 18px rgba(58, 36, 20, .4));
}

.lfo-accueil__paquet--gauche img:hover {
	translate: 0 -18px;
	rotate: -3deg;
	scale: 1.06;
}

.lfo-accueil__paquet--droite {
	right: 6%;
	top: 4%;
	width: 31%;
	z-index: 1;
}

.lfo-accueil__paquet--droite img {
	rotate: 9deg;
	filter: drop-shadow(0 20px 18px rgba(58, 36, 20, .4));
}

.lfo-accueil__paquet--droite img:hover {
	translate: 0 -18px;
	rotate: 2deg;
	scale: 1.06;
}

.lfo-accueil__paquet--centre {
	left: 31%;
	top: 16%;
	width: 38%;
	z-index: 2;
}

.lfo-accueil__paquet--centre img {
	rotate: -2deg;
	filter: drop-shadow(0 30px 24px rgba(58, 36, 20, .45));
}

.lfo-accueil__paquet--centre img:hover {
	translate: 0 -20px;
	rotate: 0deg;
	scale: 1.05;
}

.lfo-accueil__paquet--bas {
	left: 2%;
	bottom: 2%;
	width: 40%;
	z-index: 3;
}

.lfo-accueil__paquet--bas img {
	rotate: 6deg;
	filter: drop-shadow(0 26px 22px rgba(58, 36, 20, .45));
}

.lfo-accueil__paquet--bas img:hover {
	translate: 0 -18px;
	rotate: 0deg;
	scale: 1.06;
}

.lfo-accueil__bulle {
	position: absolute;
	right: 2%;
	bottom: 8%;
	z-index: 3;
	max-width: 340px;
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(26px, 2.3vw, 34px);
	line-height: 1.1;
	rotate: -6deg;
	text-align: right;
	background: #FFF7EA;
	padding: 12px 16px;
	border-radius: 14px;
	box-shadow: 0 6px 0 rgba(58, 36, 20, .2);
}

.lfo-accueil__flocons {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 4;
}

@media (min-width: 900px) {
	.lfo-accueil {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.lfo-accueil__scene {
		height: clamp(380px, 64vh, 640px);
	}
}

/* Bandeau défilant (data-marquee) : les mots sont écrits deux fois pour boucler sans à-coup. */

.lfo-accueil__bandeau {
	position: relative;
	background: #3A2414;
	color: #FFF7EA;
	overflow: hidden;
	padding: 12px 0;
}

.lfo-accueil__defile {
	display: flex;
	width: max-content;
	white-space: nowrap;
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1;
}

.lfo-accueil__mots {
	display: flex;
	gap: 28px;
	padding-right: 28px;
}

.lfo-accueil__fleur {
	color: #F5B82E;
}

.lfo-accueil__fleur:nth-child(4n+2 of .lfo-accueil__fleur) {
	color: #EE7A2B;
}

.lfo-accueil__fleur:nth-child(4n+3 of .lfo-accueil__fleur) {
	color: #D7362B;
}

.lfo-accueil__fleur:nth-child(4n of .lfo-accueil__fleur) {
	color: #4E9A3A;
}
