/*
 * Passe 28 (16/11/2026) : animations, demandes du client du 15/11/2026 au soir.
 * Feuille chargée après style.css (functions.php, boucle sur assets/css/passe-*.css). Cinq parties :
 * 1. Actualités : les deux enceintes jouent le même morceau, en phase : même pulsation des boomers,
 *    mêmes ondes au même moment, sur un tempo musical (75 battements par minute, mesures de 4 temps).
 * 2. Vinyle (bandeaux des systèmes clients, vinyle de la boutique) : une vraie lumière
 *    sur un disque qui tourne. Le reflet anisotrope (le « nœud papillon » de lumière d'un disque) reste fixe, face à
 *    la source ; c'est le disque qui tourne dessous, et ses sillons scintillent quand ils passent sous la lumière.
 * 3. Reflets plus doux partout : lumière qui suit la souris (photos de produits, cartes), reflets des boutons,
 *    balayages des bandeaux : intensité plus faible, transitions plus lentes, la lumière suit le pointeur avec un
 *    léger retard.
 * 4. Boutique, catégories et étiquettes (second tour, 16/11/2026) : une scène par famille de câbles, à la place de
 *    l'ancienne vitrine (assets/js/boutique-salon.js).
 * 5. Un motif par rubrique (second tour) : L'entreprise, Notre technologie, Auditorium, Contact, articles, Matériel,
 *    Câblage (assets/js/bandeaux.js).
 * Règles communes : transform et opacity seulement pour tout ce qui tourne en boucle ; décor aria-hidden, sans clic,
 * en position absolue (CLS nul) ; mouvement seulement avec la classe est-anime du bandeau (assets/js/bandeaux.js :
 * bandeau à l'écran, onglet visible, bouton global de pause) ; rien en mouvement réduit ; aucun décor en couleurs
 * forcées ; noir, graphite, or et ivoire seulement.
 */

/* ==================================================================================================================
 * 1. Enceintes Jean Maurer (Actualités jusqu'au 17/11, passe 40) et Auditorium : une paire d'enceintes qui joue un
 *    morceau, en harmonie
 * ================================================================================================================== */

/*
 * Les ondes ne sont plus des calques à part (une à gauche, une à droite, en alternance) : chaque enceinte porte ses
 * deux ondes (::before et ::after), nées de son boomer, avec exactement les mêmes images clés et les mêmes retards à
 * gauche et à droite. Toutes partent ensemble quand le bandeau reçoit est-anime : la phase est la même, par
 * construction.
 */
.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-onde {
	display: none !important;
}

.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::before,
.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 52%;
	width: 30rem;
	aspect-ratio: 1;
	border: 1px solid rgb(242 201 76 / 0.3);
	border-radius: 50%;
	translate: -50% -50%;
	transform: scale(0.42);
	opacity: 0.18;
	pointer-events: none;
}

.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
	transform: scale(0.74);
	opacity: 0.1;
}

@media (max-width: 781.98px) {
	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::before,
	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
		width: 16rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	/* Les boomers : le même motif rythmique, au même instant, des deux côtés (aucun retard à droite). */
	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte__boomer {
		animation-name: legato28-boomer;
		animation-duration: 6.4s;
		animation-timing-function: linear;
		animation-delay: 0s;
		animation-iteration-count: infinite;
	}

	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::before,
	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
		opacity: 0;
		animation: legato28-onde 6.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite paused;
	}

	/* Seconde onde : née sur le premier temps de la mesure suivante (3,2 s plus tard), des deux côtés à la fois. */
	.bandeau-decore:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
		animation-delay: -3.2s;
	}

	.bandeau-decore.est-anime:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::before,
	.bandeau-decore.est-anime:is(.bandeau--enceintes, .bandeau--auditorium) > .bandeau-decor .motif-enceinte::after {
		animation-play-state: running;
	}

	/*
	 * Ambiance des côtés (Actualités, grand écran) : les deux côtés vibrent ensemble, à la même hauteur, sur le même
	 * tempo (une salve de trois ondes à deux temps d'écart, toutes les six mesures).
	 */
	.actu-ambiance__cote > i,
	.actu-ambiance__cote--d > i {
		top: 40%;
		animation-duration: 19.2s;
		animation-delay: 0s;
	}

	.actu-ambiance__cote > i:nth-child(2),
	.actu-ambiance__cote--d > i:nth-child(2) {
		animation-delay: 1.6s;
	}

	.actu-ambiance__cote > i:nth-child(3),
	.actu-ambiance__cote--d > i:nth-child(3) {
		animation-delay: 3.2s;
	}

	.actu-ambiance__cote--d::before {
		animation-delay: 0s;
	}
}

.animations-en-pause .bandeau-decor .motif-enceinte::before,
.animations-en-pause .bandeau-decor .motif-enceinte::after {
	animation-play-state: paused !important;
}

