/* Maquette « Tarifs » : 1728px, contenu 1630px (x49 → x1679). */

.tar-main > * {
	width: min(100% - 2 * var(--gutter), var(--content-max));
	margin-inline: auto;
}

.tar-head { padding-top: clamp(3rem, 7.581vw, 8.1875rem); }
.tar-head .section-title,
.tar-head p,
.tar-block,
.tar-ref { padding-left: 1px; }
.tar-head__kicker { margin-top: clamp(0.5rem, 0.8102vw, 0.875rem); }
.tar-head__intro,
.tar-block__text,
.tar-ref__text p { color: var(--color-muted); }
.tar-head__intro { max-width: 33.3em; }

.tar-block { margin-top: clamp(3rem, 4.2824vw, 4.625rem); }
.tar-block__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(1.5rem, 1.7361vw, 1.875rem);
	line-height: 1.8333;
	color: var(--color-green);
}

.tar-cards {
	display: grid;
	grid-template-columns: repeat(2, 38.465%);
	justify-content: center;
	column-gap: 3.255%;
	margin-top: clamp(1.5rem, 2.4306vw, 2.625rem);
}
.tar-card {
	min-height: clamp(15rem, 18.9236vw, 20.4375rem);
	padding: clamp(2rem, 4.3981vw, 4.75rem) clamp(1.5rem, 2.6968vw, 2.9125rem) 2rem clamp(1.5rem, 3.6343vw, 3.925rem);
	background: var(--color-green);
	color: var(--color-bg);
}
.tar-card__title { color: var(--color-bg); }
.tar-card__text { max-width: 25.88em; margin-top: 0.875rem; }

.tar-ref {
	display: grid;
	grid-template-columns: 42.945% auto 1fr;
	align-items: start;
	margin-top: clamp(3rem, 4.7454vw, 5.125rem);
}
.tar-ref__text { max-width: 33.3em; }
.tar-pill {
	margin-top: clamp(1.25rem, 2.0833vw, 2.25rem);
	padding-inline: 1.625rem;
	font-size: var(--fs-label);
	line-height: 1.6667;
}
.tar-ref__note {
	margin: clamp(1.5rem, 2.4306vw, 2.625rem) 0 0 clamp(0.75rem, 1.2731vw, 1.375rem);
	color: var(--color-muted);
}

.tar-block--fees {
	margin-top: clamp(3rem, 4.7454vw, 5.125rem);
	padding-bottom: clamp(3.5rem, 4.6296vw, 5rem);
}

.tar-file {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: clamp(1rem, 1.5046vw, 1.625rem);
	max-width: 51.875rem;
	margin-top: clamp(1.25rem, 1.9676vw, 2.125rem);
	padding: 1.25rem clamp(1rem, 3.0671vw, 3.3125rem) 1.25rem clamp(1rem, 2.0775vw, 2.2438rem);
	border: 1px solid #d6d4d0;
	background: #fff;
}
.tar-file__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 5.5625rem;
	height: 6.25rem;
	background: #efeeeb;
	border: 1px solid #d6d4d0;
	clip-path: polygon(0 0, 70.8% 0, 100% 26%, 100% 100%, 0 100%);
	font-family: "Inter", var(--font-body);
	font-weight: 700;
	font-size: 0.9375rem;
	color: #6f6d69;
}
.tar-file__icon::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 29.2%;
	height: 26%;
	background: #e4e2de;
	border-left: 1px solid #d6d4d0;
	border-bottom: 1px solid #d6d4d0;
}
.tar-file__title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-green);
}
.tar-file__meta {
	font-family: "Inter", var(--font-body);
	font-size: 0.8438rem;
	color: #6f6d69;
}
.tar-file .tar-pill { margin-top: 0; min-width: clamp(12rem, 15.8565vw, 17.125rem); }
span.tar-pill { pointer-events: none; }
.tar-ref .tar-pill { min-width: clamp(18rem, 25.8102vw, 27.875rem); }

@media (max-width: 1023px) {
	.tar-cards { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
	.tar-ref { grid-template-columns: 1fr; }
	.tar-ref .tar-pill { justify-self: start; }
	.tar-ref__note { margin-top: 0.75rem; }
}

@media (max-width: 767px) {
	.tar-cards { grid-template-columns: 1fr; row-gap: 1rem; }
	.tar-file { grid-template-columns: auto 1fr; row-gap: 1rem; }
	.tar-file .tar-pill { grid-column: 1 / -1; }
	.tar-pill { white-space: normal; text-align: center; }
}
