/* ==========================================================================
   Billets et tarifs (bloc flume/billets) : billet « Talisman », modèle Claude Design DA 2027.
   Corps nuit (cartouche des dates, tarif, créature gravée, formule) + perforation + souche.
   Toutes les valeurs viennent de theme.json (presets, custom.nuit, custom.billet).

   Contrastes (calculés, WCAG 2.2 AA) :
   - texte blanc sur le corps nuit #0C0647 : 18,5:1 (sur le halo bleu à pleine intensité : ≥ 8,6:1) ;
   - étiquette du tarif, texte noir sur orange 10,6:1, sur jaune 19,6:1, sur lavande 10,6:1, sur blanc 21:1 ;
   - précision #D4CFFF sur la souche #06051A : 14,1:1 ; « Derniers billets » #FFB94A : 11,4:1 ;
   - numéro de série #B6AFEE sur la souche : 10,2:1 ;
   - bouton plein : noir sur orange 10,6:1 ; bordure des boutons (couleur du tarif) sur la souche ≥ 10:1 ;
   - onglet inactif : bordure #8A80DA sur nuit profonde 5,5:1, texte #D4CFFF 14,1:1 ; onglet actif : blanc sur noir 21:1 ;
   - ruban « Le plus demandé » : noir sur #FFB94A 12,6:1 ;
   - billet complet (niveaux de gris) : texte blanc sur souche grisée #060606 : 20:1 ; tampon blanc sur fond nuit 18:1.
   ========================================================================== */

/* ---------- Jetons du composant ---------- */
.billetterie-onglets {
	--billet-fond: var(--wp--preset--color--fond);
	--billet-souche: var(--wp--preset--color--profond);
	--billet-perfo: var(--wp--preset--color--bordure-forte);
	--billet-rayon: var(--wp--custom--billet--rayon);
	--billet-encoche: var(--wp--custom--billet--encoche);
	container: billetterie / inline-size;
	color: var(--wp--preset--color--texte);
}
.billetterie-onglets *,
.billetterie-onglets *::before,
.billetterie-onglets *::after {
	box-sizing: border-box;
}
.ticket[data-teinte="orange"] {
	--t: var(--wp--preset--color--orange);
	--t-halo: var(--wp--custom--billet--halo-orange);
}
.ticket[data-teinte="jaune"] {
	--t: var(--wp--preset--color--jaune);
	--t-halo: var(--wp--custom--billet--halo-jaune);
}
.ticket[data-teinte="lavande"] {
	--t: var(--wp--preset--color--secondaire);
	--t-halo: var(--wp--custom--billet--halo-lavande);
}
.ticket[data-teinte="blanc"] {
	--t: var(--wp--preset--color--blanc);
	--t-halo: var(--wp--custom--billet--halo-blanc);
}
.ticket-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.ticket-lune__clair {
	stop-color: var(--wp--custom--billet--lune-clair);
}
.ticket-lune__fonce {
	stop-color: var(--wp--preset--color--lune);
}
.ticket-lune__etoile {
	fill: var(--wp--preset--color--date);
}
.ticket-ico {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Sélecteur : chaque onglet est un petit cartouche ---------- */
.billetterie-onglets__liste {
	/* Autant de colonnes que d'onglets (3 publics aujourd'hui), centrées sous le titre. */
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, var(--wp--custom--billet--onglet-largeur));
	justify-content: center;
	gap: var(--wp--preset--spacing--3);
	max-width: 56rem;
	margin: 0 auto;
}
.billetterie-onglets__liste[hidden] {
	display: none;
}
.billetterie-onglets__onglet {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--1);
	min-height: var(--wp--custom--billet--onglet);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
	border: var(--wp--custom--bordure--epaisseur) solid var(--wp--preset--color--bordure-forte);
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--profond);
	color: var(--wp--preset--color--texte-doux);
	font-family: var(--wp--preset--font-family--ui);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color var(--wp--custom--duree--rapide), border-color var(--wp--custom--duree--rapide), box-shadow var(--wp--custom--duree--rapide);
}
.billetterie-onglets__date {
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.06em;
}
.billetterie-onglets__onglet:hover {
	border-color: var(--wp--preset--color--secondaire);
	background: var(--wp--preset--color--surface);
}
.billetterie-onglets__onglet[aria-selected="true"] {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--texte);
	font-weight: var(--wp--custom--graisse--ui-forte);
	box-shadow: 0 0 var(--wp--preset--spacing--5) var(--wp--custom--billet--onglet-lueur);
}
.billetterie-onglets__onglet[aria-selected="true"]::after {
	content: "";
	position: absolute;
	bottom: calc(var(--wp--preset--spacing--3) * -1);
	left: 50%;
	width: var(--wp--preset--spacing--4);
	height: var(--wp--preset--spacing--4);
	border-radius: var(--wp--custom--bordure--epaisseur);
	background: var(--wp--preset--color--orange);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	transform: translateX(-50%) rotate(45deg);
}

