/* Tuberculture 2027 : styles complémentaires à theme.json.
   Charte des 40 ans (affiche « 1ères annonces » 2027) : aplats noir, rouge drapeau, jaune,
   vert menthe (Boîte en Zinc) et crème ; titres Bowlby One, interface Barlow Condensed,
   texte Barlow. Contrastes AA : voir tests/test_charte.py. */

:root {
	color-scheme: only light;
	--tc-header-h: 64px; /* hauteur exacte de l'en-tête fixe (sans liseré depuis décembre 2026) */
	--tc-rayon: 14px;
	--tc-gouttiere: var(--wp--style--root--padding-left, 1rem);
}

/* Aucun débordement horizontal (éléments inclinés). La hauteur de l'en-tête fixe est réservée. */
.wp-site-blocks { overflow-x: clip; padding-top: var(--tc-header-h); }
/* Ancres (onglets de la programmation, sommaires) : jamais sous l'en-tête fixe. */
html { scroll-padding-top: calc(var(--tc-header-h) + 1rem); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--tc-header-h) + 1rem + var(--wp-admin--admin-bar--height, 0px)); }

/* Titres : jamais de césure (pas de trait d'union ajouté par le navigateur) ; seul un mot
   plus large que l'écran est coupé sans trait d'union plutôt que de déborder (dernier recours). */
h1, h2, h3, h4, h5, h6, .wp-block-heading, .wp-block-post-title, .tc-carte__titre {
	overflow-wrap: break-word;
	-webkit-hyphens: none;
	hyphens: none;
}
.wp-block-post-title { font-family: var(--wp--preset--font-family--affichage); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Focus visible : noir sur fond clair, jaune sur fond sombre. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--wp--preset--color--noir); outline-offset: 2px; }
.tc-header :focus-visible, .tc-footer :focus-visible, .tc-hero :focus-visible, .tc-carte :focus-visible,
.tc-fiche :focus-visible, .has-noir-background-color :focus-visible { outline-color: var(--wp--preset--color--jaune); }

/* ---- En-tête : noir, fixe ---- */
/* position: fixed et non sticky : sticky échoue dans certains navigateurs intégrés (Facebook,
   Instagram). Hauteur fixe (--tc-header-h), réservée par le padding de .wp-site-blocks. */
.wp-site-blocks > header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--tc-header-h);
	box-sizing: border-box;
	background: var(--wp--preset--color--noir);
}
/* Barre d'admin (personnes connectées) : 32px, 46px sous 783px. Sous 601px WordPress la rend
   absolue (elle défile) : on la garde fixe pour que l'en-tête reste juste dessous, sans trou ni chevauchement. */
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } }

.tc-header {
	padding-left: var(--tc-gouttiere);
	padding-right: var(--tc-gouttiere);
	height: 100%;
	box-sizing: border-box;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}
.tc-header__marque,
.tc-header__actions { gap: var(--wp--preset--spacing--20); align-items: center; }
.tc-header__actions { min-width: 0; }
/* Logo : mascotte entière en traits crème + nom en Bowlby One + lieu en jaune.
   Texte réel (net à toutes les tailles, lisible par les lecteurs d'écran). */
.tc-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	color: var(--wp--preset--color--creme);
	text-decoration: none;
	line-height: 1;
}
.tc-logo__mascotte {
	/* Comme au pied de page : mascotte entière sur un rond crème, légèrement penchée. */
	display: block;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	max-width: none;
	padding: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--creme);
	transform: rotate(-6deg);
}
@media (prefers-reduced-motion: no-preference) {
	.tc-logo__mascotte { transition: transform 0.25s ease; }
	.tc-logo:hover .tc-logo__mascotte,
	.tc-logo:focus-visible .tc-logo__mascotte { transform: rotate(6deg); }
}
.tc-logo__texte { display: flex; flex-direction: column; gap: 3px; }
.tc-logo__nom {
	font-family: var(--wp--preset--font-family--affichage);
	font-size: 1.125rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.tc-logo__lieu {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jaune);
	white-space: nowrap;
}
.tc-logo:focus-visible { outline: 2px solid var(--wp--preset--color--jaune); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 399px) {
	.tc-logo { gap: 4px; }
	.tc-logo__mascotte { width: 44px; height: 44px; }
	.tc-logo__nom { font-size: 0.95rem; }
	.tc-logo__lieu { font-size: 0.66rem; letter-spacing: 0.04em; }
	.tc-header .tc-btn-billetterie .wp-block-button__link { padding-left: 0.8rem; padding-right: 0.8rem; }
}
@media (max-width: 379px) {
	.tc-header, .tc-header__actions { gap: 4px; }
	.tc-logo__mascotte { width: 40px; height: 40px; padding: 3px; }
	.tc-logo__nom { font-size: 0.875rem; }
	.tc-logo__lieu { font-size: 0.6rem; }
}
@media (max-width: 359px) {
	.tc-logo__mascotte { display: none; }
	.tc-header .tc-btn-billetterie .wp-block-button__link { padding-left: 0.65rem; padding-right: 0.65rem; font-size: 0.9375rem; }
}
@media (min-width: 1000px) {
	.tc-logo { gap: 8px; }
	.tc-logo__mascotte { width: 52px; height: 52px; }
	.tc-logo__nom { font-size: 1.375rem; }
	.tc-logo__lieu { font-size: 0.8125rem; }
}
/* Menu : sous 1000px, toujours le bouton menu (au-delà de la largeur prévue par WordPress,
   600px), pour que l'en-tête tienne sur une ligne à hauteur fixe. À partir de 1000px, jamais de
   bouton menu : les liens sont centrés verticalement dans la barre, entre le logo et « Billetterie ».
   (Tâche 14 : le bouton restait visible à 1372px et repoussait les liens en bas à droite.) */
@media (min-width: 600px) and (max-width: 999px) {
	.tc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.tc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (min-width: 1000px) {
	.tc-header__actions { flex: 1 1 auto; justify-content: flex-end; height: 100%; }
	.tc-header .wp-block-navigation { margin-left: auto; margin-right: auto; height: 100%; align-items: center; }
	.tc-header .wp-block-navigation__responsive-container-open { display: none; }
	.tc-header .wp-block-navigation__responsive-container:not(.is-menu-open),
	.tc-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-close,
	.tc-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-dialog,
	.tc-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
		display: flex;
		align-items: center;
		position: static;
		width: auto;
		height: 100%;
	}
}

.tc-header .wp-block-navigation {
	min-width: 0;
	font-size: 1.0625rem;
	color: var(--wp--preset--color--creme);
}
.tc-header .wp-block-navigation__container { flex-wrap: nowrap; justify-content: flex-end; column-gap: 0.25rem; row-gap: 0; }
.tc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-wrap: wrap; }
.tc-header .wp-block-navigation-item__content { padding: 0 0.5rem; text-decoration: none; }
.tc-header .wp-block-navigation-item__content:hover,
.tc-header .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--jaune);
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
/* Menu mobile ouvert : plein écran noir, grandes entrées. */
.tc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	font-size: 1.75rem;
	gap: 0.25rem;
}

/* Cibles tactiles : 44 px minimum. L'affichage des boutons menu / fermer reste à WordPress
   et aux règles ci-dessus (jamais de display ici, sinon le burger s'affiche partout). */
.tc-header .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}
.tc-header .wp-block-navigation__responsive-container-open,
.tc-header .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}
.tc-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* Sous-menus déroulants (ouverture au clic, au clavier comme au doigt). */
.tc-header .wp-block-navigation-submenu__toggle {
	gap: 0.3em;
	cursor: pointer;
	color: inherit;
	font: inherit;
	text-transform: inherit;
	letter-spacing: inherit;
}
.tc-header .wp-block-navigation-submenu__toggle::after {
	content: "";
	width: 0.55em;
	height: 0.55em;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: translateY(-0.15em) rotate(45deg);
	transition: transform 0.2s ease;
}
.tc-header .wp-block-navigation-submenu__toggle[aria-expanded="true"] { color: var(--wp--preset--color--jaune); }
.tc-header .wp-block-navigation-submenu__toggle[aria-expanded="true"]::after { transform: translateY(0.1em) rotate(-135deg); }
.tc-header .wp-block-navigation__submenu-icon { display: none; }
@media (min-width: 1000px) {
	.tc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		top: calc(100% + 4px);
		left: 50%;
		min-width: 15rem;
		padding: 0.5rem 0;
		background: var(--wp--preset--color--noir);
		color: var(--wp--preset--color--creme);
		border: 0;
		border-top: 4px solid var(--wp--preset--color--rouge);
		border-radius: 0 0 var(--tc-rayon) var(--tc-rayon);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
		transform: translateX(-50%);
	}
	.tc-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		justify-content: flex-start;
		width: 100%;
		padding: 0.25rem 1.25rem;
		font-size: 1rem;
		white-space: nowrap;
	}
	.tc-header .wp-block-navigation .has-child { height: 100%; align-items: center; }
}
/* Menu mobile : sous-menus repliés, dépliés sous leur titre au toucher. */
.tc-header .wp-block-navigation__responsive-container.is-menu-open .has-child { width: 100%; }
.tc-header .wp-block-navigation__responsive-container.is-menu-open .has-child:not(.tc-ouvert) > .wp-block-navigation__submenu-container { display: none !important; }
.tc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding: 0 0 0.75rem !important;
	gap: 0;
	font-size: 1.25rem;
}
.tc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { justify-content: flex-start; }


