/*
 * Page À propos — nouveau design (maquette Claude Design « À propos Tennis Box v2 »).
 *
 * Construite dans Elementor avec des widgets natifs + une « Classe CSS » (préfixe tbx-ap-), comme l'accueil
 * (sections.css fournit .tbx-sec et .tbx-h2). Frise « Notre histoire » : assets/js/about-page.js.
 * Chargé quand la page contient « tbx-ap- » (inc/assets.php).
 */

/* ======================================================================
 * Commun
 * ==================================================================== */

.elementor .e-con.tbx-sec.tbx-ap-hero,
.elementor .e-con.tbx-sec.tbx-ap-reality,
.elementor .e-con.tbx-sec.tbx-ap-values {
	background: #fbf5ef;
}

.elementor .e-con.tbx-sec.tbx-ap-story,
.elementor .e-con.tbx-sec.tbx-ap-audiences {
	background: #fff;
}

.elementor .tbx-sec .tbx-ap-ink .elementor-heading-title {
	color: #111;
}

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

/* En-tête de section : titre + sous-titre à gauche, petit trait orange à droite. */
.elementor .tbx-sec .e-con.tbx-ap-head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-right: 100px;
}

.elementor .tbx-sec .e-con.tbx-ap-head::after,
.elementor .tbx-sec .tbx-ap-bar .elementor-heading-title::after {
	content: "";
	width: 72px;
	height: 6px;
	border-radius: 3px;
	background: var(--tbx-orange);
}

.elementor .tbx-sec .e-con.tbx-ap-head::after {
	position: absolute;
	right: 0;
	bottom: 12px;
	opacity: 1;
	mix-blend-mode: normal;
	inset: auto 0 12px auto;
}

/* Titre + trait à droite : le trait est posé à part (un titre en flex séparerait le mot orange du reste). */
.elementor .tbx-sec .tbx-ap-bar .elementor-heading-title {
	position: relative;
	padding-right: 104px;
}

.elementor .tbx-sec .tbx-ap-bar .elementor-heading-title::after {
	position: absolute;
	right: 0;
	bottom: 12px;
}

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

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

/* ======================================================================
 * 1. Héros
 * ==================================================================== */

.elementor .e-con.tbx-ap-hero {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	padding-top: 48px;
	padding-bottom: 88px;
}

.elementor .tbx-sec .e-con.tbx-ap-hero__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: clamp(32px, 3.5vw, 50px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.02;
}

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

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

.elementor .tbx-sec .tbx-ap-hero__motto .elementor-heading-title {
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.3;
}

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

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

/* Visuel : terrain vu de dessus (décor du thème) + photo dans un cadre blanc. */
.elementor .tbx-sec .e-con.tbx-ap-hero__visual {
	position: relative;
	display: block;
	height: 540px;
}

.elementor .tbx-sec .elementor-widget.tbx-ap-hero__photo {
	position: absolute;
	top: 0;
	right: 28px;
	width: 310px;
	height: 400px;
	padding: 8px;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 34px 60px -28px rgba(60, 20, 5, .55);
}

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

.elementor .tbx-sec .tbx-ap-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 24px;
	background: #fbf5ef;
	object-fit: contain;
}

/* ======================================================================
 * 2. De la réalité du terrain à Tennis Box
 * ==================================================================== */

.elementor .e-con.tbx-ap-reality {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: 16px;
	padding-bottom: 88px;
	counter-reset: tbxfact;
}

.elementor .tbx-sec .e-con.tbx-ap-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 480px);
	grid-template-rows: auto auto;
	gap: 20px;
	margin-top: -20px;
}

.elementor .tbx-sec .e-con.tbx-ap-fact {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 12px;
	row-gap: 16px;
	padding: 30px 30px 34px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 30px 60px -40px rgba(30, 30, 30, .4);
	overflow: hidden;
	counter-increment: tbxfact;
	transition: transform .25s, box-shadow .25s;
}

.elementor .tbx-sec .e-con.tbx-ap-fact:hover {
	transform: translateY(-4px);
	box-shadow: 0 36px 70px -36px rgba(30, 30, 30, .45);
}

/* Liseré orange à gauche + numéro 01, 02… (automatique). */
.elementor .tbx-sec .e-con.tbx-ap-fact::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	opacity: 1;
	mix-blend-mode: normal;
	background: var(--tbx-orange);
}

.elementor .tbx-sec .e-con.tbx-ap-fact::after {
	content: counter(tbxfact, decimal-leading-zero);
	grid-column: 2;
	grid-row: 1;
	color: #f3d9cb;
	font-family: var(--tbx-font);
	font-size: 56px;
	font-weight: 900;
	letter-spacing: -.06em;
	line-height: .8;
}

.elementor .tbx-sec .tbx-ap-fact__label {
	grid-column: 1;
	grid-row: 1;
}

.elementor .tbx-sec .tbx-ap-fact__label .elementor-heading-title {
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.elementor .tbx-sec .tbx-ap-fact__text {
	grid-column: 1 / -1;
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 18.5px;
	line-height: 1.55;
	text-wrap: pretty;
}

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

.elementor .tbx-sec .tbx-ap-fact__text strong {
	color: var(--tbx-navy);
}

.elementor .tbx-sec .elementor-widget.tbx-ap-facts__img {
	grid-column: 3;
	grid-row: 1 / 3;
	min-height: 340px;
	border: 1px solid #eadfd4;
	border-radius: 26px;
	background: #fff;
	overflow: hidden;
}

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

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

/* Bandeau bleu « C'est en observant… » */
.elementor .tbx-sec .tbx-ap-born .elementor-heading-title {
	position: relative;
	margin: 0;
	padding: 30px 128px 30px 40px;
	border-radius: 28px;
	background: var(--tbx-navy);
	box-shadow: 0 30px 60px -36px rgba(0, 40, 70, .6);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.2;
}

.elementor .tbx-sec .tbx-ap-born .elementor-heading-title span {
	color: #ffb896;
}

.elementor .tbx-sec .tbx-ap-born .elementor-heading-title::after {
	content: "↓";
	position: absolute;
	top: calc(50% - 28px);
	right: 40px;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--tbx-orange);
	font-size: 22px;
	font-weight: 800;
}

/* ======================================================================
 * 3. Notre histoire
 * ==================================================================== */

.elementor .e-con.tbx-ap-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 36px 32px;
	padding-top: 88px;
	padding-bottom: 88px;
	scroll-margin-top: 90px;
}