/* ---------- Formule (panneau) ---------- */
.formule__titre {
	margin: var(--wp--preset--spacing--7) 0 0;
	font-size: var(--wp--preset--font-size--xl);
	text-align: center;
}
.est-onglets .formule__titre {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.formule[hidden] {
	display: none;
}
.formule__accroche {
	max-width: 40rem;
	margin: var(--wp--preset--spacing--6) auto 0;
	color: var(--wp--preset--color--texte-doux);
	text-align: center;
}
.formule__billets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: var(--wp--preset--spacing--6) var(--wp--preset--spacing--5);
	margin: var(--wp--preset--spacing--7) 0 0;
	padding: 0;
	list-style: none;
}
.formule__billets > li {
	display: flex;
	margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.formule:not([hidden]) .formule__billets > li {
		animation: ticket-monte var(--wp--custom--duree--lente) var(--wp--custom--courbe--sortie) both;
	}
	.formule:not([hidden]) .formule__billets > li:nth-child(2) {
		animation-delay: 60ms;
	}
	.formule:not([hidden]) .formule__billets > li:nth-child(3) {
		animation-delay: 120ms;
	}
}
@keyframes ticket-monte {
	from {
		opacity: 0;
		transform: translateY(var(--wp--preset--spacing--3));
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Le billet ---------- */
.ticket {
	position: relative;
	container: billet / inline-size;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	color: var(--wp--preset--color--texte);
	filter: drop-shadow(0 0 var(--wp--preset--spacing--5) var(--t-halo)) drop-shadow(0 var(--wp--preset--spacing--3) var(--wp--preset--spacing--4) var(--wp--custom--billet--ombre));
	transition: transform var(--wp--custom--duree--base) var(--wp--custom--courbe--sortie);
}
.ticket:is(:hover, :focus-within) {
	transform: translateY(calc(var(--wp--custom--mouvement--survol) * 2));
}
.ticket p,
.ticket h4 {
	margin: 0;
}
.ticket__forme {
	display: flex;
	flex: 1;
	flex-direction: column;
}

/* Corps : halos froid et du tarif, encoches découpées en bas, cadre gravé et trame pointillée. */
.ticket__corps {
	position: relative;
	display: grid;
	flex: 1;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--5) var(--wp--preset--spacing--6);
	border-radius: var(--billet-rayon) var(--billet-rayon) 0 0;
	background:
		radial-gradient(90% 55% at 0% 0%, var(--wp--custom--billet--halo-froid), transparent 72%),
		radial-gradient(75% 55% at 100% 100%, var(--t-halo), transparent 72%),
		var(--billet-fond);
	-webkit-mask:
		radial-gradient(circle at 0 100%, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) left / 51% 100% no-repeat,
		radial-gradient(circle at 100% 100%, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) right / 51% 100% no-repeat;
	mask:
		radial-gradient(circle at 0 100%, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) left / 51% 100% no-repeat,
		radial-gradient(circle at 100% 100%, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) right / 51% 100% no-repeat;
}
.ticket__corps::before {
	content: "";
	position: absolute;
	inset: var(--wp--custom--billet--cadre-retrait) var(--wp--custom--billet--cadre-retrait) calc(var(--billet-encoche) + var(--wp--custom--billet--cadre-retrait));
	border: 1px solid color-mix(in srgb, var(--t) 50%, transparent);
	border-radius: var(--wp--custom--billet--rayon-cadre);
	pointer-events: none;
}
.ticket__corps::after {
	content: "";
	position: absolute;
	right: var(--wp--custom--billet--cadre-retrait);
	bottom: calc(var(--billet-encoche) + var(--wp--custom--billet--cadre-retrait));
	width: 62%;
	height: 48%;
	border-bottom-right-radius: var(--wp--custom--billet--rayon-cadre);
	background: radial-gradient(circle, var(--wp--custom--billet--pointille) 0.9px, transparent 1.3px) 0 0 / 7px 7px;
	-webkit-mask: radial-gradient(100% 100% at 100% 100%, #000, transparent 75%);
	mask: radial-gradient(100% 100% at 100% 100%, #000, transparent 75%);
	pointer-events: none;
}

/* Souche : encoches en haut, perforation, prix, état, bouton, numéro de série. */
.ticket__souche {
	position: relative;
	display: grid;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--5) var(--wp--preset--spacing--5) var(--wp--preset--spacing--4);
	border-radius: 0 0 var(--billet-rayon) var(--billet-rayon);
	background: var(--billet-souche);
	-webkit-mask:
		radial-gradient(circle at 0 0, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) left / 51% 100% no-repeat,
		radial-gradient(circle at 100% 0, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) right / 51% 100% no-repeat;
	mask:
		radial-gradient(circle at 0 0, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) left / 51% 100% no-repeat,
		radial-gradient(circle at 100% 0, transparent var(--billet-encoche), #000 calc(var(--billet-encoche) + 0.5px)) right / 51% 100% no-repeat;
}
.ticket__souche::before {
	content: "";
	position: absolute;
	top: 0;
	right: calc(var(--billet-encoche) + var(--wp--custom--billet--cadre-retrait));
	left: calc(var(--billet-encoche) + var(--wp--custom--billet--cadre-retrait));
	height: var(--wp--custom--bordure--epaisseur);
	background: repeating-linear-gradient(90deg, var(--billet-perfo) 0 7px, transparent 7px 13px);
}

/* Cartouche des dates : la signature de l'affiche. */
.ticket__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
}
.ticket__cartouche {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: var(--wp--custom--billet--cartouche);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--2) var(--wp--preset--spacing--5);
	border: var(--wp--custom--bordure--epaisseur) solid var(--wp--preset--color--orange);
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--dates);
	text-align: center;
}
.ticket__cartouche > span[aria-hidden] {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ticket__cartouche-jour {
	font-size: var(--wp--custom--billet--chiffre);
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: -0.01em;
}
.ticket__cartouche--jour .ticket__cartouche-jour {
	font-size: var(--wp--custom--billet--chiffre-jour);
}
.ticket__cartouche-nom {
	margin-block-end: var(--wp--preset--spacing--2);
	margin-inline-end: -0.18em;
	color: var(--wp--preset--color--texte-doux);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.ticket__cartouche-mois,
.ticket__cartouche-annee {
	font-size: var(--wp--preset--font-size--l);
	font-weight: 700;
	line-height: 1.05;
}
.ticket__cartouche-mois {
	margin-block-start: var(--wp--preset--spacing--2);
}
.ticket__lieu {
	margin-inline-end: -0.42em !important;
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.42em;
	text-transform: uppercase;
}

/* Infos : tarif (étiquette), créature, formule, précision. */
.ticket__infos {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--3);
	min-width: 0;
}
.ticket__tarif {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3) var(--wp--preset--spacing--1) var(--wp--preset--spacing--2);
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--t);
	color: var(--wp--preset--color--noir);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ticket__tarif .ticket-ico {
	width: 1em;
	height: 1em;
	fill: currentColor;
	stroke: none;
}
.ticket__creature {
	display: flex;
	flex: none;
	justify-content: flex-end;
	align-items: center;
	height: var(--wp--custom--billet--creature);
}
.ticket__creature-cadre {
	position: relative;
	display: block;
	height: 100%;
	max-width: 100%;
}
.ticket__creature-cadre img {
	display: block;
	width: auto;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}