/* Boutons : pilule rouge-action (5.95:1 avec le blanc). */
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	background-color: var(--wp--preset--color--rouge-fonce);
	color: var(--wp--preset--color--blanc);
	text-decoration: none;
	text-align: center;
}
.tc-btn-billetterie .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	border-radius: 999px;
	white-space: nowrap;
}
.tc-header .tc-btn-billetterie .wp-block-button__link {
	background: var(--wp--preset--color--rouge-fonce);
	color: var(--wp--preset--color--blanc);
	padding: 0.55rem 1rem;
	font-size: 1rem;
}
.tc-btn-billetterie .wp-block-button__link:hover,
.tc-btn-billetterie .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--noir);
}
/* Bouton « contour » (ex. Voir l'itinéraire) : fond transparent, bord et texte rouge-action
   (5.43:1 sur crème, 5.95:1 sur blanc). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	min-height: 44px;
	background: transparent;
	color: var(--wp--preset--color--rouge-fonce);
	border: 2px solid var(--wp--preset--color--rouge-fonce);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--rouge-fonce);
	color: var(--wp--preset--color--blanc);
}
@media (prefers-reduced-motion: no-preference) {
	.wp-block-button__link { transition: transform 0.15s ease, background-color 0.15s ease; }
	.wp-block-button__link:hover { transform: translateY(-2px); }
}

/* ---- Pied de page : noir, grand nom, colonnes liens / réseaux / adresse, mascotte ---- */
.tc-footer {
	overflow: hidden;
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--40);
}
.tc-footer a { text-decoration: underline; }
.tc-footer__interieur > * { margin: 0; }
/* « TUBERCULTURE » sur toute la largeur utile (8,6 em en Bowlby One) : une seule ligne,
   rouge drapeau sur noir (4.4:1, très grand texte). */
.tc-footer__nom {
	margin: 0 0 var(--wp--preset--spacing--20) !important;
	font-family: var(--wp--preset--font-family--affichage);
	font-size: 2rem;
	font-size: min(calc((100vw - 2 * var(--tc-gouttiere)) / 8.9), 9.25rem);
	line-height: 0.8;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wp--preset--color--rouge);
}
/* Sous le grand nom : lieu et deux activités, en jaune (comme le lieu du logo de l'en-tête). */
.tc-footer__devise {
	margin: 0 0 var(--wp--preset--spacing--50) !important;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: clamp(1rem, 2.6vw, 1.5rem);
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--wp--preset--color--jaune);
}
.tc-footer__colonnes {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}
@media (min-width: 600px) {
	.tc-footer__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-footer__asso { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
	.tc-footer__colonnes { grid-template-columns: 1.2fr 1fr 1fr; }
	.tc-footer__asso { grid-column: auto; }
}
.tc-footer__col > * { margin: 0; }
.tc-footer__asso { display: flex; align-items: center; gap: var(--wp--preset--spacing--30); }
.tc-footer__adresse {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.tc-footer__adresse strong { font-weight: 700; }
.tc-footer__titre {
	margin-bottom: var(--wp--preset--spacing--20) !important;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--jaune);
}
.tc-footer__menu { list-style: none; padding: 0; }
.tc-footer__menu li { margin: 0; }
.tc-footer .tc-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.tc-footer .tc-footer__menu a:hover,
.tc-footer .tc-footer__menu a:focus-visible { color: var(--wp--preset--color--jaune); }
.tc-footer__mascotte img {
	display: block;
	width: 88px;
	height: 88px;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 50%;
	background: var(--wp--preset--color--creme);
	transform: rotate(-6deg);
}
.tc-footer__mascotte { margin: 0; flex: 0 0 auto; }
.tc-footer .wp-block-social-links { gap: 0.25rem; }
.tc-footer .wp-block-social-links .wp-social-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 10px;
	box-sizing: border-box;
}
.tc-footer .wp-block-social-links .wp-social-link svg { width: 28px; height: 28px; }
.tc-footer__liens {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 0.25rem;
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: var(--wp--preset--spacing--20);
	border-top: 1px solid rgba(251, 244, 230, 0.2);
}
.tc-footer .tc-footer__liens a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.5rem;
}
.tc-footer__liens span { padding: 0 0.5rem; }

/* ---- 404 ---- */
.tc-404__mascotte img { width: 160px; height: auto; aspect-ratio: 1; transform: rotate(-6deg); }

/* ---- Accueil : héros plein écran (photo + drapeau + 40 ans + dates) ---- */
.tc-accueil > .wp-block-post-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.tc-hero .wp-block-cover {
	min-height: calc(100vh - var(--tc-header-h)) !important;
	min-height: calc(100svh - var(--tc-header-h)) !important;
	padding: var(--wp--preset--spacing--40) var(--tc-gouttiere) var(--wp--preset--spacing--50);
	align-items: stretch;
	overflow: hidden;
	box-sizing: border-box;
}
/* Voile : au moins 55 % de noir là où sont le drapeau et « 40 ans » (haut), plus léger
   sur les visages, plus dense en bas (bandeau et bouton ont de toute façon leur aplat). */
.tc-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.6) 0%, rgba(17, 17, 17, 0.55) 40%, rgba(17, 17, 17, 0.2) 62%, rgba(17, 17, 17, 0.8) 100%) !important;
	opacity: 1 !important;
}
.tc-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
	color: var(--wp--preset--color--blanc);
}
.tc-hero .wp-block-cover__inner-container > * { margin: 0; max-width: 100%; }
/* Drapeau-logo : décor dessiné par le thème (le nom est aussi dans le titre texte). */
.tc-hero .wp-block-cover__inner-container::before {
	content: "";
	display: block;
	width: clamp(110px, 34vw, 240px);
	width: clamp(96px, min(34vw, 28vh), 240px); /* téléphone à l'horizontale : pas de drapeau géant */
	aspect-ratio: 363 / 315;
	margin: 0 0 var(--wp--preset--spacing--20) -4px;
	background: url(../img/logo-drapeau.png) center / contain no-repeat;
	transform: rotate(-8deg);
	transform-origin: 10% 90%;
	animation: tc-drapeau 3.2s ease-in-out infinite alternate;
	filter: drop-shadow(0 6px 0 rgba(17, 17, 17, 0.45));
}
@keyframes tc-drapeau {
	0% { transform: rotate(-8deg) skewY(0deg) scaleX(1); }
	50% { transform: rotate(-5deg) skewY(-3deg) scaleX(0.97); }
	100% { transform: rotate(-9deg) skewY(2deg) scaleX(1.02); }
}
.tc-hero__titre {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--jaune);
	margin-bottom: 0.35rem !important;
}
.tc-hero__anniversaire {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.12em;
	font-family: var(--wp--preset--font-family--affichage);
	text-transform: uppercase;
	line-height: 0.85;
	color: var(--wp--preset--color--jaune);
	font-size: clamp(5.5rem, 30vw, 13rem);
	font-size: clamp(5.5rem, min(30vw, 24vh), 13rem);
}
.tc-hero__40 { letter-spacing: -0.02em; }
.tc-hero__ans { font-size: 0.42em; line-height: 1; }
.tc-hero__bandeau {
	margin-top: auto !important;
	padding: 0.6rem 1rem 0.7rem;
	background: var(--wp--preset--color--rouge);
	color: var(--wp--preset--color--blanc);
	transform: rotate(-2deg);
	transform-origin: left bottom;
	box-shadow: 6px 6px 0 var(--wp--preset--color--noir);
}
.tc-hero__bandeau > * { margin: 0; }
.tc-hero__dates {
	font-family: var(--wp--preset--font-family--affichage);
	text-transform: uppercase;
	font-size: clamp(1.5rem, 0.9rem + 3vw, 2.75rem);
	line-height: 1;
}
.tc-hero__lieu {
	margin-top: 0.3rem !important;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.tc-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--40) !important; }
.tc-hero .tc-hero__bouton .wp-block-button__link { font-size: 1.25rem; padding: 0.8rem 1.6rem; min-height: 52px; }
.tc-hero .wp-block-cover { background: var(--wp--preset--color--noir); }
/* Admin : la barre d'administration (32px, 46px sous 783px) est retirée de la hauteur du héros. */
.admin-bar .tc-hero .wp-block-cover {
	min-height: calc(100vh - var(--tc-header-h) - 32px) !important;
	min-height: calc(100svh - var(--tc-header-h) - 32px) !important;
}
@media (max-width: 782px) {
	.admin-bar .tc-hero .wp-block-cover {
		min-height: calc(100vh - var(--tc-header-h) - 46px) !important;
		min-height: calc(100svh - var(--tc-header-h) - 46px) !important;
	}
}
/* Ordinateur (tâche 14) : photo plein cadre, bloc texte large calé en bas (drapeau, 40 ANS géant,
   bandeau des dates et bouton côte à côte), compte à rebours en bande horizontale tout en bas. */
@media (min-width: 1000px) {
	.tc-hero .wp-block-cover { padding: var(--wp--preset--spacing--50) var(--tc-gouttiere) 0; }
	/* Compte à rebours masqué (date passée) : marge basse normale sous le bouton. */
	.tc-hero .wp-block-cover:not(:has(.tc-compte)) { padding-bottom: var(--wp--preset--spacing--60); }
	/* Voile : très sombre à gauche (texte, ≥ 55 % jusqu'à mi-largeur) et en bas (bande), léger à droite. */
	.tc-hero .wp-block-cover__background {
		background:
			linear-gradient(0deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0) 40%),
			linear-gradient(90deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.7) 45%, rgba(17, 17, 17, 0.15) 78%) !important;
	}
	.tc-hero .wp-block-cover__inner-container {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);
		grid-template-rows: 1fr auto auto auto auto;
		grid-template-areas:
			"drapeau ."
			"titre titre"
			"ans ans"
			"bandeau bouton"
			"compte compte";
		align-items: end;
		column-gap: clamp(1.5rem, 3vw, 3rem);
	}
	.tc-hero .wp-block-cover__inner-container::before {
		grid-area: drapeau;
		width: clamp(96px, min(16vw, 24vh), 220px);
	}
	.tc-hero__titre { grid-area: titre; margin-top: var(--wp--preset--spacing--20) !important; font-size: 1.75rem; }
	.tc-hero__anniversaire {
		grid-area: ans;
		font-size: clamp(7rem, 16vw, 12rem);
		font-size: clamp(7rem, min(16vw, 24vh), 12rem);
	}
	.tc-hero__bandeau { grid-area: bandeau; justify-self: start; margin-top: var(--wp--preset--spacing--40) !important; }
	.tc-hero .wp-block-buttons { grid-area: bouton; align-self: center; justify-self: start; }
	/* Bande pleine largeur : fond prolongé jusqu'aux bords par l'ombre, coupée en hauteur. */
	.tc-hero .tc-compte {
		grid-area: compte;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
		width: 100%;
		margin-top: var(--wp--preset--spacing--40) !important;
		padding: 1rem 0;
		border-radius: 0;
		background: rgba(17, 17, 17, 0.92);
		box-shadow: 0 0 0 100vmax rgba(17, 17, 17, 0.92);
		clip-path: inset(0 -100vmax);
	}
	.tc-hero .tc-compte__quoi { max-width: none; font-size: 1.375rem; }
	.tc-hero .tc-compte__j { font-size: clamp(3rem, 2rem + 2.5vw, 4.5rem); }
	.tc-hero .tc-compte__detail { font-size: 1.125rem; }
}