/*
 * Une mesure de quatre temps, deux fois (6,4 s à 75 battements par minute) : grosse caisse forte sur le premier temps
 * de chaque mesure, moyenne sur le troisième, légère sur les deuxième et quatrième, et une croche de rebond avant la
 * mesure suivante. Attaque brève, retour plus lent : une membrane qui travaille, sans trembler.
 */
@keyframes legato28-boomer {
	0% {
		transform: scale(1.05);
	}

	6% {
		transform: scale(1);
	}

	12.4% {
		transform: scale(1);
	}

	13.3% {
		transform: scale(1.016);
	}

	18% {
		transform: scale(1);
	}

	24.9% {
		transform: scale(1);
	}

	25.8% {
		transform: scale(1.032);
	}

	31% {
		transform: scale(1);
	}

	37.4% {
		transform: scale(1);
	}

	38.3% {
		transform: scale(1.016);
	}

	42.5% {
		transform: scale(1);
	}

	43.7% {
		transform: scale(1.01);
	}

	47% {
		transform: scale(1);
	}

	49.9% {
		transform: scale(1);
	}

	50.6% {
		transform: scale(1.05);
	}

	56% {
		transform: scale(1);
	}

	62.4% {
		transform: scale(1);
	}

	63.3% {
		transform: scale(1.016);
	}

	68% {
		transform: scale(1);
	}

	74.9% {
		transform: scale(1);
	}

	75.8% {
		transform: scale(1.032);
	}

	81% {
		transform: scale(1);
	}

	87.4% {
		transform: scale(1);
	}

	88.3% {
		transform: scale(1.016);
	}

	92.5% {
		transform: scale(1);
	}

	93.7% {
		transform: scale(1.01);
	}

	97% {
		transform: scale(1);
	}

	99.4% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.05);
	}
}

/* L'onde : née avec la grosse caisse, elle s'élargit et s'éteint en moins de deux mesures. */
@keyframes legato28-onde {
	0% {
		opacity: 0;
		transform: scale(0.12);
	}

	3% {
		opacity: 0.62;
	}

	72%,
	100% {
		opacity: 0;
		transform: scale(1);
	}
}

/* ==================================================================================================================
 * 2. Vinyle : une vraie lumière sur un disque qui tourne
 * ================================================================================================================== */

/*
 * Le calque du reflet (motif-disque__reflet, posé par assets/js/bandeaux.js et boutique-salon.js) ne tourne plus : il
 * porte la lumière, fixe par rapport à la source. Son masque est le reflet anisotrope d'un disque : un faisceau
 * étroit le long d'un rayon, tourné vers la lumière (--reflet-angle), et son symétrique, plus faible, de l'autre côté
 * du centre ; fondu sur ses bords, limité à la zone gravée (ni l'étiquette ni la tranche).
 * Dans ce faisceau : les sillons éclairés (anneaux fins), plus clairs à mi-rayon, et les plages entre deux morceaux.
 * Son pseudo-élément ::before est la matière du disque (variations d'éclat des sillons) : lui tourne avec le disque,
 * à la même vitesse que l'étiquette. Il n'est visible qu'à travers le masque du parent : le reflet fixe frémit
 * doucement quand le disque passe dessous. (Troisième tour, 16/11 : plus aucune paillette ni poussière, à la
 * demande du client.)
 */
