/* Guitar Bcn — home nova i capçalera fixa. Colors del kit (--e-global-color-*). */
:root {
	--gt-negre: #121212;
	--gt-blanc: #fff;
	--gt-marge: clamp(20px, 6.25vw, 90px);
	/* pantalles grans: el contingut va a 1600 px com a màxim i centrat; el que va a sang s'hi alinea amb --gt-lat */
	--gt-cont: max(0px, calc((100vw - 1600px) / 2));
	--gt-lat: calc(var(--gt-marge) + var(--gt-cont));
	--gt-ease: cubic-bezier(.22, .8, .2, 1);
	--gt-cap-h: 96px;
	--gt-font: "Halyard Display", system-ui, sans-serif;
}

/* ============ Capçalera fixa ============ */
.gt-cap {
	position: fixed !important;
	top: 0; left: 0; right: 0;
	z-index: 990;
	transition: background-color .45s var(--gt-ease), transform .5s var(--gt-ease);
}
body.admin-bar .gt-cap { top: 32px; }
@media (max-width: 782px) { body.admin-bar .gt-cap { top: 46px; } }
.gt-cap::before {
	content: ""; position: absolute; inset: 0 0 -90px 0; pointer-events: none; z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 50%, rgba(0,0,0,0) 100%);
	transition: opacity .45s;
}
.gt-cap.is-solid { background-color: rgba(18,18,18,.96); }
.gt-cap.is-solid::before { opacity: 0; }
.gt-cap.is-amagat { transform: translate3d(0, -110%, 0); }
body:not(.gt-amb-portada) .gt-cap { background-color: var(--gt-negre); }
body:not(.gt-amb-portada) .gt-cap::before { opacity: 0; }
body:not(.gt-amb-portada):not(.elementor-editor-active) { padding-top: var(--gt-cap-h); }
.gtlogo { display: inline-block; line-height: 0; }
.gtlogo img { width: clamp(150px, 15vw, 210px); height: auto; transform-origin: left center; transition: transform .45s var(--gt-ease); }
.gt-cap.is-solid .gtlogo img { transform: scale(.84); }

/* ============ Botons ============ */
/* Els botons (píndoles, «Veure…», ENTRADES, botons d'Elementor .gt-boto) són del sistema de botons:
   guitar/botons/botons.css (guitar-botons.php). Aquí només la fletxa genèrica, que també fan servir
   enllaços que no són botons (Totes les notícies, fletxes del carrusel…). */
.gtpill__fl { width: 1.45em; height: .6em; transition: transform .45s var(--gt-ease); flex: none; }

/* ============ Portada ============ */
/* Foto a pantalla completa; la franja del nom va a sobre, a la posició que es tria per artista
   (dalt / mig / baix) perquè no tapi cares. En canviar d'artista: cortina del color nou que
   escombra la foto, la franja es desplaça i es va «carregant» mentre dura l'artista. */
.gtp { --bar: clamp(84px, 8.4vw, 121px); --capH: clamp(76px, 8vw, 122px); position: relative; height: clamp(560px, 100svh, 64vw); overflow: hidden; background: var(--gt-negre); color: #fff; font-family: var(--gt-font); }
.gtp__slides { position: absolute; inset: 0; overflow: hidden; }
.gtp__slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.gtp__slide.is-active { visibility: visible; z-index: 1; }
.gtp__slide.is-sortint { visibility: visible; z-index: 0; }
.gtp__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--gtp-focus, 50% 35%); display: block; transform-origin: var(--gtp-focus, 50% 35%); }
/* cortina */
.gtp__cortina { position: absolute; inset: 0; z-index: 3; background: var(--gtp-cn, var(--gtp-c)); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.gtp.is-tapa .gtp__cortina { transform: scaleX(1); transition: transform .55s cubic-bezier(.7, 0, .3, 1); }
.gtp.is-destapa .gtp__cortina { transform: scaleX(0); transform-origin: right center; transition: transform .7s cubic-bezier(.7, 0, .3, 1); }
/* franja */
.gtp__bar {
	position: absolute; left: 0; right: 0; z-index: 4; top: calc(100% - var(--bar)); height: var(--bar);
	background: var(--gtp-c); overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 var(--gt-lat);
	transition: top 1.1s cubic-bezier(.65, 0, .25, 1), background-color .6s var(--gt-ease);
}
.gtp.js-y .gtp__bar { top: 0 !important; transform: translate3d(0, var(--gtp-y, 0px), 0); transition: transform 1.1s cubic-bezier(.65, 0, .25, 1), background-color .6s var(--gt-ease); will-change: transform; }
.gtp[data-pos="mig"] .gtp__bar { top: calc(54% - var(--bar) / 2); }
.gtp[data-pos="dalt"] .gtp__bar { top: calc(var(--gt-cap-h, 96px) + 2.5vh); }
.gtp__noms { position: relative; z-index: 1; display: grid; flex: 1; min-width: 0; overflow: hidden; }
.gtp__nom { grid-area: 1 / 1; margin: 0; font-size: clamp(26px, 3.5vw, 50px); line-height: 1.05; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtp__nom span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--gt-ease); }
.gtp__nom.is-active span { transform: none; transition-delay: .55s; }
.gtp__nom.is-sortint span { transform: translateY(-110%); transition-delay: 0s; }
.gtp__ctl { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); flex: none; }
.gtp__punts { display: flex; gap: 6px; }
.gtp .gtp__punt { width: clamp(22px, 2.4vw, 36px); height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
/* indicador d'artista: el segment actiu es va omplint (és l'única «càrrega» de la portada) */
.gtp__punt i { position: relative; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.gtp__punt i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.gtp__punt.is-fet i::after { transform: scaleX(1); }
.gtp__punt.is-active i::after { animation: gtp-prog var(--gtp-dur, 7s) linear forwards; }
.gtp.is-pausa .gtp__punt.is-active i::after { animation-play-state: paused; }
.gtp__punt:hover i { background: rgba(255,255,255,.6); }
@keyframes gtp-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 767px) {
	.gtp { height: clamp(520px, 100svh, 860px); }
	.gtp__bar { gap: 12px; }
	.gtp__punts { gap: 4px; }
	.gtp .gtp__punt { width: 18px; }
}

/* ============ Portada amb vídeo [gt_hero] (20-nov) ============ */
/* Una sola imatge a sang amb el titular gran a baix. Mentre no hi ha vídeo, la foto fa un pla lent
   (s'acosta i es desplaça molt poc) perquè sembli un clip. La capçalera va a sobre amb el seu degradat. */
.gth { position: relative; height: clamp(560px, 100svh, 64vw); overflow: hidden; background: var(--gt-negre); color: #f2efe9; font-family: var(--gt-font); display: flex; align-items: flex-end; }
.gth__media { position: absolute; inset: 0; overflow: hidden; }
/* .gth__media davant: «.elementor img { height: auto }» guanyaria a una sola classe i la foto no arribaria a baix */
.gth__media .gth__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--gth-focus, 50% 40%); display: block; transform-origin: var(--gth-focus, 50% 40%); }
.gth--foto .gth__media .gth__img { animation: gth-pla 24s cubic-bezier(.45, 0, .55, 1) infinite alternate; will-change: transform; }
@keyframes gth-pla {
	from { transform: scale(1.03) translate3d(0, 0, 0); }
	to   { transform: scale(1.11) translate3d(-1.4%, -.9%, 0); }
}
/* ombra a baix i una mica cap a l'esquerra (on va el titular), perquè es llegeixi també en els plans clars del
   vídeo (fum, focus) sense enfosquir la imatge sencera */
.gth::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; pointer-events: none;
	background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,.22) 42%, rgba(18,18,18,.66) 100%),
		radial-gradient(120% 90% at 0% 100%, rgba(18,18,18,.32) 0%, rgba(18,18,18,0) 62%); }
.gth__tit { position: relative; z-index: 1; margin: 0; padding: 0 var(--gt-lat) clamp(44px, 8vh, 104px); font-family: var(--gt-font); font-size: clamp(40px, 5.5vw, 100px); font-weight: 500; line-height: 1; letter-spacing: -.025em; color: inherit; }
.gth__l { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.gth__l > span { display: inline-block; transform: translate3d(0, 105%, 0); animation: gth-entra 1.1s var(--gt-ease) .25s forwards; }
.gth__l + .gth__l > span { animation-delay: .38s; }
@keyframes gth-entra { to { transform: none; } }
@media (max-width: 767px) {
	.gth { height: clamp(520px, 100svh, 860px); }
	.gth__media .gth__img { object-position: var(--gth-focus-m, var(--gth-focus, 50% 40%)); transform-origin: 50% 50%; }
	.gth__tit { font-size: clamp(34px, 10.4vw, 56px); line-height: 1.02; padding-bottom: 48px; }
	/* al mòbil les línies del titular no caben senceres: el text corre seguit i entra tot el bloc */
	.gth__l { display: inline; overflow: visible; padding: 0; margin: 0; }
	.gth__l > span { display: inline; transform: none; animation: none; }
	.gth__tit { opacity: 0; transform: translate3d(0, 24px, 0); animation: gth-entra-m 1s var(--gt-ease) .25s forwards; }
}
@keyframes gth-entra-m { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.gth--foto .gth__media .gth__img { animation: none; transform: scale(1.03); }
	.gth__l > span, .gth__tit { animation: none; transform: none; opacity: 1; }
}

/* ============ La banda sonora ============ */
.gt-banda { overflow: hidden; }
.gtbanda { margin: 0; font-family: var(--gt-font); font-weight: 500; color: #fff; line-height: .92; letter-spacing: -.02em; display: flex; flex-direction: column; gap: .12em; width: 100%; }
.gtbanda__l1, .gtbanda__l2 { position: relative; display: inline-block; width: max-content; max-width: 100%; }
.gtbanda__l1 { font-size: clamp(44px, 6.7vw, 98px); }
.gtbanda__l2 { font-size: clamp(56px, 9.4vw, 136px); align-self: flex-end; margin-right: clamp(0px, 5vw, 80px); }
.gtbanda__t { position: relative; z-index: 1; display: inline-block; }
.gtbanda__g { position: absolute; pointer-events: none; color: #fff; z-index: 2; }
.gtbanda__g svg { width: 100%; height: auto; display: block; overflow: visible; }
.gtbanda__g--ovalo { left: 8%; right: -6%; top: -16%; }
.gtbanda__g--linia { left: -2%; right: -8%; bottom: -26%; }

/* ============ Títol vertical (Propers concerts) ============ */
.gt-vertical .elementor-heading-title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
@media (max-width: 1024px) { .gt-vertical .elementor-heading-title { writing-mode: horizontal-tb; transform: none; white-space: normal; } }

/* ============ Propers concerts ============ */
.gtx { --card: clamp(220px, 21.9vw, 340px); position: relative; width: 100%; font-family: var(--gt-font); }
.gtx__track {
	display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, var(--card)); grid-auto-columns: var(--card);
	overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
	cursor: grab; user-select: none; -webkit-user-select: none; outline: none;
}
.gtx__track::-webkit-scrollbar { display: none; }
.gtx__track.is-drag { cursor: grabbing; }
.gtx__track.is-drag .gtx__card { pointer-events: none; }
.gtx__card { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #222; }
.gtx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--gt-ease), filter .6s; }
.gtx__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 66%, rgba(0,0,0,.5) 100%); }
.gtx__card:hover .gtx__img { transform: scale(1.025); }
.gtx__nom { position: absolute; z-index: 1; left: 20px; top: 18px; right: 84px; font-size: clamp(20px, 2.1vw, 30px); line-height: .9; font-weight: 500; }
.gtx__go { position: absolute; z-index: 1; right: 18px; top: 16px; width: 58px; }
.gtx__go.gtbtn { --gtbtn-bg: rgba(28, 28, 28, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }   /* es llegeix també sobre fotos clares */   /* botó S d'icona: botons.css */
.gtx__peu { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-size: 15px; line-height: 1.1; font-weight: 400; }
.gtx__barra { position: relative; height: 6px; margin-top: 22px; background: var(--e-global-color-gt01); overflow: hidden; }
.gtx__barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--e-global-color-gt04); will-change: transform; }
.gtx__buit { font-family: var(--gt-font); font-size: 22px; }
@media (max-width: 767px) {
	.gtx { --card: 72vw; }
	.gtx__track { grid-template-rows: var(--card); scroll-snap-type: x mandatory; }
	.gtx__card { scroll-snap-align: start; }
}

