/* Cara de Pau — página do jogo (estática, sem framework). Identidade do jogo: madeira, dourado e vinho. */
:root {
  --fundo: #120a07;
  --fundo2: #1d110b;
  --madeira: #2a1a10;
  --linha: rgba(214, 170, 92, .28);
  --ouro: #e3b862;
  --ouro2: #b8862f;
  --vinho: #6e1622;
  --texto: #f3e7d0;
  --suave: #c7b394;
  --raio: 16px;
  --titulo: 'Cinzel', Georgia, serif;
  --corpo: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--texto); font-family: var(--corpo); font-size: 17px; line-height: 1.6; overflow-x: hidden;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(110, 22, 34, .45), transparent 60%), radial-gradient(900px 600px at 0% 30%, rgba(184, 134, 47, .12), transparent 60%), var(--fundo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ouro); }
.pular { position: absolute; left: -999px; top: 8px; background: var(--ouro); color: #1a0f08; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.pular:focus { left: 8px; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(18, 10, 7, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo__in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 20px; }
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.marca img:first-child { border-radius: 8px; }
.marca__logo { height: 34px; width: auto; }
.topo__menu { display: flex; gap: 22px; margin-left: auto; }
.topo__menu a { color: var(--suave); text-decoration: none; font-size: .95rem; }
.topo__menu a:hover { color: var(--ouro); }
.selo { flex: none; font-family: var(--titulo); font-weight: 800; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #1a0f08; background: linear-gradient(#f1cf82, var(--ouro2)); padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 10px rgba(227, 184, 98, .35); }

/* ---------- hero ---------- */
.hero { max-width: 1180px; margin: 0 auto; padding: 56px 20px 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__logo { width: min(560px, 100%); margin: 0 0 14px -10px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .65)); }
h1 { font-family: var(--titulo); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.18; margin: 0 0 14px; color: var(--texto); }
.hero__lead { color: var(--suave); font-size: 1.08rem; margin: 0 0 22px; max-width: 34em; }
.hero__lead em, .passos em { color: var(--ouro); font-style: italic; }
.plataformas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plataformas li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--linha); font-size: .95rem; color: var(--suave); }
.plataformas b { color: var(--texto); font-weight: 700; }
.plat__ico { width: 18px; height: 18px; border-radius: 5px; background: var(--ouro); flex: none;
  -webkit-mask: radial-gradient(circle at 50% 60%, #000 55%, transparent 57%); mask: radial-gradient(circle at 50% 60%, #000 55%, transparent 57%); }
.plat__ico--android { -webkit-mask: linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0); border-radius: 9px 9px 4px 4px; }
.plat__ico--pc { -webkit-mask: linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0); border-radius: 3px; height: 13px; box-shadow: 0 6px 0 -4px var(--ouro); }
.hero__telas { position: relative; padding-bottom: 8%; }
.tela { border-radius: 14px; border: 1px solid var(--linha); box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 0 6px rgba(0, 0, 0, .35); }
.tela--desk { width: 100%; }
.tela--cel { position: absolute; right: -4%; bottom: -6%; width: 34%; border-radius: 22px; border: 4px solid #0c0705; box-shadow: 0 20px 50px rgba(0, 0, 0, .8), 0 0 0 1px var(--linha); }

/* ---------- seções ---------- */
.secao { max-width: 1180px; margin: 0 auto; padding: 56px 20px; }
h2 { font-family: var(--titulo); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 8px; color: var(--ouro); }
.secao__sub { color: var(--suave); margin: 0 0 28px; max-width: 42em; }
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.passos li { position: relative; padding: 22px 18px 18px; border-radius: var(--raio); background: linear-gradient(160deg, var(--madeira), var(--fundo2)); border: 1px solid var(--linha); counter-increment: p; }
.passos li::before { content: counter(p); position: absolute; top: -14px; left: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-family: var(--titulo); font-weight: 800; color: #1a0f08; background: linear-gradient(#f1cf82, var(--ouro2)); }
.passos b { font-family: var(--titulo); font-size: 1.05rem; color: var(--texto); }
.passos p { margin: 6px 0 0; color: var(--suave); font-size: .95rem; }

.temas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tema { position: relative; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); background: #000; min-height: 260px; }
.tema img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s, opacity .3s; }
.tema:hover img { transform: scale(1.03); opacity: 1; }
.tema .tema__cel { object-position: 50% 8%; } /* celular: mostra a mesa, não o menu de ações */
.tema div { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.tema h3 { margin: 0; font-family: var(--titulo); font-size: 1.3rem; color: var(--ouro); }
.tema p { margin: 2px 0 0; color: var(--texto); font-size: .95rem; }
.tema--cyber h3 { color: #6fe9ff; }

.recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.recurso { padding: 20px; border-radius: var(--raio); background: rgba(0, 0, 0, .3); border: 1px solid var(--linha); }
.recurso__ico { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.recurso b { font-family: var(--titulo); font-size: 1.02rem; }
.recurso p { margin: 6px 0 0; color: var(--suave); font-size: .95rem; }

.secao--telas { padding-top: 10px; }
.galeria { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.galeria figure { margin: 0; width: min(300px, 44vw); }
.galeria img { border-radius: 24px; border: 4px solid #0c0705; box-shadow: 0 20px 50px rgba(0, 0, 0, .7), 0 0 0 1px var(--linha); }
.galeria figcaption { text-align: center; color: var(--suave); font-size: .9rem; margin-top: 10px; font-style: italic; }

.perguntas { display: grid; gap: 10px; max-width: 820px; margin-top: 18px; }
.perguntas details { border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linha); padding: 0 18px; }
.perguntas summary { cursor: pointer; padding: 15px 0; font-family: var(--titulo); font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; color: var(--ouro); font-size: 1.3rem; line-height: 1; }
.perguntas details[open] summary::after { content: '–'; }
.perguntas p { margin: 0 0 16px; color: var(--suave); }

.chamada { max-width: 820px; margin: 30px auto 70px; padding: 38px 24px; text-align: center; border-radius: 22px; background: linear-gradient(160deg, rgba(110, 22, 34, .55), rgba(42, 26, 16, .9)); border: 1px solid var(--linha); }
.chamada p { color: var(--suave); margin: 4px 0 20px; }
.botao { display: inline-block; text-decoration: none; font-family: var(--titulo); font-weight: 800; letter-spacing: .5px; color: #1a0f08; background: linear-gradient(#f1cf82, var(--ouro2)); padding: 13px 26px; border-radius: 12px; box-shadow: 0 6px 18px rgba(227, 184, 98, .3); }
.botao:hover { filter: brightness(1.08); }

.rodape { border-top: 1px solid var(--linha); background: rgba(0, 0, 0, .35); }
.rodape__in { max-width: 1180px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--suave); font-size: .88rem; }

/* ---------- tablet e celular ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 28px; }
  .hero__logo { margin-left: -6px; }
  .hero__telas { max-width: 640px; }
  .passos { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .recursos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topo__menu { display: none; }
  .selo { margin-left: auto; }
  .hero { padding: 26px 16px 30px; }
  .secao { padding: 42px 16px; }
  .passos, .recursos, .temas { grid-template-columns: 1fr; }
  .tema { min-height: 210px; }
  .tela--cel { width: 38%; right: -2%; }
  .plataformas li { width: 100%; }
  .galeria { gap: 14px; }
  .galeria figure { width: calc(50% - 7px); }
  .chamada { margin: 10px 16px 50px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tema img { transition: none; } }