.motif-disque__reflet {
	--reflet-angle: 28deg;
	background:
		radial-gradient(circle closest-side, transparent 24%, rgb(255 238 200 / 0.05) 40%, rgb(255 238 200 / 0.085) 62%, rgb(255 238 200 / 0.04) 84%, transparent 93%),
		radial-gradient(circle closest-side, transparent 47%, rgb(10 9 8 / 0.5) 47.6% 48.6%, transparent 49.2% 63%, rgb(10 9 8 / 0.5) 63.6% 64.4%, transparent 65% 77%, rgb(10 9 8 / 0.45) 77.6% 78.3%, transparent 79%),
		repeating-radial-gradient(circle closest-side, rgb(255 240 210 / 0.07) 0 1px, transparent 1px 3px);
	-webkit-mask-image:
		conic-gradient(from calc(var(--reflet-angle) - 26deg), transparent 0deg, rgb(0 0 0 / 0.3) 12deg, #000 23deg 29deg, rgb(0 0 0 / 0.3) 40deg, transparent 52deg 180deg, rgb(0 0 0 / 0.12) 193deg, rgb(0 0 0 / 0.42) 206deg, rgb(0 0 0 / 0.12) 219deg, transparent 232deg),
		radial-gradient(circle closest-side, transparent 21%, #000 25% 93%, transparent 97%);
	-webkit-mask-composite: source-in;
	mask-image:
		conic-gradient(from calc(var(--reflet-angle) - 26deg), transparent 0deg, rgb(0 0 0 / 0.3) 12deg, #000 23deg 29deg, rgb(0 0 0 / 0.3) 40deg, transparent 52deg 180deg, rgb(0 0 0 / 0.12) 193deg, rgb(0 0 0 / 0.42) 206deg, rgb(0 0 0 / 0.12) 219deg, transparent 232deg),
		radial-gradient(circle closest-side, transparent 21%, #000 25% 93%, transparent 97%);
	mask-composite: intersect;
	transform: none;
	animation: none !important;
}

.motif-disque__reflet::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background:
		conic-gradient(from 0deg, transparent 0deg, rgb(255 240 205 / 0.12) 6deg, transparent 11deg 37deg, rgb(255 240 205 / 0.07) 44deg, transparent 50deg 83deg, rgb(255 240 205 / 0.1) 88deg, rgb(255 240 205 / 0.03) 96deg, transparent 101deg 139deg, rgb(255 240 205 / 0.08) 147deg, transparent 152deg 197deg, rgb(255 240 205 / 0.11) 203deg, transparent 209deg 241deg, rgb(255 240 205 / 0.06) 251deg, transparent 257deg 293deg, rgb(255 240 205 / 0.1) 299deg, rgb(255 240 205 / 0.03) 307deg, transparent 312deg 333deg, rgb(255 240 205 / 0.07) 340deg, transparent 346deg);
	pointer-events: none;
}

/* Direction de la lumière selon la place du disque (le faisceau tombe dans la partie visible). */
@media (max-width: 781.98px) {
	.bandeau-systemes .bandeau-decor__motif > .motif-disque__reflet {
		--reflet-angle: 232deg;
	}
}

.vinyle--1 .bandeau-decor__motif > .motif-disque__reflet {
	--reflet-angle: 322deg;
}

.vinyle--2 .bandeau-decor__motif > .motif-disque__reflet {
	--reflet-angle: 296deg;
}

.motif-plateau > .motif-disque__reflet {
	--reflet-angle: 344deg;
}

@media (prefers-reduced-motion: no-preference) {
	/* Le disque tourne : sa matière et l'étiquette ensemble, un tour en 6 s (comme le disque, sans à-coup). */
	.motif-disque__reflet::before {
		animation: legato28-tour 6s linear infinite paused;
	}

	.bandeau-decor__motif .motif-disque__etiquette,
	.scene28 .motif-disque__etiquette {
		animation-duration: 6s;
	}

	.vinyle--1 .motif-disque__reflet::before,
	.vinyle--3 .motif-disque__reflet::before {
		animation-direction: reverse;
	}

	.bandeau-decore.est-anime > .bandeau-decor .motif-disque__reflet::before,
	.bandeau-decore.est-anime .scene28 .motif-disque__reflet::before {
		animation-play-state: running;
	}
}

.animations-en-pause .motif-disque__reflet::before {
	animation-play-state: paused !important;
}

@keyframes legato28-tour {
	to {
		transform: rotate(360deg);
	}
}

/* ==================================================================================================================
 * 3. Reflets plus doux partout
 * ================================================================================================================== */

/*
 * La lumière suit le pointeur avec un léger retard, au lieu de s'y coller : position animée (propriétés enregistrées,
 * transition de 0,7 s), apparition et disparition en 0,9 s. Les variables sont posées par assets/js/interactions.js.
 */
@property --lx {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 50%;
}

@property --ly {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 50%;
}

/*
 * La transition est posée sur le calque de lumière (::after) lui-même : il hérite de --lx et --ly, et une valeur
 * héritée qui change déclenche sa transition. Les transitions propres des cartes (cadre, soulèvement) ne sont pas
 * touchées.
 */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	/* Halo des cartes (tout le site) : environ 40 % plus faible, cœur plus fondu. */
	.lumiere-curseur::after {
		background: radial-gradient(circle 9rem at var(--lx, 50%) var(--ly, 50%), rgb(255 232 180 / 0.15), rgb(230 177 12 / 0.05) 42%, transparent 72%);
		transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), --lx 0.7s cubic-bezier(0.22, 1, 0.36, 1), --ly 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	:where(.lumiere-curseur)::after {
		background: radial-gradient(circle 16rem at var(--lx, 50%) var(--ly, 50%), rgb(242 201 76 / 0.085), rgb(230 177 12 / 0.03) 42%, transparent 74%);
		transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), --lx 0.7s cubic-bezier(0.22, 1, 0.36, 1), --ly 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Photos des cartes de produits et cartes de contenu (pas la grande photo des fiches : son ::after porte la pastille « agrandir » de la passe 26). */
	.wc-block-product .wc-block-components-product-image::after,
	.wp-block-post-template .wp-block-post-featured-image::after,
	.is-style-carte::after {
		transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), --lx 0.7s cubic-bezier(0.22, 1, 0.36, 1), --ly 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}
}

/* Lumière plus feutrée sur les photos et les cartes. */

.wp-block-post-template .wp-block-post-featured-image::after,
.is-style-carte::after {
	background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), rgb(255 238 205 / 0.09), transparent 62%);
}

.wc-block-product .wc-block-components-product-image::after {
	background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), rgb(230 177 12 / 0.065), rgb(230 177 12 / 0.02) 38%, transparent 64%);
}

