/* Afonso Sanot — o disco de letras
   Muro verde-sálvia da QDB, vinil preto da tela "Imersão", ouro e prata dos anéis,
   vermelho do selo só na ação. Tudo que se toca é redondo; tudo que se olha é capa. */

:root {
  /* cor */
  --muro: #C6CCBE;        /* fundo: o chão verde-sálvia da ilustração da QDB */
  --breu: #1A1718;        /* texto, o vinil e o Lado B */
  --ouro: #D8B23E;        /* anéis internos e destaque no escuro */
  --osso: #EFEBE1;        /* texto no escuro, anéis prateados */
  --vermelho: #CF1B0C;    /* ação: o vermelho do selo */
  --musgo: #4B5346;       /* texto de apoio no muro (4.9:1) */

  --vermelho-apertado: #A81507;
  --linha: rgb(26 23 24 / 0.16);
  --linha-escura: rgb(239 235 225 / 0.16);
  --sombra: 26 23 24;

  /* tipo */
  --f-disco: "Special Gothic Condensed One", "Arial Narrow", Impact, sans-serif;
  --f-texto: "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* motion */
  --motion-instant: 80ms;
  --motion-fast: 140ms;
  --motion-standard: 220ms;
  --motion-emphasis: 320ms;
  --motion-scene: 460ms;
  --motion-agulha: 520ms;
  --motion-rewind: 700ms;
  --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-emphasis: cubic-bezier(0.22, 1, 0.36, 1);
  --press-scale: 0.97;

  /* espaço */
  --gutter: 20px;
  --coluna: 560px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --press-scale: 1;
    --motion-scene: 200ms;
  }
}

/* âncoras do menu da capa: o scroll continua nativo, só a chegada é suave */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--muro);
  color: var(--breu);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--muro);
  font: 400 17px/1.55 var(--f-texto);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

:focus-visible {
  outline: 3px solid var(--breu);
  outline-offset: 3px;
  border-radius: 4px;
}

.lado-b :focus-visible { outline-color: var(--ouro); }

.pular {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--breu);
  color: var(--osso);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.pular:focus { top: calc(12px + var(--safe-top)); }

.so-js { display: none; }
.js .so-js { display: inline; }

/* seções ocupam a largura toda; o conteúdo fica na coluna */
.capa,
.lado-a,
.lado-b,
.fungi,
.orcamento,
.rodape {
  padding-left: max(calc(var(--gutter) + var(--safe-left)), calc((100% - var(--coluna)) / 2));
  padding-right: max(calc(var(--gutter) + var(--safe-right)), calc((100% - var(--coluna)) / 2));
}

/* ---------- botões ---------- */

.btn-selo,
.btn-linha {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-radius: 999px;
  font: 700 17px/1.2 var(--f-texto);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--motion-instant) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard);
}

.btn-selo:active,
.btn-linha:active { transform: scale(var(--press-scale)); }

/* ação principal: pílula vermelha com um "selo" redondo, como o miolo do disco */
.btn-selo {
  width: 100%;
  padding: 8px 24px 8px 8px;
  background: var(--vermelho);
  color: var(--osso);
}
.btn-selo:active { background: var(--vermelho-apertado); }

.btn-selo-rotulo {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--osso);
  color: var(--vermelho);
  font-size: 22px;
}

.btn-selo-compacto {
  width: auto;
  min-height: 52px;
  padding-right: 22px;
  font-size: 16px;
}
.btn-selo-compacto .btn-selo-rotulo { width: 36px; height: 36px; font-size: 20px; }

.btn-linha {
  padding: 0 22px;
  min-height: 52px;
  border: 1.5px solid currentColor;
  color: var(--breu);
  font-size: 16px;
}
.btn-linha i { font-size: 18px; }
.btn-linha:active { background: rgb(var(--sombra) / 0.1); }

.btn-linha-claro { color: var(--osso); }
.btn-linha-claro:active { background: rgb(239 235 225 / 0.12); }

@media (hover: hover) and (pointer: fine) {
  .btn-selo:hover { background: var(--vermelho-apertado); }
  .btn-linha:hover { background: rgb(var(--sombra) / 0.08); }
  .btn-linha-claro:hover { background: rgb(239 235 225 / 0.1); }
}

/* ============================================================
   CAPA: o toca-discos
   ============================================================ */

.capa {
  position: relative;
  padding-top: calc(10px + var(--safe-top));
  padding-bottom: 36px;
  overflow: hidden;
  overflow: clip;
}

