/*
 * Animations discrètes du site (assets/js/motion.js). Seuls des déplacements et des fondus (translate, opacity,
 * transform), que le navigateur anime sans recalculer la page.
 */

/* 1. Apparition au défilement (classes posées par motion.js sur les blocs sous l'écran). */
.tb-rv {
	transition: opacity .7s cubic-bezier(.2, .8, .2, 1), translate .7s cubic-bezier(.2, .8, .2, 1) !important;
}

.tb-pre {
	opacity: 0;
	translate: 0 24px;
}

/* 2. Parallaxe : décalage vertical calculé au défilement. */
.tb-par {
	translate: 0 var(--py, 0px);
}

/* 3a. Inclinaison vers le curseur. */
.tb-tilt {
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
	will-change: transform;
}

/* 3b. Boutons aimantés. */
.tb-magnet {
	translate: var(--mx, 0px) var(--my, 0px);
	transition-property: translate, transform, background, box-shadow, color;
	transition-duration: .25s;
	transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

/* 4. Micro-interactions au survol (en complément de celles des composants). */
.tbx-cat-card__btn:hover .tbx-cat-card__btn-dot,
.tbx-404-home:hover .tbx-404-home__dot {
	translate: 3px 0;
}

.tbx-cat-card__btn-dot,
.tbx-404-home__dot {
	transition: translate .2s ease-out;
}

.tbx-srch-sec__more,
.tbx-tar-faq__text a,
.tb-cta__link {
	transition: text-underline-offset .2s, color .2s, border-color .2s;
}

.tbx-srch-sec__more:hover {
	text-underline-offset: 7px;
}

@media (prefers-reduced-motion: reduce) {
	.tb-pre {
		opacity: 1;
		translate: none;
	}

	.tb-par,
	.tb-magnet {
		translate: none;
	}

	.tb-tilt {
		transform: none;
	}

	.tb-glow {
		display: none;
	}
}

/* 5. Reflet lumineux sur les personnages des hauts de page (Elsa, 2026-11-04) : une lueur chaude et douce suit la
   souris, découpée à la forme de l'illustration détourée (masque = l'image elle-même, posé par motion.js). */
.tb-glow {
	position: absolute;
	z-index: 1;
	background: radial-gradient(circle 170px at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 200, .42) 0, rgba(255, 226, 180, .16) 50%, transparent 100%);
	mix-blend-mode: screen;
	opacity: 0;
	pointer-events: none;
	transition: opacity .45s ease-out;
	-webkit-mask: var(--glow-img) center / 100% 100% no-repeat;
	mask: var(--glow-img) center / 100% 100% no-repeat;
}

.tb-glow.is-on {
	opacity: 1;
}

/* 6. Bandeaux de bas de page, style BD et simples (Elsa, 2026-11-05) : au survol, un point lumineux suit la souris sur
   le fond du bandeau et l'objet de droite glisse de quelques pixels vers elle (variables posées par motion.js). */
.tb-cta:is(.tb-bd, .tb-bd-mini, .tb-cta--promo, .tb-simple)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle 240px at var(--tbl-x, 50%) var(--tbl-y, 50%), rgba(255, 255, 255, .17) 0, rgba(255, 255, 255, .06) 45%, transparent 72%);
	opacity: 0;
	transition: opacity .45s ease-out;
	pointer-events: none;
}

.tb-cta.tb-simple::after {
	background: radial-gradient(circle 260px at var(--tbl-x, 50%) var(--tbl-y, 50%), rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, .3) 45%, transparent 72%);
}

.tb-cta.tb-lit::after {
	opacity: 1;
}

.tb-bd .tb-bd__side,
.tb-cta--promo .tb-promo__ticket-wrap,
.tb-bd-mini .tb-bd-mini__medal {
	translate: calc(var(--tbc-x, 0) * 8px) calc(var(--tbc-y, 0) * 6px);
	transition: translate .6s cubic-bezier(.2, .8, .2, 1);
}

.tb-simple .tb-simple__ball,
.tb-cta--promo .tb-promo__ball {
	translate: calc(var(--tbc-x, 0) * 16px) calc(var(--tbc-y, 0) * 12px);
	transition: translate .6s cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
	.tb-cta:is(.tb-bd, .tb-bd-mini, .tb-cta--promo, .tb-simple)::after {
		display: none;
	}

	.tb-bd .tb-bd__side,
	.tb-cta--promo .tb-promo__ticket-wrap,
	.tb-bd-mini .tb-bd-mini__medal,
	.tb-simple .tb-simple__ball,
	.tb-cta--promo .tb-promo__ball {
		translate: none;
	}
}