@media (prefers-reduced-motion: no-preference) {
	/* Reflet qui traverse les boutons pleins : deux fois plus faible, deux fois plus lent. */
	:where(.wp-block-button:not(.is-style-outline)) > .wp-block-button__link:not(.wc-block-components-product-button__button)::after,
	.woocommerce div.product form.cart .single_add_to_cart_button::after,
	.lf-formulaire .wp-element-button::after,
	body.contenu-contact .wp-block-post-content .lf-formulaire .wp-element-button::after {
		background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 0.12) 44%, rgb(255 255 255 / 0.22) 50%, rgb(255 255 255 / 0.12) 56%, transparent 72%);
		transition: transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Bandeaux de titre : la lumière glisse plus lentement (12 s à 18 s par trajet). */
	.bandeau-decor__lumiere {
		animation-duration: 18s;
	}

	.bandeau--atelier > .bandeau-decor .bandeau-decor__lumiere {
		animation-duration: 21s;
	}

	/* Reflets des vitres (vu-mètre, haut-parleur) et éclats des cordes : plus lents. */
	.motif-vumetre__reflet {
		animation-duration: 18s;
	}

	.motif-hp__reflet {
		animation-duration: 18s;
	}

	.bandeau-decor__eclat,
	:is(.bandeau--conducteur, .bandeau--base) .bandeau-decor__eclat {
		animation-duration: 15s;
	}

	/* Vitrine de la boutique : la lumière rasante passe plus lentement. */
	.bandeau-vitrine__scene::after {
		animation-duration: 18s;
	}
}

/* Intensités : environ 35 % plus faibles. */
.motif-vumetre__reflet {
	background: linear-gradient(105deg, transparent 30%, rgb(255 244 214 / 0.035) 44%, rgb(255 244 214 / 0.06) 50%, rgb(255 244 214 / 0.035) 56%, transparent 66%);
}

.motif-hp__reflet {
	background: conic-gradient(from 0deg, transparent 0deg, rgb(255 236 190 / 0.075) 16deg, transparent 34deg, transparent 180deg, rgb(255 236 190 / 0.045) 196deg, transparent 214deg);
}

.bandeau-decor__eclat {
	background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(255 244 214 / 0.55), rgb(242 201 76 / 0.22) 40%, transparent 72%);
}

:is(.bandeau--conducteur, .bandeau--base) .bandeau-decor__eclat {
	background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(255 244 214 / 0.13), rgb(242 201 76 / 0.05) 45%, transparent 74%);
}

.bandeau--conseils > .bandeau-decor .bandeau-decor__plume {
	background: radial-gradient(ellipse 100% 50% at 100% 50%, rgb(255 238 196 / 0.32), rgb(242 201 76 / 0.1) 40%, rgb(242 201 76 / 0.03) 70%, transparent 100%);
}

.bandeau-actualites__surtitre::after,
.bandeau-actualites__rubriques::before {
	background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(255 238 186 / 0.45), rgb(242 201 76 / 0.15) 45%, transparent 72%);
}

.bandeau-vitrine__scene::after {
	background: linear-gradient(100deg, transparent 32%, rgb(255 244 214 / 0.045) 46%, rgb(255 244 214 / 0.075) 50%, rgb(255 244 214 / 0.045) 54%, transparent 66%);
}

@media (min-width: 782px) {
	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) main .is-style-bandeau:not(.bandeau-boutique)::before {
		background-image:
			linear-gradient(105deg, transparent 40%, rgb(255 240 200 / 0.3) 50%, transparent 60%),
			image-set(url("../images/bandeau-boutique-cables.webp") 1x, url("../images/bandeau-boutique-cables@2x.webp") 2x);
	}
}

/* ==================================================================================================================
 * 4. Boutique, catégories et étiquettes : une scène par famille (assets/js/boutique-salon.js), troisième tour
 * ================================================================================================================== */

/*
 * Retours du client du 16/11/2026 : aucune photo de câble dans le bandeau ; une scène cohérente pour chaque famille ;
 * des appareils qui ressemblent à de la hi-fi ; bras et cellule au-dessus du disque ; aucune paillette. Une case 4:3 à
 * droite du titre (functions.php), dessin en traits d'or fins, lumière douce. Familles : boutique, modulation, hp,
 * secteur, numerique, casque, prephono, affaires. Repère du dessin : 400 sur 300 ; les lueurs (calques HTML) sont
 * placées en % de ce repère.
 */
.bandeau-boutique > .bandeau-scene {
	position: relative;
	z-index: 1;
	width: min(100%, 24rem);
	aspect-ratio: 4 / 3;
	margin: var(--wp--preset--spacing--30) auto 0 !important;
	overflow: clip;
	pointer-events: none;
}

@media (min-width: 782px) {
	.bandeau-boutique > .bandeau-scene {
		grid-column: 2;
		grid-row: 1 / -1;
		align-self: center;
		width: 100%;
		max-width: 34rem;
		margin: 0 auto !important;
	}
}