/* ---- Sections de l'accueil en aplats bord à bord, contenu large (1320px) ---- */
.tc-section.alignfull { padding: var(--wp--preset--spacing--60) var(--tc-gouttiere); }
.tc-section.alignfull > .wp-block-heading { margin-top: 0; }
.tc-section.alignfull > .wp-block-heading,
.tc-section.alignfull > [class*="wp-block-tc-"] { max-width: var(--wp--style--global--wide-size); }
/* Titres de section géants (Bowlby One) : « LA PROGRAMMATION » fait 11,9 em ; la taille suit la
   largeur utile (écran moins les gouttières) pour tenir sur une ligne de 320px à 1320px,
   sans césure (Safari coupait « PROGRAMMA-TION »). */
.tc-section--prog > .wp-block-heading {
	font-size: clamp(1.4rem, calc((100vw - 2 * var(--tc-gouttiere)) / 12.4), 7.5rem);
	line-height: 0.9;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--jaune);
	transform: rotate(-1.5deg);
	transform-origin: left center;
}
.tc-section--boite > .wp-block-heading {
	font-size: clamp(1.75rem, 1rem + 4vw, 5rem);
	line-height: 0.95;
	color: var(--wp--preset--color--noir);
}
/* Une section alignfull reste bord à bord : jamais de max-width (revue : sections de l'accueil
   calées à gauche à 1288px, crème à droite). Son contenu est centré par sa mise en page. */
.has-global-padding > .alignfull,
.tc-section.alignfull { max-width: none; }
/* Pages : sections (non alignfull) dont la grille de cartes (programmation, prochains concerts) prend la largeur. */
.is-layout-constrained > .tc-section:not(.alignfull):has(> .wp-block-tc-programmation, > .wp-block-tc-prochains-concerts) {
	max-width: var(--wp--style--global--wide-size);
}
.tc-section:not(.alignfull) > .wp-block-tc-programmation,
.tc-section:not(.alignfull) > .wp-block-tc-prochains-concerts { max-width: none; }

/* Texte vert foncé sur vert menthe (5.27:1), jamais de blanc : y compris les groupes
   enregistrés avant la charte avec « texte blanc » (bandeau Appel au don). */
.has-vert-background-color,
.has-vert-background-color.has-blanc-color { color: var(--wp--preset--color--vert-fonce) !important; }

/* ---- Cartes de concerts (programmation, prochains concerts, archives) : affiches ----
   Image pleine carte (4/5), dégradé noir en bas, nom très gros posé sur la photo, date / heure
   en pastille ; toute la carte est cliquable (lien du titre étendu). 1 colonne sous 360px,
   2 sur téléphone, 3 sur tablette, 4 sur ordinateur. */
.tc-cartes {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(0.625rem, 0.4rem + 1vw, 1.25rem);
	list-style: none;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
}
@media (min-width: 360px) { .tc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .tc-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tc-cartes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-cartes > li { margin: 0; }
/* Cartes d'une même rangée à la même hauteur (un titre long allonge toute la rangée). */
.tc-cartes > .tc-carte { align-self: stretch; }
/* Safari : un élément de grille avec aspect-ratio n'est pas étiré en largeur (« normal » vaut
   « start »), et container-type: inline-size ramène sa largeur de contenu à 0 : la carte
   s'écrasait. Largeur de la colonne imposée. */
.tc-cartes > .tc-carte, .tc-cartes > li > .tc-carte { justify-self: stretch; width: 100%; min-width: 0; }
.tc-cartes > li > .tc-carte { height: 100%; }
.tc-carte {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 4 / 5;
	box-sizing: border-box;
	padding: clamp(0.6rem, 6cqi, 1.1rem);
	overflow: hidden;
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--blanc);
	border-radius: 6px;
}
/* Sans photo : aplat rouge-action (le titre blanc y garde 5.95:1). */
.tc-carte:not(:has(img)) { background: var(--wp--preset--color--rouge-fonce); }
.tc-carte.tc-carte > * { margin: 0; }
.tc-carte__media, .tc-carte .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	margin: 0;
	overflow: hidden;
}
.tc-carte .wp-block-post-featured-image a { display: block; height: 100%; }
.tc-carte__media img, .tc-carte .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
}
.tc-carte::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* Voile renforcé (revue) : ≥ 0.6 dès 38 % de la hauteur, 0.88 en bas, pour qu'un titre long
	   sur 3 lignes ne tombe jamais sur une zone claire de la photo. */
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.05) 0%, rgba(17, 17, 17, 0.35) 20%, rgba(17, 17, 17, 0.6) 38%, rgba(17, 17, 17, 0.8) 65%, rgba(17, 17, 17, 0.88) 100%);
}
.tc-carte__titre {
	order: 2;
	padding: 0;
	font-family: var(--wp--preset--font-family--affichage);
	font-weight: 400;
	font-size: 1.25rem;
	font-size: clamp(1rem, 10cqi, 2.5rem);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0;
	text-shadow: 0 1px 2px rgba(17, 17, 17, 0.8), 0 0 12px rgba(17, 17, 17, 0.6);
}
/* Téléphone (cartes de ~180px) : titre limité à 3 lignes avec points de suspension ; le nom
   complet reste dans le lien (lecteurs d'écran) et sur la fiche. Le lien étendu (::after)
   a la carte pour bloc conteneur : il n'est pas coupé par overflow. */
@media (max-width: 599px) {
	.tc-carte__titre {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}
}
.tc-carte__titre a {
	color: var(--wp--preset--color--blanc);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 0.08em no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
/* Lien étendu à toute la carte. */
.tc-carte__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tc-carte__titre a:hover, .tc-carte__titre a:focus-visible { color: var(--wp--preset--color--blanc); }
.tc-carte:hover .tc-carte__titre a, .tc-carte__titre a:focus-visible { background-size: 100% 0.08em; }
/* Focus : sur toute la carte si :has() est pris en charge ; sinon le contour reste sur le lien. */
@supports selector(:has(*)) {
	.tc-carte__titre a:focus-visible { outline: none; }
	.tc-carte:has(.tc-carte__titre a:focus-visible) {
		outline: 3px solid var(--wp--preset--color--jaune);
		outline-offset: 2px;
		box-shadow: 0 0 0 7px var(--wp--preset--color--noir);
	}
}
/* Pastille : noir sur jaune (texte de taille courante), noir sur menthe pour la Boîte en Zinc. */
.tc-carte__infos {
	order: 1;
	align-self: flex-start;
	margin: 0 0 0.5rem !important;
	padding: 0.2rem 0.5rem;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--noir);
	background: var(--wp--preset--color--jaune);
	border-radius: 4px;
}
.tc-carte--boite .tc-carte__infos,
.tc-section--boite .tc-carte__infos,
.tc-boite .tc-carte__infos { background: var(--wp--preset--color--vert); color: var(--wp--preset--color--noir); }
.tc-carte__infos:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.tc-carte img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.tc-carte:hover img, .tc-carte:focus-within img { transform: scale(1.06); }
	.tc-carte__titre a { transition: background-size 0.3s ease; }
}

/* ---- Programmation : onglets par jour ---- */
.tc-prog__onglets {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--30);
}
.tc-prog__onglet {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 44px;
	min-width: 44px;
	padding: 0.5rem 1rem;
	border: 3px solid var(--wp--preset--color--noir);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--noir);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.tc-prog__onglet:hover { background: rgba(17, 17, 17, 0.1); color: var(--wp--preset--color--noir); }
.tc-prog__onglet[aria-selected="true"] { background: var(--wp--preset--color--noir); color: var(--wp--preset--color--jaune); }
/* Sans JavaScript, tous les jours sont visibles : aucun onglet ne paraît choisi. */
.tc-prog:not(.is-enhanced) .tc-prog__onglet[aria-selected="true"] { background: transparent; color: var(--wp--preset--color--noir); }
.tc-prog__titre-jour { font-family: var(--wp--preset--font-family--interface); font-weight: 700; text-transform: uppercase; }
.tc-prog__jour + .tc-prog__jour { margin-top: var(--wp--preset--spacing--50); }
.tc-prog.is-enhanced .tc-prog__jour { margin-top: 0; }
.tc-prog.is-enhanced .tc-prog__titre-jour {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.tc-prog__jour:focus-visible { outline: 3px solid var(--wp--preset--color--noir); outline-offset: 4px; }

/* ---- Sous-catégories : boutons ---- */
.tc-sous-categories ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	list-style: none;
	margin: 0;
	padding: 0;
}
.tc-sous-categories__bouton {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--rouge-fonce);
	color: var(--wp--preset--color--blanc);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.tc-sous-categories__bouton:hover, .tc-sous-categories__bouton:focus-visible {
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--blanc);
}

