/* Bruno Lopes — BIO PRIME
   Conceito: a luz acende. A cabine é vermelha; a pista que ele cria tem todas as cores.
   Cores amostradas do filme COLLAPSE e da foto de perfil. */

:root {
  /* cor */
  --breu: #0E0405;        /* fundo: sombra do filme, preto com fundo de sangue */
  --fumo: #221012;        /* superfícies e placeholders */
  --osso: #F4ECE4;        /* texto e logotipo */
  --brasa: #B9A29C;       /* texto de apoio (8.4:1 sobre o breu) */
  --rim: #C41A15;         /* ação: luz de recorte do retrato (osso sobre rim 5.1:1) */
  --rim-luz: #E3261F;     /* a mesma luz acesa: banho da pista, sublinhados, selo */
  --linha: rgb(244 236 228 / 0.14);

  /* tipo */
  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-texto: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* motion */
  --m-instant: 90ms;
  --m-fast: 150ms;
  --m-standard: 220ms;
  --m-emphasis: 320ms;
  --m-scene: 480ms;
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-standard: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-fader: cubic-bezier(0.3, 0, 0, 1);    /* como um fader subindo: rápido no começo, assenta no fim */
  --shift: 12px;
  --press-scale: 0.97;

  --gutter: 20px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --shift: 0px;
    --press-scale: 1;
    --m-scene: 200ms;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--breu);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html:has(.player[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--breu);
  color: var(--osso);
  font: 400 17px/1.5 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg { display: block; max-width: 100%; }

h1, h2, p, figure, blockquote { margin: 0; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--osso);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  top: calc(8px + var(--safe-top));
  left: 8px;
  z-index: 50;
  padding: 12px 16px;
  background: var(--osso);
  color: var(--breu);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.pular:focus-visible { transform: none; }

.marco-scroll {
  position: absolute;
  top: 160px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pagina {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--breu);
}

/* vídeos de cena: nascem invisíveis por cima do pôster e entram quando tocam */
.cena-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--m-scene) var(--ease-standard);
}
.cena-video.is-tocando { opacity: 1; }

.video-pausa {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgb(14 4 5 / 0.55);
  border: 1px solid rgb(244 236 228 / 0.28);
  color: var(--osso);
  font-size: 15px;
  transition: transform var(--m-fast) var(--ease-standard), background-color var(--m-fast) var(--ease-standard);
}
.video-pausa:active {
  transform: scale(0.92);
  background: rgb(14 4 5 / 0.8);
}
.video-pausa[hidden] { display: none; }

/* ---------- CENA 1 · a cabine ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88vh;
  min-height: 88svh;
  padding: calc(76px + var(--safe-top)) var(--gutter) 30px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--breu);
}

.hero-poster,
.hero .cena-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/* legibilidade: topo escurece para o @, base dissolve no breu da próxima cena */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(14 4 5 / 0.6) 0%,
    rgb(14 4 5 / 0) 15%,
    rgb(14 4 5 / 0) 34%,
    rgb(14 4 5 / 0.6) 56%,
    rgb(14 4 5 / 0.93) 78%,
    var(--breu) 100%
  );
}

.hero-perfil {
  position: absolute;
  top: calc(10px + var(--safe-top));
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--m-fast) var(--ease-standard);
}
.hero-perfil i { font-size: 17px; }
.hero-perfil:active { opacity: 0.65; }

.logo {
  width: min(88%, 420px);
  margin: 0 0 18px -6px;
}
.logo svg {
  width: 100%;
  height: auto;
  fill: var(--osso);
  filter: drop-shadow(0 2px 14px rgb(14 4 5 / 0.55));
}

.hero-oficio {
  max-width: 17ch;
  margin-bottom: 10px;
  font: 800 clamp(26px, 7.6vw, 34px)/1.02 var(--f-display);
  text-wrap: balance;
}

