/* Joves en Acció · capa pròpia sobre l'estil compartit (styles.css, el mateix del web de Logos).
   Per canviar els colors de tot el web n'hi ha prou amb tocar aquestes variables. */
:root {
  --ink: #14233B;
  --ink-2: #1E3557;
  --gold: #6FA8F5;      /* accent (blau del logotip) */
  --gold-ink: #1D4FA8;  /* enllaços i textos d'accent */
  --gold-dot: #2F6FDF;
  --tint: #E4EEFE;
  --paper: #F7F8FB;
  --line: #DDE3EE;
  --line-2: #C9D2E2;
  --on-ink: #D5DEEE;
}
a:hover { color: #123A80; }

/* Capçalera */
.brand img { width: 150px; height: auto; }
.ja-top { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ja-top__soc { display: inline-flex; gap: 10px; margin-right: 14px; vertical-align: middle; }
.ja-top__soc a { color: inherit; display: inline-flex; }
.nav__btn[data-current] { color: var(--gold-ink); }

/* Foto amb text al costat */
.ja-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.ja-split--rev .ja-split__img { order: 2; }
.ja-split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--tint); }
.ja-split__txt h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 12px 0 16px; }
.ja-split__txt > p { color: var(--body); font-size: 18px; }
.ja-split__txt .ticks { margin-top: 18px; }
.ja-h3 { font-size: 22px; margin: 22px 0 6px; }
@media (max-width: 900px) { .ja-split { grid-template-columns: 1fr; gap: 26px; } .ja-split--rev .ja-split__img { order: 0; } }

/* Targetes d'àmbit sense pestanyes (no són botons) */
.ja-amb .amb { cursor: default; min-height: 0; }
.ja-amb .amb span:last-child { color: var(--body); }

/* Tres o cinc accessos */
.ja-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ja-trio--5 { grid-template-columns: repeat(5, 1fr); }
.ja-trio__i { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.ja-trio__i:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 35, 59, .10); color: var(--ink); }
.ja-trio__i h3 { font-size: 22px; }
.ja-trio__i p { color: var(--body); }
@media (max-width: 1100px) { .ja-trio--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ja-trio, .ja-trio--5 { grid-template-columns: 1fr; } }

/* Xifres: 4 columnes */
.ja-stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ja-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ja-stats { grid-template-columns: 1fr; } }

/* Logotips de la xarxa */
.ja-logos { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ja-logos { grid-template-columns: repeat(2, 1fr); } }

/* Etiquetes en fila */
.ja-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ja-chips .tag { font-size: 16px; padding: 8px 14px; }

/* Llista de dades (transparència) */
.ja-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ja-dl li { display: grid; gap: 2px; }
.ja-dl span { font-size: 14px; color: var(--muted); }
.ja-dl b { font-weight: 600; color: var(--ink); }

/* Documents */
.ja-docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ja-docs li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.ja-docs strong { flex: 1; }
.ja-docs em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 720px) { .ja-docs { grid-template-columns: 1fr; } }

/* Fotos pendents: es veu un requadre amb el nom del fitxer que cal pujar */
img.foto.is-ph { object-fit: cover; background: var(--tint); }

/* Pantalles petites */
@media (max-width: 560px) { .ja-top { display: none; } .brand img { width: 124px; } }

