/* =========================================================
   MLT ÉCHANTILLONS — texte + carte offre à gauche, photo à droite,
   frise des étapes en pleine largeur dessous. Dépend de mlt-tokens
   (bouton, achat en ligne, composant .mlt-frise).
   ========================================================= */

.mlt-echantillons {
	background: var(--mlt-color-fond);
}

.mlt-echantillons__inner {
	display: grid;
	gap: var(--mlt-space-48);
}

/* -------------------- Carte offre : caractéristiques + prix / achat -------------------- */
.mlt-echantillons__offre {
	margin-top: var(--mlt-space-32);
	padding: var(--mlt-space-24) var(--mlt-space-16);
	border-radius: var(--mlt-radius-card);
	background: var(--mlt-color-blanc);
}

.mlt-echantillons__infos {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* mobile : une caractéristique par ligne (2 colonnes coupaient les valeurs) */
	gap: var(--mlt-space-16) var(--mlt-space-24);
	margin: 0;
}

.mlt-echantillons__infos dt {
	color: var(--mlt-color-texte-doux);
	font-size: var(--mlt-fs-small);
}

.mlt-echantillons__infos dd {
	margin: var(--mlt-space-4) 0 0;
	color: var(--mlt-color-texte);
	font-weight: 500;
	line-height: 1.4;
}

/* Prix + bouton d'achat (ou bouton devis), séparés des caractéristiques par un filet */
.mlt-echantillons__achat {
	margin-top: var(--mlt-space-24);
	padding-top: var(--mlt-space-24);
	border-top: 1px solid var(--mlt-color-ligne);
}

.mlt-echantillons__infos + .mlt-echantillons__achat {
	margin-top: var(--mlt-space-24);
}

.mlt-echantillons__offre > .mlt-echantillons__achat:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.mlt-echantillons .mlt-achat {
	justify-content: space-between;
}

/* Prix mis en avant (affichage, pas un titre) */
.mlt-echantillons .mlt-achat__prix {
	font-size: var(--mlt-fs-h2);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.mlt-echantillons__devis {
	margin-top: var(--mlt-space-16);
}

/* Mobile : bouton pleine largeur, libellé sur une ligne dès 375 px ; en dessous il passe
   proprement à la ligne (centré, interligne aéré) */
.mlt-echantillons__cta {
	width: 100%;
	padding: var(--mlt-space-8) var(--mlt-space-16);
	line-height: 1.25;
	text-align: center;
}

@media (min-width: 576px) {
	.mlt-echantillons__infos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mlt-echantillons__offre {
		padding: var(--mlt-space-24);
	}

	.mlt-echantillons__cta {
		width: auto;
		padding-inline: var(--mlt-space-24);
	}
}

/* -------------------- Photo -------------------- */
.mlt-echantillons__photo {
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--mlt-radius-panel);
	background: var(--mlt-color-blanc);
}

.mlt-echantillons .mlt-echantillons__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* -------------------- Frise des étapes -------------------- */
.mlt-page .mlt-echantillons__sous-titre {
	margin: 0 0 var(--mlt-space-24);
	color: var(--mlt-color-olive);
	font-size: var(--mlt-fs-lead);
	font-weight: 700;
}

.mlt-echantillons .mlt-frise {
	--mlt-frise-fond: var(--mlt-color-fond);
}

@media (min-width: 768px) {
	.mlt-echantillons__offre {
		padding: var(--mlt-space-32);
	}

	/* Tablette : photo pleine largeur au format paysage (en 4/5 elle ferait 800 px de haut) */
	.mlt-echantillons__photo {
		aspect-ratio: 3 / 2;
	}

	.mlt-echantillons__etapes {
		padding-top: var(--mlt-space-48);
		border-top: 1px solid var(--mlt-color-ligne);
	}

	.mlt-echantillons .mlt-frise {
		--mlt-frise-gap: var(--mlt-space-32);
	}
}

@media (min-width: 1024px) {
	.mlt-echantillons__inner {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: var(--mlt-space-64) var(--mlt-space-96);
		align-items: start;
	}

	/* La photo suit la hauteur du bloc texte (plus de vide sous l'image) */
	.mlt-echantillons__photo {
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 480px;
	}

	.mlt-echantillons__etapes {
		grid-column: 1 / -1;
	}
}