/* Les fils et motifs de fond des bandeaux de boutique cèdent la place à la scène ; la lumière qui glisse reste. */
.bandeau-boutique.a-scene > .bandeau-decor :is(.bandeau-decor__motif, .bandeau-decor__fils) {
	display: none;
}

.scene28 {
	opacity: 0;
	transition: opacity 1.8s ease;
}

.scene28.est-pret {
	opacity: 1;
}

.scene28 > * {
	position: absolute;
	display: block;
}

.scene28__dessin {
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* Aura chaude derrière la scène. */
.scene28__aura {
	inset: 4% 6%;
	border-radius: 50%;
	background: radial-gradient(ellipse 50% 50% at 50% 52%, rgb(242 201 76 / 0.11), rgb(230 177 12 / 0.04) 48%, transparent 72%);
}

/* Lueurs : rondes, chaudes, posées sur un point du dessin. */
.scene28__lueur {
	aspect-ratio: 1;
	border-radius: 50%;
	translate: -50% -50%;
	background: radial-gradient(circle closest-side, rgb(255 236 190 / 0.55), rgb(242 201 76 / 0.2) 45%, transparent 100%);
	opacity: 0;
}

/* Le signal : une impulsion de lumière (et son halo) qui parcourt le câble. Invisible au repos. */
.scene28__halo,
.scene28__impulsion {
	stroke-dasharray: 7 100;
	stroke-dashoffset: 8;
}

.scene28__halo {
	stroke-dasharray: 12 100;
	stroke-dashoffset: 13;
	stroke-opacity: 0.18;
}

/* Bonnes affaires : les mentions de l'étiquette, une à la fois (textes de décor, non lus : aria-hidden). */
.scene28__mention {
	font-family: var(--wp--preset--font-family--josefin-sans, sans-serif);
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	fill: #F2C94C;
	opacity: 0;
}

.scene28__mention--1 {
	opacity: 1;
}

/* Le vinyle : plateau au liseré d'or, disque (calques du vinyle des bandeaux), axe ; place posée par le script. */
.scene28__platine > * {
	position: absolute;
	display: block;
}

.scene28__plateau {
	inset: -3%;
	border-radius: 50%;
	background:
		radial-gradient(circle closest-side, transparent 95.2%, rgb(255 240 205 / 0.16) 96%, rgb(242 201 76 / 0.32) 97%, #1B1814 98.4%, transparent 99.4%),
		radial-gradient(circle closest-side, #121110 95%, transparent 95.5%);
	box-shadow: 0 1.2rem 2.4rem rgb(0 0 0 / 0.5);
}

.scene28__platine > :is(.motif-disque, .motif-disque__reflet, .motif-disque__etiquette) {
	inset: 0;
	left: 0;
	bottom: auto;
	width: 100%;
	height: 100%;
	translate: none;
}

.scene28__platine > .motif-disque__reflet {
	--reflet-angle: 318deg;
	filter: brightness(1.6);
}

.scene28__axe {
	left: 50%;
	top: 50%;
	width: 2%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #FFF4D6, #E6B10C 45%, #4A3A16);
	translate: -50% -50%;
}

/* ---- Mouvement : seulement avec est-anime ---- */
@media (prefers-reduced-motion: no-preference) {
	.scene28 :is(.scene28__halo, .scene28__impulsion) {
		animation: legato28-impulsion 3.2s linear infinite paused;
	}

	.scene28 .scene28__halo {
		animation-name: legato28-halo;
	}

	.scene28--secteur :is(.scene28__halo, .scene28__impulsion) {
		animation-duration: 2.4s;
		animation-delay: 2.2s;
	}

	.scene28 .scene28__lueur--arrivee {
		animation: legato28-lueur-arrivee 3.2s ease-out infinite paused;
	}

	.scene28--secteur .scene28__lueur--arrivee {
		animation-duration: 2.4s;
		animation-delay: 2.2s;
	}

	.scene28--casque .scene28__son {
		opacity: 0.25;
		animation: legato28-son 3.2s ease-out infinite paused;
	}

	.scene28--affaires .scene28__reflet {
		animation: legato28-reflet-etiquette 6s cubic-bezier(0.45, 0, 0.55, 1) infinite paused;
	}

	.scene28--affaires .scene28__mention {
		animation: legato28-mention 14s ease infinite paused;
	}

	.scene28--affaires .scene28__mention--1 {
		opacity: 0;
		animation-delay: -0.6s;
	}

	.scene28--affaires .scene28__mention--2 {
		animation-delay: 2.9s;
	}

	.scene28--affaires .scene28__mention--3 {
		animation-delay: 6.4s;
	}

	.scene28 .scene28__bras {
		animation: legato28-bras-pose 3.2s cubic-bezier(0.45, 0, 0.25, 1) 1 both paused;
	}

	.scene28__aura {
		animation: legato28-respire 6s ease-in-out infinite alternate paused;
	}

	.bandeau-boutique.est-anime .scene28 :is(.scene28__halo, .scene28__impulsion, .scene28__lueur, .scene28__son, .scene28__reflet, .scene28__mention, .scene28__bras, .scene28__aura, .motif-disque__etiquette) {
		animation-play-state: running;
	}

	.bandeau-boutique.est-anime .scene28 .motif-disque__reflet::before {
		animation-play-state: running;
	}
}

.animations-en-pause .scene28 *,
.animations-en-pause .scene28 .motif-disque__reflet::before {
	animation-play-state: paused !important;
}

@media (forced-colors: active) {
	.scene28 {
		display: none;
	}
}

@keyframes legato28-impulsion {
	0% {
		stroke-dashoffset: 8;
	}

	60%,
	100% {
		stroke-dashoffset: -100;
	}
}

@keyframes legato28-halo {
	0% {
		stroke-dashoffset: 13;
	}

	60%,
	100% {
		stroke-dashoffset: -100;
	}
}

@keyframes legato28-lueur-arrivee {
	0%,
	54% {
		opacity: 0;
	}

	62% {
		opacity: 1;
	}

	86%,
	100% {
		opacity: 0;
	}
}

@keyframes legato28-son {
	0%,
	56% {
		opacity: 0.25;
	}

	64% {
		opacity: 1;
	}

	92%,
	100% {
		opacity: 0.25;
	}
}

@keyframes legato28-reflet-etiquette {
	0% {
		transform: translateX(0);
	}

	55%,
	100% {
		transform: translateX(320px);
	}
}

@keyframes legato28-mention {
	0% {
		opacity: 0;
	}

	5%,
	22% {
		opacity: 1;
	}

	26%,
	100% {
		opacity: 0;
	}
}

@keyframes legato28-respire {
	from {
		opacity: 0.7;
	}

	to {
		opacity: 1;
	}
}

/* Le bras quitte son repos, vient au-dessus du bord du disque, puis s'y pose. */
@keyframes legato28-bras-pose {
	0% {
		transform: rotate(-22deg);
	}

	62% {
		transform: rotate(0.8deg);
	}

	80% {
		transform: rotate(-0.3deg);
	}

	100% {
		transform: none;
	}
}

/* ==================================================================================================================
 * 5. Un motif par rubrique (passe 28, second et troisième tours, 16/11/2026 ; assets/js/bandeaux.js)
 * ================================================================================================================== */

/*
 * Même écriture partout : traits d'or fins, lumière douce, lenteur ; chaque motif est effacé derrière le titre (masque
 * du calque bandeau-decor__motif) et, sur grand écran, placé après la fin du titre s'il est long (coupé alors par le
 * bord du cadre). Notre technologie : signal
 * perturbé, module, signal soyeux (de gauche à droite). Auditorium : triangle d'écoute. Contact : arabesque tracée à
 * la plume. Articles : diapason. Matériel : bouton de volume. Câblage : le système et ses liaisons, dans l'ordre
 * conseillé par la page. (Enceintes Jean Maurer : les enceintes ; systèmes clients : le vinyle ; Livraison : les bobines ;
 * Revendeurs : les ondes ; Distinctions : le vu-mètre ; autres pages : les cordes.)
 */

/* ---- Objets posés à droite du titre (diapason, bouton, système, arabesque) ---- */
.motif-diapason28,
.motif-bouton28,
.motif-chaine28,
.motif-plume28 {
	--h: 90%;
	--ar: 1;
	right: max(4%, calc((100% - var(--wp--style--global--wide-size, 1240px)) / 2));
	height: var(--h);
	aspect-ratio: var(--ar);
}

:is(.motif-diapason28, .motif-bouton28, .motif-chaine28, .motif-plume28) > svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

@media (min-width: 782px) {
	.bandeau-decore > .bandeau-decor > .bandeau-decor__motif {
		container-type: size;
	}

	.motif-diapason28,
	.motif-bouton28,
	.motif-chaine28,
	.motif-plume28 {
		right: auto;
		left: max(calc(100cqw - max(4cqw, (100cqw - var(--wp--style--global--wide-size, 1240px)) / 2) - var(--h-cq) * var(--ar)), calc(var(--titre-x, 50cqw) + var(--titre-l, 20rem) / 2 + 2.5rem));
		height: var(--h-cq);
	}

	/* Livraison et retours : les bobines (passe 12) suivent la même règle, le titre étant long. */
	.bandeau--route .motif-magneto {
		right: auto;
		left: max(calc(100cqw - max(4cqw, (100cqw - var(--wp--style--global--wide-size, 1240px)) / 2) - 168cqh), calc(var(--titre-x, 50cqw) + var(--titre-l, 20rem) / 2 + 2.5rem));
	}
}

/* ---- Notre technologie : signal perturbé, module, signal soyeux ---- */
.motif-signal28__module {
	left: 24%;
	top: 80%;
	height: 40%;
	aspect-ratio: 2.5;
	translate: -50% -50%;
}

.motif-signal28__module > svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.motif-signal28__coeur {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 24%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle closest-side, rgb(255 236 190 / 0.55), rgb(242 201 76 / 0.18) 45%, transparent 100%);
	translate: -50% -50%;
	opacity: 0.8;
}

/* ---- Auditorium : le triangle d'écoute ---- */
.motif-triangle28 {
	inset: 0;
}

.motif-triangle28 > svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.motif-triangle28__son {
	stroke-dasharray: 10 100;
	stroke-dashoffset: 11;
}

.motif-triangle28__point,
.motif-triangle28__ecoute {
	position: absolute;
	width: 0.75rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #F2C94C;
	box-shadow: 0 0 0.8rem rgb(242 201 76 / 0.7);
	translate: -50% -50%;
}

.motif-triangle28__point {
	top: 24%;
}

.motif-triangle28__point--g {
	left: 12%;
}

.motif-triangle28__point--d {
	left: 88%;
}

.motif-triangle28__point::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4.5rem;
	aspect-ratio: 1;
	border: 1px solid rgb(242 201 76 / 0.5);
	border-radius: 50%;
	translate: -50% -50%;
	transform: scale(0.6);
	opacity: 0.5;
}

.motif-triangle28__ecoute {
	left: 50%;
	top: 94%;
	width: 0.7rem;
	background: #FFF4D6;
}

.motif-triangle28__ecoute::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 5rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle closest-side, rgb(255 236 190 / 0.5), rgb(242 201 76 / 0.14) 45%, transparent 100%);
	translate: -50% -50%;
	opacity: 0.4;
}