/* 7. Hauts de page (Elsa, 2026-11-06) : point lumineux qui suit la souris sur le fond (calque posé par motion.js), derrière
   le texte et l'illustration. Lueur blanche sur les fonds de couleur, bleu léger sur le fond blanc de l'accueil.
   Taille réduite (Elsa, 2026-11-07) : 200 px de rayon au lieu de 300 / 320. */
.tb-hero-light {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle 200px at var(--tbl-x, 50%) var(--tbl-y, 50%), rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, .06) 45%, transparent 72%);
	opacity: 0;
	transition: opacity .45s ease-out;
	pointer-events: none;
}

.e-con.tbx-hero > .tb-hero-light {
	background: radial-gradient(circle 200px at var(--tbl-x, 50%) var(--tbl-y, 50%), rgba(48, 121, 170, .16) 0, rgba(48, 121, 170, .06) 45%, transparent 72%);
}

.tb-hero-light.is-on {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.tb-hero-light {
		display: none;
	}
}

/* 5. Accueil (2026-11-13, v5, ralenti pour laisser le temps de lire) : le héros se construit en ~10 s.
 *    0,2 s : pastille + gros titre (glisse depuis la gauche, le mot TENNIS explose) ; 1,8 s : les rayons jaillissent ;
 *    2,6 s : l'illustration arrive de la droite, sans rebond ; 4,2 / 5,4 / 6,6 s : les 3 bulles, de gauche à droite ;
 *    8 s : sous-titre (qui s'écrit avec des étincelles, motion.js §7), 11,4 s : boutons. À la fin, l'illustration reste figée (pas de flottement).
 *    Au défilement, tout ce qui est sous l'écran monte de plus loin et plus lentement (motion.js).
 *    Seuls opacity / translate / scale / rotate sont animés (les bulles gardent leur translate de placement). */
@media (prefers-reduced-motion: no-preference) {
	.home:not(.elementor-editor-active) .e-con.tbx-hero::before {
		transform-origin: 70% 0;
		animation: tb-rays 1s cubic-bezier(.2, .8, .2, 1) .5s both;
	}

	.home:not(.elementor-editor-active) .tbx-hero__content > * {
		animation: tb-hero-up .7s cubic-bezier(.2, .8, .2, 1) both;
	}

	.home .tbx-hero__content > :nth-child(1) { animation-delay: .1s; }
	.home .tbx-hero__content > :nth-child(3) { animation-delay: 3.4s; }
	.home .tbx-hero__content > :nth-child(4) { animation-delay: 4.4s; }
	.home .tbx-hero__content > :nth-child(5) { animation-delay: 4.7s; }

	.home:not(.elementor-editor-active) .tbx-hero__content > .tbx-hero__title {
		animation: tb-hero-left .8s cubic-bezier(.2, .8, .2, 1) .1s both;
	}

	.home:not(.elementor-editor-active) .tbx-hero__title span {
		display: inline-block;
		animation: tb-hero-pop .8s cubic-bezier(.3, 1.6, .5, 1) .5s both;
	}

	.home:not(.elementor-editor-active) .tbx-hero__visual {
		animation: tb-hero-drop .8s cubic-bezier(.2, .8, .2, 1) .4s both;
	}

	.home:not(.elementor-editor-active) .tbx-hero__visual .tbx-bubble {
		animation: tb-bubble-pop .6s cubic-bezier(.3, 1.8, .5, 1) both;
	}

	.home .tbx-hero__visual .tbx-bubble:nth-child(1) { animation-delay: 1.8s; }
	.home .tbx-hero__visual .tbx-bubble:nth-child(2) { animation-delay: 2.5s; }
	.home .tbx-hero__visual .tbx-bubble:nth-child(3) { animation-delay: 3.2s; }

	.home .tb-pre {
		translate: 0 70px;
		scale: .94;
	}

	.home .tb-rv {
		transition: opacity 1s cubic-bezier(.2, .8, .2, 1), translate 1s cubic-bezier(.2, .8, .2, 1), scale 1s cubic-bezier(.2, .8, .2, 1) !important;
	}

	.home .tbx-zone .tb-pre:nth-child(odd) { translate: -80px 30px; }
	.home .tbx-zone .tb-pre:nth-child(even) { translate: 80px 30px; }

	@keyframes tb-rays {
		from { opacity: 0; scale: 1 .2; }
		to { opacity: 1; scale: 1 1; }
	}

	@keyframes tb-hero-up {
		from { opacity: 0; translate: 0 60px; }
		to { opacity: 1; translate: 0 0; }
	}

	@keyframes tb-hero-left {
		from { opacity: 0; translate: -140px 0; }
		to { opacity: 1; translate: 0 0; }
	}

	@keyframes tb-hero-pop {
		0% { opacity: 0; scale: .2; rotate: -12deg; }
		55% { opacity: 1; scale: 1.3; rotate: 4deg; }
		80% { scale: .95; rotate: -2deg; }
		100% { opacity: 1; scale: 1; rotate: 0deg; }
	}

	@keyframes tb-hero-drop {
		from { opacity: 0; translate: 220px -60px; scale: .7; rotate: 6deg; }
		to { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
	}

	@keyframes tb-bubble-pop {
		0% { opacity: 0; scale: 0; }
		70% { opacity: 1; scale: 1.2; }
		100% { opacity: 1; scale: 1; }
	}
}

@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
	.home .tbx-hero__visual { animation-name: tb-hero-up !important; }
	.home .tbx-zone .tb-pre:nth-child(n) { translate: 0 50px; }
}