.capa-topo {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.arroba {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

/* O disco sai pela borda direita e o braço entra de fora do quadro.
   O tamanho segue a altura da tela para o botão caber na primeira dobra. */
.toca-discos {
  --d: min(96vw, 50vh, 470px);
  --d: min(96vw, 50svh, 470px);
  position: relative;
  width: var(--d);
  aspect-ratio: 1;
  margin: -34px 0 0 auto;
  translate: 17% 0;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.disco {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    /* sulcos */
    repeating-radial-gradient(circle at 50% 50%,
      rgb(239 235 225 / 0.045) 0 1px,
      transparent 1px 3px),
    var(--breu);
  box-shadow:
    0 2px 2px rgb(var(--sombra) / 0.18),
    0 22px 44px -20px rgb(var(--sombra) / 0.6);
}

/* reflexo de luz no vinil: fica parado enquanto as letras giram */
.disco::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 18deg,
    transparent 0 6%,
    rgb(239 235 225 / 0.09) 11%,
    transparent 17% 50%,
    rgb(239 235 225 / 0.06) 61%,
    transparent 67% 100%);
  pointer-events: none;
}

.aneis-intro,
.aneis {
  position: absolute;
  inset: 0;
}

.aneis { will-change: transform; }

.aneis-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.anel {
  font-family: var(--f-disco);
  letter-spacing: 0.15px;
}
/* como na tela Imersão: prata por fora, ouro por dentro, letra maior na borda */
.anel-1 { font-size: 6px; fill: rgb(239 235 225 / 0.88); }
.anel-2 { font-size: 5.6px; fill: rgb(239 235 225 / 0.72); }
.anel-3 { font-size: 5.2px; fill: var(--ouro); }
.anel-4 { font-size: 4.8px; fill: var(--ouro); }

.selo-rosto {
  position: absolute;
  left: 27%;
  top: 27%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px var(--breu),
    0 0 0 3px rgb(216 178 62 / 0.55);
  pointer-events: none;
}

.braco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.braco-grupo {
  transform-box: view-box;
  transform-origin: 90px -16px;
}
/* contorno escuro separa o braço das letras prateadas */
.braco-sombra {
  fill: none;
  stroke: var(--breu);
  stroke-width: 5.2;
  stroke-linecap: round;
  opacity: 0.85;
}
.braco-tubo {
  fill: none;
  stroke: var(--osso);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.braco-cabeca {
  fill: none;
  stroke: var(--osso);
  stroke-width: 3.4;
}
.braco-agulha { fill: var(--ouro); }
.braco-base { fill: #D9D6CD; stroke: var(--breu); stroke-width: 0.6; }
.braco-eixo { fill: var(--breu); }

/* a dica corre por fora do disco, na mesma curva */
.dica-arco {
  display: none;
  fill: var(--musgo);
  font-family: var(--f-texto);
  font-size: 4.3px;
  font-weight: 500;
}
.js .dica-toque { display: inline; }
@media (hover: hover) and (pointer: fine) {
  .js .dica-toque { display: none; }
  .js .dica-mouse { display: inline; }
}

.capa-texto {
  position: relative;
  z-index: 2;
  margin-top: 6px;
}

.nome {
  font: 400 clamp(54px, 17vw, 84px)/0.86 var(--f-disco);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

.tese {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.apoio {
  margin-top: 10px;
  color: var(--musgo);
  font-size: 16px;
  line-height: 1.5;
  max-width: 40ch;
}

.capa .btn-selo { margin-top: 22px; }

.lados {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 10px;
}
.lados a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

/* entrada: a agulha desce e o disco dá um rewind */
@media (prefers-reduced-motion: no-preference) {
  .braco-grupo {
    animation: agulha var(--motion-agulha) var(--ease-emphasis) 160ms backwards;
  }
  .aneis-intro {
    animation: rewind var(--motion-rewind) var(--ease-enter) 440ms backwards;
  }
}

@keyframes agulha {
  from { transform: rotate(-44deg); }
}
@keyframes rewind {
  from { transform: rotate(160deg); }
}

/* ============================================================
   LADO A: pele
   ============================================================ */

.lado-a {
  padding-top: 40px;
  padding-bottom: 72px;
  border-top: 1px solid var(--linha);
}

.lado-cabeca { margin-bottom: 26px; }

.lado-titulo {
  font: 400 clamp(40px, 12vw, 52px)/0.95 var(--f-disco);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lado-texto {
  margin-top: 12px;
  max-width: 44ch;
  color: var(--musgo);
}

.faixas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 12px;
}

.faixa { min-width: 0; }

.faixa-capa {
  display: block;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.faixa-capa img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  background: rgb(var(--sombra) / 0.08);
  transition:
    transform var(--motion-instant) var(--ease-standard),
    opacity var(--motion-standard) var(--ease-standard);
}
.faixa-capa:active img { transform: scale(var(--press-scale)); }

.faixa-rotulo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: baseline;
  margin-top: 10px;
}

.faixa-num {
  grid-row: span 2;
  min-width: 30px;
  padding: 3px 0 2px;
  font: 400 24px/1 var(--f-disco);
  text-align: center;
  border-radius: 999px;
  transition:
    background-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard);
}
.faixa-nome {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}
.faixa-lugar {
  color: var(--musgo);
  font-size: 14px;
  line-height: 1.35;
}

/* faixa tocando: o número vira um selo preto e a capa recua */
.faixa-capa[aria-pressed="true"] .faixa-num {
  background: var(--breu);
  color: var(--osso);
}
.faixa-capa[aria-pressed="true"] img { opacity: 0.55; }

@media (hover: hover) and (pointer: fine) {
  .faixa-capa:hover .faixa-nome { text-decoration: underline; text-underline-offset: 3px; }
}

/* painel "tocando": a faixa aberta dentro da grade, de borda a borda no celular */
.tocando {
  grid-column: 1 / -1;
  margin: 0 calc(-1 * var(--gutter));
  background: var(--breu);
  color: var(--osso);
}

.tocando-capa {
  background: #000;
}
.tocando-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tocando-texto { padding: 18px var(--gutter) 24px; }

.tocando-num {
  color: var(--ouro);
  font-size: 14px;
  font-weight: 500;
}
.tocando-nome {
  margin-top: 4px;
  font: 400 40px/0.95 var(--f-disco);
}
.tocando-lugar {
  margin-top: 8px;
  font-weight: 500;
}
.tocando-nota {
  margin-top: 6px;
  color: rgb(239 235 225 / 0.78);
  font-size: 16px;
  max-width: 42ch;
}

.tocando-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 600px) {
  .tocando { margin: 0; border-radius: 2px; overflow: hidden; }
}

/* troca de faixa com View Transitions: só a foto viaja, o resto cruza */
::view-transition-group(faixa-foto) {
  animation-duration: var(--motion-emphasis);
  animation-timing-function: var(--ease-emphasis);
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--motion-standard);
}

/* ============================================================
   LADO B: tela e som
   ============================================================ */

.lado-b {
  padding-top: 64px;
  padding-bottom: 80px;
  background: var(--breu);
  color: var(--osso);
}

.lado-b .lado-texto { color: rgb(239 235 225 / 0.78); }

.imersao { margin-top: 4px; }

.imersao-quadro {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  aspect-ratio: 4 / 5;
  background: #000 url("images/imersao-poster.webp") center / cover no-repeat;
}

@media (min-width: 600px) {
  .imersao-quadro { margin: 0; border-radius: 2px; overflow: hidden; }
}

.imersao-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imersao-botao {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgb(239 235 225 / 0.4);
  border-radius: 999px;
  background: rgb(26 23 24 / 0.72);
  color: var(--osso);
  font: 500 14px/1 var(--f-texto);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: transform var(--motion-instant) var(--ease-standard);
}
.imersao-botao:active { transform: scale(var(--press-scale)); }
.imersao-botao[hidden] { display: none; }

.imersao-legenda {
  margin-top: 12px;
  color: rgb(239 235 225 / 0.7);
  font-size: 14px;
}

.fala {
  margin-top: 40px;
}
.fala p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 24ch;
}
.fala footer {
  margin-top: 14px;
  color: var(--ouro);
  font-size: 15px;
  font-weight: 500;
}