/* ---- Fiche concert : carte noire ---- */
.tc-fiche {
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--creme);
	border-top: 8px solid var(--wp--preset--color--rouge);
	border-radius: var(--tc-rayon);
	padding: var(--wp--preset--spacing--40);
}
.tc-fiche > * { margin: 0; }
.tc-fiche > * + * { margin-top: var(--wp--preset--spacing--30); }
.tc-fiche a:not(.wp-element-button) { color: var(--wp--preset--color--jaune); }
.tc-fiche__quand {
	font-family: var(--wp--preset--font-family--affichage);
	font-size: var(--wp--preset--font-size--grand);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--wp--preset--color--jaune);
}
.tc-fiche__date { display: block; }
.tc-fiche__heure {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	color: var(--wp--preset--color--vert);
}
.tc-fiche__lieu, .tc-fiche__style {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--moyen);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tc-fiche__tarifs, .tc-fiche__ecoute { list-style: none; padding: 0; }
.tc-fiche__tarifs strong { font-size: var(--wp--preset--font-size--moyen); color: var(--wp--preset--color--jaune); }
.tc-fiche__billetterie {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 1.25rem;
	border-radius: 999px;
	background: var(--wp--preset--color--rouge-fonce);
	color: var(--wp--preset--color--blanc);
	text-decoration: none;
}
@media (min-width: 600px) { .tc-fiche__billetterie { width: auto; } }
.tc-fiche__billetterie:hover, .tc-fiche__billetterie:focus-visible {
	background: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--noir);
}
.tc-fiche__ecoute { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.tc-fiche__ecoute-lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.25rem;
}
.tc-fiche-autres { margin-top: var(--wp--preset--spacing--50); }
.tc-prochains__vide { font-style: italic; }

/* ---- La Boîte en Zinc : accent vert menthe ---- */
.tc-boite .tc-fiche { border-top-color: var(--wp--preset--color--vert); }
.tc-boite .tc-sous-categories__bouton { background: var(--wp--preset--color--vert); color: var(--wp--preset--color--vert-fonce); }
.tc-boite .tc-sous-categories__bouton:hover,
.tc-boite .tc-sous-categories__bouton:focus-visible { background: var(--wp--preset--color--noir); color: var(--wp--preset--color--vert); }
.tc-boite .tc-titre-page { border-bottom-color: var(--wp--preset--color--vert); }
.tc-boite .tc-titre-page :is(h1, .wp-block-query-title, .wp-block-post-title) { color: var(--wp--preset--color--vert); }

/* ---- Contenus tiers chargés au clic ---- */
.tc-embed {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-height: 12rem;
	padding: var(--wp--preset--spacing--30);
	box-sizing: border-box;
	background: var(--wp--preset--color--blanc);
	border: 3px dashed var(--wp--preset--color--noir);
	border-radius: var(--tc-rayon);
}
.tc-embed__btn {
	min-height: 44px;
	min-width: 44px;
	max-width: 100%;
	padding: 0.75rem 1.25rem;
	font: inherit;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--blanc);
	background: var(--wp--preset--color--rouge-fonce);
	border: 2px solid var(--wp--preset--color--rouge-fonce);
	border-radius: 999px;
	cursor: pointer;
}
.tc-embed__btn:hover { background: var(--wp--preset--color--noir); border-color: var(--wp--preset--color--noir); }
.tc-embed__btn:focus-visible { outline: 3px solid var(--wp--preset--color--noir); outline-offset: 2px; }
.tc-embed.is-loaded { padding: 0; border: 0; background: none; min-height: 0; align-items: stretch; border-radius: 0; }
.tc-embed__iframe { flex: 1 1 auto; width: 100%; min-height: inherit; border: 0; display: block; }

/* ---- Patterns et sections de page ---- */
.tc-bandeau:not(.tc-hero) .wp-block-cover { padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30); }
.tc-bandeau:not(.tc-hero) .wp-block-cover__inner-container > * { margin-left: auto; margin-right: auto; }
.tc-bandeau__titre { font-size: var(--wp--preset--font-size--titre); color: var(--wp--preset--color--jaune); }
.tc-bandeau__texte {
	font-family: var(--wp--preset--font-family--interface);
	font-size: var(--wp--preset--font-size--moyen);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tc-appel, .tc-adopte {
	padding: var(--wp--preset--spacing--60) var(--tc-gouttiere);
}
.tc-appel a:not(.wp-element-button) { color: inherit; }
.tc-appel .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 44px;
	background: var(--wp--preset--color--noir); color: var(--wp--preset--color--blanc);
	border-radius: 999px;
}
.tc-appel .wp-block-button__link:hover, .tc-appel .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--noir);
}
.tc-adopte h2 a { color: var(--wp--preset--color--noir); }
.tc-compteur {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--grand);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--wp--preset--color--noir);
}
.tc-compteur strong {
	font-family: var(--wp--preset--font-family--affichage);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--titre);
	line-height: 1;
	display: block;
	color: var(--wp--preset--color--rouge-fonce);
}
.tc-logos__grille { align-items: center; }
.tc-logos__grille img { max-height: 6rem; width: auto; object-fit: contain; }
.wp-block-details { border-bottom: 2px solid var(--wp--preset--color--noir); padding: var(--wp--preset--spacing--20) 0; }
.wp-block-details summary {
	min-height: 44px; display: flex; align-items: center; cursor: pointer;
	font-family: var(--wp--preset--font-family--interface); font-weight: 700; font-size: 1.25rem; text-transform: uppercase;
}
.tc-section + .tc-section { margin-top: var(--wp--preset--spacing--50); }
.tc-section.alignfull + .tc-section, .tc-section + .tc-section.alignfull { margin-top: 0; }
.tc-texte-image:not(.alignfull) { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.tc-contact-sujets li { margin-bottom: var(--wp--preset--spacing--20); }
.tc-main iframe { max-width: 100%; }
.tc-main .wp-block-image img { border-radius: var(--tc-rayon); }
.tc-main .tc-404__mascotte img { border-radius: 0; }
.tc-paliers .wp-block-column { background: var(--wp--preset--color--blanc); border-radius: var(--tc-rayon); padding: var(--wp--preset--spacing--30); }

/* Mouvement réduit : drapeau immobile, cartes et boutons sans animation. */
@media (prefers-reduced-motion: reduce) {
	.tc-hero .wp-block-cover__inner-container::before { animation: none; transform: rotate(-8deg); }
	.tc-carte, .tc-carte img, .wp-block-button__link { transition: none; transform: none; }
}

/* =====================================================================
 * Tâche 13 : pages concert complètes et interactivité
 * ===================================================================== */

/* Éléments masqués par l'attribut hidden : jamais réaffichés par un display de composant. */
.tc-carte[hidden], .tc-prog__filtres[hidden], .tc-prog__vide[hidden], .tc-partage [hidden],
.tc-compte[hidden], .tc-compte [hidden] { display: none !important; }

/* ---- Compte à rebours (héros de l'accueil) : aplat noir, J-n en jaune ---- */
.tc-compte {
	display: inline-flex;
	flex-direction: column;
	gap: 0.45rem;
	max-width: 100%;
	padding: 0.7rem 1rem 0.8rem;
	box-sizing: border-box;
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--blanc);
	border-radius: var(--tc-rayon);
	box-shadow: 6px 6px 0 var(--wp--preset--color--rouge);
}
.tc-hero .wp-block-cover__inner-container > .tc-compte { margin-top: var(--wp--preset--spacing--30); }
/* Petit téléphone : héros compact, J-n seul (le détail jours / heures / minutes est masqué). */
@media (max-width: 399px) {
	.tc-hero .wp-block-cover__inner-container > .tc-compte { margin-top: var(--wp--preset--spacing--20); padding: 0.5rem 0.8rem; }
	.tc-compte__detail { display: none; }
}
.tc-compte > * { margin: 0; }
.tc-compte__titre { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.65rem; row-gap: 0.15rem; }
.tc-compte__j {
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
	line-height: 0.9;
	color: var(--wp--preset--color--jaune);
	white-space: nowrap;
}
.tc-compte__quoi {
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	max-width: 12em; /* « avant le Festival / aux Champs » sur deux lignes, à côté de J-n */
}
@media (min-width: 600px) { .tc-compte__quoi { font-size: 1.125rem; } }
.tc-compte__detail {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 500;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--creme);
}
.tc-compte__u {
	padding: 0.1rem 0.55rem;
	border: 1px solid rgba(255, 241, 139, 0.4);
	border-radius: 999px;
}
.tc-compte__u > span { font-weight: 700; color: var(--wp--preset--color--jaune); }

/* ---- Programmation : puces filtrantes (secondaires par rapport aux onglets des jours) ---- */
.tc-prog__filtres {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	margin: 0 0 var(--wp--preset--spacing--30);
}
.tc-prog__filtre {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0.4rem 1rem;
	border: 2px solid var(--wp--preset--color--noir);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--noir);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
}
.tc-prog__filtre:hover { background: rgba(17, 17, 17, 0.1); }
.tc-prog__filtre[aria-pressed="true"] { background: var(--wp--preset--color--noir); color: var(--wp--preset--color--jaune); }
.tc-prog__filtre[aria-pressed="true"]::before { content: "✓"; }
.tc-prog__filtre:focus-visible { outline: 3px solid var(--wp--preset--color--noir); outline-offset: 2px; }
.tc-prog__compteur {
	margin: 0 0 0 auto;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tc-prog__nombre { font-family: var(--wp--preset--font-family--affichage); font-weight: 400; font-size: 1.5rem; }
.tc-prog__vide {
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: var(--wp--preset--spacing--30);
	border: 2px dashed currentColor;
	border-radius: var(--tc-rayon);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

/* ---- Fiche concert : partager, ajouter à l'agenda ---- */
.tc-partage {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(251, 244, 230, 0.2);
}
.tc-partage > * { margin: 0; }
.tc-partage__actions { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.tc-partage__actions:not(:has(> :not([hidden]))) { display: none; }
.tc-fiche a.tc-partage__agenda,
.tc-partage__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 1.15rem;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--jaune);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--jaune);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1.0625rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
}
.tc-fiche a.tc-partage__agenda:hover, .tc-fiche a.tc-partage__agenda:focus-visible,
.tc-partage__btn:hover, .tc-partage__btn:focus-visible,
.tc-partage__btn[aria-expanded="true"] { background: var(--wp--preset--color--jaune); color: var(--wp--preset--color--noir); }
.tc-partage__agenda::before, .tc-partage__btn::before {
	content: "";
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	background: currentColor;
	-webkit-mask: var(--tc-icone) center / contain no-repeat;
	mask: var(--tc-icone) center / contain no-repeat;
}
.tc-partage__agenda { --tc-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M12 13v5M9.5 15.5h5'/%3E%3C/svg%3E"); }
.tc-partage__btn { --tc-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E"); }
.tc-partage__liens { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); list-style: none; padding: 0; }
.tc-partage__liens > li { margin: 0; }
.tc-fiche a.tc-partage__lien,
.tc-fiche button.tc-partage__lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.4rem 1rem;
	box-sizing: border-box;
	border: 0;
	border-radius: 999px;
	background: rgba(251, 244, 230, 0.12);
	color: var(--wp--preset--color--creme);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
}
.tc-fiche a.tc-partage__lien:hover, .tc-fiche a.tc-partage__lien:focus-visible,
.tc-fiche button.tc-partage__lien:hover, .tc-fiche button.tc-partage__lien:focus-visible { background: var(--wp--preset--color--creme); color: var(--wp--preset--color--noir); }
.tc-partage__statut { font-family: var(--wp--preset--font-family--interface); font-weight: 700; color: var(--wp--preset--color--vert); }
.tc-partage__statut:empty { margin-top: calc(-1 * var(--wp--preset--spacing--20)); }

