/* WidPlayer — base comum a todas as páginas: tokens, tipografia, topo, rodapé, botões,
   selo, faixas, fechamento e revelação ao rolar. Carrega antes da folha da página
   (lp.css na LP, style.css nas demais), que só acrescenta ou ajusta o que é dela. */

:root {
  --c1: #2b1e4a;
  --c2: #b8456b;
  --c3: #f29a5c;
  --acc: #ffb38a;
  --fundo: #0b0b0f;
  --topo: 48px;
  --texto: #f3f1ee;
  --suave: #b9b6c2;
  --linha: rgba(255,255,255,.11);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
/* ───── Topo: barra de menus ───── */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--topo);
  background: rgba(14,13,20,.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.topo__grade { height: var(--topo); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo__marca, .rodape__marca {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -.01em;
}
.topo__marca img { width: 26px; height: 26px; }
.topo__nav { display: flex; align-items: center; gap: 4px; }
.topo__nav a { color: #ecebf2; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 11px; border-radius: 8px; }
.topo__nav a:hover { background: rgba(255,255,255,.12); }
.topo__nav a.topo__idioma {
  border: 1px solid rgba(255,255,255,.22);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  margin-left: 4px;
}
.papel { inset: 0; }
.papel::after { content: ""; inset: 0; }
.olho { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
/* ───── Chamadas: iguais às da LP ───── */
.acoes { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.botao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #121116;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c3) 80%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--c3) 90%, transparent); }
.botao--secundario { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.botao--secundario:hover { background: rgba(255,255,255,.17); box-shadow: none; }
.selo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(10,9,15,.4);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.selo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 25%, transparent);
}
/* ───── Seções ───── */
.faixa { background: color-mix(in oklab, var(--c2) 5%, var(--fundo)); border-top: 1px solid var(--linha); }
.faixa--alta { background: color-mix(in oklab, var(--c1) 22%, var(--fundo)); }
.titulo-secao { letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
figcaption { margin-top: 12px; font-size: 14.5px; color: var(--suave); }
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  border-top: 1px solid var(--linha);
  background: var(--fundo);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 75% at 50% 112%, var(--c3) 0%, transparent 70%), radial-gradient(75% 90% at 50% 120%, var(--c2) 0%, transparent 72%);
  opacity: .75;
}
.final h2 { letter-spacing: -.05em; line-height: .96; font-weight: 720; }
.final .acoes { justify-content: center; }
/* ───── Rodapé: igual ao da LP ───── */
.rodape {
  padding: 44px 0 56px;
  border-top: 1px solid var(--linha);
  font-size: 14px;
  color: #aaa6b5;
  background: var(--fundo);
}
.rodape__grade { display: grid; gap: 10px; }
.rodape p { margin: 0; }
.rodape a { color: #dcd9e4; }
/* O estado inicial só vale com JS presente para desfazê-lo (classe marcada no <html>). */
.js .revelar { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .revelar--visivel { opacity: 1; transform: none; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topo__nav a { padding: 6px 8px; }
  .acoes .botao, .acoes .selo { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
}

/* As fotos vêm em <picture> (WebP + JPG de reserva); o invólucro não pode mudar o layout
   que as folhas das páginas desenham para o <img>. */
picture { display: contents; }