.ticket__oeil {
	position: absolute;
	width: var(--wp--custom--billet--oeil);
	height: var(--wp--custom--billet--oeil);
	border-radius: 50%;
	background: radial-gradient(circle, var(--wp--custom--billet--oeil-coeur) 0 22%, var(--wp--custom--billet--oeil-halo) 46%, transparent 70%);
	opacity: 0.8;
	transform: translate(-50%, -50%);
}
.ticket__creature--martin .ticket__oeil {
	left: 21.35%;
	top: 68.59%;
}
.ticket__creature--carpe .ticket__oeil {
	left: 87.1%;
	top: 78.17%;
}
.ticket__creature--massettes .ticket__oeil {
	left: 52%;
	top: 14%;
}
@media (prefers-reduced-motion: no-preference) {
	.ticket__oeil {
		animation: ticket-luire 4.5s ease-in-out infinite;
	}
	.ticket[data-etat="derniers"] .ticket__etat .ticket-ico {
		animation: ticket-sablier 2.6s ease-in-out infinite;
	}
}
@keyframes ticket-luire {
	0%,
	100% {
		opacity: 0.25;
		transform: translate(-50%, -50%) scale(0.8);
	}
	50% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.25);
	}
}
@keyframes ticket-sablier {
	0%,
	70% {
		transform: none;
	}
	85%,
	100% {
		transform: rotate(180deg);
	}
}
.ticket__formule {
	margin-block-start: auto !important;
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--affiche);
	font-size: var(--wp--custom--billet--titre);
	font-weight: 400;
	line-height: 0.95;
	text-transform: uppercase;
	overflow-wrap: break-word;
	hyphens: auto;
}
.ticket__precision {
	color: var(--wp--preset--color--texte-doux);
	line-height: 1.45;
}
.ticket__lune {
	position: absolute;
	top: var(--wp--preset--spacing--5);
	right: var(--wp--preset--spacing--5);
	width: var(--wp--preset--spacing--6);
	height: var(--wp--preset--spacing--6);
	pointer-events: none;
}

