/*
 * Sections du nouveau design, construites dans Elementor avec des widgets natifs
 * (Titre, Éditeur de texte, Image, Bouton) et une « Classe CSS » (onglet Avancé).
 *
 * Elsa modifie textes, liens et images dans Elementor ; la mise en forme vient d'ici.
 * Ne pas régler couleurs, marges ou typo dans Elementor sur ces blocs : ce fichier fait foi.
 *
 * Les sélecteurs commencent par « .elementor » pour passer devant les styles par défaut
 * d'Elementor (conteneurs .e-con, titres, boutons) et du kit.
 *
 * Lot 1 : .tbx-hero (héros d'accueil) et .tbx-boxes (« À chacun sa Tennis Box »).
 */

/* ---------- Commun ---------- */

.elementor .e-con.tbx-sec {
	--tbx-pad: max(clamp(20px, 5.5vw, 80px), calc((100% - 1280px) / 2));
	--tbx-ink-2: #3e5063;
	--tbx-mute-2: #5a6b7c;
	font-family: var(--tbx-font);
	padding-left: var(--tbx-pad);
	padding-right: var(--tbx-pad);
	gap: 0;
	-webkit-font-smoothing: antialiased;
}

.elementor .tbx-sec .elementor-widget {
	margin: 0;
}

.elementor .tbx-sec .e-con {
	padding: 0;
	gap: 0;
	width: auto;
	min-width: 0;
}

.elementor .tbx-sec p:last-child {
	margin-bottom: 0;
}

/* Mot en orange dans un titre : le mettre entre <span> et </span>. */
.elementor .tbx-sec .tbx-h2 .elementor-heading-title {
	margin: 0;
	font-family: var(--tbx-font);
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1;
	color: var(--tbx-navy);
}

.elementor .tbx-sec .tbx-h2 .elementor-heading-title span {
	color: var(--tbx-orange);
}

/* Boutons */
.elementor .tbx-sec .tbx-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-family: var(--tbx-font);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	transition: transform .2s, border-color .2s, box-shadow .2s;
}

.elementor .tbx-sec .tbx-btn .elementor-button-content-wrapper {
	display: flex;
	align-items: center;
	gap: 14px;
}

.elementor .tbx-sec .tbx-btn--primary .elementor-button {
	padding: 8px 8px 8px 26px;
	background: var(--tbx-orange);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(203, 82, 35, .7);
}

.elementor .tbx-sec .tbx-btn--primary .elementor-button-content-wrapper::after {
	content: "→";
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--tbx-orange);
	font-size: 18px;
}

.elementor .tbx-sec .tbx-btn--primary .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--primary .elementor-button:focus-visible {
	transform: translateY(-2px);
	background: var(--tbx-orange);
	color: #fff;
}

.elementor .tbx-sec .tbx-btn--ghost .elementor-button {
	height: 60px;
	padding: 0 26px;
	border: 2px solid #d8ccc0;
	background: transparent;
	color: var(--tbx-navy);
}

.elementor .tbx-sec .tbx-btn--ghost .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--ghost .elementor-button:focus-visible {
	border-color: var(--tbx-navy);
	background: transparent;
	color: var(--tbx-navy);
}

/* ---------- Héros ---------- */

.elementor .e-con.tbx-hero {
	display: grid;
	grid-template-columns: minmax(0, 600fr) minmax(0, 616fr);
	align-items: center;
	gap: 64px;
	padding-top: 40px;
	padding-bottom: 64px;
	background: #fff;
}

.elementor .tbx-sec .e-con.tbx-hero__content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
}

/* Pastille « Votre saison commence ici ! » */
.elementor .tbx-sec .elementor-widget.tbx-pill {
	align-self: flex-start;
	width: auto;
}

.elementor .tbx-sec .tbx-pill .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px 8px 10px;
	border-radius: 999px;
	background: var(--tbx-cream);
	color: #b8461c;
	font-family: var(--tbx-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.elementor .tbx-sec .tbx-pill .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #e4c92e;
	box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .12);
}

