/* =========================================================================
   La 7e Oreille : feuille de styles du site
   Charte : Oswald (titres, capitales), rose #dc9c98 (le « O » du logo), noir.
   Chaque spectacle peut avoir sa couleur d'accent (--accent), réglée dans sa fiche.
   ========================================================================= */

:root {
	--ink: #1b1918;
	--ink-2: #3d3a37;
	--muted: #6f6a66;
	--line: #e6e0db;
	--paper: #fbf9f7;
	--paper-2: #f3eee9;
	--white: #fff;
	--rose: #dc9c98;
	--rose-ink: #a4524d;
	--accent: var(--rose);
	--accent-soft: color-mix(in srgb, var(--accent) 16%, var(--paper));
	--f-title: Oswald, "Arial Narrow", sans-serif;
	--f-text: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-text);
	font-size: 1rem;
	line-height: 1.62;
	overflow-wrap: break-word;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 500; text-transform: uppercase; line-height: 1.12; margin: 0 0 .6em; letter-spacing: .01em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0 0 1.1em; }
/* Retours à la ligne soignés : pas de mot isolé en fin de paragraphe (navigateurs récents). */
p, li, dd, dt, figcaption, blockquote, summary { text-wrap: pretty; }
/* Textes courts : lignes équilibrées. */
dd, .card-tagline, .card-facts, .show-tagline, .cast-role, .doc-label, .date-venue, .pl-venue, .section-lead, .page-lead, .footer-brand p, .dates-empty { text-wrap: balance; }
/* « 7e » comme dans le logo : e minuscule en exposant, sans décaler la ligne. */
sup.ord { font-size: .6em; line-height: 0; vertical-align: baseline; position: relative; top: -.62em; margin-left: .04em; text-transform: none; letter-spacing: 0; }
/* Ce qui ne se coupe jamais : boutons, pastilles, numéros de téléphone. */
.btn, .filter, .more, .show-facts li, .date-show, .date-link, .nav-list a, a[href^="tel:"], .nowrap { white-space: nowrap; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.section-gap { margin-top: clamp(56px, 8vw, 110px); }

/* Petits intitulés en capitales */
.eyebrow, .label {
	font-family: var(--f-title);
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: .8rem;
	font-weight: 400;
	color: var(--muted);
	margin: 0 0 1rem;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--ink); }
.eyebrow span { margin: 0 .4em; opacity: .5; }
.label { color: var(--ink-2); display: flex; align-items: center; gap: .7em; }
.label::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }

.section-title { font-size: clamp(1.35rem, 2.3vw, 1.85rem); margin-bottom: clamp(18px, 2.5vw, 30px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.section-lead, .page-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-2); max-width: 46ch; }
.page-lead p:last-child { margin: 0; }

.more {
	font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
	text-decoration: none; display: inline-flex; align-items: center; gap: .6em;
}
.more::after { content: "→"; transition: transform .4s var(--ease); }
.more:hover::after { transform: translateX(5px); }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: .84rem;
	padding: 12px 22px; border-radius: 999px; text-decoration: none;
	background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Sur fond rose : bouton noir, et bouton au trait. */
.site-footer .btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-footer .btn--ink:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-footer .btn--line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.site-footer .btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- En-tête ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	transition: height .45s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled { height: var(--header-h-mini, 64px); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
/* Barre d'administration (Bertrand connecté) : l'en-tête se place dessous. */
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 46px)); }
}
@media (max-width: 600px) {
	.admin-bar .site-header.is-scrolled { top: 0; }
}
.site-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { padding-top: var(--header-h); }

/* Logo en trois calques : le « O » (arc rose, arc noir) se met en place à l'arrivée et s'ouvre au survol. */
.site-logo, .footer-logo { display: block; text-decoration: none; }
.logo-stack { position: relative; display: block; height: 60px; aspect-ratio: 480 / 271; transition: height .45s var(--ease); }
.logo-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-r, .logo-n { transform-origin: 19% 68.6%; transition: transform .8s var(--ease); }
.is-scrolled .logo-stack { height: 44px; }
.site-logo:hover .logo-r, .site-logo:focus-visible .logo-r, .footer-logo:hover .logo-r { transform: rotate(-14deg); }
.site-logo:hover .logo-n, .site-logo:focus-visible .logo-n, .footer-logo:hover .logo-n { transform: rotate(10deg); }
@media (prefers-reduced-motion: no-preference) {
	.site-logo .logo-t { animation: logo-t 1.1s var(--ease) backwards; }
	.site-logo .logo-r { animation: logo-r 1.7s var(--ease) .15s backwards; }
	.site-logo .logo-n { animation: logo-n 1.7s var(--ease) .32s backwards; }
}
@keyframes logo-t { from { opacity: 0; transform: translateX(-8px); } }
@keyframes logo-r { from { opacity: 0; transform: rotate(-80deg); } }
@keyframes logo-n { from { opacity: 0; transform: rotate(80deg); } }