.elementor .tbx-ap-story > .tbx-ap-nav,
.elementor .tbx-ap-story > .e-con.tbx-ap-steps {
	grid-column: 1 / -1;
}

.tbx-ap-arrows {
	display: flex;
	gap: 10px;
}

.elementor .tbx-ap-arrows .tbx-ap-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 2px solid #d8ccc0;
	border-radius: 50%;
	background: #fff;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, opacity .2s;
}

.elementor .tbx-ap-arrows .tbx-ap-arrow--next {
	border-color: var(--tbx-orange);
	background: var(--tbx-orange);
	box-shadow: 0 14px 30px -12px rgba(203, 82, 35, .7);
	color: #fff;
}

.elementor .tbx-ap-arrows .tbx-ap-arrow:hover {
	border-color: var(--tbx-navy);
}

.elementor .tbx-ap-arrows .tbx-ap-arrow--next:hover {
	border-color: var(--tbx-orange);
	background: var(--tbx-orange);
	color: #fff;
}

.elementor .tbx-ap-arrows .tbx-ap-arrow:disabled {
	opacity: .35;
	cursor: default;
}

/* Rangée des étapes */
.tbx-ap-nav {
	display: flex;
	gap: 12px;
}

.elementor .tbx-ap-nav .tbx-ap-nav__item {
	flex: 1 1 0;
	min-width: 0;
}

.elementor .tbx-ap-nav .tbx-ap-nav__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 4px 0 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #8a7a6c;
	font-family: var(--tbx-font);
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal; /* les boutons du site sont en « nowrap » */
	cursor: pointer;
}

.tbx-ap-nav__bar {
	display: block;
	height: 5px;
	border-radius: 3px;
	background: #eadfd4;
	transition: background .3s;
}

.tbx-ap-nav__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tbx-ap-nav__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f1e7dd;
	color: #8a7a6c;
	font-size: 14px;
	font-weight: 900;
	transition: background .3s, color .3s;
}

.tbx-ap-nav__title {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	transition: color .3s;
}

.tbx-ap-nav__item.is-done .tbx-ap-nav__bar,
.tbx-ap-nav__item.is-active .tbx-ap-nav__bar {
	background: var(--tbx-orange);
}

.tbx-ap-nav__item.is-done .tbx-ap-nav__num {
	background: var(--tbx-navy);
	color: #fff;
}

.tbx-ap-nav__item.is-active .tbx-ap-nav__num {
	background: var(--tbx-orange);
	color: #fff;
}

.tbx-ap-nav__item.is-active .tbx-ap-nav__title {
	color: #111;
}

/* Étapes : une seule affichée (image à gauche, carte à droite) une fois le script prêt. */
.elementor .tbx-sec .e-con.tbx-ap-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.elementor .tbx-sec .e-con.tbx-ap-step {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 20px;
}

.elementor .tbx-ap-story.is-ready .e-con.tbx-ap-step:not(.is-active) {
	display: none;
}

.elementor .tbx-ap-story.is-ready .e-con.tbx-ap-step.is-active {
	animation: tbx-ap-fade .35s ease;
}

@keyframes tbx-ap-fade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.elementor .tbx-sec .elementor-widget.tbx-ap-step__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	padding: 32px;
	border-radius: 32px;
	background: #fbf5ef;
}

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

.tbx-ap-step__card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 44px 48px;
	border-radius: 32px;
	background: var(--tbx-cream);
	font-family: var(--tbx-font);
}

.tbx-ap-step__kicker {
	margin: 0;
	color: var(--tbx-orange);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.elementor .tbx-sec .tbx-ap-step__title .elementor-heading-title {
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
	text-wrap: balance;
}

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

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

.tbx-ap-step__progress {
	height: 6px;
	margin-top: auto;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}

.tbx-ap-step__progress span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--tbx-orange);
}

/* ======================================================================
 * 4. Nos valeurs (mosaïque)
 * ==================================================================== */

.elementor .e-con.tbx-ap-values {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-top: 88px;
	padding-bottom: 88px;
}

.elementor .tbx-sec .e-con.tbx-ap-mosaic {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 20px;
}

.elementor .tbx-sec .e-con.tbx-ap-value {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	border: 1px solid #eadfd4;
	border-radius: 32px;
	background: #fff;
}

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

.elementor .tbx-sec .elementor-widget.tbx-ap-value__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	padding: 10px;
	border-radius: 20px;
	background: #fbf5ef;
}

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

.elementor .tbx-sec .tbx-ap-value__title .elementor-heading-title {
	margin: 0;
	color: var(--tbx-navy);
	font-family: var(--tbx-font);
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.elementor .tbx-sec .tbx-ap-value__text {
	color: #4a5b6d;
	font-family: var(--tbx-font);
	font-size: 15.5px;
	line-height: 1.55;
}

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

/* Passion : grande carte bleue sur 2 rangées */
.elementor .tbx-sec .e-con.tbx-ap-value--passion {
	grid-row: 1 / 3;
	gap: 20px;
	padding: 36px;
	border: 0;
	background: var(--tbx-navy);
}

.elementor .tbx-sec .tbx-ap-value--passion .elementor-widget.tbx-ap-value__img {
	flex: 1;
	height: auto;
	min-height: 340px;
	padding: 16px;
	border-radius: 24px;
}

.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__img img {
	max-height: 320px;
}

.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__title .elementor-heading-title {
	color: #fff;
	font-size: 34px;
	letter-spacing: -.04em;
	line-height: 1;
}

.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__text {
	color: rgba(255, 255, 255, .92);
	font-size: 17px;
}

/* Accessibilité et professionnalisme : bandeau orange sur 2 colonnes, image à gauche */
.elementor .tbx-sec .e-con.tbx-ap-value--pro {
	grid-column: 2 / 4;
	flex-direction: row;
	align-items: center;
	gap: 28px;
	padding: 28px 32px;
	border: 0;
	background: var(--tbx-orange);
}

.elementor .tbx-sec .tbx-ap-value--pro .elementor-widget.tbx-ap-value__img {
	flex: none;
	width: 240px;
	height: 220px;
	border-radius: 24px;
}

.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__img img {
	max-height: 200px;
}

.elementor .tbx-sec .tbx-ap-value--pro .e-con.tbx-ap-value__body {
	gap: 12px;
}

.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__title .elementor-heading-title {
	color: #fff;
	font-size: 26px;
}

.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__text {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

/* ======================================================================
 * 5. Pour qui ?
 * ==================================================================== */

.elementor .e-con.tbx-ap-audiences {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-top: 88px;
	padding-bottom: 16px;
}

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

.elementor .tbx-sec .e-con.tbx-ap-aud {
	--c: var(--tbx-navy);
	--tint: #eaf0f7;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	border-radius: 28px;
	background: #fbf5ef;
}

.elementor .tbx-sec .e-con.tbx-ap-aud--ens {
	--c: var(--tbx-orange);
	--tint: #fbeee6;
}

.elementor .tbx-sec .e-con.tbx-ap-aud--jou {
	--c: var(--tbx-red);
	--tint: #f9ebea;
}

/* Badge rond à gauche, libellé + sous-titre à droite, petit trait de couleur dessous. */
.elementor .tbx-sec .e-con.tbx-ap-aud__head {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	align-items: center;
	column-gap: 14px;
	row-gap: 4px;
}

.elementor .tbx-sec .e-con.tbx-ap-aud__head::after {
	content: "";
	grid-column: 1 / -1;
	width: 48px;
	height: 4px;
	margin-top: 14px;
	border-radius: 2px;
	background: var(--c);
}

.elementor .tbx-sec .tbx-ap-aud__badge {
	grid-row: 1 / 3;
}

.elementor .tbx-sec .tbx-ap-aud__badge img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--tint);
	object-fit: cover;
}