.hero-apoio {
  max-width: 36ch;
  margin-bottom: 14px;
  color: var(--brasa);
  font-size: 16px;
  line-height: 1.45;
}

.hero-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ancora {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rim-luz);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  transition: opacity var(--m-fast) var(--ease-standard);
}
.ancora:active { opacity: 0.65; }

/* entrada curta, só CSS: sem JS o conteúdo termina visível do mesmo jeito */
@media (prefers-reduced-motion: no-preference) {
  .hero-conteudo > * {
    animation: entra var(--m-scene) var(--ease-enter) both;
    animation-delay: calc(var(--i, 0) * 70ms + 60ms);
  }
}
@keyframes entra {
  from { opacity: 0; transform: translateY(var(--shift)); }
}

/* ---------- CENA 2 · line-up ---------- */

.lineup {
  padding: 60px var(--gutter) 76px;
}

.lineup-titulo {
  margin-bottom: 10px;
  color: var(--brasa);
  font: 800 28px/1 var(--f-display);
}

.lineup-lista,
.lineup-miudos {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lineup-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--f-display);
  transition: opacity var(--m-fast) var(--ease-standard);
}
a.lineup-item { min-height: 48px; }
a.lineup-item:active { opacity: 0.6; }

.nivel-1 .lineup-item {
  font-size: clamp(54px, 16.4vw, 92px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.005em;
}

.nivel-2 .lineup-item {
  font-size: clamp(40px, 12vw, 64px);
  font-weight: 800;
  line-height: 0.92;
}
.nivel-1 + .nivel-2 { margin-top: 8px; }

.nivel-3 { margin-top: 14px; }

.lineup-miudos {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
}
.lineup-miudos li {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.lineup-miudos .lineup-item {
  font-size: clamp(24px, 7.2vw, 36px);
  font-weight: 800;
  line-height: 1;
  color: var(--brasa);
}
.lineup-miudos a.lineup-item { color: var(--osso); }
/* a barra fica no fim de cada item: quando a linha quebra, ela termina a linha em vez de abrir a próxima */
.lineup-miudos li:not(:last-child)::after {
  content: "/";
  content: "/" / "";
  margin: 0 0.32em;
  color: var(--rim-luz);
  font: 800 clamp(24px, 7.2vw, 36px)/1 var(--f-display);
}

/* selo de play: só aparece onde existe vídeo daquele tipo de rolê */
.lineup-play {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 0.46em;
  height: 0.46em;
  margin-left: 0.16em;
  border-radius: 50%;
  background: var(--rim);
  color: var(--osso);
  transition: transform var(--m-fast) var(--ease-standard);
}
.lineup-play i {
  font-size: 0.17em;
  margin-left: 0.1em;
}
.lineup-miudos .lineup-play { width: 0.8em; height: 0.8em; }
.lineup-miudos .lineup-play i { font-size: 0.3em; }
a.lineup-item:active .lineup-play { transform: scale(0.88); }

.lineup-nota {
  max-width: 34ch;
  margin-top: 28px;
  color: var(--brasa);
  font-size: 16px;
}

/* ---------- CENA 3 · a pista (assinatura) ---------- */

.pista {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  /* respiro para a pílula flutuante não cobrir a legenda quando a cena ocupa a tela */
  padding: 0 var(--gutter) calc(100px + var(--safe-bottom));
  overflow: hidden;
}

.pista-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fumo);
}

.pista-poster,
.pista .cena-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* o banho de luz vermelha: mantém a luminância do vídeo e troca só a cor.
   Some com a rolagem — é a cabine virando pista. */
.pista-luz {
  position: absolute;
  inset: 0;
  background: var(--rim-luz);
  mix-blend-mode: color;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .pista-luz { opacity: 1; }
  .js .pista-luz.is-acesa {
    opacity: 0;
    transition: opacity 1100ms var(--ease-fader);
  }
}

