/* Franchise : une carte à deux faces, superposées dans la même case de grille, qui se retourne en 3D. */

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

.lfo-franchise__scene {
	perspective: 2200px;
}

.lfo-franchise__carte {
	display: grid;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
	/* La hauteur suit la face affichée (réglée en JS) : pas de vide sous le recto, plus court que le verso. */
	transition: transform 1s cubic-bezier(.6, 0, .2, 1), height .6s cubic-bezier(.6, 0, .2, 1);
}

.lfo-franchise__carte.is-retournee {
	transform: rotateY(180deg);
}

.lfo-franchise__recto,
.lfo-franchise__verso {
	grid-area: 1 / 1;
	align-self: start;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	box-sizing: border-box;
	border-radius: 34px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.lfo-franchise__recto {
	align-items: center;
	padding: clamp(18px, 2.4vw, 30px);
	background: #4E9A3A;
	color: #FFF7EA;
	box-shadow: 0 10px 0 #3A2414;
	pointer-events: auto;
}

.lfo-franchise__verso {
	align-content: center;
	transform: rotateY(180deg);
	pointer-events: none;
	padding: clamp(24px, 3.4vw, 48px);
	background: #FFFDF7;
	color: #3A2414;
	box-shadow: 0 10px 0 #3A2414, 0 0 0 2px rgba(58, 36, 20, .1);
}

.lfo-franchise__carte.is-retournee .lfo-franchise__recto {
	pointer-events: none;
}

.lfo-franchise__carte.is-retournee .lfo-franchise__verso {
	pointer-events: auto;
}

/* Recto */

.lfo-franchise__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	overflow: hidden;
	rotate: -2deg;
}

.lfo-franchise__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lfo-franchise__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	padding: clamp(4px, 1vw, 16px);
}

.lfo-franchise__intro h2 {
	margin: 0;
	font-weight: 800;
	font-size: clamp(52px, 6.4vw, 104px);
	line-height: .95;
	letter-spacing: -.03em;
}

.lfo-franchise__marque {
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1;
	color: #FFF7EA;
	rotate: -2deg;
}

.lfo-franchise__ouvrir {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	padding: 0 28px;
	border: 0;
	border-radius: 16px;
	background: #FFF7EA;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 18px;
	font-weight: 800;
	box-shadow: 0 6px 0 #3A2414;
	cursor: pointer;
	transition: translate .15s, box-shadow .15s;
}

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

.lfo-franchise__vitrine {
	display: flex;
	align-items: flex-end;
	gap: clamp(12px, 1.6vw, 20px);
	margin-top: 6px;
}

.lfo-franchise__cadre {
	padding: 6px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 6px 0 #3A2414;
	box-sizing: border-box;
}

.lfo-franchise__cadre--gauche {
	width: clamp(120px, 13vw, 190px);
	rotate: -3deg;
}

.lfo-franchise__cadre--droite {
	width: clamp(96px, 10.5vw, 150px);
	rotate: 3deg;
}

.lfo-franchise__cadre img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9px;
	display: block;
}

/* Verso */

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

.lfo-franchise__retour {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border: 2px solid #3A2414;
	border-radius: 999px;
	background: transparent;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.lfo-franchise__surtitre {
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1;
	color: #D7362B;
	rotate: -3deg;
}

.lfo-franchise__infos h2 {
	margin: 0;
	font-weight: 800;
	font-size: clamp(34px, 3.8vw, 58px);
	line-height: 1;
	letter-spacing: -.025em;
}

.lfo-franchise__infos p {
	margin: 0;
	max-width: 44ch;
	font-size: 18px;
	line-height: 1.6;
	color: #5A3E2A;
}

.lfo-franchise__infos .accent {
	font-style: normal;
	font-weight: 700;
	color: #3A2414;
}

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

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

.lfo-franchise__liste {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lfo-franchise__liste-titre {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4E9A3A;
}

.lfo-franchise__liste ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lfo-franchise__liste li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	font-size: 16.5px;
	line-height: 1.45;
}

.lfo-franchise__liste li span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #F5B82E;
	font-weight: 800;
}

.lfo-franchise__liste li:nth-child(4n+2) span {
	background: #EE7A2B;
}

.lfo-franchise__liste li:nth-child(4n+3) span {
	background: #D7362B;
	color: #FFF7EA;
}

.lfo-franchise__liste li:nth-child(4n) span {
	background: #4E9A3A;
	color: #FFF7EA;
}

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