/*
 * Page Tarifs et délais (maquette docs/maquettes/tarifs.html), mobile d'abord. Styles limités à
 * .vitrine-tarifs ; les questions (faq-liste.css) sont partagées avec Nos formats.
 */

/* ---------- Rythme des sections et interligne de la maquette ---------- */
.vitrine-tarifs {
	line-height: 1.55;
}

.vitrine-tarifs .mfaj-section {
	padding-top: 72px;
}

.vitrine-tarifs.contenu {
	padding-bottom: 72px;
}

@media (min-width: 960px) {
	.vitrine-tarifs .mfaj-section {
		padding-top: var(--space-section);
	}

	.vitrine-tarifs.contenu {
		padding-bottom: var(--space-section);
	}
}

.vitrine-tarifs h1,
.vitrine-tarifs h2,
.vitrine-tarifs h3 {
	text-wrap: balance;
}

.vitrine-tarifs .mfaj-titre {
	color: var(--encre);
}

.vitrine-tarifs .mfaj-entete-section {
	margin-bottom: var(--space-2xl);
}

.vitrine-tarifs .tf-sous {
	margin: 16px 0 0;
	max-width: var(--texte-max);
	font-size: 17px;
	line-height: 1.6;
	color: var(--encre-2);
}

/* ---------- 1. Introduction ---------- */
.tf-intro {
	display: grid;
	gap: 32px;
	padding-top: 32px;
}

.tf-intro .mfaj-titre {
	font-size: clamp(36px, 5vw, 68px);
}

.tf-lead {
	margin: 20px 0 0;
	max-width: var(--texte-max);
	font-size: 18px;
	line-height: 1.6;
	color: var(--encre-2);
}

.vitrine-tarifs .tf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tf-intro .tf-actions {
	margin-top: 28px;
}

.tf-intro .tf-actions .mfaj-btn {
	flex: 1 1 auto;
}

@media (min-width: 480px) {
	.tf-intro .tf-actions .mfaj-btn {
		flex: 0 0 auto;
	}
}

.tf-reperes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tf-reperes li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 16px;
	border-radius: var(--radius-l);
	background: var(--papier);
	border: 1px solid var(--trait-fin);
}

.tf-reperes b {
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: clamp(34px, 4vw, 44px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--encre);
}

.tf-reperes span {
	font-size: 14px;
	line-height: 1.45;
	color: var(--encre-2);
}

@media (min-width: 960px) {
	.tf-intro {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: end;
		gap: 56px;
		padding-top: 56px;
	}

	.tf-reperes li {
		padding: 22px 20px;
	}
}

/* ---------- 2. Ce que comprend le prix ---------- */
.tf-inclus {
	display: grid;
	gap: 14px;
}

@media (min-width: 860px) {
	.tf-inclus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

.tf-carte {
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--radius-xl);
	background: var(--papier);
	border: 1px solid var(--trait-fin);
}

.tf-carte h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--encre);
}

.tf-carte ul {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.tf-carte li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--trait-fin);
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--encre-2);
}

.tf-carte li b {
	display: block;
	font-weight: 600;
	color: var(--encre);
}

.tf-carte .ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pale);
	color: var(--encre);
}

.tf-carte .px {
	grid-column: 2;
	justify-self: start;
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: var(--radius-pill);
	background: var(--papier-2);
	font-size: 13px;
	font-weight: 600;
	color: var(--encre);
}

@media (min-width: 480px) {
	.tf-carte li.tf-prix {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.tf-carte li.tf-prix .px {
		grid-column: 3;
		margin-top: 0;
		justify-self: end;
	}
}

/* ---------- 3. Délais ---------- */
.tf-rdv {
	display: grid;
	gap: 14px;
}

@media (min-width: 860px) {
	.tf-rdv {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

.tf-rdv__carte {
	padding: 22px 20px 24px;
	border-radius: var(--radius-xl);
	background: var(--papier);
	border: 1px solid var(--trait-fin);
}

.tf-rdv__carte h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--encre);
}

.tf-piste {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.tf-piste::before {
	content: "";
	position: absolute;
	left: 16.6%;
	right: 16.6%;
	top: 9px;
	height: 2px;
	background: var(--encre);
}

.tf-piste li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 0 4px;
	text-align: center;
}

.tf-piste li::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-bottom: 6px;
	border: 2px solid var(--encre);
	border-radius: 50%;
	background: var(--papier);
}

.tf-piste li.imp::before {
	border-radius: 4px;
	background: var(--citron);
}

.tf-piste li.rec::before {
	border-color: var(--rose);
	background: var(--rose);
	box-shadow: 0 0 0 4px var(--rose-trame);
}

.tf-piste b {
	font-size: 15px;
	font-weight: 600;
	color: var(--encre);
}

.tf-piste li.rec b {
	color: var(--rose-fonce);
}

.tf-piste span {
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--encre-3);
}

/* Calculateur */
.tf-calc {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding: 10px;
}

.tf-calc__ctl {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 20px 16px;
	border-radius: var(--radius-l);
	background: var(--papier-2);
}

.tf-calc__ctl .mfaj-surtitre {
	margin-bottom: 10px;
}

.tf-puces {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tf-puces button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid var(--trait-fin);
	border-radius: var(--radius-m);
	background: var(--papier);
	font: 600 14px/1.15 var(--font-sans);
	color: var(--encre);
	cursor: pointer;
}