/* timeline nomeada na própria cena: o overflow da .pista a tornaria o scroller de um view() no filho */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pista { view-timeline: --pista block; }
    .pista-luz {
      opacity: 1;
      animation: acende linear both;
      animation-timeline: --pista;
      animation-range: entry 25% entry 95%;
    }
  }
}

@keyframes acende {
  from { opacity: 1; }
  to { opacity: 0; }
}

.pista-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--breu) 0%,
    rgb(14 4 5 / 0) 20%,
    rgb(14 4 5 / 0) 42%,
    rgb(14 4 5 / 0.72) 72%,
    var(--breu) 100%
  );
}

.pista-frase blockquote p {
  max-width: 13ch;
  font: 800 clamp(42px, 12.6vw, 64px)/0.94 var(--f-display);
  text-wrap: balance;
  text-shadow: 0 2px 28px rgb(14 4 5 / 0.55);
}
.pista-frase blockquote p::before { content: "“"; }
.pista-frase blockquote p::after { content: "”"; }

.pista-frase figcaption {
  margin-top: 16px;
  color: var(--brasa);
  font-size: 14px;
}

.pista .video-pausa {
  position: absolute;
  top: 18px;
  right: 16px;
}

/* ---------- CENA 4 · frames ---------- */

.frames {
  padding: 72px 0 16px;
}

.frames-topo {
  padding: 0 var(--gutter);
}

.frames h2,
.creditos h2 {
  font: 900 clamp(46px, 13.4vw, 62px)/0.9 var(--f-display);
}

.frames-topo p {
  max-width: 32ch;
  margin: 12px 0 24px;
  color: var(--brasa);
  font-size: 16px;
}

.trilho {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 56%;
  gap: 12px;
  margin: 0;
  padding: 0 var(--gutter) 14px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.trilho::-webkit-scrollbar { display: none; }

@media (hover: hover) and (pointer: fine) {
  .trilho {
    scrollbar-width: thin;
    scrollbar-color: var(--fumo) transparent;
  }
}

.trilho li { scroll-snap-align: start; }

.frame {
  display: block;
  text-decoration: none;
}

.frame-img {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 3px;
  overflow: hidden;
  background: var(--fumo);
  transition: transform var(--m-fast) var(--ease-standard);
}
.frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-img::after {
  content: "\f04b";
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--rim);
  color: var(--osso);
  font: var(--fa-font-solid);
  font-size: 14px;
}
.frame:active .frame-img { transform: scale(var(--press-scale)); }

.frame-local {
  display: block;
  margin-top: 10px;
  font: 800 21px/1.02 var(--f-display);
}
.frame-quando {
  display: block;
  margin-top: 4px;
  color: var(--brasa);
  font-size: 13px;
}

/* ---------- CENA 5 · créditos ---------- */

.creditos {
  padding: 64px var(--gutter) 84px;
}
.creditos h2 {
  margin-bottom: 26px;
  text-align: center;
}

.creditos-lista { margin: 0; }

.creditos-linha {
  display: grid;
  grid-template-columns: 36% 1fr;
  column-gap: 18px;
  padding: 14px 0;
}

.creditos dt {
  text-align: right;
  color: var(--brasa);
  font: 800 19px/1.3 var(--f-display);
}

.creditos dd {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

/* ---------- CENA 6 · a pergunta ---------- */

.fim {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 96vh;
  min-height: 96svh;
  padding: 0 var(--gutter) 44px;
  overflow: hidden;
}

.fim-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--breu);
}

.fim-poster,
.fim .cena-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.fim-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--breu) 0%,
    rgb(14 4 5 / 0.2) 22%,
    rgb(14 4 5 / 0.35) 42%,
    rgb(14 4 5 / 0.9) 64%,
    var(--breu) 86%
  );
}

.fim-conteudo { width: 100%; }

.fim h2 {
  max-width: 7ch;
  margin-bottom: 16px;
  font: 900 clamp(58px, 17vw, 86px)/0.86 var(--f-display);
}