/* Titre : « Et si le <span>TENNIS</span> devenait plus simple ? » */
.elementor .tbx-sec .tbx-hero__title .elementor-heading-title {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: clamp(36px, 3.5vw, 50px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.02;
	max-width: 560px;
}

.elementor .tbx-sec .tbx-hero__title .elementor-heading-title span {
	margin: 6px 0 10px -.05em;
	color: var(--tbx-orange);
	font-size: clamp(80px, 8.6vw, 124px);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .86;
}

.elementor .tbx-sec .tbx-hero__title .elementor-heading-title::after {
	content: "";
	width: 72px;
	height: 6px;
	margin-top: 18px;
	border-radius: 3px;
	background: var(--tbx-orange);
}

.elementor .tbx-sec .tbx-hero__lead {
	max-width: 560px;
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 18px;
	line-height: 1.55;
	text-wrap: pretty;
}

.elementor .tbx-sec .tbx-hero__lead p {
	margin: 0;
}

.elementor .tbx-sec .e-con.tbx-hero__ctas {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.elementor .tbx-sec .tbx-hero__ctas .elementor-widget.elementor-widget {
	width: auto;
}

/* « Clubs · Enseignants · Joueurs » précédé des 3 badges (image du thème). */
.elementor .tbx-sec .tbx-hero__proof {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 6px 0 0 134px;
	background: url(../img/avatars-3.png) left bottom / auto 48px no-repeat;
	color: var(--tbx-mute-2);
	font-family: var(--tbx-font);
	font-size: 14px;
	line-height: 1.35;
}

.elementor .tbx-sec .tbx-hero__proof p {
	margin: 0;
}

.elementor .tbx-sec .tbx-hero__proof strong {
	color: var(--tbx-navy);
	font-size: 15px;
	font-weight: 800;
}

/* Visuel : terrain dessiné en CSS + photo par-dessus. */
.elementor .tbx-sec .e-con.tbx-hero__visual {
	position: relative;
	display: block;
	aspect-ratio: 616 / 540;
}

.elementor .tbx-sec .e-con.tbx-court {
	--i: 34px;   /* retrait des lignes */
	--s: 3px;    /* épaisseur des lignes */
	--net: 5px;
	--line: linear-gradient(#fff, #fff);
	--dark: linear-gradient(#2a2a2a, #2a2a2a);
	--post: radial-gradient(circle, #2a2a2a 4.5px, transparent 5px);
	position: absolute;
	inset: 60px 0 0 60px;
	width: auto;
	border-radius: 32px;
	overflow: hidden;
	background:
		var(--post) center top calc(var(--i) - 18px) / 10px 10px no-repeat,
		var(--post) center bottom calc(var(--i) - 18px) / 10px 10px no-repeat,
		var(--dark) center top calc(var(--i) - 14px) / var(--net) calc(100% - 2 * var(--i) + 28px) no-repeat,
		linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) center top calc(var(--i) - 15px) / calc(var(--net) + 2px) calc(100% - 2 * var(--i) + 30px) no-repeat,
		/* cadre */
		var(--line) left var(--i) top var(--i) / calc(100% - 2 * var(--i)) var(--s) no-repeat,
		var(--line) left var(--i) bottom var(--i) / calc(100% - 2 * var(--i)) var(--s) no-repeat,
		var(--line) left var(--i) top var(--i) / var(--s) calc(100% - 2 * var(--i)) no-repeat,
		var(--line) right var(--i) top var(--i) / var(--s) calc(100% - 2 * var(--i)) no-repeat,
		/* couloirs */
		var(--line) left var(--i) top calc(12.5% + var(--i) * .75 + var(--s) * .125) / calc(100% - 2 * var(--i)) var(--s) no-repeat,
		var(--line) left var(--i) top calc(87.5% - var(--i) * .75 - var(--s) * .125) / calc(100% - 2 * var(--i)) var(--s) no-repeat,
		/* lignes de service + ligne médiane */
		var(--line) left calc(23.1% + var(--i) * .538 + var(--s) * .231) center / var(--s) calc(75% - 1.5 * var(--i)) no-repeat,
		var(--line) left calc(76.9% - var(--i) * .538 - var(--s) * .231) center / var(--s) calc(75% - 1.5 * var(--i)) no-repeat,
		var(--line) center / calc(53.8% - 1.076 * var(--i)) var(--s) no-repeat,
		/* marques centrales */
		var(--line) left calc(var(--i) + var(--s)) center / 10px var(--s) no-repeat,
		var(--line) right calc(var(--i) + var(--s)) center / 10px var(--s) no-repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px),
		#c9622f;
}

.elementor .tbx-sec .elementor-widget.tbx-hero__photo {
	position: absolute;
	inset: 0 17.86% 20.37% 0;
	width: auto;
	border-radius: 30px;
	overflow: hidden;
	background: #1e5a8c;
	box-shadow: 0 30px 60px -30px rgba(60, 20, 5, .55);
}

.elementor .tbx-sec .tbx-hero__photo .elementor-widget-container,
.elementor .tbx-sec .tbx-hero__photo a {
	display: block;
	height: 100%;
}

.elementor .tbx-sec .tbx-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: 0;
}

/* ---------- À chacun sa Tennis Box ---------- */

.elementor .e-con.tbx-boxes {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 56px;
	padding-bottom: 64px;
	background: var(--tbx-cream);
}

.elementor .tbx-sec .e-con.tbx-boxes__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: end;
	gap: 48px;
}

.elementor .tbx-sec .e-con.tbx-boxes__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.elementor .tbx-sec .tbx-boxes__intro .tbx-h2 .elementor-heading-title {
	white-space: nowrap;
}

.elementor .tbx-sec .tbx-boxes__sub {
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.elementor .tbx-sec .tbx-boxes__sub p {
	margin: 0;
}

/* Sélecteur « Vous êtes : » */
.elementor .tbx-sec .e-con.tbx-picker {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.elementor .tbx-sec .e-con.tbx-picker__top {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.elementor .tbx-sec .tbx-picker__top .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-picker__label .elementor-heading-title {
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

/* Lien « Tout afficher » (ajouté par sections.js) : neutralise le style des boutons du kit Elementor. */
.elementor .tbx-sec .tbx-picker__reset,
.elementor .tbx-sec .tbx-picker__reset:hover,
.elementor .tbx-sec .tbx-picker__reset:focus {
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--tbx-orange);
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.elementor .tbx-sec .tbx-picker__reset:hover {
	color: var(--tbx-orange-dark);
}

.elementor .tbx-sec .tbx-picker__reset[hidden] {
	display: none;
}

.elementor .tbx-sec .e-con.tbx-picker__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.elementor .tbx-sec .e-con.tbx-pick {
	--pick: var(--tbx-navy);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-height: 76px;
	padding: 10px 40px 10px 74px;
	border: 2px solid transparent;
	border-radius: 18px;
	background: #fff url(../img/m-club.png) left 10px center / 52px 52px no-repeat;
	cursor: pointer;
	transition: border-color .2s, transform .2s;
}

.elementor .tbx-sec .e-con.tbx-pick--ens {
	--pick: var(--tbx-orange);
	background-image: url(../img/m-ens.png);
}

.elementor .tbx-sec .e-con.tbx-pick--jou {
	--pick: var(--tbx-red);
	background-image: url(../img/m-joueurs.png);
}

.elementor .tbx-sec .e-con.tbx-pick:hover {
	transform: translateY(-3px);
}

.elementor .tbx-sec .e-con.tbx-pick:focus-visible {
	outline: 3px solid var(--pick);
	outline-offset: 2px;
}

.elementor .tbx-sec .e-con.tbx-pick.is-active {
	border-color: var(--pick);
}

.elementor .tbx-sec .tbx-pick .elementor-widget {
	position: static;
}

.elementor .tbx-sec .tbx-pick__title .elementor-heading-title {
	margin: 0;
	color: var(--pick);
	font-family: var(--tbx-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-pick.is-active .tbx-pick__title .elementor-heading-title::after {
	content: "✓";
	position: absolute;
	top: 50%;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	border-radius: 50%;
	background: var(--pick);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.elementor .tbx-sec .tbx-pick__sub .elementor-heading-title {
	margin: 0;
	color: var(--tbx-mute-2);
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

/* Les 4 cartes Box */
.elementor .tbx-sec .e-con.tbx-boxes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.elementor .tbx-sec .e-con.tbx-boxcard {
	--card: #cb5223;
	--g1: #e8794a;
	--g3: #9c3a14;
	--card-arrow: #d74912;
	--card-avatars: url(../img/avatars-club-ens.png);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 68px 20px 0;
	border-radius: 26px;
	overflow: hidden;
	background: var(--card-avatars) left 20px top 20px / auto 38px no-repeat, var(--card);
	color: #fff;
	text-decoration: none;
	transition: opacity .35s, transform .3s, box-shadow .3s;
}

.elementor .tbx-sec .e-con.tbx-boxcard--communication {
	--card: #2b4c74;
	--g1: initial;
	--g3: initial;
	--card-arrow: #00386e;
	--card-avatars: url(../img/avatars-club.png);
}

.elementor .tbx-sec .e-con.tbx-boxcard--entrainement {
	--card: #9e2626;
	--g1: initial;
	--g3: initial;
	--card-arrow: #ac0b0e;
	--card-avatars: url(../img/avatars-ens-jou.png);
}

.elementor .tbx-sec .e-con.tbx-boxcard--organisation {
	--card: #0e7a40;
	--g1: initial;
	--g3: initial;
	--card-arrow: #02632c;
	--card-avatars: url(../img/avatars-club-ens.png);
}

.elementor .tbx-sec .e-con.tbx-boxcard:hover,
.elementor .tbx-sec .e-con.tbx-boxcard:focus-visible {
	transform: translateY(-6px);
	box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .45);
	color: #fff;
}

.elementor .tbx-sec .e-con.tbx-boxcard.is-dim {
	opacity: .22;
}

.elementor .tbx-sec .tbx-boxcard .elementor-widget {
	position: static;
}

.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: var(--tbx-font);
	font-size: clamp(18px, 1.7vw, 24px); /* « Box Communication » tient sur une ligne dès 1025 px */
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1;
}

/* Flèche ronde en haut à droite de la carte. */
.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title::after {
	content: "→";
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: var(--card-arrow);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0;
}

.elementor .tbx-sec .tbx-boxcard__text {
	min-height: 3.6em;
	color: rgba(255, 255, 255, .94);
	font-family: var(--tbx-font);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
}

.elementor .tbx-sec .tbx-boxcard__text p {
	margin: 0;
}

.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
	align-self: center;
	width: 76%;
	margin-top: auto;
	padding-top: 6px;
}

.elementor .tbx-sec .tbx-boxcard__img img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/* ---------- Tablette ---------- */

@media (max-width: 1200px) {
	.elementor .tbx-sec .e-con.tbx-boxes__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 1024px) {
	.elementor .e-con.tbx-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.elementor .tbx-sec .e-con.tbx-hero__visual {
		width: 100%;
		max-width: 620px;
	}

	.elementor .tbx-sec .e-con.tbx-boxes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
		font-size: 24px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.elementor .e-con.tbx-hero {
		gap: 36px;
		padding: 36px 20px 56px;
	}

	.elementor .tbx-sec .e-con.tbx-hero__content {
		gap: 22px;
	}

	.elementor .tbx-sec .tbx-pill .elementor-heading-title {
		gap: 8px;
		padding: 7px 14px 7px 8px;
		font-size: 13.5px;
	}

	.elementor .tbx-sec .tbx-pill .elementor-heading-title::before {
		width: 12px;
		height: 12px;
	}

	.elementor .tbx-sec .tbx-hero__title .elementor-heading-title {
		font-size: 34px;
		line-height: 1.05;
	}

	.elementor .tbx-sec .tbx-hero__title .elementor-heading-title span {
		margin: 4px 0 6px -.03em;
		font-size: min(92px, 25vw);
		line-height: .88;
	}

	.elementor .tbx-sec .tbx-hero__title .elementor-heading-title::after {
		width: 56px;
		height: 5px;
		margin-top: 22px;
	}

	.elementor .tbx-sec .tbx-hero__lead {
		font-size: 17px;
	}

	.elementor .tbx-sec .e-con.tbx-hero__ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.elementor .tbx-sec .tbx-hero__ctas .elementor-widget.elementor-widget,
	.elementor .tbx-sec .tbx-btn .elementor-button {
		width: 100%;
	}

	.elementor .tbx-sec .tbx-btn .elementor-button {
		font-size: 16px;
	}

	.elementor .tbx-sec .tbx-btn--primary .elementor-button {
		padding: 6px 6px 6px 22px;
	}

	.elementor .tbx-sec .tbx-btn--primary .elementor-button-content-wrapper {
		justify-content: space-between;
		width: 100%;
	}

	.elementor .tbx-sec .tbx-btn--ghost .elementor-button {
		justify-content: center;
		height: 56px;
	}

	.elementor .tbx-sec .tbx-hero__proof {
		min-height: 42px;
		padding: 0 0 0 112px;
		background-position: left center;
		background-size: auto 42px;
		font-size: 13px;
	}

	.elementor .tbx-sec .tbx-hero__proof strong {
		font-size: 14px;
	}

	.elementor .tbx-sec .e-con.tbx-hero__visual {
		aspect-ratio: auto;
		height: 420px;
		margin-top: -22px;
	}

	.elementor .tbx-sec .e-con.tbx-court {
		--i: 18px;
		--s: 2px;
		--net: 4px;
		inset: 30px 0 0 30px;
		border-radius: 24px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-hero__photo {
		inset: 0 52px 52px 0;
		border-radius: 22px;
		box-shadow: 0 20px 40px -20px rgba(60, 20, 5, .55);
	}

	.elementor .e-con.tbx-boxes {
		gap: 22px;
		padding: 56px 16px;
	}

	.elementor .tbx-sec .e-con.tbx-boxes__head {
		gap: 22px;
	}

	.elementor .tbx-sec .e-con.tbx-boxes__intro {
		gap: 10px;
		padding: 0 4px;
	}

	.elementor .tbx-sec .tbx-boxes__intro .tbx-h2 .elementor-heading-title {
		font-size: 38px;
		white-space: normal;
	}

	.elementor .tbx-sec .tbx-boxes__sub {
		font-size: 16px;
	}

	.elementor .tbx-sec .e-con.tbx-picker {
		gap: 22px;
	}

	.elementor .tbx-sec .e-con.tbx-picker__top {
		padding: 0 4px;
	}

	.elementor .tbx-sec .tbx-picker__label .elementor-heading-title {
		font-size: 15px;
	}

	.elementor .tbx-sec .tbx-picker__reset {
		font-size: 13px;
	}

	.tbx-picker__reset-label {
		display: none;
	}

	.elementor .tbx-sec .e-con.tbx-picker__list {
		gap: 8px;
	}

	.elementor .tbx-sec .e-con.tbx-pick {
		align-items: center;
		justify-content: flex-start;
		min-height: 0;
		padding: 76px 6px 12px;
		background-position: center 12px;
		background-size: 56px 56px;
		text-align: center;
	}

	.elementor .tbx-sec .tbx-pick__title .elementor-heading-title {
		font-size: 14px;
	}

	.elementor .tbx-sec .tbx-pick.is-active .tbx-pick__title .elementor-heading-title::after {
		top: 8px;
		right: 8px;
		width: 22px;
		height: 22px;
		margin-top: 0;
		font-size: 12px;
	}

	.elementor .tbx-sec .tbx-pick__sub {
		display: none;
	}

	.elementor .tbx-sec .e-con.tbx-boxes__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-top: 6px;
	}

	.elementor .tbx-sec .e-con.tbx-boxcard {
		gap: 12px;
		padding: 80px 22px 0;
		background-position: right 22px top 24px, 0 0;
		background-size: auto 44px, auto;
	}

	.elementor .tbx-sec .tbx-boxcard .elementor-widget.tbx-boxcard__title {
		position: relative;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
		padding-right: 56px;
		font-size: 32px;
		letter-spacing: -.045em;
		white-space: normal;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title::after {
		top: 50%;
		right: 0;
		width: 44px;
		height: 44px;
		margin-top: -22px;
		font-size: 18px;
		font-weight: 700;
	}

	.elementor .tbx-sec .tbx-boxcard__text {
		min-height: 0;
		font-size: 15.5px;
		line-height: 1.45;
	}

	.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
		width: 78%;
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor .tbx-sec .e-con.tbx-boxcard,
	.elementor .tbx-sec .e-con.tbx-pick,
	.elementor .tbx-sec .tbx-btn .elementor-button {
		transition: none;
	}
}

/* =====================================================================
 * Lot 2 : « Pourquoi choisir » (.tbx-why) et les 4 blocs Box :
 *   bandeau coloré (.tbx-band--{box}) + zone claire (.tbx-zone--{box})
 *   avec encart « Ce que contient » (.tbx-panel), produits ([tb_produits]),
 *   formules (.tbx-plan), frise et pack (Organisation).
 * ===================================================================== */

.elementor .e-con.tbx-sec.tbx-band--animation,
.elementor .e-con.tbx-sec.tbx-zone--animation {
	--c: #cb5223;   /* couleur de la Box (orange vif, plus d'orange foncé : Elsa, 2026-11-09) */
	--c2: #cb5223;  /* accent */
	--tint: #fbeee6;
	--soft: #ffe1a6;
	--line: #eedccd;
	--badge-bg: var(--tbx-navy);
	--badge-fg: #fff;
}

.elementor .e-con.tbx-sec.tbx-band--communication,
.elementor .e-con.tbx-sec.tbx-zone--communication {
	--c: #2b4c74;
	--c2: #2f6db5;
	--tint: #eaf0f7;
	--soft: #cfe0f5;
	--line: #d5e1ee;
	--badge-bg: #cfe0f5;
	--badge-fg: #2b4c74;
}

.elementor .e-con.tbx-sec.tbx-band--entrainement,
.elementor .e-con.tbx-sec.tbx-zone--entrainement {
	--c: #9e2626;
	--c2: #b92121;
	--tint: #f9ebea;
	--soft: #ffd9cf;
	--line: #eed3d1;
	--badge-bg: #ffd9cf;
	--badge-fg: #9e2626;
}

.elementor .e-con.tbx-sec.tbx-band--organisation,
.elementor .e-con.tbx-sec.tbx-zone--organisation {
	--c: #0e7a40;
	--c2: #118a4b;
	--tint: #e8f4ec;
	--soft: #d4f2e0;
	--line: #cfe5d8;
	--badge-bg: #d4f2e0;
	--badge-fg: #0e7a40;
}

/* Titres de section */
.elementor .tbx-sec .tbx-h3 .elementor-heading-title {
	margin: 0;
	color: #111;
	font-family: var(--tbx-font);
	font-size: clamp(28px, 2.7vw, 38px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.elementor .tbx-sec .tbx-h3 .elementor-heading-title span {
	color: var(--c2, var(--tbx-orange));
}

.elementor .tbx-sec .tbx-intro {
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
}

.elementor .tbx-sec .tbx-intro p {
	margin: 0;
}

/* Barre orange sous / à côté d'un titre */
.elementor .tbx-sec .tbx-bar .elementor-heading-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 5px;
	margin-top: 14px;
	border-radius: 3px;
	background: var(--c2, var(--tbx-orange));
}

/* Bouton clair (sur bandeau coloré) et bouton plein couleur de la Box */
.elementor .tbx-sec .tbx-btn--light .elementor-button,
.elementor .tbx-sec .tbx-btn--box .elementor-button {
	padding: 7px 7px 7px 24px;
	font-size: 16px;
}

.elementor .tbx-sec .tbx-btn--light .elementor-button,
.elementor .tbx-sec .tbx-btn--light .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--light .elementor-button:focus-visible {
	background: #fff;
	color: var(--c);
}

.elementor .tbx-sec .tbx-btn--box .elementor-button,
.elementor .tbx-sec .tbx-btn--box .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--box .elementor-button:focus-visible {
	background: var(--c2);
	color: #fff;
}

.elementor .tbx-sec .tbx-btn--light .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--box .elementor-button:hover {
	transform: translateY(-2px);
}

.elementor .tbx-sec .tbx-btn--light .elementor-button-content-wrapper::after,
.elementor .tbx-sec .tbx-btn--box .elementor-button-content-wrapper::after,
.elementor .tbx-sec .tbx-btn--plan .elementor-button-content-wrapper::after {
	content: "→";
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--c2);
	color: #fff;
	font-size: 17px;
}

.elementor .tbx-sec .tbx-btn--box .elementor-button-content-wrapper::after {
	background: #fff;
	color: var(--c2);
}

/* Lien souligné (« Voir les 16 animations ») */
.elementor .tbx-sec .tbx-link .elementor-button,
.elementor .tbx-sec .tbx-link .elementor-button:hover,
.elementor .tbx-sec .tbx-link .elementor-button:focus-visible {
	padding: 0 0 6px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline !important; /* le CSS Astra repris force « none » sur .elementor-button */
	text-underline-offset: 4px;
}

/* ---------- Pourquoi choisir ---------- */

.elementor .e-con.tbx-why {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-top: 64px;
	padding-bottom: 72px;
	background: #fff;
}

.elementor .tbx-sec .e-con.tbx-why__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	align-items: center;
	gap: 48px;
}

.elementor .tbx-sec .e-con.tbx-why__intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
	font-size: clamp(32px, 2.8vw, 40px);
}

.elementor .tbx-sec .e-con.tbx-why__benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.elementor .tbx-sec .e-con.tbx-benefit {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	align-items: center;
	gap: 6px 8px;
	padding: 12px 20px 12px 6px;
	border-radius: 22px;
	background: radial-gradient(120% 140% at 0% 50%, #33598a 0%, #2b4c74 55%);
	color: #fff;
}

.elementor .tbx-sec .tbx-benefit .elementor-widget-image {
	grid-row: span 2;
}

.elementor .tbx-sec .tbx-benefit img {
	display: block;
	width: 118px;
	height: auto;
}

.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title {
	align-self: end;
	margin: 0;
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.elementor .tbx-sec .tbx-benefit__text {
	align-self: start;
	color: rgba(255, 255, 255, .88);
	font-family: var(--tbx-font);
	font-size: 14px;
	line-height: 1.45;
}

.elementor .tbx-sec .tbx-benefit__text p {
	margin: 0;
}

.elementor .tbx-sec .e-con.tbx-why__audiences {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.elementor .tbx-sec .e-con.tbx-aud {
	--aud: var(--tbx-navy);
	--aud-img: url(../img/m-club.png);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 26px 26px;
	border-radius: 24px;
	background: #fbf5ef;
}

.elementor .tbx-sec .e-con.tbx-aud--ens {
	--aud: var(--tbx-orange);
	--aud-img: url(../img/m-ens.png);
}

.elementor .tbx-sec .e-con.tbx-aud--jou {
	--aud: var(--tbx-red);
	--aud-img: url(../img/m-joueurs.png);
}

.elementor .tbx-sec .tbx-aud__label .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--aud);
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.elementor .tbx-sec .tbx-aud__label .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--aud-img) center / cover no-repeat;
	box-shadow: 0 12px 24px -12px rgba(0, 56, 111, .55);
}

/* Liste à coches : <ul><li><strong>Titre</strong> texte</li></ul> dans un Éditeur de texte. */
.elementor .tbx-sec .tbx-checks {
	color: #4a5b6d;
	font-family: var(--tbx-font);
	font-size: 14.5px;
	line-height: 1.5;
}

.elementor .tbx-sec .tbx-checks ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elementor .tbx-sec .tbx-checks li {
	position: relative;
	margin: 0;
	padding-left: 32px;
}

.elementor .tbx-sec .tbx-checks li::before {
	content: "✓";
	position: absolute;
	top: 1px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e3f4ea;
	color: #15a259;
	font-size: 12px;
	font-weight: 900;
}

.elementor .tbx-sec .tbx-checks strong {
	display: block;
	margin-bottom: 6px;
	color: #0f2a3d;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Bandeau coloré d'une Box ---------- */

.elementor .e-con.tbx-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	align-items: center;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 160px;
	background: var(--c);
	color: #fff;
}

.elementor .tbx-sec .e-con.tbx-band__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.elementor .tbx-sec .tbx-band__content > .elementor-widget {
	width: 100%;
}

.elementor .tbx-sec .tbx-band__content > .tbx-btn {
	width: auto;
}

.elementor .tbx-sec .e-con.tbx-band__tags {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.elementor .tbx-sec .tbx-band__tags .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-tag .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 14px 4px 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-tag .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: url(../img/m-club.png) center / cover no-repeat;
}

.elementor .tbx-sec .tbx-tag--ens .elementor-heading-title::before {
	background-image: url(../img/m-ens.png);
}

.elementor .tbx-sec .tbx-tag--jou .elementor-heading-title::before {
	background-image: url(../img/m-joueurs.png);
}

.elementor .tbx-sec .tbx-band__title .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: var(--tbx-font);
	font-size: clamp(44px, 5vw, 72px);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .9;
}

.elementor .tbx-sec .tbx-band__sub .elementor-heading-title {
	margin: 0;
	color: var(--soft);
	font-family: var(--tbx-font);
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
}

/* Points forts : <ul><li><strong>Titre</strong> texte</li></ul> */
.elementor .tbx-sec .tbx-band__features {
	margin-top: 6px;
	color: rgba(255, 255, 255, .88);
	font-family: var(--tbx-font);
	font-size: 15.5px;
	line-height: 1.45;
}

.elementor .tbx-sec .tbx-band__features ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elementor .tbx-sec .tbx-band__features li {
	position: relative;
	min-height: 48px;
	margin: 0;
	padding-left: 64px;
}

.elementor .tbx-sec .tbx-band__features li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	color: var(--c);
	font-size: 19px;
	font-weight: 900;
}

.elementor .tbx-sec .tbx-band__features strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
}

.elementor .tbx-sec .tbx-band__tagline .elementor-heading-title {
	margin: 8px 0 0;
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.elementor .tbx-sec .elementor-widget.tbx-band__img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 28px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}

.elementor .tbx-sec .elementor-widget.tbx-band__img--cutout img {
	border-radius: 0;
	box-shadow: none;
}

/* ---------- Zone claire sous le bandeau ---------- */

.elementor .e-con.tbx-zone {
	display: flex;
	flex-direction: column;
	gap: 60px;
	padding-top: 0;
	padding-bottom: 72px;
	background: var(--tint);
}

/* Encart blanc qui chevauche le bandeau */
.elementor .tbx-sec .e-con.tbx-panel {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: -112px;
	padding: 32px 40px 36px;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 40px 80px -44px rgba(30, 30, 30, .4);
}

.elementor .tbx-sec .tbx-panel__title .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	color: #111;
	font-family: var(--tbx-font);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.1;
}

.elementor .tbx-sec .tbx-panel__title .elementor-heading-title::after {
	content: "";
	flex: none;
	width: 72px;
	height: 6px;
	border-radius: 3px;
	background: var(--c2);
}

.elementor .tbx-sec .e-con.tbx-panel__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}

.elementor .tbx-sec .e-con.tbx-panel__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 22px 12px;
	border-radius: 22px;
	background: var(--tint);
	text-align: center;
}

.elementor .tbx-sec .tbx-panel__item .elementor-widget-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
}

.elementor .tbx-sec .tbx-panel__item img {
	display: block;
	width: auto;
	max-width: 120px;
	max-height: 110px;
	object-fit: contain;
	mix-blend-mode: normal; /* images détourées : le blanc reste blanc (Elsa, 2026-10-16) */
}