/* ---- Contact : l'arabesque ---- */
.motif-plume28 {
	--h-cq: 60cqh;
	--ar: 3.3333;
	--h: 60%;
	top: 50%;
	translate: 0 -50%;
}

/* ---- Articles : le diapason ---- */
.motif-diapason28 {
	--h-cq: 96cqh;
	--h: 96%;
	--ar: 0.5;
	bottom: -4%;
}

.motif-diapason28__vibration {
	opacity: 0;
}

.motif-diapason28__onde {
	position: absolute;
	left: 50%;
	top: 6%;
	width: 11rem;
	aspect-ratio: 1;
	border: 1px solid rgb(242 201 76 / 0.4);
	border-radius: 50%;
	translate: -50% -50%;
	transform: scale(0.5);
	opacity: 0.15;
}

/* ---- Matériel : le bouton de volume ---- */
.motif-bouton28 {
	--h-cq: 84cqh;
	--h: 84%;
	top: 50%;
	translate: 0 -50%;
}

.motif-bouton28 > span {
	position: absolute;
	display: block;
}

.motif-bouton28__corps,
.motif-bouton28__lumiere,
.motif-bouton28__index {
	inset: 16%;
	border-radius: 50%;
}

/* Métal tourné : cercles très fins, plus sombre au bord ; une lumière fixe, comme sur le vinyle. */
.motif-bouton28__corps {
	border: 1px solid rgb(230 177 12 / 0.45);
	background:
		repeating-radial-gradient(circle closest-side, rgb(255 240 210 / 0.045) 0 1px, transparent 1px 3px),
		radial-gradient(circle at 50% 42%, #2E2B27, #171513 62%, #0E0D0C);
	box-shadow: 0 0.8rem 1.6rem rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 240 210 / 0.08);
}