/* 6. Accueil — « Pourquoi choisir Tennis Box » (2026-11-13) : la section se construit quand on l'atteint
 *    (classes tb-why-wait / tb-why-in posées par motion.js). Titre depuis la gauche + trait qui se dessine,
 *    2 atouts depuis la droite (icône qui éclate), 3 profils qui montent l'un après l'autre (badge qui tourne),
 *    puis les points de chaque profil un par un (coche qui éclate). Pas d'effet au survol (Elsa). */
@media (prefers-reduced-motion: no-preference) {
	.tb-why-wait :is(.tbx-why__intro > *, .tbx-benefit, .tbx-aud, .tbx-checks li) {
		opacity: 0;
	}

	.tb-why-in .tbx-why__intro > * { animation: tb-hero-left .9s cubic-bezier(.2, .8, .2, 1) both; }
	.tb-why-in .tbx-why__intro > :nth-child(2) { animation-delay: .3s; }
	.tb-why-in .tbx-bar .elementor-heading-title::after { animation: tb-bar 1s cubic-bezier(.2, .8, .2, 1) .5s both; transform-origin: left; }

	.tb-why-in .tbx-benefit { animation: tb-why-right .9s cubic-bezier(.2, .8, .2, 1) both; }
	.tb-why-in .tbx-benefit:nth-child(1) { animation-delay: .5s; }
	.tb-why-in .tbx-benefit:nth-child(2) { animation-delay: .8s; }
	.tb-why-in .tbx-benefit__img { animation: tb-bubble-pop .8s cubic-bezier(.3, 1.8, .5, 1) both; }
	.tb-why-in .tbx-benefit:nth-child(1) .tbx-benefit__img { animation-delay: .9s; }
	.tb-why-in .tbx-benefit:nth-child(2) .tbx-benefit__img { animation-delay: 1.2s; }

	.tb-why-in .tbx-aud { animation: tb-hero-up 1s cubic-bezier(.2, .8, .2, 1) both; }
	.tb-why-in .tbx-aud--club { animation-delay: 1.2s; }
	.tb-why-in .tbx-aud--ens { animation-delay: 1.6s; }
	.tb-why-in .tbx-aud--jou { animation-delay: 2s; }

	.tb-why-in .tbx-aud__label .elementor-heading-title::before { animation: tb-badge-spin .9s cubic-bezier(.3, 1.5, .5, 1) both; }
	.tb-why-in .tbx-aud--club .tbx-aud__label .elementor-heading-title::before { animation-delay: 1.5s; }
	.tb-why-in .tbx-aud--ens .tbx-aud__label .elementor-heading-title::before { animation-delay: 1.9s; }
	.tb-why-in .tbx-aud--jou .tbx-aud__label .elementor-heading-title::before { animation-delay: 2.3s; }

	.tb-why-in .tbx-checks li { animation: tb-why-right .7s cubic-bezier(.2, .8, .2, 1) both; }
	.tb-why-in .tbx-checks li::before { animation: tb-bubble-pop .6s cubic-bezier(.3, 1.8, .5, 1) both; animation-delay: inherit; }
	.tb-why-in .tbx-aud--club li:nth-child(1) { animation-delay: 1.9s; }
	.tb-why-in .tbx-aud--club li:nth-child(2) { animation-delay: 2.3s; }
	.tb-why-in .tbx-aud--ens li:nth-child(1) { animation-delay: 2.3s; }
	.tb-why-in .tbx-aud--ens li:nth-child(2) { animation-delay: 2.7s; }
	.tb-why-in .tbx-aud--jou li:nth-child(1) { animation-delay: 2.7s; }
	.tb-why-in .tbx-aud--jou li:nth-child(2) { animation-delay: 3.1s; }

	@keyframes tb-why-right {
		from { opacity: 0; translate: 60px 0; }
		to { opacity: 1; translate: 0 0; }
	}

	@keyframes tb-bar {
		from { scale: 0 1; }
		to { scale: 1 1; }
	}

	@keyframes tb-badge-spin {
		from { opacity: 0; scale: .3; rotate: -180deg; }
		to { opacity: 1; scale: 1; rotate: 0deg; }
	}

}