.nav-list { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-list a {
	font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: .86rem;
	text-decoration: none; position: relative; padding: 6px 0;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
/* Petite maison vers l'accueil : seule l'icône sur grand écran, « Accueil » en toutes lettres dans le menu mobile. */
.nav-list { align-items: center; }
.nav-home a { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); transition: color .3s; }
.nav-home a:hover, .nav-home a[aria-current] { color: var(--ink); }
.nav-home svg { display: block; flex: none; width: 18px; height: 18px; }
.nav-home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu-toggle { display: none; }

/* ---------- Pages ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(24px, 3vw, 44px); }
.page-title, .show-title {
	font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 600; line-height: 1; letter-spacing: -.005em; margin: 0 0 .25em;
	text-wrap: balance;
}
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: 40px; }
.page-body:not(.has-visual) .prose:only-child { grid-column: 1 / -1; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1.1em; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.contact-card { background: var(--white); border-top: 3px solid var(--rose); padding: 28px; }
.contact-card .label:not(:first-child) { margin-top: 1.6rem; }
.page-visual { margin: 0; overflow: hidden; border-radius: var(--radius); }

/* ---------- Fiche spectacle ---------- */
.show-hero { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 44px); }
.show-tagline { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--ink-2); max-width: 40ch; margin-bottom: 1.2rem; }
.show-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.show-facts li {
	font-family: var(--f-title); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem;
	border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--white);
}

.show-intro { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.show-visual { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45); }
.parallax { will-change: transform; }
.parallax img { width: 100%; transform: scale(1.08); }
.show-about .prose > p:first-of-type { font-size: 1.08em; line-height: 1.55; color: var(--ink); }
.show-about .prose { color: var(--ink-2); }

