/*
Theme Name: Koa Jazz
Theme URI: https://koajazzfestival.com
Author: Philippe Gautier (FONK)
Author URI: https://philippegautier.fr
Description: Thème bloc du Koa Jazz Festival : programme en index et vue semaine, fiches concert, billetterie, lieux, rendez-vous. Concerts, lieux et rendez-vous se gèrent depuis l'administration ; la page d'accueil se modifie dans l'éditeur de site.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koajazz
Tags: block-theme, full-site-editing, one-column, custom-colors, editor-style
*/

/* =========================================================
   Variables (les couleurs reprennent la palette de theme.json)
   ========================================================= */
:root {
	--red: #ac1c22;
	--red-dark: #8c151b;
	--yellow: #ebc81b;
	--cyan: #5bb8c9;
	--pink: #e5336b;
	--ink: #170506;
	--cream: #f6eee2;
	--white: #fff;
	--line: rgba(23, 5, 6, .14);
	--line-inv: rgba(255, 255, 255, .18);

	--display: "Goia Display", ui-serif, Georgia, serif;
	--sans: Archivo, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(16px, 3.4vw, 48px);
	--wrap: 1440px;
	--ease: cubic-bezier(.2, .75, .15, 1);
	--header-h: 72px;
	--admin-h: 0px;
}
body.admin-bar { --admin-h: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-h: 46px; } }

/* =========================================================
   Base et neutralisation des marges automatiques de WordPress
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-h)); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
sup { line-height: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wp-site-blocks { padding: 0; }
body .wp-site-blocks > *,
body main.kj-main > *,
body .kj-main .wrap.is-layout-flow > *,
body .foot .wrap.is-layout-flow > *,
body .sec-head > *,
body .foot-top > *,
body .foot-cols > *,
body .foot-cols > * > *,
body .foot-bottom > *,
body .foot-partners > *,
body .foot-partners-head > *,
body .social > *,
body .engage-grid > *,
body .engage-item > *,
body .festival-grid > *,
body .festival-text > *,
body .edito-cols > *,
body .edito-sign > *,
body .team > *,
body .move > *,
body .move-card > *,
body .top-inner > *,
body .si > * { margin-block: 0; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* Grain papier / sérigraphie */
.grain {
	position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Typo
   Goia dessine le H en « И » par défaut (comme sur le flyer) : gardé pour les noms
   d'artistes, H classique (ss03) partout ailleurs. ss02 changerait aussi le n en « п ».
   Le fichier est une instance figée Black droite : la Goia variable a des axes non standard
   (graisse 0–100, pente 0–100) qui basculent en italique sur iPhone.
   ========================================================= */
.mega, .festival-title, .edito-big, .billet-claim, .town h3, .ticket h3, .outline, .move-card h3,
.news-title, .kj-page-title, .edito-name, .si-text > p:first-child, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-feature-settings: "ss03"; }

.mega { font: 800 clamp(46px, 7vw, 120px)/.88 var(--display); letter-spacing: -.035em; color: #fff; }
.mega--ink { color: var(--ink); }
.mega--red { color: var(--red); }
.mega--white { color: #fff; }
.mega sup { font: 800 .2em/1 var(--sans); font-stretch: 62%; letter-spacing: 0; color: var(--yellow); vertical-align: top; position: relative; top: .55em; margin-left: .12em; }
.label { font: 600 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .22em; margin: 0 0 16px; }
.label--yellow { color: var(--yellow); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 72px) !important; }
.sec-lead { max-width: 34ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; margin-bottom: .6em !important; }

/* =========================================================
   Pastilles et boutons
   ========================================================= */
.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 700 15px/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer;
	padding: 14px 20px; border-radius: 999px; border: 1.5px solid transparent; background: none;
	transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-2px); }
.pill .ico { transition: transform .25s var(--ease); }
.pill:hover .ico { transform: translateX(3px); }
.pill--red { background: var(--red); color: #fff; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--yellow { background: var(--yellow); color: var(--ink); }
.pill--line { border-color: currentColor; }
.pill--lg { padding: 18px 26px; font-size: 17px; }
.link { background: none; border: 0; padding: 0; color: var(--yellow); font-weight: 700; text-decoration: underline; cursor: pointer; }
.tag {
	display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
	font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .14em;
	padding: 7px 10px; border-radius: 999px; border: 1.5px solid currentColor;
}
.tag--live { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .2; } }

/* Styles de bouton proposés dans l'éditeur (Pastille jaune / rouge / noire / contour) */
.wp-block-button[class*="is-style-pill-"] .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .5em; padding: 14px 22px; border-radius: 999px;
	border: 1.5px solid transparent; font: 700 15px/1 var(--sans); text-decoration: none;
	transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.wp-block-button[class*="is-style-pill-"] .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-pill-yellow .wp-block-button__link { background: var(--yellow); color: var(--ink); }
