/* heroesofidle.com (servidor/docs/10, "Site heroesofidle.com"): option C of the previews approved by Thiago on
   12/11/2026. The fonts, buttons, icons and frame are the launcher's (launcher/assets), copied here by
   tools/vps/publicar_site.sh; fundo.jpg and capa.jpg live beside this file. */
@font-face { font-family: Cinzel; src: url(Cinzel-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Lora; src: url(Lora-Variable.ttf) format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Lora; src: url(Lora-Italic.ttf) format("truetype"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --fundo: #0f0c09;
  --creme: #f6efdc;
  --creme-2: #eadfc4;
  --suave: rgba(246, 239, 220, 0.74);
  --ouro: #f0d77e;
  --ouro-claro: #ffe799;
  --bronze: #b58d48;
  --marrom: #2e1a0e;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--fundo); color: var(--creme); font: 400 17px/1.55 Lora, Georgia, serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ouro-claro); }
img { display: block; }

.topo { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 44px); background: linear-gradient(rgba(10, 8, 6, 0.9), rgba(10, 8, 6, 0)); }
.marca { display: flex; align-items: center; gap: 10px; color: var(--creme); text-decoration: none; font: 700 22px Cinzel, serif; white-space: nowrap; }
.marca img { width: 27px; height: auto; }
.selo { font: 700 12px/1 Cinzel, serif; letter-spacing: 0.16em; color: var(--creme-2); padding-left: 18px; border-left: 1px solid rgba(181, 141, 72, 0.6); }
.topo nav { margin-left: auto; display: flex; gap: 26px; }
.topo nav a { color: var(--ouro-claro); text-decoration: none; font: 600 16px Lora, serif; white-space: nowrap; }
.topo nav a:hover { text-decoration: underline; }

.titulo { margin: 0; font: 700 clamp(42px, 7vw, 92px)/1 Cinzel, serif; letter-spacing: 0.01em;
  background: linear-gradient(#fff6d6 10%, #f3c766 52%, #b9782c 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #3a210c) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7)); }
.frase { margin: 0; font: italic 400 clamp(18px, 2.2vw, 24px)/1.4 Lora, serif; color: var(--creme-2); }

.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.botao-baixar { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 340px; max-width: 100%;
  aspect-ratio: 520 / 129; background: url(jogar_normal.png) center / 100% 100% no-repeat; color: var(--marrom);
  font: 700 25px Cinzel, serif; text-decoration: none; text-shadow: 0 1px 0 rgba(255, 244, 210, 0.55);
  clip-path: inset(3.1% 0.8% 3.9% 0.8% round 11px); }
.botao-baixar:hover { background-image: url(jogar_hover.png); }
.botao-baixar img { width: 28px; height: auto; }
.botao-wiki { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 230px; aspect-ratio: 252 / 76;
  background: url(wiki_normal.png) center / 100% 100% no-repeat; color: var(--creme); font: 600 18px Lora, serif; text-decoration: none;
  clip-path: inset(4% 2% 7.9% 2% round 8px); }
.botao-wiki:hover { background-image: url(wiki_hover.png); }
.botao-wiki img { width: 30px; height: auto; }

.moldura { border: 20px solid transparent; border-image: url(janela.png) 40 / 20px stretch; background: #000; }
.moldura video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* The first screen: the text and the buttons on the left, the trailer on the right, over the launcher's portal. */
.capa { position: relative; min-height: max(100vh, 700px); display: grid; align-items: center; overflow: hidden; }
.capa::before { content: ""; position: absolute; inset: -20px; background: url(fundo.jpg) center 70% / cover no-repeat; filter: blur(8px) brightness(0.3) saturate(1.1); }
.capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(12, 9, 6, 0) 75%, var(--fundo)); }
.grade { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 110px clamp(16px, 4vw, 48px) 64px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.texto { display: grid; gap: 22px; justify-items: start; }
.texto .titulo { font-size: clamp(40px, 4.6vw, 66px); white-space: nowrap; }
.fatos { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--suave); font-size: 16px; }
.fatos li { display: flex; gap: 10px; align-items: baseline; }
.fatos li::before { content: "◆"; color: var(--bronze); font-size: 11px; }

.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.passos li { counter-increment: passo; padding: 22px 22px 20px; background: linear-gradient(#211a12, #15110c); border: 1px solid rgba(181, 141, 72, 0.45); border-radius: 6px; }
.passos li::before { content: counter(passo); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 50%; border: 1px solid var(--bronze); color: var(--ouro); font: 700 17px Cinzel, serif; }
.passos h3 { margin: 0 0 6px; font: 700 19px Cinzel, serif; color: var(--ouro-claro); }
.passos p { margin: 0; color: var(--suave); font-size: 16px; }

.secao { padding: 72px clamp(16px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
.secao > h2 { margin: 0 0 28px; font: 700 clamp(26px, 3vw, 34px) Cinzel, serif; color: var(--creme); text-align: center; }
.divisor { width: 242px; height: 15px; margin: 0 auto 28px; background: url(divisor_ornado.png) center / contain no-repeat; }

.rodape { padding: 28px clamp(16px, 5vw, 64px); border-top: 1px solid rgba(181, 141, 72, 0.35); color: var(--suave); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }
.rodape a { color: var(--creme-2); }

/* The legal pages (/privacidade and /termos, provisional texts of 18/11/2026): the same header and footer as the page,
   a column of text below the header. */
.legal { max-width: 860px; margin: 0 auto; padding: 112px clamp(16px, 5vw, 40px) 64px; }
.legal h1 { margin: 0 0 8px; font: 700 clamp(30px, 4vw, 42px)/1.15 Cinzel, serif; color: var(--creme); }
.legal h2 { margin: 38px 0 10px; font: 700 clamp(21px, 2.4vw, 26px)/1.25 Cinzel, serif; color: var(--ouro-claro); }
.legal h3 { margin: 22px 0 6px; font: 700 18px Cinzel, serif; color: var(--creme-2); }
.legal p, .legal li { color: var(--creme-2); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--bronze); }
.legal .aviso { margin: 18px 0 8px; padding: 14px 18px; background: linear-gradient(#211a12, #15110c); border: 1px solid var(--bronze); border-radius: 6px; color: var(--creme); }
.legal .versao { margin: 0 0 6px; color: var(--suave); font-size: 15px; }
.legal .indice { margin: 22px 0 0; padding: 14px 18px 6px 38px; border: 1px solid rgba(181, 141, 72, 0.35); border-radius: 6px; font-size: 15px; }
.legal .indice a { text-decoration: none; }
.legal .indice a:hover { text-decoration: underline; }
.legal .tabela { margin: 0 0 14px; border: 1px solid rgba(181, 141, 72, 0.35); border-radius: 6px; overflow: hidden; }
.legal .linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 4px 18px; padding: 12px 16px; border-top: 1px solid rgba(181, 141, 72, 0.25); }
.legal .linha:first-child { border-top: 0; }
.legal .linha:nth-child(odd) { background: rgba(33, 26, 18, 0.55); }
.legal .linha b { color: var(--ouro); font-weight: 600; }
.legal .linha span { color: var(--creme-2); }
@media (max-width: 640px) {
  .legal { padding-top: 92px; }
  .legal .linha { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grade { grid-template-columns: 1fr; padding-top: 96px; }
  .texto { justify-items: stretch; }
}
@media (max-width: 760px) {
  /* The header in one line down to 320 px: the brand smaller, the links closer. */
  .selo { display: none; }
  .topo { gap: 12px; }
  .marca { font-size: 17px; gap: 8px; }
  .marca img { width: 22px; }
  .topo nav { gap: 14px; }
  .passos { grid-template-columns: 1fr; }
  .botao-baixar { width: 100%; font-size: 22px; }
  .botao-wiki { width: 100%; max-width: 340px; aspect-ratio: auto; height: 64px; }
  .acoes { flex-direction: column; align-items: stretch; }
}
@media (max-width: 520px) {
  .texto .titulo { white-space: normal; }
}