/* Ruban « Le plus demandé ». */
.ticket__ruban {
	position: absolute;
	z-index: 3;
	top: calc(var(--wp--preset--spacing--4) * -1);
	right: var(--wp--preset--spacing--5);
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3);
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--date);
	box-shadow: 0 0 0 3px var(--wp--preset--color--noir);
	color: var(--wp--preset--color--noir);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ticket__ruban .ticket-ico {
	width: 0.95em;
	height: 0.95em;
	fill: currentColor;
	stroke: none;
}

/* Prix, état. */
.ticket__ligne {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
}
.ticket__prix {
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--2-xl);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.ticket__euro {
	margin-inline-start: 0.1em;
	font-size: 0.62em;
}
.ticket__prix s {
	text-decoration-thickness: 3px;
	text-decoration-color: var(--wp--preset--color--texte);
}
.ticket__etat {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
	color: var(--wp--preset--color--texte-doux);
	font-weight: 600;
	line-height: 1.25;
}
.ticket[data-etat="derniers"] .ticket__etat {
	color: var(--wp--preset--color--date);
}
.ticket[data-etat="complet"] .ticket__etat,
.ticket[data-etat="termine"] .ticket__etat {
	color: var(--wp--preset--color--texte);
}

/* Boutons : contour de la couleur du tarif ; plein pour le seul billet mis en avant. */
.ticket a.ticket__bouton,
.ticket .ticket__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--2);
	width: 100%;
	min-height: var(--wp--preset--spacing--7);
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--5);
	border: var(--wp--custom--bordure--epaisseur) solid var(--t);
	border-radius: var(--wp--custom--rayon--pilule);
	background: transparent;
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--ui);
	font-size: var(--wp--preset--font-size--s);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--wp--custom--duree--rapide), color var(--wp--custom--duree--rapide);
}
.ticket a.ticket__bouton:is(:hover, :focus-visible) {
	background: color-mix(in srgb, var(--t) 18%, transparent);
	color: var(--wp--preset--color--texte);
	text-decoration: none;
}
.ticket a.ticket__bouton--plein {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--noir);
}
.ticket a.ticket__bouton--plein:is(:hover, :focus-visible) {
	border-color: var(--wp--preset--color--date);
	background: var(--wp--preset--color--date);
	color: var(--wp--preset--color--noir);
}
.ticket .ticket__bouton--inactif {
	border-style: dashed;
	border-color: var(--wp--preset--color--bordure-forte);
	color: var(--wp--preset--color--texte-doux);
	cursor: default;
}
.ticket__serie {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--3);
	color: var(--wp--preset--color--texte-discret);
	font-family: var(--wp--preset--font-family--dates);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.ticket__vague {
	flex: none;
	width: 5.2rem;
	height: 0.9rem;
	fill: none;
	stroke: var(--wp--preset--color--bordure-forte);
	stroke-width: 1.2;
}

/* ---------- Complet : niveaux de gris, tampon sur la créature, prix barré ---------- */
.ticket[data-etat="complet"],
.ticket[data-etat="termine"] {
	filter: drop-shadow(0 var(--wp--preset--spacing--3) var(--wp--preset--spacing--4) var(--wp--custom--billet--ombre));
}
.ticket[data-etat="complet"] .ticket__forme,
.ticket[data-etat="termine"] .ticket__forme {
	filter: grayscale(1) brightness(0.92);
}
.ticket[data-etat="complet"] .ticket__oeil,
.ticket[data-etat="termine"] .ticket__oeil {
	display: none;
}
.ticket__tampon {
	position: absolute;
	z-index: 4;
	top: 7.4rem;
	right: var(--wp--preset--spacing--4);
	margin: 0;
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--5);
	border: 3px solid var(--wp--preset--color--blanc);
	border-radius: var(--wp--custom--rayon--m);
	background: var(--wp--custom--billet--tampon-fond);
	box-shadow: inset 0 0 0 3px var(--wp--custom--billet--tampon-fond), inset 0 0 0 5px var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--blanc);
	font-family: var(--wp--preset--font-family--affiche);
	font-size: var(--wp--preset--font-size--2-xl);
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: rotate(-13deg);
	pointer-events: none;
}