.tf-puces button small {
	font-size: 11px;
	font-weight: 500;
	color: var(--encre-3);
}

.tf-puces button[aria-pressed="true"] {
	background: var(--encre);
	border-color: var(--encre);
	color: var(--sur-encre);
}

.tf-puces button[aria-pressed="true"] small {
	color: var(--sur-encre-2);
}

.tf-puces--fmt button {
	flex-direction: row;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
}

.tf-puces--fmt button::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c);
}

.tf-seg {
	display: inline-flex;
	padding: 4px;
	border-radius: var(--radius-pill);
	background: var(--papier);
	border: 1px solid var(--trait-fin);
}

.tf-seg button {
	min-height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	font: 600 14.5px/1 var(--font-sans);
	color: var(--encre-2);
	cursor: pointer;
}

.tf-seg button[aria-pressed="true"] {
	background: var(--encre);
	color: var(--sur-encre);
}

.tf-seg button:focus-visible,
.tf-puces button:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.tf-calc__res {
	padding: 22px 18px;
	border-radius: var(--radius-l);
}

.tf-lignes {
	display: grid;
	margin: 6px 0 0;
}

.tf-lignes div {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--trait-fin);
}

.tf-lignes dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--encre-3);
}

.tf-lignes dd {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--encre);
}

.tf-lignes dd small {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--encre-3);
}

.tf-lignes .rec dd {
	font-weight: 700;
	font-size: 26px;
	letter-spacing: -0.01em;
	color: var(--rose);
}

.tf-semaines {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	margin-top: 20px;
}

.tf-semaines .j {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 7px 2px 8px;
	border-radius: var(--radius-s);
	background: var(--papier-2);
	font-size: 11px;
	font-weight: 600;
	color: var(--encre-3);
}

.tf-semaines .j b {
	font-size: 15px;
	font-weight: 600;
	color: var(--encre);
}

.tf-semaines .j.we {
	background: repeating-linear-gradient(135deg, var(--papier-2) 0 4px, var(--papier) 4px 8px);
	opacity: 0.75;
}

.tf-semaines .j.p {
	background: var(--citron-pale);
}

.tf-semaines .j i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: transparent;
}

.tf-semaines .j.cmd i {
	background: var(--papier);
	box-shadow: 0 0 0 2px var(--encre);
}

.tf-semaines .j.imp i {
	border-radius: 2px;
	background: var(--citron);
	box-shadow: 0 0 0 2px var(--encre);
}

.tf-semaines .j.rec {
	background: var(--rose);
	color: var(--sur-rose);
}

.tf-semaines .j.rec b {
	color: var(--sur-rose);
}

.tf-semaines .j.rec i {
	background: var(--sur-rose);
}

.tf-semaines .j.plus {
	background: var(--rose-trame);
}

.tf-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	color: var(--encre-3);
}

.tf-legende li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.tf-legende i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.tf-legende .l-cmd {
	background: var(--papier);
	box-shadow: 0 0 0 2px var(--encre);
}

.tf-legende .l-imp {
	border-radius: 2px;
	background: var(--citron);
	box-shadow: 0 0 0 2px var(--encre);
}

.tf-legende .l-rec {
	background: var(--rose);
}

.tf-legende .l-jours {
	background: var(--citron-pale);
}

@media (min-width: 960px) {
	.tf-calc {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 14px;
	}

	.tf-calc__ctl {
		padding: 26px 24px;
	}

	.tf-calc__res {
		padding: 26px;
	}
}

.tf-notes {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.tf-notes li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--encre-2);
}

.tf-notes li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-top: 7px;
	border-radius: 50%;
	background: var(--d, var(--citron));
}

@media (min-width: 860px) {
	.tf-notes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 32px;
	}
}

/* Note sur les dates, renvoyée par l'astérisque des cartes et du calculateur. */
.tf-ast {
	margin-left: 1px;
	font-weight: 700;
}

.tf-note-dates {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--encre-3);
}

/* ---------- 5. Appel final ---------- */
.vitrine-tarifs .mfaj-bloc-pistache {
	position: relative;
	overflow: hidden;
	background: var(--pistache);
	color: var(--encre);
	border-radius: var(--radius-xl);
	padding: clamp(32px, 5vw, 64px);
}

.vitrine-tarifs .mfaj-bloc-pistache .mfaj-surtitre,
.vitrine-tarifs .mfaj-bloc-pistache p {
	color: var(--pistache-profond);
}

.tf-fin {
	display: grid;
	gap: 22px;
	align-items: center;
}

.tf-fin .mfaj-titre {
	font-size: clamp(32px, 3.6vw, 48px);
}

.tf-fin p {
	margin: 14px 0 0;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.6;
}

.tf-fin .tf-actions .mfaj-btn {
	flex: 1 1 auto;
}

.vitrine-tarifs .tf-tel {
	display: block;
	width: fit-content;
	margin-top: 14px;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: -0.01em;
	color: var(--encre);
	text-decoration: none;
}

@media (min-width: 860px) {
	.tf-fin {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.tf-fin .tf-actions {
		flex-direction: column;
	}

	.tf-fin .tf-actions .mfaj-btn {
		flex: 0 0 auto;
	}
}