.elementor .tbx-sec .tbx-ap-aud__label {
	align-self: end;
}

.elementor .tbx-sec .tbx-ap-aud__sub {
	align-self: start;
}

.elementor .tbx-sec .tbx-ap-aud__label .elementor-heading-title {
	margin: 0;
	color: var(--c);
	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-ap-aud__sub .elementor-heading-title {
	margin: 0;
	color: var(--tbx-mute-2);
	font-family: var(--tbx-font);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.3;
}

.elementor .tbx-sec .tbx-ap-aud__text {
	flex: 1;
	color: var(--tbx-ink-2);
	font-family: var(--tbx-font);
	font-size: 16.5px;
	line-height: 1.6;
	text-wrap: pretty;
}

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

.elementor .tbx-sec .e-con.tbx-ap-aud__boxes {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid #eadfd4;
}

.elementor .tbx-sec .tbx-ap-aud__boxes-label {
	flex: 0 0 100%;
	margin-bottom: 2px;
}

.elementor .tbx-sec .tbx-ap-aud__boxes-label .elementor-heading-title {
	margin: 0;
	color: var(--tbx-mute-2);
	font-family: var(--tbx-font);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.elementor .tbx-sec .tbx-ap-aud__boxes .elementor-widget.tbx-ap-boxlink {
	width: auto;
}

.elementor .tbx-sec .tbx-ap-boxlink .elementor-button {
	--b: #cb5223;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--b);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	transition: opacity .2s;
}

.elementor .tbx-sec .tbx-ap-boxlink .elementor-button-content-wrapper::after {
	content: "→";
	margin-left: 8px;
}

.elementor .tbx-sec .tbx-ap-boxlink .elementor-button:hover,
.elementor .tbx-sec .tbx-ap-boxlink .elementor-button:focus-visible {
	background: var(--b);
	color: #fff;
	opacity: .9;
}

.elementor .tbx-sec .tbx-ap-boxlink--communication .elementor-button { --b: #2b4c74; }
.elementor .tbx-sec .tbx-ap-boxlink--entrainement .elementor-button { --b: #9e2626; }
.elementor .tbx-sec .tbx-ap-boxlink--organisation .elementor-button { --b: #0e7a40; }

/* ======================================================================
 * Tablette
 * ==================================================================== */

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

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

	.elementor .tbx-sec .elementor-widget.tbx-ap-facts__img {
		grid-column: 1 / -1;
		grid-row: auto;
		order: -1;
		min-height: 300px;
	}

	.tbx-ap-nav__title {
		font-size: 13.5px;
	}

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

	.elementor .tbx-sec .e-con.tbx-ap-value--passion {
		grid-row: auto;
		grid-column: 1 / -1;
	}

	.elementor .tbx-sec .tbx-ap-value--passion .elementor-widget.tbx-ap-value__img {
		min-height: 260px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-value--pro {
		grid-column: 1 / -1;
	}
}

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

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

	.tbx-ap-nav__title {
		display: none;
	}

	.elementor .tbx-sec .e-con.tbx-ap-step {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		border-radius: 26px;
		overflow: hidden;
		background: var(--tbx-cream);
	}

	.elementor .tbx-sec .elementor-widget.tbx-ap-step__img {
		height: 260px;
		border-radius: 0;
	}

	.tbx-ap-step__card {
		border-radius: 0;
	}

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

/* ======================================================================
 * Mobile (maquette 390 px)
 * ==================================================================== */

@media (max-width: 767px) {
	.elementor .tbx-sec.tbx-ap-hero .e-con,
	.elementor .tbx-sec.tbx-ap-reality .e-con,
	.elementor .tbx-sec.tbx-ap-story .e-con,
	.elementor .tbx-sec.tbx-ap-values .e-con,
	.elementor .tbx-sec.tbx-ap-audiences .e-con {
		flex-wrap: nowrap;
	}

	.elementor .tbx-sec.tbx-ap-audiences .e-con.tbx-ap-aud__boxes {
		flex-wrap: wrap; /* les boutons « Vos Box » passent à la ligne */
	}

	.elementor .e-con.tbx-ap-hero,
	.elementor .e-con.tbx-ap-reality,
	.elementor .e-con.tbx-ap-story,
	.elementor .e-con.tbx-ap-values,
	.elementor .e-con.tbx-ap-audiences {
		--tbx-pad: 16px;
	}

	.elementor .e-con.tbx-ap-hero {
		gap: 16px;
		padding-top: 28px;
		padding-bottom: 48px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-hero__content {
		gap: 16px;
		padding: 0 4px;
	}

	.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title {
		font-size: 32px;
	}

	.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
		margin: 4px 0 6px -.04em;
		font-size: min(84px, 22vw);
	}

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

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

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

	.elementor .tbx-sec .e-con.tbx-ap-hero__visual {
		height: 360px;
		margin-top: 8px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-ap-hero__photo {
		right: 16px;
		width: 190px;
		height: 250px;
		padding: 6px;
		border-radius: 24px;
	}

	.elementor .tbx-sec .tbx-ap-hero__photo img {
		border-radius: 19px;
	}

	/* Réalité : image, puis constats en défilement horizontal, puis bandeau. */
	.elementor .e-con.tbx-ap-reality {
		gap: 18px;
		padding-top: 8px;
		padding-bottom: 48px;
	}

	.elementor .tbx-sec .tbx-ap-bar .elementor-heading-title {
		padding-right: 0;
		margin: 0 4px;
		font-size: 19.5px;
		letter-spacing: -.035em;
		line-height: 1.1;
	}

	.elementor .tbx-sec .tbx-ap-bar .elementor-heading-title::after {
		position: static;
		display: block;
		width: 48px;
		height: 4px;
		margin-top: 12px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-facts {
		display: flex;
		flex-direction: row;
		gap: 12px;
		width: calc(100% + 2 * var(--tbx-pad));
		max-width: none !important; /* l'ancien CSS Astra met max-width: 100 % !important sur les .e-con */
		margin: 0 calc(-1 * var(--tbx-pad));
		padding: 4px 16px 18px;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

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

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

	.elementor .tbx-sec .e-con.tbx-ap-fact {
		flex: none;
		width: 280px;
		padding: 22px 22px 24px 26px;
		border-radius: 24px;
		scroll-snap-align: start;
	}

	.elementor .tbx-sec .e-con.tbx-ap-fact::before {
		width: 5px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-fact::after {
		font-size: 42px;
	}

	.elementor .tbx-sec .tbx-ap-fact__label .elementor-heading-title {
		font-size: 12px;
	}

	.elementor .tbx-sec .tbx-ap-fact__text {
		font-size: 15.5px;
	}

	.elementor .tbx-sec .tbx-ap-born .elementor-heading-title {
		padding: 22px;
		border-radius: 22px;
		font-size: 19px;
		line-height: 1.3;
	}

	.elementor .tbx-sec .tbx-ap-born .elementor-heading-title::after {
		display: none;
	}

	/* Histoire */
	.elementor .e-con.tbx-ap-story {
		align-items: center;
		gap: 20px 12px;
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.elementor .tbx-sec.tbx-ap-story .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec.tbx-ap-values .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec.tbx-ap-audiences .tbx-h2 .elementor-heading-title {
		margin: 0 4px;
		font-size: 28px;
	}

	.elementor .tbx-ap-arrows .tbx-ap-arrow {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}

	.tbx-ap-nav {
		gap: 6px;
	}

	.elementor .tbx-ap-nav .tbx-ap-nav__item {
		flex-direction: column-reverse;
		align-items: center;
		gap: 6px;
		padding: 0;
	}

	.elementor .tbx-sec .elementor-widget.tbx-ap-step__img {
		height: 220px;
		padding: 20px;
	}

	.elementor .tbx-sec .tbx-ap-step__img img {
		max-height: 180px;
	}

	.tbx-ap-step__card {
		gap: 10px;
		padding: 22px 22px 26px;
	}

	.tbx-ap-step__kicker {
		font-size: 12.5px;
	}

	.elementor .tbx-sec .tbx-ap-step__title .elementor-heading-title {
		font-size: 24px;
		letter-spacing: -.035em;
		line-height: 1.15;
	}

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

	.tbx-ap-step__progress {
		display: none;
	}

	/* Valeurs et Pour qui : cartes empilées */
	.elementor .e-con.tbx-ap-values,
	.elementor .e-con.tbx-ap-audiences {
		gap: 18px;
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-head {
		gap: 8px;
		padding: 0 4px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-head::after {
		display: none;
	}

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

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

	.elementor .tbx-sec .e-con.tbx-ap-value,
	.elementor .tbx-sec .e-con.tbx-ap-value--pro {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 18px;
		border-radius: 26px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-value--passion {
		padding: 20px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-ap-value__img,
	.elementor .tbx-sec .tbx-ap-value--pro .elementor-widget.tbx-ap-value__img {
		width: auto;
		height: 190px;
		border-radius: 16px;
	}

	.elementor .tbx-sec .tbx-ap-value--passion .elementor-widget.tbx-ap-value__img {
		min-height: 0;
		height: 230px;
		border-radius: 18px;
	}

	.elementor .tbx-sec .tbx-ap-value__img img,
	.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__img img {
		max-height: 170px;
	}

	.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__img img {
		max-height: 210px;
	}

	.elementor .tbx-sec .tbx-ap-value__title .elementor-heading-title,
	.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__title .elementor-heading-title {
		font-size: 20px;
	}

	.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__title .elementor-heading-title {
		font-size: 24px;
	}

	.elementor .tbx-sec .tbx-ap-value__text,
	.elementor .tbx-sec .tbx-ap-value--passion .tbx-ap-value__text,
	.elementor .tbx-sec .tbx-ap-value--pro .tbx-ap-value__text {
		font-size: 14.5px;
	}

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

	.elementor .tbx-sec .e-con.tbx-ap-aud {
		gap: 14px;
		padding: 20px;
		border-radius: 24px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-aud__head {
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 2px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-aud__head::after {
		display: none;
	}

	.elementor .tbx-sec .tbx-ap-aud__badge img {
		width: 60px;
		height: 60px;
	}

	.elementor .tbx-sec .tbx-ap-aud__label .elementor-heading-title {
		font-size: 13px;
	}

	.elementor .tbx-sec .tbx-ap-aud__sub .elementor-heading-title {
		font-size: 13.5px;
	}

	.elementor .tbx-sec .tbx-ap-aud__text {
		font-size: 15.5px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-aud__boxes {
		padding-top: 0;
		border-top: 0;
	}

	.elementor .tbx-sec .tbx-ap-aud__boxes-label {
		display: none;
	}

	.elementor .tbx-sec .tbx-ap-boxlink .elementor-button {
		min-height: 44px;
		padding: 0 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor .tbx-ap-story.is-ready .e-con.tbx-ap-step.is-active {
		animation: none;
	}

	.elementor .tbx-sec .e-con.tbx-ap-fact {
		transition: none;
	}
}

/* ======================================================================
 * Harmonisation des héros (2026-10-09) : même héros que l'accueil (sections.css, .tbx-hero) —
 * fond blanc, marges 40/64, colonnes 600/616, terrain décalé de 60 px et photo dans le même cadre.
 * ==================================================================== */

.elementor .e-con.tbx-sec.tbx-ap-hero {
	background: #fff;
}

.elementor .e-con.tbx-ap-hero {
	grid-template-columns: minmax(0, 600fr) minmax(0, 616fr);
	gap: 64px;
	padding-top: 40px;
	padding-bottom: 64px;
}

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

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title {
	max-width: 560px;
	font-size: clamp(36px, 3.5vw, 50px);
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
	font-size: clamp(80px, 8.6vw, 124px);
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title::after {
	margin-top: 18px;
}

.elementor .tbx-sec .e-con.tbx-ap-hero__visual {
	height: auto;
	aspect-ratio: 616 / 540;
}

.elementor .tbx-sec .elementor-widget.tbx-ap-hero__photo {
	inset: 0 17.86% 20.37% 0;
	width: auto;
	height: auto;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(60, 20, 5, .55);
}

.elementor .tbx-sec .tbx-ap-hero__photo img {
	border-radius: 0;
	object-fit: cover;
}

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

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

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

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

	.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
		font-size: min(92px, 25vw);
	}

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

	.elementor .tbx-sec .elementor-widget.tbx-ap-hero__photo {
		inset: 0 52px 52px 0;
		width: auto;
		height: auto;
		border-radius: 22px;
	}
}

/* ======================================================================
 * Fond coloré du héros (retour d'Elsa, 2026-10-09) : crème pour l'isoler de la suite (accueil exclu),
 * pastille blanche, grand mot orange toujours en capitales.
 * ==================================================================== */

.elementor .e-con.tbx-sec.tbx-ap-hero {
	background: var(--tbx-cream);
}

.elementor .tbx-sec.tbx-ap-hero .tbx-pill .elementor-heading-title {
	background: #fff;
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
	text-transform: uppercase;
}

/* Section suivante (« De la réalité du terrain… ») en blanc : avec le héros crème, son ancien fond #FBF5EF
 * ne s'en distinguait plus. Elle prolongeait le héros (16 px en haut) : on lui redonne une vraie marge. */
.elementor .e-con.tbx-sec.tbx-ap-reality {
	padding-top: 80px;
	background: #fff;
}

@media (max-width: 767px) {
	.elementor .e-con.tbx-sec.tbx-ap-reality {
		padding-top: 48px;
	}
}

/* Terrain du héros : le même que l'accueil et Contact (.tbx-court de sections.css), en vert.
 * Couleurs des terrains alternées d'une page à l'autre (Elsa, 2026-10-09) : accueil orange, catalogue vert,
 * tarifs rouge, blog bleu, à propos vert, contact orange ; pages Box = couleur de leur Box. */
.elementor .tbx-sec.tbx-ap-hero .e-con.tbx-court {
	background-color: #15a259;
}

/* ======================================================================
 * Alternance des fonds (retour d'Elsa, 2026-10-09) : chaque section se distingue de la suivante.
 * Héros crème → réalité blanche → histoire crème → valeurs blanches → publics crème → bandeau CTA (zone blanche).
 * Les cartes prennent la couleur opposée à leur section (plus de blanc sur blanc).
 * ==================================================================== */

/* « De la réalité du terrain à Tennis Box » : section blanche, constats sur cartes crème. */
.elementor .tbx-sec .e-con.tbx-ap-fact {
	background: var(--tbx-cream);
	box-shadow: none;
}

/* « Notre histoire » : section crème, carte d'étape et pastilles en blanc. */
.elementor .e-con.tbx-sec.tbx-ap-story {
	background: var(--tbx-cream);
}

.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__card {
	background: #fff;
}

/* Étapes à venir seulement : les étapes faites ou en cours gardent leurs couleurs (orange / bleu). */
.elementor .tbx-sec.tbx-ap-story .tbx-ap-nav__item:not(.is-done):not(.is-active) .tbx-ap-nav__num {
	background: #fff;
}

.elementor .tbx-sec.tbx-ap-story .tbx-ap-nav__item:not(.is-done):not(.is-active) .tbx-ap-nav__bar {
	background: #e7d8ca;
}

/* Valeurs : section blanche, cartes ordinaires crème ; Passion (bleu) et Accessibilité (orange) gardent leurs
 * couleurs Tennis Box et leur texte blanc (retour d'Elsa, 2026-10-10). */
.elementor .e-con.tbx-sec.tbx-ap-values {
	background: #fff;
}

.elementor .tbx-sec .e-con.tbx-ap-value:not(.tbx-ap-value--passion):not(.tbx-ap-value--pro) {
	border-color: transparent;
	background: var(--tbx-cream);
}

/* Publics : section crème, cartes blanches. */
.elementor .e-con.tbx-sec.tbx-ap-audiences {
	background: var(--tbx-cream);
}

.elementor .tbx-sec .e-con.tbx-ap-aud {
	background: #fff;
}

/* Titre du héros aux proportions de la page Tarifs : « TENNIS » à la taille de « ACCESSIBLES » (retour d'Elsa, 2026-10-10). */
.elementor .tbx-sec .e-con.tbx-ap-hero__content {
	container-type: inline-size;
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
	font-size: min(clamp(80px, 8.6vw, 124px), calc(100cqi / 11 / .66));
}

@media (max-width: 767px) {
	.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
		font-size: min(92px, 25vw, calc(100cqi / 11 / .66));
	}
}

/* « De la réalité du terrain à Tennis Box » : titres des cartes plus grands (2026-10-10), en bleu #004B76 (2026-10-11). */
.elementor .tbx-sec .tbx-ap-fact__label .elementor-heading-title {
	color: #004b76;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: .06em;
}

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

/* Court en perspective dans le héros (proposition C, 2026-10-10) : géométrie du court dans sections.css ;
 * ici la place du court et de la photo (ces règles passent après celles, plus anciennes, de cette feuille). */
.elementor .tbx-sec .e-con.tbx-ap-hero__visual {
	height: auto;
	aspect-ratio: 616 / 520;
	perspective: 900px;
}

.elementor .tbx-sec .tbx-ap-hero__visual .e-con.tbx-court {
	inset: auto auto 2% -4%;
	width: calc(108% - 48px);
	height: auto;
}

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

@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-ap-hero__visual {
		height: auto;
		aspect-ratio: 616 / 520;
		margin-top: 0;
	}

	.elementor .tbx-sec .tbx-ap-hero__visual .e-con.tbx-court {
		inset: auto auto 2% -4%;
		width: calc(108% - 28px);
	}

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

/* Héros : « Le TENNIS » sur une même ligne (retour d'Elsa, 2026-10-11) ; « notre passion » dessous (<br> dans le titre).
   « Le » s'aligne sur la ligne de base de « TENNIS ». */
.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title {
	display: block;
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title span {
	display: inline-block;
	margin: 6px 0 10px .08em;
}

.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title::after {
	display: block;
}

/* Fond du héros : dégradé crème → teinte du court (proposition D, choisie par Elsa le 2026-10-11). */
html body .elementor .e-con.tbx-sec.tbx-ap-hero {
	background: linear-gradient(100deg, #F8EBE1 0%, #F8EBE1 22%, #C9E9D3 100%);
}

/* Téléphone : « De la réalité du terrain » une carte à la fois (pastilles : global.js), retour d'Elsa 2026-10-12. */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-ap-facts {
		gap: 16px;
		scroll-padding-inline: 16px;
	}

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

/* Téléphone : « Notre histoire » — les 6 étapes les unes sous les autres, sans flèches ni onglets (retour d'Elsa,
   2026-10-12) ; chaque étape = vignette à gauche + texte. */
@media (max-width: 767px) {
	.elementor .tbx-sec.tbx-ap-story .tbx-ap-nav,
	.elementor .tbx-sec.tbx-ap-story .tbx-ap-arrows,
	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__progress {
		display: none !important;
	}

	.elementor .tbx-ap-story.is-ready .e-con.tbx-ap-step:not(.is-active),
	.elementor .tbx-ap-story.is-ready .e-con.tbx-ap-step {
		display: grid !important;
		animation: none;
	}

	.elementor .tbx-sec .e-con.tbx-ap-steps {
		gap: 12px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-step {
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: center;
		gap: 0;
		border-radius: 20px;
	}

	.elementor .tbx-sec .elementor-widget.tbx-ap-step__img {
		align-self: stretch;
		width: 96px;
		height: auto;
		min-height: 110px;
	}

	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__card {
		gap: 4px;
		padding: 14px 16px;
	}

	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__title .elementor-heading-title {
		font-size: 17px;
	}

	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__text,
	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__text p {
		font-size: 13.5px;
		line-height: 1.45;
	}

	body.tbx-ph-on .tbx-ap-step__img.tbx-ph-slot::after {
		padding: 2px 4px;
		font-size: 8px;
		white-space: normal;
		text-align: center;
	}
}

/* Téléphone : « De la réalité du terrain » — les 4 cartes les unes sous les autres, toutes visibles (retour d'Elsa,
   2026-10-13) ; plus de défilement ni de pastilles. */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-ap-facts {
		flex-direction: column;
		gap: 10px;
		width: 100%;
		margin: 0;
		padding: 0;
		overflow: visible !important;
	}

	.elementor .tbx-sec .e-con.tbx-ap-fact {
		flex: none;
		width: 100%;
		padding: 16px 18px 18px 22px;
		border-radius: 20px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-fact::after {
		font-size: 32px;
	}

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

	.elementor .tbx-sec .tbx-ap-fact__text,
	.elementor .tbx-sec .tbx-ap-fact__text p {
		font-size: 14px;
		line-height: 1.5;
	}
}

/* Téléphone : héros sans visuel (retour d'Elsa, 2026-10-17). */
@media (max-width: 767px) {
	html body .elementor .tbx-sec .e-con.tbx-ap-hero__visual {
		display: none !important;
	}
}

/* « Pour qui ? » : les 3 cartes partagent les mêmes lignes (en-tête, texte, « Vos Box ») ; le trait, « Vos Box » et les
   badges sont alignés d'une carte à l'autre même quand le texte est plus long (carte Joueurs, retour d'Elsa, 2026-10-17). */
@media (min-width: 1025px) {
	.elementor .tbx-sec .e-con.tbx-ap-auds {
		grid-template-rows: auto auto auto;
	}

	.elementor .tbx-sec .e-con.tbx-ap-aud {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
		align-content: start;
		row-gap: 18px;
	}

	.elementor .tbx-sec .e-con.tbx-ap-aud > .e-con.tbx-ap-aud__boxes {
		align-self: start;
		align-content: flex-start;
	}
}

/* Héros : « Le » en orange comme « TENNIS » ; « notre passion » (après le <br>) reste bleu (retour d'Elsa, 2026-10-17). */
.elementor .tbx-sec .tbx-ap-hero__title .elementor-heading-title::first-line {
	color: var(--tbx-orange);
}

/* « De la réalité du terrain » : titres des 4 cartes (L'engagement, Le manque de temps…) en orange (Elsa, 2026-10-26). */
html body .elementor .tbx-sec .tbx-ap-fact__label .elementor-heading-title {
	color: #cb5223;
}

/* ======================================================================
 * Nouveau haut de page (Elsa, 2026-11-04), comme le catalogue (hero.css, .tbx-cat-hero--v2) : dégradé vert, terrain en
 * perspective en transparence (calé sur le contenu), texte blanc, personnages détourés + bulles de BD (l'image et les
 * bulles viennent du thème : inc/hero-bubbles.php). Plus de terrain dessiné ; illustration visible sur téléphone.
 * ==================================================================== */
html body .elementor .e-con.tbx-sec.tbx-ap-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	grid-template-columns: minmax(0, 480fr) minmax(0, 760fr);
	gap: 40px;
	background: radial-gradient(120% 140% at 85% 10%, #2fae69 0, #0e7a40 45%, #06532a 100%);
}

.elementor .e-con.tbx-sec.tbx-ap-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: min(100%, 1440px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 46 1008 428' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='m' width='9' height='9' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0L9 9M9 0L0 9' stroke='%23fff' stroke-opacity='.22'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='3' vector-effect='non-scaling-stroke' d='M0 470L1000 470M320 50L680 50M0 470L320 50M1000 470L680 50M124.9 470L365 50M875.1 470L635 50M234 279.1L766 279.1M341.6 90.9L658.4 90.9M500 279.1L500 90.9M500 470L500 453.3M500 50L500 52.2M191.2 117.1L808.8 117.1M191.2 161.2L808.8 161.2M191.2 161.2L191.2 117.1M808.8 161.2L808.8 117.1'/%3E%3Crect x='191.2' y='117.1' width='617.6' height='44.1' fill='url%28%23m%29'/%3E%3C/svg%3E") left 95% bottom 7% / 62% 79% no-repeat; /* ligne de fond remontée, comme le Catalogue (Elsa, 2026-11-06) */ /* terrain entier sous la scénette, centré sur l'illustration (68 %), étiré en hauteur (Elsa, 2026-11-05) */
	translate: -50% 0;
	pointer-events: none;
}

html body .elementor .tbx-sec.tbx-ap-hero :is(.tbx-ap-hero__title, .tbx-ap-hero__motto) .elementor-heading-title,
html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title span,
html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title::first-line,
html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__lead {
	color: #fff;
}

html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title::after {
	background: #fff;
}

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

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

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

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

html body .elementor .tbx-sec .tbx-ap-hero__visual .elementor-widget.tbx-ap-hero__photo img {
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25));
}

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

	/* L'illustration passe sous le texte : le terrain la suit. */
	.elementor .e-con.tbx-sec.tbx-ap-hero::before {
		background-position: 50% 99%;
		background-size: min(100%, 720px) 52%;
	}
}

@media (max-width: 767px) {
	html body .elementor .tbx-sec.tbx-ap-hero .e-con.tbx-ap-hero__visual {
		display: block !important;
		padding-top: 0;
	}

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

/* Titre plus présent face à la grande illustration (Elsa, 2026-11-04) : colonne de texte plus large, « Le TENNIS »
   calé sur 10 lettres, ombre nette façon BD (comme les autres hauts de page). */
@media (min-width: 1025px) {
	html body .elementor .e-con.tbx-sec.tbx-ap-hero {
		grid-template-columns: minmax(0, 600fr) minmax(0, 640fr);
	}
}

html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title {
	text-shadow: 0 4px 0 rgba(0, 0, 0, .14);
}

html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title span {
	font-size: min(clamp(80px, 9.5vw, 140px), calc(100cqi / 10 / .66));
	text-shadow: 0 6px 0 rgba(0, 0, 0, .18);
}

@media (max-width: 767px) {
	html body .elementor .tbx-sec.tbx-ap-hero .tbx-ap-hero__title .elementor-heading-title span {
		font-size: min(92px, 25vw, calc(100cqi / 10 / .66));
	}
}

/* Terrain du haut de page identique à celui du Catalogue (Elsa, 2026-11-07) : même boîte (contenu, 1 440 px max), même
   taille (60 % × 79 %), même centre (69,7 % de la largeur) et même hauteur de la ligne de fond (7 % au-dessus du bas).
   Catalogue : .tbx-hero-motif--perspective svg (hero.css). En background, un pourcentage se compte sur (boîte − image) :
   69,7 % - 30 % = 39,7 % de bord gauche → 39,7 / 40 = 99,25 % ; 7 % du bas → (100 - 79 - 7) / 21 = 66,67 %. */
.elementor .e-con.tbx-sec.tbx-ap-hero::before {
	background-position: 99.25% 66.67%;
	background-size: 60% 79%;
}

/* Tablette et téléphone : comme le Catalogue (centré, 720 px max, 52 % de haut, 7 % du bas → (100 - 52 - 7) / 48). */
@media (max-width: 1024px) {
	.elementor .e-con.tbx-sec.tbx-ap-hero::before {
		background-position: 50% 85.42%;
		background-size: min(100%, 720px) 52%;
	}
}

/* Titres de section de À propos : même taille que « Choisissez votre rubrique » du Blog (36 px, 26 px sur téléphone) (Elsa, 2026-11-08). */
.elementor .tbx-sec.tbx-ap-reality .tbx-h2 .elementor-heading-title,
.elementor .tbx-sec.tbx-ap-story .tbx-h2 .elementor-heading-title,
.elementor .tbx-sec.tbx-ap-values .tbx-h2 .elementor-heading-title,
.elementor .tbx-sec.tbx-ap-audiences .tbx-h2 .elementor-heading-title {
	font-size: 36px;
	letter-spacing: -.01em;
	line-height: 1.15;
}

@media (max-width: 767px) {
	.elementor .tbx-sec.tbx-ap-reality .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec.tbx-ap-story .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec.tbx-ap-values .tbx-h2 .elementor-heading-title,
	.elementor .tbx-sec.tbx-ap-audiences .tbx-h2 .elementor-heading-title {
		font-size: 26px;
		line-height: 1.2;
	}
}

/* Phrases sous les titres de section de À propos : même taille que la phrase sous « Choisissez votre rubrique » du Blog (17 px) (Elsa, 2026-11-08). */
.elementor .tbx-sec.tbx-ap-reality .tbx-ap-sub,
.elementor .tbx-sec.tbx-ap-story .tbx-ap-sub,
.elementor .tbx-sec.tbx-ap-values .tbx-ap-sub,
.elementor .tbx-sec.tbx-ap-audiences .tbx-ap-sub,
.elementor .tbx-sec.tbx-ap-reality .tbx-ap-sub p,
.elementor .tbx-sec.tbx-ap-story .tbx-ap-sub p,
.elementor .tbx-sec.tbx-ap-values .tbx-ap-sub p,
.elementor .tbx-sec.tbx-ap-audiences .tbx-ap-sub p {
	font-size: 17px;
	line-height: 1.55;
}


/* ==========================================================================
 * « Pour qui ? » — variante B (Elsa, 2026-11-08) : sélecteur à gauche, grand panneau coloré à droite. Shortcode [tb_pour_qui].
 * ========================================================================== */
.elementor .tbq {
	--c: #004b76;
	--bg: #e8f1f8;
	--g1: #3a7bb0;
	--g2: #004b76;
	--g3: #00304d;
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
	font-family: var(--tbx-font, Inter, system-ui, sans-serif);
}

.elementor .tbq .tbq--ens { --c: #cb5223; --bg: #fbeee6; --g1: #e8794a; --g2: #cb5223; --g3: #9c3a14; }
.elementor .tbq .tbq--jou { --c: #b92121; --bg: #fbe9e9; --g1: #dc4a4a; --g2: #b92121; --g3: #801010; }
.elementor .tbq .tbq--club { --c: #004b76; --bg: #e8f1f8; --g1: #3a7bb0; --g2: #004b76; --g3: #00304d; }

.elementor .tbq .tbq__tabs {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.elementor .tbq .tbq__tab {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	border: 2px solid transparent;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 26px -18px rgba(0, 40, 70, .4);
	color: #14212b;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s;
}

.elementor .tbq .tbq__tab img {
	flex: none;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.elementor .tbq .tbq__tab-txt b {
	display: block;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.elementor .tbq .tbq__tab-txt small {
	display: block;
	margin-top: 2px;
	color: #4d5c68;
	font-size: 14px;
	font-weight: 600;
}

.elementor .tbq .tbq__tab::after {
	content: "→";
	margin-left: auto;
	color: var(--c);
	font-weight: 900;
	opacity: 0;
	transition: opacity .2s;
}

.elementor .tbq .tbq__tab[aria-selected="true"] {
	border-color: var(--c);
	background: var(--bg);
	box-shadow: 0 18px 30px -20px var(--c);
}

.elementor .tbq .tbq__tab[aria-selected="true"] b { color: var(--c); }
.elementor .tbq .tbq__tab[aria-selected="true"]::after { opacity: 1; }

.elementor .tbq .tbq__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	height: 100%;
	padding: 44px 48px;
	overflow: hidden;
	border-radius: 30px;
	background: radial-gradient(120% 140% at 90% 0, var(--g1), var(--g2) 55%, var(--g3));
	color: #fff;
}

.elementor .tbq .tbq__panel[hidden] { display: none; }

.elementor .tbq .tbq__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 2px, transparent 2.4px);
	background-size: 14px 14px;
	-webkit-mask: radial-gradient(60% 120% at 100% 0, #000, transparent 75%);
	mask: radial-gradient(60% 120% at 100% 0, #000, transparent 75%);
	pointer-events: none;
}

.elementor .tbq .tbq__panel > * { position: relative; margin: 0; }

.elementor .tbq .tbq__big {
	position: absolute;
	top: 34px;
	right: 36px;
	width: 128px;
	height: 128px;
	filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .16));
}

.elementor .tbq .tbq__kicker {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .88;
}

.elementor .tbq .tbq__title {
	max-width: calc(100% - 190px);
	font-size: 34px;
	font-weight: 900;
	line-height: 1.1;
}

.elementor .tbq .tbq__text {
	max-width: 640px;
	font-size: 18px;
	line-height: 1.65;
}

.elementor .tbq .tbq__label {
	margin-top: 4px !important;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .85;
}

.elementor .tbq .tbq__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.elementor .tbq .tbq__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--c) !important;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none !important;
}

.elementor .tbq .tbq__chip:hover { transform: translateY(-2px); }

@media (max-width: 1000px) {
	.elementor .tbq { grid-template-columns: minmax(0, 1fr); }
	.elementor .tbq .tbq__tabs { flex-direction: row; flex-wrap: wrap; }
	.elementor .tbq .tbq__tab { flex: 1 1 220px; width: auto; }
	.elementor .tbq .tbq__panel { padding: 30px 26px; }
	.elementor .tbq .tbq__big { display: none; }
	.elementor .tbq .tbq__title { max-width: none; font-size: 28px; }
	.elementor .tbq .tbq__text { font-size: 16.5px; }
}


/* Téléphone : « De la réalité du terrain à Tennis Box » sur une seule ligne (Elsa, 2026-11-09). */
@media (max-width: 767px) {
	.elementor .tbx-sec.tbx-ap-reality .tbx-h2 .elementor-heading-title {
		font-size: min(4.6vw, 26px);
		white-space: nowrap;
	}
}

/* Titre « réalité du terrain » : version courte sur téléphone, 1 ligne à ~23 px (Elsa, 2026-11-09). */
.tbx-ap-t-short { display: none; }

@media (max-width: 767px) {
	.tbx-ap-t-full { display: none; }
	.tbx-ap-t-short { display: inline; }

	.elementor .tbx-sec.tbx-ap-reality .tbx-h2 .elementor-heading-title {
		font-size: min(6.2vw, 26px);
	}
}

/* Les deux versions du titre restent en noir ; seul « Tennis Box » (span interne) est en orange. */
.elementor .tbx-ap-reality .tbx-h2 .elementor-heading-title > .tbx-ap-t-full,
.elementor .tbx-ap-reality .tbx-h2 .elementor-heading-title > .tbx-ap-t-short {
	color: inherit;
	-webkit-text-fill-color: currentColor;
}

/* Téléphone : étapes de « Notre histoire » — le texte blanc occupe toute la hauteur de la vignette (plus de décalage
   quand le texte est court, étapes 5 et 6) (Elsa, 2026-11-09). */
@media (max-width: 767px) {
	.elementor .tbx-sec .e-con.tbx-ap-step {
		align-items: stretch;
	}

	.elementor .tbx-sec.tbx-ap-story .tbx-ap-step__card {
		align-self: stretch;
		justify-content: center;
	}
}

/* Téléphone : « Pour qui ? » — le contenu s'affiche juste sous le bandeau sélectionné (Elsa, 2026-11-09). */
@media (max-width: 767px) {
	.elementor .tbq .tbq__tabs { flex-direction: column; flex-wrap: nowrap; }
	.elementor .tbq .tbq__tab { flex: none; width: 100%; }
	.elementor .tbq .tbq__tabs > .tbq__panels { width: 100%; margin: 0; }
}

/* Haut de page À propos : rayons BD à la place du terrain en perspective, comme sur la page Contact (Elsa, 2026-11-09). */
html body .elementor .e-con.tbx-sec.tbx-ap-hero::before {
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	translate: none;
	background: repeating-conic-gradient(from 0deg at 72% 55%, rgba(255, 255, 255, .11) 0 6deg, transparent 6deg 15deg);
	-webkit-mask-image: radial-gradient(60% 80% at 72% 55%, #000 0, transparent 85%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: radial-gradient(60% 80% at 72% 55%, #000 0, transparent 85%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
	mask-composite: intersect;
}

@media (max-width: 1024px) {
	html body .elementor .e-con.tbx-sec.tbx-ap-hero::before {
		background: repeating-conic-gradient(from 0deg at 50% 72%, rgba(255, 255, 255, .11) 0 6deg, transparent 6deg 15deg);
		-webkit-mask-image: radial-gradient(80% 60% at 50% 72%, #000 0, transparent 85%);
		mask-image: radial-gradient(80% 60% at 50% 72%, #000 0, transparent 85%);
	}
}
