/* Ampe — base compartilhada (site e jogo). Paleta da interface em linha Ubuntu: berinjela, laranja Ubuntu e ocre. */
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }
:root {
  --roxo: #772953; --roxo-esc: #5E2750; --roxo-noite: #2C001E; --roxo-claro: #F4E8EE;
  --azul: #D98C0A; --azul-esc: #A35F00; --azul-claro: #FBF0DC;
  --laranja: #E95420; --laranja-esc: #B8421A; --laranja-claro: #FCE8DF;
  --creme: #F7F4F1; --papel: #FDFCFB; --texto: #2B0F22; --texto-2: #5E4A57;
  --fd: "Fredoka", "Nunito", system-ui, sans-serif; --fb: "Nunito", system-ui, sans-serif;
  --kente: repeating-linear-gradient(90deg,
    var(--laranja) 0 18px, var(--roxo-esc) 18px 24px, var(--azul) 24px 40px, var(--roxo-esc) 40px 46px,
    var(--roxo) 46px 62px, var(--laranja) 62px 66px, var(--roxo) 66px 70px, var(--roxo-esc) 70px 76px);
  --sombra: 0 18px 50px -18px rgba(44, 0, 30, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fb); color: var(--texto); background: var(--creme); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 8px; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--fd); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; line-height: 1;
  padding: .95em 1.6em; border-radius: 999px; border: 0; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
}
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn-lar { background: var(--laranja); color: #fff; box-shadow: 0 5px 0 var(--laranja-esc), 0 12px 24px -8px rgba(233, 84, 32, .6); }
.btn-lar:hover:not(:disabled) { background: #F06A3A; transform: translateY(-2px); box-shadow: 0 7px 0 var(--laranja-esc), 0 16px 30px -8px rgba(233, 84, 32, .65); }
.btn-lar:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--laranja-esc); }
.btn-claro { background: #fff; color: var(--roxo); box-shadow: inset 0 0 0 2px rgba(119, 41, 83, .22), 0 6px 16px -10px rgba(44, 0, 30, .5); }
.btn-claro:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--roxo), 0 8px 20px -10px rgba(44, 0, 30, .5); transform: translateY(-1px); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 5px 0 var(--azul-esc), 0 12px 24px -10px rgba(217, 140, 10, .6); }
.btn-azul:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.btn-roxo { background: var(--roxo); color: #fff; box-shadow: 0 5px 0 var(--roxo-esc); }
.btn-roxo:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }

/* faixa kente */
.kente { position: relative; }
.kente::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--kente); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