.show-band { margin-top: clamp(56px, 7vw, 100px); background: var(--accent-soft); padding-block: clamp(40px, 6vw, 80px); }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.band-col + .band-col { border-left: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); padding-left: clamp(28px, 4vw, 64px); }
.cast li { padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); display: flex; flex-direction: column; }
.cast-name { font-weight: 600; }
.cast-role { color: var(--muted); font-size: .94rem; }
.infos { margin: 0; }
.infos div { padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.infos dt { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--muted); }
.infos dd { margin: 0; }
.contact-lines li { padding: 2px 0; }
.contact-lines .is-name { font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.contact-lines a { text-decoration-color: var(--accent); }
.docs { margin-top: 24px; display: grid; gap: 10px; }
.doc {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; text-decoration: none;
	border: 1px solid var(--ink); border-radius: var(--radius); padding: 12px 16px; background: color-mix(in srgb, var(--white) 70%, transparent);
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
.doc-label { font-weight: 600; }
.doc-label::before { content: "↓"; margin-right: .6em; display: inline-block; transition: transform .35s var(--ease); }
.doc-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.doc:hover { background: var(--ink); color: var(--paper); }
.doc:hover .doc-meta { color: inherit; opacity: .7; }
.doc:hover .doc-label::before { transform: translateY(3px); }

.show-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(64px, 9vw, 130px); align-items: start; }
.show-credits { margin-top: clamp(56px, 7vw, 96px); color: var(--muted); font-size: .92rem; }
.show-credits ul { columns: 2 280px; column-gap: 48px; }
.show-credits li { break-inside: avoid; padding: 2px 0; }
.show-others { margin-top: clamp(72px, 10vw, 140px); background: var(--paper-2); padding-block: clamp(48px, 7vw, 96px); }

/* ---------- Dates ---------- */
.dates-list { margin-bottom: 36px; }
.date-row {
	display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, auto); gap: 6px 20px; align-items: center;
	padding: 16px 12px 16px 0; border-top: 1px solid var(--line); position: relative;
	transition: background-color .35s var(--ease);
}
.date-row:last-child { border-bottom: 1px solid var(--line); }
.date-row::before { content: ""; position: absolute; left: -12px; top: 16px; bottom: 16px; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .4s var(--ease); }
.date-row:hover::before { transform: scaleY(1); }
.dblock { display: flex; flex-direction: column; align-items: center; font-family: var(--f-title); text-transform: uppercase; line-height: 1; }
.dblock-wd, .dblock-month, .dblock-year { font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.dblock-day { font-size: 1.7rem; font-weight: 500; margin: 3px 0; }
.dblock-year { margin-top: 3px; }
.date-main { display: flex; flex-direction: column; min-width: 0; }
.date-show { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.date-show::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.date-place { font-weight: 600; font-size: 1rem; }
.date-venue { color: var(--muted); }
.date-meta { text-align: right; font-size: .9rem; color: var(--ink-2); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.date-link { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; text-decoration: none; border-bottom: 2px solid var(--accent); }
.date-link::after { content: " ↗"; }
.dates-empty { font-size: 1.1rem; color: var(--ink-2); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dates-empty a { margin-left: .4em; }

.past { margin-top: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; margin-bottom: 20px; color: var(--ink-2); }
.stat strong { font-family: var(--f-title); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin-right: .15em; font-variant-numeric: tabular-nums; }

.yearchart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; height: 150px; align-items: end; margin: 8px 0 24px; }
.yc-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-decoration: none; gap: 4px; }
.yc-fill {
	width: 100%; max-width: 34px; height: calc(var(--h) * 100px); min-height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;
	transform-origin: bottom; transform: scaleY(1); transition: transform 1.1s var(--ease), background-color .3s;
}
.js .past:not(.is-in) .yc-fill, .js .yearchart:not(.is-in) .yc-fill { transform: scaleY(0); }
.yc-bar:nth-child(n) .yc-fill { transition-delay: calc(var(--d, 0) * 1ms); }
.yc-n { font-family: var(--f-title); font-size: .78rem; color: var(--ink-2); opacity: 0; transition: opacity .3s; }
.yc-y { font-family: var(--f-title); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.yc-bar:hover .yc-fill, .yc-bar:focus-visible .yc-fill { background: var(--ink); }
.yc-bar:hover .yc-n, .yc-bar:focus-visible .yc-n, .yearchart:not(:hover) .yc-n { opacity: 1; }
.yc-bar.is-empty { pointer-events: none; }

.past-year { border-top: 1px solid var(--line); }
.past-year:last-child { border-bottom: 1px solid var(--line); }
.past-year summary { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; cursor: pointer; list-style: none; }
.past-year summary::-webkit-details-marker { display: none; }
.past-year summary::after { content: "+"; margin-left: auto; font-family: var(--f-title); font-size: 1.3rem; line-height: 1; transition: transform .35s var(--ease); }
.past-year[open] summary::after { transform: rotate(45deg); }
.py-year { font-family: var(--f-title); font-size: 1.1rem; }
.py-count { color: var(--muted); font-size: .9rem; }
.past-year.is-flash summary { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 40% { background: var(--accent-soft); } 100% { background: transparent; } }
.past-list { padding: 0 0 14px; font-size: .92rem; }
.past-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 6px 0; border-top: 1px dotted var(--line); align-items: baseline; }
.past-list time { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
/* Ville puis lieu : le lieu passe entier à la ligne s'il ne tient pas à côté de la ville. */
.pl-main { display: flex; flex-wrap: wrap; column-gap: .7em; min-width: 0; }
.pl-place { font-weight: 600; }
.pl-place, .date-place, .stat, .py-count, .cn-date, .cn-place { white-space: nowrap; }
.pl-venue { color: var(--muted); }
.pl-n { text-align: right; color: var(--muted); font-size: .82rem; }

/* ---------- Photos + vidéos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 10px; }
.mosaic-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4 / 3; }
.mosaic-item.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.mosaic-photo:hover img { transform: scale(1.045); }
.mosaic-video { aspect-ratio: 16 / 9; }
.video-facade { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%); }
.video-play {
	position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .5s var(--ease);
}
.video-play::before { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--ink); }
.video-label { position: absolute; z-index: 1; left: 16px; bottom: 12px; color: #fff; font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.1); }
.video-facade:hover img { transform: scale(1.03); }
.mosaic-video iframe, .video-file { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- Cartes de spectacles ---------- */
.cards { display: grid; gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.cards--feature, .cards--home { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.cards--small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; max-width: 1000px; }
.card { display: flex; flex-direction: column; }
.card-media { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--accent-soft); margin-bottom: 18px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media { text-decoration: none; color: var(--ink); }
.card-noimg { position: relative; height: 100%; display: grid; place-items: center; font-family: var(--f-title); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; padding: 20px; text-align: center; text-wrap: balance; }
.card-noimg svg { position: absolute; left: 50%; top: 50%; width: 72%; transform: translate(-50%, -50%); overflow: visible; transition: transform 1.2s var(--ease); }
.card-noimg path { fill: none; stroke-width: 8; stroke-linecap: round; }
.card-noimg .noimg-a { stroke: var(--accent); }
.card-noimg .noimg-b { stroke: var(--ink); }
.card-noimg > span { position: relative; max-width: 60%; }
.card:hover .card-noimg svg { transform: translate(-50%, -50%) rotate(-6deg); }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { margin-bottom: .4rem; color: var(--rose-ink); }
.card-title { font-size: clamp(1.2rem, 1.7vw, 1.45rem); margin-bottom: .3em; }
.card--small .card-title { font-size: 1.05rem; }
.card-title a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.card:hover .card-title a { background-size: 100% 2px; }
.card-tagline { color: var(--ink-2); margin-bottom: .5em; }
.card-facts { font-size: .88rem; color: var(--muted); margin-bottom: 1em; }
.card-media { position: relative; }
.card-badge { position: absolute; left: 10px; top: 10px; padding: 5px 11px 4px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--f-title); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; line-height: 1.2; }
.card-tour { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.card-tour p { margin: 0; }
.card-next { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.38; }
.card-next .label { display: block; margin: 0 0 4px; font-size: .68rem; }
.card-next .label::before { display: none; }
.cn-date { font-weight: 500; }
.cn-place { color: var(--ink-2); }
.cn-more { color: var(--muted); font-size: .88em; }
.card-next.is-empty .cn-date { color: var(--muted); font-weight: 400; }
.card-next.is-empty a.cn-place { width: fit-content; color: var(--rose-ink); text-decoration-color: color-mix(in srgb, var(--rose-ink) 40%, transparent); }
.card-next.is-empty a.cn-place:hover { text-decoration-color: currentColor; }
.card-count { display: flex; flex-direction: column; gap: 8px; font-size: .84rem; line-height: 1.3; color: var(--ink-2); margin: 0; }
.card-count strong { font-family: var(--f-title); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.card-count .spark { display: flex; width: 100%; height: 24px; }
.card-count .spark span { flex: 1; max-width: 9px; }
/* Grille alignée : visuel, titre, accroche, infos, dates, chiffres sur les mêmes lignes d'une carte à l'autre. */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 561px) {
		.cards--home, .cards--feature { row-gap: 0; }
		.card--feature { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; padding-bottom: clamp(36px, 5vw, 64px); }
		.card--feature .card-body { display: contents; }
		.card--feature .card-media { grid-row: 1; }
		.card--feature .card-title { grid-row: 2; }
		.card--feature .card-tagline { grid-row: 3; }
		.card--feature .card-facts { grid-row: 4; }
		.card--feature .card-tour { grid-row: 5 / span 2; grid-template-rows: subgrid; row-gap: 14px; margin-top: 0; }
		.card--feature .card-next { grid-row: 1; }
		.card--feature .card-count { grid-row: 2; }
	}
}
.card-more { position: absolute; left: -9999px; }
.card--small .card-count { margin-top: auto; }

.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 28px; }
.spark span { width: 7px; height: calc(var(--h) * 100%); min-height: 1px; background: var(--accent); border-radius: 1px; }

/* ---------- Accueil ---------- */
.home-hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(calc(100svh - var(--header-h) - 96px), 640px); }
.home-title { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 500; line-height: 1; max-width: 15ch; margin-bottom: .5em; text-wrap: balance; }
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figures { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3.5vw, 48px); margin-top: clamp(32px, 4vw, 52px); padding-top: 20px; border-top: 1px solid var(--line); max-width: 560px; color: var(--ink-2); font-size: .88rem; line-height: 1.35; }
.hero-figures li { display: flex; flex-direction: column; max-width: 15ch; }
.hero-figures strong { font-family: var(--f-title); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Le « O » du logo encadre les photos des spectacles : arc rose à gauche, arc noir décalé (l'oreille). */
.stage { justify-self: center; width: min(100%, 470px); }
.stage-o { position: relative; aspect-ratio: 200 / 240; }
.stage-frame { position: absolute; left: 17%; top: 13.3%; width: 66%; height: 73.4%; border-radius: 50%; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); translate: 0 0; transition: opacity 1.4s var(--ease), transform 9s linear, translate .7s var(--ease); -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.stage-img.is-on { opacity: 1; transform: scale(1); }
/* Au doigt : la photo suit le glissement horizontal et le « O » tourne un peu ; le défilement vertical reste libre. */
.stage-o, .stage-caps { touch-action: pan-y; }
.stage.is-dragging .stage-img { transition: opacity 1.4s var(--ease), transform 9s linear, translate 0s; }
.stage.is-dragging .stage-arc svg { transform: rotate(var(--spin, 0deg)); transition-duration: .2s; }
.stage-arc { position: absolute; inset: 0; pointer-events: none; }
.stage-arc svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; transition: transform 1.2s var(--ease); }
.stage-arc path { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1 2; }
.stage .arc-rose, .about-ovals .arc-rose { stroke: var(--rose); }
.stage .arc-ink, .about-ovals .arc-ink { stroke: var(--ink); }
@media (hover: hover) {
	.stage-o:hover .stage-arc:first-of-type svg { transform: rotate(-5deg); }
	.stage-o:hover .stage-arc:last-of-type svg { transform: rotate(7deg) translateX(2%); }
}
.stage-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 6px 6% 0 12%; }
.stage-caps { display: grid; flex: 1; min-width: 0; }
.stage-cap { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 4px; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.stage-cap.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .3s, .3s, 0s; }
.stage-title { font-family: var(--f-title); text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; letter-spacing: .01em; text-wrap: balance; }
.stage-title::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 8px; background: var(--accent); border-radius: 2px; transition: width .5s var(--ease); }
.stage-cap:hover .stage-title::after, .stage-cap:focus-visible .stage-title::after { width: 56px; }
.stage-next { font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.stage-next .label { display: block; margin: 0 0 1px; font-size: .7rem; letter-spacing: .14em; }
.sn-place { display: block; }
.stage-nav { display: flex; align-items: center; gap: 6px; padding-top: 6px; }
html:not(.js) .stage-nav { display: none; }
.stage-dot { position: relative; width: 22px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.stage-dot::before, .stage-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.stage-dot::after { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.stage-dot[aria-current="true"]::after { transform: scaleX(1); }
.stage.is-auto .stage-dot[aria-current="true"]::after { animation: stage-progress var(--stage-delay, 6s) linear; }
.stage.is-auto.is-held .stage-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes stage-progress { from { transform: scaleX(0); } }
.stage-pause { position: relative; width: 24px; height: 24px; margin-left: 4px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.stage-pause::before { content: ""; position: absolute; inset: 0; margin: auto; width: 6px; height: 8px; border-inline: 2px solid var(--ink); box-sizing: border-box; }
.stage-pause[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 7px solid var(--ink); border-block: 4.5px solid transparent; margin-left: 9px; }
.stage-pause:hover { border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
	/* Les arcs se tracent, puis le rideau se lève sur la première photo. */
	.stage .arc-rose { animation: arc-in 1.9s var(--ease) .15s backwards; }
	.stage .arc-ink { animation: arc-in 1.6s var(--ease) .55s backwards; }
	.stage-frame { animation: curtain 1.5s var(--ease) .35s backwards; }
}
@keyframes arc-in { from { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 1; } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

.home-dates { background: var(--paper-2); padding-block: clamp(56px, 8vw, 110px); }
.home-dates-grid { display: block; }
/* Prochaines dates sur deux colonnes, dans l'ordre chronologique de haut en bas. */
@media (min-width: 1000px) {
	.home-dates .dates-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 3), auto); grid-auto-flow: column; column-gap: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line); }
	.home-dates .date-row:last-child { border-bottom: 0; }
}
/* Case « chez vous ? » : même gabarit qu'une date, le « O » du logo à la place du jour. */
.date-fill-o { display: grid; place-items: center; }
.date-fill-o svg { width: 30px; height: 36px; overflow: visible; transition: transform .6s var(--ease); }
.date-fill-o path { fill: none; stroke-width: 20; stroke-linecap: round; }
.date-fill-o path:first-child { stroke: var(--rose); }
.date-fill-o path:last-child { stroke: var(--ink); }
.date-fill:hover .date-fill-o svg { transform: rotate(-12deg); }
.date-link--in::after { content: " →"; }

/* « Ils nous ont accueillis » : toutes les villes, comme les lumières d'une carte de tournée. */
.home-places { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.places-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.places-head .eyebrow { grid-column: 1 / -1; color: color-mix(in srgb, var(--paper) 62%, transparent); margin: 0; }
.places-title { display: flex; flex-wrap: wrap; gap: 0 .5em; margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.05; }
.places-title strong { font-weight: 500; color: var(--rose); font-variant-numeric: tabular-nums; }
.places-lead { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: .95rem; }
.places-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .15em .95em; font-family: var(--f-title); text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; text-align: center; }
.places-wall li { cursor: default; transition: color .3s var(--ease); }
.places-wall .pw1 { font-size: .86rem; color: color-mix(in srgb, var(--paper) 46%, transparent); }
.places-wall .pw2 { font-size: 1.05rem; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.places-wall .pw3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--paper); }
.places-wall .pw4 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--rose); }
.places-wall li:hover { color: var(--paper); text-shadow: 0 0 18px color-mix(in srgb, var(--rose) 70%, transparent); }
/* Les villes s'allument une à une à l'arrivée sur la section. */
.js .places-wall li { opacity: 0; transition: opacity .7s var(--ease), color .3s var(--ease); transition-delay: calc(var(--d) * 1ms), 0s; }
.js .places-wall.is-in li { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .places-wall li { opacity: 1; transition: none; } }
/* « Créer, produire, faire tourner » : titre à gauche, texte de la page d'accueil à droite. */
.home-about { padding-block: clamp(64px, 9vw, 120px); }
.home-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 7vw, 120px); align-items: start; padding-top: 28px; border-top: 1px solid var(--line); position: relative; }
.home-about-grid::before { content: ""; position: absolute; left: 0; top: -1px; width: 64px; height: 3px; background: var(--rose); }
.home-about-head .section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.02; max-width: 12ch; margin: 0; }
.home-about .prose { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.6; max-width: 56ch; }
.home-about .prose > :last-child { margin-bottom: 0; }
.home-about-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 0; }