.wp-block-button.is-style-pill-red .wp-block-button__link { background: var(--red); color: #fff; }
.wp-block-button.is-style-pill-ink .wp-block-button__link { background: var(--ink); color: #fff; }
.wp-block-button.is-style-pill-line .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }

/* =========================================================
   Menu du haut (bloc Navigation de WordPress)
   ========================================================= */
.top { position: fixed; top: var(--admin-h); left: 0; right: 0; z-index: 80; height: var(--header-h); color: #fff; transition: background-color .3s, box-shadow .3s; }
.top.is-solid,
body:not(.home) .top { background: rgba(23, 5, 6, .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
/* Le flou crée un cadre qui enfermerait le menu plein écran : on le retire quand le menu est ouvert. */
.top:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
.top-inner { display: flex; align-items: center; gap: 20px; height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.top-logo { flex: none; display: block; line-height: 0; }
.top-logo img { height: 44px; width: auto; max-width: none; }
.top .top-nav { margin-left: auto; gap: 2px; }
.top .wp-block-navigation-item__content { display: block; padding: 10px 15px !important; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s; }
.top .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .14); }
.top .wp-block-navigation-item__content.is-active { background: #fff; color: var(--ink); }
.top-cta { flex: none; }
.top-cta .wp-block-button__link { padding: 12px 18px !important; }

/* Bouton menu (mobile) et menu plein écran */
.top .wp-block-navigation__responsive-container-open {
	width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14);
	align-items: center; justify-content: center; color: #fff;
}
.top .wp-block-navigation__responsive-container.is-menu-open {
	top: calc(var(--admin-h) + var(--header-h)); padding: 32px var(--gutter) 40px;
	background: var(--red) url("assets/img/motif-red.svg") 0 0 / 900px !important; color: #fff !important;
}
.top .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 0; }
.top .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; align-items: flex-start; }
.top .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 4px 0 !important; border-radius: 0; background: none;
	font: 800 clamp(40px, 11vw, 64px)/1.12 var(--display) !important; text-transform: lowercase;
}
.top .wp-block-navigation__responsive-container-close { top: 8px; right: 0; color: #fff; }

/* =========================================================
   Ouverture
   ========================================================= */
@keyframes rise { from { transform: translateY(26px); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
/* --overlap : hauteur des panneaux qui remonte sur le rouge ; --cta-gap : air entre les boutons et les panneaux */
.hero { --overlap: clamp(150px, 15vw, 200px); --cta-gap: clamp(44px, 4.5vw, 72px); }
.hero-red { padding: calc(var(--header-h) + var(--admin-h) + clamp(20px, 3.4vw, 48px)) 0 calc(var(--overlap) + var(--cta-gap)); background: var(--red) url("assets/img/motif-red.svg") 0 0 / 1000px; color: #fff; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.hero-visual { flex: 0 1 auto; margin: -2% 0 0 -2%; animation: rise .9s var(--ease) both; }
.hero-visual img { display: block; height: clamp(300px, 48vh, 520px); width: auto; max-width: 100%; object-fit: contain; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 26px 40px rgba(23, 5, 6, .3)); }
.hero-side { display: flex; flex-direction: column; align-items: flex-start; animation: rise .9s .12s var(--ease) both; }
.hero-side > * { margin-block: 0; }
.hero-dates { font: 800 clamp(56px, 6.6vw, 116px)/.88 var(--display); letter-spacing: -.03em; color: var(--yellow); white-space: nowrap; }
.hero-where { margin-top: 14px !important; font: 600 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .2em; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px !important; padding: 0; }
.hero-facts li { padding: 8px 14px; border-radius: 999px; background: rgba(23, 5, 6, .3); font-size: 14px; font-weight: 600; }
.hero-facts b { margin-right: 5px; font: 800 17px/1 var(--display); color: var(--yellow); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.hero-ctas .pill--line { color: #fff; }
.hero-ctas .pill--line:hover { background: #fff; color: var(--red); border-color: #fff; }

.hero-strip { display: flow-root; background: var(--ink); padding-bottom: 120px; }
.panels { display: flex; gap: 8px; height: clamp(360px, 46vh, 460px); margin-top: calc(-1 * var(--overlap)); }
.panel {
	position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px;
	background: var(--c); color: #fff; text-decoration: none;
	transition: flex-grow .7s var(--ease);
	animation: rise .8s var(--ease) both; animation-delay: calc(.25s + var(--i) * 60ms);
}
.panel.is-open { flex-grow: 6; }
.panel .duo { position: absolute; inset: 0; }
.panel .ph { background: #2a0b0d url("assets/img/motif-red.svg") 0 0 / 500px; }
.panel .duo img { transition: filter .7s, mix-blend-mode .7s; }
.panel.is-open .duo img { filter: none; mix-blend-mode: normal; }
.panel::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(23, 5, 6, .85)); pointer-events: none; }
.panel-day { position: absolute; z-index: 2; top: 10px; left: 10px; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 999px; background: var(--c); color: var(--on); font: 800 22px/1 var(--display); }
.panel-v { position: absolute; z-index: 2; left: 50%; bottom: 18px; max-height: calc(100% - 90px); overflow: hidden; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font: 800 20px/1 var(--display); text-transform: uppercase; transition: opacity .3s; }
.panel.is-open .panel-v { opacity: 0; }
.panel-h { position: absolute; z-index: 2; left: 0; bottom: 0; width: max(100%, 360px); padding: 24px; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .5s var(--ease); }
.panel.is-open .panel-h { opacity: 1; transform: none; transition-delay: .25s; }
.panel-meta { display: block; margin-bottom: 8px; font: 600 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; }
.panel-name { display: block; font: 800 clamp(28px, 2.8vw, 48px)/.9 var(--display); text-transform: uppercase; }
.panel-name em { font-style: normal; color: var(--ct); }
.kj-empty-admin { padding: 24px; border: 1.5px dashed var(--line-inv); border-radius: 18px; color: rgba(255, 255, 255, .8); }

/* Bandes croisées */
.tapes { position: relative; z-index: 6; height: 0; }
.tape { position: absolute; left: -6vw; width: 112vw; padding: 15px 0; overflow: hidden; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.tape--yellow { top: -70px; background: var(--yellow); color: var(--ink); transform: rotate(-3deg); }
.tape--cyan { top: -22px; background: var(--cyan); color: var(--ink); transform: rotate(2deg); }
.tape-track { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape-track--rev { animation-direction: reverse; animation-duration: 90s; }
.tape-track > div { display: flex; align-items: center; }
.tape span { font: 800 clamp(18px, 2vw, 28px)/1 var(--display); text-transform: uppercase; padding: 0 20px; white-space: nowrap; }
.tape i { font-style: normal; font-size: 22px; color: var(--red); }
@keyframes tape { to { transform: translateX(-50%); } }

/* =========================================================
   Programme
   ========================================================= */
.prog { position: relative; background: var(--ink); color: #fff; padding: clamp(150px, 16vw, 220px) 0 clamp(90px, 10vw, 150px); }
.kj-archive .prog { padding-top: calc(var(--header-h) + var(--admin-h) + clamp(40px, 6vw, 90px)); }
.prog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.prog-head > * { margin: 0; }
.prog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line-inv); }
.seg button, .filter { cursor: pointer; border: 0; background: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.filters { display: flex; gap: 8px; }
.filter { border: 1.5px solid var(--line-inv); }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.index { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-inv); }
.iday { display: grid; grid-template-columns: clamp(104px, 11vw, 184px) minmax(0, 1fr); border-bottom: 1px solid var(--line-inv); }
.iday[hidden] { display: none; }
.iday-date { position: sticky; top: calc(var(--header-h) + var(--admin-h)); align-self: start; padding: 24px 0; color: var(--ct); }
/* « mardi 3 » : le jour puis le chiffre, tout en Goia, à la couleur du jour. */
.iday-dow { display: block; font: 800 clamp(20px, 1.8vw, 30px)/1 var(--display); letter-spacing: -.01em; }
.iday-num { display: block; margin-top: 6px; font: 800 clamp(60px, 7vw, 116px)/.8 var(--display); letter-spacing: -.04em; }
.iday-num sup { position: relative; top: .3em; margin-left: .04em; font-size: .36em; line-height: 0; vertical-align: top; letter-spacing: 0; }
.iday-rows { list-style: none; margin: 0; padding: 0; }
.irow {
	position: relative; display: grid; align-items: center; gap: 12px 24px;
	grid-template-columns: 78px minmax(0, 1fr) minmax(150px, 220px) 124px 52px;
	padding: 26px 20px; border-top: 1px solid var(--line-inv); cursor: pointer;
	isolation: isolate; transition: color .3s;
}
.irow:first-child { border-top: 0; }
.irow[hidden] { display: none; }
.irow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.irow:hover, .irow:focus-within { color: var(--on); }
.irow:hover::before, .irow:focus-within::before { transform: scaleY(1); }
.irow p, .irow h3 { margin: 0; }
.irow-time { font: 800 30px/1 var(--sans); font-stretch: 62%; }
.irow-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px !important; font: 600 11px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .22em; opacity: .75; }
.irow-name { font: 800 clamp(30px, 4.6vw, 80px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.01em; transition: transform .5s var(--ease); }
.irow-name a { text-decoration: none; }
/* Flèche après le nom : on voit tout de suite que la ligne mène à la fiche du concert. */
.irow-name .ico { width: .6em; height: .6em; vertical-align: -.02em; color: var(--ct); stroke-width: 3.2; transition: transform .3s var(--ease), color .3s; }
.irow:hover .irow-name .ico, .irow:focus-within .irow-name .ico { color: inherit; transform: translateX(6px); }
.irow-name em { font-style: normal; color: var(--ct); transition: color .3s; }
.irow:hover .irow-name { transform: translateX(14px); }
.irow:hover .irow-name em, .irow:focus-within .irow-name em { color: inherit; }
.irow-main { overflow: hidden; padding-block: 2px; }
.irow-where { font-size: 14px; line-height: 1.35; }
.irow-where b { display: block; font-size: 16px; }
.irow-price { font: 800 24px/1 var(--sans); font-stretch: 62%; text-align: right; }
.irow-price small { display: block; font: 600 10px/1.3 var(--sans); font-stretch: 100%; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-top: 4px; }
.irow-book { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.irow-book:hover { transform: rotate(-12deg) scale(1.08); }
.irow-book .ico { width: 22px; height: 22px; }
.irow:hover .irow-book { background: var(--ink); color: #fff; }
.irow-free { justify-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .18em; opacity: .7; }
.irow.is-past { opacity: .4; }
.inote { margin: 0; padding: 18px 20px; border-top: 1px solid var(--line-inv); font-size: 15px; color: rgba(255, 255, 255, .75); }
.inote strong { color: var(--ct); font-weight: 700; }

.peek { position: fixed; left: 0; top: 0; z-index: 70; width: clamp(200px, 17vw, 280px); pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.peek.is-on { opacity: 1; }
.peek-img { aspect-ratio: 4 / 5; border: 6px solid #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.peek-label { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }

/* Duotone : la photo prend la couleur du jour */
.duo { position: relative; display: block; background: var(--c, var(--red)); overflow: hidden; }
.duo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(1.08); mix-blend-mode: multiply; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; background: var(--red) url("assets/img/motif-red.svg") 0 0 / 500px; color: #fff; font: 800 28px/.95 var(--display); text-transform: uppercase; }

/* Vue semaine */
.week { margin-top: clamp(40px, 5vw, 72px); overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; }
.week[hidden] { display: none; }
.wk { display: grid; grid-template-columns: 52px repeat(var(--days, 8), minmax(128px, 1fr)); min-width: calc(52px + var(--days, 8) * 128px); }
.wk-head { padding: 0 8px 16px; color: var(--ct); border-left: 1px solid var(--line-inv); }
.wk-head span { display: block; margin-bottom: 4px; font: 800 18px/1 var(--display); }
.wk-head b { font: 800 50px/.85 var(--display); letter-spacing: -.04em; }
.wk-head.is-today { background: rgba(235, 200, 27, .12); }
.wk-hours { position: relative; height: calc(var(--h) * var(--span)); }
.wk-hours span { position: absolute; right: 10px; top: calc(var(--t) * var(--h) - 7px); font: 600 12px/1 var(--sans); font-stretch: 75%; color: rgba(255, 255, 255, .5); }
.wk-col { position: relative; height: calc(var(--h) * var(--span)); border-left: 1px solid var(--line-inv); background: repeating-linear-gradient(to bottom, var(--line-inv) 0 1px, transparent 1px var(--h)); }
.wblock {
	position: absolute; left: 6px; right: 6px; top: calc(var(--t) * var(--h)); height: calc(var(--d) * var(--h) - 4px);
	display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; overflow: hidden;
	border-radius: 14px; background: var(--c); color: var(--on); text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.wblock:hover { transform: rotate(-2deg) scale(1.04); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); z-index: 2; }
.wblock[hidden] { display: none; }
.wblock-time { font: 800 18px/1 var(--sans); font-stretch: 62%; }
.wblock-name { font: 800 17px/.95 var(--display); text-transform: uppercase; }
.wblock-where { margin-top: auto; font-size: 12px; line-height: 1.25; opacity: .85; }
.empty { padding: 48px 0; text-align: center; color: rgba(255, 255, 255, .7); }

/* =========================================================
   Et aussi : tickets
   ========================================================= */
.aussi { background: var(--yellow); color: var(--ink); padding: clamp(90px, 11vw, 160px) 0; }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ticket {
	--notch: 15px; --stub: 112px;
	display: grid; grid-template-columns: var(--stub) minmax(0, 1fr); min-height: 220px;
	background: var(--ink); color: #fff; border-radius: 20px;
	-webkit-mask: radial-gradient(circle at var(--stub) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
	              radial-gradient(circle at var(--stub) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	        mask: radial-gradient(circle at var(--stub) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
	              radial-gradient(circle at var(--stub) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	transition: transform .4s var(--ease);
}
.ticket:nth-child(odd) { transform: rotate(-1deg); }
.ticket:nth-child(even) { transform: rotate(1deg) translateY(16px); }
.ticket:hover { transform: rotate(0) translateY(-4px); }
.ticket-stub { display: grid; place-items: center; border-right: 2px dashed rgba(255, 255, 255, .28); color: var(--c); }
.ticket-stub b { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 34px/1 var(--sans); font-stretch: 62%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticket-main { padding: 26px 28px; }
.ticket-main > * { margin: 0 0 12px; }
.ticket-when { color: var(--c); }
.ticket h3 { font: 800 clamp(24px, 2.4vw, 34px)/.98 var(--display); letter-spacing: -.01em; }
.ticket-place { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c); }
.ticket-text { margin: 0 !important; font-size: 15px; color: rgba(255, 255, 255, .78); }
.kj-main .aussi .kj-empty-admin { color: var(--ink); border-color: var(--line); }

/* =========================================================
   Édito
   ========================================================= */
.edito { background: var(--red) url("assets/img/motif-red.svg") 0 0 / 1000px; color: #fff; padding: clamp(100px, 13vw, 200px) 0; }
.edito .label { margin-bottom: 16px !important; }
.edito-big { font: 500 clamp(30px, 4.5vw, 76px)/1.06 var(--display); letter-spacing: -.02em; max-width: 26ch; margin: 24px 0 clamp(40px, 5vw, 72px) !important; }
.edito-big .w { opacity: .32; transition: opacity .35s; }
.edito-big .w.on { opacity: 1; }
.edito-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 32px 64px; align-items: start; }
.edito-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 1.5px solid #fff; font-weight: 700; column-span: all; }
.edito-more summary::-webkit-details-marker { display: none; }
.edito-more summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.edito-more[open] summary::after { transform: rotate(45deg); }
.edito-more[open] { columns: 2 280px; column-gap: 40px; }
.edito-more[open] summary { margin-bottom: 32px; }
.edito-more p { margin: 0 0 1em; }
.edito-sign { text-align: right; }
.edito-name { font: 700 28px/1.1 var(--display); }
.edito-role { margin-top: 8px !important; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--yellow); }

/* =========================================================
   Infos pratiques
   ========================================================= */
.infos { background: var(--cream); color: var(--ink); padding: clamp(100px, 12vw, 180px) 0; }
.billet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; margin-bottom: clamp(80px, 10vw, 140px) !important; scroll-margin-top: calc(var(--header-h) + var(--admin-h) + 24px); }
.billet-intro > * { margin-top: 0; }
.billet-claim { font: 800 clamp(36px, 4.2vw, 64px)/.94 var(--display); letter-spacing: -.02em; margin: 0 0 32px; }
.billet-claim span { color: var(--red); }
.billet-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 16px; }
.billet-ways li { display: flex; gap: 12px; align-items: flex-start; }
.billet-ways .ico { color: var(--red); width: 22px; height: 22px; margin-top: 1px; }
.billet-ways a { font-weight: 700; word-break: break-word; }
.billet-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.billet-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 156px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bl-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .2s var(--ease); }
a.bl-action:hover { background: var(--red); transform: translateY(-2px); }
.bl-action--free { background: var(--cyan); color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.bl-action--soon { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.bl-date { font: 800 20px/1 var(--display); color: var(--red); white-space: nowrap; }
.bl-date small { display: block; font: 600 11px/1.3 var(--sans); font-stretch: 100%; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); opacity: .6; margin-top: 4px; }
.bl-name { font: 800 21px/1 var(--display); text-transform: uppercase; text-decoration: none; }
.bl-name:hover { color: var(--red); }
.bl-name small { display: block; margin-top: 4px; font: 500 13px/1.3 var(--sans); text-transform: none; opacity: .7; }

.lieux { scroll-margin-top: calc(var(--header-h) + var(--admin-h) + 24px); }
.towns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; border-top: 2px solid var(--ink); }
.town { padding: 24px 24px 8px; border-left: 1px solid var(--line); }
.town:first-child { padding-left: 0; border-left: 0; }
.town h3 { font: 800 clamp(26px, 2.6vw, 42px)/.92 var(--display); color: var(--red); margin: 0 0 18px; }
.town-venues { display: grid; gap: 0 32px; }
.town--wide .town-venues { grid-template-columns: 1fr 1fr; }
.venue { padding: 14px 0 18px; border-top: 1px solid var(--line); }
.venue h4 { margin: 0 0 4px; font: 700 17px/1.3 var(--sans); letter-spacing: 0; }
.venue p { margin: 0; font-size: 14px; opacity: .8; }
.venue-access { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px !important; font-weight: 600; opacity: 1 !important; }
.venue-gigs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.venue-gigs a { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.venue-gigs a:hover { background: var(--red); }
.venue-map { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }

.move { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(64px, 8vw, 110px) !important; }
.move-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 32px; border-radius: 28px; overflow: hidden; transition: transform .35s var(--ease); }
.move-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.move-card::before { content: ""; width: 44px; height: 44px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.move-card--car { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 17H3v-5l2.2-5.2A2 2 0 0 1 7 5.6h10a2 2 0 0 1 1.8 1.2L21 12v5h-2M3 12h18'/><circle cx='7.5' cy='17' r='2'/><circle cx='16.5' cy='17' r='2'/><path d='M9.5 17h5'/></svg>"); }
.move-card--bus { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='3' width='14' height='15' rx='3'/><path d='M5 11h14M9 21l-1.5-3M15 21l1.5-3'/></svg>"); }
.move-card h3 { font: 800 clamp(36px, 4vw, 60px)/.9 var(--display); margin: 22px 0 12px !important; }
.move-card p { max-width: 40ch; margin-bottom: 1em !important; }
.move-go { margin-top: auto !important; margin-bottom: 0 !important; font-weight: 700; }
.move-go a { text-decoration: none; border-bottom: 2px solid; }
.move-go a::after { content: ""; position: absolute; inset: 0; }
.move-card--yellow { background: var(--yellow); }
.move-card--cyan { background: var(--cyan); }

/* =========================================================
   Engagements
   ========================================================= */
.engage { background: var(--ink); color: #fff; padding: clamp(100px, 12vw, 180px) 0; }
.engage .sec-lead { color: rgba(255, 255, 255, .75); }
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-inv); }
.engage-item { padding: 32px 32px 0; border-left: 1px solid var(--line-inv); }
.engage-item:first-child { padding-left: 0; border-left: 0; }
.engage-item--yellow { --c: var(--yellow); }
.engage-item--pink { --c: var(--pink); }
.engage-item--cyan { --c: var(--cyan); }
.outline { font: 800 clamp(44px, 5.4vw, 92px)/.9 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--c); transition: color .45s; }
.engage-item:hover .outline { color: var(--c); }
.engage-item ul { list-style: none; margin: 28px 0 0 !important; padding: 0; display: grid; gap: 14px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.engage-item li { position: relative; padding-left: 26px; }
.engage-item li::before { content: "✱"; position: absolute; left: 0; color: var(--c); }

/* =========================================================
   Le festival
   ========================================================= */
.festival { background: #fff; color: var(--ink); padding: clamp(100px, 12vw, 180px) 0; }
.festival-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 96px; align-items: end; }
.festival-text .label { margin-bottom: 16px !important; }
.festival-title { font: 800 clamp(40px, 5.2vw, 84px)/.92 var(--display); letter-spacing: -.025em; margin-bottom: 28px !important; }
.festival-text p { max-width: 62ch; }
.festival-ctas { gap: 12px; margin-top: 32px !important; }
.team { border-top: 2px solid var(--ink); }
.team-role { padding-top: 14px; font: 600 11px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .18em; opacity: .6; }
.team-name { padding: 4px 0 14px; border-bottom: 1px solid var(--line); font-weight: 700; }

/* Duo de logos « koa jazz × Collectif Koa » et logo du collectif dans le pied de page */
body .festival-logos { gap: 18px; margin-bottom: 28px !important; }
.festival-logos > * { margin: 0 !important; }
.festival-logos img { display: block; height: 72px; width: auto; max-width: none; }
.festival-logo-collectif img { height: 64px; }
.festival-x { font: 300 40px/1 var(--display); color: var(--red); }
.foot-collectif { margin-top: 22px !important; }
.foot-collectif img { display: block; width: 170px; height: auto; transition: opacity .2s; }
.foot-collectif a:hover img { opacity: .8; }
@media (max-width: 760px) {
	.festival-logos img { height: 52px; }
	.festival-logo-collectif img { height: 46px; }
	.festival-x { font-size: 30px; }
}

/* =========================================================
   Pied de page
   ========================================================= */
.foot { background: var(--red) url("assets/img/motif-red.svg") 0 0 / 1000px; color: #fff; padding: clamp(72px, 9vw, 120px) 0 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.news { background: var(--yellow); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); }
.news > * { margin-top: 0; }
.news-title { margin: 0 0 14px; font: 800 clamp(34px, 3.8vw, 60px)/.92 var(--display); letter-spacing: -.02em; }
.news p:not(.label) { max-width: 46ch; }
.news-field { display: flex; gap: 8px; margin-top: 24px; padding: 6px; border-radius: 999px; background: #fff; }
.news-field:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.news-field input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: none; outline: none; font: 500 16px var(--sans); color: var(--ink); }
.news-msg { margin: 12px 0 0; font-weight: 700; }
.social { display: flex; flex-direction: column; border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); background: var(--ink); }
.social .label { margin-bottom: 16px !important; }
.social-list.wp-block-social-links { gap: 10px; margin-bottom: 24px !important; padding: 0; }
.social-list .wp-social-link { background: none !important; color: #fff !important; font-size: 17px; transition: color .2s; }
.social-list .wp-social-link:hover,
.social-list .wp-social-link:focus-within { color: var(--ink) !important; }
.social-list .wp-block-social-link-anchor { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px !important; border-radius: 999px; border: 1.5px solid var(--line-inv); font: 600 17px/1 var(--sans); transition: background-color .2s, border-color .2s; }
.social-list .wp-social-link:hover .wp-block-social-link-anchor,
.social-list .wp-social-link:focus-within .wp-block-social-link-anchor { background: #fff; border-color: #fff; }
.social-list .wp-block-social-link-label { font-size: 17px !important; }
.social-list .wp-block-social-link-anchor svg { width: 22px; height: 22px; }
.playlist { margin-top: auto !important; }
.playlist a { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 18px; text-decoration: none; transition: background-color .2s; }
.playlist a:hover { background: rgba(255, 255, 255, .15); }
.playlist a::before { content: ""; flex: none; width: 28px; height: 24px; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 5px 40% no-repeat, linear-gradient(var(--cyan), var(--cyan)) 8px 100% / 5px 90% no-repeat, linear-gradient(var(--cyan), var(--cyan)) 16px 100% / 5px 60% no-repeat, linear-gradient(var(--cyan), var(--cyan)) 24px 100% / 4px 100% no-repeat; animation: eq 1.1s ease-in-out infinite alternate; }
@keyframes eq { to { background-size: 5px 90%, 5px 30%, 5px 100%, 4px 45%; } }
.foot-partners { margin-top: 16px !important; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: #fff; color: var(--ink); }
.foot-partners-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px !important; }
.foot-partners-head .label { opacity: .6; }
.foot-partners-link a { font-weight: 700; color: var(--red); text-decoration: none; }
.foot-partners-img img { display: block; margin-inline: auto; }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.foot-cols .label { margin-bottom: 16px !important; }
.foot-brand .top-logo img { height: 100px; margin-bottom: 18px; }
.foot-brand p { font-size: 15px; }
.foot-small { margin-top: 12px !important; font-size: 14px; opacity: .8; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { font-weight: 600; text-decoration: none; word-break: break-word; }
.foot-links a:hover { color: var(--yellow); }
.foot-links small { font-size: 13px; opacity: .75; }
.foot-years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, max-content); gap: 4px 18px; }
.foot-years a { font: 800 26px/1.15 var(--sans); font-stretch: 62%; text-decoration: none; }
.foot-years a:hover { color: var(--yellow); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; }

/* =========================================================
   Fiche concert (page)
   ========================================================= */
.concert-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-top: calc(var(--header-h) + var(--admin-h)); background: #fff; color: var(--ink); }
.sv { position: sticky; top: calc(var(--header-h) + var(--admin-h)); height: calc(100svh - var(--header-h) - var(--admin-h)); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 56px); color: var(--on); background: var(--c); overflow: hidden; }
.sv .duo { position: absolute; inset: 0; }
.sv .duo img { transition: filter .6s, mix-blend-mode .6s; }
.sv:hover .duo img { filter: none; mix-blend-mode: normal; }
.sv::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--c) 78%); pointer-events: none; }
.sv > *:not(.duo) { position: relative; z-index: 1; margin: 0; }
.sv-back { position: absolute !important; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
/* « mardi 3 nov. » en Goia, l'heure dans la police étroite comme dans le programme. */
.sv-date { font: 800 clamp(32px, 3.4vw, 56px)/1 var(--display); letter-spacing: -.02em; margin-bottom: 14px !important; }
.sv-date span { display: inline-block; font: 800 1.1em/1 var(--sans); font-stretch: 62%; opacity: .75; }
.sv-cat { font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; margin-bottom: 14px !important; }
.sv-name { font: 800 clamp(44px, 6vw, 108px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.sv-name span { display: block; font-size: .42em; line-height: 1; margin-top: .3em; }
.si { padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 72px) 120px; }
.si-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border-top: 2px solid var(--ink); }
.si-facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.si-facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.si-facts dt { font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; opacity: .55; margin-bottom: 6px; }
.si-facts dd { margin: 0; font-weight: 700; }
.si-facts dd::first-letter { text-transform: uppercase; }
.si-facts small { display: block; font-weight: 400; font-size: 14px; opacity: .75; }
.si-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.si-ctas .pill--line { color: var(--ink); }
.si-free { display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 999px; background: var(--cyan); font-weight: 700; }
.si-schedule { list-style: none; margin: 0 0 36px; padding: 0; }
.si-schedule li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.si-schedule b { font: 800 28px/1 var(--sans); font-stretch: 62%; color: var(--red); }
.si-text > p { margin: 0 0 1em; font-size: 17px; }
.si-text > p:first-child { font: 500 clamp(21px, 1.8vw, 26px)/1.35 var(--display); }
.si-sub { margin: 40px 0 14px; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--red); }
.si-lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.si-lineup li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.si-lineup strong { display: block; }
.si-lineup span { font-size: 14px; opacity: .7; }
.si-cohost { margin-top: 28px; font-size: 14px; font-style: italic; opacity: .7; }
.si-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.si-nav a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; font: 800 22px/1 var(--display); text-transform: uppercase; }
.si-nav a.next { text-align: right; margin-left: auto; }
.si-nav small { font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; opacity: .55; }
.si-nav a:hover { color: var(--red); }

/* Pages simples (mentions légales, actualités…) */
.kj-page { padding: calc(var(--header-h) + var(--admin-h) + clamp(48px, 7vw, 110px)) var(--gutter) clamp(80px, 10vw, 140px); }
.kj-page-title { font: 800 clamp(44px, 7vw, 110px)/.9 var(--display) !important; letter-spacing: -.035em; color: var(--red); margin-bottom: clamp(28px, 4vw, 56px) !important; }
.kj-404 .kj-page-title { color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 32px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--yellow); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .3s; }

/* Apparitions (toujours visibles, seul le décalage s'anime) */
.js .rv { transform: translateY(32px); transition: transform .8s var(--ease); }
.js .rv.is-in { transform: none; }

/* Éditeur : le menu ne doit pas recouvrir la page en édition */
.editor-styles-wrapper .top { position: relative; top: 0; background: var(--ink); }
.editor-styles-wrapper .hero-red { padding-top: 48px; }
.editor-styles-wrapper .sv { position: relative; top: 0; height: 70vh; }

/* =========================================================
   Responsive
   ========================================================= */
/* Entre mobile et grand écran : trompette au-dessus, date en dessous, sans chevauchement. */
@media (min-width: 761px) and (max-width: 1150px) {
	.hero-top { flex-direction: column; align-items: flex-start; gap: 24px; }
	.hero-visual { margin: 0 0 0 -2%; }
	.hero-visual img { height: clamp(280px, 44vh, 460px); }
}

@media (max-width: 1180px) {
	.irow { grid-template-columns: 64px minmax(0, 1fr) 170px 92px 48px; padding-inline: 12px; }
	.towns { grid-template-columns: 1fr 1fr; }
	.town:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Entre 600 et 1100 px, le menu passe aussi en bouton (WordPress ne le fait que sous 600 px). */
@media (min-width: 600px) and (max-width: 1100px) {
	.top .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.top .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1100px) {
	.top .top-nav { margin-left: 0; order: 3; }
	.top-cta { margin-left: auto; }
}

@media (max-width: 960px) {
	.foot-top { grid-template-columns: 1fr; }
	.foot-cols { grid-template-columns: 1fr 1fr; }
	.billet, .festival-grid, .edito-cols { grid-template-columns: 1fr; }
	.edito-sign { text-align: left; }
	.tickets { grid-template-columns: 1fr; }
	.ticket:nth-child(even) { transform: rotate(1deg); }
	.engage-grid { grid-template-columns: 1fr; }
	.engage-item, .engage-item:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-inv); }
	.concert-page { grid-template-columns: 1fr; }
	.sv { position: relative; top: 0; height: auto; min-height: 64svh; }
	.si { padding-top: 40px; }
}

@media (max-width: 760px) {
	:root { --header-h: 64px; }
	body { font-size: 16px; }
	.top-logo img { height: 36px; }
	.top-inner { gap: 10px; }
	.top-cta .wp-block-button__link { padding: 10px 14px !important; font-size: 14px; }
	.hero { --overlap: 120px; --cta-gap: 40px; }
	.hero-top { flex-direction: column; align-items: flex-start; gap: 24px; }
	.hero-visual { margin: 0 -4%; }
	.hero-visual img { height: auto; width: 100%; }
	.hero-dates { font-size: 14vw; }
	.hero-ctas .pill { flex: 1 1 auto; }
	.panels { height: 400px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.panels::-webkit-scrollbar { display: none; }
	.panel, .panel.is-open { flex: 0 0 78%; scroll-snap-align: center; }
	.panel-v { display: none; }
	.panel-h { width: 100%; opacity: 1; transform: none; }
	.tape--yellow { top: -58px; }
	.tape--cyan { top: -18px; }
	.prog-tools, .seg { width: 100%; }
	.seg button { flex: 1; }
	.filters { width: 100%; }
	.filter { flex: 1; }
	.iday { grid-template-columns: 1fr; }
	.iday-date { position: static; display: flex; align-items: baseline; gap: 10px; padding: 28px 0 10px; }
	.iday-dow, .iday-num { margin: 0; font-size: 36px; line-height: 1; letter-spacing: -.01em; }
	.irow {
		grid-template-columns: 1fr auto; gap: 8px 12px; padding: 18px 12px;
		grid-template-areas: "time price" "main main" "where book";
	}
	.irow:first-child { border-top: 1px solid var(--line-inv); }
	.irow-time { grid-area: time; font-size: 24px; }
	.irow-main { grid-area: main; }
	.irow-where { grid-area: where; }
	.irow-price { grid-area: price; }
	.irow-book, .irow-free, .irow > span:last-child { grid-area: book; }
	.irow-free { writing-mode: horizontal-tb; transform: none; }
	.irow-name { font-size: clamp(30px, 9vw, 40px); }
	.irow:hover .irow-name { transform: none; }
	.peek { display: none; }
	.towns, .town--wide .town-venues { grid-template-columns: 1fr; }
	.town { padding-left: 0; border-left: 0; }
	.move { grid-template-columns: 1fr; }
	.billet-list li { grid-template-columns: 84px minmax(0, 1fr); }
	.billet-list li > :last-child { grid-column: 2; justify-self: start; width: 156px; }
	.si-facts, .si-lineup { grid-template-columns: 1fr; }
	.si-facts div:nth-child(even) { padding-left: 0; border-left: 0; }
	.foot-cols { grid-template-columns: 1fr; gap: 32px; }
	.news-field { flex-direction: column; border-radius: 20px; }
	.news-field input { padding: 12px 10px; }
	.ticket { --stub: 76px; }
	.ticket-stub b { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .rv { transform: none; }
	.edito-big .w { opacity: 1; }
}