/* ---- Fiche concert : billetterie Weezevent, « Écouter et voir » ---- */
.tc-fiche-bloc { margin-top: var(--wp--preset--spacing--50); }
.tc-fiche-bloc__titre {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
	line-height: 1;
	text-transform: uppercase;
	transform: rotate(-1.5deg);
	transform-origin: left center;
}
.tc-fiche-medias__audio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--30); }
.tc-fiche-bloc__titre + .tc-fiche-medias__audio { margin-top: 0; }
.tc-fiche-medias .tc-fiche__ecoute { margin: var(--wp--preset--spacing--30) 0 0; }
.tc-fiche-medias .tc-fiche__ecoute-lien {
	min-height: 44px;
	padding: 0.4rem 1rem;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--rouge-fonce);
	border-radius: 999px;
	color: var(--wp--preset--color--rouge-fonce);
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.tc-fiche-medias .tc-fiche__ecoute-lien:hover,
.tc-fiche-medias .tc-fiche__ecoute-lien:focus-visible { background: var(--wp--preset--color--rouge-fonce); color: var(--wp--preset--color--blanc); }

/* Boîtes « clic pour charger » du thème : cartes noires (vidéo avec la photo du concert). */
.tc-embed--video, .tc-embed--audio, .tc-embed--audio-court, .tc-embed--billets {
	position: relative;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	min-height: 0;
	overflow: hidden;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--creme);
	border: 0;
	text-align: center;
}
.tc-embed--video { aspect-ratio: 16 / 9; padding: var(--wp--preset--spacing--30); }
.tc-embed__poster {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tc-embed--video::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.2) 0%, rgba(17, 17, 17, 0.45) 45%, rgba(17, 17, 17, 0.85) 100%);
}
.tc-embed--video > :not(.tc-embed__poster) { position: relative; z-index: 2; }
.tc-embed--video .tc-embed__note { position: absolute; left: var(--wp--preset--spacing--30); right: var(--wp--preset--spacing--30); bottom: 0.6rem; }
/* Fournisseur en tête des lecteurs audio et de la billetterie. */
.tc-embed--audio::before, .tc-embed--audio-court::before, .tc-embed--billets::before {
	content: attr(data-provider);
	font-family: var(--wp--preset--font-family--affichage);
	font-size: 1.5rem;
	line-height: 1;
	text-transform: capitalize;
	color: var(--wp--preset--color--jaune);
}
.tc-embed--billets::before { content: "Weezevent"; }
.tc-embed.is-loaded::before { content: none; }
.tc-embed--video .tc-embed__btn, .tc-embed--audio .tc-embed__btn, .tc-embed--audio-court .tc-embed__btn, .tc-embed--billets .tc-embed__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.4rem 1.25rem 0.4rem 0.4rem;
	font-size: 1.0625rem;
	box-shadow: 4px 4px 0 var(--wp--preset--color--noir);
}
.tc-embed--video .tc-embed__btn:hover, .tc-embed--audio .tc-embed__btn:hover,
.tc-embed--audio-court .tc-embed__btn:hover, .tc-embed--billets .tc-embed__btn:hover {
	background: var(--wp--preset--color--blanc);
	border-color: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--noir);
}
/* Focus jaune sur ces cartes noires. */
.tc-embed--video :focus-visible, .tc-embed--audio :focus-visible,
.tc-embed--audio-court :focus-visible, .tc-embed--billets :focus-visible { outline: 3px solid var(--wp--preset--color--jaune); outline-offset: 2px; }
.tc-embed__play {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--blanc);
}
.tc-embed__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 55%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent var(--wp--preset--color--rouge-fonce);
}
.tc-embed--video .tc-embed__play { width: 52px; height: 52px; }
.tc-embed__note { margin: 0; max-width: 40ch; font-size: 0.875rem; line-height: 1.35; color: var(--wp--preset--color--creme); }
.tc-embed__note a { color: var(--wp--preset--color--jaune); }
.tc-embed.is-loaded { flex-direction: row; overflow: visible; }
.tc-embed--audio.is-loaded { min-height: 300px; }
.tc-embed--audio-court.is-loaded { min-height: 152px; }
.tc-embed--billets.is-loaded { min-height: 640px; background: var(--wp--preset--color--blanc); border-radius: var(--tc-rayon); }
@media (prefers-reduced-motion: no-preference) {
	.tc-embed__poster { transition: transform 0.5s ease; }
	.tc-embed--video:hover .tc-embed__poster { transform: scale(1.04); }
}
@media (max-width: 420px) {
	.tc-embed--video .tc-embed__note { font-size: 0.8125rem; bottom: 0.4rem; }
	.tc-embed--video .tc-embed__play { width: 44px; height: 44px; }
}

/* Boîte en Zinc : accent vert menthe (7.9:1 sur noir) à la place du jaune. */
.tc-boite .tc-fiche a.tc-partage__agenda, .tc-boite .tc-partage__btn { border-color: var(--wp--preset--color--vert); color: var(--wp--preset--color--vert); }
.tc-boite .tc-fiche a.tc-partage__agenda:hover, .tc-boite .tc-fiche a.tc-partage__agenda:focus-visible,
.tc-boite .tc-partage__btn:hover, .tc-boite .tc-partage__btn:focus-visible,
.tc-boite .tc-partage__btn[aria-expanded="true"] { background: var(--wp--preset--color--vert); color: var(--wp--preset--color--noir); }
.tc-boite .tc-embed--audio::before, .tc-boite .tc-embed--audio-court::before, .tc-boite .tc-embed--billets::before,
.tc-boite .tc-embed__note a { color: var(--wp--preset--color--vert); }

/* ---- Animations au défilement : html.tc-anim n'est posé que par assets/js/animations.js ---- */
html.tc-anim .tc-reveal {
	opacity: 0;
	translate: 0 20px;
	transition: opacity 0.6s ease var(--tc-delai, 0ms), translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--tc-delai, 0ms);
}
html.tc-anim .tc-reveal.is-visible { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
	html.tc-anim .tc-reveal { opacity: 1; translate: none; transition: none; }
}
@media print {
	html.tc-anim .tc-reveal { opacity: 1 !important; translate: none !important; }
}

/* =====================================================================
 * Tâche 14 : direction « Affiche plein écran »
 * Sections bord à bord, contenu large (1320px), fond noir dominant, typographie géante.
 * ===================================================================== */

/* ---- Zones sombres (fiche concert, archives, sections noires) : liens jaunes (16:1) ---- */
:is(.tc-sombre, .has-noir-background-color) :where(a:not([class])),
.tc-sombre .wp-block-query-pagination a { color: var(--wp--preset--color--jaune); }
:is(.tc-sombre, .has-noir-background-color) :where(a:not([class])):hover,
.tc-sombre .wp-block-query-pagination a:hover { color: var(--wp--preset--color--blanc); }
.tc-sombre :focus-visible { outline-color: var(--wp--preset--color--jaune); }

/* ---- Bandeau défilant des artistes (sous le héros de l'accueil) ---- */
.tc-defile {
	position: relative;
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0.45rem 0;
	background: var(--wp--preset--color--jaune);
	color: var(--wp--preset--color--noir);
	border-top: 4px solid var(--wp--preset--color--noir);
	border-bottom: 4px solid var(--wp--preset--color--noir);
}
/* Par défaut (sans JavaScript, ou mouvement réduit) : liste statique sur plusieurs lignes, sans
   la copie. Le défilement ne démarre qu'avec la classe is-anime posée par view.js. */
