/* GTA 6 Brasil — guia de fã. Paleta tirada da imagem de referência do Jonatan. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
}

:root {
  --fundo: #e5e5e5;
  --rosa: #ff5edc;
  --roxo: #401a57;
  --ceu-1: #5f5b9e;
  --ceu-2: #ad7fcb;
  --ceu-3: #fea0c6;
  --tinta: #1e1e1e;
  --cinza: #4a4a4a;
  --branco: #fbfafc;
  --raio: 22px;
  --sombra: 0 2px 4px rgba(64, 26, 87, .06), 0 14px 34px rgba(64, 26, 87, .13);
  --ceu: linear-gradient(180deg, var(--ceu-1) 0%, var(--ceu-2) 55%, var(--ceu-3) 100%);
  --largura: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Quicksand", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fundo);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #7a2f9e; }
:focus-visible { outline: 3px solid var(--roxo); outline-offset: 3px; border-radius: 6px; }

/* ---------- decoração: faixa rosa e palmeiras ---------- */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.faixa {
  position: absolute; left: -10%; top: 590px; width: 130%; height: 22px;
  background: var(--rosa); transform: rotate(-14deg); transform-origin: left center;
}
@media (max-width: 860px) { .faixa { top: 470px; height: 16px; transform: rotate(-24deg); } }
.faixa.fina { height: 12px; top: 520px; transform: rotate(-9deg); opacity: .9; }
.palmeira { position: absolute; fill: var(--roxo); }
.palmeira.grande { right: -70px; bottom: -40px; width: 460px; filter: blur(2.5px); opacity: .95; }
.palmeira.pequena { left: -60px; top: 380px; width: 220px; opacity: .18; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(229, 229, 229, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 26, 87, .08);
}
.topo .dentro { display: flex; align-items: center; gap: 18px; padding: 12px 20px; max-width: var(--largura); margin: 0 auto; }
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tinta); font-weight: 900; font-size: 1.15rem; letter-spacing: .01em; }
.marca .chip { background: var(--rosa); color: var(--tinta); border-radius: 10px; padding: 1px 10px; transform: rotate(-4deg); display: inline-block; }
.menu { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--cinza); font-weight: 800; padding: 8px 10px; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
.menu { flex-wrap: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--branco); color: var(--roxo); box-shadow: var(--sombra); }
.menu-botao { display: none; margin-left: auto; background: var(--roxo); color: #fff; border: 0; border-radius: 999px; font: inherit; font-weight: 800; padding: 8px 16px; cursor: pointer; }

/* ---------- estrutura ---------- */
main { position: relative; z-index: 1; }
.secao { max-width: var(--largura); margin: 0 auto; padding: 56px 20px; position: relative; z-index: 1; }
.secao.estreita { max-width: 860px; }

/* título escalonado, como na referência: palavra preta em cima, cinza deslocada embaixo */
.titulo-duplo { margin: 0 0 18px; line-height: .95; font-weight: 900; letter-spacing: -.01em; }
.titulo-duplo .l1 { display: block; color: var(--tinta); font-size: clamp(2.6rem, 6.5vw, 5rem); }
.titulo-duplo .l2 { display: block; color: var(--cinza); font-size: clamp(2.2rem, 5.6vw, 4.3rem); margin-left: clamp(40px, 9vw, 150px); font-weight: 800; text-shadow: 0 3px 8px rgba(0,0,0,.08); }
h1, h2, h3 { line-height: 1.15; }
.secao.estreita .titulo-duplo::after { content: ""; display: block; width: 150px; height: 12px; border-radius: 6px; background: var(--rosa); transform: rotate(-4deg); margin: 18px 0 0 6px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; margin: 0 0 14px; }
h2 .cinza, h3 .cinza { color: var(--cinza); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 8px; }
.lead { font-size: 1.2rem; color: var(--cinza); max-width: 640px; font-weight: 600; }
.atualizado { font-size: .9rem; color: var(--cinza); font-weight: 700; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 44px; }
.poster {
  border-radius: var(--raio); overflow: hidden; background: var(--ceu);
  box-shadow: var(--sombra); transform: rotate(-1.6deg); aspect-ratio: 4 / 3.3; position: relative;
}
.poster img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.poster figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .75rem; color: #fff; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.botao { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 900; text-decoration: none; font-size: 1.02rem; border: 0; cursor: pointer; font-family: inherit; }
.botao.cheio { background: var(--roxo); color: #fff; box-shadow: 0 8px 20px rgba(64, 26, 87, .3); }
.botao.cheio:hover { background: #57247a; color: #fff; }
.botao.claro { background: var(--branco); color: var(--roxo); box-shadow: var(--sombra); }
.botao.rosa { background: var(--rosa); color: var(--tinta); }

/* ---------- cartões ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cartao {
  background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--tinta);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.cartao:hover { transform: translateY(-4px) rotate(-.5deg); color: var(--tinta); }
.cartao .foto { aspect-ratio: 16 / 9; background: var(--ceu); overflow: hidden; }
.cartao .foto img { width: 100%; height: 100%; object-fit: cover; }
.cartao .corpo { padding: 18px 20px 22px; }
.cartao .corpo p { margin: 0; color: var(--cinza); font-weight: 600; }
.etiqueta { display: inline-block; background: var(--rosa); color: var(--tinta); font-size: .78rem; font-weight: 900; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.etiqueta.roxa { background: var(--roxo); color: #fff; }
.etiqueta.cinza { background: #d2d2d2; color: var(--tinta); }

/* resposta curta (para Google e IAs) */
.resposta {
  background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra);
  padding: 22px 26px; border-left: 10px solid var(--rosa); margin: 18px 0 8px;
}
.resposta p { margin: 6px 0 0; font-weight: 600; }
.resposta strong { color: var(--roxo); }

/* tabela */
.tabela { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--branco); border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.tabela th, .tabela td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #ece8f0; vertical-align: top; }
.tabela th { background: var(--roxo); color: #fff; font-weight: 900; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela td.num { font-weight: 900; white-space: nowrap; }

/* linha do tempo de capítulos */
.linha { list-style: none; padding: 0; margin: 24px 0; position: relative; }
.linha::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 6px; border-radius: 6px; background: var(--ceu); }
.linha > li { position: relative; padding: 0 0 26px 76px; }
.linha .bola { position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--rosa); color: var(--tinta); display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; box-shadow: var(--sombra); }
.linha .bola small { display: block; font-size: .55rem; line-height: 1; margin-top: -14px; }
.linha .caixa { background: var(--branco); border-radius: var(--raio); padding: 18px 22px; box-shadow: var(--sombra); }
.linha .caixa ul { margin: 8px 0 0; padding-left: 20px; }
.prazo { background: #fff0fb; border: 2px dashed var(--rosa); border-radius: 14px; padding: 10px 14px; margin-top: 10px; font-weight: 700; }

/* ---------- checklist ---------- */
.painel {
  position: sticky; top: 66px; z-index: 10; background: var(--branco); border-radius: var(--raio);
  box-shadow: var(--sombra); padding: 16px 20px; margin: 20px 0 24px; display: grid; gap: 12px;
}
.painel .linha-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.contagem { font-weight: 900; font-size: 1.3rem; }
.contagem span { color: var(--cinza); font-weight: 700; font-size: 1rem; }
.barra { height: 16px; border-radius: 999px; background: #ece8f0; overflow: hidden; }
.barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rosa), var(--ceu-2), var(--ceu-1)); border-radius: 999px; transition: width .35s ease; }
.controles { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.controles input[type="search"] { flex: 1 1 220px; font: inherit; padding: 10px 16px; border-radius: 999px; border: 2px solid #ddd6e4; background: #fff; }
.filtro { font: inherit; font-weight: 800; border: 0; background: #ece8f0; color: var(--cinza); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.filtro[aria-pressed="true"] { background: var(--roxo); color: #fff; }
.zerar { font: inherit; font-weight: 800; border: 0; background: transparent; color: var(--cinza); text-decoration: underline; cursor: pointer; }

.grupo { margin: 34px 0 10px; }
.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.item { background: var(--branco); border-radius: 16px; box-shadow: 0 1px 2px rgba(64,26,87,.06); }
.item label { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 14px 18px; cursor: pointer; }
.item input { appearance: none; width: 30px; height: 30px; border-radius: 10px; border: 3px solid var(--ceu-2); margin: 2px 0 0; cursor: pointer; display: grid; place-items: center; background: #fff; }
.item input:checked { background: var(--rosa); border-color: var(--rosa); }
.item input:checked::after { content: ""; width: 9px; height: 16px; border: solid var(--tinta); border-width: 0 4px 4px 0; transform: rotate(45deg) translate(-1px, -2px); }
.item .nome { font-weight: 900; display: block; }
.item .desc { color: var(--cinza); font-weight: 600; font-size: .97rem; display: block; }
.item .fonte { font-size: .8rem; color: var(--cinza); }
.item .nome .en { font-weight: 600; font-size: .8em; color: var(--cinza); white-space: normal; }
.grupo h2 .en { font-weight: 700; font-size: .62em; color: var(--cinza); display: inline-block; }
.item.feito .nome { text-decoration: line-through; text-decoration-color: var(--rosa); text-decoration-thickness: 3px; }
.item.feito { opacity: .78; }
.tipo { font-size: .72rem; font-weight: 900; border-radius: 999px; padding: 2px 9px; text-transform: uppercase; white-space: nowrap; }
.tipo.platina { background: #e9e4f5; color: var(--roxo); }
.tipo.ouro { background: #fff1c2; color: #6b4e00; }
.tipo.prata { background: #e6e6e6; color: #3b3b3b; }
.tipo.bronze { background: #f6dccb; color: #6b3416; }
.tipo.cap { background: #ece8f0; color: var(--roxo); }
.em-breve { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); padding: 22px 24px; border: 3px dashed var(--ceu-2); }
.em-breve h3 { color: var(--roxo); }

/* ---------- anúncios ---------- */
.anuncio {
  max-width: var(--largura); margin: 10px auto; padding: 0 20px; position: relative; z-index: 1;
}
.anuncio .slot {
  min-height: 110px; border: 2px dashed #bdb3c8; border-radius: 16px; display: grid; place-items: center;
  color: #8a7f96; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.35);
}
.anuncio.lateral .slot { min-height: 260px; }

/* ---------- vídeo / canal ---------- */
.canal { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; background: var(--ceu); border-radius: calc(var(--raio) + 8px); padding: 34px; color: #fff; box-shadow: var(--sombra); overflow: hidden; position: relative; }
.canal h2, .canal p { color: #fff; }
.canal p { font-weight: 700; }
.canal .video { border-radius: var(--raio); overflow: hidden; box-shadow: 0 14px 30px rgba(30, 10, 40, .35); position: relative; display: block; }
.canal .video::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--rosa); color: var(--tinta); display: grid; place-items: center; font-size: 1.7rem; padding-left: 6px; }

/* FAQ */
.faq details { background: var(--branco); border-radius: 18px; box-shadow: var(--sombra); margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.12rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: "+"; color: var(--rosa); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .r { padding: 0 0 16px; color: var(--tinta); }
.faq .r p { margin: 0 0 8px; }
.faq .fontes { font-size: .85rem; color: var(--cinza); }

.fontes-lista { font-size: .92rem; color: var(--cinza); }
.fontes-lista li { margin-bottom: 4px; }

/* rodapé */
.rodape { position: relative; z-index: 1; background: var(--roxo); color: #eadff2; margin-top: 60px; }
.rodape .dentro { max-width: var(--largura); margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.rodape a { color: #fff; }
.rodape h3 { color: #fff; }
.rodape small { display: block; color: #cbb8d8; margin-top: 10px; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: 6px; }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero, .canal { grid-template-columns: 1fr; }
  .hero { gap: 30px; }
  .poster { transform: rotate(-1deg); }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fundo); flex-direction: column; padding: 10px 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .menu.aberto { display: flex; }
  .menu-botao { display: inline-block; }
  .palmeira.grande { width: 280px; right: -80px; }
  .rodape .dentro { grid-template-columns: 1fr; }
  .painel { top: 60px; }
  .item label { grid-template-columns: 30px 1fr; }
  .item label .tipo { grid-column: 2; justify-self: start; }
  .canal { padding: 22px; }
  .tabela th, .tabela td { padding: 10px 10px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* páginas de ajuda (pilares) */
.indice { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); padding: 18px 24px; margin: 16px 0 10px; }
.indice ul { margin: 8px 0 0; padding-left: 20px; }
.indice li { margin-bottom: 6px; font-weight: 700; }
.pilar { margin: 46px 0 0; scroll-margin-top: 90px; }
.pilar ol, .pilar ul { font-weight: 600; }
.pilar li { margin-bottom: 6px; }
@media (max-width: 860px) { .indice ul { columns: 1; } }