/* 7. Machine à écrire (motion.js §7) : lettres masquées sans perdre leur place, puis révélées une à une. */
@media (prefers-reduced-motion: no-preference) {
	.home .tbx-hero .tb-ch {
		visibility: hidden;
	}

	.home .tbx-hero .tb-ch.is-on {
		visibility: visible;
	}
}

/* 8. Sous-titre du héros : effet « bougie magique » (motion.js §7). Chaque lettre s'allume en doré puis reprend
 *    sa couleur ; une tête d'étincelle lumineuse suit l'écriture ; de petites étincelles jaillissent et retombent. */
@media (prefers-reduced-motion: no-preference) {
	.home .tbx-hero .tb-spark-box {
		position: relative;
	}

	.home .tbx-hero__lead .tb-ch.is-on {
		animation: tb-ch-glow .95s ease-out both;
	}

	.home .tbx-hero .tb-spark-head {
		position: absolute;
		z-index: 2;
		width: 10px;
		height: 10px;
		margin: -5px 0 0 -5px;
		border-radius: 50%;
		background: #fffbe6;
		box-shadow: 0 0 6px 3px #ffd34d, 0 0 16px 8px rgba(255, 176, 46, .75), 0 0 32px 14px rgba(203, 82, 35, .35);
		pointer-events: none;
		animation: tb-flicker .12s steps(2) infinite;
		transition: left .03s linear, top .03s linear, opacity .6s;
	}

	.home .tbx-hero .tb-spark-head.is-out {
		opacity: 0;
	}

	.home .tbx-hero .tb-spark {
		position: absolute;
		z-index: 2;
		width: 5px;
		height: 5px;
		margin: -2.5px 0 0 -2.5px;
		border-radius: 50%;
		box-shadow: 0 0 8px 2px #ffd34d;
		pointer-events: none;
		animation: tb-spark .8s ease-out forwards;
	}

	@keyframes tb-ch-glow {
		0% { color: #fff3b0; text-shadow: 0 0 8px #ffd34d, 0 0 18px #ffb02e; }
		40% { color: #ffb02e; text-shadow: 0 0 6px #ffd34d; }
		100% { text-shadow: none; }
	}

	@keyframes tb-flicker {
		from { scale: 1; opacity: 1; }
		to { scale: 1.35; opacity: .8; }
	}

	@keyframes tb-spark {
		from { opacity: 1; translate: 0 0; scale: 1; }
		to { opacity: 0; translate: var(--dx) var(--dy); scale: .3; }
	}
}

/* 9. Enchaînement du héros piloté par motion.js §7 (classe tb-seq sur le héros) : bulles, sous-titre et boutons
 *    restent cachés jusqu'à ce que l'étape précédente soit finie (classe tb-go), au lieu de délais fixes. */
@media (prefers-reduced-motion: no-preference) {
	.home .tbx-hero.tb-seq .tbx-hero__visual .tbx-bubble:not(.tb-go),
	.home .tbx-hero.tb-seq .tbx-hero__content > :not(.tbx-hero__title):not(:first-child):not(.tb-go) {
		opacity: 0;
		animation: none;
	}

	.home .tbx-hero.tb-seq .tbx-hero__visual .tbx-bubble.tb-go {
		animation: tb-bubble-pop .6s cubic-bezier(.3, 1.8, .5, 1) both;
	}

	.home .tbx-hero.tb-seq .tbx-hero__content > .tb-go {
		animation: tb-hero-up .7s cubic-bezier(.2, .8, .2, 1) both;
	}
}

/* 10. Sections Box de l'accueil (motion.js §8, v2) : chaque ligne cochée se dévoile quand on l'atteint — ligne qui
 *     ordre : coche qui éclate (halo doré + étincelles), puis titre en gras (reflet doré), puis description mot à mot ;
 *     la phrase d'accroche et le bouton du bandeau arrivent après la dernière ligne. */
@media (prefers-reduced-motion: no-preference) {
	.home .tbx-band__features.tb-li-wait li:not(.tb-li-on) {
		opacity: 0;
	}

	.home .tbx-band__features.tb-li-wait ~ :is(.tbx-band__tagline, .tbx-btn) {
		opacity: 0;
	}

	.home .tbx-band__features.tb-li-done ~ :is(.tbx-band__tagline, .tbx-btn) {
		animation: tb-hero-up 1s cubic-bezier(.2, .8, .2, 1) both;
	}

	.home .tbx-band__features.tb-li-done ~ .tbx-btn {
		animation-delay: .35s;
	}

	.home .tbx-band__features li.tb-li-on::before {
		animation: tb-check-burst 1s cubic-bezier(.3, 1.8, .5, 1) backwards;
	}

	/* Balayage scintillant (effet C, Elsa 2026-11-16) : le texte de la ligne est caché, une lueur dorée le dévoile de gauche à droite. */
	.home .tbx-band__features li .tb-reveal {
		display: block;
		clip-path: inset(-8px 100% -8px 0);
	}

	.home .tbx-band__features li.tb-go .tb-reveal {
		animation: tb-wipe 3s cubic-bezier(.4, .1, .2, 1) forwards;
	}

	.home .tbx-band__features li .tb-sweep-band {
		position: absolute;
		top: -6px;
		bottom: -6px;
		left: 64px;
		z-index: 2;
		width: 46px;
		opacity: 0;
		pointer-events: none;
		background: radial-gradient(circle at 50% 50%, rgba(255, 211, 77, .6), rgba(255, 176, 46, .22) 45%, transparent 70%);
	}

	.home .tbx-band__features li.tb-go .tb-sweep-band {
		animation: tb-sweep 3s cubic-bezier(.4, .1, .2, 1) forwards;
	}

	.home .tbx-band__features .tb-spark--dust {
		position: absolute;
		z-index: 2;
		border-radius: 50%;
		box-shadow: 0 0 6px #ffb02e;
		pointer-events: none;
		animation: tb-dust 1s ease-out forwards;
	}

	@keyframes tb-wipe {
		to { clip-path: inset(-8px calc(100% - var(--tw, 100%)) -8px 0); }
	}

	@keyframes tb-sweep {
		0% { left: 64px; opacity: 1; }
		85% { opacity: 1; }
		100% { left: calc(64px + var(--tw, 100%) - 30px); opacity: 0; }
	}

	@keyframes tb-dust {
		0% { opacity: 1; translate: 0 0; }
		100% { opacity: 0; translate: var(--dx) var(--dy); }
	}

	@keyframes tb-t1-in {
		from { opacity: 0; translate: 24px 0; }
		to { opacity: 1; translate: 0 0; }
	}

	.home .tbx-band__features .tb-spark--check {
		position: absolute;
		left: 24px;
		top: 24px;
		z-index: 2;
		width: 7px;
		height: 7px;
		margin: -3.5px 0 0 -3.5px;
		border-radius: 50%;
		box-shadow: 0 0 10px 3px #ffd34d;
		pointer-events: none;
		animation: tb-spark-check 1s ease-out forwards;
	}

	@keyframes tb-check-burst {
		0% { scale: 0; box-shadow: 0 0 0 0 rgba(255, 211, 77, .9); }
		50% { scale: 1.3; box-shadow: 0 0 22px 10px rgba(255, 211, 77, .8); }
		100% { scale: 1; box-shadow: 0 0 0 0 rgba(255, 211, 77, 0); }
	}

	@keyframes tb-spark-check {
		0% { opacity: 1; translate: 0 0; scale: 1.2; }
		60% { opacity: 1; }
		100% { opacity: 0; translate: var(--dx) var(--dy); scale: .4; }
	}

	@keyframes tb-shine {
		from { background-position: 100% 0; }
		to { background-position: 0% 0; }
	}
}

/* Accueil : lien « Voir toute l'offre communication » retiré (Elsa, 2026-11-13). */
.home .tbx-zone--communication .tbx-products__head .tbx-link {
	display: none !important;
}

/* Sections Box de l'accueil sur téléphone (Elsa, 2026-11-18) : balayage plus rapide (3 s → 1,9 s), en phase avec
 * motion.js §8 (SWEEP). */
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
	.home .tbx-band__features li.tb-go .tb-reveal,
	.home .tbx-band__features li.tb-go .tb-sweep-band {
		animation-duration: 1.9s;
	}

	.home .tbx-band__features.tb-li-done ~ :is(.tbx-band__tagline, .tbx-btn) {
		animation-duration: .7s;
	}

	.home .tbx-band__features.tb-li-done ~ .tbx-btn {
		animation-delay: .2s;
	}
}

/* Sous-titre du héros sur téléphone (Elsa, 2026-11-18) : lueur des lettres allégée (couleur seule, sans halo de
 * texte, coûteux à animer sur des dizaines de lettres à la fois) pour une écriture fluide. */
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
	.home .tbx-hero__lead .tb-ch.is-on {
		animation: tb-ch-glow-lite .8s ease-out both;
	}

	@keyframes tb-ch-glow-lite {
		0% { color: #ffb02e; }
		100% { }
	}
}

/* Sous-titre du héros sur téléphone (Elsa, 2026-11-18) : même dévoilement que les lignes cochées des sections Box —
 * le texte est caché, une lueur dorée le dévoile de gauche à droite en semant de la poussière d'étoiles (motion.js §7,
 * sweepLead). Remplace sur téléphone l'écriture lettre à lettre avec la tête lumineuse. */
/* Ordinateur aussi depuis le 19/11 (Elsa) : même balayage, en 3 s comme les lignes cochées des Box sur ordinateur. */
@media (prefers-reduced-motion: no-preference) {
	.home .tbx-hero__lead .tb-lead-sweep {
		position: relative;
	}

	.home .tbx-hero__lead .tb-lead-sweep .tb-reveal {
		display: block;
		clip-path: inset(-8px 100% -8px 0);
	}

	.home .tbx-hero__lead .tb-lead-sweep.tb-go-sweep .tb-reveal {
		animation: tb-wipe 1.9s cubic-bezier(.4, .1, .2, 1) forwards;
	}

	.home .tbx-hero__lead .tb-lead-sweep .tb-sweep-band {
		position: absolute;
		top: -6px;
		bottom: -6px;
		left: 0;
		z-index: 2;
		width: 46px;
		opacity: 0;
		pointer-events: none;
		background: radial-gradient(circle at 50% 50%, rgba(255, 211, 77, .6), rgba(255, 176, 46, .22) 45%, transparent 70%);
	}

	.home .tbx-hero__lead .tb-lead-sweep.tb-go-sweep .tb-sweep-band {
		animation: tb-sweep-lead 1.9s cubic-bezier(.4, .1, .2, 1) forwards;
	}

	.home .tbx-hero__lead .tb-spark--dust {
		position: absolute;
		z-index: 2;
		border-radius: 50%;
		box-shadow: 0 0 6px #ffb02e;
		pointer-events: none;
		animation: tb-dust 1s ease-out forwards;
	}

	@keyframes tb-sweep-lead {
		0% { left: -10px; opacity: 1; }
		85% { opacity: 1; }
		100% { left: calc(var(--tw, 100%) - 30px); opacity: 0; }
	}
}

/* Sous-titre du héros sur ordinateur (Elsa, 2026-11-19) : balayage doré en 3 s (1,9 s sur téléphone). */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
	.home .tbx-hero__lead .tb-lead-sweep.tb-go-sweep .tb-reveal,
	.home .tbx-hero__lead .tb-lead-sweep.tb-go-sweep .tb-sweep-band {
		animation-duration: 3s;
	}
}