.tc-defile__piste {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 var(--tc-gouttiere);
}
.tc-defile.is-anime .tc-defile__piste {
	flex-wrap: nowrap;
	justify-content: flex-start;
	width: max-content;
	padding: 0;
	animation: tc-defile var(--tc-defile-duree, 60s) linear infinite;
}
.tc-defile.is-anime:hover .tc-defile__piste,
.tc-defile.is-anime:focus-within .tc-defile__piste,
.tc-defile.is-anime.is-paused .tc-defile__piste { animation-play-state: paused; }
.tc-defile.is-anime { cursor: pointer; } /* toucher ou clic : pause / reprise (view.js) */
@keyframes tc-defile {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.tc-defile__liste {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.tc-defile__liste[aria-hidden="true"] { display: none; }
.tc-defile.is-anime .tc-defile__liste { flex-wrap: nowrap; flex-shrink: 0; }
.tc-defile.is-anime .tc-defile__liste[aria-hidden="true"] { display: flex; }
.tc-defile__nom {
	display: flex;
	align-items: center;
	margin: 0;
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(1.75rem, 1rem + 3vw, 4rem);
	line-height: 1.1;
	text-transform: uppercase;
}
.tc-defile:not(.is-anime) .tc-defile__nom:last-child::after { content: none; }
.tc-defile.is-anime .tc-defile__nom { white-space: nowrap; }
.tc-defile__nom::after {
	content: "★";
	content: "★" / "";
	margin: 0 0.45em;
	font-size: 0.7em;
	color: var(--wp--preset--color--rouge-fonce);
}
/* Mouvement réduit : view.js ne pose pas is-anime ; garde-fou si la préférence change ensuite. */
@media (prefers-reduced-motion: reduce) {
	.tc-defile.is-anime .tc-defile__piste { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--tc-gouttiere); }
	.tc-defile.is-anime .tc-defile__liste { flex-wrap: wrap; flex-shrink: 1; justify-content: center; }
	.tc-defile.is-anime .tc-defile__liste[aria-hidden="true"] { display: none; }
	.tc-defile.is-anime .tc-defile__nom { white-space: normal; }
	.tc-defile.is-anime .tc-defile__nom:last-child::after { content: none; }
}

/* ---- Programmation sur fond noir : onglets et filtres crème, jour choisi en jaune ---- */
:is(.tc-sombre, .has-noir-background-color) .tc-prog__onglet,
:is(.tc-sombre, .has-noir-background-color) .tc-prog__filtre {
	border-color: var(--wp--preset--color--creme);
	color: var(--wp--preset--color--creme);
}
:is(.tc-sombre, .has-noir-background-color) .tc-prog__onglet:hover,
:is(.tc-sombre, .has-noir-background-color) .tc-prog__filtre:hover { background: rgba(251, 244, 230, 0.12); color: var(--wp--preset--color--creme); }
:is(.tc-sombre, .has-noir-background-color) .tc-prog__onglet[aria-selected="true"],
:is(.tc-sombre, .has-noir-background-color) .tc-prog__filtre[aria-pressed="true"] {
	border-color: var(--wp--preset--color--jaune);
	background: var(--wp--preset--color--jaune);
	color: var(--wp--preset--color--noir);
}
:is(.tc-sombre, .has-noir-background-color) .tc-prog:not(.is-enhanced) .tc-prog__onglet[aria-selected="true"] {
	border-color: var(--wp--preset--color--creme);
	background: transparent;
	color: var(--wp--preset--color--creme);
}
:is(.tc-sombre, .has-noir-background-color) .tc-prog__jour:focus-visible,
:is(.tc-sombre, .has-noir-background-color) .tc-prog__filtre:focus-visible { outline-color: var(--wp--preset--color--jaune); }
.tc-prog__onglet { font-size: 1.25rem; }
@media (min-width: 1000px) { .tc-prog__onglet { flex: 0 1 auto; min-width: 12rem; } }

/* ---- Titre de page : grand bandeau noir bord à bord (pages, articles, archives, recherche) ---- */
.tc-main > .tc-titre-page:first-child { margin-top: 0; }
.tc-titre-page {
	padding-top: clamp(2.5rem, 1.5rem + 5vw, 6rem) !important;
	padding-bottom: clamp(2rem, 1.25rem + 3vw, 4.5rem) !important;
	border-bottom: 6px solid var(--wp--preset--color--rouge);
}
.tc-titre-page > * + * { margin-top: var(--wp--preset--spacing--30); }
.tc-titre-page :is(h1, .wp-block-query-title, .wp-block-post-title) {
	margin-top: 0;
	margin-bottom: 0;
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(2rem, 0.6rem + 6.5vw, 8rem);
	line-height: 0.9;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--jaune);
}
.tc-titre-page .wp-block-term-description {
	max-width: 68ch;
	margin-left: 0;
	font-size: var(--wp--preset--font-size--moyen);
}
.tc-titre-page .wp-block-term-description:empty { display: none; }
.tc-titre-page .tc-sous-categories { max-width: var(--wp--style--global--wide-size); }
.tc-titre-page + * { margin-top: var(--wp--preset--spacing--50) !important; }
/* Texte courant des pages : 68 caractères au plus par ligne. */
.tc-page .wp-block-post-content > p,
.tc-page .wp-block-post-content > ul,
.tc-page .wp-block-post-content > ol { max-width: 68ch; }

/* ---- Archives (festival/2026, Boîte en Zinc) : grille bord à bord sur fond noir ---- */
.tc-archive__grille {
	padding-left: var(--tc-gouttiere);
	padding-right: var(--tc-gouttiere);
	box-sizing: border-box;
}
.tc-archive__grille > * { max-width: var(--wp--style--global--wide-size); margin-left: auto !important; margin-right: auto !important; }
.tc-archive__grille .tc-cartes { margin-top: 0; }
.tc-archive__grille .wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50); }
.tc-archive__grille .wp-block-query-pagination a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Fiche concert : héros photo pleine largeur, titre géant en surimpression ---- */
.tc-concert > .tc-concert__heros { margin-top: 0; margin-bottom: 0; }
.tc-concert__heros.wp-block-cover {
	min-height: 70vh;
	min-height: 70svh;
	padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--40); /* gouttières : has-global-padding du contenu */
	align-items: flex-end;
	box-sizing: border-box;
}
/* Contenu sur toute la largeur (WordPress le réduit à sa largeur propre pour « en bas à gauche »). */
.tc-concert__heros.wp-block-cover .wp-block-cover__inner-container { width: 100% !important; margin: 0 !important; }
@media (min-width: 1000px) {
	.tc-concert__heros.wp-block-cover { min-height: 76vh; min-height: 76svh; padding-bottom: var(--wp--preset--spacing--50); }
}
/* Sans photo : bandeau plus bas. */
.tc-concert__heros.wp-block-cover:not(:has(.wp-block-cover__image-background)) { min-height: 0; padding-top: var(--wp--preset--spacing--60); }
/* Voile : léger en haut (visages), noir en bas sous le titre (≥ 85 % derrière le texte). */
.tc-concert__heros .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.25) 0%, rgba(17, 17, 17, 0.1) 35%, rgba(17, 17, 17, 0.75) 68%, rgba(17, 17, 17, 0.96) 100%) !important;
}
.tc-concert__heros .wp-block-cover__inner-container { color: var(--wp--preset--color--blanc); }
.tc-concert__heros .wp-block-cover__inner-container > * { margin-top: 0; margin-bottom: 0; }
.tc-concert__titre {
	margin-top: var(--wp--preset--spacing--30) !important;
	font-size: clamp(2.25rem, 8.4vw, 8.5rem);
	line-height: 0.88;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--blanc);
	text-shadow: 0 2px 24px rgba(17, 17, 17, 0.5);
}
.tc-concert__titre.is-long { font-size: clamp(1.875rem, 5.5vw, 5.5rem); }
.tc-concert__pastilles { gap: 0.5rem; }
.tc-pastille {
	margin: 0;
	padding: 0.3rem 0.75rem;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--blanc);
	background: rgba(17, 17, 17, 0.8);
	border: 2px solid var(--wp--preset--color--creme);
	border-radius: 999px;
}
.tc-pastille--date { background: var(--wp--preset--color--jaune); border-color: var(--wp--preset--color--jaune); color: var(--wp--preset--color--noir); }
.tc-boite .tc-pastille--date { background: var(--wp--preset--color--vert); border-color: var(--wp--preset--color--vert); }
.tc-pastille:empty { display: none; }
@media (min-width: 600px) { .tc-pastille { font-size: 1.125rem; } }

/* ---- Fiche concert : panneau d'infos (sous le héros sur téléphone, collant à droite sur ordinateur) ---- */
.tc-concert__corps {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--40);
}
.tc-concert__corps > * { margin: 0 !important; }
.tc-concert__corps > :empty { display: none; }
.tc-concert__corps > .tc-panneau { order: -1; }
.tc-concert__texte > * { max-width: 68ch; }
.tc-concert__texte > .wp-block-embed, .tc-concert__texte > .wp-block-image { max-width: 100%; }
.tc-sombre .tc-fiche { background: rgba(251, 244, 230, 0.07); }
.tc-panneau .tc-fiche__quand { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); }
@media (min-width: 1000px) {
	.tc-concert__corps {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
		column-gap: clamp(2rem, 4vw, 4.5rem);
		row-gap: 0;
		align-items: start;
		padding-top: var(--wp--preset--spacing--50);
	}
	.tc-concert__corps > .wp-block-post-content { grid-area: 1 / 1; }
	.tc-concert__corps > .tc-fiche-premiere { grid-area: 2 / 1; margin-top: var(--wp--preset--spacing--50) !important; }
	.tc-concert__corps > .tc-fiche-billets { grid-area: 3 / 1; margin-top: var(--wp--preset--spacing--50) !important; }
	.tc-concert__corps > .tc-fiche-medias { grid-area: 4 / 1; margin-top: var(--wp--preset--spacing--50) !important; }
	.tc-concert__corps > .wp-block-post-content:empty + .tc-panneau + .tc-fiche-bloc { margin-top: 0 !important; }
	.tc-panneau {
		grid-area: 1 / 2 / 5 / 3;
		position: sticky;
		top: calc(var(--tc-header-h) + 16px);
	}
	.admin-bar .tc-panneau { top: calc(var(--tc-header-h) + 16px + 32px); }
}
/* ---- Tâche 15 : présentation de l'artiste, précision tarifaire, liens, première partie ---- */
/* Texte de présentation : grand corps lisible, crème sur noir, ~68 caractères par ligne. */
.tc-concert__texte {
	font-family: var(--wp--preset--font-family--texte);
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
	line-height: 1.65;
	color: var(--wp--preset--color--creme);
}
.tc-concert__texte > * + * { margin-top: 1em; }
.tc-concert__texte :is(h2, h3, h4) {
	margin-top: 1.5em;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--moyen);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--jaune);
}
.tc-boite .tc-concert__texte :is(h2, h3, h4) { color: var(--wp--preset--color--vert); }
.tc-concert__texte a { color: var(--wp--preset--color--jaune); }
.tc-concert__texte .wp-block-image img { max-width: min(100%, 30rem); height: auto; border-radius: var(--tc-rayon); }
.tc-fiche__tarif-info { font-style: italic; }
.tc-fiche__reseaux-titre {
	margin: 0;
	font-family: var(--wp--preset--font-family--interface);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.tc-fiche__liens { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.tc-fiche a.tc-fiche__reseau {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--jaune);
	border-radius: 50%;
	color: var(--wp--preset--color--jaune);
}
.tc-fiche a.tc-fiche__reseau:hover, .tc-fiche a.tc-fiche__reseau:focus-visible { background: var(--wp--preset--color--jaune); color: var(--wp--preset--color--noir); }
.tc-boite .tc-fiche a.tc-fiche__reseau { border-color: var(--wp--preset--color--vert); color: var(--wp--preset--color--vert); }
.tc-boite .tc-fiche a.tc-fiche__reseau:hover, .tc-boite .tc-fiche a.tc-fiche__reseau:focus-visible { background: var(--wp--preset--color--vert); color: var(--wp--preset--color--noir); }
.tc-fiche__reseau svg { width: 24px; height: 24px; }
.tc-fiche-premiere__corps { display: grid; gap: var(--wp--preset--spacing--30); align-items: start; }
@media (min-width: 600px) {
	.tc-fiche-premiere__corps.has-image { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
}
.tc-fiche-premiere__image { display: block; width: 100%; height: auto; border-radius: var(--tc-rayon); }
.tc-fiche-premiere__texte { max-width: 68ch; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); line-height: 1.6; }
.tc-fiche-premiere__texte > * { margin: 0; }
.tc-fiche-premiere__texte > * + * { margin-top: 0.75em; }
.tc-fiche-premiere__nom {
	font-family: var(--wp--preset--font-family--affichage);
	font-size: var(--wp--preset--font-size--grand);
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--jaune);
}
.tc-boite .tc-fiche-premiere__nom { color: var(--wp--preset--color--vert); }
.tc-fiche-premiere__lien a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--jaune); }
.tc-boite .tc-fiche-premiere__lien a { color: var(--wp--preset--color--vert); }

