/*
 * Page Tarifs (tarifs.php). Maquette : refonte/maquettes/tarifs/design_handoff_tarifs/ (README = mesures).
 * Bandeau titre et rappel -20 % : hero.css. Couleurs de la Box posées sur chaque onglet / panneau : --fg, --bg.
 * Bascule mobile < 768 px : cartes de Box → pastilles défilantes + rappel de la Box choisie.
 */

/* L'ancien CSS additionnel d'Astra peut griser #content : fond blanc imposé. */
html body #content.tbx-tar {
	background: #fff !important;
}

.tbx-tar {
	--ink: #0F2A3D;
	--text2: #3E5063;
	--muted: #5A6B7C;
	--navy: #004B76;
	--orange: #CB5223;
	--orange-hover: #B8461C;
	--orange-text: #B2532B;
	--line: #EADFD4;
	--line-soft: #F0E7DE;
	--field: #D8CCC0;
	--soft: #FBF5EF;
	--gutter: max(clamp(20px, 5.5vw, 80px), calc((100% - 1280px) / 2)); /* comme l'accueil : contenu centré, 1280 px max */
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}

.tbx-tar *,
.tbx-tar *::before,
.tbx-tar *::after {
	box-sizing: border-box;
}

.tbx-tar a {
	text-decoration: none;
}

.tbx-tar :focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
}

.tbx-tar [hidden] {
	display: none !important;
}

/* Le style global d'Elementor (.elementor-kit-… button) impose Open Sans aux boutons. */
html body .tbx-tar button {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.tbx-tar h2,
.tbx-tar h3 {
	font-family: inherit;
	text-transform: none;
}

/* ---------------------------------------------------------------------------
 * Choix de la Box (onglets)
 * ------------------------------------------------------------------------- */

.tbx-tar-pick {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 56px var(--gutter) 0;
}

.tbx-tar-pick__title {
	margin: 0;
	color: #111; /* en noir (Elsa, 2026-11-08) */
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.05;
}

.tbx-tar-pick__text {
	max-width: 640px;
	margin: 0;
	color: var(--text2);
	font-size: 17px;
	line-height: 1.55;
}

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

.tbx-tar .tbx-tar-tab,
.tbx-tar .tbx-tar-tab:hover,
.tbx-tar .tbx-tar-tab:focus {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 12px 12px 20px;
	border: 2px solid var(--line);
	border-radius: 24px;
	background: #fff;
	color: var(--ink);
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: left;
	white-space: normal;
	transition: transform .2s, box-shadow .2s;
}

.tbx-tar .tbx-tar-tab:hover {
	transform: translateY(-3px);
}

.tbx-tar .tbx-tar-tab[aria-selected="true"] {
	border-color: var(--fg);
	background: var(--bg);
	box-shadow: 0 24px 44px -28px rgba(120, 50, 20, .45);
}

.tbx-tar-tab__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: var(--bg);
}

.tbx-tar-tab__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.tbx-tar-tab__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 8px;
}

.tbx-tar-tab__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tbx-tar-tab__name {
	color: var(--fg);
	font-size: 21px;
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.15;
}

.tbx-tar-tab__short {
	display: none;
}

.tbx-tar-tab__check {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--field);
	border-radius: 50%;
	background: #fff;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
}

.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__check {
	border-color: var(--fg);
	background: var(--fg);
}

.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__check::before {
	content: "✓";
}

.tbx-tar-tab__phrase {
	min-height: 44px;
	color: var(--text2);
	font-size: 15px;
	line-height: 1.45;
}

.tbx-tar-tab__cta {
	color: var(--text2);
	font-size: 14px;
	font-weight: 700;
}

.tbx-tar-tab__on,
.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__off {
	display: none;
}

.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__on {
	display: inline;
	color: var(--fg);
}

/* ---------------------------------------------------------------------------
 * Formules de la Box choisie
 * ------------------------------------------------------------------------- */

.tbx-tar-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 64px var(--gutter) 0;
	outline-offset: -3px;
}

.tbx-tar-recap {
	display: none;
}

.tbx-tar-pill {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 9px;
	border-radius: 999px;
	background: var(--soft);
	color: var(--navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.tbx-tar-pill__ball {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #E4C92E;
}

.tbx-tar-panel__title {
	margin: 0;
	color: var(--navy);
	font-size: 44px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.tbx-tar-panel__title span {
	color: var(--fg);
}

.tbx-tar-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-top: 20px;
	padding: 32px;
	border-radius: 32px;
	background: var(--bg);
}

.tbx-tar-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.tbx-tar-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tbx-tar-group__label {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 16px 0 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--fg);
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -.02em;
}

.tbx-tar-group__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--fg);
}

.tbx-tar-group__count {
	color: var(--text2);
	font-size: 14px;
	font-weight: 600;
}

.tbx-tar-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
	width: 100%;
	margin: 0 auto;
}

.tbx-tar-panel--cols-4 .tbx-tar-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tbx-tar-panel--cols-3 .tbx-tar-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbx-tar-panel--cols-2 .tbx-tar-cards,
.tbx-tar-panel--split .tbx-tar-cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tbx-tar-panel--split .tbx-tar-block {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Entraînement : filet vertical entre « Pour les joueurs » et « Pour les enseignants ». */
.tbx-tar-panel--split .tbx-tar-group + .tbx-tar-group {
	padding-left: 24px;
	border-left: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent);
}

.tbx-tar-panel--single .tbx-tar-cards {
	max-width: 780px;
}

/* Cartes très chargées (Communication, Organisation) : listes cochées sur 2 colonnes. */
.tbx-tar-panel--cols-2 .tbx-tar-card__feats,
.tbx-tar-panel--single .tbx-tar-card__feats {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------------------------------------------------------------------------
 * Carte de formule
 * ------------------------------------------------------------------------- */

.tbx-tar-card {
	--c-ink: var(--ink);
	--c-sub: var(--text2);
	--c-name: var(--navy);
	--c-k-bg: var(--bg);
	--c-k-fg: var(--fg);
	--c-tick-bg: var(--bg);
	--c-tick-fg: var(--fg);
	--c-rule: var(--line-soft);
	--c-box-bg: var(--soft);
	--c-box-bd: var(--line);
	--c-chip-bg: #fff;
	--c-dot: var(--fg);
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 26px 24px 24px;
	border: 1.5px solid var(--line);
	border-radius: 24px;
	background: #fff;
	color: var(--c-ink);
}

.tbx-tar-card--hi {
	--c-ink: #fff;
	--c-sub: rgba(255, 255, 255, .82);
	--c-name: #fff;
	--c-k-bg: rgba(255, 255, 255, .14);
	--c-k-fg: #fff;
	--c-tick-bg: #fff;
	--c-tick-fg: var(--navy);
	--c-rule: rgba(255, 255, 255, .2);
	--c-box-bg: rgba(255, 255, 255, .08);
	--c-box-bd: rgba(255, 255, 255, .2);
	--c-chip-bg: rgba(255, 255, 255, .12);
	--c-dot: #fff;
	border-color: var(--navy);
	background: var(--navy);
	box-shadow: 0 30px 50px -28px rgba(0, 40, 70, .65);
}

.tbx-tar-card--option {
	border-style: dashed;
	border-color: var(--field);
	background: rgba(255, 255, 255, .55);
}

.tbx-tar-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 30px;
}

.tbx-tar-card__kicker {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--c-k-bg);
	color: var(--c-k-fg);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.tbx-tar-card__badge {
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--orange);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.2;
}

.tbx-tar-card__badge--soon {
	background: #B92121;
}

.tbx-tar-card__amount.tbx-tar-card__amount--soon {
	color: var(--c-sub);
	font-size: 26px;
	letter-spacing: -.03em;
}

.tbx-tar-card__titles {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tbx-tar-card__name {
	margin: 0;
	color: var(--c-name);
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.1;
	text-wrap: balance;
}

.tbx-tar-card__desc {
	margin: 0;
	color: var(--c-sub);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
}

.tbx-tar-card__pricing {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.tbx-tar-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin: 0;
}

.tbx-tar-card__amount {
	color: var(--c-ink);
	font-size: 46px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1;
}

.tbx-tar-card--option .tbx-tar-card__amount {
	font-size: 46px; /* « 30 € » Affiche seule : même taille que les autres tarifs (Elsa, 2026-11-08) */
}

.tbx-tar-card__suffix,
.tbx-tar-card__price-note {
	color: var(--c-sub);
	font-size: 16px;
	font-weight: 700;
}

.tbx-tar-card__price-note {
	font-size: 14px;
	font-weight: 600;
}

.tbx-tar-card__rule {
	display: block;
	height: 1px;
	background: var(--c-rule);
}

.tbx-tar-card__feats {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-tar-card__feats li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.tbx-tar-card__tick {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--c-tick-bg);
	color: var(--c-tick-fg);
	font-size: 11px;
	font-weight: 900;
}

/* Sous-blocs : abonnement et éditions. */
.tbx-tar-card__box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--c-box-bd);
	border-radius: 18px;
	background: var(--c-box-bg);
}

.tbx-tar-card__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}

.tbx-tar-card__sub-label {
	font-size: 15px;
	font-weight: 800;
}

.tbx-tar-card__sub-price {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -.03em;
	white-space: nowrap;
}

.tbx-tar-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-tar-card__chips li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 6px 12px 6px 9px;
	border-radius: 999px;
	background: var(--c-chip-bg);
	color: var(--c-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.tbx-tar-card__chip-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-dot);
}

.tbx-tar-card__box--editions {
	gap: 0;
	padding: 6px 18px;
}

.tbx-tar-card__box-title {
	margin: 0;
	padding: 12px 0 8px;
	font-size: 15px;
	font-weight: 800;
}

.tbx-tar-card__edition {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid var(--c-box-bd);
}