.elementor .tbx-sec .tbx-panel__item .tbx-picto img {
	max-height: 92px;
	mix-blend-mode: normal;
}

.elementor .tbx-sec .tbx-panel__label .elementor-heading-title {
	margin: 0;
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

/* Variante « étapes » (Communication) : 3 cartes reliées par des flèches. */
.elementor .tbx-sec .e-con.tbx-panel__grid--steps {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 72px;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item {
	position: relative;
	align-items: flex-start;
	gap: 6px;
	padding: 24px 22px;
	text-align: left;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: -56px;
	left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: 50%;
	background: var(--c2);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	opacity: 1;
	mix-blend-mode: normal;
}

/* Communication et Organisation : sans étiquettes « 1 · Votre club aujourd'hui… », titres en accroches (Elsa, 2026-11-17). */
.elementor .tbx-sec .tbx-panel__grid--steps:has(.elementor-element-6e6eeaf0, .elementor-element-04659fc) .e-con.tbx-panel__item::before {
	content: none;
	display: none;
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__label .elementor-heading-title {
	color: var(--c);
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-panel__text {
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 15px;
	line-height: 1.45;
}

.elementor .tbx-sec .tbx-panel__text p {
	margin: 0;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:last-child {
	background: var(--c);
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:last-child .tbx-panel__label .elementor-heading-title {
	color: #fff;
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:last-child .tbx-panel__text {
	color: rgba(255, 255, 255, .88);
}

/* Produits de la Box */
.elementor .tbx-sec .e-con.tbx-products {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.elementor .tbx-sec .e-con.tbx-products__head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
}

.elementor .tbx-sec .e-con.tbx-products__intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.elementor .tbx-sec .tbx-products__head > .elementor-widget.elementor-widget {
	width: auto;
	flex: none;
}

/* Formules */
.elementor .tbx-sec .e-con.tbx-plans {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.elementor .tbx-sec .e-con.tbx-plans__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.elementor .tbx-sec .tbx-plans__head .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-kicker .elementor-heading-title {
	margin: 0;
	padding: 7px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--c2);
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-plans__title .elementor-heading-title {
	margin: 0;
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: clamp(30px, 2.8vw, 40px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.elementor .tbx-sec .tbx-plans__title .elementor-heading-title span {
	color: var(--c2);
}

.elementor .tbx-sec .e-con.tbx-plans__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 20px;
	padding-top: 14px;
}

.elementor .tbx-sec .e-con.tbx-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: #fff;
	color: #0f2a3d;
}

.elementor .tbx-sec .e-con.tbx-plan--featured {
	padding-top: 24px;
	border-color: var(--c);
	background: var(--c);
	color: #fff;
}

.elementor .tbx-sec .tbx-plan .elementor-widget {
	position: static;
}

/* Le badge est posé sur le bord de la carte : son bloc ne doit pas décaler les lignes (écart de 14 px annulé). */
.elementor .tbx-sec .elementor-widget.tbx-plan__badge {
	margin-bottom: -14px;
}

.elementor .tbx-sec .tbx-plan__badge .elementor-heading-title {
	position: absolute;
	top: -13px;
	left: 24px;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--badge-bg);
	color: var(--badge-fg);
	font-family: var(--tbx-font);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
	white-space: nowrap;
}

.elementor .tbx-sec .tbx-plan__name .elementor-heading-title {
	margin: 0;
	color: inherit;
	font-family: var(--tbx-font);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-plan__name .elementor-heading-title span {
	color: var(--c2);
}

.elementor .tbx-sec .tbx-plan--featured .tbx-plan__name .elementor-heading-title span {
	color: var(--soft);
}

.elementor .tbx-sec .tbx-plan__note .elementor-heading-title {
	margin: -8px 0 0;
	color: inherit;
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	opacity: .8;
}

/* Pastille « [3] animations au choix » ou « (badge) Joueurs » */
.elementor .tbx-sec .elementor-widget.tbx-plan__pill {
	align-self: flex-start;
	width: auto;
}

.elementor .tbx-sec .tbx-plan__pill .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 14px 4px 4px;
	border-radius: 999px;
	background: var(--tint);
	color: inherit;
	font-family: var(--tbx-font);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-plan--featured .tbx-plan__pill .elementor-heading-title {
	background: rgba(255, 255, 255, .14);
}

.elementor .tbx-sec .tbx-plan__pill .elementor-heading-title span {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--c2);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
}

.elementor .tbx-sec .tbx-plan--featured .tbx-plan__pill .elementor-heading-title span {
	background: #fff;
	color: var(--c);
}

.elementor .tbx-sec .tbx-plan__pill--club .elementor-heading-title::before,
.elementor .tbx-sec .tbx-plan__pill--ens .elementor-heading-title::before,
.elementor .tbx-sec .tbx-plan__pill--jou .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: url(../img/m-club.png) center / cover no-repeat;
}

.elementor .tbx-sec .tbx-plan__pill--ens .elementor-heading-title::before {
	background-image: url(../img/m-ens.png);
}

.elementor .tbx-sec .tbx-plan__pill--jou .elementor-heading-title::before {
	background-image: url(../img/m-joueurs.png);
}

/* Prix : « 259<span>€</span> » + ancien prix facultatif */
.elementor .tbx-sec .e-con.tbx-plan__prices {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.elementor .tbx-sec .tbx-plan__prices .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-plan__price .elementor-heading-title {
	margin: 0;
	color: inherit;
	font-family: var(--tbx-font);
	font-size: 46px;
	font-weight: 900;
	letter-spacing: -.05em;
	line-height: 1;
}

.elementor .tbx-sec .tbx-plan__price .elementor-heading-title span {
	margin-left: 2px;
	font-size: .5em;
}

.elementor .tbx-sec .tbx-plan__old .elementor-heading-title {
	margin: 0;
	color: inherit;
	font-family: var(--tbx-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: line-through;
	opacity: .75;
}

.elementor .tbx-sec .elementor-widget.tbx-btn--plan {
	margin-top: auto;
}

.elementor .tbx-sec .tbx-btn--plan .elementor-button {
	justify-content: space-between;
	width: 100%;
	padding: 5px 5px 5px 20px;
	background: var(--c2);
	color: #fff;
	font-size: 15px;
}

.elementor .tbx-sec .tbx-btn--plan .elementor-button-content-wrapper {
	justify-content: space-between;
	width: 100%;
}

.elementor .tbx-sec .tbx-btn--plan .elementor-button-content-wrapper::after {
	width: 36px;
	height: 36px;
	background: #fff;
	color: var(--c2);
}

.elementor .tbx-sec .tbx-btn--plan .elementor-button:hover,
.elementor .tbx-sec .tbx-btn--plan .elementor-button:focus-visible {
	background: var(--c2);
	color: #fff;
	transform: translateY(-2px);
}

.elementor .tbx-sec .tbx-plan--featured .tbx-btn--plan .elementor-button,
.elementor .tbx-sec .tbx-plan--featured .tbx-btn--plan .elementor-button:hover {
	background: #fff;
	color: var(--c);
}

.elementor .tbx-sec .tbx-plan--featured .tbx-btn--plan .elementor-button-content-wrapper::after {
	background: var(--c2);
	color: #fff;
}

/* Frise de la saison (Organisation) */
.elementor .tbx-sec .e-con.tbx-frise {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 32px 28px 36px;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 40px 70px -46px rgba(10, 60, 30, .45);
}

.elementor .tbx-sec .e-con.tbx-frise__phases {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.elementor .tbx-sec .tbx-frise__phases .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	margin: 0;
	border-radius: 999px;
	background: var(--tbx-navy);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1;
	text-align: center;
}

.elementor .tbx-sec .tbx-frise__phases > .elementor-widget:nth-child(1) { grid-column: 1 / 2; }
.elementor .tbx-sec .tbx-frise__phases > .elementor-widget:nth-child(2) { grid-column: 2 / 5; }
.elementor .tbx-sec .tbx-frise__phases > .elementor-widget:nth-child(3) { grid-column: 5 / 7; }

.elementor .tbx-sec .tbx-frise__phases > .elementor-widget:nth-child(2) .elementor-heading-title {
	background: var(--tbx-orange);
}

.elementor .tbx-sec .tbx-frise__phases > .elementor-widget:nth-child(3) .elementor-heading-title {
	background: var(--c);
}

/* Les 6 étapes ; la ligne dégradée passe derrière les photos. */
.elementor .tbx-sec .e-con.tbx-frise__steps {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	padding: 26px 0 0;
	background: linear-gradient(90deg, #004b76 0%, #cb5223 22%, #cb5223 66%, #0e7a40 78%) center top 59px / calc(100% * 5 / 6) 6px no-repeat;
}

.elementor .tbx-sec .e-con.tbx-step {
	--step: var(--tbx-orange);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0 4px;
	text-align: center;
}

.elementor .tbx-sec .e-con.tbx-step:first-child {
	--step: var(--tbx-navy);
}

.elementor .tbx-sec .e-con.tbx-step:nth-child(n+5) {
	--step: var(--c);
}

.elementor .tbx-sec .tbx-step .elementor-widget-image {
	margin-bottom: 22px;
}

.elementor .tbx-sec .tbx-step img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--step), 0 14px 26px -12px rgba(10, 60, 30, .6);
}

.elementor .tbx-sec .tbx-step__month .elementor-heading-title {
	margin: 0;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--step);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-step__title .elementor-heading-title {
	margin: 0;
	color: #111;
	font-family: var(--tbx-font);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-step__text {
	color: #4a5b6d;
	font-family: var(--tbx-font);
	font-size: 14px;
	line-height: 1.5;
	text-wrap: pretty;
}

.elementor .tbx-sec .tbx-step__text p {
	margin: 0;
}

.elementor .tbx-sec .tbx-step .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-step .elementor-widget.tbx-step__text {
	width: 100%;
}

/* Pack (Organisation) */
.elementor .tbx-sec .e-con.tbx-pack {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 30px 60px -40px rgba(10, 60, 30, .4);
}

.elementor .tbx-sec .elementor-widget.tbx-pack__img {
	display: flex;
	align-items: center;
	padding: 24px;
}

.elementor .tbx-sec .tbx-pack__img .elementor-widget-container {
	width: 100%;
}

.elementor .tbx-sec .tbx-pack__img img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 24px;
}

.elementor .tbx-sec .e-con.tbx-pack__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	padding: 36px 44px 36px 16px;
}

.elementor .tbx-sec .tbx-pack__body > .elementor-widget {
	width: 100%;
}

.elementor .tbx-sec .tbx-pack__body > .tbx-pack__kicker,
.elementor .tbx-sec .tbx-pack__body > .tbx-btn {
	width: auto;
}

.elementor .tbx-sec .tbx-pack__kicker .elementor-heading-title {
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--tint);
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-pack__title .elementor-heading-title {
	margin: 0;
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1;
}

.elementor .tbx-sec .tbx-pack__price .elementor-heading-title {
	margin: -6px 0 0;
	color: #0f2a3d;
	font-family: var(--tbx-font);
	font-size: 50px;
	font-weight: 900;
	letter-spacing: -.05em;
	line-height: 1;
}

.elementor .tbx-sec .tbx-pack__price .elementor-heading-title span {
	margin-left: 3px;
	font-size: .5em;
}

.elementor .tbx-sec .tbx-pack__list {
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: #0f2a3d;
	font-family: var(--tbx-font);
	font-size: 15px;
	line-height: 1.35;
}

.elementor .tbx-sec .tbx-pack__list ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elementor .tbx-sec .tbx-pack__list li {
	position: relative;
	margin: 0;
	padding-left: 22px;
}

.elementor .tbx-sec .tbx-pack__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--c2);
	font-weight: 900;
}

.elementor .tbx-sec .e-con.tbx-pack__perks {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.elementor .tbx-sec .e-con.tbx-perk {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.elementor .tbx-sec .tbx-perk .elementor-widget.elementor-widget {
	width: auto;
}

.elementor .tbx-sec .tbx-perk img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.elementor .tbx-sec .tbx-perk__label .elementor-heading-title {
	margin: 0;
	color: var(--c);
	font-family: var(--tbx-font);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
}

/* ---------- Lot 2 : tablette ---------- */

@media (max-width: 1200px) {
	.elementor .tbx-sec .e-con.tbx-why__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

}

@media (max-width: 1024px) {
	.elementor .e-con.tbx-band {
		grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
		gap: 32px;
	}

	.elementor .tbx-sec .e-con.tbx-why__audiences {
		grid-template-columns: minmax(0, 1fr);
	}

	.elementor .tbx-sec .e-con.tbx-panel__grid--steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:not(:last-child)::after {
		content: "↓";
		top: auto;
		right: auto;
		bottom: -48px;
		left: 50%;
		margin: 0 0 0 -20px;
	}
}

/* ---------- Lot 2 : mobile ---------- */

@media (max-width: 767px) {
	.elementor .e-con.tbx-why {
		gap: 24px;
		padding: 48px 16px 56px;
	}

	.elementor .tbx-sec .e-con.tbx-why__benefits {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.elementor .tbx-sec .e-con.tbx-benefit {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.elementor .tbx-sec .tbx-benefit img {
		width: 92px;
	}

	.elementor .tbx-sec .e-con.tbx-aud {
		padding: 22px 20px;
	}

	.elementor .e-con.tbx-band {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 48px 20px 140px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-band__img {
		max-width: 420px;
	}

	.elementor .tbx-sec .tbx-band__title .elementor-heading-title {
		font-size: 44px;
	}

	.elementor .tbx-sec .tbx-band__tagline .elementor-heading-title {
		font-size: 19px;
	}

	.elementor .e-con.tbx-zone {
		gap: 44px;
		padding: 0 16px 56px;
	}

	.elementor .tbx-sec .e-con.tbx-panel {
		margin-top: -96px;
		padding: 24px 18px 22px;
		border-radius: 26px;
	}

	.elementor .tbx-sec .tbx-panel__title .elementor-heading-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.elementor .tbx-sec .e-con.tbx-panel__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.elementor .tbx-sec .e-con.tbx-panel__grid--steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	.elementor .tbx-sec .tbx-panel__item .elementor-widget-image {
		height: 90px;
	}

	.elementor .tbx-sec .tbx-panel__label .elementor-heading-title {
		font-size: 14.5px;
	}

	.elementor .tbx-sec .e-con.tbx-products__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

}

/* L'ancien CSS additionnel d'Astra (legacy-customizer.css, § 14) met « overflow-x: hidden !important »
   sur tous les conteneurs Elementor sous 768 px : ça rogne les étiquettes, ombres et chevauchements.
   On le lève pour les sections du nouveau design (la page garde html/body en overflow-x: hidden). */
@media (max-width: 768px) {
	.elementor .e-con.tbx-sec,
	.elementor .tbx-sec .e-con {
		overflow-x: visible !important;
	}

	.elementor .tbx-sec .e-con.tbx-boxcard,
	.elementor .tbx-sec .e-con.tbx-court,
	.elementor .tbx-sec .e-con.tbx-pack {
		overflow: hidden !important;
	}
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-panel__item img {
		max-width: 100px;
		max-height: 90px;
	}

	.elementor .tbx-sec .tbx-panel__item .tbx-picto img {
		max-height: 80px;
	}
}

/* ---------- Formules, frise et pack : version tablette / mobile (maquette mobile) ---------- */

/* Formules : 2 colonnes sur tablette, carrousel horizontal sur mobile (cartes de 296 px). */
@media (max-width: 1200px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 32px;
	}
}

@media (max-width: 767px) {
	.elementor .e-con.tbx-zone {
		--tbx-pad: 16px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap; /* Elementor met « wrap » sur mobile */
		align-items: stretch;
		gap: 12px;
		width: calc(100% + 2 * var(--tbx-pad)); /* Elementor fixe width: 100 % : on l'élargit jusqu'aux bords de l'écran */
		margin: 0 calc(-1 * var(--tbx-pad));
		padding: 20px 20px 12px;
		scroll-padding-left: 20px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid {
		max-width: none !important; /* le CSS Astra repris met max-width: 100 % !important sur les .e-con */
		overflow-x: auto !important; /* passe devant le correctif overflow et le CSS Astra */
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid::-webkit-scrollbar {
		display: none;
	}

	.elementor .tbx-sec .e-con.tbx-plan {
		flex: none;
		width: 296px;
		max-width: 82vw;
		scroll-snap-align: start;
	}

	.elementor .tbx-sec .tbx-plans__title .elementor-heading-title {
		font-size: 30px;
	}
}

/* Frise : horizontale tant qu'il y a la place, puis verticale (ligne à gauche, une carte par mois). */
@media (max-width: 900px) {
	.elementor .tbx-sec .e-con.tbx-frise {
		padding: 22px 16px 22px 14px;
		border-radius: 26px;
	}

	.elementor .tbx-sec .e-con.tbx-frise__phases {
		display: none;
	}

	.elementor .tbx-sec .e-con.tbx-frise__steps {
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 0;
		background: linear-gradient(180deg, #004b76 0%, #cb5223 20%, #cb5223 62%, #0e7a40 75%) left 25.5px top 30px / 5px calc(100% - 80px) no-repeat;
	}

	.elementor .tbx-sec .e-con.tbx-step {
		position: relative;
		display: grid;
		grid-template-columns: 50px minmax(0, 1fr);
		justify-items: start;
		align-items: start;
		gap: 6px 14px;
		padding: 14px 16px 14px 0;
		text-align: left;
	}

	/* Carte blanche bordée derrière le texte de l'étape */
	.elementor .tbx-sec .e-con.tbx-step::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 64px;
		z-index: 0;
		border: 1px solid #ece4db;
		border-radius: 20px;
		background: #fff;
	}

	.elementor .tbx-sec .tbx-step .elementor-widget {
		position: relative;
		z-index: 1;
		grid-column: 2;
		margin-left: 16px;
	}

	.elementor .tbx-sec .tbx-step .elementor-widget.elementor-widget-image {
		grid-column: 1;
		grid-row: 1 / span 3;
		margin: -8px 0 0 6px;
	}

	.elementor .tbx-sec .tbx-step img {
		width: 44px;
		height: 44px;
		box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--step), 0 14px 26px -12px rgba(10, 60, 30, .6);
	}

	.elementor .tbx-sec .tbx-step__month .elementor-heading-title {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 0;
		background: none;
		color: var(--step);
		font-size: 12.5px;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.elementor .tbx-sec .tbx-step__month .elementor-heading-title::before {
		content: "";
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--step);
	}

	.elementor .tbx-sec .tbx-step__title .elementor-heading-title {
		font-size: 16.5px;
	}

	.elementor .tbx-sec .tbx-step__text {
		font-size: 14px;
		line-height: 1.45;
	}
}

/* Pack Organisation : image à gauche sur tablette, au-dessus sur mobile. */
@media (max-width: 1024px) {
	.elementor .tbx-sec .e-con.tbx-pack {
		grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	}

	.elementor .tbx-sec .e-con.tbx-pack__body {
		padding: 28px 28px 28px 8px;
	}

	.elementor .tbx-sec .tbx-pack__list ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.elementor .tbx-sec .e-con.tbx-pack {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 26px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-pack__img {
		padding: 14px 14px 0;
	}

	.elementor .tbx-sec .tbx-pack__img img {
		border-radius: 18px;
	}

	.elementor .tbx-sec .e-con.tbx-pack__body {
		gap: 14px;
		padding: 20px 20px 24px;
	}

	.elementor .tbx-sec .tbx-pack__title .elementor-heading-title {
		font-size: 28px;
	}

	.elementor .tbx-sec .tbx-pack__price .elementor-heading-title {
		font-size: 42px;
	}

	.elementor .tbx-sec .e-con.tbx-pack__perks {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 900px) {
	.elementor .tbx-sec .tbx-step .elementor-widget.tbx-step__text {
		width: auto;
	}
}

/* ======================================================================
 * Retours d'Elsa (2026-10-10)
 * ==================================================================== */

/* « Pourquoi choisir Tennis Box » : Clubs de tennis / Enseignants / Joueurs, toujours en gras
   (22 px le 2026-10-10, 19 px le 2026-10-11, 17 px le 2026-10-12). */
.elementor .tbx-sec .tbx-aud__label .elementor-heading-title {
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .06em;
}

/* Titres des Box en deux couleurs : début en noir, fin de phrase colorée (Animation en orange : Elsa, 2026-11-13). */
.elementor .tbx-sec.tbx-zone--animation .tbx-products__intro .tbx-h3 .elementor-heading-title span {
	color: #cb5223;
}

.elementor .tbx-sec.tbx-zone--entrainement .tbx-products__intro .tbx-h3 .elementor-heading-title span {
	color: #b92121;
}

.elementor .tbx-sec.tbx-zone--communication .tbx-products__intro .tbx-h3 .elementor-heading-title span {
	color: #004b76;
}

/* Communication : titre sur une seule ligne sur ordinateur (global.js réduit la police s'il déborde). */
@media (min-width: 1024px) {
	.elementor .tbx-sec.tbx-zone--communication .e-con.tbx-products__intro {
		flex: 1;
		min-width: 0;
	}

	.elementor .tbx-sec.tbx-zone--communication .tbx-products__intro .tbx-h3 .elementor-heading-title {
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-aud__label .elementor-heading-title {
		font-size: 15.5px;
	}
}

/* ======================================================================
 * Court en perspective dans les héros (proposition C, choisie par Elsa le 2026-10-10) — accueil ici,
 * Contact et À propos dans leur feuille. Vraies proportions (23,77 × 10,97 m) : la zone de jeu est la
 * « content-box » du conteneur (rapport 23,77 / 10,97), les lignes y sont placées (--i: 0 +
 * background-origin), le fond déborde dans le padding (les dégagements autour du court).
 * ==================================================================== */

.elementor .tbx-sec :is(.tbx-hero__visual, .tbx-ct-hero__visual, .tbx-ap-hero__visual) .e-con.tbx-court {
	--i: 0px;
	box-sizing: content-box;
	inset: auto auto 2% -4%;
	width: calc(108% - 48px);
	height: auto;
	aspect-ratio: 23.77 / 10.97;
	padding: 24px;
	overflow: visible;
	border-radius: 18px;
	background-origin: content-box;
	background-clip: border-box;
	box-shadow: 0 40px 50px -30px rgba(60, 20, 5, .45);
	transform: rotateX(56deg);
	transform-origin: 50% 100%;
}

.elementor .tbx-sec .e-con.tbx-hero__visual {
	height: auto;
	aspect-ratio: 616 / 520;
	perspective: 900px;
}

.elementor .tbx-sec .elementor-widget.tbx-hero__photo {
	inset: 0 14% 34% 14%;
}

@media (max-width: 767px) {
	.elementor .tbx-sec :is(.tbx-hero__visual, .tbx-ct-hero__visual, .tbx-ap-hero__visual) .e-con.tbx-court {
		--s: 2px;
		inset: auto auto 2% -4%;
		width: calc(108% - 28px);
		padding: 14px;
		border-radius: 14px;
	}

	.elementor .tbx-sec .e-con.tbx-hero__visual {
		height: auto;
		aspect-ratio: 616 / 520;
		margin-top: 0;
	}

	.elementor .tbx-sec .elementor-widget.tbx-hero__photo {
		inset: 0 10% 34% 10%;
		border-radius: 20px;
	}
}

/* Balle posée sur le court des héros Elementor (même principe que hero.css : --tbx-ball, --ball-x / --ball-y). */
.elementor .tbx-sec :is(.tbx-hero__visual, .tbx-ct-hero__visual, .tbx-ap-hero__visual)::after {
	content: "";
	position: absolute;
	top: var(--ball-y, 84%);
	left: var(--ball-x, 88%);
	z-index: 3;
	width: 28px;
	height: 36px;
	background:
		var(--tbx-ball) center top / 28px 28px no-repeat,
		radial-gradient(closest-side, rgba(40, 20, 5, .35), transparent) center bottom / 26px 8px no-repeat;
	translate: -50% -50%;
	pointer-events: none;
}

.elementor .tbx-sec .tbx-hero__visual { --ball-x: 8%; --ball-y: 80%; }
.elementor .tbx-sec .tbx-ct-hero__visual { --ball-x: 90%; --ball-y: 84%; }
.elementor .tbx-sec .tbx-ap-hero__visual { --ball-x: 22%; --ball-y: 92%; }

@media (max-width: 767px) {
	.elementor .tbx-sec :is(.tbx-hero__visual, .tbx-ct-hero__visual, .tbx-ap-hero__visual)::after {
		width: 22px;
		height: 28px;
		background-size: 22px 22px, 20px 6px;
	}
}

/* ======================================================================
 * Illustration des bandeaux des Box (accueil) posée sur l'encart « Ce que contient votre box », comme sur
 * le site Tennis Box d'origine (retour d'Elsa, 2026-10-10) : colonne de droite sur toute la hauteur du bandeau,
 * image détourée calée en bas, qui descend jusqu'au haut de l'encart (bandeau : 160 px en bas, encart : -112 px).
 * ==================================================================== */

.elementor .e-con.tbx-band {
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	align-items: stretch;
}

.elementor .tbx-sec .e-con.tbx-band__content {
	align-self: center;
}

.elementor .tbx-sec .elementor-widget.tbx-band__img {
	position: relative;
	align-self: stretch;
	margin-bottom: -48px;
	border-radius: 28px 28px 0 0;
}

.elementor .tbx-sec .tbx-band__img .elementor-widget-container {
	height: 100%;
}

.elementor .tbx-sec .elementor-widget.tbx-band__img img,
.elementor .tbx-sec .elementor-widget.tbx-band__img--cutout img {
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
	object-position: 50% 100%;
}

@media (max-width: 1024px) {
	.elementor .e-con.tbx-band {
		grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	}
}

@media (max-width: 767px) {
	.elementor .e-con.tbx-band {
		grid-template-columns: minmax(0, 1fr);
	}

	.elementor .tbx-sec .elementor-widget.tbx-band__img {
		align-self: center;
		width: 100%;
		max-width: 420px;
		height: auto;
		aspect-ratio: 520 / 600;
		margin-bottom: -44px; /* bandeau : 140 px en bas, encart : -96 px */
	}
}

/* Box Organisation (retours d'Elsa, 2026-10-10) : pastille « Bientôt » dans les atouts du bandeau ;
 * carrousel et formules : assets/css/box-organisation.css. */
.elementor .tbx-sec .tbx-band__features .tbx-soon {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #ffe58f;
	color: #5b3b00;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.3;
	vertical-align: 2px;
}

.elementor .tbx-sec .tbx-products__carousel,
.elementor .tbx-sec .tbx-plans__org {
	width: 100%;
}

/* ======================================================================
 * Retours d'Elsa (2026-10-11)
 * ==================================================================== */

/* « Ce que contient votre box » : titres des pictos sur 2 lignes, coupés aux endroits choisis par Elsa (<br> dans
   Elementor) ; chaque ligne reste entière. */
.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__label .elementor-heading-title {
	text-wrap: balance;
}

/* Mobile : les pictos passent en liste (picto à gauche, titre à droite) pour que chaque titre tienne sur
   ses 2 lignes ; en grille de 2, « et situations de match » ou « Conseils techniques et » passaient sur 3 lignes. */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-panel__grid:not(.tbx-panel__grid--steps) {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .e-con.tbx-panel__item {
		flex-direction: row;
		justify-content: flex-start;
		gap: 14px;
		padding: 10px 16px 10px 10px;
		border-radius: 18px;
		text-align: left;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item .elementor-widget-image {
		flex: none;
		width: 64px;
		height: 60px;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item img {
		max-width: 64px;
		max-height: 60px;
	}

	body.tbx-ph-on .elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item .elementor-widget-image.tbx-ph-slot {
		width: 64px;
		height: 60px;
		border-radius: 14px;
	}

	body.tbx-ph-on .elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item .elementor-widget-image.tbx-ph-slot::after {
		padding: 2px 3px;
		font-size: 7px;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__label {
		flex: 1;
		min-width: 0;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__label .elementor-heading-title {
		font-size: 15px;
		text-align: left;
	}
}

/* Box Organisation : ses 2 cartes gardent la largeur des cartes des autres Box (4 par ligne) et sont centrées
   (retour d'Elsa, 2026-10-11). */
@media (min-width: 1025px) {
	.elementor .tbx-sec.tbx-zone--organisation .tbx-cards {
		grid-template-columns: repeat(2, minmax(0, calc((100% - 60px) / 4)));
		justify-content: center;
	}
}

/* ======================================================================
 * Téléphone (retours d'Elsa, 2026-10-12)
 * - Formules : une carte à la fois (pastilles : global.js).
 * - Boutons pleine largeur, texte centré, flèche ronde calée à droite.
 * ==================================================================== */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid {
		gap: 16px;
		scroll-padding-inline: 20px;
	}

	.elementor .tbx-sec .e-con.tbx-plan {
		flex: 0 0 100%;
		width: 100%;
		max-width: none;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}

	.elementor .tbx-sec .elementor-widget:is(.tbx-btn--primary, .tbx-btn--light, .tbx-btn--box, .tbx-btn--plan, .tbx-btn--ghost) {
		width: 100%;
	}

	.elementor .tbx-sec :is(.tbx-btn--primary, .tbx-btn--light, .tbx-btn--box, .tbx-btn--plan) .elementor-button {
		position: relative;
		justify-content: center;
		width: 100%;
		min-height: 56px;
		padding: 6px 56px;
		text-align: center;
	}

	.elementor .tbx-sec .tbx-btn--plan .elementor-button {
		min-height: 48px;
	}

	.elementor .tbx-sec :is(.tbx-btn--primary, .tbx-btn--light, .tbx-btn--box, .tbx-btn--plan) .elementor-button-content-wrapper {
		position: static;
		justify-content: center;
		width: auto;
	}

	.elementor .tbx-sec :is(.tbx-btn--primary, .tbx-btn--light, .tbx-btn--box, .tbx-btn--plan) .elementor-button-content-wrapper::after {
		position: absolute;
		top: 0;
		right: 6px;
		bottom: 0;
		margin: auto 0;
	}

	.elementor .tbx-sec .tbx-btn--ghost .elementor-button {
		justify-content: center;
		width: 100%;
	}
}

/* « À chacun sa Tennis Box » : l'illustration occupe toute la largeur de la carte, posée en bas (retour d'Elsa,
   2026-10-12 : rendu trop petit). Format conseillé : 600 × 500 px, PNG détouré. */
.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
	align-self: stretch;
	width: calc(100% + 40px);
	max-width: none !important; /* Elementor limite les widgets à 100 % de leur conteneur */
	margin: auto -20px 0;
	padding-top: 4px;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
		align-self: center;
		width: 88%;
		margin: auto 0 0;
	}
}

/* « À chacun sa Tennis Box » sur téléphone : les 4 Box en grille 2 × 2, toutes visibles quand on choisit son profil
   (retour d'Elsa, 2026-10-12). Carte compacte : avatars, titre, illustration ; la phrase reste sur ordinateur. */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-boxes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.elementor .tbx-sec .e-con.tbx-boxcard {
		gap: 6px;
		padding: 48px 12px 0;
		border-radius: 20px;
		background-position: left 12px top 12px, 0 0;
		background-size: auto 28px, auto;
	}

	.elementor .tbx-sec .tbx-boxcard .elementor-widget.tbx-boxcard__title {
		position: static;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
		padding-right: 0;
		font-size: 18px;
		letter-spacing: -.03em;
		line-height: 1.1;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title::after {
		top: 12px;
		right: 12px;
		width: 30px;
		height: 30px;
		margin-top: 0;
		font-size: 14px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-boxcard__text {
		display: none;
	}

	.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
		align-self: stretch;
		width: calc(100% + 24px);
		margin: auto -12px 0;
		padding-top: 4px;
	}
}

/* Formules : petit visuel en haut à droite de la carte (retour d'Elsa, 2026-10-12, Box Entraînement), pour
   occuper l'espace libre. Format conseillé : 240 × 240 px, PNG fond transparent. */
.elementor .tbx-sec .elementor-widget.tbx-plan__img {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 64px;
	height: 64px;
	margin: 0;
}

.elementor .tbx-sec .tbx-plan__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.elementor .tbx-sec .e-con.tbx-plan:has(.tbx-plan__img) :is(.tbx-plan__name, .tbx-plan__note) {
	padding-right: 72px;
}

.elementor .tbx-sec .e-con.tbx-plan--featured:has(.tbx-plan__img) .elementor-widget.tbx-plan__img {
	top: 28px;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-plan__img {
		width: 96px;
		height: 96px;
	}

	.elementor .tbx-sec .e-con.tbx-plan:has(.tbx-plan__img) :is(.tbx-plan__name, .tbx-plan__note) {
		padding-right: 104px;
	}
}

/* Formules Box Communication (2026-10-12) : prix « dès … », gestion annuelle (non barrée), Réseaux sociaux à venir. */
.elementor .tbx-sec .tbx-plan__price .elementor-heading-title small {
	margin-right: 4px;
	font-size: .38em;
	font-weight: 700;
	letter-spacing: 0;
}

.elementor .tbx-sec .tbx-plan__old--plain .elementor-heading-title {
	text-decoration: none;
	opacity: 1;
	font-weight: 700;
}

.elementor .tbx-sec .tbx-plan__price--soon .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: #b92121;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 1.2;
	animation: tbx-soon-pulse 2s ease-out infinite;
}

.elementor .tbx-sec .tbx-plan__price--soon .elementor-heading-title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.elementor .tbx-sec .tbx-plan__price--soon .elementor-heading-title {
		animation: none;
	}
}

/* ======================================================================
 * Retours d'Elsa (2026-10-12, suite)
 * ==================================================================== */

/* Les cartes « À chacun sa Tennis Box » mènent à la section de leur Box sur l'accueil (#box-animation…) :
   la section s'arrête juste sous le haut de l'écran. */
.elementor .e-con.tbx-sec.tbx-band {
	scroll-margin-top: 16px;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Formules : contenu centré dans la carte ; le visuel (Entraînement) passe en haut, centré. */
.elementor .tbx-sec .e-con.tbx-plan {
	align-items: center;
	text-align: center;
}

.elementor .tbx-sec .tbx-plan .elementor-widget {
	text-align: center;
}

.elementor .tbx-sec .tbx-plan__pill .elementor-heading-title {
	justify-content: center;
}

.elementor .tbx-sec .tbx-plan__pill .elementor-widget-container,
.elementor .tbx-sec .elementor-widget.tbx-plan__pill {
	display: flex;
	justify-content: center;
}

.elementor .tbx-sec .e-con.tbx-plan__prices {
	justify-content: center;
}

.elementor .tbx-sec .tbx-plan__badge .elementor-heading-title {
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

.elementor .tbx-sec .elementor-widget.tbx-btn--plan {
	align-self: stretch;
}

.elementor .tbx-sec .elementor-widget.tbx-plan__img,
.elementor .tbx-sec .e-con.tbx-plan--featured:has(.tbx-plan__img) .elementor-widget.tbx-plan__img {
	position: static;
	order: -1;
	width: 72px;
	height: 72px;
	margin: 0 auto;
}

.elementor .tbx-sec .e-con.tbx-plan:has(.tbx-plan__img) :is(.tbx-plan__name, .tbx-plan__note) {
	padding-right: 0;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-plan__img {
		width: 84px;
		height: 84px;
	}

	.elementor .tbx-sec .e-con.tbx-plan:has(.tbx-plan__img) :is(.tbx-plan__name, .tbx-plan__note) {
		padding-right: 0;
	}
}

/* Téléphone : textes des pictos « Ce que contient votre box » sur une seule ligne (retour d'Elsa, 2026-10-12) ;
   les retours à la ligne choisis pour l'ordinateur sont ignorés, et global.js réduit la police du bloc si le texte
   le plus long ne tient pas (même taille pour tous les pictos d'une Box). */
@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item .elementor-widget-image,
	body.tbx-ph-on .elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__item .elementor-widget-image {
		width: 52px;
		height: 50px;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .e-con.tbx-panel__item {
		gap: 12px;
		padding: 10px 12px 10px 10px;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__label .elementor-heading-title {
		overflow: hidden;
		white-space: nowrap;
		text-wrap: nowrap;
	}

	.elementor .tbx-sec .tbx-panel__grid:not(.tbx-panel__grid--steps) .tbx-panel__label br {
		display: none;
	}
}

/* Formules Entraînement : le badge de public (Joueurs / Enseignants) passe en haut de la carte, centré, à la place
   du visuel prévu (retour d'Elsa, 2026-10-13 : les visuels des formules sont retirés). */
.elementor .tbx-sec .tbx-plan .elementor-widget.tbx-plan__pill {
	align-self: center;
	width: auto;
}

.elementor .tbx-sec.tbx-zone--entrainement .e-con.tbx-plan .elementor-widget.tbx-plan__pill {
	order: -1;
}

.elementor .tbx-sec.tbx-zone--entrainement .e-con.tbx-plan--featured .elementor-widget.tbx-plan__pill {
	margin-top: 10px;
}

/* Illustration du bandeau Box décalée vers la gauche (Elsa, 2026-10-16) : la jambe du personnage, en bas à droite,
   dépassait dans l'angle arrondi de l'encart « Ce que contient votre box ». L'image reste 40 px en retrait du bord droit
   de l'encart (rayon 32 px) ; 24 px sur tablette, où la colonne de texte est plus proche. */
@media (min-width: 768px) {
	.elementor .tbx-sec .elementor-widget.tbx-band__img {
		left: -40px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.elementor .tbx-sec .elementor-widget.tbx-band__img {
		left: -24px;
	}
}

/* ======================================================================
 * Retours d'Elsa (2026-10-17)
 * ==================================================================== */

/* « Pourquoi choisir Tennis Box » : Clubs / Enseignants / Joueurs en minuscules (plus de capitales). */
.elementor .tbx-sec .tbx-aud__label .elementor-heading-title {
	text-transform: none;
	letter-spacing: -.01em;
}

@media (max-width: 767px) {
	/* Téléphone : héros sans visuel, seulement le titre, le texte et les arguments. */
	html body .elementor .tbx-sec .e-con.tbx-hero__visual {
		display: none !important;
	}

	/* « Des animations pour tous, » / « tout au long de la saison ! » : retour à la ligne après la virgule. */
	.elementor .tbx-sec.tbx-zone--animation .tbx-products__intro .tbx-h3 .elementor-heading-title span {
		display: block;
	}
}

/* « Pourquoi choisir Tennis Box » : une seule échelle de tailles (retour d'Elsa, 2026-10-17).
   Titre de section 40 px · introduction 17 px · titres des cartes (Gagnez du temps, Clubs…) 19 px ·
   sous-titres des listes 16 px · textes 15 px. Téléphone : 18 / 15 / 14,5 px. */
.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title,
.elementor .tbx-sec .tbx-why__audiences .tbx-aud__label .elementor-heading-title {
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-benefit__text,
.elementor .tbx-sec .tbx-why__audiences .tbx-checks {
	font-size: 15px;
	line-height: 1.5;
}

.elementor .tbx-sec .tbx-why__audiences .tbx-checks strong {
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title,
	.elementor .tbx-sec .tbx-why__audiences .tbx-aud__label .elementor-heading-title {
		font-size: 18px;
	}

	.elementor .tbx-sec .tbx-benefit__text,
	.elementor .tbx-sec .tbx-why__audiences .tbx-checks {
		font-size: 14.5px;
	}

	.elementor .tbx-sec .tbx-why__audiences .tbx-checks strong {
		font-size: 15px;
	}
}

/* Plus de balle posée sur le court des héros Elementor : accueil, Contact, À propos (retour d'Elsa, 2026-10-17). */
.elementor .tbx-sec :is(.tbx-hero__visual, .tbx-ct-hero__visual, .tbx-ap-hero__visual)::after {
	content: none;
}

/* Héros Elementor (À propos, Contact) : illustration détourée posée sur le court, sans cadre, entière (retour d'Elsa,
   2026-10-17) — même rendu que les héros du thème (hero.css, .tbx-cat-hero__photo--cutout). Classe ajoutée au widget Image. */
html body .elementor .tbx-sec .elementor-widget.tbx-hero-cutout {
	inset: 0 2% 14% 2% !important;
	overflow: visible !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

html body .elementor .tbx-sec .elementor-widget.tbx-hero-cutout :is(.elementor-widget-container, img) {
	height: 100% !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

html body .elementor .tbx-sec .elementor-widget.tbx-hero-cutout img {
	background: none !important; /* À propos : l'image avait un fond crème (about-page.css), qui cachait le détourage */
	width: 100% !important;
	max-width: none !important;
	object-fit: contain !important;
	object-position: 50% 100% !important;
}

/* Formules : « au lieu de … » passe sous le prix, centré, pour que le prix reste au milieu de la carte
   (retour d'Elsa, 2026-10-19). */
.elementor .tbx-sec .tbx-plan__prices .elementor-widget.tbx-plan__old {
	flex-basis: 100%;
	text-align: center;
}

/* Hauts de page : plus de badge avec la balle en haut à gauche (« Votre saison commence ici ! », « À propos »,
   « Contact »…) — retour d'Elsa, 2026-10-19. Héros du thème : hero.css. */
.elementor .e-con:is(.tbx-hero, .tbx-ap-hero, .tbx-ct-hero) .elementor-widget.tbx-pill {
	display: none;
}

/* Formules Box Animation : « Affiche seule » a une petite mention (« personnalisable ») au lieu de la pastille
   « x animations au choix » ; elle prend la même hauteur pour que le 30 € s'aligne sur les autres prix (Elsa, 2026-10-19). */
.elementor .tbx-sec.tbx-zone--animation .e-con.tbx-plan > .elementor-widget.tbx-plan__note {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
}

/* Alignement des formules d'une carte à l'autre (Elsa, 2026-10-21), en plus de l'égalisation des hauteurs (global.js) :
   - Communication : la carte « Réseaux sociaux » a une mention au lieu de la pastille → même hauteur que la pastille ;
   - Entraînement : toutes les cartes gardent le petit décalage du haut prévu pour le badge « Le meilleur choix ». */
.elementor .tbx-sec.tbx-zone--communication .e-con.tbx-plan > .elementor-widget.tbx-plan__note {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
}

.elementor .tbx-sec.tbx-zone--entrainement .e-con.tbx-plan .elementor-widget.tbx-plan__pill {
	margin-top: 10px;
}

/* Pastilles de formules sans numéro (« Identité incluse », « personnalisable », « Facebook et Instagram ») :
   texte centré et même hauteur que les pastilles numérotées (Elsa, 2026-10-21). */
.elementor .tbx-sec .tbx-plan__pill .elementor-heading-title:not(:has(span)) {
	justify-content: center;
	min-height: 36px;
	padding: 4px 16px;
}

/* ======================================================================
 * Héros de l'accueil, nouvelle version (Elsa, 2026-11-03) : fond blanc, rayons orange très légers derrière
 * l'illustration (personnages détourés), plus de terrain dessiné, bulles de BD (inc/hero-bubbles.php).
 * ==================================================================== */
.elementor .e-con.tbx-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	grid-template-columns: minmax(440px, 440fr) minmax(0, 800fr); /* illustration agrandie (Elsa, 2026-11-04) ; 440 px mini pour les 2 boutons */
	gap: 32px;
}

.elementor .e-con.tbx-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: min(100%, 1440px); /* calé sur le contenu, pas sur tout l'écran */
	translate: -50% 0;
	z-index: -1;
	/* Projecteurs : rayons qui tombent du haut sur les personnages + halo chaud sur eux (Elsa, 2026-11-03). */
	background:
		radial-gradient(38% 42% at 70% 72%, rgba(255, 214, 170, .55) 0, transparent 70%),
		repeating-conic-gradient(from 180deg at 70% -12%, rgba(203, 82, 35, .13) 0 3.2deg, transparent 3.2deg 9deg);
	/* + fondu sur les côtés : plus de coupure au bord de l'écran (Elsa, 2026-11-04). */
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%), radial-gradient(60% 120% at 70% 0, #000 0, transparent 80%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%), radial-gradient(60% 120% at 70% 0, #000 0, transparent 80%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
	mask-composite: intersect;
	pointer-events: none;
}

html body .elementor .tbx-sec .tbx-hero__visual .e-con.tbx-court {
	display: none;
}

html body .elementor .tbx-sec .e-con.tbx-hero__visual {
	aspect-ratio: auto;
	padding-top: 60px;
	perspective: none;
}

html body .elementor .tbx-sec .tbx-hero__visual .elementor-widget.tbx-hero__photo {
	position: relative !important;
	inset: auto !important;
}

html body .elementor .tbx-sec .tbx-hero__visual .elementor-widget.tbx-hero__photo :is(.elementor-widget-container, img) {
	height: auto !important;
}

/* « Découvrir le catalogue » et « Voir les tarifs » sur la même ligne (Elsa, 2026-11-04). */
@media (min-width: 1025px) {
	.elementor .tbx-sec .e-con.tbx-hero__ctas {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.elementor .tbx-sec .tbx-hero__ctas .tbx-btn--ghost .elementor-button {
		padding-inline: 20px;
	}
}

/* Bulles de l'accueil : phrases longues, sur trois lignes au plus. */
.elementor .tbx-sec .tbx-hero__photo .tbx-bubble {
	max-width: 200px;
}

@media (max-width: 1024px) {
	.elementor .e-con.tbx-hero {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Accueil sur petit portable (1 025–1 300 px) : 3 longues bulles sur une illustration de 440 à 600 px ; la 2e
   part un peu vers la gauche pour laisser la place à la 3e. */
@media (min-width: 768px) and (max-width: 1300px) {
	.elementor .tbx-sec .tbx-hero__photo .tbx-bubble {
		max-width: 138px;
		font-size: 13px;
	}

	.elementor .tbx-sec .tbx-hero__photo .tbx-bubble:nth-child(2) {
		--ax: 60%;
	}
}

@media (min-width: 1025px) and (max-width: 1150px) {
	.elementor .tbx-sec .tbx-hero__photo .tbx-bubble {
		max-width: 124px;
		padding: 6px 9px;
		font-size: 12.5px;
	}

	.elementor .tbx-sec .tbx-hero__photo .tbx-bubble:nth-child(2) {
		--ax: 68%;
	}
}

/* Téléphone : l'illustration est de nouveau visible, sous le texte, avec ses bulles au-dessus (Elsa, 2026-11-04). */
@media (max-width: 767px) {
	.elementor .e-con.tbx-hero::before {
		content: none;
	}

	html body .elementor .tbx-sec.tbx-hero .e-con.tbx-hero__visual {
		display: block !important;
		height: auto;
		margin-top: 0;
		padding-top: 0;
	}

	html body .elementor .tbx-sec .tbx-hero__visual .elementor-widget.tbx-hero__photo .elementor-widget-container {
		display: flex !important;
		flex-direction: column;
	}

	.elementor .tbx-sec .tbx-hero__photo .tbx-bubble {
		max-width: none;
		font-size: 12px;
	}
}

/* ======================================================================
 * « À chacun sa Tennis Box », version C (Elsa, 2026-11-04 ; maquette refonte/maquettes/hero-args/cartes-a-chacun-sa-box.html) :
 * carte blanche, bandeau de couleur en haut (avatars + flèche), illustration dans un médaillon rond à cheval sur le
 * bandeau, titre et phrase centrés, bouton « Découvrir » de la couleur de la Box. Le texte prend plus de place que
 * l'image. Pas de liste de points. Tout en CSS : le contenu Elementor (titre, phrase, image) ne change pas.
 * ==================================================================== */
.elementor .tbx-sec .e-con.tbx-boxcard {
	--band: 128px;
	--medal: 150px;
	align-items: stretch;
	gap: 12px;
	padding: 0 22px 22px;
	background: var(--card-avatars) left 18px top 16px / auto 38px no-repeat, linear-gradient(var(--card) 0 var(--band), #fff var(--band));
	box-shadow: 0 18px 40px -26px rgba(0, 40, 70, .35);
	color: #1a1a1a;
	text-align: center;
}

.elementor .tbx-sec .e-con.tbx-boxcard:hover,
.elementor .tbx-sec .e-con.tbx-boxcard:focus-visible {
	color: #1a1a1a;
}

/* Médaillon : l'image passe en premier, centrée sur le bas du bandeau. */
.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
	order: -1;
	align-self: center;
	width: var(--medal);
	max-width: none !important;
	height: var(--medal);
	margin: calc(var(--band) - var(--medal) / 2) 0 4px;
	padding: 0;
	border: 5px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	background: color-mix(in srgb, var(--card) 16%, #fff);
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .4);
}

.elementor .tbx-sec .tbx-boxcard__img .elementor-widget-container {
	height: 100%;
}

.elementor .tbx-sec .tbx-boxcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* images carrées, cadrées pour le rond (carte-a-chacun-*.webp, 600 × 600) */
	object-position: 50% 25%;
}

.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
	color: var(--card);
	text-align: center;
}

.elementor .tbx-sec .tbx-boxcard__text {
	min-height: 0;
	color: #333;
	font-size: 15px;
	text-align: center;
}

/* Bouton « Découvrir », en bas de la carte (toute la carte reste cliquable). */
.elementor .tbx-sec .e-con.tbx-boxcard::after {
	content: "Découvrir  →";
	display: block;
	margin-top: auto;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--card);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 800;
	white-space: pre;
	transition: filter .2s;
}

.elementor .tbx-sec .e-con.tbx-boxcard:hover::after {
	filter: brightness(1.12);
}

/* Téléphone : grille 2 × 2 compacte (la phrase reste masquée, voir plus haut). */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-boxcard {
		--band: 74px;
		--medal: 96px;
		gap: 8px;
		padding: 0 10px 12px;
		background: var(--card-avatars) left 10px top 10px / auto 22px no-repeat, linear-gradient(var(--card) 0 var(--band), #fff var(--band));
	}

	.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
		align-self: center;
		width: var(--medal);
		height: var(--medal);
		margin: calc(var(--band) - var(--medal) / 2) 0 2px;
		padding: 0;
		border-width: 4px;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
		font-size: 17px;
	}

	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title::after {
		top: 10px;
		right: 10px;
		width: 28px;
		height: 28px;
		font-size: 13px;
	}

	.elementor .tbx-sec .e-con.tbx-boxcard::after {
		padding: 8px 10px;
		font-size: 12.5px;
	}
}

/* Accueil : même ombre nette façon BD que les autres hauts de page (Elsa, 2026-11-04), taille inchangée. */
.elementor .tbx-sec.tbx-hero .tbx-hero__title .elementor-heading-title span {
	text-shadow: 0 6px 0 rgba(0, 40, 70, .12);
}

/* « À chacun sa Tennis Box », variante A (Elsa, 2026-11-05) : le titre passe dans le bandeau de couleur, en blanc, sous
 * les avatars ; le médaillon reste à cheval sur le bas du bandeau ; plus de flèche ronde en haut à droite. Le bandeau
 * est porté par le titre lui-même (fond + avatars), pour suivre sa hauteur s'il passe sur deux lignes. */
.elementor .tbx-sec .e-con.tbx-boxcard {
	background: #fff;
}

.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
	order: -2;
	width: auto;
	max-width: none !important; /* Elementor plafonne les widgets à 100 % : le bandeau doit déborder des marges de la carte */
	margin: 0 -22px;
	padding: 66px 10px calc(var(--medal) / 2 + 14px); /* 10 px sur les côtés : « Box Communication » tient sur une ligne dès 1 025 px */
	background: var(--card-avatars) left 18px top 16px / auto 38px no-repeat, var(--card);
}

.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
	color: #fff;
}

.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title::after {
	content: none;
	display: none;
}

.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
	margin: calc(var(--medal) / -2 - 12px) 0 4px; /* 12 px = espace entre les blocs de la carte */
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
		margin: 0 -10px;
		padding: 38px 10px calc(var(--medal) / 2 + 8px);
		background: var(--card-avatars) left 10px top 10px / auto 22px no-repeat, var(--card);
	}

	/* « Box Communication » passe sur deux lignes : toutes les cartes gardent la place de deux lignes, médaillons alignés. */
	.elementor .tbx-sec .tbx-boxcard__title .elementor-heading-title {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 2.2em; /* 2 lignes à l'interligne 1,1 du téléphone */
	}

	.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
		margin: calc(var(--medal) / -2 - 8px) 0 2px; /* 8 px = espace entre les blocs sur téléphone */
	}
}

/* Macarons des publics centrés au-dessus du titre (Elsa, 2026-11-06) : calés en haut à gauche, ils juraient avec le
 * titre, le médaillon et le bouton, tous centrés. */
.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
	background: var(--card-avatars) center top 16px / auto 38px no-repeat, var(--card);
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
		background: var(--card-avatars) center top 10px / auto 22px no-repeat, var(--card);
	}
}

/* Héros de l'accueil plus aéré (Elsa, 2026-11-05, après le retrait de la ligne « Clubs · Enseignants · Joueurs ») :
 * plus d'espace au-dessus et en dessous (avant : 40 / 64 px sur ordinateur, 36 / 56 px sur téléphone). */
.elementor .e-con.tbx-hero {
	padding-top: 88px;
	padding-bottom: 112px;
}

@media (max-width: 767px) {
	.elementor .e-con.tbx-hero {
		padding-top: 52px;
		padding-bottom: 80px;
	}
}

/* « Pourquoi choisir Tennis Box », variante D (Elsa, 2026-11-06 ; maquette refonte/maquettes/pourquoi/
 * pourquoi-choisir-retravail.html) : retour à la mise en page d'avant la proposition 1 du 5 novembre (titre + intro à
 * gauche, 2 atouts à droite), retravaillée. Atouts sur fond bleu marine, icône 3D qui ressort à gauche ; publics en
 * cartes blanches à en-tête plein de leur couleur (macaron + titre en blanc), coches de leur couleur, pointillé entre
 * les 2 points. Les 2 atouts ajoutés le 5 novembre (« 100 % numérique », « Expertise tennis ») sont masqués : ils
 * restent dans Elementor, on peut les y supprimer. */
.elementor .tbx-sec .e-con.tbx-why__benefits > .e-con:nth-child(n+3) {
	display: none !important;
}

.elementor .tbx-sec .e-con.tbx-benefit {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 6px;
	min-height: 150px;
	padding: 20px 20px 20px 112px;
	border-radius: 24px;
	background: radial-gradient(130% 160% at 0% 50%, #2f6a99 0%, #0b4b76 60%);
	box-shadow: 0 18px 36px -24px rgba(0, 40, 70, .6);
}

.elementor .tbx-sec .tbx-benefit .elementor-widget-image {
	position: absolute;
	top: 50%;
	left: 4px;
	width: 104px;
	margin: 0;
	translate: 0 -50%;
}

.elementor .tbx-sec .tbx-benefit img {
	width: 104px;
	filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .25));
}

.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title {
	font-size: 18px;
	text-wrap: balance;
}

.elementor .tbx-sec .tbx-benefit__text {
	font-size: 14.5px;
}

.elementor .tbx-sec .e-con.tbx-aud {
	gap: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 40px -26px rgba(0, 40, 70, .45);
}

.elementor .tbx-sec .elementor-widget.tbx-aud__label {
	padding: 20px 24px;
	background: var(--aud);
}

.elementor .tbx-sec .tbx-why__audiences .tbx-aud__label .elementor-heading-title {
	color: #fff;
	font-size: 21px;
}

.elementor .tbx-sec .tbx-aud__label .elementor-heading-title::before {
	width: 60px;
	height: 60px;
	border: 3px solid #fff;
	box-shadow: none;
}

.elementor .tbx-sec .elementor-widget.tbx-checks {
	flex: 1;
	padding: 22px 24px 26px;
	border: 1px solid #efe4d8;
	border-top: 0;
	border-radius: 0 0 24px 24px;
}

.elementor .tbx-sec .tbx-why__audiences .tbx-checks li::before {
	background: color-mix(in srgb, var(--aud) 12%, #fff);
	color: var(--aud);
}

.elementor .tbx-sec .tbx-why__audiences .tbx-checks li + li {
	padding-top: 16px;
	border-top: 1px dashed color-mix(in srgb, var(--aud) 25%, #fff);
}

.elementor .tbx-sec .tbx-why__audiences .tbx-checks li + li::before {
	top: 17px;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-benefit {
		min-height: 120px;
		padding: 16px 16px 16px 96px;
	}

	.elementor .tbx-sec .tbx-benefit .elementor-widget-image,
	.elementor .tbx-sec .tbx-benefit img {
		width: 88px;
	}

	.elementor .tbx-sec .e-con.tbx-aud {
		padding: 0;
	}

	.elementor .tbx-sec .elementor-widget.tbx-aud__label {
		padding: 16px 20px;
	}

	.elementor .tbx-sec .tbx-why__audiences .tbx-aud__label .elementor-heading-title {
		font-size: 19px;
	}

	.elementor .tbx-sec .tbx-aud__label .elementor-heading-title::before {
		width: 52px;
		height: 52px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-checks {
		padding: 18px 20px 22px;
	}
}

/* « Ce que contient votre box » Animation et Entraînement : titres sous les pictos dans le même gris que la phrase
 * d'introduction de la Box (« Dynamisez votre club… », .tbx-intro) au lieu de la couleur de la Box (Elsa, 2026-11-05). */
.elementor .tbx-sec:is(.tbx-zone--animation, .tbx-zone--entrainement) .tbx-panel__label .elementor-heading-title {
	color: #3e5063;
}

/* Accueil, haut de page + « À chacun sa Tennis Box » : tailles harmonisées (Elsa, 2026-11-06). Sous-titre de la section
   à la même taille que la phrase du haut de page ; sélecteur « Vous êtes » mis en valeur (libellé, logos et noms plus
   grands). Marges des cartes calculées pour que « Enseignant » tienne de 820 à 1 920 px (cartes étroites de 1 201 à
   1 439 px). Sur téléphone : libellé et noms un peu plus grands, cartes inchangées. */
@media (min-width: 768px) {
	.elementor .tbx-sec .tbx-boxes__sub {
		font-size: 18px;
		font-weight: 400;
		line-height: 1.55;
	}

	.elementor .tbx-sec .tbx-picker__label .elementor-heading-title {
		font-size: 22px;
		font-weight: 900;
		letter-spacing: -.02em;
	}

	.elementor .tbx-sec .e-con.tbx-picker {
		gap: 14px;
	}

	.elementor .tbx-sec .e-con.tbx-pick {
		gap: 4px;
		min-height: 88px;
		padding: 12px 30px 12px 78px;
		background-position: left 12px center;
		background-size: 56px 56px;
	}

	.elementor .tbx-sec .tbx-pick__title .elementor-heading-title {
		font-size: clamp(16px, 1.35vw, 19px);
		font-weight: 900;
		letter-spacing: -.01em;
	}

	.elementor .tbx-sec .tbx-pick__sub .elementor-heading-title {
		font-size: 14px;
	}

	/* Coche de la carte choisie : dans le coin, pour ne pas couvrir le nom. */
	.elementor .tbx-sec .tbx-pick.is-active .tbx-pick__title .elementor-heading-title::after {
		top: 8px;
		right: 8px;
		width: 20px;
		height: 20px;
		margin-top: 0;
		font-size: 12px;
	}
}

@media (min-width: 1201px) and (max-width: 1439px) {
	.elementor .tbx-sec .e-con.tbx-pick {
		padding: 12px 20px 12px 62px;
		background-position: left 9px center;
		background-size: 46px 46px;
	}
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-picker__label .elementor-heading-title {
		font-size: 18px;
		font-weight: 900;
	}

	.elementor .tbx-sec .tbx-pick__title .elementor-heading-title {
		font-size: 15.5px;
	}
}

/* « Pourquoi choisir Tennis Box » (Elsa, 2026-11-06) : titre à la même taille que « À chacun sa Tennis Box » (.tbx-h2),
   et titres des atouts (« Optimisez vos dépenses », « Gagnez du temps »…) à la taille des publics (« Clubs de tennis »). */
.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
	font-size: clamp(34px, 3.4vw, 48px);
}

.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title {
	font-size: 21px;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
		font-size: 38px; /* comme « À chacun sa Tennis Box » sur téléphone */
	}

	.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title {
		font-size: 19px;
	}
}

/* « Pourquoi choisir Tennis Box » sur une seule ligne (Elsa, 2026-11-06) : à partir de 1 400 px, la colonne du titre
   s'élargit à 620 px et le titre ne passe plus à la ligne. Titres des atouts sur deux lignes (« Gagnez du / temps »,
   comme « Optimisez vos / dépenses ») grâce à une largeur maximale. Sur téléphone, la place manque : le titre reste sur
   deux lignes. */
@media (min-width: 1400px) {
	.elementor .tbx-sec .e-con.tbx-why__head {
		grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	}

	.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
		white-space: nowrap;
	}
}

.elementor .tbx-sec .tbx-benefit__title .elementor-heading-title {
	max-width: 8.2em;
}

/* Petits portables (1 201–1 399 px) : les atouts passent l'un sous l'autre dans une colonne plus étroite, ce qui laisse la
   place au titre « Pourquoi choisir Tennis Box » sur une ligne (Elsa, 2026-11-06). */
@media (min-width: 1201px) and (max-width: 1399px) {
	.elementor .tbx-sec .e-con.tbx-why__head {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	}

	.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
		white-space: nowrap;
	}

	.elementor .tbx-sec .e-con.tbx-why__benefits {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Formules de la Box Entraînement (accueil), proposition A (Elsa, 2026-11-06 ; maquette
   refonte/maquettes/hero-args/formules-entrainement-3-propositions.html) : deux panneaux de couleur, un par public.
   Rouge = joueurs (cours particuliers), orange = enseignants (cours collectifs), comme sur le Blog. Les macarons
   « Joueurs » / « Enseignants » des cartes restent. Les panneaux sont les ::before / ::after de la grille (CSS seul) ;
   colonnes : marge 18 | carte | 16 | carte | marge 18 | écart 24 | marge 18 | carte | 16 | carte | marge 18. */
.elementor .tbx-sec .e-con.tbx-plan:has(.tbx-plan__pill--ens) {
	--c: #cb5223;
	--c2: #cb5223;
	--tint: #fbeee6;
	--soft: #ffe1c9;
	--line: #f2d3bf;
	--badge-bg: #ffe1c9;
	--badge-fg: #cb5223;
}

@media (min-width: 768px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) {
		grid-template-columns: 18px minmax(0, 1fr) 16px minmax(0, 1fr) 18px 24px 18px minmax(0, 1fr) 16px minmax(0, 1fr) 18px;
		grid-template-rows: 60px auto 20px;
		gap: 0;
		padding-top: 0;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before,
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		position: relative;
		top: auto;
		left: auto;
		z-index: 0;
		display: block;
		width: auto;
		height: auto;
		margin: 0;
		padding: 18px 16px 0;
		border: 2px solid #f1caca;
		border-radius: 26px;
		background: #fbe9e9;
		color: #b92121;
		font-family: var(--tbx-font);
		font-size: 17px;
		font-weight: 900;
		letter-spacing: -.01em;
		line-height: 1.2;
		text-align: center;
		opacity: 1;
		mix-blend-mode: normal;
		pointer-events: none;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before {
		content: "Pour les joueurs · Cours particuliers";
		grid-column: 1 / 6;
		grid-row: 1 / 4;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		content: "Pour les enseignants · Cours collectifs";
		grid-column: 7 / 12;
		grid-row: 1 / 4;
		border-color: #f2d3bf;
		background: #fbeee6;
		color: #cb5223;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan {
		z-index: 1;
		grid-row: 2;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(1) { grid-column: 2; }
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(2) { grid-column: 4; }
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(3) { grid-column: 8; }
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(4) { grid-column: 10; }
}

/* Un seul badge par public (Elsa, 2026-11-07) : le macaron passe devant le titre du panneau, et les badges
   « Joueurs » / « Enseignants » des cartes sont masqués (ils restent sur téléphone, où il n'y a pas de panneau).
   Macaron = image de fond (32 px) placée juste avant le titre centré : le titre est décalé de 21 px à droite
   (padding-left 58 px) et le macaron est à « 50 % - 5 px - moitié de la largeur du titre » (titre en Inter 900
   17 px : 299 px côté joueurs, 321 px côté enseignants). Si le texte d'un titre change, recalculer ce décalage. */
@media (min-width: 768px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before,
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		padding-left: 58px;
		background-repeat: no-repeat;
		background-size: 32px 32px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before {
		background-image: url(../img/m-joueurs-badge.svg);
		background-position: left calc(50% - 155px) top 10px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		background-image: url(../img/m-ens-badge.svg);
		background-position: left calc(50% - 165px) top 10px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) .elementor-widget.tbx-plan__pill {
		display: none;
	}
}

/* Tablette : les deux panneaux l'un sous l'autre. */
@media (min-width: 768px) and (max-width: 1200px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) {
		grid-template-columns: 18px minmax(0, 1fr) 16px minmax(0, 1fr) 18px;
		grid-template-rows: 60px auto 20px 24px 60px auto 20px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		grid-column: 1 / 6;
		grid-row: 5 / 8;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(3) { grid-column: 2; grid-row: 6; }
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) > .tbx-plan:nth-child(4) { grid-column: 4; grid-row: 6; }
}

/* Téléphone (Elsa, 2026-11-06) : « À chacun sa Tennis Box » et « Pourquoi choisir Tennis Box » réduits à 28 px,
   même taille pour les deux, pour qu'ils prennent moins de place sur l'écran. */
@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-boxes__intro .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec .tbx-why__intro .tbx-h2 .elementor-heading-title {
		font-size: 28px;
	}
}

/* Box Organisation (accueil) : « Le passage de niveau clé en main : évaluer, suivre et valoriser chaque enfant. » sur une
   seule ligne (Elsa, 2026-11-07). Possible à partir de 1 400 px (taille réduite à 18-19 px) ; en dessous, deux lignes. */
@media (min-width: 1400px) {
	.elementor .tbx-sec.tbx-band--organisation .tbx-band__sub .elementor-heading-title {
		font-size: clamp(18px, 1.28vw, 19px);
		white-space: nowrap;
	}
}

/* Phrase sous le titre des Box (accueil) : lignes équilibrées, jamais un mot seul à la ligne (« enfant. », Elsa
   2026-11-08). Sur grand écran, la phrase Organisation reste sur une ligne (bloc du 2026-11-07). */
.elementor .tbx-sec .tbx-band__sub .elementor-heading-title {
	text-wrap: balance;
}

/* Formules Entraînement (accueil) : titres des deux panneaux agrandis (Elsa, 2026-11-08) — texte 17 → 21 px, macaron
   32 → 44 px. Même principe que le bloc « Un seul badge par public » : titre décalé de 27 px à droite
   (padding-left 70 px = 16 + 44 + 10) et macaron à « 50 % - (moitié de la largeur du titre + 5 px) » ; titres en Inter 900
   21 px : 370 px côté joueurs, 396 px côté enseignants. Si le texte change, recalculer ces deux décalages. */
@media (min-width: 768px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) {
		grid-template-rows: 72px auto 20px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before,
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		padding-top: 20px;
		padding-left: 70px;
		background-size: 44px 44px;
		font-size: 21px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before {
		background-position: left calc(50% - 190px) top 10px;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		background-position: left calc(50% - 203px) top 10px;
	}
}

@media (min-width: 768px) and (max-width: 1200px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou) {
		grid-template-rows: 72px auto 20px 24px 72px auto 20px;
	}
}

/* Accueil : badges « Le meilleur choix » sur fond blanc (Elsa, 2026-11-08) ; texte de la couleur de la Box (il était blanc sur blanc
   dans la zone Animation, 2026-11-09). */
.elementor .tbx-sec .tbx-plan__badge .elementor-heading-title {
	background: #fff;
	color: var(--c);
	box-shadow: 0 4px 12px -6px rgba(0, 30, 50, .4);
}

/* Accueil, formules Entraînement : « Pour les joueurs » en rouge / « Pour les enseignants » en orange, « · Cours … » en noir.
   Le texte est un pseudo-élément : dégradé à arrêt net, découpé dans le texte (couche 2) ; le macaron reste en couche 1.
   Le texte est centré dans la zone de contenu (centre = 50 % + 27 px) : jonction = 50 % + 27 px - largeur du titre / 2 + largeur du
   début (Inter 900 21 px : titres de 370 et 396 px ; « Pour les joueurs » 166,5 px, « Pour les enseignants » 216,6 px). Si le texte change, recalculer. */
@media (min-width: 768px) {
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before,
	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		background-repeat: no-repeat;
		background-size: 44px 44px, 100% 100%;
		-webkit-background-clip: border-box, text;
		background-clip: border-box, text;
		-webkit-text-fill-color: transparent;
		color: transparent;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::before {
		background-image: url(../img/m-joueurs-badge.svg), linear-gradient(90deg, #b92121 calc(50% + 8.5px), #111 calc(50% + 8.5px));
		background-position: left calc(50% - 190px) top 10px, 0 0;
	}

	.elementor .tbx-sec .e-con.tbx-plans__grid:has(.tbx-plan__pill--ens):has(.tbx-plan__pill--jou)::after {
		background-image: url(../img/m-ens-badge.svg), linear-gradient(90deg, #cb5223 calc(50% + 45.6px), #111 calc(50% + 45.6px));
		background-position: left calc(50% - 203px) top 10px, 0 0;
	}
}

/* « À chacun sa Tennis Box » : le bandeau de couleur des cartes reprend le décor des tuiles du catalogue (Elsa, 2026-11-09) :
 * même dégradé (éclairci en haut à droite, assombri en bas) et mêmes petits points blancs, estompés vers le bas-gauche. */
.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--card-avatars) center top 16px / auto 38px no-repeat, radial-gradient(120% 140% at 85% 0, var(--g1, color-mix(in srgb, var(--card) 78%, #fff)), var(--card) 55%, var(--g3, color-mix(in srgb, var(--card) 70%, #000)));
}

.elementor .tbx-sec .elementor-widget.tbx-boxcard__title::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(70% 120% at 100% 0, #000, transparent 75%);
	mask: radial-gradient(70% 120% at 100% 0, #000, transparent 75%);
	pointer-events: none;
}

@media (max-width: 767px) {
	.elementor .tbx-sec .elementor-widget.tbx-boxcard__title {
		background: var(--card-avatars) center top 10px / auto 22px no-repeat, radial-gradient(120% 140% at 85% 0, var(--g1, color-mix(in srgb, var(--card) 78%, #fff)), var(--card) 55%, var(--g3, color-mix(in srgb, var(--card) 70%, #000)));
	}
}

/* Le médaillon reste au-dessus du bandeau (le bandeau est maintenant positionné pour porter les points). */
.elementor .tbx-sec .elementor-widget.tbx-boxcard__img {
	position: relative;
	z-index: 2;
}

/* Accueil : même effet que sur le hero Contact (Elsa, 2026-11-09) — bouton contour qui se remplit de bleu marine au
   survol, boutons qui se soulèvent, puis s'enfoncent au clic. */
.home .elementor .tbx-sec .tbx-btn .elementor-button {
	cursor: pointer;
	transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.home .elementor .tbx-sec .tbx-btn--ghost .elementor-button:hover,
.home .elementor .tbx-sec .tbx-btn--ghost .elementor-button:focus-visible {
	transform: translateY(-2px);
	border-color: var(--tbx-navy);
	background: var(--tbx-navy);
	color: #fff;
	box-shadow: 0 14px 26px -14px rgba(0, 40, 70, .55);
}

.home .elementor .tbx-sec .tbx-btn--primary .elementor-button:hover,
.home .elementor .tbx-sec .tbx-btn--primary .elementor-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 32px -12px rgba(203, 82, 35, .75);
}

.home .elementor .tbx-sec .tbx-btn .elementor-button:active {
	transform: translateY(1px) scale(.98);
	box-shadow: 0 4px 10px -6px rgba(0, 40, 70, .4);
}

.home .elementor .tbx-sec .tbx-btn .elementor-button:focus-visible {
	outline: 3px solid rgba(0, 75, 118, .45);
	outline-offset: 3px;
}

/* « À chacun sa Tennis Box » : le bouton « Découvrir » des cartes a, comme les autres boutons du site, la flèche dans un
   rond blanc à droite et le texte centré (Elsa, 2026-11-09). Le rond est posé par le ::before de la carte (le bouton lui-
   même est son ::after) ; il se place sur le bouton, calé en bas à droite. */
html body .elementor .tbx-sec .e-con.tbx-boxcard::after {
	content: "Découvrir";
	padding: 11px 52px;
	text-align: center;
	white-space: normal;
}

html body .elementor .tbx-sec .e-con.tbx-boxcard::before {
	content: "→" !important;
	position: absolute !important;
	inset: auto 29px 29px auto !important;
	z-index: 2;
	display: grid !important;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff !important;
	color: var(--card);
	font-family: var(--tbx-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	opacity: 1 !important;
	mix-blend-mode: normal !important;
	pointer-events: none;
	transition: transform .2s;
}

html body .elementor .tbx-sec .e-con.tbx-boxcard:hover::before {
	transform: translateX(2px);
}

@media (max-width: 767px) {
	html body .elementor .tbx-sec .e-con.tbx-boxcard::after {
		padding: 8px 34px;
	}

	html body .elementor .tbx-sec .e-con.tbx-boxcard::before {
		inset: auto 16px 18px auto !important;
		width: 24px;
		height: 24px;
		font-size: 13px;
	}
}

/* Accueil : les 4 sections de présentation des Box (bandeaux Animation, Communication, Entraînement, Organisation) en dégradé de
   leur couleur, avec les petits points BD des tuiles du catalogue (Elsa, 2026-11-09). Animation : mêmes teintes que les FAQ
   (orange vif → #cb5223 → #9c3a14) ; les autres : couleur éclaircie en haut à droite, assombrie en bas. */
.elementor .e-con.tbx-sec.tbx-band--animation {
	--g1: #e8794a;
	--g3: #9c3a14;
}

html body .elementor .e-con.tbx-sec:is(.tbx-band--animation, .tbx-band--communication, .tbx-band--entrainement, .tbx-band--organisation) {
	isolation: isolate;
	background: radial-gradient(120% 140% at 85% 0, var(--g1, color-mix(in srgb, var(--c) 78%, #fff)), var(--c) 55%, var(--g3, color-mix(in srgb, var(--c) 70%, #000)));
}

html body .elementor .e-con.tbx-sec:is(.tbx-band--animation, .tbx-band--communication, .tbx-band--entrainement, .tbx-band--organisation)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 1;
	mix-blend-mode: normal;
	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;
}

/* Accueil simplifié (2026-11-13) : les « Formules » de chaque Box font doublon avec la page Tarifs → masquées
 * sur l'accueil uniquement (elles restent sur les pages Box). */
.home .elementor .tbx-sec .e-con.tbx-plans {
	display: none !important;
}

/* ---------- Accueil : choix du profil en onglets à cocher (2026-11-13, v4, variante C épurée) ----------
 * Barre blanche, 3 onglets (case à cocher + badge + nom ; le badge est peint sur le calque ::after pour rester
 * visible quand l'onglet est coché). Onglet coché = rempli de la couleur du profil,
 * la case se coche en rebondissant (Elsa : pas de biais ni de tableau de score). Les Box hors profil s'estompent dessous (sections.js, inchangé).
 * Textes posés en CSS : pas de ré-import Elementor. */
.home .elementor .tbx-sec .e-con.tbx-boxes__head {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	gap: 22px;
	text-align: center;
}

.home .elementor .tbx-sec .e-con.tbx-boxes__intro {
	align-items: center;
}

.home .elementor .tbx-sec .tbx-boxes__sub {
	display: none;
}

.home .elementor .tbx-sec .e-con.tbx-picker {
	width: 100%;
	max-width: 1000px;
	gap: 18px;
}

.home .elementor .tbx-sec .e-con.tbx-picker__top {
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.home .elementor .tbx-sec .tbx-picker__label .elementor-heading-title {
	font-size: 0;
	text-align: center;
}

.home .elementor .tbx-sec .tbx-picker__label .elementor-heading-title::before {
	content: "Sélectionnez votre profil, ";
	color: var(--tbx-navy);
	font-size: clamp(24px, 2.6vw, 36px);
	font-weight: 900;
	letter-spacing: -.02em;
}

.home .elementor .tbx-sec .tbx-picker__label .elementor-heading-title::after {
	content: "et laissez-vous guider !";
	color: var(--tbx-orange);
	font-size: clamp(24px, 2.6vw, 36px);
	font-weight: 900;
	letter-spacing: -.02em;
}

/* La barre d'onglets. */
.home .elementor .tbx-sec .e-con.tbx-picker__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 8px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 75, 118, .14);
}

/* Consigne sous le tableau. */
.home .elementor .tbx-sec .e-con.tbx-picker__list::after {
	content: "\2193  Votre profil met en avant les Box faites pour vous";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 14px);
	color: var(--tbx-ink-2);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.home .elementor .tbx-sec .e-con.tbx-picker {
	margin-bottom: 30px;
}

/* Un onglet : fond (::after), case à cocher (::before), badge en image de fond. */
.home .elementor .tbx-sec .e-con.tbx-pick {
	position: relative;
	isolation: isolate;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0;
	min-height: 78px;
	padding: 8px 14px 8px 124px;
	border: 0;
	border-radius: 0;
	--badge: url(../img/m-club.png);
	--badge-pos: left 60px center / 54px 54px no-repeat;
	--halo-x: 87px;
	--halo-r: 29px;
	background: none;
	box-shadow: none;
	text-align: left;
	transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}

.home .elementor .tbx-sec .e-con.tbx-pick--club {
	--pick: #3079aa;
}

.home .elementor .tbx-sec .e-con.tbx-pick--ens {
	--badge: url(../img/m-ens.png);
}

.home .elementor .tbx-sec .e-con.tbx-pick--jou {
	--badge: url(../img/m-joueurs.png);
}

.home .elementor .tbx-sec .e-con.tbx-pick::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 14px;
	background: var(--badge) var(--badge-pos), transparent;
	transition: background-color .25s, box-shadow .25s;
}

.home .elementor .tbx-sec .e-con.tbx-pick::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border: 3px solid var(--pick);
	border-radius: 8px;
	background: transparent;
	color: var(--pick);
	font-size: 20px;
	font-weight: 900;
	line-height: 24px;
	text-align: center;
	transition: background .2s;
}

.home .elementor .tbx-sec .e-con.tbx-pick:hover {
	transform: translateY(-3px);
}

.home .elementor .tbx-sec .e-con.tbx-pick:hover::after {
	background-color: var(--tbx-cream);
}

.home .elementor .tbx-sec .e-con.tbx-pick.is-active::after {
	/* Halo blanc derrière le macaron (Elsa : il se confondait avec la couleur de l'onglet). */
	background:
		var(--badge) var(--badge-pos),
		radial-gradient(circle at var(--halo-x) 50%, #fff 0 var(--halo-r), rgba(255, 255, 255, .4) calc(var(--halo-r) + 1px) calc(var(--halo-r) + 6px), transparent calc(var(--halo-r) + 7px)),
		var(--pick);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.home .elementor .tbx-sec .e-con.tbx-pick.is-active::before {
	content: "✓";
	background: #fff;
	animation: tb-check .45s cubic-bezier(.3, 1.8, .5, 1);
}

@keyframes tb-check {
	0% { scale: .4; }
	60% { scale: 1.3; }
	100% { scale: 1; }
}

.home .elementor .tbx-sec .tbx-pick__title .elementor-heading-title {
	color: var(--pick);
	font-size: clamp(19px, 1.7vw, 23px);
	font-weight: 900;
	transition: color .2s;
}

.home .elementor .tbx-sec .tbx-pick.is-active .tbx-pick__title .elementor-heading-title,
.home .elementor .tbx-sec .tbx-pick.is-active .tbx-pick__sub .elementor-heading-title {
	color: #fff;
}

.home .elementor .tbx-sec .tbx-pick.is-active .tbx-pick__title .elementor-heading-title::after {
	content: none;
}

.home .elementor .tbx-sec .tbx-pick__sub .elementor-heading-title {
	color: var(--tbx-mute-2);
	font-size: 13px;
	font-weight: 500;
}

.home .elementor .tbx-sec .tbx-picker__reset,
.home .elementor .tbx-sec .tbx-picker__reset:hover {
	font-size: 14px;
}

/* Téléphone : les 3 onglets empilés, consigne au-dessus de la case. */
@media (max-width: 767px) {
	.home .elementor .tbx-sec .e-con.tbx-picker__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 14px;
	}

	.home .elementor .tbx-sec .e-con.tbx-picker__list::after {
		font-size: 13px;
	}

	.home .elementor .tbx-sec .e-con.tbx-pick {
		min-height: 66px;
		padding-left: 112px;
		--badge-pos: left 56px center / 46px 46px no-repeat;
		--halo-x: 79px;
		--halo-r: 25px;
	}

	.home .elementor .tbx-sec .tbx-picker__label .elementor-heading-title::before,
	.home .elementor .tbx-sec .tbx-picker__label .elementor-heading-title::after {
		display: block;
		font-size: 23px;
	}
}

/* « Qui êtes-vous ? » : variante F (Elsa, 2026-11-16) — plus de barre blanche : trois pastilles flottantes à ombre légère ;
   la pastille choisie se remplit de la couleur du profil (halo blanc derrière le macaron, déjà en place). */
.home .elementor .tbx-sec .e-con.tbx-picker__list {
	gap: 16px;
	padding: 0;
	background: none;
	box-shadow: none;
}

.home .elementor .tbx-sec .e-con.tbx-pick::after {
	border-radius: 999px;
	background: var(--badge) var(--badge-pos), #fff;
	box-shadow: 0 8px 20px -10px rgba(60, 20, 5, .4);
}

.home .elementor .tbx-sec .e-con.tbx-pick::before {
	left: 22px;
}

.home .elementor .tbx-sec .e-con.tbx-pick:not(.is-active):hover::after {
	/* Survol : le fond reste blanc, la pastille prend un contour de la couleur de son profil (Elsa, 2026-11-16). */
	background-color: #fff;
	box-shadow: 0 0 0 3px var(--pick), 0 10px 22px -10px rgba(60, 20, 5, .4);
}

.home .elementor .tbx-sec .e-con.tbx-pick.is-active:hover::after {
	background-color: var(--pick);
}

.home .elementor .tbx-sec .e-con.tbx-pick.is-active::after {
	box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--pick) 75%, #000);
}

@media (max-width: 767px) {
	.home .elementor .tbx-sec .e-con.tbx-picker__list {
		gap: 12px;
		padding: 0;
	}
}

/* ---------- Bandeau « 3 étapes » des Box (Communication, Organisation), v2 (Elsa, 2026-11-16) ----------
 * Trois cartes reliées par des flèches, dans la seule couleur de la Box (--c) pour ne pas surcharger :
 * 1 · Votre club aujourd'hui (teinte pâle, croix) → 2 · Avec Tennis Box (blanc, cadre, coches) → 3 · Le résultat
 * (plein, flèches montantes). Titres et listes : inc/hero-bubbles.php (tennisbox_home_steps).
 * Les ::before d'Elementor sont des calques absolus : on les remet dans le flux (position static). */
.elementor .tbx-sec .e-con.tbx-panel__grid--steps {
	gap: 56px;
	align-items: stretch;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item {
	justify-content: flex-start;
	gap: 6px;
	padding: 22px 24px 24px;
	border-radius: 18px;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item::before {
	position: static;
	inset: auto;
	width: auto;
	height: auto;
	order: -1;
	align-self: flex-start;
	margin-bottom: 4px;
	padding: 5px 12px;
	border-radius: 99px;
	font-family: var(--tbx-font);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
	opacity: 1;
	mix-blend-mode: normal;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:nth-child(1) {
	background: color-mix(in srgb, var(--c) 7%, #fff);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, #fff);
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:nth-child(1)::before {
	content: "1 · Votre club aujourd’hui";
	background: color-mix(in srgb, var(--c) 14%, #fff);
	color: var(--c);
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:nth-child(2) {
	background: #fff;
	box-shadow: inset 0 0 0 3px var(--c), 0 12px 28px color-mix(in srgb, var(--c) 18%, transparent);
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:nth-child(2)::before {
	content: "2 · Avec Tennis Box";
	background: var(--c);
	color: #fff;
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:last-child {
	background: var(--c);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 30%, transparent);
}

.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:last-child::before {
	content: "3 · Le résultat";
	background: #fff;
	color: var(--c);
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__label .elementor-heading-title {
	color: var(--c);
	font-size: 20px;
}

/* Listes */
.elementor .tbx-sec .tbx-steps-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 15px;
	line-height: 1.4;
}

.elementor .tbx-sec .tbx-steps-list li {
	position: relative;
	margin: 0;
	padding-left: 26px;
}

.elementor .tbx-sec .tbx-steps-list li::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.elementor .tbx-sec .tbx-panel__item:nth-child(1) .tbx-steps-list li::before {
	content: "✕";
	background: color-mix(in srgb, var(--c) 16%, #fff);
	color: var(--c);
}

.elementor .tbx-sec .tbx-panel__item:nth-child(2) .tbx-steps-list li::before {
	content: "✓";
	background: var(--c);
	color: #fff;
}

.elementor .tbx-sec .tbx-panel__item:last-child .tbx-steps-list {
	color: rgba(255, 255, 255, .92);
}

.elementor .tbx-sec .tbx-panel__item:last-child .tbx-steps-list li::before {
	content: "↗";
	background: #fff;
	color: var(--c);
}

/* Flèches entre les cartes */
.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:not(:last-child)::after {
	right: -48px;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	background: var(--c);
	font-size: 18px;
}

@media (max-width: 1024px) {
	.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item:not(:last-child)::after {
		right: auto;
		bottom: -48px;
		margin: 0 0 0 -20px;
	}
}

/* Bandeau « 3 étapes » de la Box Organisation : chaque ligne tient sur une seule ligne (Elsa, 2026-11-17). */
@media (min-width: 1025px) {
	.elementor .tbx-sec .tbx-panel__grid--steps:has(.elementor-element-04659fc) .tbx-steps-list li {
		white-space: nowrap;
		font-size: 14.5px;
	}
}

/* Bandeaux « 3 étapes » (Elsa, 2026-11-17) : croix rouges, étoiles jaunes comme sur la page Tarifs Entraînement
 * (pastille jaune, étoile marine), flèches vertes. */
.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:nth-child(1) .tbx-steps-list li::before {
	background: #b92121;
	color: #fff;
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:nth-child(2) .tbx-steps-list li::before {
	content: "★";
	background: #ffd23f;
	color: var(--tbx-navy, #004b76);
}

.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:last-child .tbx-steps-list li::before {
	background: #fff;
	color: #1ea54c;
}

/* Flèches ↗ : pastille verte, flèche blanche (Elsa, 2026-11-17). Sur la carte verte d'Organisation, vert foncé
 * cerclé de blanc pour bien se détacher du fond. */
.elementor .tbx-sec .tbx-panel__grid--steps .tbx-panel__item:last-child .tbx-steps-list li::before {
	background: #1ea54c;
	color: #fff;
}

.elementor .tbx-sec .tbx-panel__grid--steps:has(.elementor-element-04659fc) .tbx-panel__item:last-child .tbx-steps-list li::before {
	background: #0b4d26;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

/* Accueil, téléphone : haut de page compact (Elsa, 2026-11-17) pour que l'illustration tienne entière dans le premier
 * écran : marges réduites, titre plus petit, boutons côte à côte, illustration un peu plus étroite. */
@media (max-width: 767px) {
	.home .elementor .e-con.tbx-hero {
		padding-top: 18px !important;
		padding-bottom: 28px !important;
		gap: 12px !important;
	}

	.home .elementor .tbx-hero .e-con.tbx-hero__content {
		gap: 12px !important;
	}

	.home .elementor .tbx-hero .tbx-hero__title .elementor-heading-title {
		font-size: 27px !important;
		line-height: 1.08 !important;
	}

	.home .elementor .tbx-hero .tbx-hero__title .elementor-heading-title span {
		font-size: 58px !important;
		line-height: .95 !important;
	}

	.home .elementor .tbx-hero .tbx-hero__title .elementor-heading-title::after {
		margin-top: 12px !important;
	}

	.home .elementor .tbx-hero .tbx-hero__lead,
	.home .elementor .tbx-hero .tbx-hero__lead p {
		margin: 0 !important;
		font-size: 15px !important;
		line-height: 1.45 !important;
	}

	.home .elementor .tbx-hero .e-con.tbx-hero__ctas {
		flex-direction: row !important;
		gap: 8px !important;
	}

	.home .elementor .tbx-hero .tbx-hero__ctas > * {
		flex: 1 1 0 !important;
		min-width: 0 !important;
	}

	.home .elementor .tbx-hero .tbx-hero__ctas > .tbx-btn--primary {
		flex-grow: 1.6 !important;
	}

	.home .elementor .tbx-hero .tbx-hero__ctas .tbx-btn a {
		justify-content: center !important;
		width: 100% !important;
		height: 48px !important;
		min-height: 48px !important;
		padding: 0 12px !important;
		font-size: 13.5px !important;
		white-space: nowrap !important;
	}

	.home .elementor .tbx-hero .tbx-hero__ctas .tbx-btn--primary a {
		justify-content: flex-start !important;
		padding-right: 44px !important;
	}

	.home .elementor .tbx-hero .tbx-hero__ctas .tbx-btn--primary .elementor-button-content-wrapper::after {
		right: 6px !important;
		width: 34px !important;
		height: 34px !important;
	}

	.home .elementor .tbx-hero .e-con.tbx-hero__visual {
		max-width: 300px !important;
		margin: 0 auto !important;
	}
}

/* Téléphone (Elsa, 2026-11-18) : le macaron s'écarte de la case à cocher (4 px → 14 px). */
@media (max-width: 767px) {
	.home .elementor .tbx-sec .e-con.tbx-pick {
		padding-left: 124px;
		--badge-pos: left 66px center / 46px 46px no-repeat;
		--halo-x: 89px;
	}
}

/* Bandeaux « 3 étapes » sur téléphone (Elsa, 2026-11-18) : chaque ligne tient sur une seule ligne, comme sur
 * ordinateur. Marges intérieures réduites et taille de texte qui suit la largeur de l'écran (15 px au maximum). */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-panel:has(.tbx-panel__grid--steps) {
		padding-right: 12px;
		padding-left: 12px;
	}

	.elementor .tbx-sec .tbx-panel__grid--steps .e-con.tbx-panel__item {
		padding-right: 14px;
		padding-left: 16px;
	}

	.elementor .tbx-sec .tbx-panel__grid--steps .tbx-steps-list li {
		font-size: min(15px, calc((100vw - 122px) / 18.9));
		white-space: nowrap;
	}
}

/* « À chacun sa Tennis Box » mis en valeur sur téléphone seulement (Elsa, 2026-11-18 ; ordinateur inchangé), dans le
 * style du titre du haut de page : plus grand, « Tennis Box » en orange sur sa ligne avec la même ombre, trait orange. */
@media (max-width: 767px) {
	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title {
		font-size: 30px;
		font-weight: 900;
		letter-spacing: -.035em;
		line-height: 1.05;
		text-align: center;
	}

	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title span {
		display: block;
		color: var(--tbx-orange, #cb5223);
		font-size: 46px;
		line-height: 1;
		text-shadow: 0 6px 0 rgba(0, 40, 70, .12);
	}

	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title::after {
		content: "";
		display: block;
		width: 72px;
		height: 6px;
		margin: 12px auto 0;
		border-radius: 99px;
		background: var(--tbx-orange, #cb5223);
	}
}

/* Accueil sur téléphone (Elsa, 2026-11-18) : illustrations des 4 sections Box réduites (340 → 250 px de large), centrées,
 * toujours posées sur l'encart du bandeau. Ordinateur inchangé. */
@media (max-width: 767px) {
	.home .elementor .tbx-sec .elementor-widget.tbx-band__img {
		max-width: 250px;
		margin-right: auto;
		margin-left: auto;
		justify-self: center;
	}
}

/* Accueil, Box Entraînement (Elsa, 2026-11-19) : « Pour les joueurs : » / « Pour les enseignants : » sur leur propre
 * ligne sur téléphone seulement (inc/hero-bubbles.php). */
@media (min-width: 768px) {
	.home .tbx-band__features .tbx-band-br {
		display: none;
	}
}

/* « À chacun sa Tennis Box » sur ordinateur (Elsa, 2026-11-19) : même présentation que sur téléphone (« Tennis Box »
 * en orange, plus grand, avec l'ombre, trait orange dessous), mais sur UNE seule ligne. */
@media (min-width: 768px) {
	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title {
		font-size: 44px;
		font-weight: 900;
		letter-spacing: -.035em;
		line-height: 1.05;
		text-align: center;
		white-space: nowrap;
	}

	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title span {
		color: var(--tbx-orange, #cb5223);
		font-size: 66px;
		line-height: 1;
		text-shadow: 0 6px 0 rgba(0, 40, 70, .12);
	}

	.home .elementor .tbx-boxes .tbx-h2 .elementor-heading-title::after {
		content: "";
		display: block;
		width: 96px;
		height: 7px;
		margin: 20px auto 0;
		border-radius: 99px;
		background: var(--tbx-orange, #cb5223);
	}
}
