@font-face {
  font-family: Manrope;
  src: url("marca/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --papel: #F4EFE4;
  --tinta: #13262A;
  --cobre: #B85A2E;
  --cobre-claro: #D9824F;
  --verdete: #3D8A7A;
  --saida: cubic-bezier(.23, 1, .32, 1);
  --margem: clamp(1.25rem, 5vw, 5rem);
  background: var(--papel);
  color: var(--tinta);
  font-family: Manrope;
  font-weight: 400;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 44px;
  min-width: 44px;
  font-weight: 500;
}
:focus-visible { outline: 3px solid var(--verdete); outline-offset: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.margens { width: min(78rem, calc(100% - 2 * var(--margem))); margin-inline: auto; }
.atalho {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: var(--margem);
  transform: translateY(-150%);
  padding-inline: 1rem;
  background: var(--tinta);
  color: var(--papel);
}
.atalho:focus { transform: none; }
.cabecalho, .rodape, nav, .acoes { display: flex; align-items: center; flex-wrap: wrap; }
.cabecalho, .rodape { justify-content: space-between; gap: .4rem 1rem; }
.cabecalho {
  position: relative;
  z-index: 1;
  padding-block: clamp(.8rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--tinta);
}
.assinatura {
  display: inline-flex;
  align-items: center;
  gap: .34em;
  font-size: clamp(1.06rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -.018em;
  white-space: nowrap;
  transform-origin: top left;
}
.assinatura img { display: block; width: auto; height: 1.66em; }
.assinatura > span { transform: translateY(-.023em); }
.assinatura strong { font-weight: 700; }
.studio { font-weight: 500; color: var(--cobre); }
nav { gap: .1rem clamp(.75rem, 2.4vw, 2rem); }
.cabecalho nav { font-size: clamp(.875rem, 1.3vw, 1rem); }
h1 {
  margin-block: clamp(2.5rem, 5vw, 5rem) clamp(2.25rem, 4.5vw, 4.25rem);
  font-size: clamp(2.8rem, 7.2vw, 6.6rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.055em;
}
h1 span { display: block; color: var(--cobre); }
#jogos {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  background: var(--tinta);
  color: var(--papel);
  scroll-margin-block-start: 1rem;
}
.capa { overflow: hidden; }
.capa img { width: 100%; height: auto; display: block; }
.ficha { padding: clamp(1.5rem, 3vw, 3rem); }
.genero {
  font-size: .875rem;
  font-weight: 600;
  color: var(--cobre-claro);
}
.ficha h2 {
  margin: .3rem 0 .65rem;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.04;
}
.ficha .subtitulo {
  display: block;
  margin-top: .3rem;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--papel);
  opacity: .78;
}
.descricao { max-width: 37ch; line-height: 1.6; }
.acoes { margin-top: 1.2rem; gap: .35rem 1.15rem; }
.principal { padding: .65rem 1.1rem; border-radius: .25rem; background: var(--papel); color: var(--tinta); }
.principal span { font-size: 1.2em; line-height: 1; }
.canais a { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.loja { max-width: 100%; }
.loja img { display: block; width: 165px; max-width: 100%; height: auto; }
#jogos a:focus-visible { outline-color: var(--cobre-claro); }
.canais {
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--verdete);
  gap: 0 1.2rem;
  justify-content: flex-start;
}
.canais a { font-size: .83rem; gap: .35em; }
.canais span { color: var(--cobre-claro); }
.rodape {
  margin-block: clamp(2.5rem, 6vw, 5rem) 0;
  padding-block: clamp(1.25rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--tinta);
}
.rodape { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .9rem; }
.rodape .assinatura { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.rodape .legal { margin: 0; font-size: .9rem; line-height: 1.5; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.idiomas { position: relative; }
.idiomas summary {
  list-style: none;
  display: flex;
  gap: .6em;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: .5rem;
  font-weight: 500;
  cursor: pointer;
}
.idiomas summary::-webkit-details-marker { display: none; }
.seta {
  width: .55em; height: .55em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.13em) rotate(45deg);
}
.idiomas[open] .seta { transform: translateY(.13em) rotate(225deg); }
.idiomas ul, .opcoes-raiz { list-style: none; margin: 0; padding: .375rem; }
.idiomas ul {
  position: absolute;
  top: 100%; right: 0; z-index: 2;
  width: max-content; min-width: 100%; max-width: calc(100vw - 2 * var(--margem));
  background: var(--papel); border: 1px solid var(--tinta); border-radius: .25rem;
}
.idiomas a, .opcoes-raiz a { display: flex; justify-content: flex-start; padding-inline: .75rem; }
.idiomas a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.idiomas a:focus-visible { outline-offset: -3px; }
.escolha { padding-block: clamp(2rem, 7vw, 6rem); }
.escolha h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.opcoes-raiz { padding: 0; width: fit-content; }
.opcoes-raiz a { text-decoration: underline; text-underline-offset: .25em; }
.exibindo main, .exibindo .navegacao, .exibindo footer { visibility: hidden; }
.exibindo .cabecalho { border-bottom-color: var(--papel); }
.exibindo .cabecalho .assinatura { opacity: 0; }
.abertura {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  transform-origin: top left;
  background: var(--papel);
}
.abertura.recolhendo #pular { opacity: 0; }
.abertura[hidden] { display: none; }
.abertura video {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: max(100%, 177.7778vh);
  width: max(100%, 177.7778dvh);
  height: auto;
  aspect-ratio: 16 / 9;
}
.abertura[data-formato="retrato"] video {
  width: max(100%, 56.25vh);
  width: max(100%, 56.25dvh);
  aspect-ratio: 9 / 16;
}
#pular {
  position: absolute;
  right: max(var(--margem), env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  padding: .55rem 1.25rem;
  border: 1px solid var(--tinta);
  border-radius: 2rem;
  background: var(--papel);
  color: var(--tinta);
}
@media (max-width: 56rem) {
  #jogos { grid-template-columns: minmax(0, 1fr); }
  .ficha { padding: clamp(1.4rem, 4vw, 2.5rem); }
  .descricao { max-width: 54ch; }
}
@media (max-width: 35rem) {
  .nav-jogos { display: none; }
  .cabecalho { gap: .25rem .5rem; }
}
@media (hover: hover) and (pointer: fine) {
  nav a:hover { text-decoration: underline; text-decoration-color: var(--cobre); text-decoration-thickness: 2px; text-underline-offset: .24em; }
  .principal:hover, #pular:hover { background: var(--cobre-claro); }
  .canais a:hover { color: var(--cobre-claro); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .principal span { transition: transform 160ms var(--saida); }
  .principal:hover span { transform: translateX(.15em); }
}
@media (prefers-reduced-motion: no-preference) {
  .revelar h1, .revelar .navegacao, .revelar footer { animation: revelar 160ms var(--saida) both; }
  .revelar #jogos { animation: revelar 180ms 60ms var(--saida) both; }
}
@keyframes revelar {
  from { opacity: 0; }
  to { opacity: 1; }
}