.som {
  margin-top: 64px;
  scroll-margin-top: 16px;
}

.som-titulo {
  font: 400 clamp(40px, 12vw, 52px)/0.95 var(--f-disco);
}
.som-texto {
  margin-top: 12px;
  max-width: 44ch;
  color: rgb(239 235 225 / 0.78);
}

.player {
  position: relative;
  margin: 24px calc(-1 * var(--gutter)) 0;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
@media (min-width: 600px) {
  .player { margin-inline: 0; border-radius: 2px; }
}

/* fachada: a capa inteira à esquerda, o play à direita; o YouTube entra no lugar */
.player-capa {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 56.25% 1fr;   /* 9/16: a capa quadrada ocupa a altura toda */
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--osso);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.player-capa[hidden] { display: none; }
.player-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-lado {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 0 12px;
}
.player-play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ouro);
  color: var(--breu);
  font-size: 22px;
  transition: transform var(--motion-instant) var(--ease-standard);
}
.player-play i { translate: 2px 0; }
.player-capa:active .player-play { transform: scale(0.94); }
.player-rotulo {
  font-size: 14px;
  font-weight: 500;
  color: rgb(239 235 225 / 0.8);
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-agora {
  margin-top: 14px;
  color: rgb(239 235 225 / 0.7);
  font-size: 15px;
}
.player-agora strong { color: var(--osso); font-weight: 700; }

.lista-som {
  list-style: none;
  margin: 18px 0 28px;
  padding: 0;
  border-top: 1px solid var(--linha-escura);
}

.lista-som a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  border-bottom: 1px solid var(--linha-escura);
  color: var(--osso);
  font-weight: 500;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    color var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard);
}
.lista-som a:active { background: rgb(239 235 225 / 0.06); }