/* ============ Escenaris ============ */
.gte { position: relative; width: 100%; font-family: var(--gt-font); color: #fff; }
.gte__track { display: flex; align-items: flex-end; width: max-content; padding: 0 var(--gt-lat); will-change: transform; }
.gte__sala { --alt: clamp(220px, min(34vw, calc(100svh - 300px)), 500px); display: flex; flex-direction: column; color: #fff; text-decoration: none; flex: none; }
.gte__dib { display: block; height: calc(var(--alt) * var(--h) / 309); width: calc(var(--alt) * var(--w) / 309); padding: 0 clamp(14px, 2vw, 34px); box-sizing: content-box; color: #fff; }
.gte__dib svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gte__nom { position: relative; display: block; height: clamp(44px, 4.2vw, 61px); border-top: 1.5px solid rgba(255,255,255,.85); }
.gte__nom::before { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: left; transition: filter .3s; }
.gte__nom span { position: relative; display: block; padding: 0 22px; font-size: clamp(20px, 2.1vw, 30px); line-height: clamp(44px, 4.2vw, 61px); font-weight: 500; white-space: nowrap; }
.gte__sala:hover .gte__nom::before { filter: brightness(1.15); }
.gte__sala:hover .gte__dib { color: var(--c); }
.gte__dib { transition: color .5s; }
@media (max-width: 1024px) {
	.gte { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
	.gte::-webkit-scrollbar { display: none; }
	.gte__sala { scroll-snap-align: start; --alt: clamp(200px, 52vw, 380px); }
}

/* ============ Píxels ============ */
.gtpx { position: relative; pointer-events: none; }
.gtpx i { position: absolute; display: block; }
.gtpx--escenaris { width: clamp(180px, 26vw, 374px); aspect-ratio: 374 / 210; }
.gtpx--escenaris i { width: 6.684%; height: 11.905%; }
.gtpx--franja { width: 100%; aspect-ratio: 1440 / 50; }
.gtpx--franja i { width: 1.736%; height: 50%; }
.gtpx__in { position: absolute; inset: 0; }
/* mòbil (24-nov, Javi: «quedan como enanos y demasiados»): la franja es més alta i el dibuix s'amplia 2,7×;
   se'n veu el primer tram → quadres d'uns 18 px i un terç de quadres */
@media (max-width: 767px) {
	.gtpx--franja { aspect-ratio: 1440 / 135; overflow: hidden; }
	.gtpx--franja .gtpx__in { right: auto; width: 270%; }
}

/* ============ Garabats ============ */
.gtgarabat { display: block; color: #fff; width: clamp(240px, 40vw, 585px); }
.gtgarabat svg { width: 100%; height: auto; display: block; overflow: visible; }
/* Títols de pàgina (2-des): el mateix oval que a «El Festival» (37 px a l'esquerra, 3 amunt, 81 d'alt) i, a la dreta, el
   mateix aire: s'ajusta a l'ample de cada títol. El gruix no es deforma. */
:is(.gtct-cap__t, .gtact__titol-t, .gtcs__titol-t) { position: relative; display: inline-block; }
.gtgarabat.gtgarabat--titol { position: absolute; left: max(-.4111em, -20px); top: -.0333em; width: calc(100% + 1.29em); max-width: calc(100vw - 8px); height: .9em; color: var(--e-global-color-gtwhite, #f2efe9); pointer-events: none; }
@media (min-width: 768px) { .gtgarabat.gtgarabat--titol { left: -.4111em; } }
.gtgarabat--titol svg { height: 100%; }
.gtgarabat--titol path { vector-effect: non-scaling-stroke; stroke-width: .0333em; }

/* ============ Notícies ============ */
.gtn { display: grid; grid-template-columns: minmax(0, 876fr) minmax(0, 334fr); gap: 25px; font-family: var(--gt-font); }
.gtn a { text-decoration: none; }
.gtn__gran { position: relative; display: block; aspect-ratio: 876 / 564; overflow: hidden; color: #fff; }
.gtn__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--gt-ease); }
.gtn__gran::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); }
.gtn__gran:hover .gtn__img, .gtn__item:hover img { transform: scale(1.025); }
.gtn__txt { position: absolute; z-index: 1; left: clamp(18px, 1.7vw, 25px); right: 20%; bottom: clamp(18px, 3.4vw, 50px); display: flex; flex-direction: column; gap: 14px; }
.gtn__gran .gtn__data { font-size: 15px; }
.gtn__gran .gtn__titol { font-size: clamp(26px, 3.5vw, 50px); line-height: .9; font-weight: 500; }
.gtn__llista { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.gtn__item { display: grid; grid-template-columns: 124px 1fr; gap: 18px; align-items: center; color: var(--gt-negre); }
.gtn__mini { display: block; aspect-ratio: 1; overflow: hidden; }
.gtn__mini img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--gt-ease); }
.gtn__itxt { display: flex; flex-direction: column; gap: 10px; }
.gtn__item .gtn__data { font-size: 12px; }
.gtn__item .gtn__titol { font-size: 15px; line-height: 1.13; font-weight: 500; transition: color .3s; }
.gtn__item:hover .gtn__titol { color: var(--e-global-color-gt02); }
@media (max-width: 900px) {
	.gtn { grid-template-columns: 1fr; }
	.gtn__txt { right: 18px; }
}

/* Títol de secció amb el quadre ocre */
.gt-quadre .elementor-heading-title { display: flex; align-items: center; gap: .3em; }
.gt-quadre .elementor-heading-title::before { content: ""; width: .28em; height: .28em; background: var(--e-global-color-gt02); flex: none; }

/* ============ Patrocinadors (mostra) ============ */
.gtpatros img { width: 100%; height: auto; display: block; }


/* ============ Logos SVG ============ */
.gtsvgwrap { display: inline-block; line-height: 0; color: var(--gt-negre); }
.gtsvgwrap svg { width: 100%; height: auto; display: block; }
.gtsvg--theproject { width: clamp(120px, 12.4vw, 179px); }

/* ============ Skyline del peu ============ */
.gtsky { color: var(--gt-negre); width: 100%; }
.gtsky svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ============ Ajustos sobre Elementor i el kit ============ */
/* Res no pot eixamplar la pàgina: els carrusels fan scroll dins seu */
.gt-proxims, .gt-escenaris, .gt-noticies, .gt-banda, .gt-club { overflow: hidden; max-width: 100vw; }
.gt-proxims .e-con, .gt-escenaris .e-con, .gt-proxims .elementor-widget, .gt-escenaris .elementor-widget { min-width: 0; }
.gt-w100, .gt-proxims .elementor-widget-shortcode, .gt-escenaris .elementor-widget-shortcode { width: 100%; max-width: 100%; }
.gt-escenaris .gt-esc-px { flex: none; width: clamp(180px, 26vw, 374px) !important; }
.gte { overflow: hidden; }
@media (max-width: 1024px) { .gte { overflow-x: auto; } }

/* Logos: que cap max-width:100% d'Elementor els encongeixi */
.elementor-widget-shortcode:has(.gtlogo), .elementor-widget-shortcode:has(.gtsvgwrap) { flex: none; }
.gtlogo img, .gtsvgwrap svg { max-width: none !important; }
.gt-peu .gtlogo img { width: clamp(220px, 28vw, 407px); }

/* El kit pinta el text de blanc: a les seccions blanques, negre */
.gt-proxims, .gt-noticies, .gt-patros, .gt-peu { color: var(--gt-negre); }
.elementor .gtn a.gtn__item, .elementor .gtn a.gtn__item .gtn__titol, .elementor .gtn a.gtn__item .gtn__data { color: var(--gt-negre); }
.elementor .gtn a.gtn__item:hover .gtn__titol { color: var(--e-global-color-gt02); }
.elementor .gtn a.gtn__gran, .elementor .gtn a.gtn__gran span { color: #fff; }
.elementor .gtx a.gtx__card, .elementor .gtx a.gtx__card span:not(.gtbtn) { color: #fff; }   /* la fletxa (.gtbtn) té els colors de botons.css */
.elementor .gte a.gte__sala { color: #fff; }

/* Imatges que han d'omplir la caixa encara que WP hi posi width/height */
.gtn .gtn__img, .gtx .gtx__img, .gtp .gtp__img { max-width: none !important; height: 100% !important; width: 100% !important; }

/* Punts de la portada: fora l'estil de botó del kit */
.gtp .gtp__punt, .gtp .gtp__punt:hover, .gtp .gtp__punt:focus { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; min-height: 0; border-radius: 0; }
.gtp .gtp__punt:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Capçalera: menú, cercador, xarxes i idioma */
.gt-cap .gt-cap-menu a, .gt-cap .gt-cap-menu .menu-item > a { font-size: 15px !important; font-weight: 500; letter-spacing: 0; }
.gtw-socs { display: flex !important; flex-direction: row; align-items: center; gap: 14px; }
.gtw-socs .gtsoc { display: inline-flex; width: 20px; height: 20px; }
.gtw-socs .gtsoc svg { width: 100%; height: 100%; fill: currentColor; }
.gt-cap .gt-cap-idioma, .gt-cap .gt-cap-cerca, .gt-cap .gt-cap-soc { flex: none; }
.gt-cap .gt-cap-dreta { min-width: 0; }
.gt-cap .elementor-widget-guitar-menu.gt-cap-menu { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; }

/* Títol d'escenaris: salta de línia com al disseny */
.gt-esc-titol { max-width: 960px; }
.gt-escenaris .e-con { min-width: 0; }

/* Peu */
.gt-peu .gt-peu-menu .gtmenu .gtmenu__llista, .gt-peu .gt-peu-menu .gtmenu--vertical .gtmenu__llista { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px 22px !important; }
.gt-peu .gtw-socs { flex-direction: row !important; }
.gt-peu .gtlang, .gt-peu .gtlang summary, .gt-peu .gtlang__opt, .gt-peu .gtcerca, .gt-peu .gtcerca__obrir { color: var(--gt-negre) !important; border-color: currentColor !important; }
.gt-peu .gtlang__menu { background: #fff !important; }
.gt-peu-menu a { font-size: 15px !important; font-weight: 500; color: var(--gt-negre) !important; }
.gt-peu-menu a:hover { color: var(--e-global-color-gt02) !important; }

/* ============ Reduïr moviment ============ */
@media (prefers-reduced-motion: reduce) {
	.gtp__bar, .gtp__nom span, .gt-cap, .gtp__cortina { transition: none !important; }
	.gtp__slide.is-active .gtp__img { animation: none; transform: none; }
}

/* ============ Controls dels carrusels (fletxes + barra) ============ */
.gtx__peu-ctl { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); margin-top: 22px; padding-right: var(--gt-lat); }
.gtx__peu-ctl .gtx__barra { flex: 1; margin-top: 0; }
.gtx__fletxes, .gte__ctl { display: flex; gap: 10px; flex: none; }
/* fletxes anterior/següent: botons nav M només d'icona (botons.css); la de tornar, la mateixa fletxa girada */
.gtx__fl { width: 60px; }
.gtx__fl--ant .gtpill__fl { scale: -1 1; }
.gtx.sense-scroll .gtx__fletxes { display: none; }
.gte__ctl { padding: 28px var(--gt-lat) 0; }
@media (min-width: 1025px) { .gte__ctl { display: none; } }
.gtx__track:focus-visible { outline: 2px solid var(--gt-negre); outline-offset: 4px; }

/* Capçalera: el bloc de la dreta s'adapta (Elementor posa 100% als contenidors interiors) */
.gt-cap > .e-con-inner > .gt-cap-dreta, .gt-cap > .gt-cap-dreta { --width: auto; width: auto !important; flex: 1 1 0 !important; min-width: 0 !important; }
.elementor .gt-esc-titol { max-width: min(960px, 100%) !important; }

/* Peu: la columna esquerra té amplada pròpia (si no, Elementor l'encongeix a 0 i tot s'apila) */
.gt-peu .gt-peu-esq > .elementor-widget, .gt-peu .gt-peu-esq .e-con > .elementor-widget { flex: 0 0 auto; width: auto; max-width: 100%; }
.gt-peu .gt-peu-esq .gt-peu-menu { width: 100% !important; }
.gt-peu .gtw-socs { flex-wrap: nowrap !important; width: max-content; }
.gt-peu .gtmenu__llista { width: 100% !important; }
.gt-peu .gtmenu__llista > li { width: auto !important; list-style: none; }
.gte__nom span { display: inline-block; }

/* ============ Repàs QA (12-nov) ============ */
/* Columnes que s'han d'encongir: si no, el carrusel i el skyline surten de la pantalla */
.gt-proxims .gt-proxims-cos, .gt-peu .gt-peu-dreta { flex: 1 1 0 !important; width: auto !important; --width: auto; min-width: 0 !important; max-width: 100%; }
@media (max-width: 1024px) { .gt-proxims .gt-proxims-cos, .gt-peu .gt-peu-dreta { flex: 0 0 auto !important; width: 100% !important; } }
.elementor-location-footer, .gt-peu { overflow-x: clip; }
.gtsky { max-width: 100%; }

/* Escenaris: el botó tanca el carrusel, a la dreta de tot, a l'altura de les franges */
.gte__final { flex: none; align-self: flex-end; display: flex; align-items: center; height: clamp(44px, 4.2vw, 61px); padding-left: clamp(32px, 4vw, 64px); }
/* la secció fixada queda a sota; el que ve després la tapa com una targeta */
.gt-escenaris { position: relative; z-index: 1; }
.gt-club, .gt-noticies, .gt-patros { position: relative; z-index: 2; }
.elementor-location-footer { position: relative; z-index: 2; }
@media (max-width: 1024px) { .gt-escenaris .gt-esc-px { width: clamp(160px, 30vw, 260px) !important; } .elementor .gt-esc-titol { max-width: 100% !important; } }

/* Portada al mòbil: el nom pot fer dues línies; sense punts a les pantalles molt estretes */
.gtp { touch-action: pan-y; }
@media (max-width: 767px) {
	.gtp__nom { white-space: normal; font-size: 24px; line-height: 1.02; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 480px) { .gtp__punts { display: none; } }

/* Zones de toc de 44 px */
.gtp .gtp__punt { height: 44px; }
.gt-peu-menu .gtmenu__llista a { display: inline-block; padding: 10px 0; }
.gtw-socs .gtsoc { width: 40px !important; height: 40px !important; padding: 10px; box-sizing: border-box; }
.gtw-socs { gap: 4px !important; }

/* Capçalera mòbil/tauleta: cercador i idioma, i el menú a la dreta de tot */
@media (max-width: 1024px) {
	.gt-cap .gt-cap-cerca { order: 1; }
	.gt-cap .gt-cap-idioma { order: 2; }
	.gt-cap .gt-cap-menu { order: 3; }
	.gt-cap .gtmenu { display: flex; justify-content: flex-end; }
}

/* Propers concerts a la tauleta: una sola fila */
@media (min-width: 768px) and (max-width: 1024px) { .gtx { --card: 38vw; } .gtx__track { grid-template-rows: var(--card); } }

/* Club al mòbil: el text sobre una zona fosca */
@media (max-width: 767px) { .gt-club::before { background-image: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.8) 100%) !important; opacity: 1 !important; } }

/* Patrocinadors: full sencer a l'escriptori, per blocs al mòbil */
.gtpatros__gran img { width: 100%; max-width: 1264px; height: auto; display: block; }
.gtpatros__mobil { display: none; }
@media (max-width: 767px) {
	.gtpatros__gran { display: none; }
	.gtpatros__mobil { display: grid; gap: 20px; }
	.gtpatros__mobil img { width: 100%; height: auto; display: block; }
}

/* capa fosca que cau sobre escenaris mentre la secció següent la tapa */
.gte__tapa { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }

/* Títol d'escenaris: la columna s'encongeix (si no, a 1280 el títol surt per la dreta) */
@media (min-width: 1025px) { .gt-escenaris .gt-esc-cap { flex: 1 1 0 !important; width: auto !important; --width: auto; min-width: 0 !important; } }
/* Vel superior: quan la secció és més alta que la pantalla i està fixada, el tall de dalt es fon en negre */
.gte__vel { position: absolute; left: 0; right: 0; top: var(--gt-retall, 0); height: 18vh; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .5s var(--gt-ease);
	background: linear-gradient(180deg, #121212 0%, rgba(18,18,18,.88) 40%, rgba(18,18,18,0) 100%); }
.gt-escenaris.is-fix .gte__vel { opacity: 1; }

/* mentre la secció està fixada, cada dibuix té capa pròpia: el traç repinta només el seu edifici */
.gt-escenaris.is-fix .gte__dib { will-change: transform; }

/* ============ Pantalles grans: tot alineat a la mateixa reixeta ============ */
@media (min-width: 1025px) { .elementor .gt-proxims { padding-left: calc(106px + var(--gt-cont)) !important; } }

/* ============ Notícies (més compactes i ordenades) ============ */
.gtn { grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: clamp(24px, 2.8vw, 48px); align-items: start; }
.gtn__gran { aspect-ratio: 16 / 10; }
.gtn__gran .gtn__titol { font-size: clamp(26px, 2.6vw, 42px); line-height: .95; }
.gtn__txt { right: 14%; }
.gtn__llista { justify-content: flex-start; gap: 0; }
.elementor .gtn a.gtn__item { grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(18,18,18,.12); }
.elementor .gtn a.gtn__item:first-child { padding-top: 0; border-top: 0; }
.gtn__item .gtn__titol { font-size: 16px; line-height: 1.22; }
.gtn__item .gtn__data { font-size: 12px; opacity: .6; }
.elementor .gtn a.gtn__totes { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 0; color: var(--gt-negre); font-family: var(--gt-font); font-weight: 500; font-size: 16px; text-decoration: none; border-top: 1px solid rgba(18,18,18,.12); width: 100%; }
.gtn__totes .gtpill__fl { width: 28px; height: 11px; transition: transform .35s var(--gt-ease); }
.gtn__totes:hover .gtpill__fl { transform: translateX(4px); }
@media (max-width: 900px) { .gtn { grid-template-columns: 1fr; } }

/* ============ Patrocinadors: tot l'ample del contingut ============ */
.gtpatros__gran img { width: 100%; max-width: none; }

/* ============ Peu ============ */
.gt-peu .gt-peu-fila1 { width: 100%; }
.gt-peu .gt-peu-dreta { flex: 0 1 58% !important; width: 58% !important; max-width: 820px; min-width: 0 !important; margin-left: auto; }
.gt-peu .gt-peu-esq { flex: 0 1 auto !important; width: auto !important; max-width: none !important; }
.gt-peu .gt-peu-fila2 { width: 100%; border-top: 1px solid var(--gt-negre); }
.gtsky svg { overflow: hidden; }
.gt-peu .gtlogo img { width: clamp(200px, 22vw, 340px); }
@media (max-width: 767px) { .gt-peu .gt-peu-dreta { width: 100% !important; flex-basis: 100% !important; margin-left: 0; } }

/* Escenaris: sense GSAP o amb moviment reduït, a l'escriptori el carril també es recorre (scroll + fletxes) */
@media (min-width: 1025px) {
	html:not(.gt-anim) .gte { overflow-x: auto; scrollbar-width: none; }
	html:not(.gt-anim) .gte__ctl { display: flex; }
}
.gte__nom { clip-path: none; }

/* Peu: eines a la dreta de tot; logos en una fila a 1440 */
.gt-peu .gt-peu-fila2 .gt-peu-menu { flex: 0 1 auto !important; width: auto !important; }
.gt-peu .gt-peu-eines { margin-left: auto; }
.gt-peu .gt-peu-dreta { flex-basis: 54% !important; width: 54% !important; }
.gt-peu .gtlogo img { width: clamp(190px, 19vw, 320px); }
@media (max-width: 767px) { .gt-peu .gt-peu-eines { margin-left: 0; } .gt-peu .gt-peu-dreta { flex-basis: 100% !important; width: 100% !important; } }

/* Peu, fila de baix: menú en una línia i eines a la dreta de tot */
@media (min-width: 768px) {
	.gt-peu .gt-peu-fila2 .gt-peu-menu { flex: 0 0 auto !important; }
	.gt-peu .gt-peu-fila2 .gtmenu__llista { flex-wrap: nowrap !important; }
	.gt-peu .gt-peu-eines { flex: 0 0 auto !important; width: auto !important; --width: auto; margin-left: auto !important; }
}

/* Escenaris: sense cap transició pròpia (Elementor en posa al transform dels contenidors i el pin «rellisca» en tornar) */
.gt-escenaris, .gt-escenaris.e-con { transition: none !important; }

/* Patrocinadors: a la mida del disseny, no més grans */
.gtpatros__gran img { width: 100%; max-width: 1264px; }

/* ============ Notícies v2: la gran a l'esquerra i quatre targetes 2x2 a la dreta ============ */
.gtn { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(16px, 1.8vw, 28px) !important; align-items: stretch !important; }
.gtn .gtn__gran { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto !important; min-height: 100%; }
.gtn .gtn__gran .gtn__titol { font-size: clamp(26px, 2.5vw, 40px); }
.gtn .gtn__txt { right: 12%; }
.elementor .gtn a.gtn__card { display: flex; flex-direction: column; gap: 14px; color: var(--gt-negre); text-decoration: none; }
.gtn__foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.gtn__foto img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; transition: transform 1.1s var(--gt-ease); }
.gtn__card:hover .gtn__foto img { transform: scale(1.025); }
.gtn__ctxt { display: flex; flex-direction: column; gap: 6px; }
.gtn__card .gtn__data { font-size: 12px; color: rgba(18,18,18,.6); }
.gtn__card .gtn__titol { font-size: 16px; line-height: 1.25; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.elementor .gtn a.gtn__card:hover .gtn__titol { color: var(--e-global-color-gt02); }
@media (max-width: 1024px) {
	.gtn { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.gtn .gtn__gran { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10 !important; min-height: 0; }
}
@media (max-width: 600px) {
	.gtn { grid-template-columns: 1fr !important; gap: 0 !important; }
	.gtn .gtn__gran { margin-bottom: 20px; }
	.elementor .gtn a.gtn__card { flex-direction: row; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(18,18,18,.12); }
	.gtn__foto { flex: 0 0 112px; aspect-ratio: 1; }
}
/* capçalera de la secció: títol i botó a la mateixa línia */
.gt-not-cap { width: 100%; }

/* ============ Patrocinadors: rejilla a tot l'ample; títols i línies estirats, logos a la seva mida ============ */
.gtpat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) clamp(24px, 2.4vw, 40px); width: 100%; font-family: var(--gt-font); }
.gtpat--2, .gtpat--3 { grid-column: span 2; }
.gtpat__t { margin: 0 0 clamp(18px, 1.8vw, 26px); padding-bottom: 10px; border-bottom: 1.5px solid var(--gt-negre); color: var(--gt-negre); font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.gtpat__l img { display: block; height: auto; max-width: 100%; }
@media (max-width: 767px) {
	.gtpat { grid-template-columns: 1fr; gap: 32px; }
	.gtpat--2, .gtpat--3 { grid-column: auto; }
}

/* ============ Notícies v3: totes amb el títol sobre la foto i més juntes ============ */
.gtn { gap: 12px !important; }
.elementor .gtn a.gtn__card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; background: #222; }
.gtn__card .gtn__foto { position: absolute; inset: 0; aspect-ratio: auto; }
.gtn__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.gtn__card .gtn__ctxt { position: absolute; z-index: 1; left: clamp(14px, 1.3vw, 20px); right: clamp(14px, 1.3vw, 20px); bottom: clamp(12px, 1.2vw, 18px); gap: 6px; }
.elementor .gtn a.gtn__card .gtn__data { color: rgba(255,255,255,.8); font-size: 12px; }
.elementor .gtn a.gtn__card .gtn__titol { color: #fff; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.15; -webkit-line-clamp: 3; }
.elementor .gtn a.gtn__card:hover .gtn__titol { color: #fff; }
@media (max-width: 600px) {
	.gtn { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	.gtn .gtn__gran { grid-column: 1 / -1; margin-bottom: 0; }
	.elementor .gtn a.gtn__card { flex-direction: column; padding: 0; border-top: 0; aspect-ratio: 1; }
	.gtn__card .gtn__foto { flex: none; }
	.elementor .gtn a.gtn__card .gtn__titol { font-size: 14px; }
}

/* La secció que ve després d'escenaris puja una pantalla abans: tapa la secció fixada com una targeta */
@media (min-width: 1025px) { .elementor .gt-cobreix { margin-top: -100vh !important; } }

/* Nom de la portada: espai per als traços que baixen (g, j, p) dins la màscara de l'animació */
.gtp__nom { line-height: 1.15; padding-bottom: .12em; margin-bottom: -.12em; }

/* ============ Escenaris amb sticky (sense pin de GSAP) ============ */
.gte-pega { display: contents; }
.gt-escenaris.gte-sticky { overflow: clip !important; }                 /* hidden trencaria el sticky; clip no */
.gt-escenaris.gte-sticky > .gte-pega { display: flex; flex-direction: column; gap: var(--row-gap, 64px); position: sticky; z-index: 1; width: 100%; }
.gt-escenaris.gte-sticky > .gte-espai { flex: none; width: 100%; pointer-events: none; }
.gte-pega .gte__vel { top: 0; }

/* ============ Peu: el skyline baixa una mica per sota de la línia, com al disseny (sense tallar la torre) ============ */
/* 27-nov, dibuix nou (196.98 x 67.43): uns 4.2 unitats queden sota el terra. En escriptori fa el 87,3 % de la caixa,
   així els edificis tenen la mateixa mida que abans (n'hi ha un menys); en mòbil, tota l'amplada.
   El marge en % es calcula sobre l'amplada de la caixa: 4.23 / 196.98 = 2.147 % de l'SVG. */
.gtsky svg { overflow: visible; margin-bottom: -2.147%; }
@media (min-width: 768px) { .gtsky svg { width: 87.3%; margin-left: auto; margin-bottom: -1.875%; } }

/* ============ Portada: el nom no talla les lletres que baixen ============ */
.gtp__nom { line-height: 1.2; padding-bottom: .16em; margin-bottom: 0; }
.gtp__noms { padding-top: .1em; }

/* ============ Propers concerts: sempre encaixa ============
   Escriptori: tres columnes exactes a dues files, fins al marge dret de la reixeta; les fletxes passen de tres en tres
   i el carril s'encaixa a cada targeta. El títol vertical s'escala perquè faci la mateixa alçada que la rejilla. */
.gtx { container-type: inline-size; }
.gtx__track { scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.gtx__card { scroll-snap-align: start; }
@media (min-width: 1025px) {
	.elementor .gt-proxims { padding-right: var(--gt-lat) !important; }
	.gtx__track { --card: calc(100cqw / 3); grid-template-rows: repeat(2, var(--card)); grid-auto-columns: var(--card); }
	.gtx__peu-ctl { padding-right: 0; }
	.gt-proxims .gt-proxims-titol { width: auto !important; --width: auto; flex: none !important; }
	.gt-proxims .gt-vertical .elementor-heading-title { font-size: clamp(56px, 5.4vw, 96px) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) { .gtx__track { --card: calc(100cqw / 2.4); grid-template-rows: var(--card); grid-auto-columns: var(--card); } }
@media (max-width: 767px) { .gtx__track { --card: calc(100cqw / 1.25); grid-template-rows: var(--card); grid-auto-columns: var(--card); } }

/* La franja de la portada no s'anima en carregar: només en canviar d'artista */
.gtp:not(.js-y) .gtp__bar { transition: none; }

/* Alçada de la capçalera calculada igual que la capçalera (padding + logo): el mateix valor des del primer moment */
:root { --gt-cap-h: calc(50px + clamp(150px, 15vw, 210px) * .2816); }
@media (max-width: 1024px) { :root { --gt-cap-h: calc(42px + clamp(150px, 15vw, 210px) * .2816); } }
@media (max-width: 767px) { :root { --gt-cap-h: calc(34px + 150px * .2816); } }

/* Text de la franja de la portada: color propi (versió 2: negre i blanc trencats) */
.gtp .gtp__bar { color: var(--gtp-t, #fff); transition: transform 1.1s cubic-bezier(.65, 0, .25, 1), background-color .6s var(--gt-ease), color .6s var(--gt-ease); }
.gtp--neutre .gtp__punt i { background: color-mix(in srgb, var(--gtp-t) 35%, transparent); }
.gtp--neutre .gtp__punt i::after { background: var(--gtp-t); }

/* ============ Propers concerts v3 ============
   Tres columnes senceres dins la reixeta i un tros de la quarta que surt per la dreta (convida a lliscar).
   Fletxes sobre la mateixa parrilla quan hi passes el ratolí; a sota, només la barra. */
@media (min-width: 1025px) {
	.elementor .gt-proxims { padding-right: 0 !important; align-items: flex-start !important; }
	.gtx__track { --card: calc((100cqw - var(--gt-lat)) / 3); }
	.gtx__peu-ctl { padding-right: var(--gt-lat) !important; }
	.gt-proxims .gt-proxims-titol { height: var(--gtx-h, auto) !important; justify-content: flex-end !important; align-self: flex-start !important; }
}
.gtx { position: relative; }
.gtx__nav {
	position: absolute; z-index: 3; top: calc(var(--gtx-h, 100%) / 2); transform: translateY(-50%);
	width: 60px; height: 60px; border-radius: 50% !important; border: 0 !important; padding: 0 !important;
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	background: rgba(18,18,18,.82) !important; color: #fff !important; opacity: 0; pointer-events: none;
	transition: opacity .3s var(--gt-ease), background-color .3s var(--gt-ease), transform .3s var(--gt-ease);
}
.gtx__nav .gtpill__fl { width: 26px; height: 11px; }
.gtx__nav--ant { left: 16px; }
.gtx__nav--ant .gtpill__fl { transform: rotate(180deg); }
.gtx__nav--seg { right: calc(var(--gt-lat) + 16px); }
.gtx:hover .gtx__nav:not(:disabled), .gtx__nav:focus-visible { opacity: 1; pointer-events: auto; }
.gtx__nav:hover { background: #121212 !important; transform: translateY(-50%) scale(1.04); }
.gtx__nav:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: none), (max-width: 1024px) { .gtx__nav { display: none !important; } .gtx__peu-ctl { padding-right: var(--gt-marge) !important; } }

/* Botó «Veure» de la portada (nav M de botons.css): contorn i relleno del color del text de la franja,
   i en passar-hi el text pren el color de la franja */
.gtp .gtp__veure { --gtbtn-tx: var(--gtp-t, #f2efe9); --gtbtn-vora: var(--gtp-t, #f2efe9); --gtbtn-ple: var(--gtp-t, #f2efe9); --gtbtn-tx-ple: var(--gtp-c, #1c1c1c); --gtbtn-anella: var(--gtp-t, #f2efe9); }

/* ============ VERSIÓ 2: negre i blanc trencats a tota la pàgina (body.gt-v2) ============ */
body.gt-v2 { --gt-negre: #1c1c1c; --gt-blanc: #f2efe9; background-color: #1c1c1c !important; }
/* fons */
.gt-v2 .gt-proxims, .gt-v2 .gt-noticies, .gt-v2 .gt-patros, .gt-v2 .gt-peu { background-color: #f2efe9 !important; }
.gt-v2 .gt-escenaris { background-color: #1c1c1c !important; }
.gt-v2 .gt-cap.is-solid { background-color: rgba(28,28,28,.96); }
body.gt-v2:not(.gt-amb-portada) .gt-cap { background-color: #1c1c1c; }
/* títols i textos */
.gt-v2 .gt-proxims .elementor-heading-title, .gt-v2 .gt-noticies .elementor-heading-title, .gt-v2 .gt-patros, .gt-v2 .gt-peu { color: #1c1c1c !important; }
.gt-v2 .gt-escenaris .elementor-heading-title, .gt-v2 .gt-club .elementor-heading-title, .gt-v2 .gtbanda, .gt-v2 .gt-escenaris { color: #f2efe9 !important; }
.gt-v2 .gtbanda__g, .gt-v2 .gtgarabat, .gt-v2 .gte__dib, .gt-v2 .elementor .gte a.gte__sala, .gt-v2 .gte__nom span { color: #f2efe9; }
.gt-v2 .gte__terra, .gt-v2 .gte__nom { border-color: rgba(242,239,233,.85); }
.gt-v2 .elementor .gtx a.gtx__card, .gt-v2 .elementor .gtx a.gtx__card span:not(.gtbtn) { color: #f2efe9; }
.gt-v2 .elementor .gtn a.gtn__gran, .gt-v2 .elementor .gtn a.gtn__gran span, .gt-v2 .elementor .gtn a.gtn__card .gtn__titol { color: #f2efe9; }
.gt-v2 .elementor .gtn a.gtn__card .gtn__data { color: rgba(242,239,233,.8); }
/* capçalera i peu */
.gt-v2 .gt-cap .gtmenu a, .gt-v2 .gt-cap .gtsoc, .gt-v2 .gt-cap .gtlang, .gt-v2 .gt-cap .gtlang summary, .gt-v2 .gt-cap .gtcerca, .gt-v2 .gt-cap .gtcerca__obrir, .gt-v2 .gt-cap .gtmenu__burger { color: #f2efe9 !important; border-color: currentColor; }
.gt-v2 .gt-peu a, .gt-v2 .gt-peu .gtsoc, .gt-v2 .gt-peu .gtlang, .gt-v2 .gt-peu .gtlang summary, .gt-v2 .gt-peu .gtcerca, .gt-v2 .gt-peu .gtcerca__obrir, .gt-v2 .gtsky, .gt-v2 .gtsvgwrap { color: #1c1c1c !important; }
.gt-v2 .gt-peu .gtlang__menu { background: #f2efe9 !important; }
.gt-v2 .gtx__nav { background: rgba(28,28,28,.85) !important; color: #f2efe9 !important; }
.gt-v2 .gtx__nav:hover { background: #1c1c1c !important; }
/* línies i barres neutres */
.gt-v2 .gtpat__t { border-color: #1c1c1c; color: #1c1c1c; }
.gt-v2 .gt-peu .gt-peu-fila2 { border-color: #1c1c1c; }

/* Versió 2, restes: text de les píndoles (el color d'enllaç del kit hi passava per sobre), tapa i vel d'escenaris,
   capes fosques de les fotos i fletxes del mòbil, tot amb el negre i el blanc trencats */
.gt-v2 .gte__tapa { background: #1c1c1c; }
.gt-v2 .gte__vel { background: linear-gradient(180deg, #1c1c1c 0%, rgba(28,28,28,.88) 40%, rgba(28,28,28,0) 100%); }
.gt-v2 .gt-cap::before { background: linear-gradient(180deg, rgba(28,28,28,.62) 0%, rgba(28,28,28,.34) 50%, rgba(28,28,28,0) 100%); }
.gt-v2 .gtx__card::after { background: linear-gradient(180deg, rgba(28,28,28,.42) 0%, rgba(28,28,28,0) 34%, rgba(28,28,28,0) 66%, rgba(28,28,28,.5) 100%); }
.gt-v2 .gtn__gran::after { background: linear-gradient(180deg, rgba(28,28,28,0) 35%, rgba(28,28,28,.62) 100%); }
.gt-v2 .gtn__card::after { background: linear-gradient(180deg, rgba(28,28,28,0) 38%, rgba(28,28,28,.72) 100%); }
.gt-v2 .gt-banda::before { background-image: linear-gradient(90deg, rgba(28,28,28,.62) 0%, rgba(28,28,28,.38) 100%) !important; }
.gt-v2 .gt-club::before { background-image: linear-gradient(90deg, rgba(28,28,28,.78) 15%, rgba(28,28,28,.05) 85%) !important; }
@media (max-width: 767px) { .gt-v2 .gt-club::before { background-image: linear-gradient(180deg, rgba(28,28,28,.3) 0%, rgba(28,28,28,.8) 100%) !important; } }
.gt-v2 .gtp .gtp__punt:focus-visible { outline-color: var(--gtp-t); }

/* Nom de l'artista: només s'anima en entrar i en sortir. Quan el que ha sortit torna a la seva posició
   d'espera (a sota) ho fa sense transició, si no creuava la franja per sobre del nom nou */
.gtp__nom span { transition: none; }
.gtp__nom.is-active span { transition: transform .8s var(--gt-ease) .55s; }
.gtp__nom.is-sortint span { transition: transform .8s var(--gt-ease) 0s; }

/* 16-nov · Botó «Entrades» de la capçalera (proticketing): botó compra M de botons.css */
.gt-cap .gt-cap-entr { flex: none; }
/* Tauleta: amb el menú sencer, Entrades al final; amb el menú plegat, just abans de la hamburguesa */
@media (max-width: 1024px) {
	.gt-cap .gt-cap-entr { order: 5; }
	.gt-cap:has(.gtmenu.is-compacte) .gt-cap-entr { order: 3; }
	.gt-cap:has(.gtmenu.is-compacte) .gt-cap-menu { order: 4; }
}
/* Al mòbil no hi cap tot: el cercador i l'idioma queden dins del menú (ja hi eren) i a la barra hi ha logo, Entrades i menú */
@media (max-width: 767px) {
	.gt-cap .gt-cap-cerca, .gt-cap .gt-cap-idioma { display: none !important; }
}

/* 16-nov · Vídeo de la home (aftermovie): foto fixa amb la píndola al mig; en prémer, el vídeo ocupa el mateix lloc */
.gt-video { position: relative; overflow: hidden; max-width: 100vw; }
.gtv { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gtv__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.gtv::after { content: ""; position: absolute; inset: 0; background: rgba(18,18,18,.28); pointer-events: none; transition: opacity .45s var(--gt-ease); }
.gtv__play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); margin: 0; }   /* botó nav M: botons.css */
.gtv.is-clicable { cursor: pointer; }
.gtv iframe, .gtv video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; }
.gtv.is-on::after { opacity: 0; }
.gt-v2 .gt-video { background-color: #1c1c1c !important; }
.gt-v2 .gtv::after { background: rgba(28,28,28,.28); }

/* 16-nov · Actualitat fora de la home: la tira de píxels que la separava del Club es queda sola, com a separador */
.gt-sep { position: relative; z-index: 2; overflow: hidden; max-width: 100vw; }
.gt-v2 .gt-sep { background-color: #f2efe9 !important; }

/* 16-nov · Versió 2 a la home: desplegable d'idioma (a /inici-v2/ no sortia, no té castellà) i fons del vídeo */
.gt-v2 .gtv { background: #1c1c1c; }
.gt-v2 .gt-cap .gtlang__menu { background: #1c1c1c !important; border-color: rgba(242,239,233,.35) !important; box-shadow: 0 6px 20px rgba(28,28,28,.35); }
.gt-v2 .gt-cap .gtlang__opt { color: #f2efe9 !important; }
.gt-v2 .gt-peu .gtlang__menu { border-color: #1c1c1c !important; }

/* ============ Portada: opció A (franja fixa) i opció B (panell), 18-nov ============ */
/* A: la franja sempre a baix (la foto s'acaba on comença la franja), una mica més alta. */
.gtp--fixa { --bar: clamp(108px, 10.8vw, 156px); }
.gtp--fixa .gtp__nom { font-size: clamp(32px, 4.6vw, 68px); }
@media (max-width: 767px) {
	.gtp--fixa { --bar: 116px; }
	.gtp--fixa .gtp__nom { font-size: 29px; }
}
/* B: panell translúcid tipus Razzmatazz, a baix a l'esquerra, sense ocupar tota l'amplada.
   Agafa el to de cada artista (negre o blanc trencat) amb transparència i desenfocament. */
.gtp__dada { display: none; }
.gtp--panell .gtp__bar,
.gtp--panell.js-y .gtp__bar {
	top: auto !important; bottom: clamp(24px, 5.5vh, 64px); left: var(--gt-lat); right: auto;
	width: min(860px, calc(100% - 2 * var(--gt-lat))); height: auto;
	transform: none !important;
	flex-direction: column; align-items: stretch; justify-content: flex-start; gap: clamp(20px, 2.2vw, 32px);
	padding: clamp(22px, 2.4vw, 38px) clamp(22px, 2.8vw, 44px) clamp(20px, 2.2vw, 32px);
	background: color-mix(in srgb, var(--gtp-c) 56%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.05); backdrop-filter: blur(16px) saturate(1.05);
	border: 1px solid color-mix(in srgb, var(--gtp-t) 16%, transparent);
	overflow: hidden;
}
.gtp--panell .gtp__noms { flex: none; width: 100%; padding-top: 0; }
.gtp--panell .gtp__nom {
	white-space: normal; text-overflow: clip;
	font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.02em;
	padding-bottom: .1em;
}
.gtp--panell .gtp__nom span { display: block; }
.gtp--panell .gtp__dada {
	display: block; margin: 0 0 .7rem;
	font-size: clamp(15px, 1.2vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: 0;
	font-variant-numeric: tabular-nums;
}
.gtp--panell .gtp__ctl { width: 100%; justify-content: space-between; }
@media (max-width: 767px) {
	.gtp--panell .gtp__bar,
	.gtp--panell.js-y .gtp__bar { left: 16px; right: 16px; width: auto; bottom: 16px; padding: 20px 20px 16px; gap: 16px; }
	.gtp--panell .gtp__nom { font-size: 30px; display: block; -webkit-line-clamp: unset; }
	.gtp--panell .gtp__nom span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ============ Landing d'Escenaris: llista de totes les sales ============ */
.gtsl { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(28, 28, 28, .25); font-family: var(--gt-font); }
.gtsl li { margin: 0; border-bottom: 1px solid rgba(28, 28, 28, .25); }
.elementor .gtsl a.gtsl__it, .gtsl a.gtsl__it {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 48px);
	padding: clamp(18px, 2vw, 28px) 0; color: #1c1c1c; text-decoration: none;
}
.gtsl__nom { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; transition: transform .45s var(--gt-ease); }
.gtsl__adr { font-size: 16px; line-height: 1.45; color: rgba(28, 28, 28, .72); }
.gtsl__fl { width: 64px; }   /* botó S d'icona: botons.css */
.gtsl a.gtsl__it:hover .gtsl__nom, .gtsl a.gtsl__it:focus-visible .gtsl__nom { transform: translateX(12px); }
.gtsl a.gtsl__it:focus-visible { outline: 2px solid #1c1c1c; outline-offset: 4px; }
@media (max-width: 767px) {
	.elementor .gtsl a.gtsl__it, .gtsl a.gtsl__it { grid-template-columns: minmax(0, 1fr) auto; }
	.gtsl__adr { grid-column: 1; grid-row: 2; }
	.gtsl__fl { grid-row: 1 / span 2; grid-column: 2; }
}
.gt-sales { position: relative; z-index: 2; }
.gt-v2 .gt-sales { background-color: #f2efe9 !important; color: #1c1c1c; }
.gt-v2 .gt-sales .elementor-heading-title { color: #1c1c1c !important; }
@media (prefers-reduced-motion: reduce) { .gtsl__nom { transition: none; } }

/* ============ Portada: el nom no tapa cares (home.js, encaixa), 18-nov ============ */
/* A: la foto s'acaba on comença la franja (la franja no tapa res de la foto). */
.gtp--fixa .gtp__slides { bottom: var(--bar); }
/* B: el panell va al costat on no hi ha cares (o a dalt, sota la capçalera, si a baix no cap).
   El canvi de costat es fa amagat: el panell s'esvaeix mentre passa la cortina. */
.gtp--panell .gtp__bar { transition: opacity .35s ease, background-color .6s var(--gt-ease), color .6s var(--gt-ease) !important; }
.gtp--panell.is-tapa .gtp__bar { opacity: 0; }
.gtp--panell.js-y[data-costat="dreta"] .gtp__bar { left: auto; right: var(--gt-lat); }
.gtp--panell.js-y[data-costat="dalt"] .gtp__bar { top: calc(var(--gt-cap-h, 96px) + 16px) !important; bottom: auto; }
@media (max-width: 767px) {
	.gtp--panell.js-y[data-costat="dreta"] .gtp__bar { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gtp--panell .gtp__bar { transition: none !important; } }

/* Gruix de línia igual a tots els dibuixos de sales (home.js, gruixos). La landing va a guitar/sales/sales.css. */
.gt-sw * { stroke-width: calc(var(--sw) * 1px); }

/* Portada opció A (franja fixa), 18-nov: franja de vidre com el panell de l'opció B. La foto torna a arribar fins a baix
   (es veu desenfocada darrere la franja) i home.js (encaixa) tracta la franja com a obstacle: no hi deixa cap cara a sota. */
.gtp--fixa .gtp__slides { bottom: 0; }
.gtp--fixa .gtp__bar {
	background: color-mix(in srgb, var(--gtp-c) 56%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.05); backdrop-filter: blur(16px) saturate(1.05);
	border-top: 1px solid color-mix(in srgb, var(--gtp-t) 16%, transparent);
}

/* =====================================================================================
   24-nov-2026 · REVISIÓ MÒBIL (capçalera, portada, carrusels, escenaris, patrocinadors, peu)
   Pensat per al telèfon: capçalera d'una sola línia de 64 px, res que depengui del hover,
   zones de toc de 44 px, carrils que s'encaixen per targeta i res de scroll lateral de la pàgina.
   ===================================================================================== */

/* ---------- Capçalera ---------- */
/* Amplada del logo i marge lateral de la capçalera en un sol lloc (el panell del menú en fa servir els mateixos) */
:root { --gt-logo-w: clamp(150px, 15vw, 210px); --gt-cap-px: 90px; }
@media (max-width: 1024px) { :root { --gt-cap-px: 40px; } }
.gt-cap .gtlogo img { width: var(--gt-logo-w); }

/* Tauleta i mòbil (menú plegat): cercador, idioma, ENTRADES i la hamburguesa junts a la dreta.
   La llista del menú es queda al DOM (el widget la mesura) però no ocupa lloc: plegat des del primer moment. */
@media (max-width: 1024px) {
	.gt-cap .elementor-widget-guitar-menu.gt-cap-menu { flex: 0 0 auto !important; width: auto !important; }
	.gt-cap .gtmenu__espai { flex: 0 0 0px !important; width: 0; overflow: clip; }
	.gt-cap .gtmenu__llista { position: absolute; top: 0; left: 0; visibility: hidden; pointer-events: none; }
	.gt-cap .gtmenu__burger { display: flex !important; }
	.gt-cap .gt-cap-entr { order: 3 !important; }
	.gt-cap .gt-cap-menu { order: 4 !important; }
}

/* Mòbil (i mòbil en horitzontal): 64 px, logo, ENTRADES i hamburguesa en una línia de 320 a 767 px */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) {
	/* amb viewport-fit=cover (fitxa de concert) la capçalera baixa sota la barra d'estat de l'iPhone */
	:root { --gt-cap-h: calc(64px + env(safe-area-inset-top, 0px)); }
	.elementor-location-header .gt-cap.e-con.e-flex {
		--padding-top: calc(10px + env(safe-area-inset-top, 0px)); --padding-bottom: 10px;
		--padding-left: max(var(--gt-cap-px), env(safe-area-inset-left));
		--padding-right: max(var(--gt-cap-px), env(safe-area-inset-right));
		min-height: var(--gt-cap-h);
	}
	.gt-cap > .e-con-inner { flex-wrap: nowrap !important; gap: 12px !important; }
	.gt-cap .gt-cap-dreta { flex-wrap: nowrap !important; gap: 8px !important; justify-content: flex-end !important; }
	/* la hamburguesa té 44 × 44 però la icona s'alinea amb el marge dret */
	.gt-cap .gtmenu__burger { margin-right: -13px; }
	.gt-cap.is-solid .gtlogo img { transform: none; }   /* sense salts: el logo no canvia de mida en fer scroll */
}
@media (max-width: 767px) {
	:root { --gt-logo-w: clamp(112px, 33vw, 136px); --gt-cap-px: 16px; }
}
@media (min-width: 768px) and (max-width: 1024px) and (max-height: 500px) {
	:root { --gt-logo-w: 128px; --gt-cap-px: 24px; }
}

/* Mentre el menú o el cercador són oberts: la capçalera no s'amaga ni es mou */
html.gt-bloq-menu .gt-cap, html.gt-bloq-cerca .gt-cap { transform: none; }

/* ---------- Portada [gt_hero] ---------- */
/* La foto (picture, amb la vertical al mòbil) fa de pòster i d'LCP; el vídeo hi va a sobre i apareix quan ja corre.
   Amb «menys moviment», estalvi de dades o xarxa lenta, el vídeo no es baixa: queda la foto. */
.gth__media picture { position: absolute; inset: 0; display: block; }
.gth--video .gth__media .gth__vid { opacity: 0; transition: opacity .8s var(--gt-ease); }
.gth--video .gth__media .gth__vid.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gth--video .gth__media .gth__vid { transition: none; } }
/* Mòbil en horitzontal: la portada cap a la pantalla i el titular es veu sense fer scroll */
@media (orientation: landscape) and (max-height: 500px) {
	.gth { height: max(300px, 100svh); }
	.gth__tit { font-size: clamp(28px, 4.4vw, 44px); padding-bottom: 24px; }
}

/* ---------- Propers concerts: el carril s'encaixa a cada targeta, també amb el marge ---------- */
@media (max-width: 1024px) {
	.gtx__track { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
}

/* ---------- Escenaris al mòbil i a la tauleta ----------
   Sense sticky ni ScrollTrigger: és un carril que es llisca amb el dit i s'encaixa a cada sala (amb el marge
   de la reixeta). Sota, el botó «Veure escenaris» sempre a la vista; les fletxes només amb ratolí. */
@media (max-width: 1024px) {
	.gte { scroll-snap-type: x mandatory; scroll-padding-inline: var(--gt-lat); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
	.gte__sala { scroll-snap-align: start; }
	.gte__final { display: none; }
	.gte__ctl { justify-content: space-between; align-items: center; gap: 16px; }
}
@media (min-width: 1025px) { .gte__ctl .gte__ctl-boto { display: none !important; } }   /* a l'escriptori el botó tanca el carril */
.gte__fletxes { display: flex; gap: 10px; flex: none; }
@media (max-width: 1024px) and (hover: none) { .gte__fletxes { display: none; } }

/* ---------- Patrocinadors (mostra) al mòbil: els grups petits, de dos en dos ---------- */
@media (max-width: 767px) {
	.gtpat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	.gtpat--1, .gtpat--2, .gtpat--3 { grid-column: 1 / -1; }
	.gtpat__t { font-size: 13px; line-height: 1.3; min-height: 2.6em; display: flex; align-items: flex-end; }
	.gtpat--1 .gtpat__t, .gtpat--2 .gtpat__t, .gtpat--3 .gtpat__t { min-height: 0; }
}

/* ---------- Patrocinadors reals (CPT, guitar_hn_patros_reals). Maqueta de la captura definitiva (25-nov) ----------
   Grups en fila (títol petit a sobre, sense filet), repartits a tot l'ample; Espais en una fila sencera; l'últim grup
   («Projecte desenvolupat…») va a la dreta. Cada logo porta la seva alçada (--h, per àrea al PHP). */
.gtpat.gtpat--real { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.2vw, 32px); grid-template-columns: none; }
.gtpat--real .gtpat__g { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; padding: 0; }
.gtpat--real .gtpat__g--tot { flex: 1 1 100%; }
.gtpat--real .gtpat__g:last-child { margin-left: auto; align-items: flex-end; text-align: right; }
.gtpat--real .gtpat__t { margin: 0 0 12px; padding: 0; border: 0; min-height: 0; display: block; font-size: 13px; line-height: 1.3; font-weight: 400; letter-spacing: .01em; color: #1c1c1c; }
.gtpat--real .gtpat__l { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(18px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.gtpat--real .gtpat__g--tot .gtpat__l { justify-content: space-between; }
.gtpat--real .gtpat__l li { margin: 0; padding: 0; list-style: none; }
.gtpat--real .gtpat__l img { display: block; width: auto; height: var(--h, 32px); max-width: 100%; object-fit: contain; }
.gtpat--real .gtpat__a { display: block; border-radius: 2px; transition: opacity .2s ease; }
.gtpat--real .gtpat__a:hover { opacity: .6; }
.gtpat--real .gtpat__a:focus-visible { outline: 2px solid #1c1c1c; outline-offset: 6px; }
@media (max-width: 1024px) {
	.gtpat.gtpat--real { justify-content: flex-start; column-gap: 36px; }
	.gtpat--real .gtpat__g--tot .gtpat__l { justify-content: flex-start; }
	.gtpat--real .gtpat__g:last-child { margin-left: 0; align-items: flex-start; text-align: left; }
}
@media (max-width: 767px) {
	.gtpat.gtpat--real { gap: 26px 28px; }
	.gtpat--real .gtpat__l { gap: 14px 22px; }
	.gtpat--real .gtpat__l img { height: calc(var(--h, 32px) * .85); }
}
@media (prefers-reduced-motion: reduce) { .gtpat--real .gtpat__a { transition: none; } }

/* ---------- Peu: zones de toc de 44 px; el codi d'idioma, llegible (feia 12 px) ---------- */
.gt-peu .gtlang summary, .gt-peu .gtlang__opt, .gt-peu .gtlang__solo { font-size: 15px !important; }
.gt-peu-menu .gtmenu__llista a { padding: 13px 0 !important; }
.gtw-socs .gtsoc { width: 44px !important; height: 44px !important; padding: 12px; }
.gt-peu .gtsvglink { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 767px) {
	.gt-peu .gt-peu-menu .gtmenu .gtmenu__llista { gap: 0 24px !important; }
	.gt-peu .gtw-socs { margin-left: -12px; }   /* la icona (no la seva zona de toc) s'alinea amb el text */
	/* el desplegable d'idioma del peu s'obre cap amunt: a baix de tot de la pàgina no hi ha lloc */
	.gt-peu .gtlang__menu { top: auto !important; bottom: calc(100% + .5rem); }
}

/* ---------- Traços que es dibuixen (24-nov, rendiment) ----------
   pathLength="1" ve del servidor (guitar_hn_trac) o el posa home.js; aquí, l'estat inicial amagat, només amb animació
   (html.gt-anim el posa home.js quan hi ha GSAP i no hi ha «menys moviment»). Un selector per etiqueta: el navegador
   els classifica per etiqueta i no els prova a cada element de la pàgina. */
html.gt-anim .gt-trac path, html.gt-anim .gt-trac line, html.gt-anim .gt-trac polyline, html.gt-anim .gt-trac polygon,
html.gt-anim .gt-trac rect, html.gt-anim .gt-trac circle, html.gt-anim .gt-trac ellipse { stroke-dasharray: 1 2; stroke-dashoffset: 1; }

/* =====================================================================================================
   Animacions v3 (home.js v3, 24-nov-2026). Sense GSAP: classes que posa un IntersectionObserver.
   - html.gt-anim: el posa l'arrencada de la capçalera abans de pintar (sense «menys moviment» ni editor).
   - .is-dins: el bloc ja és a la pantalla. --gt-i: ordre dins del bloc. --gt-d: retard propi (píxels, skyline).
   - Entrades: opacity + translate/transform (les mou el compositor, no el fil principal).
   - html.gt-viu: home.js ja funciona. Si no arribés a arrencar, als 3 s tot es veu (gt-mostra).
   - 25-nov, revisió: les entrades són animacions (@keyframes només amb «from»: van de l'estat amagat a l'estat
     propi de l'element) i no transicions. Així l'estat final no el posa cap regla d'aquí: el gir de .gt-vertical,
     les transicions de :hover i l'opacitat de cada element queden com sense moviment. Quan l'animació acaba, home.js
     hi posa .gt-fet i ja no li toca res (els selectors de l'animació porten :not(.gt-fet)).
   Un selector per element (classificats per classe/etiqueta): res de :is() llargs a la dreta.
   ===================================================================================================== */
@keyframes gt-mostra { to { opacity: 1; filter: none; translate: none; clip-path: none; stroke-dashoffset: 0; } }
@keyframes gt-mostra-px { to { opacity: 1; transform: none; } }
@keyframes gt-e-entra { from { opacity: 0; translate: 0 18px; } }
@keyframes gt-e-pixel { from { opacity: 0; transform: rotateX(-90deg); } }

/* -- entrades: estat inicial (fins que el bloc és a la pantalla). Els títols partits en paraules (.gt-amb-partit) no
   pugen sencers: hi pugen les paraules («Paraules», a baix) -- */
html.gt-anim .gt-anim-titol:not(.is-dins):not(.gt-amb-partit) .elementor-heading-title,
html.gt-anim .gt-anim-text:not(.is-dins):not(.gt-amb-partit),
html.gt-anim [data-gtx]:not(.is-dins) .gtx__card,
html.gt-anim .gtn:not(.is-dins) .gtn__gran,
html.gt-anim .gtn:not(.is-dins) .gtn__card,
html.gt-anim .gt-banda:not(.is-dins) .gtbanda__t,
html.gt-anim [data-gtsales] .gtsala:not(.is-dins) .gtsala__info > * { opacity: 0; translate: 0 18px; }
/* -- entrades: a la pantalla -- */
html.gt-anim .gt-anim-titol.is-dins:not(.gt-amb-partit) .elementor-heading-title:not(.gt-fet),
html.gt-anim .gt-anim-text.is-dins:not(.gt-amb-partit):not(.gt-fet),
html.gt-anim [data-gtx].is-dins .gtx__card:not(.gt-fet),
html.gt-anim .gtn.is-dins .gtn__gran:not(.gt-fet),
html.gt-anim .gtn.is-dins .gtn__card:not(.gt-fet),
html.gt-anim .gt-banda.is-dins .gtbanda__t:not(.gt-fet),
html.gt-anim [data-gtsales] .gtsala.is-dins .gtsala__info > :not(.gt-fet) { animation: gt-e-entra .7s cubic-bezier(.33, 1, .68, 1) backwards; }
html.gt-anim .gt-anim-text.is-dins:not(.gt-amb-partit):not(.gt-fet) { animation-delay: 80ms; }
html.gt-anim [data-gtx].is-dins .gtx__card:not(.gt-fet) { animation-delay: calc(var(--gt-i, 0) * 40ms); }
html.gt-anim .gtn.is-dins .gtn__gran:not(.gt-fet),
html.gt-anim .gtn.is-dins .gtn__card:not(.gt-fet) { animation-delay: calc(var(--gt-i, 0) * 60ms); }
html.gt-anim .gt-banda.is-dins .gtbanda__t:not(.gt-fet) { animation-duration: .8s; }
html.gt-anim .gt-banda.is-dins .gtbanda__l2 .gtbanda__t:not(.gt-fet) { animation-delay: 120ms; }
html.gt-anim [data-gtsales] .gtsala.is-dins .gtsala__info > :not(.gt-fet) { animation-delay: calc(var(--gt-i, 0) * 60ms); }

/* -- traços d'un sol cop (garabats de la banda, garabat sol, skyline del peu): el CSS de .gt-trac els amaga -- */
html.gt-anim .gt-banda.is-dins .gt-trac path,
html.gt-anim .gtgarabat.is-dins path, html.gt-anim .gtgarabat.is-dins line, html.gt-anim .gtgarabat.is-dins polyline,
html.gt-anim .gtsky.is-dins path {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset .7s cubic-bezier(.33, 1, .68, 1) var(--gt-d, 0ms);
}
html.gt-anim .gt-banda.is-dins .gtbanda__l1 .gt-trac path { transition-delay: 250ms; }
html.gt-anim .gt-banda.is-dins .gtbanda__l2 .gt-trac path { transition-delay: 550ms; }
html.gt-anim .gtsky.is-dins path { transition-duration: .6s; }   /* només si no hi ha canvas (navegadors sense Path2D) */
/* skyline dibuixat al canvas (home.js, 25-nov): mentre es dibuixa, el canvas a sobre; en acabar, el SVG sencer i quiet */
.gtsky { position: relative; }
.gtsky .gtsky__cv { position: absolute; left: auto; right: 0; top: 0; display: block; pointer-events: none; }   /* 30-nov: a la dreta, com l'SVG (87,3 % alineat a la dreta): abans es dibuixava desplaçat i saltava en acabar */
html.gt-anim .gtsky.is-fet path { stroke-dashoffset: 0; transition: none; }

/* -- traços lligats al scroll de la landing d'escenaris (home.js els pinta): estat inicial i franja de color -- */
html.gt-anim [data-gtsales] .gtsala__dib path, html.gt-anim [data-gtsales] .gtsala__dib line, html.gt-anim [data-gtsales] .gtsala__dib polyline,
html.gt-anim [data-gtsales] .gtsala__dib polygon, html.gt-anim [data-gtsales] .gtsala__dib rect, html.gt-anim [data-gtsales] .gtsala__dib circle,
html.gt-anim [data-gtsales] .gtsala__dib ellipse { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
html.gt-anim [data-gtsales] .gtsala__color { transform: scaleX(0); }

/* -- píxels: entren girant, cadascun amb el seu retard (--gt-d) -- */
html.gt-anim [data-pixels] .gtpx__in { perspective: 600px; }
html.gt-anim [data-pixels]:not(.is-dins) i { opacity: 0; transform: rotateX(-90deg); }
html.gt-anim [data-pixels].is-dins i:not(.gt-fet) { animation: gt-e-pixel .6s cubic-bezier(.33, 1, .68, 1) var(--gt-d, 0ms) backwards; }

/* -- si home.js no arrenca: als 3 s, tot visible -- */
html.gt-anim:not(.gt-viu) .gt-anim-titol .elementor-heading-title,
html.gt-anim:not(.gt-viu) .gt-anim-text,
html.gt-anim:not(.gt-viu) [data-gtx] .gtx__card,
html.gt-anim:not(.gt-viu) .gtn .gtn__gran,
html.gt-anim:not(.gt-viu) .gtn .gtn__card,
html.gt-anim:not(.gt-viu) .gt-banda .gtbanda__t,
html.gt-anim:not(.gt-viu) [data-gtsales] .gtsala__info > *,
html.gt-anim:not(.gt-viu) .gt-trac path,
html.gt-anim:not(.gt-viu) .gt-trac line,
html.gt-anim:not(.gt-viu) .gt-trac polyline,
html.gt-anim:not(.gt-viu) .gt-trac polygon,
html.gt-anim:not(.gt-viu) .gt-trac rect { animation: gt-mostra .01s 3s forwards; }
html.gt-anim:not(.gt-viu) [data-pixels] i { animation: gt-mostra-px .01s 3s forwards; }

/* ---------- 25-nov-2026: CAUSA DEL «PARÓN» ----------
   Els SVG grans van en capa pròpia. El skyline del peu (425 traços, 63 KB de traçat, a TOTES les pàgines) i els
   dibuixos de les sales formaven part de la capa general de la pàgina: qualsevol repintat (una entrada, la capçalera,
   el carrusel…) obligava el navegador a reconstruir-ne la llista de dibuix (Commit › UpdateLayer ›
   FinishDisplayItemListUpdate) i la pàgina es quedava 80-150 ms sense pintar, sense cap script pel mig.
   Comprovat amb el panell ?gtdebug=1 i l'experiment capes.mjs: sense el skyline o amb capa pròpia, 0 parons. */
.gtsky svg, .gte__dib svg, .gtbanda__g svg, .gtgarabat svg, .gtsala__dib svg { will-change: transform; }

/* ---------- 24-nov: portada sense titular (titol="") ----------
   Només el vídeo: fora l'ombra de baix, que hi era perquè es llegís el titular. La capçalera porta el seu degradat. */
.gth--net::after { display: none; }

/* ---------- 24-nov: Club amb la foto de Júlia (Razzmatazz) ----------
   Ombra reforçada com a la prova C (DISENO/club-fotos-prueba): capa sencera a l'escriptori (Elementor la deixa a .5)
   i degradat .55-.85 al mòbil, on el text va a sobre de les cares. */
.gt-v2 .gt-club::before { opacity: 1 !important; }
@media (max-width: 767px) { .gt-v2 .gt-club::before { background-image: linear-gradient(180deg, rgba(28,28,28,.55) 0%, rgba(28,28,28,.85) 100%) !important; } }

/* Patrocinadors, Espais: l'última fila no s'escampa (amb space-between quedava un logo al mig i un altre a la dreta) */
.gtpat--real .gtpat__g--tot .gtpat__l::after { content: ""; flex: 1 1 auto; }

/* =====================================================================================================
   Moviment de les pàgines interiors (25-nov-2026, Javi: «que no es vegin tan estàtiques, més dinamisme»)
   Les mateixes receptes a tot arreu (home.js, entrades(), hi posa .is-dins): títols que pugen amb una màscara, franges
   i fotos que s'obren, blocs que pugen i targetes que entren escalonades quan arriben a la pantalla. Amb les
   propietats soltes translate/scale (no trepitgen cap transform que ja hi hagi). Sense html.gt-anim («menys
   moviment», editor) no hi ha res d'això: tot quiet i visible.
   Revisió (25-nov): com a «Animacions v3», animacions que acaben a l'estat propi de l'element i després .gt-fet. Abans
   la màscara dels títols es quedava posada (clip-path) i retallava els ovals de Contacte, Concerts, Actualitat i la cerca.
   ===================================================================================================== */
@keyframes gt-e-titol {
	from { translate: 0 .45em; clip-path: inset(100% -1em 0 -1em); }
	to { clip-path: inset(-.5em -1em -.5em -1em); }
}
@keyframes gt-e-bloc { from { opacity: 0; translate: 0 24px; } }
@keyframes gt-e-franja { from { clip-path: inset(0 99% 0 0); } to { clip-path: inset(0); } }
@keyframes gt-e-foto { from { clip-path: inset(8% 6% 8% 6%); } to { clip-path: inset(0); } }
@keyframes gt-e-targeta { from { opacity: 0; translate: 0 22px; } }

/* -- títols de pàgina: pugen darrere d'una màscara. Oberta de sobres pels costats i per sota (els ovals en surten); en
   acabar ja no hi és -- */
html.gt-anim .gtcs__titol:not(.is-dins), html.gt-anim .gtct-cap__titol:not(.is-dins), html.gt-anim .gtact__titol:not(.is-dins),
html.gt-anim .gtres-cap__titol:not(.is-dins), html.gt-anim .gtfe-cap__tit:not(.is-dins), html.gt-anim .gtnt__titol:not(.is-dins),
html.gt-anim .gt404__titol:not(.is-dins), html.gt-anim .gt-v2 .page-header .entry-title:not(.is-dins),
html.gt-anim body.gt-legal h1.elementor-heading-title:not(.is-dins) { translate: 0 .45em; clip-path: inset(100% -1em 0 -1em); }
html.gt-anim .gtcs__titol.is-dins:not(.gt-fet), html.gt-anim .gtct-cap__titol.is-dins:not(.gt-fet), html.gt-anim .gtact__titol.is-dins:not(.gt-fet),
html.gt-anim .gtres-cap__titol.is-dins:not(.gt-fet), html.gt-anim .gtfe-cap__tit.is-dins:not(.gt-fet), html.gt-anim .gtnt__titol.is-dins:not(.gt-fet),
html.gt-anim .gt404__titol.is-dins:not(.gt-fet), html.gt-anim .gt-v2 .page-header .entry-title.is-dins:not(.gt-fet),
html.gt-anim body.gt-legal h1.elementor-heading-title.is-dins:not(.gt-fet) { animation: gt-e-titol 1s cubic-bezier(.22, 1, .36, 1) .1s backwards; }
/* -- blocs: pugen i apareixen -- */
html.gt-anim .gtfe-cap__text:not(.is-dins), html.gt-anim .gtres__tit:not(.is-dins), html.gt-anim .gtfq__titol:not(.is-dins),
html.gt-anim .gtct__tit:not(.is-dins), html.gt-anim .gtcs__cap:not(.is-dins), html.gt-anim .gtres__form:not(.is-dins),
html.gt-anim .gtleg-idx__d:not(.is-dins), html.gt-anim .gtnt__cos:not(.is-dins),
html.gt-anim .metform-form-content:not(.is-dins), html.gt-anim .mde-amics-register-split__form:not(.is-dins) { opacity: 0; translate: 0 24px; }
html.gt-anim .gtfe-cap__text.is-dins:not(.gt-fet), html.gt-anim .gtres__tit.is-dins:not(.gt-fet), html.gt-anim .gtfq__titol.is-dins:not(.gt-fet),
html.gt-anim .gtct__tit.is-dins:not(.gt-fet), html.gt-anim .gtcs__cap.is-dins:not(.gt-fet), html.gt-anim .gtres__form.is-dins:not(.gt-fet),
html.gt-anim .gtleg-idx__d.is-dins:not(.gt-fet), html.gt-anim .gtnt__cos.is-dins:not(.gt-fet),
html.gt-anim .metform-form-content.is-dins:not(.gt-fet), html.gt-anim .mde-amics-register-split__form.is-dins:not(.gt-fet) { animation: gt-e-bloc .9s cubic-bezier(.22, 1, .36, 1) .15s backwards; }
/* -- franja de color (El Festival): s'obre d'esquerra a dreta -- */
html.gt-anim .gtfe-cap__franja:not(.is-dins) { clip-path: inset(0 99% 0 0); }   /* 1 % visible: amb 0 Chrome no la dona per visible i no s'activaria */
html.gt-anim .gtfe-cap__franja.is-dins:not(.gt-fet) { animation: gt-e-franja 1.1s cubic-bezier(.65, 0, .35, 1) .2s backwards; }
/* -- fotos grans: la finestra s'obre en arribar-hi; a dins, la foto es mou una mica amb el scroll (compositor) -- */
html.gt-anim .gtfe-foto:not(.is-dins), html.gt-anim .gtnt-foto:not(.gtnt-foto--petita):not(.is-dins),
html.gt-anim .mde-amics-register-split__info:not(.is-dins) { clip-path: inset(8% 6% 8% 6%); }
html.gt-anim .gtfe-foto.is-dins:not(.gt-fet), html.gt-anim .gtnt-foto:not(.gtnt-foto--petita).is-dins:not(.gt-fet),
html.gt-anim .mde-amics-register-split__info.is-dins:not(.gt-fet) { animation: gt-e-foto 1.3s cubic-bezier(.65, 0, .35, 1) backwards; }
@keyframes gt-foto-pla { from { translate: 0 -3%; } to { translate: 0 3%; } }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.gtfe-foto .gtfe-foto__img, .gtnt-foto:not(.gtnt-foto--petita) .gtnt-foto__img { scale: 1.08; animation: gt-foto-pla linear both; animation-timeline: view(); animation-range: cover; }
	}
}
/* -- píxels del costat del text (El Festival): entren girant, cadascun amb el seu retard -- */
html.gt-anim .gtfe-px { perspective: 600px; }
html.gt-anim .gtfe-px:not(.is-dins) i { opacity: 0; transform: rotateX(-90deg); }
html.gt-anim .gtfe-px.is-dins i:not(.gt-fet) { animation: gt-e-pixel .6s cubic-bezier(.33, 1, .68, 1) var(--gt-d, 0ms) backwards; }
/* -- targetes (notícies, concerts d'arxiu i de la cerca, preguntes): cadascuna en arribar; les que arriben alhora, escalonades -- */
html.gt-anim .gtnc:not(.is-dins), html.gt-anim .gtcs:not([data-gtcs]) .gtcs__card:not(.is-dins), html.gt-anim .gtfq__it:not(.is-dins) { opacity: 0; translate: 0 22px; }
html.gt-anim .gtnc.is-dins:not(.gt-fet), html.gt-anim .gtcs:not([data-gtcs]) .gtcs__card.is-dins:not(.gt-fet),
html.gt-anim .gtfq__it.is-dins:not(.gt-fet) { animation: gt-e-targeta .8s cubic-bezier(.22, 1, .36, 1) calc(var(--gt-i, 0) * 70ms) backwards; }
/* -- si home.js no arrencés: als 3 s, tot visible -- */
html.gt-anim:not(.gt-viu) .gtcs__titol, html.gt-anim:not(.gt-viu) .gtct-cap__titol, html.gt-anim:not(.gt-viu) .gtact__titol, html.gt-anim:not(.gt-viu) .gtres-cap__titol,
html.gt-anim:not(.gt-viu) .gtfe-cap__tit, html.gt-anim:not(.gt-viu) .gtnt__titol, html.gt-anim:not(.gt-viu) .gt404__titol, html.gt-anim:not(.gt-viu) .gt-v2 .page-header .entry-title,
html.gt-anim:not(.gt-viu) body.gt-legal h1.elementor-heading-title,
html.gt-anim:not(.gt-viu) .gtfe-cap__text, html.gt-anim:not(.gt-viu) .gtres__tit,
html.gt-anim:not(.gt-viu) .gtfq__titol, html.gt-anim:not(.gt-viu) .gtct__tit, html.gt-anim:not(.gt-viu) .gtcs__cap, html.gt-anim:not(.gt-viu) .gtres__form,
html.gt-anim:not(.gt-viu) .gtleg-idx__d, html.gt-anim:not(.gt-viu) .gtnt__cos, html.gt-anim:not(.gt-viu) .metform-form-content, html.gt-anim:not(.gt-viu) .mde-amics-register-split__form,
html.gt-anim:not(.gt-viu) .gtfe-cap__franja, html.gt-anim:not(.gt-viu) .gtfe-foto, html.gt-anim:not(.gt-viu) .gtnt-foto, html.gt-anim:not(.gt-viu) .mde-amics-register-split__info,
html.gt-anim:not(.gt-viu) .gtnc, html.gt-anim:not(.gt-viu) .gtcs:not([data-gtcs]) .gtcs__card,
html.gt-anim:not(.gt-viu) .gtfq__it { animation: gt-mostra .01s linear 3s forwards; }
html.gt-anim:not(.gt-viu) .gtfe-px i { animation: gt-mostra-px .01s linear 3s forwards; }

/* =====================================================================================================
   Paraules (25-nov-2026, Javi: «subtítols i textos grans amb entrada, que a la web hi falta vida»)
   home.js (parteix) embolica cada paraula: <gt-w><gt-wi>paraula</gt-wi></gt-w>. Etiquetes pròpies, no <span>: cap regla
   «… span» del web no les toca (amb spans, la franja d'El Festival sortia amb una paraula per línia i el títol
   d'Escenaris, tot rosa). La màscara és el gt-w (clip-path, no overflow: així no canvia la línia base) i la paraula hi
   puja quan el bloc arriba a la pantalla, una darrere l'altra (--gt-w). Quan arriba l'última, home.js (desfes) torna a
   posar el text original. Sense html.gt-anim no es parteix res.
   ===================================================================================================== */
/* abans de partir-los, amagats (si no, es veurien un moment i després desapareixerien) */
html.gt-anim .gtsp__titol:not(.gt-partit), html.gt-anim .gtsf__normes-intro:not(.gt-partit), html.gt-anim .gtsf__tit:not(.gt-partit), html.gt-anim .gtct__intro:not(.gt-partit), html.gt-anim .mde-amics-register-split__intro:not(.gt-partit), html.gt-anim .gtf-rec__tit:not(.gt-partit), html.gt-anim .gtfe-banner__t:not(.gt-partit), html.gt-anim .gthist__tit:not(.gt-partit), html.gt-anim .gtnt-mes__tit:not(.gt-partit), html.gt-anim .gtfe-cap__franja > span:not(.gt-partit) { opacity: 0; }
gt-w { display: inline-block; clip-path: inset(-.22em -.12em -.26em -.12em); }
gt-wi { display: inline-block; }
@keyframes gt-e-paraula { from { translate: 0 115%; } }
html.gt-anim .gt-partit gt-wi { translate: 0 115%; }
html.gt-anim .is-dins .gt-partit gt-wi, html.gt-anim .gt-partit.is-dins gt-wi {
	translate: none;
	animation: gt-e-paraula .9s cubic-bezier(.22, 1, .36, 1) calc(80ms + var(--gt-w, 0) * 38ms) backwards;
}
/* la franja d'El Festival: primer s'obre, després hi pugen les paraules */
html.gt-anim .gtfe-cap__franja.is-dins gt-wi { animation-delay: calc(500ms + var(--gt-w, 0) * 38ms); }
/* si home.js no arrencés: als 3 s, tot visible */
html.gt-anim:not(.gt-viu) .gtsp__titol:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtsf__normes-intro:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtsf__tit:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtct__intro:not(.gt-partit), html.gt-anim:not(.gt-viu) .mde-amics-register-split__intro:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtf-rec__tit:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtfe-banner__t:not(.gt-partit), html.gt-anim:not(.gt-viu) .gthist__tit:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtnt-mes__tit:not(.gt-partit), html.gt-anim:not(.gt-viu) .gtfe-cap__franja > span:not(.gt-partit) { animation: gt-mostra .01s linear 3s forwards; }

/* «La banda sonora de Barcelona» més junta (25-nov, PDF de canvis de la clienta): la segunda línia comença on acaba la
   primera, una mica més avall, amb un cos semblant (abans, «de Barcelona» molt més gran i empesa a la dreta). Mòbil igual. */
@media (min-width: 768px) {
	.gtbanda { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 0 .28em; }
	.gtbanda__l1 { font-size: clamp(40px, 5.8vw, 92px); }
	.gtbanda__l2 { font-size: clamp(44px, 6.4vw, 102px); align-self: flex-start; margin: .5em 0 0; }
}
/* centrada (Javi): el conjunt de les dues línies, al mig de la franja del trencadís */
@media (min-width: 768px) { .gtbanda { justify-content: center; } }

/* «la banda sonora de barcelona» (25-nov, proposta de la clienta, a la nostra manera segons Javi): en minúscules, centrada
   en dues línies, en crema sobre un vidre que desenfoca el trencadís (en lloc del blanc translúcid de la proposta); la
   línia del garabat entre les dues línies i sense l'oval. Substitueix el «més junta» d'abans. */
.gtbanda {
	flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .02em;
	width: fit-content; max-width: 100%; margin: 0 auto; text-transform: lowercase; text-align: center;
	padding: clamp(26px, 3.6vw, 60px) clamp(28px, 5vw, 96px) clamp(30px, 4vw, 70px);
	background: rgba(28, 28, 28, .2); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
}
.gtbanda__l1, .gtbanda__l2 { align-self: center; margin: 0; font-size: clamp(42px, 8.4vw, 132px); }
.gtbanda__g--ovalo { display: none; }
.gtbanda__g--linia { top: -.1em; bottom: auto; left: -3%; right: -3%; }
@media (min-width: 768px) {
	.gtbanda { flex-direction: column; justify-content: center; }
	.gtbanda__l1, .gtbanda__l2 { align-self: center; margin: 0; font-size: clamp(42px, 8.4vw, 132px); }
}

/* Vidre únic de la web (25-nov, Javi: «que tots els vidres siguin el mateix»): el dels banners de capçalera i el panell
   del nom de la fitxa de concert. Gris clar translúcid, vora mínima d'1 px i desenfocament de 12,4 px. També a sales.css. */
.gtbanda {
	background: rgba(201, 201, 201, .31); border: 1px solid rgba(201, 201, 201, .15);
	-webkit-backdrop-filter: blur(12.4px); backdrop-filter: blur(12.4px);
}

/* Targetes de propers concerts: «Ds 16/01» (dia de la setmana, 25-nov). La data no es parteix mai i deixa aire al lloc. */
.gtx__peu { gap: 12px; }
.gtx__peu > span:last-child { flex: none; white-space: nowrap; }

/* Banda sonora com a banner contingut (26-nov, Javi: «en algunes pantalles es veu enorme»): franja més baixa i lletra amb
   sostre (88 px, com els titulars del costat). L'alçada i el farciment d'Elementor (600/460/340 i 110 px) se sobreescriuen
   aquí amb les variables del contenidor: sense tocar _elementor_data (la pàgina CA i l'ES la comparteixen). */
.elementor .e-con.gt-banda { --min-height: clamp(300px, 27vw, 440px); --padding-top: clamp(56px, 5vw, 80px); --padding-bottom: clamp(56px, 5vw, 80px); }
.gtbanda { padding: clamp(18px, 2vw, 34px) clamp(26px, 3.4vw, 64px) clamp(22px, 2.4vw, 40px); }
.gtbanda__l1, .gtbanda__l2 { font-size: clamp(38px, 5.4vw, 88px); }
@media (min-width: 768px) { .gtbanda__l1, .gtbanda__l2 { font-size: clamp(38px, 5.4vw, 88px); } }

/* Banda sonora sense pastilla ni vidre (26-nov, Javi, opció 3 «difuminar menys, enfosquit»): el text directe sobre el
   trencadís, que es desenfoca una mica (6 px) i s'enfosqueix (30 %). Ho fa la capa ::before del contenidor d'Elementor
   (la seva capa de degradat, redefinida aquí; no es toca _elementor_data). */
.gtbanda { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.elementor .e-con.gt-banda::before {
	display: block !important; content: "" !important; position: absolute !important; inset: 0 !important; z-index: 0 !important;
	pointer-events: none; opacity: 1 !important; mix-blend-mode: normal !important;
	background: rgba(28, 28, 28, .3) !important; background-image: none !important;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.elementor .e-con.gt-banda > * { position: relative; z-index: 1; }
/* al mòbil les peces del trencadís es veuen més petites: el mateix desenfocament hi pesa més */
@media (max-width: 767px) { .elementor .e-con.gt-banda::before { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); } }

/* Feedback d'Anna (25-nov), en prova (body.gt-anna): patrocinadors alineats (27-nov, Javi). Cada fila es reparteix a
   tot l'ample com abans (hi cap el mateix) i NOMÉS l'última fila de cada bloc, la dels que queden solts, va centrada.
   Truc: elements en línia amb text-align: justify + text-align-last: center (el PHP hi deixa un espai entre elements).
   Títol centrat sobre els seus logos, i tots els logos d'una fila sobre la mateixa línia del mig. */
@media (min-width: 1025px) {
	body.gt-anna .gtpat.gtpat--real { display: block; text-align: justify; text-align-last: center; }
	body.gt-anna .gtpat--real .gtpat__g,
	body.gt-anna .gtpat--real .gtpat__g:last-child {
		display: inline-flex; flex-direction: column; align-items: center; vertical-align: top;
		margin: 0 8px clamp(28px, 3vw, 44px); text-align: center; text-align-last: auto;
	}
	body.gt-anna .gtpat--real .gtpat__g--tot { display: flex; width: 100%; margin-left: 0; margin-right: 0; }
	body.gt-anna .gtpat--real .gtpat__l { justify-content: center; align-items: center; min-height: 52px; column-gap: 16px; }
	body.gt-anna .gtpat--real .gtpat__g--tot .gtpat__l { display: block; width: 100%; text-align: justify; text-align-last: center; }
	body.gt-anna .gtpat--real .gtpat__g--tot .gtpat__l li { display: inline-block; vertical-align: middle; margin: 10px 12px; }   /* hi caben els mateixos que abans (9 a 1440) */
}

/* Lupa de la capçalera (27-nov, Javi): la regla de dalt (.gt-v2 .gt-cap … .gtcerca__obrir) força el color crema amb
   !important i, en passar-hi el ratolí, el fons també es fa crema: la lupa desapareixia. Al hover i al focus, lupa negra. */
.gt-v2 .gt-cap .gtcerca:not(.gtcerca--txt) .gtcerca__obrir:is(:hover, :focus-visible) { color: #1c1c1c !important; background: #f2efe9 !important; border-color: #f2efe9 !important; }

/* Peu en mòbil (30-nov, Anna): més aire entre el skyline i els apartats (abans el menú quedava enganxat a la línia) */
@media (max-width: 767px) {
	.gt-peu .gt-peu-dreta { margin-top: 16px; }
	.gt-peu .gt-peu-fila2 { --padding-top: 40px; padding-top: 40px !important; }
}

/* ============ Carrusel de fotos = image-carousel d'Elementor (El Festival i Escenaris, 30-nov) ============
   Widget natiu «image-carousel» (Swiper) amb l'etiqueta dinàmica de la galeria, a tot l'ample just sota la franja:
   2 fotos a escriptori, 1 a mòbil, pas automàtic i suau, s'obre en gran amb el lightbox d'Elementor. */
.gt-carrusel .swiper-slide-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gt-carrusel .swiper-wrapper { transition-timing-function: cubic-bezier(.22, .61, .36, 1); }   /* frena suau en arribar */
.gt-carrusel .elementor-swiper-button {
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
	border: 1px solid rgba(242, 239, 233, .6); background: rgba(28, 28, 28, .35); color: #f2efe9;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s;
}
.gt-carrusel .elementor-swiper-button:hover, .gt-carrusel .elementor-swiper-button:focus-visible { background: rgba(28, 28, 28, .6); border-color: #f2efe9; }
.gt-carrusel .elementor-swiper-button-prev { left: clamp(12px, 2vw, 28px); }
.gt-carrusel .elementor-swiper-button-next { right: clamp(12px, 2vw, 28px); }
@media (max-width: 767px) { .gt-carrusel .elementor-swiper-button { width: 44px; height: 44px; } }
/* Càrrega (30-nov): les fotos diferides no es veuen fins que arriben (ni icona trencada ni text alternatiu ni roda),
   i entren amb un fos. Mentrestant, la casella té un fons suau. */
.gt-carrusel .swiper-slide-inner { background: rgba(242, 239, 233, .06); }
.gt-carrusel .swiper-slide-image { transition: opacity .5s ease; color: transparent; }
.gt-carrusel .swiper-slide-image.swiper-lazy:not(.swiper-lazy-loaded) { opacity: 0; }
.gt-carrusel .swiper-lazy-preloader { display: none; }
/* fletxes: color i mida també quan el widget es pinta des del codi (sense el CSS dels controls d'Elementor) */
.gt-carrusel .elementor-swiper-button { font-size: 22px; }
.gt-carrusel .elementor-swiper-button svg { width: 1em; height: 1em; fill: currentColor; }
.gt-carrusel .elementor-swiper-button i { color: inherit; }
.gt-carrusel .elementor-swiper-button.elementor-swiper-button { color: #f2efe9 !important; }   /* Elementor hi posa el seu gris per defecte */
/* Abans que arrenqui el Swiper, Elementor ensenya 3 fotos (var(--e-image-carousel-slides-to-show, 3)) i després salta al
   nombre de debò (1-des, Javi: «carga como menos anchas y luego se ensancha»). El mateix nombre des del principi: */
/* Swiper canvia a 1024 i 767 px (inclosos); el CSS d'Elementor, a 1025 i 768: !important perquè coincideixin a 1024 i 767 */
.gt-carrusel { --e-image-carousel-slides-to-show: 3 !important; }
@media (max-width: 1023px) { .gt-carrusel { --e-image-carousel-slides-to-show: 2 !important; } }
@media (max-width: 766px) { .gt-carrusel { --e-image-carousel-slides-to-show: 1 !important; } }

/* =====================================================================================================
   WAVE (WebAIM), 1-des-2026. WAVE compta com a «contrast molt baix» tot text amb opacity 0 o baixa, encara que
   estigui esperant la seva entrada (per sota de la pantalla, en el seu render no hi arriba mai). Els lectors de
   pantalla i Lighthouse/axe no ho compten. Mateix aspecte, sense fals positiu: l'estat amagat va amb filter
   (WAVE no mesura text amb filtres). Res visible canvia: abans i després, invisible fins que entra.
   ===================================================================================================== */
html.gt-anim .gt-anim-titol:not(.is-dins):not(.gt-amb-partit) .elementor-heading-title,
html.gt-anim .gt-anim-text:not(.is-dins):not(.gt-amb-partit),
html.gt-anim [data-gtx]:not(.is-dins) .gtx__card,
html.gt-anim .gtn:not(.is-dins) .gtn__gran,
html.gt-anim .gtn:not(.is-dins) .gtn__card,
html.gt-anim .gt-banda:not(.is-dins) .gtbanda__t,
html.gt-anim [data-gtsales] .gtsala:not(.is-dins) .gtsala__info > *,
html.gt-anim .gtfe-cap__text:not(.is-dins), html.gt-anim .gtres__tit:not(.is-dins), html.gt-anim .gtfq__titol:not(.is-dins),
html.gt-anim .gtct__tit:not(.is-dins), html.gt-anim .gtcs__cap:not(.is-dins), html.gt-anim .gtres__form:not(.is-dins),
html.gt-anim .gtleg-idx__d:not(.is-dins), html.gt-anim .gtnt__cos:not(.is-dins),
html.gt-anim .metform-form-content:not(.is-dins), html.gt-anim .mde-amics-register-split__form:not(.is-dins),
html.gt-anim .gtnc:not(.is-dins), html.gt-anim .gtcs:not([data-gtcs]) .gtcs__card:not(.is-dins), html.gt-anim .gtfq__it:not(.is-dins),
html.gt-anim .gtsp__titol:not(.gt-partit), html.gt-anim .gtsf__normes-intro:not(.gt-partit), html.gt-anim .gtsf__tit:not(.gt-partit),
html.gt-anim .gtct__intro:not(.gt-partit), html.gt-anim .mde-amics-register-split__intro:not(.gt-partit), html.gt-anim .gtf-rec__tit:not(.gt-partit),
html.gt-anim .gtfe-banner__t:not(.gt-partit), html.gt-anim .gthist__tit:not(.gt-partit), html.gt-anim .gtnt-mes__tit:not(.gt-partit),
html.gt-anim .gtfe-cap__franja > span:not(.gt-partit) { opacity: 1; filter: opacity(0); }
/* els punts «·» del peu legal: el mateix gris, amb filtre en lloc d'opacity */
.guitar-legals .guitar-legals__sep { opacity: 1; filter: opacity(.45); }
/* text només per a lectors de pantalla (retallat a 1 px, no es veu): color i fons propis perquè WAVE no el mesuri
   contra el fons de la secció (heretava el blanc dels enllaços dels patrocinadors sobre el crema) */
.screen-reader-text:not(:focus):not(:focus-within), .elementor-screen-only { color: #1c1c1c !important; background-color: #fff !important; }

/* WAVE, 2a part (1-des): WAVE analitza mentre la pàgina carrega i, si una entrada és a mig fer (opacity entre 0 i 1), la
   compta com a contrast baix («Pròxims concerts», botons de la fitxa de sala). Les entrades animen amb filter en lloc
   d'opacity: es veu exactament igual. */
@keyframes gt-e-entra { from { filter: opacity(0); translate: 0 18px; } }
@keyframes gt-e-bloc { from { filter: opacity(0); translate: 0 24px; } }
@keyframes gt-e-targeta { from { filter: opacity(0); translate: 0 22px; } }
@keyframes gt-mostra-f { to { opacity: 1; filter: none; transform: none; clip-path: none; } }
html.gt-anim body .gtsf-hero .gtsala__info > * { opacity: 1; filter: opacity(0); }
html.gt-anim body .gtsf-hero .gtsala__info > .gtsala__nom { filter: none; }
html.gt-anim body .gtsf-hero.is-dins .gtsala__info > :not(.gtsala__nom) {
	filter: none;
	transition: filter .8s cubic-bezier(.33, 1, .68, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
	transition-delay: calc(300ms + var(--gt-i, 0) * 90ms);
}
html.gt-anim body .gtsf-hero .gtsala__accions { opacity: 1; filter: opacity(0); }
html.gt-anim body .gtsf-hero.is-dins .gtsala__accions { filter: none; transition: filter .6s cubic-bezier(.33, 1, .68, 1) .9s; }
html.gt-anim:not(.gt-viu) body .gtsf-hero .gtsala__info > *,
html.gt-anim:not(.gt-viu) body .gtsf-hero .gtsala__accions { animation: gt-mostra-f .01s linear 3s forwards; }