/* ---------- Agenda ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 5vw, 56px); }
.filter {
	border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; cursor: pointer;
	font-family: var(--f-title); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; display: inline-flex; align-items: center; gap: .6em;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter[data-filter=""]::before { display: none; }
.filter::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.month-title { font-size: 1rem; letter-spacing: .14em; color: var(--muted); margin: 32px 0 6px; }
.month:first-of-type .month-title { margin-top: 0; }
.agenda-past { background: var(--paper-2); padding-block: clamp(56px, 8vw, 110px); }
.tour-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 8px 0 clamp(40px, 6vw, 72px); }
.tour-card { background: var(--white); padding: 20px 22px 18px; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); }
.tour-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.tour-card h3 a { text-decoration: none; }
.tour-num { margin: 0 0 10px; }
.tour-num strong { font-family: var(--f-title); font-size: 1.8rem; font-weight: 500; }
.tour-card .spark { height: 40px; }
.tour-card .spark span { width: 8px; }
.is-filtered-out { display: none !important; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: clamp(80px, 11vw, 150px); background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer.has-cta { padding-top: 0; }
.has-accent .site-footer, .post-type-archive-spectacle .site-footer, .page-template-agenda .site-footer, .home .site-footer { margin-top: 0; }
/* Bandeau rose « Programmer un spectacle » : le contact de diffusion, en grand. */
.footer-cta { position: relative; overflow: hidden; background: var(--rose); color: var(--ink); padding-block: clamp(44px, 6vw, 76px); margin-bottom: clamp(56px, 7vw, 88px); }
.footer-cta-o { position: absolute; right: clamp(-40px, 2vw, 64px); top: 50%; width: clamp(150px, 17vw, 230px); transform: translateY(-50%) rotate(-10deg); overflow: visible; pointer-events: none; }
.footer-cta-o path { fill: none; stroke-width: 9; stroke-linecap: round; }
.footer-cta-o path:first-child { stroke: var(--paper); opacity: .55; }
.footer-cta-o path:last-child { stroke: var(--ink); opacity: .85; }
.footer-cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; padding-right: clamp(0px, 16vw, 240px); }
.footer-cta .eyebrow { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.footer-cta-title { font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: .35em; }
.footer-cta-lead { margin: 0; max-width: 40ch; color: var(--ink-2); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- Page « La 7e Oreille » ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-text > p:first-child { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.about-text h2 { margin-top: 2.2em; }
.about-text ul { background: var(--white); border-top: 3px solid var(--rose); padding: 22px 26px; }
.about-text ul li { list-style: none; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.about-text ul li:last-child { border-bottom: 0; }
.about-ovals { position: relative; margin: 0; aspect-ratio: 1 / 1.08; }
.about-main { position: absolute; left: 0; top: 0; width: 74%; }
.about-oval { position: absolute; border-radius: 50%; overflow: hidden; aspect-ratio: 200 / 240; box-shadow: 0 0 0 8px var(--paper); background: var(--paper-2); }
.about-oval img { width: 100%; height: 100%; object-fit: cover; }
.about-oval--1 { right: 0; top: 34%; width: 36%; }
.about-oval--2 { left: 34%; bottom: 0; width: 28%; }
.about-figures { background: var(--paper-2); padding-block: clamp(44px, 6vw, 72px); }
.about-figures ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 48px); }
.about-figures li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--rose); padding-top: 14px; color: var(--ink-2); font-size: .92rem; line-height: 1.35; }
.about-figures strong { font-family: var(--f-title); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Formulaire de contact ---------- */
@media (min-width: 861px) { .contact-card { position: sticky; top: calc(var(--header-h-mini, 64px) + 24px); } }
.contact-form-wrap { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.contact-form-wrap .section-title { margin-bottom: 1.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.field label { font-size: .86rem; font-weight: 500; }
.field .req { color: var(--rose-ink); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
	border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: var(--radius); padding: 11px 13px; line-height: 1.4;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 45%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--rose-ink); }
.field-error { font-size: .84rem; color: var(--rose-ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.form-note { flex: 1 1 260px; margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.form-errors, .form-ok { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.form-errors { background: color-mix(in srgb, var(--rose) 18%, var(--paper)); border-left: 3px solid var(--rose-ink); }
.form-errors p, .form-ok p { margin: 0 0 .3em; }
.form-errors ul { margin: 6px 0 0; padding-left: 1.1em; list-style: disc; font-size: .92rem; }
.form-ok { background: var(--white); border-left: 3px solid var(--rose); }
.form-ok:focus, .form-errors:focus { outline: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .8fr; gap: 40px; }
.footer-logo .logo-stack { height: 72px; }
.footer-brand p { color: color-mix(in srgb, var(--paper) 70%, transparent); max-width: 32ch; margin-top: 16px; }
.site-footer .label { color: var(--paper); }
.site-footer .label::before { background: var(--rose); }
.site-footer a { color: var(--paper); text-decoration-color: var(--rose); }
.footer-links li, .footer-shows li { padding: 2px 0; }
.footer-shows a { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; }
.footer-shows a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; transition: transform .4s var(--ease); }
.footer-shows a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer-shows a:hover::before { transform: scale(1.5); }
.footer-shows .is-more a { color: color-mix(in srgb, var(--paper) 62%, transparent); }
.footer-shows .is-more a::before { background: none; border: 1px solid currentColor; }
.footer-address { margin-top: 14px; color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: .92rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); font-size: .82rem; color: color-mix(in srgb, var(--paper) 62%, transparent); }
.footer-legal p { margin: 0; }
.footer-menu { display: flex; gap: 20px; }

/* ---------- Visionneuse photo ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12, 11, 10, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: lb-in .35s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox figcaption { font-size: .85rem; opacity: .75; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; height: 100%; opacity: .7; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lb-close { position: absolute; top: 12px; right: 18px; height: auto !important; }

/* ---------- Apparitions et mouvements (doux, coupés si l'utilisateur le demande) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.parallax img { transform: none; }
	@view-transition { navigation: none; }
}

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	:root { --header-h: 70px; --header-h-mini: 58px; }
	.site-logo .logo-stack { height: 48px; }
	.is-scrolled .site-logo .logo-stack { height: 40px; }
	.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; z-index: 2; }
	.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .2s; }
	.menu-toggle-lines { position: relative; }
	.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
	.menu-toggle-lines::before { top: -7px; }
	.menu-toggle-lines::after { top: 7px; }
	.menu-open .menu-toggle-lines { background: transparent; }
	.menu-open .menu-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }
	.site-nav {
		position: fixed; inset: 0; background: var(--paper); display: grid; place-items: center;
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.menu-open .site-nav { opacity: 1; visibility: visible; }
	.menu-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: center; gap: 22px; }
	.nav-list a { font-size: 1.6rem; letter-spacing: .06em; }
	.nav-home svg { width: 24px; height: 24px; }
	.nav-home-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }

	.show-intro, .show-bottom, .home-dates-grid, .page-body { grid-template-columns: minmax(0, 1fr); }
	.show-visual { position: relative; top: 0; max-width: 340px; }
	.band-grid { grid-template-columns: minmax(0, 1fr); }
	.band-col + .band-col { border-left: 0; padding-left: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); padding-top: 28px; }
	.home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; }
	.stage { justify-self: center; width: min(100%, 380px); }
	.home-about-grid, .footer-cta-grid, .places-head, .about-intro { grid-template-columns: minmax(0, 1fr); }
	.about-ovals { width: min(100%, 420px); justify-self: center; }
	.about-figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-cta-grid { padding-right: 0; }
	.footer-cta-o { right: -90px; top: 0; transform: rotate(-10deg); opacity: .6; }
}

@media (max-width: 560px) {
	body { font-size: 1rem; }
	.date-row { grid-template-columns: 58px minmax(0, 1fr); }
	.date-meta { grid-column: 2; text-align: left; align-items: flex-start; }
	.dblock-day { font-size: 1.5rem; }
	/* Spectacles à l'affiche : liste, affiche à gauche et texte à droite. */
	.cards--feature, .cards--home { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.card--feature { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 0 16px; align-items: start; }
	.card--feature .card-media { margin-bottom: 0; }
	.card--feature .card-noimg { font-size: .74rem; padding: 8px; }
	.card--feature .card-tour { padding-top: 10px; }
	.card--feature .card-next .label { margin-bottom: 2px; }
	.card--feature .card-badge { left: 6px; top: 6px; padding: 4px 8px 3px; font-size: .58rem; letter-spacing: .1em; }
	.card--feature .card-count { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.card--feature .card-count .spark { width: auto; flex: 0 1 45%; justify-content: flex-end; }
	.cards--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.past-list li { grid-template-columns: 52px minmax(0, 1fr); }
	.pl-n { grid-column: 2; text-align: left; }
	.pl-n:empty { display: none; }
	.yearchart { height: 120px; gap: 2px; }
	.yc-y { font-size: .62rem; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.mosaic { grid-template-columns: minmax(0, 1fr); }
	.mosaic-item.is-wide { grid-column: auto; }
	.hero-figures { gap: 12px 22px; font-size: .8rem; }
	.hero-figures li { max-width: 12ch; }
	.stage { width: min(100%, 330px); }
	.stage-foot { margin-inline: 8% 4%; }
	/* Pied de page centré sur téléphone. */
	.footer-cta-o { width: 120px; top: -74px; bottom: auto; right: -48px; opacity: .5; }
	.footer-cta-grid, .site-footer .footer-grid { text-align: center; }
	.footer-cta-lead, .footer-brand p { margin-inline: auto; }
	.footer-cta-actions { justify-content: center; }
	.footer-grid { gap: 44px; }
	.footer-logo { width: fit-content; margin-inline: auto; }
	.site-footer .label { justify-content: center; }
	.site-footer .label::after { content: ""; width: 22px; height: 2px; background: var(--rose); flex: none; }
	.footer-legal { flex-direction: column; align-items: center; text-align: center; margin-top: 48px; }
	.footer-menu { justify-content: center; }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.places-wall { gap: .1em .7em; }
	.places-wall .pw1 { font-size: .78rem; }
	.places-wall .pw2 { font-size: .92rem; }
}

/* Très petits écrans : les noms de villes longs peuvent passer à la ligne. */
@media (max-width: 380px) {
	.pl-place, .date-place, .cn-place { white-space: normal; }
	.card--feature { grid-template-columns: 96px minmax(0, 1fr); gap: 0 14px; }
}
