/* Notre histoire : deux photos en polaroïd, qui sommes-nous, la société et les chiffres clés. */

.lfo-histoire {
	padding: clamp(56px, 8vw, 120px) clamp(18px, 4vw, 60px);
}

.lfo-histoire__grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
	gap: clamp(28px, 4vw, 64px);
}

.lfo-histoire__photos {
	position: relative;
	height: clamp(360px, 44vw, 560px);
	margin-bottom: 6px;
}

.lfo-histoire__polaroid {
	position: absolute;
	width: 66%;
	margin: 0;
	padding: 12px 12px 0;
	background: #FFFDF7;
	border-radius: 10px;
	box-shadow: 0 24px 44px -22px rgba(58, 36, 20, .55);
	transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s;
}

.lfo-histoire__polaroid:first-child {
	left: 0;
	top: 0;
	rotate: -5deg;
	z-index: 1;
}

.lfo-histoire__polaroid:nth-child(2) {
	right: 0;
	bottom: 0;
	width: 60%;
	rotate: 4deg;
	z-index: 2;
}

.lfo-histoire__polaroid:hover {
	rotate: 0deg;
	scale: 1.03;
}

.lfo-histoire__polaroid:first-child:hover {
	z-index: 3;
}

.lfo-histoire__polaroid img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 4px;
}

.lfo-histoire__polaroid figcaption {
	padding: 10px 4px 14px;
	font-family: 'Caveat Brush', cursive;
	font-size: 22px;
}

.lfo-histoire__texte {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.lfo-histoire__tete {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.lfo-histoire__surtitre {
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(26px, 2.4vw, 34px);
	color: #8A5A34;
	rotate: -3deg;
	transform-origin: left;
}

.lfo-histoire__logo {
	display: block;
	width: clamp(120px, 11vw, 160px);
	padding: 8px;
	box-sizing: border-box;
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 4px 0 rgba(58, 36, 20, .14), 0 0 0 2px rgba(58, 36, 20, .08);
}

.lfo-histoire__logo img {
	width: 100%;
	height: auto;
	display: block;
}

.lfo-histoire__titre {
	margin: 0;
	font-weight: 800;
	font-size: clamp(36px, 4.2vw, 64px);
	line-height: 1.02;
	letter-spacing: -.025em;
}

.lfo-histoire__p {
	margin: 0;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.6;
	color: #5A3E2A;
}

.lfo-histoire__p--petit {
	font-size: 15px;
}

.lfo-histoire__p .accent {
	font-style: normal;
	color: #D7362B;
}

.lfo-histoire__chiffres {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.lfo-histoire__chiffre {
	padding: 16px;
	border-radius: 20px;
	background: #4E9A3A;
	color: #FFF7EA;
	rotate: -2deg;
}

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

.lfo-histoire__chiffre:nth-child(3n) {
	background: #D7362B;
	color: #FFF7EA;
	rotate: -1deg;
}

.lfo-histoire__nombre {
	font-size: clamp(34px, 3.6vw, 54px);
	font-weight: 800;
	line-height: 1;
}

.lfo-histoire__legende {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.4;
}

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