/* =========================================================
   PÁGINA DE FOTOS DOS ROLÊS — complementa css/style.css
   ========================================================= */

/* (menu ativo e cortina de entrada ficam em style.css) */

/* ---------- topo ---------- */
.ph { position: relative; padding-block: clamp(150px, 20vw, 240px) clamp(60px, 8vw, 110px); overflow: hidden; }
.ph__pixo {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 0;
  rotate: var(--r); pointer-events: none; opacity: .9;
}
.ph__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -0.01em; margin: 0;
}
.ph__line { display: block; overflow: hidden; padding: .3em 0 .04em; margin-top: -.3em; } /* espaço p/ acentos (TÁ) */
.ph__line > span { display: inline-block; }
.ph__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line);
}
.ph__lead { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; }
@media (max-width: 700px) { .ph__pixo { opacity: .4 !important; } }
.ph__meta { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); font-variant-numeric: tabular-nums; }

/* ---------- lista de álbuns ---------- */
.albums { padding-block: clamp(40px, 6vw, 80px); }
.albums__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.albums__title { margin: 0; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); }
.albums__hint { font-size: 18px; color: var(--chalk); rotate: -3deg; }
.albums__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); }

.acard {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: none; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.acard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall-2); }
.acard__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(.8); transform: scale(1.08);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.acard:hover .acard__media img, .acard.is-active .acard__media img { filter: grayscale(0) brightness(.95); transform: scale(1); }
.acard__badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--chalk); color: var(--ink); padding: 5px 9px;
}
.acard__badge--fixo { background: var(--red); color: var(--chalk); }
.acard__date {
  position: absolute; right: 12px; bottom: 6px; z-index: 1;
  font-family: var(--f-display); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--chalk);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.acard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.acard__title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }
.acard__arrow { font-size: 24px; transition: transform .5s var(--ease), color .3s; }
.acard:hover .acard__arrow { transform: translate(4px, 4px) rotate(45deg); color: var(--red); }
.acard.is-active .acard__arrow { transform: rotate(90deg); color: var(--red); }
.acard__active { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.acard.is-active .acard__active::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }

/* cartão "em breve" */
.acard--soon { cursor: default; }
.acard--soon .acard__media {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  background: repeating-linear-gradient(-45deg, var(--wall) 0 14px, var(--wall-2) 14px 28px);
  outline: 2px dashed var(--line); outline-offset: -12px;
}
.acard__soon { font-family: var(--f-marker); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; rotate: -6deg; text-align: center; }
.acard__soon small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); rotate: 6deg; margin-top: 14px; }

/* ---------- álbum aberto ---------- */
.album { padding-block: clamp(60px, 8vw, 120px) clamp(80px, 10vw, 140px); scroll-margin-top: 70px; }
.album__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px clamp(20px, 3vw, 48px);
  padding-bottom: 22px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line);
}
.album__date { margin: 0; font-family: var(--f-display); font-size: clamp(56px, 8vw, 128px); line-height: .82; font-variant-numeric: tabular-nums; }
.album__title { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 52px); line-height: .95; text-wrap: balance; }
.album__desc { margin: 0; color: var(--smoke); max-width: 52ch; }
.album__count { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); white-space: nowrap; }
@media (max-width: 700px) {
  .album__head { grid-template-columns: 1fr; }
}

/* mosaico — respeita a proporção de cada foto */
.album__grid { columns: 3 320px; column-gap: clamp(12px, 1.4vw, 20px); }
.shot {
  break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 20px);
  display: block; width: 100%; padding: 0; border: 0; background: var(--wall-2);
  position: relative; overflow: hidden; cursor: zoom-in;
}
.shot img { width: 100%; height: auto; display: block; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.15); }
.shot:hover img { transform: scale(1.04); filter: grayscale(0); }
.shot__n {
  position: absolute; left: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--chalk); text-shadow: 0 1px 8px rgba(0,0,0,.8); opacity: 0; transition: opacity .3s;
}
.shot:hover .shot__n, .shot:focus-visible .shot__n { opacity: 1; }
.album__back { margin-top: clamp(24px, 3vw, 40px); }
.album__empty { font-family: var(--f-marker); font-size: 28px; color: var(--smoke); }

/* ---------- chamada ---------- */
.tape--roles { rotate: 1.5deg; transform: none; margin-block: 0; }
/* (.send e rodapé das páginas internas ficam em style.css) */

/* ---------- visualizador ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(8,8,7,.96); }
.lightbox__stage {
  position: relative; flex: 1; margin: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) 12px;
  pointer-events: none;
}
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; }
.lightbox__bar {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}
.lightbox__caption { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--smoke); font-variant-numeric: tabular-nums; }
.lightbox__caption b { color: var(--chalk); font-weight: 500; margin-right: 10px; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__btn {
  width: 48px; height: 48px; border: 1.5px solid var(--chalk); background: transparent; color: var(--chalk);
  font-size: 18px; cursor: pointer; transition: background-color .3s, color .3s;
}
.lightbox__btn:hover { background: var(--chalk); color: var(--ink); }
@media (max-width: 480px) {
  .lightbox__bar { flex-wrap: wrap; }
  .lightbox__caption b { display: block; margin: 0 0 2px; }
  .lightbox__btn { width: 42px; height: 42px; }
}
.lightbox__btn--close:hover { background: var(--red); border-color: var(--red); color: var(--chalk); }

@media (prefers-reduced-motion: reduce) {
  .acard__media img, .shot img { transition: none; }
}