.tbx-tar-card__ed-left,
.tbx-tar-card__ed-right {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbx-tar-card__ed-right {
	align-items: flex-end;
	text-align: right;
}

.tbx-tar-card__ed-name {
	font-size: 15px;
	font-weight: 700;
}

.tbx-tar-card__ed-detail {
	color: var(--c-sub);
	font-size: 13.5px;
	line-height: 1.35;
}

.tbx-tar-card__ed-price {
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.tbx-tar-card__ed-per {
	color: var(--c-sub);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}

.tbx-tar-card__note {
	margin: 0;
	color: var(--c-sub);
	font-size: 13.5px;
	line-height: 1.5;
}

/* Bouton calé en bas de la carte. */
.tbx-tar-card__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 48px;
	margin-top: auto;
	padding: 0 4px 0 20px;
	border: 2px solid var(--orange);
	border-radius: 999px;
	background: var(--orange);
	box-shadow: 0 12px 24px -12px rgba(203, 82, 35, .7);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	transition: background .2s, border-color .2s;
}

.tbx-tar-card__btn:hover {
	border-color: var(--orange-hover);
	background: var(--orange-hover);
}

.tbx-tar-card__btn-dot {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--orange);
	font-size: 16px;
	font-weight: 800;
}

.tbx-tar-card--option .tbx-tar-card__btn {
	border-color: var(--field);
	background: #fff;
	box-shadow: none;
	color: var(--navy) !important;
}

.tbx-tar-card--option .tbx-tar-card__btn:hover {
	border-color: var(--navy);
	background: #fff;
}

.tbx-tar-card--option .tbx-tar-card__btn-dot {
	background: var(--soft);
	color: var(--navy);
}

/* ---------------------------------------------------------------------------
 * Mentions, rappel -20 %, FAQ
 * ------------------------------------------------------------------------- */