/* ---------- Billet étroit (petits écrans) ---------- */
@container billet (width < 340px) {
	.ticket__corps {
		gap: var(--wp--preset--spacing--3);
		padding: var(--wp--preset--spacing--5) var(--wp--preset--spacing--4) var(--wp--preset--spacing--6);
	}
	.ticket__cartouche {
		min-width: var(--wp--custom--billet--cartouche-etroit);
	}
	.ticket__cartouche-jour {
		font-size: var(--wp--custom--billet--chiffre-etroit);
	}
	.ticket__cartouche--jour .ticket__cartouche-jour {
		font-size: var(--wp--custom--billet--chiffre-jour-etroit);
	}
	.ticket__formule {
		font-size: var(--wp--custom--billet--titre-etroit);
	}
	.ticket__creature {
		height: var(--wp--custom--billet--creature-etroit);
	}
	.ticket__lune {
		display: none;
	}
	.ticket__tampon {
		top: 5.6rem;
		right: var(--wp--preset--spacing--1);
		font-size: var(--wp--preset--font-size--xl);
	}
	.ticket__souche {
		padding-inline: var(--wp--preset--spacing--4);
	}
}

/* ---------- Empilement ---------- */
@container billetterie (width < 860px) {
	.formule__billets {
		grid-template-columns: minmax(0, var(--wp--custom--billet--largeur-pile));
		justify-content: center;
		gap: var(--wp--preset--spacing--7);
	}
}
@container billetterie (width < 640px) {
	/* Mobile : les onglets se partagent la largeur, sur une ligne tant qu'ils tiennent. */
	.billetterie-onglets__liste {
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(var(--wp--custom--billet--onglet-largeur-min), 1fr));
		gap: var(--wp--preset--spacing--2);
	}
	.billetterie-onglets__onglet {
		min-height: var(--wp--preset--spacing--8);
		border-radius: var(--billet-rayon);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ticket:is(:hover, :focus-within) {
		transform: none;
	}
}
@media (forced-colors: active) {
	.ticket__corps,
	.ticket__souche {
		border: 2px solid CanvasText;
	}
	.ticket__tarif,
	.ticket__ruban,
	.ticket a.ticket__bouton--plein {
		border: 2px solid CanvasText;
	}
}

/* ---------- Pass Noël : offre mise en avant, au-dessus des onglets (inc/pass-noel.php) ----------
   Cadre surface #18134F : titre blanc 16,87:1, accroche #D4CFFF 11,38:1, date d'ouverture #FFB94A 9,87:1.
   Bordure orange vif (composant décoratif) : #FF9900 / surface 7,88:1. */
.pass-noel {
	max-width: 46rem;
	margin: 0 auto var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--5) var(--wp--preset--spacing--7);
	border: var(--wp--custom--bordure--epaisseur) solid var(--wp--preset--color--orange);
	border-radius: var(--wp--custom--rayon--l);
	background: var(--wp--preset--color--surface);
	text-align: center;
}
.pass-noel__titre {
	margin: 0;
	font-size: var(--wp--preset--font-size--2-xl);
}
.pass-noel__accroche {
	max-width: 34rem;
	margin: var(--wp--preset--spacing--3) auto 0;
	color: var(--wp--preset--color--texte-doux);
}
.pass-noel__ouverture {
	margin: var(--wp--preset--spacing--3) 0 0;
	color: var(--wp--preset--color--date);
	font-family: var(--wp--preset--font-family--dates);
	font-weight: 600;
	letter-spacing: var(--wp--custom--interlettrage--ui);
	text-transform: uppercase;
}
.pass-noel .pass-noel__billets {
	grid-template-columns: minmax(0, 24rem);
	justify-content: center;
	margin-top: var(--wp--preset--spacing--6);
	text-align: start;
}
.billetterie-onglets__suite {
	margin: 0 0 var(--wp--preset--spacing--5);
	font-size: var(--wp--preset--font-size--xl);
	text-align: center;
}

/* ---------- Mention CSE : lien lilas #B8AEFF sur nuit 9,30:1 ---------- */
.billetterie-cse {
	margin: var(--wp--preset--spacing--7) 0 0;
	color: var(--wp--preset--color--texte-doux);
	text-align: center;
}
.billetterie-cse a {
	color: var(--wp--preset--color--secondaire);
	font-weight: 700;
}