/* Fivva Tarifs page (page-templates/mf-tarifs.php) â€” ported from
   myfitness-tarifs-pro-v11 + MyFitness_Pro_Offer_Brief.docx Part 2
   (readability minimums: 16px body/features, 14px notes, 40-48px prices,
   24px plan names, 1.5 line-height â€” all applied below). Mapped onto the
   site's own --mf-* tokens (literal fallbacks, since front-page.css only
   loads on the homepage), real site header/footer via get_header().
   Uses DM Sans (self-hosted, same files as front-page.css) rather than
   the system-font stack used on the other content pages â€” this page's
   own mockup was built in DM Sans, matching the homepage. */

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url(../fonts/dm-sans-1.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url(../fonts/dm-sans-2.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.mf-tf {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--mf-ink, #1A2120);
	font-size: 16px;
	line-height: 1.5;
}

/* Listeo's own Customizer typography setting injects a direct
   `body,h1,h2,...,button,input{font-family:Outfit}` rule in wp_head — a
   direct declaration beats inheritance regardless of specificity, so
   every element here was silently rendering in Outfit instead of DM Sans
   without this. Same fix as front-page.css/site-header-footer.css. */
.mf-tf * {
	font-family: inherit;
}

.mf-tf * {
	box-sizing: border-box;
}

.mf-tf-hero {
	padding: 64px 0;
	text-align: center;
	background:
		radial-gradient(ellipse at 0 0, #d7efdf, transparent 45%),
		radial-gradient(ellipse at 100% 0, #f7ebd5, transparent 45%),
		#fcfef9;
}

.mf-tf-crumb {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	font-size: 12px;
	color: #66706d;
	margin-bottom: 20px;
}

.mf-tf-crumb a {
	text-decoration: none;
	color: inherit;
}

.mf-tf-hero h1 {
	font-size: 56px;
	letter-spacing: -2px;
	line-height: 1.1;
	max-width: 850px;
	margin: 0 auto 20px;
}

.mf-tf-hero h1 em {
	font-style: normal;
	color: var(--mf-olive, #657900);
}

.mf-tf-lead {
	max-width: 630px;
	font-size: 16px;
	color: #505c53;
	margin: 0 auto 24px;
}

.mf-tf-proof {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 14px;
	color: #59654f;
}

.mf-tf-proof span {
	display: flex;
	gap: 7px;
	align-items: center;
}

.mf-tf-section {
	padding: 64px 0;
}

.mf-tf-section-heading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.mf-tf-section-heading h2 {
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: -1px;
	margin: 8px 0 12px;
}

.mf-tf-section-heading p {
	color: #505c53;
	font-size: 16px;
	margin: 0;
}

.mf-tf-eligibility {
	max-width: 760px;
	margin: 0 auto 24px;
	text-align: center;
	font-size: 14px;
	color: #505c53;
}

.mf-tf-billing {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 0 24px;
}

.mf-tf-billing button {
	border: 1px solid #dfe4de;
	background: white;
	border-radius: 999px;
	padding: 12px 18px;
	min-block-size: 48px;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
}

.mf-tf-billing button[aria-pressed="true"] {
	background: var(--mf-ink, #1A2120);
	color: white;
	border-color: var(--mf-ink, #1A2120);
}

.mf-tf-plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	padding-top: 16px;
}

.mf-tf-plan {
	border: 1px solid #dfe4de;
	border-radius: 16px;
	padding: 24px;
	background: white;
	display: flex;
	flex-direction: column;
	position: relative;
}

.mf-tf-plan-featured {
	border: 2px solid var(--mf-ink, #1A2120);
	transform: translateY(-10px);
	margin-bottom: -10px;
}

.mf-tf-recommend {
	position: absolute;
	top: -16px;
	left: 24px;
	background: var(--mf-ink, #1A2120);
	color: white;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 700;
}

.mf-tf-plan h3 {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.5px;
	margin: 0 0 4px;
}

.mf-tf-plan h3 span {
	margin-left: 8px;
	font-weight: 400;
	color: #505c53;
}

.mf-tf-for-who {
	font-size: 14px;
	color: #505c53;
	min-block-size: 63px;
	margin: 12px 0 20px;
}

.mf-tf-price {
	display: flex;
	gap: 7px;
	align-items: baseline;
}

.mf-tf-price strong {
	font-size: 46px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -1.5px;
}

.mf-tf-period {
	font-size: 14px;
	color: #505c53;
}

.mf-tf-after {
	font-size: 14px;
	color: #505c53;
	margin: 6px 0 18px;
}

.mf-tf-plan ul {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: grid;
	gap: 16px;
	font-size: 16px;
	flex: 1;
	align-content: start;
}

.mf-tf-plan li {
	padding-left: 20px;
	position: relative;
}

.mf-tf-plan li::before {
	content: '\2713';
	color: #65b832; /* the one check-mark green */
	font-weight: 700;
	position: absolute;
	left: 0;
}

.mf-tf-plan li.mf-tf-store-feature {
	font-weight: 750;
	color: #344d2b;
	background: #edf5e6;
	padding: 12px;
	padding-left: 32px;
	border-radius: 8px;
}

.mf-tf-plan li.mf-tf-store-feature::before {
	left: 12px;
}

.mf-tf-value-note {
	font-size: 13px;
	color: #505c53;
	margin: 0 0 16px;
}

.mf-tf-choose {
	min-block-size: 52px;
	border: 1px solid var(--mf-ink, #1A2120);
	background: white;
	color: var(--mf-ink, #1A2120);
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	padding: 10px;
	width: 100%;
	text-align: center;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}

.mf-tf-plan-featured .mf-tf-choose {
	background: var(--mf-lime, #CCFF00);
	border-color: var(--mf-lime, #CCFF00);
	color: var(--mf-ink, #1A2120);
}

.mf-tf-choose:hover,
.mf-tf-choose:focus-visible {
	background: #080b10;
	color: white;
	border-color: #080b10;
}

.mf-tf-choose[hidden] {
	display: none;
}

.mf-tf-choose.mf-tf-current,
.mf-tf-choose.mf-tf-current:hover {
	background: #eef1ec;
	border-color: #dfe5db;
	color: var(--mf-ink, #1A2120);
	cursor: default;
}

.mf-tf-tax-note {
	font-size: 14px;
	color: #505c53;
	text-align: center;
	margin-top: 16px;
}

.mf-tf-mini-site,
.mf-tf-store-note {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.mf-tf-mini-site {
	margin-top: 40px;
	padding-block: 32px;
	border-top: 1px solid #dfe4de;
}

.mf-tf-store-note {
	padding: 28px;
	border: 1px solid #dfe4de;
	border-radius: 16px;
	background: #f7faf2;
	margin-top: 28px;
}

.mf-tf-eyebrow {
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 1.8px;
	color: #607049;
}

.mf-tf-mini-site h2,
.mf-tf-store-note h2 {
	font-size: 27px;
	line-height: 1.2;
	letter-spacing: -.6px;
	margin: 12px 0;
}

.mf-tf-mini-site p,
.mf-tf-store-note p,
.mf-tf-store-note li {
	font-size: 16px;
	color: #505c53;
}

.mf-tf-mini-benefits strong {
	display: block;
	color: var(--mf-ink, #1A2120);
	margin-bottom: 4px;
}

.mf-tf-mini-benefits p {
	margin: 0 0 20px;
}

.mf-tf-store-note ul {
	margin: 0;
	padding-left: 18px;
	display: grid;
	gap: 12px;
}

.mf-tf-store-note strong {
	color: var(--mf-ink, #1A2120);
}

.mf-tf-store-disclosure {
	grid-column: 1 / -1;
	border-top: 1px solid #dfe4de;
	padding-top: 16px;
	font-size: 14px !important;
	margin: 0;
}

.mf-tf-compare {
	background: var(--mf-cream, #FDFBF7);
}

.mf-tf-compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.mf-tf-compare-table th,
.mf-tf-compare-table td {
	padding: 18px 12px;
	border-bottom: 1px solid #dfe4de;
	text-align: center;
}

.mf-tf-compare-table th:first-child,
.mf-tf-compare-table td:first-child {
	text-align: left;
	width: 43%;
	font-weight: 600;
}

.mf-tf-compare-table td:not(:first-child) {
	font-weight: 600;
}

.mf-tf-group-row th {
	background: #eaf0e5;
	text-align: left !important;
	font-size: 16px;
}

.mf-tf-compare-mobile {
	display: none;
}

.mf-tf-pricing-faq {
	padding: 96px 0;
	background: #fff;
}

.mf-tf-faq {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: .7fr 1.3fr;
	gap: 80px;
}

.mf-tf-faq-heading h2 {
	font-size: 43px;
	line-height: 1.15;
	letter-spacing: -1.8px;
	margin: 0;
	font-weight: 750;
}

.mf-tf-faq-list details {
	border: 0;
	border-bottom: 1px solid #dfe4de;
	padding: 20px 0;
}

.mf-tf-faq-list details:first-child {
	padding-top: 0;
}

.mf-tf-faq-list summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	list-style: none;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	min-block-size: 56px;
	padding: 16px 0;
	cursor: pointer;
}

.mf-tf-faq-list summary::-webkit-details-marker {
	display: none;
}

.mf-tf-faq-list summary::after {
	content: '+';
	font-size: 23px;
	font-weight: 600;
	line-height: 1;
	flex: none;
	color: var(--mf-ink, #1A2120);
}

.mf-tf-faq-list details[open] summary::after {
	content: '\2212';
}

.mf-tf-faq-list details p {
	font-size: 16px;
	line-height: 1.6;
	color: #505c53;
	margin: 15px 0 12px;
	max-width: 610px;
}

.mf-tf-sticky {
	display: none;
}

@media (max-width: 700px) {
	.mf-tf-hero {
		padding: 40px 0;
	}

	.mf-tf-hero h1 {
		font-size: 34px;
		letter-spacing: -1.2px;
		line-height: 1.13;
	}

	.mf-tf-lead {
		font-size: 16px;
	}

	.mf-tf-proof {
		gap: 10px 16px;
		font-size: 14px;
	}

	.mf-tf-section {
		padding: 40px 0;
	}

	.mf-tf-section-heading h2 {
		font-size: 28px;
		letter-spacing: -.8px;
	}

	.mf-tf-plans {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mf-tf-plan-featured {
		order: -1;
		transform: none;
		margin-bottom: 0;
	}

	.mf-tf-for-who {
		min-block-size: 0;
	}

	.mf-tf-mini-site,
	.mf-tf-store-note {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.mf-tf-mini-site h2,
	.mf-tf-store-note h2 {
		font-size: 25px;
	}

	.mf-tf-compare-table {
		display: none;
	}

	.mf-tf-compare-mobile {
		display: grid;
		gap: 12px;
	}

	.mf-tf-compare-mobile details {
		border: 1px solid #dfe4de;
		background: white;
		border-radius: 10px;
		padding: 12px 16px;
	}

	.mf-tf-compare-mobile summary {
		min-block-size: 48px;
		display: flex;
		align-items: center;
		cursor: pointer;
		font-size: 18px;
		font-weight: 650;
	}

	.mf-tf-compare-mobile h4 {
		font-size: 16px;
		margin: 24px 0 4px;
	}

	.mf-tf-mobile-feature {
		display: flex;
		gap: 16px;
		justify-content: space-between;
		padding: 14px 0;
		border-bottom: 1px solid #dfe4de;
		font-size: 16px;
	}

	.mf-tf-mobile-feature > span {
		flex: 1;
	}

	.mf-tf-mobile-feature strong {
		max-width: 40%;
		text-align: right;
	}

	.mf-tf-pricing-faq {
		padding: 48px 0;
	}

	.mf-tf-faq {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.mf-tf-faq-heading h2 {
		font-size: 35px;
		letter-spacing: -1.3px;
	}

	/* Fixed bottom mobile tab bar clearance (the floating « Formule Pro / Choisir Pro » bar was removed: the Pro card carries the CTA). */
	body:has(.mf-tf) {
		padding-bottom: calc(83px + env(safe-area-inset-bottom, 0px));
	}

	.mf-tf-sticky {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: calc(83px + env(safe-area-inset-bottom, 0px));
		background: #fffffff5;
		backdrop-filter: blur(12px);
		border-top: 1px solid #dfe4de;
		padding: 12px 16px;
		z-index: 30;
	}

	.mf-tf-sticky strong {
		font-size: 16px;
		display: block;
	}

	.mf-tf-sticky small {
		font-size: 12px;
		color: #505c53;
		display: block;
	}

	.mf-tf-primary {
		min-block-size: 48px;
		font-size: 14px;
		padding: 10px 18px;
		border-radius: 999px;
		background: var(--mf-lime, #CCFF00);
		color: var(--mf-ink, #1A2120);
		font-weight: 700;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
	}
}

/* Strategic line under the plans */
.mf-tf-promise { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 17px; font-weight: 600; color: #202733; }

/* « Inclus » as the same olive check mark as the plan lists. */
.mf-tf-check {
	display: inline-block;
	color: var(--mf-olive, #657900);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

/* Phone comparison: section titles must stand out from the feature rows. */
@media (max-width: 780px) {
	.mf-tf-compare-mobile h4 {
		margin: 22px 0 6px;
		padding: 10px 12px;
		border-radius: 8px;
		background: #eaf0e5;
		color: #1A2120;
		font-size: 16px;
		font-weight: 800;
		letter-spacing: .2px;
	}
	.mf-tf-compare-mobile details > h4:first-of-type { margin-top: 12px; }
}
.mf-tf-soon { display: block; text-align: center; opacity: .7; cursor: default; background: transparent !important; border: 1.5px dashed currentColor; box-shadow: none; }
.mf-tf-billing-note { max-inline-size: 640px; margin: 14px auto 0; text-align: center; font-size: 14px; color: #596472; }
