/* Nananá · base comum da página da lista e do guia
   Paleta oficial do brandbook (março/2026) + duas tintas derivadas para legibilidade:
   --tinta e --tinta-suave saem do traço escuro do próprio mascote (#60678B). */

/* fontes oficiais do brandbook: Realys (títulos), Hurme Geometric Sans (texto), Banana Super (detalhe à mão) */
@font-face { font-family: "Realys"; src: url("../fonts/realys.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Banana Super"; src: url("../fonts/banana-super.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hurme"; src: url("../fonts/hurme-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hurme"; src: url("../fonts/hurme-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hurme"; src: url("../fonts/hurme-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* paleta oficial */
  --bruma: #CED9F9;
  --nevoa: #CFE2F0;
  --algodao: #F9F9FD;
  --lavanda-suave: #E5E8FB;
  --noturna: #878AAF;
  /* cores do mascote */
  --mascote: #AFC6E6;
  --mascote-mascara: #8C97C9;
  /* tintas derivadas (texto) */
  --tinta: #363A5E;
  --tinta-suave: #5C6388;
  --noite-funda: #2E3150;
  --noite: #4A4E78;

  --linha: rgba(135, 138, 175, .28);
  --sombra: 0 18px 50px -24px rgba(54, 58, 94, .35);
  --raio: 22px;
  --raio-p: 14px;

  --display: "Realys", system-ui, sans-serif;
  --texto: "Hurme", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mao: "Banana Super", "Realys", cursive;

  --lento: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--algodao);
  color: var(--tinta-suave);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--noite); }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--tinta);
  letter-spacing: -.01em;
  line-height: 1.12;
  margin: 0;
}

.eyebrow {
  font-family: var(--texto);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--noturna);
}

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* detalhe escrito à mão: no máximo um por tela */
.mao {
  font-family: var(--mao);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  transform: rotate(-3deg);
}

/* botões */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 18px;
  text-decoration: none;
  transition: transform .4s var(--lento), box-shadow .4s var(--lento), background .3s;
}
.btn-noite {
  background: var(--noite);
  color: var(--algodao);
  box-shadow: 0 14px 30px -14px rgba(46, 49, 80, .7);
}
.btn-noite:hover { background: var(--noite-funda); transform: translateY(-1px); }
.btn-noite:active { transform: translateY(1px); }
.btn-claro {
  background: transparent;
  color: var(--tinta);
  border: 1.5px solid var(--linha);
}
.btn-claro:hover { border-color: var(--noturna); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* foco visível e calmo */
:focus-visible { outline: 3px solid var(--bruma); outline-offset: 3px; border-radius: 10px; }

/* entrada suave ao rolar */
.surge { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--lento), transform .9s var(--lento); }
.surge.visivel { opacity: 1; transform: none; }

/* céu: estrelas discretas para os blocos de noite */
.ceu { position: relative; isolation: isolate; }
.ceu::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(249,249,253,.75), transparent 60%),
    radial-gradient(1px 1px at 28% 62%, rgba(249,249,253,.5), transparent 60%),
    radial-gradient(1.6px 1.6px at 46% 12%, rgba(249,249,253,.6), transparent 60%),
    radial-gradient(1px 1px at 66% 38%, rgba(249,249,253,.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 82% 72%, rgba(249,249,253,.6), transparent 60%),
    radial-gradient(1px 1px at 90% 20%, rgba(249,249,253,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 8% 84%, rgba(249,249,253,.5), transparent 60%),
    radial-gradient(1px 1px at 56% 88%, rgba(249,249,253,.4), transparent 60%);
  opacity: .9;
}

.fonte {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--noturna);
}
.fonte b { font-weight: 600; color: var(--tinta-suave); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .surge { opacity: 1; transform: none; }
}