.motif-bouton28__lumiere {
	background: conic-gradient(from 300deg, transparent 0deg, rgb(255 240 210 / 0.11) 18deg, transparent 38deg 180deg, rgb(255 240 210 / 0.05) 198deg, transparent 218deg);
}

.motif-bouton28__index {
	transform: rotate(-20deg);
}

.motif-bouton28__index::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 7%;
	width: 1.5px;
	height: 24%;
	margin-left: -0.75px;
	background: linear-gradient(#FFF4D6, #E6B10C);
	box-shadow: 0 0 0.4rem rgb(242 201 76 / 0.6);
}

/* ---- Câblage : le système et ses liaisons ---- */
.motif-chaine28 {
	--h-cq: 94cqh;
	--h: 94%;
	--ar: 1.8;
	bottom: 3%;
}

.motif-chaine28__signal {
	stroke-dasharray: 10 100;
	stroke-dashoffset: 11;
}

@media (max-width: 781.98px) {
	.motif-plume28 {
		right: -1rem;
		--h: 40%;
		opacity: 0.7;
	}

	.motif-diapason28 {
		right: 0.5rem;
		--h: 82%;
		opacity: 0.75;
	}

	.motif-bouton28 {
		right: -1.5rem;
		--h: 70%;
		opacity: 0.75;
	}

	.motif-chaine28 {
		right: -1rem;
		--h: 70%;
		opacity: 0.7;
	}

	.motif-diapason28__onde {
		width: 6rem;
	}

	.motif-triangle28__point::after {
		width: 2.6rem;
	}
}