.fim-conteudo > p {
  max-width: 30ch;
  margin-bottom: 24px;
  font-size: 17px;
}

.btn-rim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--rim);
  color: var(--osso);
  font: 700 18px/1 var(--f-texto);
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgb(255 120 100 / 0.22),
    0 16px 40px -14px rgb(227 38 31 / 0.6);
  transition:
    transform var(--m-fast) var(--ease-standard),
    background-color var(--m-fast) var(--ease-standard),
    box-shadow var(--m-fast) var(--ease-standard);
}
.btn-rim i { font-size: 22px; }
.btn-rim:active {
  transform: scale(var(--press-scale));
  background: #A51510;
  box-shadow: inset 0 0 0 1px rgb(255 120 100 / 0.22), 0 8px 22px -12px rgb(227 38 31 / 0.5);
}

.redes {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  border-top: 1px solid var(--linha);
}
.redes a {
  display: grid;
  grid-template-columns: 26px auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--linha);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--m-fast) var(--ease-standard);
}
.redes a i {
  font-size: 19px;
  text-align: center;
}
.redes-sub {
  justify-self: end;
  color: var(--brasa);
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}
.redes a:active { background: rgb(244 236 228 / 0.06); }

.fim .video-pausa {
  position: absolute;
  top: 18px;
  right: 16px;
}

/* ---------- rodapé ---------- */

.rodape {
  padding: 34px var(--gutter) calc(40px + var(--safe-bottom));
  color: var(--brasa);
  font-size: 13px;
  text-align: center;
}