.tbx-tar-mentions {
	margin: 12px 0 0;
	padding: 0 var(--gutter);
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.tbx-tar-promo {
	padding: 16px var(--gutter) 0;
}

.tbx-tar-promo .tbx-cat-promo {
	margin: 0;
}

.tbx-tar-faq {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	padding: 88px var(--gutter) 24px;
}

.tbx-tar-faq__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tbx-tar-faq__title {
	margin: 0;
	color: var(--navy);
	font-size: 40px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.tbx-tar-faq__rule {
	display: block;
	width: 72px;
	height: 6px;
	border-radius: 3px;
	background: var(--orange);
}

.tbx-tar-faq__text {
	margin: 0;
	color: var(--text2);
	font-size: 16px;
	line-height: 1.55;
}

.tbx-tar-faq__text a,
.tbx-tar-faq__a a {
	color: var(--orange-text);
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

.tbx-tar-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tbx-tar-faq__item {
	border-radius: 22px;
	background: var(--soft);
}

.tbx-tar-faq__q {
	margin: 0;
	padding: 0;
	font-size: inherit;
}

.tbx-tar .tbx-tar-faq__q button,
.tbx-tar .tbx-tar-faq__q button:hover,
.tbx-tar .tbx-tar-faq__q button:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 72px;
	padding: 12px 16px 12px 26px;
	border: 0;
	border-radius: 22px;
	background: transparent;
	color: var(--ink);
	font-size: 17.5px;
	font-weight: 800;
	line-height: 1.35;
	text-align: left;
	white-space: normal;
}

.tbx-tar-faq__chev {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s;
}

.tbx-tar-faq__chev::before {
	content: "";
	border-top: 6px solid var(--navy);
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
}

.tbx-tar-faq__q button[aria-expanded="true"] .tbx-tar-faq__chev {
	transform: rotate(180deg);
}

.tbx-tar-faq__a p {
	max-width: 720px;
	margin: 0;
	padding: 0 26px 22px;
	color: var(--text2);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------------------------------------------------------------------------
 * Écrans moyens
 * ------------------------------------------------------------------------- */

@media (max-width: 1279px) {

	.tbx-tar-panel--cols-4 .tbx-tar-cards,
	.tbx-tar-panel--cols-3 .tbx-tar-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbx-tar-panel--split .tbx-tar-block {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-tar-panel--split .tbx-tar-group + .tbx-tar-group {
		padding: 24px 0 0;
		border-top: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent);
		border-left: 0;
	}

	.tbx-tar-faq {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 1023px) {
	.tbx-tar-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbx-tar-panel--cols-2 .tbx-tar-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-tar-faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ---------------------------------------------------------------------------
 * Mobile (< 768 px)
 * ------------------------------------------------------------------------- */

@media (max-width: 767px) {

	.tbx-tar-pick {
		gap: 8px;
		padding: 32px 0 0;
	}

	.tbx-tar-pick__title {
		margin: 0 20px;
		font-size: 26px;
		line-height: 1.1;
	}

	.tbx-tar-pick__text {
		margin: 0 20px;
		font-size: 15.5px;
		line-height: 1.5;
	}

	/* Cartes de Box → pastilles qui défilent. */
	.tbx-tar-tabs {
		display: flex;
		gap: 8px;
		margin-top: 0;
		padding: 10px 16px 0;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tbx-tar-tabs::-webkit-scrollbar {
		display: none;
	}

	.tbx-tar .tbx-tar-tab,
	.tbx-tar .tbx-tar-tab:hover,
	.tbx-tar .tbx-tar-tab:focus {
		flex: none;
		flex-direction: row;
		align-items: center;
		gap: 8px;
		height: 44px;
		padding: 0 16px;
		border-width: 1.5px;
		border-color: var(--field);
		background: #fff;
		box-shadow: none;
		transform: none;
		white-space: nowrap;
	}

	.tbx-tar .tbx-tar-tab[aria-selected="true"] {
		border-color: var(--fg);
		background: var(--fg);
		box-shadow: none;
	}

	.tbx-tar-tab__media,
	.tbx-tar-tab__phrase,
	.tbx-tar-tab__cta,
	.tbx-tar-tab__name,
	.tbx-tar-tab__check {
		display: none;
	}

	.tbx-tar-tab__body,
	.tbx-tar-tab__head {
		display: contents;
	}

	.tbx-tar-tab__short {
		display: flex;
		align-items: center;
		gap: 8px;
		color: var(--ink);
		font-size: 14.5px;
		font-weight: 700;
	}

	.tbx-tar-tab__short::before {
		content: "";
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--fg);
	}

	.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__short {
		color: #fff;
	}

	.tbx-tar-tab[aria-selected="true"] .tbx-tar-tab__short::before {
		background: #fff;
	}

	/* Rappel de la Box choisie, sous les pastilles. */
	.tbx-tar-panel {
		padding: 0 var(--gutter);
	}

	.tbx-tar-recap {
		display: flex;
		align-items: center;
		gap: 14px;
		margin: 8px 0 26px;
		padding: 10px;
		border-radius: 20px;
		background: var(--bg);
	}

	.tbx-tar-recap__media {
		flex: none;
		width: 104px;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		border-radius: 14px;
		background: #fff;
	}

	.tbx-tar-recap__media img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
	}

	.tbx-tar-recap__text {
		display: flex;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
	}

	.tbx-tar-recap__name {
		color: var(--fg);
		font-size: 17px;
		font-weight: 900;
		letter-spacing: -.03em;
	}

	.tbx-tar-recap__phrase {
		color: var(--text2);
		font-size: 14px;
		line-height: 1.4;
	}

	.tbx-tar-panel__title {
		font-size: 30px;
	}

	.tbx-tar-block,
	.tbx-tar-panel--split .tbx-tar-block {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 16px;
		padding: 16px;
		border-radius: 28px;
	}

	.tbx-tar-cards,
	.tbx-tar-panel--cols-3 .tbx-tar-cards,
	.tbx-tar-panel--cols-4 .tbx-tar-cards,
	.tbx-tar-panel--cols-2 .tbx-tar-cards,
	.tbx-tar-panel--split .tbx-tar-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.tbx-tar-panel--cols-2 .tbx-tar-card__feats,
	.tbx-tar-panel--single .tbx-tar-card__feats {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-tar-card {
		padding: 22px 20px 20px;
	}

	.tbx-tar-card__name {
		font-size: 24px;
	}

	.tbx-tar-mentions {
		margin-top: 8px;
		padding: 0 20px;
	}

	.tbx-tar-faq {
		padding: 48px var(--gutter) 8px;
	}

	.tbx-tar-faq__title {
		font-size: 30px;
	}

	.tbx-tar-faq__rule {
		width: 56px;
		height: 5px;
	}

	.tbx-tar .tbx-tar-faq__q button,
	.tbx-tar .tbx-tar-faq__q button:hover,
	.tbx-tar .tbx-tar-faq__q button:focus {
		min-height: 64px;
		padding-left: 20px;
		font-size: 16.5px;
	}

	.tbx-tar-faq__a p {
		padding: 0 20px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbx-tar .tbx-tar-tab,
	.tbx-tar-faq__chev {
		transition: none;
	}

	.tbx-tar .tbx-tar-tab:hover {
		transform: none;
	}
}

/* ==========================================================================
 * Alternance des fonds (retour d'Elsa, 2026-10-09) : chaque section se distingue de la suivante.
 * Héros crème → choix de la Box blanc → formules, mentions et rappel -20 % sur une bande crème → FAQ blanche.
 * ========================================================================= */

.tbx-tar-pick {
	padding-bottom: 64px;
}

.tbx-tar-panel,
.tbx-tar-mentions,
.tbx-tar-promo {
	background: #F8EBE1;
}

.tbx-tar-mentions {
	margin: 0;
	padding-top: 12px;
}

.tbx-tar-promo {
	padding-bottom: 72px;
}

.tbx-tar-promo .tbx-cat-promo {
	background: #fff;
}

@media (max-width: 767px) {
	.tbx-tar-pick {
		padding-bottom: 28px;
	}

	.tbx-tar-panel {
		padding-top: 28px;
	}

	.tbx-tar-mentions {
		margin: 0;
		padding-top: 8px;
	}

	.tbx-tar-promo {
		padding-bottom: 44px;
	}
}

/* Plus de cadre teinté autour des formules : sa teinte se confondait avec la bande crème (retour d'Elsa 2026-10-09).
 * Les cartes blanches se posent directement sur le crème. */
.tbx-tar-block,
.tbx-tar-panel--split .tbx-tar-block {
	padding: 0;
	border-radius: 0;
	background: none;
}

/* Téléphone : texte du bouton centré, flèche ronde calée à droite (retour d'Elsa, 2026-10-12). */
@media (max-width: 767px) {
	.tbx-tar-card__btn {
		position: relative;
		justify-content: center;
		padding: 0 52px;
		text-align: center;
	}

	.tbx-tar-card__btn .tbx-tar-card__btn-dot {
		position: absolute;
		top: 0;
		right: 4px;
		bottom: 0;
		margin: auto 0;
	}
}

/* ======================================================================
 * Téléphone (retour d'Elsa, 2026-10-12 : proposition 3 + liste A) — template-parts/tarifs/mobile.php :
 * les 4 Box empilées (une ouverte à la fois), formules en lignes dépliables. Les onglets et les grandes
 * cartes ne servent plus que sur ordinateur et tablette.
 * ==================================================================== */
.tbx-tar-m {
	display: none;
}

@media (max-width: 767px) {
	.tbx-tar .tbx-tar-tabs,
	.tbx-tar .tbx-tar-panel {
		display: none !important;
	}

	.tbx-tar-m {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 4px 16px 8px;
	}

	.tbx-tar-m summary {
		list-style: none;
		cursor: pointer;
	}

	.tbx-tar-m summary::-webkit-details-marker {
		display: none;
	}

	.tbx-tar-m__box {
		overflow: hidden;
		border: 1.5px solid var(--line, #eadfd4);
		border-radius: 20px;
		background: #fff;
	}

	.tbx-tar-m__box[open] {
		border-color: var(--fg);
	}

	.tbx-tar-m__head {
		display: grid;
		grid-template-columns: 12px minmax(0, 1fr) auto 18px;
		align-items: center;
		gap: 12px;
		padding: 14px 16px;
	}

	.tbx-tar-m__box[open] > .tbx-tar-m__head {
		background: var(--fg);
		color: #fff;
	}

	.tbx-tar-m__dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: var(--fg);
	}

	.tbx-tar-m__box[open] .tbx-tar-m__dot {
		background: #fff;
	}

	.tbx-tar-m__name {
		color: var(--ink, #0f2a3d);
		font-size: 16.5px;
		font-weight: 900;
		letter-spacing: -.02em;
		line-height: 1.2;
	}

	.tbx-tar-m__name small {
		display: block;
		margin-top: 2px;
		color: var(--muted, #5a6b7c);
		font-size: 12.5px;
		font-weight: 600;
		letter-spacing: 0;
	}

	.tbx-tar-m__count {
		color: var(--muted, #5a6b7c);
		font-size: 12px;
		font-weight: 700;
		white-space: nowrap;
	}

	.tbx-tar-m__box[open] > .tbx-tar-m__head :is(.tbx-tar-m__name, .tbx-tar-m__name small, .tbx-tar-m__count) {
		color: #fff;
	}

	.tbx-tar-m__chev {
		width: 10px;
		height: 10px;
		margin-top: -4px;
		border-right: 2.5px solid currentColor;
		border-bottom: 2.5px solid currentColor;
		color: var(--fg);
		transform: rotate(45deg);
		transition: transform .2s;
	}

	.tbx-tar-m__box[open] > .tbx-tar-m__head .tbx-tar-m__chev {
		margin-top: 4px;
		color: #fff;
		transform: rotate(-135deg);
	}

	.tbx-tar-m__list {
		display: flex;
		flex-direction: column;
	}

	.tbx-tar-m__group {
		margin: 0;
		padding: 10px 16px 6px;
		background: var(--bg);
		color: var(--fg);
		font-size: 11.5px;
		font-weight: 800;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.tbx-tar-m__row {
		border-top: 1px solid var(--line, #eadfd4);
	}

	.tbx-tar-m__top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto 14px;
		align-items: center;
		gap: 12px;
		padding: 13px 16px;
	}

	.tbx-tar-m__title {
		color: var(--ink, #0f2a3d);
		font-size: 15px;
		font-weight: 800;
		line-height: 1.25;
	}

	.tbx-tar-m__title small {
		display: block;
		margin-top: 2px;
		color: var(--muted, #5a6b7c);
		font-size: 12px;
		font-weight: 600;
	}

	.tbx-tar-m__badge {
		display: inline-block;
		margin-left: 4px;
		padding: 2px 7px;
		border-radius: 999px;
		background: var(--navy, #004b76);
		color: #fff;
		font-size: 9.5px;
		font-weight: 800;
		letter-spacing: .04em;
		text-transform: uppercase;
		vertical-align: 2px;
	}

	.tbx-tar-m__price {
		color: var(--ink, #0f2a3d);
		font-size: 18px;
		font-weight: 900;
		letter-spacing: -.03em;
		line-height: 1.1;
		text-align: right;
		white-space: nowrap;
	}

	.tbx-tar-m__price small {
		color: var(--muted, #5a6b7c);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0;
	}

	.tbx-tar-m__price em {
		display: block;
		color: #b92121;
		font-size: 10.5px;
		font-style: normal;
		font-weight: 700;
		letter-spacing: 0;
	}

	html body .tbx-tar-m__soon {
		display: inline-block;
		padding: 4px 9px;
		border-radius: 999px;
		background: #b92121;
		color: #fff;
		font-size: 11.5px;
		font-weight: 800;
		letter-spacing: 0;
	}

	.tbx-tar-m__row .tbx-tar-m__chev {
		width: 8px;
		height: 8px;
		border-width: 0 2px 2px 0;
		color: var(--orange, #cb5223);
	}

	.tbx-tar-m__row[open] .tbx-tar-m__chev {
		margin-top: 4px;
		transform: rotate(-135deg);
	}

	.tbx-tar-m__row[open] > .tbx-tar-m__top {
		background: var(--bg);
	}

	.tbx-tar-m__more {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 12px 16px 16px;
		background: var(--bg);
	}

	.tbx-tar-m__feats {
		display: grid;
		gap: 5px;
		margin: 0;
		padding: 0;
		list-style: none;
		color: var(--ink-2, #3e5063);
		font-size: 13.5px;
		line-height: 1.4;
	}

	.tbx-tar-m__feats li::before {
		content: "✓ ";
		color: var(--fg);
		font-weight: 900;
	}

	.tbx-tar-m__note,
	.tbx-tar-m__extra {
		margin: 0;
		color: var(--muted, #5a6b7c);
		font-size: 12.5px;
		line-height: 1.45;
	}

	.tbx-tar-m__extra strong {
		color: var(--ink, #0f2a3d);
	}

	.tbx-tar-m__eds {
		display: flex;
		flex-direction: column;
		gap: 4px;
		padding: 10px 12px;
		border-radius: 14px;
		background: #fff;
	}

	.tbx-tar-m__eds-title {
		margin: 0 0 2px;
		color: var(--fg);
		font-size: 11.5px;
		font-weight: 800;
		letter-spacing: .06em;
		text-transform: uppercase;
	}

	.tbx-tar-m__ed {
		display: flex;
		justify-content: space-between;
		gap: 10px;
		margin: 0;
		font-size: 13px;
	}

	.tbx-tar-m__ed b {
		white-space: nowrap;
	}

	.tbx-tar-m .tbx-tar-card__btn {
		margin-top: 2px;
	}
}

/* « Bientôt disponible » en blanc sur la carte bleue (retour d'Elsa, 2026-10-17). */
.tbx-tar-card--hi .tbx-tar-card__amount.tbx-tar-card__amount--soon {
	color: #fff;
}

/* « Choisissez votre Box » : les illustrations détourées des cartes Box de l'accueil (600 × 500 px), entières, posées en
   bas de la vignette — format 6/5 au lieu de 4/3 recadré (retour d'Elsa, 2026-10-17). */
.tbx-tar-tab__media,
.tbx-tar-recap__media {
	aspect-ratio: 6 / 5;
}

.tbx-tar-tab__media img,
.tbx-tar-recap__media img {
	object-fit: contain;
	object-position: 50% 100%;
}

.tbx-tar-tab__media img {
	padding: 10px 10px 0;
}

/* « Bientôt disponible » (pastille rouge) en blanc sur toutes les cartes, pas seulement la carte bleue (Elsa, 2026-10-17). */
html body .tbx-tar-card__amount.tbx-tar-card__amount--soon {
	color: #fff;
}

/* Pastille sous le prix (« Livraison en 72 h » sur la carte Logo, Elsa 2026-10-22). */
.tbx-tar-card__highlight {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: 4px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #e3f3ea;
	color: #0b7a41;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.tbx-tar-card--hi .tbx-tar-card__highlight { /* pastille pleine : bien lisible sur la carte bleue (Elsa, 2026-10-26) */
	background: #fff;
	color: #0b7a41;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

/* Carte en deux parties (Passage de niveau : « L'outil » puis « L'animation clé en main », Elsa 2026-10-22). */
.tbx-tar-card__part + .tbx-tar-card__part {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed rgba(0, 75, 118, .18);
}

.tbx-tar-card__part-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--c-name, #0f2a3d);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.tbx-tar-card__part-title span {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--fg, #0e7a40);
	color: #fff;
	font-size: 12px;
}

/* « Choisissez votre Box » : images des cartes de l'accueil avec la troupe (carte-a-chacun-*.webp, 600 × 600,
   détourées) qui remplissent la vignette 6/5, cadrées sur les personnages (Elsa, 2026-11-04). */
.tbx-tar-tab__media img,
.tbx-tar-recap__media img {
	object-fit: cover;
	object-position: 50% 30%;
}

.tbx-tar-tab__media img {
	padding: 0;
}

/* ---------- Retouches Tarifs (Elsa, 2026-11-08) ---------- */
.tbx-tar-pick__text {
	max-width: none;
}

@media (min-width: 900px) {
	.tbx-tar-pick__text {
		white-space: nowrap;
	}
}

/* Carte : pour que « Le plus choisi » se pose sur le contour. */
.tbx-tar-card {
	position: relative;
}

.tbx-tar-card__badge--top {
	position: absolute;
	top: 0;
	left: 50%;
	translate: -50% -50%;
	padding: 7px 16px;
	box-shadow: 0 6px 14px -6px rgba(203, 82, 35, .7);
	white-space: nowrap;
}

/* « Au lieu de X € » barré. */
.tbx-tar-card__badge.tbx-tar-card__badge--save {
	padding: 0;
	background: none;
	color: var(--c-sub);
	font-weight: 600;
}

.tbx-tar-card__badge.tbx-tar-card__badge--strike {
	text-decoration: line-through;
}

/* « Contactez-nous » : un vrai bouton. */
.tbx-tar-faq__intro .tbx-tar-faq__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--orange);
	box-shadow: 0 12px 24px -12px rgba(203, 82, 35, .7);
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
}

.tbx-tar-faq__intro .tbx-tar-faq__btn:hover {
	background: #b5461d;
}

/* « Contactez-nous » : le bouton prend la taille de son texte. */
.tbx-tar-faq__intro .tbx-tar-faq__btn {
	display: inline-flex;
	align-self: flex-start;
	justify-self: start;
	width: fit-content;
	max-width: 100%;
	flex: none;
}

/* Carte sans liste (Réseaux sociaux à venir) : pas de liste vide. */
.tbx-tar-card__feats:empty {
	display: none;
}

/* ---------- Badges « Le plus choisi » sur fond blanc (Elsa, 2026-11-08) ---------- */
.tbx-tar-card__badge--top {
	background: #fff;
	color: var(--orange-text, #b5461d);
	box-shadow: 0 5px 14px -6px rgba(0, 30, 50, .45), 0 0 0 1.5px var(--line);
}

/* ---------- Formules Entraînement : présentation de l'accueil, deux couleurs (Elsa, 2026-11-08) ---------- */
.tbx-tar-group--jou,
.tbx-tar-group--ens {
	--gc: #b92121;
	--gc-bg: #fbe9e9;
	--gc-bd: #f1caca;
	--gc-card: #9e2626;
	padding: 22px 20px 26px;
	border: 2px solid var(--gc-bd);
	border-radius: 26px;
	background: var(--gc-bg);
}

.tbx-tar-group--ens {
	--gc: #cb5223;
	--gc-bg: #fbeee6;
	--gc-bd: #f2d3bf;
	--gc-card: #cb5223;
}

.tbx-tar-group--jou .tbx-tar-group__label,
.tbx-tar-group--ens .tbx-tar-group__label {
	color: var(--gc);
}

.tbx-tar-group__sub {
	color: #111;
	white-space: pre;
}

.tbx-tar-group--jou .tbx-tar-card--hi,
.tbx-tar-group--ens .tbx-tar-card--hi {
	border-color: var(--gc-card);
	background: var(--gc-card);
	box-shadow: 0 30px 50px -28px color-mix(in srgb, var(--gc-card) 70%, #000);
}

.tbx-tar-group--jou .tbx-tar-card--hi .tbx-tar-card__btn,
.tbx-tar-group--ens .tbx-tar-card--hi .tbx-tar-card__btn {
	border-color: #fff;
	background: #fff;
	box-shadow: none;
	color: var(--gc-card) !important;
}

.tbx-tar-group--jou .tbx-tar-card--hi .tbx-tar-card__btn-dot,
.tbx-tar-group--ens .tbx-tar-card--hi .tbx-tar-card__btn-dot {
	background: var(--gc-card);
	color: #fff;
}

/* Formules Entraînement : prix, filets et boutons alignés d'une carte à l'autre (Elsa, 2026-11-08). Les deux cartes d'un groupe
   partagent les mêmes lignes (sous-grille) : titre, prix, filet, liste et bouton sont à la même hauteur dans les deux. */
@media (min-width: 700px) {
	.tbx-tar-panel--split .tbx-tar-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(6, auto);
		gap: 0 20px;
	}

	.tbx-tar-panel--split .tbx-tar-cards > .tbx-tar-card {
		display: grid;
		grid-row: span 6;
		grid-template-rows: subgrid;
		row-gap: 16px;
	}
}


/* ==========================================================================
 * Choix de la Box en onglets « dossier » (proposition 1, Elsa 2026-11-08) : rangée d'onglets (nom seul, sans image), l'onglet
 * actif se prolonge en bandeau de la couleur de la Box (image, phrase, lien), puis les formules. Téléphone : liste mobile (inchangée).
 * ========================================================================== */
.tbx-tar-bands {
	display: none;
}

@media (min-width: 768px) {
	.tbx-tar {
		overflow-x: clip;
	}

	.tbx-tar-pick {
		padding-bottom: 0;
		background: #F8EBE1; /* même fond crème du titre aux formules : plus de bascule blanc / crème (Elsa, 2026-11-08) ; le dégradé a été essayé puis écarté */
	}

	.tbx-tar .tbx-tar-tabs {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr)); /* les 4 onglets prennent toute la largeur du bandeau (Elsa, 2026-11-08) */
		align-items: end;
		gap: 6px;
		margin-top: 22px;
	}

	.tbx-tar .tbx-tar-tabs .tbx-tar-tab,
	.tbx-tar .tbx-tar-tabs .tbx-tar-tab:hover,
	.tbx-tar .tbx-tar-tabs .tbx-tar-tab:focus {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0;
		padding: 16px 12px 14px;
		text-align: center;
		border: 0;
		border-radius: 20px 20px 0 0;
		background: #fff;
		box-shadow: none;
		color: var(--fg);
		opacity: .9;
		transition: transform .2s, opacity .2s;
	}

	.tbx-tar .tbx-tar-tabs .tbx-tar-tab:hover {
		opacity: 1;
		transform: translateY(-2px);
	}

	.tbx-tar .tbx-tar-tabs .tbx-tar-tab[aria-selected="true"] {
		padding-top: 20px;
		margin-bottom: -1px;
		background: var(--fg);
		color: #fff;
		opacity: 1;
		transform: none;
	}

	.tbx-tar-tabs .tbx-tar-tab__media,
	.tbx-tar-tabs .tbx-tar-tab__phrase,
	.tbx-tar-tabs .tbx-tar-tab__cta,
	.tbx-tar-tabs .tbx-tar-tab__check,
	.tbx-tar-tabs .tbx-tar-tab__short {
		display: none;
	}

	.tbx-tar-tabs .tbx-tar-tab__body,
	.tbx-tar-tabs .tbx-tar-tab__head {
		display: block;
	}

	.tbx-tar-tabs .tbx-tar-tab__name {
		display: block;
		color: inherit;
		font-size: 18px;
		font-weight: 900;
		letter-spacing: -.01em;
		white-space: nowrap;
	}

	/* Lien entre le choix et les formules (Elsa, 2026-11-08) : le bandeau est posé à cheval sur la bande crème des formules,
	   qui démarre à mi-hauteur du bandeau et se prolonge jusqu'au panneau. */
	.tbx-tar-bands {
		position: relative;
		isolation: isolate;
		display: block;
		margin: -10px 0 0; /* annule l'écart de 10 px de la section : l'onglet touche le bandeau */
		padding-bottom: 40px;
	}

	.tbx-tar-bands::before {
		content: none;
	}

	.tbx-tar-band {
		position: relative;
		isolation: isolate;
		min-height: 124px;
		box-shadow: 0 22px 36px -22px color-mix(in srgb, var(--fg) 70%, #000);
		display: flex;
		align-items: center;
		gap: 26px;
		padding: 26px 32px;
		border-radius: 0 0 28px 28px;
		background: radial-gradient(120% 160% at 90% 0, color-mix(in srgb, var(--fg) 78%, #fff), var(--fg) 55%, color-mix(in srgb, var(--fg) 68%, #000));
		color: #fff;
		overflow: hidden;
	}

	.tbx-tar-band[hidden] {
		display: none;
	}

	.tbx-tar-band::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 2px, transparent 2.4px);
		background-size: 14px 14px;
		-webkit-mask: radial-gradient(50% 140% at 100% 0, #000, transparent 75%);
		mask: radial-gradient(50% 140% at 100% 0, #000, transparent 75%);
	}

	.tbx-tar-band__media {
		flex: none;
		width: 96px;
		height: 96px;
		overflow: hidden;
		border-radius: 50%;
		background: var(--bg);
		box-shadow: 0 0 0 4px #fff;
	}

	.tbx-tar-band__media img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.tbx-tar-band__txt b {
		display: block;
		font-size: 28px;
		font-weight: 900;
		letter-spacing: -.02em;
		line-height: 1.1;
	}

	.tbx-tar-band__txt span {
		display: block;
		margin-top: 4px;
		font-size: 17px;
		opacity: .95;
	}

	.tbx-tar .tbx-tar-band__btn {
		margin-left: auto;
		padding: 12px 22px;
		border-radius: 999px;
		background: #fff;
		color: var(--fg) !important;
		font-size: 14.5px;
		font-weight: 800;
		text-decoration: none !important;
		white-space: nowrap;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.tbx-tar .tbx-tar-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* Produit annoncé mais pas encore disponible (Réseaux sociaux, Box Communication) : mention sous les formules (Elsa, 2026-11-08). */
.tbx-tar-coming {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 22px;
	padding: 18px 24px;
	border: 2px dashed color-mix(in srgb, var(--fg) 45%, transparent);
	border-radius: 22px;
	background: rgba(255, 255, 255, .6);
}

.tbx-tar-coming__badge {
	padding: 6px 14px;
	border-radius: 999px;
	background: #f2c230;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .14);
	color: #004b76;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.tbx-tar-coming__txt {
	flex: 1 1 320px;
	margin: 0;
	color: var(--text2);
	font-size: 15.5px;
	line-height: 1.5;
}

.tbx-tar-coming__txt b {
	display: block;
	color: var(--fg);
	font-size: 18px;
	font-weight: 900;
}

.tbx-tar .tbx-tar-coming__link {
	color: var(--fg);
	font-size: 15px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 4px;
	white-space: nowrap;
}

/* Tablette : le bandeau de la Box passe à la ligne (le bouton dépassait à droite). */
@media (min-width: 768px) and (max-width: 1023px) {
	.tbx-tar-band {
		flex-wrap: wrap;
		gap: 16px 22px;
	}

	.tbx-tar-band__txt {
		flex: 1 1 220px;
		min-width: 0;
	}

	.tbx-tar .tbx-tar-band__btn {
		margin-left: 0;
	}
}


/* Boutons : flèche dans un rond blanc, comme l'accueil (Elsa, 2026-11-09). */
.tbx-tar-faq__intro .tbx-tar-faq__btn {
	gap: 14px;
	padding: 8px 8px 8px 22px;
}

.tbx-tar-faq__arr {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
}

.tbx-tar-faq__arr {
	background: #fff;
	color: var(--orange, #cb5223);
}

.tbx-tar-band__arr {
	font-size: 16px;
	font-weight: 900;
}

/* Phrase « Prix en euros. Paiement en ligne sécurisé… » : plus lisible et plus d'espace en dessous (Elsa, 2026-11-09). */
.tbx-tar-mentions {
	padding-top: 20px;
	padding-bottom: 48px;
	color: #3e5063;
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.tbx-tar-mentions {
		padding-top: 14px;
		padding-bottom: 32px;
		font-size: 14px;
	}
}

/* ---------------------------------------------------------------------------
 * FAQ Tarifs — proposition B « cases numérotées » validée par Elsa (2026-11-09) : cartes à contour épais et ombre nette,
 * pastille jaune numérotée inclinée ; la question ouverte prend le dégradé orange à points des bandeaux BD.
 * ------------------------------------------------------------------------- */
.tbx-tar-faq__rule {
	display: none;
}

.tbx-tar-faq__sticker {
	display: inline-block;
	align-self: flex-start;
	padding: 8px 14px;
	border: 2.5px solid var(--navy);
	border-radius: 10px;
	background: #ffd23f;
	color: var(--navy);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
	transform: rotate(-2deg);
	box-shadow: 0 4px 0 rgba(0, 40, 70, .25);
}

.tbx-tar-faq__title span {
	color: var(--orange);
	text-transform: uppercase;
}

.tbx-tar-faq__list {
	gap: 16px;
}

.tbx-tar-faq__item {
	position: relative;
	overflow: hidden;
	border: 3px solid var(--navy);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 7px 0 rgba(0, 40, 70, .2);
	transition: transform .15s, box-shadow .15s;
}

.tbx-tar-faq__item:hover {
	transform: translateY(-2px);
}

.tbx-tar .tbx-tar-faq__q button,
.tbx-tar .tbx-tar-faq__q button:hover,
.tbx-tar .tbx-tar-faq__q button:focus {
	position: relative;
	justify-content: flex-start;
	gap: 14px;
	min-height: 0;
	padding: 16px 18px;
	border-radius: 0;
	color: var(--navy);
	font-size: 17px;
}

.tbx-tar-faq__n {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 2.5px solid var(--navy);
	border-radius: 50%;
	background: #ffd23f;
	color: var(--navy);
	font-family: "Lilita One", cursive;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	transform: rotate(-6deg);
}

.tbx-tar-faq__qt {
	flex: 1;
	min-width: 0;
}

.tbx-tar-faq__chev {
	margin-left: auto;
	width: 34px;
	height: 34px;
	background: var(--navy);
	color: #fff;
	transition: none;
}

.tbx-tar-faq__chev::before {
	content: "+";
	border: 0;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.tbx-tar-faq__q button[aria-expanded="true"] .tbx-tar-faq__chev {
	transform: none;
	background: #fff;
	color: var(--orange);
}

.tbx-tar-faq__q button[aria-expanded="true"] .tbx-tar-faq__chev::before {
	content: "–";
}

.tbx-tar-faq__a p {
	position: relative;
	max-width: none;
	padding: 0 22px 22px 72px;
	font-size: 16.5px;
}

.tbx-tar-faq__item:has(button[aria-expanded="true"]) {
	border-color: var(--orange);
	background: radial-gradient(120% 140% at 90% 0, #e8794a, #cb5223 55%, #9c3a14);
	box-shadow: 0 7px 0 rgba(120, 40, 10, .45);
}

.tbx-tar-faq__item:has(button[aria-expanded="true"])::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 2px, transparent 2.4px);
	background-size: 14px 14px;
	-webkit-mask: radial-gradient(70% 120% at 100% 0, #000, transparent 75%);
	mask: radial-gradient(70% 120% at 100% 0, #000, transparent 75%);
	pointer-events: none;
}

.tbx-tar .tbx-tar-faq__item:has(button[aria-expanded="true"]) .tbx-tar-faq__q button {
	color: #fff;
}

.tbx-tar-faq__item:has(button[aria-expanded="true"]) .tbx-tar-faq__n {
	border-color: #fff;
}

.tbx-tar-faq__item:has(button[aria-expanded="true"]) .tbx-tar-faq__a p {
	color: #fff;
}

.tbx-tar-faq__item:has(button[aria-expanded="true"]) .tbx-tar-faq__a a {
	color: #fff;
}

@media (max-width: 1023px) {
	.tbx-tar .tbx-tar-faq__q button,
	.tbx-tar .tbx-tar-faq__q button:hover,
	.tbx-tar .tbx-tar-faq__q button:focus {
		padding: 14px 14px;
		font-size: 16px;
	}

	.tbx-tar-faq__n {
		width: 36px;
		height: 36px;
		font-size: 18px;
	}

	.tbx-tar-faq__a p {
		padding: 0 16px 18px 16px;
	}
}

/* Téléphone : prix et pastille « Bientôt disponible » centrés dans les cartes (Elsa, 2026-11-09). */
@media (max-width: 767px) {
	.tbx-tar-card__price {
		justify-content: center;
	}

	.tbx-tar-card__amount.tbx-tar-card__amount--soon {
		margin-inline: auto;
	}
}

/* ---------------------------------------------------------------------------
 * Box Animation : bande commune + cartes « chiffre en vedette » (Elsa, 2026-11-13 ; maquette maquettes-tarifs/tarifs-animation-maquette.html)
 * ------------------------------------------------------------------------- */
.tbx-tar-common {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin: 0 0 40px;
	padding: 16px 22px;
	border-radius: 20px;
	background: var(--navy);
	color: #fff;
}

.tbx-tar-common__title {
	margin: 0;
	font-family: "Lilita One", var(--tbx-font, inherit);
	font-size: 19px;
	letter-spacing: .01em;
}

.tbx-tar-common__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-tar-common__list li {
	padding: 7px 14px;
	border: 1.5px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	font-size: 14px;
	font-weight: 600;
}

.tbx-tar-common__list li::before {
	content: "✓";
	margin-right: 7px;
	color: #ffd23f;
	font-weight: 800;
}

.tbx-tar-card--v2 {
	--mc: var(--gc, var(--fg, #cb5223)); /* couleur dominante : celle de la Box, ou du groupe (Entraînement) */
	--hi1: #0a5a8a;
	--hi2: var(--navy);
	--hi-sh: var(--orange);
	position: relative;
	align-items: center;
	gap: 0;
	padding: 30px 22px 22px;
	border-width: 2px;
	text-align: center;
}

.tbx-tar-card--v2.tbx-tar-card--hi {
	border-color: var(--hi2);
	background: linear-gradient(170deg, var(--hi1), var(--hi2));
	box-shadow: 0 26px 44px -24px rgba(0, 30, 50, .6), 6px 7px 0 var(--hi-sh);
}

.tbx-tar-card--v2.tbx-tar-card--red {
	border-color: #b92121;
	box-shadow: 5px 6px 0 #b92121;
}

.tbx-tar-card--v2.tbx-tar-card--option {
	background: #fbf6f1;
}

@media (min-width: 1025px) {
	.tbx-tar-card--v2.tbx-tar-card--hi {
		transform: translateY(-14px);
	}
}

/* Étiquettes à cheval sur le haut de la carte, façon BD. */
.tbx-tar-card__tag {
	position: absolute;
	top: -17px;
	left: 50%;
	padding: 7px 16px;
	border: 2.5px solid var(--navy);
	border-radius: 10px;
	background: #ffd23f;
	box-shadow: 3px 3px 0 var(--navy);
	color: var(--navy);
	font-family: "Lilita One", var(--tbx-font, inherit);
	font-size: 15px;
	letter-spacing: .02em;
	line-height: 1.2;
	white-space: nowrap;
	transform: translateX(-50%) rotate(-2deg);
}

.tbx-tar-card__tag--alt {
	border-color: #fff;
	background: #b92121;
	color: #fff;
}

.tbx-tar-card__pack {
	min-height: 22px;
	margin: 2px 0 0;
	color: var(--mc);
	font-family: "Lilita One", var(--tbx-font, inherit);
	font-size: 15px;
	letter-spacing: .14em;
	line-height: 22px;
	text-transform: uppercase;
}

.tbx-tar-card--hi .tbx-tar-card__pack { color: #ffd23f; }
.tbx-tar-card--red .tbx-tar-card__pack { color: #b92121; }

.tbx-tar-card--v2 .tbx-tar-card__name {
	margin: 0 0 10px;
	font-size: 25px;
}

.tbx-tar-card__medal {
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	margin: 4px auto 10px;
	border: 4px solid var(--navy);
	border-radius: 50%;
	background: var(--mc);
	box-shadow: 4px 5px 0 var(--navy);
	color: #fff;
	font-family: "Lilita One", var(--tbx-font, inherit);
	font-size: 60px;
	line-height: 1;
	transform: rotate(-5deg);
}

.tbx-tar-card--hi .tbx-tar-card__medal {
	width: 112px;
	height: 112px;
	border-color: #fff;
	background: #ffd23f;
	box-shadow: 4px 5px 0 var(--orange);
	color: var(--navy);
	font-size: 72px;
}

.tbx-tar-card--red .tbx-tar-card__medal { background: #b92121; }

.tbx-tar-card--option .tbx-tar-card__medal {
	border-style: dashed;
	background: #fff;
	box-shadow: none;
	color: var(--navy);
	font-size: 40px;
}

.tbx-tar-card__unit {
	margin: 2px 0 16px;
	color: var(--unit, var(--mc));
	text-transform: uppercase; /* « ANIMATION AU CHOIX » (Elsa, 2026-11-13) */
	letter-spacing: .02em;
	font-family: "Lilita One", var(--tbx-font, inherit);
	font-size: 21px;
	line-height: 1.15;
}

.tbx-tar-card--hi .tbx-tar-card__unit { color: #fff; }
.tbx-tar-card--red .tbx-tar-card__unit { color: #b92121; }
.tbx-tar-card--option .tbx-tar-card__unit { font-size: 17px; opacity: .75; }

.tbx-tar-card__tagline {
	min-height: 42px;
	margin: 0 0 16px;
	color: var(--c-sub);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.45;
}

.tbx-tar-card--v2 .tbx-tar-card__price {
	justify-content: center;
	margin: 6px 0 8px;
}

.tbx-tar-card__was {
	min-height: 18px;
	margin: 0 0 14px;
	color: var(--c-sub);
	font-size: 12.5px;
	text-decoration: line-through;
}

.tbx-tar-card__was:empty { visibility: hidden; }

.tbx-tar-card--v2 .tbx-tar-card__feats {
	margin: 0 0 14px;
	padding: 0;
	text-align: left;
	list-style: none;
}

.tbx-tar-card--v2 .tbx-tar-card__btn {
	width: 100%;
	margin-top: auto;
}

/* Téléphone : la bande commune en haut de la liste de la Box. */
.tbx-tar-m__band {
	margin-bottom: 12px;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--navy);
	color: #fff;
}

.tbx-tar-m__band .tbx-tar-m__group { color: #ffd23f; }
.tbx-tar-m__band .tbx-tar-m__feats li { color: #fff; }

/* Animation : mention en marine (validé) ; Communication, Entraînement, Organisation : couleur de la Box. */
#tbx-panel-animation { --unit: var(--navy); }

/* Carte mise en avant : couleur du groupe (Entraînement) ou de la Box (Organisation). */
.tbx-tar-group--jou .tbx-tar-card--v2,
.tbx-tar-group--ens .tbx-tar-card--v2 {
	--hi1: var(--gc-card);
	--hi2: var(--gc-card);
	--hi-sh: #ffd23f;
}

#tbx-panel-organisation .tbx-tar-card--v2 {
	--hi1: #12994f;
	--hi2: #0e7a40;
	--hi-sh: #ffd23f;
}

#tbx-panel-communication .tbx-tar-card--v2 {
	--hi1: #3a5f8e;
	--hi2: #2b4c74;
}

/* Grands nombres dans le médaillon (« 120 », « 20+ », « 1 à 6 »). */
.tbx-tar-card__medal.is-long {
	font-size: 36px;
	letter-spacing: -.02em;
}

.tbx-tar-card--hi .tbx-tar-card__medal.is-long {
	font-size: 44px;
}

.tbx-tar-card__from {
	margin-right: 4px;
	color: var(--c-sub);
	font-size: 15px;
	font-weight: 700;
}

.tbx-tar-card__was--plain {
	text-decoration: none;
	font-weight: 700;
}

.tbx-tar-card--v2 .tbx-tar-card__price-note {
	margin: -2px 0 8px;
	text-align: center;
}

.tbx-tar-card--v2 .tbx-tar-card__highlight,
.tbx-tar-card--v2 .tbx-tar-card__note {
	align-self: center;
	margin: 0 0 14px;
	text-align: center;
}

.tbx-tar-card--v2 .tbx-tar-card__feats,
.tbx-tar-card--v2 .tbx-tar-card__box,
.tbx-tar-card--v2 .tbx-tar-card__part {
	width: 100%;
	margin-bottom: 14px;
	text-align: left;
}

/* Entraînement : les cartes ne suivent plus la sous-grille des anciennes cartes. */
.tbx-tar-panel--split .tbx-tar-cards > .tbx-tar-card--v2 {
	display: flex;
	grid-template-rows: none;
}

/* « Bientôt disponible » en pastille jaune, texte marine (Elsa, 2026-11-13) : cartes et liste téléphone. */
html body .tbx-tar-card__amount.tbx-tar-card__amount--soon,
html body .tbx-tar-card--hi .tbx-tar-card__amount.tbx-tar-card__amount--soon {
	border-color: var(--navy);
	background: #ffd23f;
	color: var(--navy);
}

html body .tbx-tar-m__soon {
	background: #ffd23f;
	color: var(--navy);
}

/* ---------------------------------------------------------------------------
 * Onglets fixes (Elsa, 2026-11-13) : barre compacte en haut de l'écran pendant qu'on parcourt les formules ; ordinateur et tablette.
 * ------------------------------------------------------------------------- */
.tbx-tar-dock {
	position: fixed;
	z-index: 90;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 10px 16px;
	background: rgba(248, 235, 225, .94);
	box-shadow: 0 10px 26px -16px rgba(60, 20, 5, .5);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.tbx-tar-dock[hidden] {
	display: none;
}

body.admin-bar .tbx-tar-dock {
	top: 32px;
}

.tbx-tar-dock__btn {
	padding: 9px 20px;
	border: 2px solid var(--fg);
	border-radius: 999px;
	background: #fff;
	color: var(--fg);
	font: inherit;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition: background .15s, color .15s;
}

.tbx-tar-dock__btn:hover {
	background: var(--bg);
}

.tbx-tar-dock__btn[aria-pressed="true"] {
	background: var(--fg);
	color: #fff;
}

@media (max-width: 767px) {
	.tbx-tar-dock {
		display: none !important;
	}
}

/* La barre fixe garde sa taille malgré les styles globaux des boutons. */
html body .tbx-tar-dock .tbx-tar-dock__btn {
	padding: 8px 20px !important;
	font-family: inherit !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* ---------------------------------------------------------------------------
 * Haut de page Tarifs (Elsa, 2026-11-13) : onglets « dossier » et bandeau de la Box à leur taille d'origine ; seuls le titre
 * « Choisissez votre Box » et sa phrase sont retirés de l'écran (gardés pour Google et les lecteurs d'écran), avec un peu d'air
 * au-dessus des onglets. Ordinateur et tablette ; le téléphone garde sa liste.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
	html body .tbx-tar .tbx-tar-pick {
		gap: 0;
		padding-top: 48px;
	}

	html body .tbx-tar .tbx-tar-pick__title,
	html body .tbx-tar .tbx-tar-pick__text {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}

	html body .tbx-tar .tbx-tar-tabs {
		margin-top: 0;
	}

	html body .tbx-tar .tbx-tar-panel {
		padding-top: 32px;
	}

	html body .tbx-tar .tbx-tar-panel__title {
		font-size: 40px;
	}

	html body .tbx-tar .tbx-tar-common {
		margin-bottom: 30px;
		padding: 14px 22px;
	}
}

/* Réglages demandés par Elsa (2026-11-13) : titres plus petits, onglets plus aérés, pastilles de chiffres plus petites. */
@media (min-width: 768px) {
	html body .tbx-tar .tbx-tar-panel__title {
		font-size: 30px;
	}

	html body .tbx-tar .tbx-tar-tabs .tbx-tar-tab,
	html body .tbx-tar .tbx-tar-tabs .tbx-tar-tab:hover,
	html body .tbx-tar .tbx-tar-tabs .tbx-tar-tab:focus {
		padding-bottom: 22px;
	}
}

html body .tbx-tar-card__medal {
	width: 70px;
	height: 70px;
	margin: 2px auto 8px;
	border-width: 3px;
	box-shadow: 3px 4px 0 var(--navy);
	font-size: 44px;
}

html body .tbx-tar-card--hi .tbx-tar-card__medal {
	width: 82px;
	height: 82px;
	font-size: 52px;
	box-shadow: 3px 4px 0 var(--orange);
}

html body .tbx-tar-card__medal.is-long {
	font-size: 26px;
}

html body .tbx-tar-card--hi .tbx-tar-card__medal.is-long {
	font-size: 31px;
}

html body .tbx-tar-card--option .tbx-tar-card__medal {
	font-size: 30px;
}

html body .tbx-tar-card__unit {
	margin-bottom: 12px;
	font-size: 19px;
}

/* Bandeau des onglets : seule la phrase de la Box (le nom est déjà dans l'onglet) ; bandeau moins haut, titre plus proche (Elsa, 2026-11-13). */
@media (min-width: 768px) {
	html body .tbx-tar .tbx-tar-band {
		min-height: 0;
		padding: 18px 32px;
	}

	html body .tbx-tar .tbx-tar-band__txt span {
		margin-top: 0;
		font-size: 21px;
		font-weight: 700;
		line-height: 1.3;
		opacity: 1;
	}

	html body .tbx-tar .tbx-tar-bands {
		padding-bottom: 10px;
	}

	html body .tbx-tar .tbx-tar-panel {
		padding-top: 10px;
	}
}

/* Titre « Tarifs … » retiré de l'écran (gardé pour Google) ; phrase du bandeau stylisée façon BD (Elsa, 2026-11-13). */
@media (min-width: 768px) {
	html body .tbx-tar .tbx-tar-panel__title {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}

	html body .tbx-tar .tbx-tar-panel {
		padding-top: 16px;
	}

	html body .tbx-tar .tbx-tar-band__txt span {
		display: inline-block;
		font-family: "Lilita One", var(--tbx-font, inherit);
		font-size: 32px;
		font-weight: 400;
		letter-spacing: .02em;
		line-height: 1.15;
		text-shadow: 2px 3px 0 color-mix(in srgb, var(--fg) 50%, #000);
		transform: rotate(-1.5deg);
	}
}

/* Phrase du bandeau : droite et plus petite ; bande « Chaque animation comprend » sous les cartes (Elsa, 2026-11-13). */
@media (min-width: 768px) {
	html body .tbx-tar .tbx-tar-band__txt span {
		font-size: 24px;
		transform: none;
	}

	html body .tbx-tar .tbx-tar-common {
		margin: 22px 0 0;
	}
}


/* ---------------------------------------------------------------------------
 * Page Tarifs « moins agressive » (Elsa, 2026-11-16)
 * - haut de page en bleu Communication (inc/tarifs.php) ;
 * - toutes les cartes au même niveau (plus de carte surélevée), seules les étiquettes « Le meilleur choix »… restent ;
 * - phrase du bandeau des Box dans la police habituelle (Inter) au lieu de Lilita One ;
 * - Box Animation : la carte mise en avant (Saison réussie) passe en orange, dominante de la Box ;
 * - couleurs pleines des cartes adoucies d'un ton (mélange avec du blanc), ombres dures décalées remplacées par des ombres douces ;
 *   les bandeaux des onglets gardent leur couleur intense (Elsa, 2026-11-16).
 * ------------------------------------------------------------------------- */
html body .tbx-tar .tbx-tar-band__txt span {
	font-family: var(--tbx-font, Inter, system-ui, sans-serif) !important;
	font-weight: 800;
	letter-spacing: -.01em;
}

.tbx-tar .tbx-tar-card--hi,
.tbx-tar .tbx-tar-card--v2.tbx-tar-card--hi {
	transform: none !important;
}

#tbx-panel-animation .tbx-tar-card--v2 {
	--hi1: #cb5223;
	--hi2: #cb5223;
}

/* Cartes mises en avant : même dégradé que les bandeaux des onglets, en plus large (Elsa, 2026-11-16) — la couleur
   de la Box reste dominante, éclaircie en haut à droite et un peu plus profonde en bas, sans crème ni autre couleur. */
.tbx-tar .tbx-tar-card--v2.tbx-tar-card--hi {
	--hi-c: var(--hi2);
	border-color: var(--hi-c);
	background: radial-gradient(160% 130% at 85% 0, color-mix(in srgb, var(--hi-c) 80%, #fff), var(--hi-c) 60%, color-mix(in srgb, var(--hi-c) 85%, #000));
	box-shadow: 0 20px 38px -22px color-mix(in srgb, var(--hi-c) 65%, transparent);
}

.tbx-tar .tbx-tar-card--hi .tbx-tar-card__medal {
	box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}

.tbx-tar .tbx-tar-card--v2.tbx-tar-card--red {
	border-color: color-mix(in srgb, #b92121 80%, #fff);
	box-shadow: 0 16px 30px -20px rgba(185, 33, 33, .45);
}

.tbx-tar .tbx-tar-group--jou .tbx-tar-card--hi,
.tbx-tar .tbx-tar-group--ens .tbx-tar-card--hi {
	--hi-c: var(--gc-card);
	border-color: var(--hi-c);
	background: radial-gradient(160% 130% at 85% 0, color-mix(in srgb, var(--hi-c) 80%, #fff), var(--hi-c) 60%, color-mix(in srgb, var(--hi-c) 85%, #000));
	box-shadow: 0 20px 38px -22px color-mix(in srgb, var(--hi-c) 60%, transparent);
}

.tbx-tar-faq__item:has(button[aria-expanded="true"]) {
	background: linear-gradient(120deg, color-mix(in srgb, #cb5223 82%, #fff), color-mix(in srgb, #cb5223 92%, #fff));
	box-shadow: 0 14px 26px -16px rgba(120, 40, 10, .45);
}

/* Retouches du 16/11 (Elsa) :
 * - Saison réussie (carte orange) : bouton blanc pour le contraste ;
 * - Box Animation : « … ANIMATION(S) AU CHOIX » une taille au-dessus ;
 * - Box Entraînement : le doublon « Cours particuliers / Cours collectifs » au-dessus du nom est retiré (inc/tarifs.php). */
#tbx-panel-animation .tbx-tar-card--hi .tbx-tar-card__btn,
#tbx-panel-animation .tbx-tar-card--hi .tbx-tar-card__btn:hover {
	border-color: #fff;
	background: #fff;
	box-shadow: none;
	color: #cb5223 !important;
}

#tbx-panel-animation .tbx-tar-card--hi .tbx-tar-card__btn-dot {
	background: #cb5223;
	color: #fff;
}

#tbx-panel-animation .tbx-tar-card__unit {
	font-size: 24px;
}

#tbx-panel-animation .tbx-tar-card--option .tbx-tar-card__unit {
	font-size: 17px; /* « Personnalisable » (Affiche seule) garde sa taille */
}

/* Box Entraînement : noms sur deux lignes partout (Elsa, 2026-11-16). Les cartes à l'unité gardent leur nom
   (« Séance détaillée / à l'unité », « Programmation / complète ») ; dans les packs, le mot « Pack » passe dans le nom,
   en première ligne et en jaune, au lieu de la petite mention au-dessus : même hauteur de titre dans les quatre cartes. */
#tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__pack {
	display: none;
}

#tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__name {
	min-height: 2.3em;
}

#tbx-panel-entrainement .tbx-tar-card--hi .tbx-tar-card__name::before {
	content: "Pack";
	display: block;
	color: #ffd23f;
}

/* Box Entraînement : mentions sous le médaillon (« séance détaillée » / « heures d'entraînement ») sur la même hauteur
   de deux lignes, et ligne d'économie réservée, pour que prix, listes et boutons soient alignés (Elsa, 2026-11-16). */
@media (min-width: 1025px) {
	#tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__unit {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 2.3em;
	}

	/* Médaillons de même taille dans les deux cartes d'un groupe (sinon la carte mise en avant descend de 16 px). */
	#tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__medal {
		width: 104px;
		height: 104px;
	}
}

/* Packs Entraînement : ligne d'en-tête de la liste « Tout le contenu d'une séance à l'unité, et bien plus : » /
   « Les 4 programmations réunies : » (Elsa, 2026-11-16) — en gras, étoile jaune, pour montrer que le pack contient tout. */
.tbx-tar-card__feats li.tbx-tar-card__lead {
	font-weight: 800;
}

.tbx-tar-card__feats li.tbx-tar-card__lead .tbx-tar-card__tick {
	background: #ffd23f;
	color: var(--navy);
}

/* « Bientôt disponible » : même effet partout, la pastille qui palpite (halo qui s'élargit), comme sur les cartes de l'accueil et
   du catalogue. Ici les pastilles sont jaunes : le halo l'est aussi, et le point devient marine (Elsa, 2026-11-16). */
html body :is(.tbx-tar-card__amount--soon, .tbx-tar-m__soon, .tbx-tar-coming__badge) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	background: #ffd23f;
	color: var(--navy);
	animation: tbx-soon-pulse-gold 2s ease-out infinite;
}

html body :is(.tbx-tar-card__amount--soon, .tbx-tar-m__soon, .tbx-tar-coming__badge)::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--navy);
}

@keyframes tbx-soon-pulse-gold {
	0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .75); transform: scale(1); }
	45% { transform: scale(1.04); }
	70% { box-shadow: 0 0 0 12px rgba(255, 210, 63, 0); transform: scale(1); }
	100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); }
}

@media (prefers-reduced-motion: reduce) {
	html body :is(.tbx-tar-card__amount--soon, .tbx-tar-m__soon, .tbx-tar-coming__badge) {
		animation: none;
	}
}


/* Retouches du 17/11 (Elsa) :
 * - Communication : plus de mention « Création personnalisée / Création / amélioration / Identité + éditions » au-dessus des noms ;
 * - tous les médaillons à la taille de celui de « Prêt à animer » (70 px), mise en avant comprise ;
 * - toutes les mentions sous le médaillon à la taille de « Animation au choix » (24 px) ; « Personnalisable » garde 17 px ;
 * - Organisation : Passage de niveau sans médaillon (template-parts/tarifs/card-v2.php, qty vide). */
#tbx-panel-communication .tbx-tar-card--v2 .tbx-tar-card__pack {
	display: none;
}

html body .tbx-tar .tbx-tar-card--v2 .tbx-tar-card__medal,
html body .tbx-tar .tbx-tar-card--v2.tbx-tar-card--hi .tbx-tar-card__medal,
html body .tbx-tar #tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__medal {
	width: 70px;
	height: 70px;
	font-size: 44px;
}

html body .tbx-tar .tbx-tar-card--v2 .tbx-tar-card__medal.is-long,
html body .tbx-tar .tbx-tar-card--v2.tbx-tar-card--hi .tbx-tar-card__medal.is-long {
	font-size: 26px;
}

html body .tbx-tar .tbx-tar-card--v2 .tbx-tar-card__unit {
	font-size: 24px;
}

html body .tbx-tar .tbx-tar-card--v2.tbx-tar-card--option .tbx-tar-card__unit {
	font-size: 17px;
}

/* 17/11 (Elsa) : Box Entraînement, médaillons un peu plus larges (« 20+ » et « 120 » étaient serrés)
 * et quatre cartes de la même hauteur (la grille de cartes remplit chaque groupe). */
html body .tbx-tar #tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__medal,
html body .tbx-tar #tbx-panel-entrainement .tbx-tar-card--v2.tbx-tar-card--hi .tbx-tar-card__medal {
	width: 86px;
	height: 86px;
	font-size: 48px;
}

html body .tbx-tar #tbx-panel-entrainement .tbx-tar-card--v2 .tbx-tar-card__medal.is-long,
html body .tbx-tar #tbx-panel-entrainement .tbx-tar-card--v2.tbx-tar-card--hi .tbx-tar-card__medal.is-long {
	font-size: 32px;
}

@media (min-width: 1025px) {
	#tbx-panel-entrainement .tbx-tar-block {
		align-items: stretch;
	}

	#tbx-panel-entrainement .tbx-tar-group > .tbx-tar-cards {
		flex: 1;
	}
}

/* 17/11 (Elsa) : formules sans titre (Constitution des groupes) : pas de filet au-dessus de la première. */
.tbx-tar-card__box--editions > .tbx-tar-card__edition:first-child {
	border-top: 0;
}

/* Téléphone, Box Animation : bloc « Chaque animation comprend » retravaillé (Elsa, 2026-11-17) : titre lisible (plus de
 * bandeau crème sous du jaune), éléments en pastilles centrées comme sur ordinateur, marges autour du bloc. */
@media (max-width: 767px) {
	.tbx-tar-m__band {
		margin: 12px 12px 14px;
		padding: 16px 14px 18px;
		border-radius: 18px;
		background: var(--navy);
		text-align: center;
	}

	.tbx-tar-m__band .tbx-tar-m__group {
		margin: 0 0 12px;
		padding: 0;
		background: none;
		color: #ffd23f;
		font-size: 13px;
		letter-spacing: .08em;
	}

	.tbx-tar-m__band .tbx-tar-m__feats {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}

	.tbx-tar-m__band .tbx-tar-m__feats li {
		padding: 6px 12px;
		border: 1.5px solid rgba(255, 255, 255, .35);
		border-radius: 999px;
		background: rgba(255, 255, 255, .14);
		color: #fff;
		font-size: 13px;
		font-weight: 600;
		line-height: 1.3;
	}

	.tbx-tar-m__band .tbx-tar-m__feats li::before {
		content: "✓ ";
		color: #ffd23f;
	}
}

/* Téléphone : la page Tarifs ne défilait pas sur iPhone (Elsa, 2026-11-17). La règle héritée de legacy-customizer.css
 * (#main… { overflow-x: hidden !important }) faisait du contenu principal une zone défilante à part, qui captait le
 * geste. « clip » coupe ce qui dépasse sans créer de zone défilante. */
html body #content.tbx-tar,
html body #main.tbx-tar {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

/* Tarifs sur téléphone : chaque groupe prend sa couleur, comme sur ordinateur (Elsa, 2026-11-18) — Entraînement :
 * offre Enseignants en orange. Les lignes, coches et fonds du groupe suivent --fg / --bg. */
@media (max-width: 767px) {
	.tbx-tar-m__grp--ens {
		--fg: #cb5223;
		--bg: #fbeee6;
	}

	.tbx-tar-m__grp--ens .tbx-tar-m__badge {
		background: #cb5223;
	}
}

/* Tarifs sur téléphone : détail d'une formule en « carte résumée » (variante A, Elsa 2026-11-18 ; maquette
 * refonte/maquettes/tarifs-detail-mobile-2026-11-18/). Carte blanche dans la couleur de la Box (--fg) : médaillon
 * (quantité), délai et prix en haut, phrase d'accroche, points courts à pastille jaune ★ (feats_m, inc/tarifs.php),
 * puis abonnement / éditions / note et le bouton. */
@media (max-width: 767px) {
	.tbx-tar-m .tbx-tar-m__more {
		padding: 2px 12px 14px;
	}

	.tbx-tar-m__card {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 14px;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 8px 20px -14px rgba(0, 40, 70, .5);
	}

	.tbx-tar-m__ctop {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.tbx-tar-m__med {
		display: flex;
		flex: none;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 64px;
		height: 64px;
		padding: 0 4px;
		border-radius: 50%;
		background: var(--fg);
		color: #fff;
		text-align: center;
	}

	.tbx-tar-m__med b {
		font-size: 21px;
		font-weight: 900;
		line-height: 1;
	}

	.tbx-tar-m__med small {
		margin-top: 2px;
		font-size: 7.5px;
		font-weight: 800;
		letter-spacing: .02em;
		line-height: 1.1;
		text-transform: uppercase;
	}

	.tbx-tar-m__cinfo {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		min-width: 0;
	}

	.tbx-tar-m__cinfo .tbx-tar-card__highlight {
		margin: 0;
	}

	.tbx-tar-m__big {
		color: var(--fg);
		font-size: 24px;
		font-weight: 900;
		letter-spacing: -.03em;
		line-height: 1.05;
	}

	.tbx-tar-m__big small {
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0;
	}

	.tbx-tar-m__big em {
		display: block;
		margin-top: 2px;
		color: #b92121;
		font-size: 12px;
		font-style: normal;
		font-weight: 700;
		letter-spacing: 0;
	}

	.tbx-tar-m__tagline {
		margin: 0;
		color: var(--ink-2, #3e5063);
		font-size: 13.5px;
		line-height: 1.4;
	}

	.tbx-tar-m__gtitle {
		margin: 2px 0 -4px;
		color: var(--fg);
		font-size: 11.5px;
		font-weight: 800;
		letter-spacing: .06em;
		text-transform: uppercase;
	}

	.tbx-tar-m__card .tbx-tar-m__feats {
		gap: 7px;
		color: var(--ink, #0f2a3d);
		font-size: 13.5px;
		font-weight: 600;
		line-height: 1.3;
	}

	.tbx-tar-m__card .tbx-tar-m__feats li {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.tbx-tar-m__card .tbx-tar-m__feats li::before {
		content: "★";
		display: grid;
		flex: none;
		place-items: center;
		width: 20px;
		height: 20px;
		border-radius: 50%;
		background: #ffd23f;
		color: var(--navy, #004b76);
		font-size: 11px;
		font-weight: 900;
	}

	.tbx-tar-m__card .tbx-tar-m__feats li.tbx-tar-m__lead::before {
		content: "✓";
		background: var(--fg);
		color: #fff;
	}

	.tbx-tar-m__card .tbx-tar-m__eds {
		background: var(--bg);
	}
}

/* Tarifs sur téléphone (Elsa, 2026-11-18) :
 * - médaillon : un mot long (« propositions », « d'entraînement »…) passe en plus petit ;
 * - Box Animation : le nombre d'animations ressort dans le descriptif de la carte (en tête, en grand) et le
 *   médaillon est plus grand. */
@media (max-width: 767px) {
	/* Médaillon un peu plus grand quand le libellé est long : « d'entraînement » touchait encore le bord du rond. */
	.tbx-tar-m__med--long {
		width: 76px;
		height: 76px;
	}

	.tbx-tar-m__med--long small {
		font-size: 6.6px;
		letter-spacing: 0;
	}

	.tbx-tar-m__med--anim {
		width: 72px;
		height: 72px;
	}

	.tbx-tar-m__med--anim b {
		font-size: 30px;
	}

	/* Nombre d'animations en tête du descriptif de la carte (pas de pastille : Elsa, 2026-11-18). */
	.tbx-tar-m__tagline .tbx-tar-m__nb {
		display: block;
		margin-bottom: 4px;
		color: var(--fg);
		font-size: 17px;
		font-weight: 900;
		letter-spacing: -.01em;
	}

	.tbx-tar-m__nb b {
		font-size: 26px;
		font-weight: 900;
		line-height: 1;
	}
}

/* Ordinateur (Elsa, 2026-11-19) : Box Animation, les 4 cartes (3 packs + Affiche seule) côte à côte sur une ligne.
 * Entre 768 et 1279 px, la grille reste en 2 × 2 (cartes trop étroites sinon). */
@media (min-width: 1280px) {
	#tbx-panel-animation .tbx-tar-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}
}

/* Téléphone (Elsa, 2026-11-19) : packs Animation, le nombre n'est plus répété dans le descriptif ; le chiffre du
 * cercle est mis en valeur (rond plus grand, chiffre en Lilita jaune, anneau clair). */
@media (max-width: 767px) {
	.tbx-tar-m__med--anim {
		width: 88px;
		height: 88px;
		box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--fg), 0 6px 16px color-mix(in srgb, var(--fg) 35%, transparent);
	}

	.tbx-tar-m__med--anim b {
		color: #ffd23f;
		font-family: 'Lilita One', 'Inter', sans-serif;
		font-size: 44px;
		font-weight: 400;
		line-height: .9;
		text-shadow: 0 2px 0 rgba(0, 0, 0, .18);
	}

	.tbx-tar-m__med--anim small {
		font-size: 7.5px;
	}
}

/* Téléphone (Elsa, 2026-11-19) : le texte des cercles (« animations au choix », « propositions », « heures
 * d'entraînement »…) sort du rond et passe dessous, plus grand et lisible. Le rond ne garde que le chiffre. */
@media (max-width: 767px) {
	.tbx-tar-m__ctop {
		align-items: center;
		gap: 16px;
	}

	.tbx-tar-m__medw {
		display: flex;
		flex: none;
		flex-direction: column;
		align-items: center;
		gap: 7px;
		min-width: 104px; /* « d'entraînement », « Personnalisable » : plus large, sans déborder */
		text-align: center;
	}

	.tbx-tar-m__med.tbx-tar-m__med--out {
		width: 60px;
		height: 60px;
		padding: 0;
	}

	.tbx-tar-m__med.tbx-tar-m__med--out b {
		font-size: 26px;
		line-height: 1;
	}

	.tbx-tar-m__med.tbx-tar-m__med--out.tbx-tar-m__med--anim {
		width: 72px;
		height: 72px;
	}

	.tbx-tar-m__med.tbx-tar-m__med--out.tbx-tar-m__med--anim b {
		font-size: 42px;
	}

	.tbx-tar-m__medl {
		color: var(--fg);
		font-size: 12.5px;
		font-weight: 800;
		letter-spacing: .01em;
		line-height: 1.2;
		text-transform: uppercase;
	}
}