/* « Autres artistes du même soir » : rendu après la grille (bloc partie « autres »), hors du
   conteneur du panneau collant, qui s'arrête donc avec la grille. Pleine largeur utile. */
.tc-concert > .tc-fiche-autres { max-width: var(--wp--style--global--wide-size); margin-top: var(--wp--preset--spacing--60); }
/* Titres des blocs de la fiche (« Écouter et voir », « Autres artistes du même soir »). */
.tc-fiche-bloc__titre { font-size: clamp(2rem, 1.2rem + 3.5vw, 4.5rem); }
.tc-fiche-autres__titre {
	margin: 0;
	font-size: clamp(2rem, 1rem + 4.5vw, 6rem);
	line-height: 0.9;
	color: var(--wp--preset--color--jaune);
}
.tc-boite .tc-fiche-autres__titre { color: var(--wp--preset--color--vert); }
/* Lecteurs sur fond noir : cartes gris très foncé, liens d'écoute en jaune. */
.tc-sombre :is(.tc-embed--audio, .tc-embed--audio-court, .tc-embed--billets):not(.is-loaded) {
	background: rgba(251, 244, 230, 0.07);
	outline: 1px solid rgba(251, 244, 230, 0.15);
}
.tc-sombre .tc-fiche-medias .tc-fiche__ecoute-lien { border-color: var(--wp--preset--color--jaune); color: var(--wp--preset--color--jaune); }
.tc-sombre .tc-fiche-medias .tc-fiche__ecoute-lien:hover,
.tc-sombre .tc-fiche-medias .tc-fiche__ecoute-lien:focus-visible { background: var(--wp--preset--color--jaune); color: var(--wp--preset--color--noir); }

/* ---- Micro-interactions : flèche qui glisse dans les boutons d'action, soulignés animés ---- */
.tc-hero__bouton .wp-block-button__link::after,
.tc-appel .wp-block-button__link::after,
.tc-adopte .wp-block-button__link::after,
.tc-fiche__billetterie::after {
	content: "";
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	margin-left: 0.5em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tc-header .wp-block-navigation-item__content .wp-block-navigation-item__label,
.tc-footer__menu a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
}
.tc-header .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.tc-header .wp-block-navigation-item__content:focus-visible .wp-block-navigation-item__label,
.tc-footer__menu a:hover, .tc-footer__menu a:focus-visible { background-size: 100% 3px; }
.tc-header .wp-block-navigation-item__content:hover,
.tc-header .wp-block-navigation-item__content:focus-visible { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
	.tc-hero__bouton .wp-block-button__link::after,
	.tc-appel .wp-block-button__link::after,
	.tc-adopte .wp-block-button__link::after,
	.tc-fiche__billetterie::after { transition: transform 0.2s ease; }
	.tc-hero__bouton .wp-block-button__link:hover::after,
	.tc-appel .wp-block-button__link:hover::after,
	.tc-adopte .wp-block-button__link:hover::after,
	.tc-fiche__billetterie:hover::after { transform: translateX(5px); }
	.tc-header .wp-block-navigation-item__label,
	.tc-footer__menu a { transition: background-size 0.25s ease; }
}

/* Programmation pas encore annoncée (accueil, édition à venir). */
.tc-prog--bientot {
	padding: var(--wp--preset--spacing--40) 0;
	text-align: center;
}
.tc-prog__bientot-titre {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(1.75rem, 5vw, 3rem);
	line-height: 1.05;
	color: var(--wp--preset--color--jaune);
}
.tc-prog__bientot-texte { margin: 0; font-size: 1.125rem; }
/* Jour de l'édition sans concert encore annoncé (onglet gardé). */
.tc-prog__jour-vide {
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	border: 2px dashed currentColor;
	border-radius: var(--tc-rayon);
	font-family: var(--wp--preset--font-family--affichage);
	font-size: clamp(1.25rem, 3.5vw, 1.75rem);
	line-height: 1.15;
	text-align: center;
	color: var(--wp--preset--color--jaune);
}

/* Pied de page : bande des logos partenaires (image provisoire, en attendant les SVG officiels).
   Fond blanc comme l'image ; hauteur lisible, défilement horizontal si l'écran est trop étroit. */
.tc-footer__partenaires { display: grid; gap: var(--wp--preset--spacing--20); }
.tc-footer .tc-footer__bande {
	display: block;
	overflow-x: auto;
	padding: 0.5rem 1rem;
	background: var(--wp--preset--color--blanc);
	border-radius: var(--tc-rayon);
	text-decoration: none;
	scrollbar-width: thin;
}
.tc-footer__bande img {
	display: block;
	width: auto;
	max-width: none;
	height: 56px;
	margin: 0 auto;
}
@media (min-width: 1300px) {
	.tc-footer__bande img { width: 100%; height: auto; max-width: 2000px; }
}

/* Téléphone et tablette : textes du héros regroupés en bas, photo recadrée vers le haut
   (les visages restent visibles au-dessus), voile sombre surtout en bas. */
@media (max-width: 999px) {
	.tc-hero .wp-block-cover__inner-container { justify-content: flex-end; }
	.tc-hero__bandeau { margin-top: var(--wp--preset--spacing--30) !important; }
	.tc-hero .wp-block-cover__image-background { object-position: 50% 15% !important; }
	.tc-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(17, 17, 17, 0.2) 0%, rgba(17, 17, 17, 0.25) 30%, rgba(17, 17, 17, 0.75) 55%, rgba(17, 17, 17, 0.92) 100%) !important;
	}
}
/* Téléphone : les onglets des jours sur une seule ligne, sans le mois. */
@media (max-width: 599px) {
	.tc-prog__onglets { flex-wrap: nowrap; gap: 0.4rem; }
	.tc-prog__onglet { flex: 1 1 0; min-width: 0; padding: 0.45rem 0.3rem; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap; }
	.tc-prog__mois { display: none; }
}

/* Téléphone et tablette : « 40 ANS » moins envahissant. */
@media (max-width: 999px) {
	.tc-hero__anniversaire { font-size: clamp(3.75rem, min(21vw, 17vh), 9rem); }
}
/* Accueil : « Réserver mes billets » sous la programmation, centré. */
.tc-section--prog > .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); max-width: var(--wp--style--global--wide-size); }
.tc-section--prog .tc-prog__billets .wp-block-button__link { font-size: 1.25rem; padding: 0.8rem 1.8rem; min-height: 52px; }

/* Fiche concert : date et événement cliquables (soirée ou saison ; page Festival ou Boîte). */
.tc-fiche a.tc-fiche__lien { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 0.08em no-repeat; }
.tc-fiche a.tc-fiche__lien:hover, .tc-fiche a.tc-fiche__lien:focus-visible { color: inherit; background-size: 100% 0.08em; }
@media (prefers-reduced-motion: no-preference) { .tc-fiche__lien { transition: background-size 0.25s ease; } }
/* Pastilles du héros de la fiche : date (soirée ou saison) et lieu (page Festival ou Boîte) cliquables. */
.tc-pastille__lien { color: inherit !important; text-decoration: none; }
.tc-pastille__lien:hover, .tc-pastille__lien:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ===== Pages à sections larges (gabarit page-large) ===== */
/* Sections pleine largeur : tout le contenu sur la largeur « wide », aligné à gauche ;
   les paragraphes gardent une longueur de ligne lisible (46rem). */
.tc-sec.alignfull > * { max-width: var(--wp--style--global--wide-size); }
.tc-sec.alignfull > :is(p, ul, h3) {
	box-sizing: border-box;
	padding-right: max(0px, calc(min(100%, var(--wp--style--global--wide-size)) - 46rem));
}
.tc-sec.alignfull > .tc-sec__sommaire { padding-right: 0; }
.tc-sec .wp-block-columns { gap: var(--wp--preset--spacing--50); }
.tc-sec .wp-block-column > .wp-block-heading:first-child { margin-top: 0; }
.tc-sec__intro.alignfull { padding-top: var(--wp--preset--spacing--50); }
.tc-sec__chapo { font-size: var(--wp--preset--font-size--moyen); font-weight: 600; }
.tc-sec__sommaire {
	list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20);
}
.tc-sec__sommaire a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
	border: 2px solid var(--wp--preset--color--noir); border-radius: 999px;
	font-family: var(--wp--preset--font-family--interface); font-weight: 700; text-transform: uppercase;
	color: var(--wp--preset--color--noir); text-decoration: none;
}
.tc-sec__sommaire a:hover, .tc-sec__sommaire a:focus-visible {
	background: var(--wp--preset--color--noir); color: var(--wp--preset--color--blanc);
}
.tc-sec__tuiles.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.tc-sec__tuiles { margin-left: auto; margin-right: auto; gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--50); }
.tc-sec__tuile {
	background: var(--wp--preset--color--blanc); border-radius: var(--tc-rayon);
	border-top: 6px solid var(--wp--preset--color--rouge);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}