.credito {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin: 18px auto 0;
  color: var(--osso);
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.credito-txt strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.selo-b2 {
  --seal-ink: currentColor;
  --seal-accent: var(--rim-luz);
  --seal-ring: 0.4 1.4;        /* pontilhado: os pontos de LED do telão */
  --seal-font: var(--f-texto);
  flex: none;
  width: 72px;
  height: 72px;
  overflow: visible;
  transition: rotate 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.selo-borda,
.selo-anel { fill: none; stroke: var(--seal-ink); }
.selo-borda { stroke-width: 1; }
.selo-anel { stroke-width: 0.7; stroke-dasharray: var(--seal-ring); opacity: 0.75; }
.selo-texto {
  fill: var(--seal-ink);
  font-family: var(--seal-font);
  font-size: 6.3px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.selo-b { fill: var(--seal-ink); }
.selo-acento { fill: var(--seal-accent); }

.credito:active .selo-b2 { rotate: -10deg; }

.selo-giro {
  transform-box: view-box;
  transform-origin: 50px 50px;
}
@keyframes selo-gira { to { transform: rotate(360deg); } }
@keyframes selo-flutua {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .selo-giro { animation: selo-gira 24s linear infinite; }
  .selo-b2 { animation: selo-flutua 4.8s ease-in-out infinite; }
  .selo-b2.is-still,
  .selo-b2.is-still .selo-giro,
  .is-page-hidden .selo-b2,
  .is-page-hidden .selo-giro { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .credito:active .selo-b2 { rotate: none; }
}

/* ---------- CTA flutuante (Regra do CTA) ---------- */

.cta-flutuante {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--rim);
  color: var(--osso);
  font: 700 17px/1 var(--f-texto);
  white-space: nowrap;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgb(255 120 100 / 0.22),
    0 14px 34px -10px rgb(227 38 31 / 0.6),
    0 6px 18px rgb(14 4 5 / 0.5);
  translate: -50% 14px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--m-standard) var(--ease-exit),
    translate var(--m-standard) var(--ease-exit),
    scale var(--m-fast) var(--ease-standard),
    visibility 0s linear var(--m-standard);
}
.cta-flutuante i { font-size: 21px; }
.cta-flutuante.is-visivel {
  translate: -50% 0;
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--m-emphasis) var(--ease-enter),
    translate var(--m-emphasis) var(--ease-enter),
    scale var(--m-fast) var(--ease-standard),
    visibility 0s;
}
.cta-flutuante:active { scale: var(--press-scale); }

@media (prefers-reduced-motion: reduce) {
  .cta-flutuante,
  .cta-flutuante.is-visivel { translate: -50% 0; }
}

/* ---------- player (bottom sheet de tela cheia) ---------- */

.player {
  width: 100%;
  max-width: 560px;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: #050102;
  color: var(--osso);
  overflow: hidden;
}
.player::backdrop { background: rgb(5 1 2 / 0.86); }

.player-corpo {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}

.player-tela {
  position: relative;
  min-height: 0;
  background: #000;
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.player-estado {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  padding: 0 32px;
  color: var(--brasa);
  font-size: 15px;
  text-align: center;
  pointer-events: none;
  transition: opacity var(--m-standard) var(--ease-standard);
}
.player[data-estado="tocando"] .player-estado { opacity: 0; }
.player[data-estado="pausado"] .player-estado,
.player[data-estado="erro"] .player-estado {
  color: var(--osso);
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.8);
}

.player-fechar {
  position: absolute;
  top: calc(12px + var(--safe-top));
  right: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgb(14 4 5 / 0.62);
  border: 1px solid rgb(244 236 228 / 0.25);
  font-size: 20px;
  transition: transform var(--m-fast) var(--ease-standard);
}
.player-fechar:active { transform: scale(0.92); }

.player-info {
  padding: 16px var(--gutter) calc(14px + var(--safe-bottom));
  background: var(--breu);
}

.player-quando {
  color: var(--brasa);
  font-size: 13px;
}
.player-local {
  margin: 2px 0 6px;
  font: 900 32px/0.95 var(--f-display);
}
.player-legenda { font-size: 16px; }
.player-legenda:not(:empty)::before { content: "“"; }
.player-legenda:not(:empty)::after { content: "”"; }
.player-credito {
  margin-top: 4px;
  color: var(--brasa);
  font-size: 14px;
}
.player-credito:empty { display: none; }

.player-controles {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  margin-top: 14px;
}

.player-seta {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 4px;
  border: 1px solid rgb(244 236 228 / 0.22);
  font-size: 16px;
  transition: transform var(--m-fast) var(--ease-standard), background-color var(--m-fast) var(--ease-standard);
}
.player-seta:active {
  transform: scale(0.94);
  background: rgb(244 236 228 / 0.08);
}

.player-som {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 4px;
  background: var(--osso);
  color: var(--breu);
  font-weight: 700;
  font-size: 16px;
  transition:
    transform var(--m-fast) var(--ease-standard),
    background-color var(--m-fast) var(--ease-standard),
    color var(--m-fast) var(--ease-standard);
}
.player-som[aria-pressed="true"] {
  background: transparent;
  color: var(--osso);
  box-shadow: inset 0 0 0 1px rgb(244 236 228 / 0.4);
}
.player-som:active { transform: scale(var(--press-scale)); }

.player-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 6px;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(244 236 228 / 0.4);
}

.player[open] { animation: sheet-sobe var(--m-emphasis) var(--ease-enter); }
.player[open]::backdrop { animation: some-aparece var(--m-emphasis) var(--ease-standard); }
.player.is-fechando { animation: sheet-desce var(--m-standard) var(--ease-exit) forwards; }

@keyframes sheet-sobe { from { transform: translateY(100%); } }
@keyframes sheet-desce { to { transform: translateY(100%); } }
@keyframes some-aparece { from { opacity: 0; } }
@keyframes some-sai { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .player[open] { animation-name: some-aparece; }
  .player.is-fechando { animation-name: some-sai; }
}

/* ---------- telas maiores: a coluna vira um cartaz no centro ---------- */

@media (min-width: 600px) {
  body { background: #070203; }
  .pagina { box-shadow: 0 0 0 1px rgb(244 236 228 / 0.06); }
  .trilho { grid-auto-columns: 44%; }
}