/* ---- Mouvement : seulement avec est-anime ---- */
@media (prefers-reduced-motion: no-preference) {
	.motif-signal28__coeur {
		animation: legato28-coeur 3.5s ease-in-out infinite alternate paused;
	}

	.motif-triangle28__son {
		animation: legato28-triangle-son 3.2s linear infinite paused;
	}

	.motif-triangle28__point::after {
		animation: legato28-triangle-source 3.2s ease-out infinite paused;
	}

	.motif-triangle28__ecoute::after {
		animation: legato28-triangle-ecoute 3.2s ease-out infinite paused;
	}

	.motif-plume28__trace {
		stroke-dasharray: 1 1;
		stroke-dashoffset: 1;
		animation: legato28-plume 11s cubic-bezier(0.45, 0.05, 0.4, 1) infinite paused;
	}

	.motif-diapason28__vibration {
		animation: legato28-diapason-vibre 8s ease-out infinite paused;
	}

	.motif-diapason28__onde {
		opacity: 0;
		animation: legato28-diapason-onde 8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite paused;
	}

	.motif-diapason28__onde--2 {
		animation-delay: 0.45s;
	}

	.motif-bouton28__index {
		animation: legato28-bouton 16s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate paused;
	}

	/* Câblage : numérique, modulation, haut-parleurs, puis secteur, l'une après l'autre (12 s). */
	.motif-chaine28__lien {
		animation: legato28-lien 12s ease infinite paused;
	}

	.motif-chaine28__signal {
		animation: legato28-chaine 12s linear infinite paused;
	}

	:is(.motif-chaine28__lien, .motif-chaine28__signal):is(.motif-chaine28__lien--2, .motif-chaine28__signal--2) {
		animation-delay: 2.5s;
	}

	:is(.motif-chaine28__lien, .motif-chaine28__signal):is(.motif-chaine28__lien--3, .motif-chaine28__signal--3) {
		animation-delay: 5s;
	}

	:is(.motif-chaine28__lien, .motif-chaine28__signal):is(.motif-chaine28__lien--4, .motif-chaine28__signal--4) {
		animation-delay: 7.5s;
	}

	.bandeau-decore.est-anime > .bandeau-decor :is(.motif-signal28__coeur, .motif-triangle28__son, .motif-plume28__trace, .motif-diapason28__vibration, .motif-diapason28__onde, .motif-bouton28__index, .motif-chaine28__lien, .motif-chaine28__signal) {
		animation-play-state: running;
	}

	.bandeau-decore.est-anime > .bandeau-decor .motif-triangle28__point::after,
	.bandeau-decore.est-anime > .bandeau-decor .motif-triangle28__ecoute::after {
		animation-play-state: running;
	}
}

.animations-en-pause .bandeau-decor :is(.motif-triangle28__point, .motif-triangle28__ecoute)::after {
	animation-play-state: paused !important;
}

@keyframes legato28-coeur {
	from {
		opacity: 0.55;
	}

	to {
		opacity: 1;
	}
}

/* Le son part des deux enceintes en même temps et arrive ensemble au point d'écoute. */
@keyframes legato28-triangle-son {
	0% {
		stroke-dashoffset: 11;
	}

	50%,
	100% {
		stroke-dashoffset: -100;
	}
}

@keyframes legato28-triangle-source {
	0% {
		opacity: 0.9;
		transform: scale(0.3);
	}

	40%,
	100% {
		opacity: 0;
		transform: scale(1.4);
	}
}

@keyframes legato28-triangle-ecoute {
	0%,
	40% {
		opacity: 0.25;
	}

	52% {
		opacity: 1;
	}

	85%,
	100% {
		opacity: 0.25;
	}
}

/* La plume trace, la ligne reste un temps, s'efface, puis la plume reprend. */
@keyframes legato28-plume {
	0% {
		stroke-dashoffset: 1;
		opacity: 1;
	}

	45% {
		stroke-dashoffset: 0;
	}

	78% {
		opacity: 1;
	}

	92%,
	100% {
		stroke-dashoffset: 0;
		opacity: 0;
	}
}

@keyframes legato28-diapason-vibre {
	0% {
		opacity: 1;
	}

	4% {
		opacity: 0.6;
	}

	8% {
		opacity: 0.9;
	}

	40%,
	100% {
		opacity: 0;
	}
}

@keyframes legato28-diapason-onde {
	0% {
		opacity: 0;
		transform: scale(0.15);
	}

	3% {
		opacity: 0.7;
	}

	50%,
	100% {
		opacity: 0;
		transform: scale(1);
	}
}

@keyframes legato28-bouton {
	from {
		transform: rotate(-70deg);
	}

	to {
		transform: rotate(55deg);
	}
}

/* Une liaison s'allume à son tour, reste éclairée un temps, puis revient à son trait d'origine. */
@keyframes legato28-lien {
	0% {
		stroke-opacity: 0.3;
	}

	4%,
	18% {
		stroke-opacity: 1;
	}

	26%,
	84% {
		stroke-opacity: 0.55;
	}

	92%,
	100% {
		stroke-opacity: 0.3;
	}
}

@keyframes legato28-chaine {
	0% {
		stroke-dashoffset: 11;
	}

	16%,
	100% {
		stroke-dashoffset: -100;
	}
}