.tc-sec__tuile:nth-child(2) { border-top-color: var(--wp--preset--color--vert); }
.tc-sec__tuile:nth-child(3) { border-top-color: var(--wp--preset--color--jaune); }
.tc-sec__tuile:nth-child(4) { border-top-color: var(--wp--preset--color--noir); }
.tc-sec__tuile h3 { margin: 0 0 0.4rem; font-size: var(--wp--preset--font-size--moyen); }
.tc-sec__tuile p { margin: 0.3rem 0 0; }
.tc-sec__tuile a { color: var(--wp--preset--color--rouge-fonce); font-weight: 600; }
.tc-sec__encart { background: var(--wp--preset--color--jaune); }
.tc-sec__encart.alignfull { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.tc-sec__encart h3 { margin-top: 0; }
.tc-sec__encart > :last-child { margin-bottom: 0; }
.tc-sec__encart--discret { background: var(--wp--preset--color--blanc); }
.tc-sec__adresse {
	font-size: var(--wp--preset--font-size--moyen); line-height: 1.4;
	border-left: 6px solid var(--wp--preset--color--rouge); padding-left: var(--wp--preset--spacing--30);
}
.tc-sec__durees {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr)); gap: 0 var(--wp--preset--spacing--40);
}
.tc-sec__durees li { padding: 0.55rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.18); }
.tc-sec__venir .tc-embed, .tc-sec__venir > iframe {
	max-width: var(--wp--style--global--wide-size); margin-top: var(--wp--preset--spacing--50);
}
.tc-sec__venir iframe { width: 100%; height: auto; aspect-ratio: 21 / 9; border-radius: var(--tc-rayon); display: block; }
@media (max-width: 781px) { .tc-sec__venir iframe { aspect-ratio: 4 / 3; } }
.tc-sec__coches, .tc-sec__interdits { list-style: none; padding: 0; }
.tc-sec__coches li, .tc-sec__interdits li { position: relative; padding: 0.3rem 0 0.3rem 2rem; }
.tc-sec__coches li::before, .tc-sec__interdits li::before {
	position: absolute; left: 0; top: 0.3rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; line-height: 1;
	color: var(--wp--preset--color--blanc);
}
.tc-sec__coches li::before { content: "✓"; background: var(--wp--preset--color--vert-fonce); }
.tc-sec__interdits li::before { content: "✕"; background: var(--wp--preset--color--rouge-fonce); }
.tc-sec__note { font-size: var(--wp--preset--font-size--petit); font-style: italic; }
/* Frise chronologique (dates clés). */
.tc-sec__frise { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--wp--preset--color--rouge); }
.tc-sec__frise li { position: relative; padding: 0 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
.tc-sec__frise li::before {
	content: ""; position: absolute; left: -0.6rem; top: 0.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%;
	background: var(--wp--preset--color--creme); border: 3px solid var(--wp--preset--color--rouge);
}
.tc-sec__frise strong {
	display: block; font-family: var(--wp--preset--font-family--interface); font-size: var(--wp--preset--font-size--moyen);
	text-transform: uppercase; color: var(--wp--preset--color--rouge-fonce);
}
/* Chiffres clés : le titre de la tuile est un grand nombre. */
.tc-sec__chiffres .tc-sec__tuile h3 {
	font-family: var(--wp--preset--font-family--affichage); font-weight: 400;
	font-size: var(--wp--preset--font-size--titre); line-height: 1; margin-bottom: 0.3rem;
}
/* Fiche (libellé : valeur), une ligne par information. */
.tc-sec__fiche { list-style: none; padding: 0; }
.tc-sec__fiche li { padding: 0.55rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.18); }
.tc-sec__fiche a, .tc-sec__adresse a, .tc-sec__note a { color: var(--wp--preset--color--rouge-fonce); }
/* Noms en pastilles (partenaires privés, médias). */
.tc-sec__pastilles { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.tc-sec__pastilles li {
	padding: 0.4rem 1rem; border-radius: 999px; background: var(--wp--preset--color--blanc);
	font-family: var(--wp--preset--font-family--interface); font-weight: 600;
}
/* Tuiles sur fond jaune (encart) : liens lisibles. */
.tc-sec__encart .tc-sec__tuiles { margin-top: var(--wp--preset--spacing--40); }
.tc-sec .tc-logos__grille { margin-top: var(--wp--preset--spacing--30); }
.tc-sec.tc-logos.alignfull > .tc-logos__grille { padding-right: 0; }
.tc-sec__tuile a { overflow-wrap: anywhere; }
/* Accueils de rubrique (/festival, /boite-zinc) : sections bord à bord, sans bande crème entre elles. */
.tc-rubrique > * { margin-block-start: 0; }
.tc-rubrique .tc-section--prog > .wp-block-heading { margin-bottom: var(--wp--preset--spacing--50); }
.tc-rubrique > .tc-titre-page + * { margin-top: 0 !important; }
.tc-rubrique .tc-prochains__vide { font-style: normal; font-size: var(--wp--preset--font-size--moyen); font-weight: 600; max-width: 46rem; }

/* ── Articles (actualités, anciens concerts) ───────────────────────────── */
.tc-article { padding-bottom: var(--wp--preset--spacing--60); }
.tc-article__meta { gap: 0.5rem; margin-bottom: 1rem; }
.tc-article__meta .tc-pastille { font-size: 0.875rem; }
.tc-article__rubrique a { color: inherit; text-decoration: none; }
.tc-article__rubrique a:hover, .tc-article__rubrique a:focus-visible { text-decoration: underline; }
.tc-article__rubrique .wp-block-post-terms__separator { opacity: 0.6; }
.tc-article__image { margin-top: var(--wp--preset--spacing--50) !important; }
.tc-article__image img { display: block; width: auto !important; max-width: 100%; height: auto !important; max-height: 80vh; margin-inline: auto; border-radius: 4px; object-fit: contain; }
.tc-article__texte { margin-top: var(--wp--preset--spacing--50) !important; font-size: 1.125rem; line-height: 1.6; }
.tc-article__texte img { max-width: 100%; height: auto; }
.tc-article__texte h2, .tc-article__texte h3, .tc-article__texte h4, .tc-article__texte h5, .tc-article__texte h6 { text-align: left; line-height: 1.15; margin-top: 1.6em; }
.tc-article__texte h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
.tc-article__texte h3, .tc-article__texte h4 { font-size: clamp(1.25rem, 3vw, 1.625rem); }
.tc-article__texte h5, .tc-article__texte h6 { font-size: 1.125rem; }
.tc-article__texte .alignleft { float: left; margin: 0.25rem 1rem 0.5rem 0; }
.tc-article__texte .alignright { float: right; margin: 0.25rem 0 0.5rem 1rem; }
.tc-article__texte .aligncenter { display: block; margin-inline: auto; }
.tc-article__texte img[width="70"], .tc-article__texte img[width="43"], .tc-article__texte img[width="72"] { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: 4px; }
.tc-article__texte p::after, .tc-article__texte .wp-block-group::after { content: ""; display: table; clear: both; }
.tc-article__texte a { overflow-wrap: anywhere; }
.tc-article__suite { margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--40); border-top: 2px solid var(--wp--preset--color--noir); gap: 1rem; clear: both; }
.tc-article__nav { flex: 1 1 16rem; max-width: 100%; font-family: var(--wp--preset--font-family--interface); font-weight: 700; }
.tc-article__nav a { display: block; text-decoration: none; color: inherit; }
.tc-article__nav a:hover, .tc-article__nav a:focus-visible { text-decoration: underline; }
.tc-article__nav .post-navigation-link__label { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.tc-article__nav--suivant { text-align: right; }
.tc-article .wp-block-post-content > p, .tc-article .wp-block-post-content > ul, .tc-article .wp-block-post-content > ol { max-width: var(--wp--style--global--content-size); }
.tc-article__texte iframe, .tc-article__texte video, .tc-article__texte table { max-width: 100%; }
.tc-article__nav { display: flex; align-items: baseline; gap: 0.5rem; }
.tc-article__nav--suivant { justify-content: flex-end; }
.tc-article__nav [class*="__arrow"] { flex: none; }

/* Accueil : sous-titre et offre du moment dans la programmation */
.tc-section--prog .tc-prog__soustitre {
	max-width: var(--wp--style--global--wide-size) !important;
	margin-top: 0.25rem;
	font-family: var(--wp--preset--font-family--affichage);
	font-weight: 400;
	font-size: clamp(2rem, 7vw, 4.25rem);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--wp--preset--color--jaune);
	transform-origin: left center;
	rotate: -2deg;
}
@media (prefers-reduced-motion: no-preference) {
	@supports ((-webkit-background-clip: text) or (background-clip: text)) {
		.tc-section--prog .tc-prog__soustitre {
			background: linear-gradient(100deg, var(--wp--preset--color--jaune) 42%, var(--wp--preset--color--blanc) 50%, var(--wp--preset--color--jaune) 58%) 100% 0 / 250% 100% no-repeat;
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
		}
	}
	.tc-section--prog .tc-prog__soustitre { animation: tc-premiers-battement 2.6s ease-in-out infinite, tc-premiers-reflet 3.9s linear infinite; }
}
@keyframes tc-premiers-battement {
	0%, 100% { scale: 1; rotate: -2deg; }
	50% { scale: 1.04; rotate: 0.5deg; }
}
@keyframes tc-premiers-reflet {
	0% { background-position: 100% 0; }
	60%, 100% { background-position: 0 0; }
}
.tc-section--prog .tc-prog__offre { margin-top: var(--wp--preset--spacing--50); margin-bottom: 0.75rem; }
.tc-section--prog .tc-prog__offre a { display: inline-block; padding: 0.35rem 1rem; border-radius: 999px; background: var(--wp--preset--color--jaune); color: var(--wp--preset--color--noir); font-family: var(--wp--preset--font-family--interface); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.tc-section--prog .tc-prog__offre a::before { content: "🎁 "; }
.tc-section--prog .tc-prog__offre a:hover, .tc-section--prog .tc-prog__offre a:focus-visible { text-decoration: underline; }
.tc-section--prog { overflow-x: clip; } /* le battement de « Les premiers noms » ne crée pas de défilement horizontal */
