/* Widgets da página de bloco (ArariBlocos, 08/11): oficinas, ensaios e desfile, naipes, repertório.
   Mesmas quinas do visual novo: papel 2px, peças e cartões 4px, blocos 8px. */

/* oficinas: cartaz de papel colado com fita, e as tirinhas de "puxe aqui" que levam ao WhatsApp */
.pf-oficinas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px 18px; margin: 8px 0 14px; padding: 10px 4px 0; list-style: none; }
.pf-oficina { position: relative; display: grid; align-content: start; gap: 8px; padding: 26px 18px 0; border-radius: var(--q-papel, 2px); rotate: var(--giro, 0deg);
  background: repeating-linear-gradient(0deg, rgba(120, 96, 50, .035) 0 2px, transparent 2px 5px), #f1e9d6; color: #17130f; box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
.pf-oficina__fita { position: absolute; top: -11px; left: 50%; width: 88px; height: 22px; margin-left: -44px; background: rgba(236, 226, 196, .78); rotate: -3deg; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.pf-oficina__olho { font: 700 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: #b9331a; }
.pf-oficina__tit { font-family: "PF Poster", var(--t-fam); font-weight: 400; font-size: 40px; line-height: .9; text-transform: uppercase; overflow-wrap: anywhere; }
.pf-oficina__o { margin: 0; font-size: 14px; line-height: 1.42; }
.pf-oficina__ficha { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin: 2px 0 0; font: 500 10.5px/1.45 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.pf-oficina__ficha dt { opacity: .55; }
.pf-oficina__ficha dd { margin: 0; font-weight: 700; }
.pf-oficina__vaga { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; padding: 5px 9px; border-radius: var(--q-papel, 2px); background: #17130f; color: #ff9fc6; font: 700 9.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pf-oficina__vaga i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.pf-oficina__tiras { display: flex; margin: 12px -18px 0; padding: 0; border: 0; border-top: 2px dashed rgba(23, 19, 15, .45); background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.pf-oficina__tiras span { flex: 1 1 0; height: 112px; padding: 10px 0; border-left: 2px dashed rgba(23, 19, 15, .28); writing-mode: vertical-rl; rotate: 180deg; text-align: center;
  font: 700 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: #f1e9d6; transition: translate .25s var(--mola), rotate .25s var(--mola); }
.pf-oficina__tiras span:first-child { border-left: 0; }
.pf-oficina__tiras span.is-puxada { visibility: hidden; }
.pf-oficina__tiras:hover span:nth-child(3), .pf-oficina__tiras:focus-visible span:nth-child(3) { translate: 0 5px; rotate: 175deg; }
.pf-oficina__tiras:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }

/* ensaios e desfile */
.pf-desfile { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; margin-bottom: 10px; }
.pf-desfile__olho { font: 600 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--acento); }
.pf-desfile__ensaios ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pf-desfile__ensaios li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 10px; padding: 12px 14px; border-radius: var(--q-1, 4px); box-shadow: inset 0 0 0 1px var(--linha); }
.pf-desfile__ensaios b { font-family: var(--t-fam); font-variation-settings: 'wdth' 70; font-weight: 900; font-size: 20px; line-height: 1; text-transform: uppercase; }
.pf-desfile__ensaios span { font: 700 13px/1 var(--mono); color: var(--acento); }
.pf-desfile__ensaios small { grid-column: 1 / -1; font-size: 13px; color: var(--suave); }
.pf-desfile__aviso { margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--suave); }
.pf-desfile__dia { padding: 16px; border-radius: var(--q-1, 4px); background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: inset 0 0 0 1px var(--linha); }
.pf-desfile__data { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pf-desfile__data b { font-family: var(--t-fam); font-variation-settings: 'wdth' 64; font-weight: 900; font-size: 58px; line-height: .85; color: var(--acento); }
.pf-desfile__data span { display: grid; font-family: var(--t-fam); font-variation-settings: 'wdth' 70; font-weight: 900; font-size: 22px; line-height: .95; text-transform: uppercase; }
.pf-desfile__data span small { font: 500 11px/1.3 var(--mono); color: var(--suave); }
.pf-desfile__data em { margin-left: auto; font: 600 10px/1.3 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.pf-desfile__mapa { display: block; width: 100%; height: auto; margin: 10px 0 6px; color: var(--tx); }
.pf-desfile__paradas { display: grid; gap: 7px; margin: 0 0 8px; padding: 0; list-style: none; }
.pf-desfile__paradas li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; gap: 0 10px; }
.pf-desfile__paradas i { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acento); color: var(--sobre); font: 800 11px/1 var(--mono); font-style: normal; }
.pf-desfile__paradas b { font-size: 14px; }
.pf-desfile__paradas span { font-size: 13px; color: var(--suave); }
@media (max-width: 760px) { .pf-desfile { grid-template-columns: minmax(0, 1fr); } }

/* naipes: os instrumentos desenhados da página de artista (.pf-instrs), com quem coordena e a vaga aberta */
.pf-naipes { align-items: start; gap: 20px 26px; margin-bottom: 10px; }
.pf-naipe { align-content: start; width: 118px; }
.pf-naipe small { margin-top: -4px; font-size: 12px; line-height: 1.3; color: var(--suave); text-align: center; }
.pf-naipe.tem-vaga > b { box-shadow: inset 0 0 0 1.5px var(--acento); color: var(--acento); }
.pf-naipe__vaga { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--q-papel, 2px); background: var(--acento); color: var(--sobre); font: 700 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pf-naipe__vaga i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pf-naipe .pf-regua { white-space: nowrap; padding: 0 10px; }
@media (max-width: 560px) { .pf-naipes { gap: 16px 12px; } .pf-naipe { width: calc((100% - 24px) / 3); } }

/* repertório: folha pautada escrita à mão; o rock marcado de caneta rosa */
.pf-repert { position: relative; margin: 6px 4px 10px; border-radius: var(--q-papel, 2px); rotate: -.6deg; color: #151311; background: #f4efe4; box-shadow: 0 12px 24px rgba(0, 0, 0, .28); }
/* a folha tem a altura de 13 linhas e rola por dentro (repertório de bloco é gigante); as setinhas descem 6 músicas */
.pf-repert__rola { max-height: 442px; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 10px 58px; scrollbar-width: thin; scrollbar-color: rgba(23, 19, 15, .3) transparent;
  background: repeating-linear-gradient(transparent 0 33px, rgba(61, 120, 200, .22) 33px 34px) 0 12px; background-attachment: local; }
.pf-repert__rola:focus-visible { outline: 2px solid #b9331a; outline-offset: -4px; }
.pf-repert.tem-mais .pf-repert__rola { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.pf-repert__pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 14px 12px 58px; border-top: 1px dashed rgba(23, 19, 15, .25); }
.pf-repert__setas { display: flex; gap: 6px; }
.pf-repert__setas[hidden] { display: none; }
.pf-repert__setas button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1.5px solid rgba(23, 19, 15, .5); border-radius: var(--q-1, 4px); background: transparent; color: #151311; font: 700 16px/1 var(--mono); cursor: pointer; }
.pf-repert__setas button:hover:not(:disabled), .pf-repert__setas button:focus-visible { border-color: #b9331a; color: #b9331a; outline: none; }
.pf-repert__setas button:disabled { opacity: .3; cursor: default; }
.pf-repert::before { content: ""; position: absolute; top: 0; bottom: 0; left: 44px; width: 2px; background: rgba(214, 69, 61, .45); }
.pf-repert ol { margin: 0; padding: 0; list-style: none; counter-reset: musica; }
.pf-repert li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-height: 34px; counter-increment: musica; font-family: "PF Pincel", cursive; font-size: 23px; line-height: 34px; }
.pf-repert li::before { content: counter(musica) "."; position: absolute; left: -42px; width: 30px; text-align: right; font-size: 17px; color: #8a2a1a; }
.pf-repert li small { font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.pf-repert .is-rock .pf-repert__m { margin: 0 -5px; padding: 0 5px; background: linear-gradient(176deg, transparent 22%, rgba(255, 128, 182, .8) 24%, rgba(255, 128, 182, .75) 86%, transparent 88%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pf-repert__leg { margin: 0; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-repert__leg .pf-repert__m { font-family: "PF Pincel", cursive; font-size: 15px; letter-spacing: 0; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .pf-oficina__tiras span, .pf-naipe svg { transition: none; } }