.som-icone {
  color: rgb(239 235 225 / 0.45);
  font-size: 13px;
}
.som-nome { line-height: 1.3; }
.som-extra {
  margin-left: 6px;
  color: rgb(239 235 225 / 0.6);
  font-size: 13px;
  font-weight: 400;
}
.som-tempo {
  color: rgb(239 235 225 / 0.6);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.lista-som a[aria-current="true"] { color: var(--ouro); }
.lista-som a[aria-current="true"] .som-icone { color: var(--ouro); font-size: 16px; }

@media (hover: hover) and (pointer: fine) {
  .lista-som a:hover { background: rgb(239 235 225 / 0.05); }
}

/* ============================================================
   FAIXA BÔNUS: Fungi
   ============================================================ */

.fungi {
  padding-top: 64px;
  padding-bottom: 8px;
}

.fungi-cabeca {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fungi-logo {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 2px;
  box-shadow: 0 10px 22px -12px rgb(var(--sombra) / 0.55);
}

.fungi .lado-titulo { font-size: clamp(34px, 10vw, 44px); }

.fungi .btn-linha { margin-top: 22px; }

/* ============================================================
   ORÇAMENTO
   ============================================================ */

.orcamento {
  padding-top: 72px;
  padding-bottom: 56px;
}

.orc-titulo {
  font: 400 clamp(52px, 16vw, 76px)/0.9 var(--f-disco);
}

.orcamento .btn-selo { margin-top: 24px; }

.fichas {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.fichas li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 8px 0;
  font-size: 16px;
}
.fichas i {
  margin-top: 4px;
  color: var(--musgo);
}

.redes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--linha);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--motion-instant) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard);
}
.redes a:active { transform: scale(var(--press-scale)); border-color: var(--breu); }
.redes i { font-size: 17px; }

@media (hover: hover) and (pointer: fine) {
  .redes a:hover { border-color: var(--breu); }
}

/* ============================================================
   RODAPÉ + selo base2digital
   ============================================================ */

.rodape {
  padding-top: 28px;
  padding-bottom: calc(28px + var(--safe-bottom));
  border-top: 1px solid var(--linha);
  text-align: center;
}

.rodape-direitos {
  color: var(--musgo);
  font-size: 14px;
}

.credito {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin: 18px auto 0;
  color: var(--breu);
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.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: #D90000;
  --seal-ring: 0;
  --seal-font: inherit;
  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); }

/* nesta página: o anel interno vira sulco de vinil pontilhado */
.rodape .selo-b2 {
  --seal-accent: var(--vermelho);
  --seal-ring: 0.4 1.4;
  --seal-font: var(--f-texto);
}

.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; }
}

/* telas baixas (iPhone SE com as barras do Safari): o disco cede espaço
   para o botão de orçamento continuar na primeira dobra */
@media (max-height: 720px) and (max-width: 599px) {
  .toca-discos {
    --d: min(92vw, 42vh, 470px);
    --d: min(92vw, 42svh, 470px);
  }
  .tese { font-size: 20px; }
  .apoio { font-size: 15px; }
  .js .dica-arco { display: none; }   /* com o disco menor a dica ficaria abaixo de 12px */
  .capa .btn-selo { margin-top: 18px; }
}

/* ============================================================
   telas maiores: a mesma coluna, com mais ar
   ============================================================ */

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .toca-discos { translate: 10% 0; margin-top: -20px; }
}

@media (min-width: 900px) {
  .capa { padding-top: 32px; }
  .toca-discos { --d: min(62vh, 470px); translate: 26% 0; }
}