/* Ajustos sobre colors fixos de l'estil compartit */
.gal__head p { color: var(--on-ink); }
.gal__head p a { color: #fff; }
.ja-trio > .panel, .two-col > .panel { margin-top: 0; }
.stats::before { border-color: rgba(111, 168, 245, .16); }
.c-card em { color: var(--muted); }

/* ================= INICI destacat: fons animat càlid i jove ================= */
:root { --sun: #FFC542; --coral: #FF7A59; --rose: #FF8FB1; --mint: #3CB98A; }
.ja-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 72px 96px;
  background: linear-gradient(135deg, #FFF7EA 0%, #FFEEDD 38%, #FDF1F4 62%, #EAF2FF 100%); }
.ja-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ja-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.ja-blob.b1 { width: 520px; height: 520px; background: var(--sun); left: -140px; top: -160px; animation: jaFloat1 22s ease-in-out infinite alternate; }
.ja-blob.b2 { width: 460px; height: 460px; background: var(--coral); right: -120px; top: 10%; opacity: .38; animation: jaFloat2 26s ease-in-out infinite alternate; }
.ja-blob.b3 { width: 420px; height: 420px; background: #8FB8FF; left: 30%; bottom: -220px; opacity: .45; animation: jaFloat3 24s ease-in-out infinite alternate; }
.ja-blob.b4 { width: 300px; height: 300px; background: var(--rose); left: 48%; top: -120px; opacity: .3; animation: jaFloat2 30s ease-in-out infinite alternate-reverse; }
@keyframes jaFloat1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes jaFloat2 { to { transform: translate(-120px, 80px) scale(.9); } }
@keyframes jaFloat3 { to { transform: translate(-90px, -110px) scale(1.12); } }
.ja-doodle { position: absolute; width: 40px; height: 40px; opacity: .85; animation: jaBob 7s ease-in-out infinite; }
.ja-doodle.d1 { left: 4%; top: 14%; width: 46px; height: 46px; animation-duration: 9s; }
.ja-doodle.d2 { left: 44%; top: 8%; width: 28px; height: 28px; animation-delay: -2s; }
.ja-doodle.d3 { right: 6%; bottom: 12%; width: 34px; height: 34px; animation-delay: -4s; }
.ja-doodle.d4 { left: 7%; bottom: 10%; width: 70px; height: 24px; animation-duration: 11s; }
.ja-doodle.d5 { right: 40%; bottom: 7%; width: 26px; height: 26px; animation-delay: -1s; }
.ja-doodle.d6 { right: 3%; top: 9%; width: 24px; height: 24px; animation-delay: -5s; }
@keyframes jaBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(12deg); } }
.ja-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ja-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(20,35,59,.08); font-weight: 700; font-size: 15px; color: var(--ink); box-shadow: 0 4px 14px rgba(255,122,89,.12); }
.ja-pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,89,.22); }
.ja-hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; margin: 22px 0 20px; color: var(--ink); }
.ja-hero h1 em { font-style: normal; position: relative; white-space: nowrap; z-index: 0; }
.ja-hero h1 em::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .36em; background: var(--sun); border-radius: 8px; z-index: -1; transform: rotate(-1.5deg); }
.ja-hero .hero__lead { font-size: 20px; color: var(--body); max-width: 560px; }
.ja-hero .hero__ctas { margin-top: 28px; }
.ja-hero__facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ja-hero__facts li { background: rgba(255,255,255,.8); border-radius: 16px; padding: 10px 16px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.2; box-shadow: 0 6px 18px rgba(20,35,59,.06); }
.ja-hero__facts b { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.ja-hero__media { position: relative; }
.ja-hero .hero__slides { position: relative; aspect-ratio: 4 / 5; max-height: 600px; margin-left: auto; border-radius: 36px; overflow: hidden; transform: rotate(2deg); border: 8px solid #fff; box-shadow: 0 30px 60px rgba(20,35,59,.18); background: var(--tint); }
.ja-hero .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.ja-hero .hero__slide.is-on { opacity: 1; }
.ja-sticker { position: absolute; font-weight: 800; font-size: 15px; line-height: 1.15; padding: 12px 16px; border-radius: 18px; box-shadow: 0 10px 24px rgba(20,35,59,.16); }
.ja-sticker--a { left: -22px; bottom: 44px; background: var(--ink); color: #fff; transform: rotate(-6deg); }
.ja-sticker--b { right: -10px; top: 26px; background: var(--sun); color: var(--ink); transform: rotate(6deg); }
@media (max-width: 900px) {
  .ja-hero { padding-block: 40px 64px; }
  .ja-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .ja-hero .hero__slides { max-height: 460px; margin: 0 auto; }
  .ja-sticker--a { left: 4px; } .ja-sticker--b { right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .ja-blob, .ja-doodle { animation: none !important; } }

/* Grups per edat */
.ja-grups { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-top: 18px; }
.ja-grups div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; border-top: 5px solid var(--sun); }
.ja-grups div + div { border-top-color: var(--coral); }
.ja-grups small { display: block; color: var(--muted); font-size: 14px; }
.ja-grups b { font-family: var(--serif); font-size: 28px; color: var(--ink); }
/* Un toc càlid a les seccions */
.eyebrow::before { background: var(--coral); }
@media (max-width: 560px) { .ja-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .ja-hero__facts li { padding: 10px; font-size: 12.5px; } .ja-hero__facts b { font-size: 22px; } }

/* ================= INICI v2 · cel celeste amb els adhesius del Petit Lleure flotant ================= */
.ja-hero { background: linear-gradient(170deg, #A9DDF7 0%, #C8EAFB 42%, #E4F5FE 78%, #F4FBFF 100%); }
.ja-blob.b1 { background: #FFFFFF; opacity: .75; width: 560px; height: 300px; left: -120px; top: -80px; }
.ja-blob.b2 { background: #FFF1A8; opacity: .55; width: 380px; height: 380px; right: -100px; top: -120px; }
.ja-blob.b3 { background: #FFFFFF; opacity: .8; width: 720px; height: 260px; left: 20%; bottom: -150px; }
.ja-st { position: absolute; height: auto; filter: drop-shadow(0 6px 10px rgba(20, 60, 110, .18)); animation: jaSt1 8s ease-in-out infinite; will-change: transform; user-select: none; }
.ja-st:nth-of-type(3n) { animation-name: jaSt2; animation-duration: 10s; }
.ja-st:nth-of-type(3n+1) { animation-name: jaSt3; animation-duration: 12s; }
@keyframes jaSt1 { 0%,100% { transform: translate(0,0) rotate(-6deg); } 50% { transform: translate(6px,-16px) rotate(6deg); } }
@keyframes jaSt2 { 0%,100% { transform: translate(0,0) rotate(5deg); } 50% { transform: translate(-10px,12px) rotate(-7deg); } }
@keyframes jaSt3 { 0%,100% { transform: translate(0,0) rotate(0); } 33% { transform: translate(8px,-10px) rotate(8deg); } 66% { transform: translate(-6px,6px) rotate(-4deg); } }
.ja-st.s1  { width: 74px; left: 1.5%; top: 3%; }
.ja-st.s2  { width: 52px; left: 31%; top: 4%; animation-delay: -2s; }
.ja-st.s3  { width: 44px; left: 47.5%; top: 14%; animation-delay: -4s; }
.ja-st.s4  { width: 72px; right: 1.5%; top: 2%; animation-delay: -1s; }
.ja-st.s5  { width: 50px; right: 27%; top: 3%; animation-delay: -5s; }
.ja-st.s6  { width: 46px; left: 17%; top: 2.5%; animation-delay: -3s; }
.ja-st.s7  { width: 82px; left: 45%; top: 46%; animation-delay: -6s; }
.ja-st.s8  { width: 70px; left: 46%; bottom: 4%; animation-delay: -2.5s; }
.ja-st.s9  { width: 84px; left: 1.5%; bottom: 2%; animation-delay: -1.5s; }
.ja-st.s10 { width: 46px; left: 36%; bottom: 3%; animation-delay: -3.5s; }
.ja-st.s11 { width: 58px; right: 34%; bottom: 1.5%; animation-delay: -4.5s; }
.ja-st.s12 { width: 60px; right: 1%; bottom: 6%; animation-delay: -.5s; }
.ja-st.s13 { width: 58px; right: 1.5%; top: 44%; animation-delay: -5.5s; }
.ja-st.s14 { width: 44px; left: 24%; bottom: 3%; animation-delay: -2.2s; }
.ja-hero .wrap { position: relative; z-index: 1; }
.ja-hero .hero__slides { border-color: #FFFFFF; box-shadow: 0 30px 60px rgba(20, 70, 120, .22); }
.ja-hero__facts li { background: rgba(255,255,255,.88); }
@media (max-width: 900px) {
  .ja-hero { padding-top: 70px; }
  .ja-st { transform-origin: center; }
  .ja-st.s3, .ja-st.s7, .ja-st.s8, .ja-st.s10, .ja-st.s13, .ja-st.s14, .ja-st.s2 { display: none; }
  .ja-st.s1 { width: 52px; } .ja-st.s4 { width: 54px; } .ja-st.s5 { width: 38px; right: 22%; } .ja-st.s6 { width: 36px; left: 22%; }
  .ja-st.s9 { width: 60px; } .ja-st.s11 { width: 44px; right: 40%; } .ja-st.s12 { width: 46px; }
}
@media (prefers-reduced-motion: reduce) { .ja-st { animation: none !important; } }

/* Petit Lleure: horaris, activitats i valors */
.ja-grups { grid-template-columns: repeat(2, minmax(0, 260px)); }
.ja-grups span { display: block; font-weight: 700; color: var(--gold-ink); margin-top: 2px; }
.ja-hora { font-weight: 700; color: var(--gold-ink); margin: -4px 0 6px; }
.ja-pl-logo { width: 210px; height: auto; margin-bottom: 6px; }
.ja-emo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ja-emo span { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.ja-emo i { font-style: normal; font-size: 26px; line-height: 1; }
.ja-emo--big span { padding: 18px; }
.ja-norma { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 780px; }
.ja-logos { grid-template-columns: repeat(4, 1fr); }
.ja-logos .logo-tile img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .ja-emo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ja-emo span { font-size: 14px; padding: 12px; } }
@media (min-width: 901px) {
  .ja-st.s1 { width: 96px; } .ja-st.s2 { width: 64px; } .ja-st.s3 { width: 56px; } .ja-st.s4 { width: 96px; }
  .ja-st.s5 { width: 64px; } .ja-st.s6 { width: 60px; } .ja-st.s7 { width: 100px; } .ja-st.s8 { width: 86px; }
  .ja-st.s9 { width: 104px; } .ja-st.s10 { width: 56px; } .ja-st.s11 { width: 72px; } .ja-st.s12 { width: 78px; }
  .ja-st.s13 { width: 74px; } .ja-st.s14 { width: 56px; }
}

/* ================= v3 · logotip rodó i fons flotant a tota la pàgina ================= */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 64px !important; height: 64px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ja-brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.ja-brand-t b { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.ja-brand-t small { font-size: 12.5px; color: var(--gold-ink); font-weight: 600; }
@media (max-width: 560px) { .brand img { width: 48px !important; height: 48px; } .ja-brand-t b { font-size: 16px; } .ja-brand-t small { display: none; } }

/* Cos de la pàgina: color càlid (diferent del cel celeste de dalt) amb formes que suren */
body { background: #FFF5EA; }
.ja-fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #FFF7EE 0%, #FFF1E2 45%, #FDEFF3 100%); }
.jf { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; will-change: transform; }
.jf1 { width: 420px; height: 420px; background: #FFD36E; left: -120px; top: 12%; animation: jaFloat1 26s ease-in-out infinite alternate; }
.jf2 { width: 380px; height: 380px; background: #FF9C7A; right: -110px; top: 30%; opacity: .32; animation: jaFloat2 30s ease-in-out infinite alternate; }
.jf3 { width: 460px; height: 460px; background: #9FD8C2; left: 25%; bottom: -160px; opacity: .3; animation: jaFloat3 28s ease-in-out infinite alternate; }
.jf4 { width: 300px; height: 300px; background: #FFB3C9; left: 55%; top: -80px; opacity: .3; animation: jaFloat2 34s ease-in-out infinite alternate-reverse; }
.jf5 { width: 260px; height: 260px; background: #C9B8FF; left: 8%; bottom: 8%; opacity: .25; animation: jaFloat1 32s ease-in-out infinite alternate-reverse; }
.jfs { position: absolute; width: 54px; height: auto; opacity: .55; animation: jaSt1 11s ease-in-out infinite; }
.jfs:nth-of-type(even) { animation-name: jaSt2; animation-duration: 14s; }
.jfs1 { left: 2%; top: 22%; } .jfs2 { right: 2.5%; top: 16%; animation-delay: -3s; } .jfs3 { left: 3%; top: 62%; animation-delay: -5s; }
.jfs4 { right: 2%; top: 52%; width: 62px; animation-delay: -2s; } .jfs5 { right: 4%; bottom: 6%; width: 70px; animation-delay: -6s; }
.jfs6 { left: 4%; bottom: 4%; animation-delay: -1s; } .jfs7 { right: 1.5%; top: 80%; width: 46px; animation-delay: -4s; } .jfs8 { left: 1.5%; top: 42%; width: 44px; animation-delay: -7s; }
@media (max-width: 1240px) { .jfs { opacity: .3; width: 40px; } }
@media (max-width: 700px) { .jfs3, .jfs4, .jfs7, .jfs8 { display: none; } }
@media (prefers-reduced-motion: reduce) { .jf, .jfs { animation: none !important; } }
/* les seccions deixen veure el fons; les targetes es mantenen blanques */
.section, .section--tight { background: transparent; }
.header { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
@media (max-width: 700px) { .jfs { opacity: .2; width: 34px; } }
.brand img { width: 76px !important; height: 76px; box-shadow: 0 4px 12px rgba(0,0,0,.14); }
@media (max-width: 560px) { .brand img { width: 58px !important; height: 58px; } }
.ja-intranet { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ja-intranet:hover, .ja-intranet:focus-visible { background: #fff; color: var(--ink); }
@media (max-width: 560px) { .ja-intranet { margin-right: 8px; padding: 4px 10px; font-size: 13px; } }
/* Mosaic «El dia a dia» */
.ja-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.ja-mo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--tint); box-shadow: 0 10px 24px rgba(20,35,59,.10); }
.ja-mo--w { grid-column: span 2; grid-row: span 2; }
.ja-mo--t { }
.ja-mo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ja-mo:hover img { transform: scale(1.04); }
.ja-mo figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; color: var(--ink); }
@media (max-width: 900px) { .ja-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .ja-mo--w { grid-column: span 2; grid-row: span 2; } }
/* «Amb el suport de» Diputació, al costat de Qui som */
.ja-ctas-dip { align-items: center; flex-wrap: wrap; gap: 18px; }
.ja-dip { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; box-shadow: 0 4px 12px rgba(20,35,59,.06); }
.ja-dip small { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ja-dip img { height: 42px; width: auto; display: block; }

/* ================= RENDIMENT (27-nov) =================
   Els difuminats (filter: blur) de taques grans animades i el «backdrop-filter» obligaven el navegador a redibuixar
   tota la pantalla a cada fotograma: el web anava lent. Ara les taques són degradats radials (sense blur), més suaus,
   i només es mouen les petites figures. */
.ja-blob, .jf { filter: none !important; opacity: 1 !important; animation: none !important; will-change: auto !important; }
.ja-blob.b1 { background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,0)); }
.ja-blob.b2 { background: radial-gradient(closest-side, rgba(255,241,168,.7), rgba(255,241,168,0)); }
.ja-blob.b3 { background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.jf1 { background: radial-gradient(closest-side, rgba(255,211,110,.45), rgba(255,211,110,0)); }
.jf2 { background: radial-gradient(closest-side, rgba(255,156,122,.32), rgba(255,156,122,0)); }
.jf3 { background: radial-gradient(closest-side, rgba(159,216,194,.35), rgba(159,216,194,0)); }
.jf4 { background: radial-gradient(closest-side, rgba(255,179,201,.32), rgba(255,179,201,0)); }
.jf5 { background: radial-gradient(closest-side, rgba(201,184,255,.28), rgba(201,184,255,0)); }
.header { backdrop-filter: none !important; background: rgba(255,255,255,.97); }
.ja-st, .jfs { filter: none !important; will-change: auto; }
.ja-hero .hero__slides { box-shadow: 0 18px 36px rgba(20,70,120,.18); }
@media (max-width: 900px) { .jfs { display: none !important; } .ja-st { animation-duration: 14s !important; } }

/* Logo «Amb el suport de» més gran */
.ja-dip { padding: 10px 16px; }
.ja-dip img { height: 92px; width: auto; }
@media (max-width: 560px) { .ja-dip img { height: 76px; } }

/* Fons que suren, ara RÀPIDS: només es mouen amb «transform» (la targeta gràfica ho fa sense esforç),
   sense difuminats ni redibuixos. */
.ja-blob, .jf { will-change: transform !important; transform: translateZ(0); }
.ja-blob.b1 { animation: jaFloat1 22s ease-in-out infinite alternate !important; }
.ja-blob.b2 { animation: jaFloat2 26s ease-in-out infinite alternate !important; }
.ja-blob.b3 { animation: jaFloat3 24s ease-in-out infinite alternate !important; }
.jf1 { animation: jaFloat1 26s ease-in-out infinite alternate !important; }
.jf2 { animation: jaFloat2 30s ease-in-out infinite alternate !important; }
.jf3 { animation: jaFloat3 28s ease-in-out infinite alternate !important; }
.jf4 { animation: jaFloat2 34s ease-in-out infinite alternate-reverse !important; }
.jf5 { animation: jaFloat1 32s ease-in-out infinite alternate-reverse !important; }
.ja-st, .jfs { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .ja-blob, .jf, .ja-st, .jfs { animation: none !important; } }

/* Banda «Amb el suport de» la Diputació: ben visible, just sota la portada */
.ja-suport { background: #fff; border-top: 4px solid #1B7A9C; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(20,35,59,.06); position: relative; z-index: 1; }
.ja-suport .wrap { display: flex; align-items: center; justify-content: center; gap: 36px; padding-block: 26px; flex-wrap: wrap; }
.ja-suport img { height: 130px; width: auto; display: block; }
.ja-suport p { margin: 0; max-width: 360px; font-size: 18px; color: var(--ink); }
@media (max-width: 700px) { .ja-suport .wrap { gap: 12px; padding-block: 18px; text-align: center; } .ja-suport img { height: 104px; } .ja-suport p { font-size: 16px; } }

/* Petit Lleure + «Amb el suport de» Diputació, un al costat de l'altre */
.ja-pl-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.ja-pl-row .ja-pl-logo { margin: 0; }
.ja-pl-dip { height: 104px; width: auto; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 6px 16px rgba(20,35,59,.10); }
@media (max-width: 560px) { .ja-pl-row .ja-pl-logo { width: 160px; } .ja-pl-dip { height: 84px; } }
