/* Terra Concordia — site oficial. Mesmo visual do jogo: fundo escuro e quente, pergaminho escuro com moldura dourada,
   títulos em Cinzel, hexágonos como detalhe e as cores das quatro civilizações. As imagens nunca são esticadas:
   cada uma tem largura/altura no HTML e proporção fixa aqui (object-fit: cover recorta, não achata). */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans TC"; src: url("../fonts/NotoSans-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #120c07;
  --bg-2: #1b130b;
  --panel: rgba(36, 26, 16, 0.86);
  --panel-solid: #241a10;
  --line: rgba(201, 151, 58, 0.38);
  --gold: #e9c46a;
  --gold-2: #c9973a;
  --gold-3: #8a6220;
  --text: #efe3c6;
  --text-dim: #bfae8c;
  --solaris: #d65a40;
  --mariteia: #4a8ad8;
  --verdantis: #5aa84a;
  --aurifera: #e2b23a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --wrap: 1180px;
  --head-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 151, 58, 0.16), transparent 55%),
    linear-gradient(var(--bg), var(--bg-2) 60%, var(--bg));
  background-attachment: fixed;
  color: var(--text);
  font: 17px/1.65 "Noto Sans TC", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-color: rgba(233, 196, 106, 0.4); text-underline-offset: 3px; }
a:hover { color: #fff3cf; }
h1, h2, h3 { font-family: "Cinzel", Georgia, serif; font-weight: 700; color: var(--gold); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: 0.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1208; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.8em 1.5em; border-radius: 999px; border: 1px solid var(--line);
  font: 700 0.95rem/1 "Cinzel", Georgia, serif; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase;
  color: var(--text); background: rgba(255, 255, 255, 0.04); transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); color: #fff; }
.btn-steam {
  color: #1d1307; border-color: #f7d98c;
  background: linear-gradient(180deg, #f6d888, #d5a443 55%, #b8862c);
  box-shadow: 0 6px 22px rgba(213, 164, 67, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-steam:hover { color: #1d1307; background: linear-gradient(180deg, #ffe7a6, #e2b252 55%, #c49234); box-shadow: 0 10px 30px rgba(213, 164, 67, 0.5); }
.btn-big { font-size: 1.05rem; padding: 1em 1.9em; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }

/* ---------- cabeçalho */
.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(18, 12, 7, 0.82); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.head-row { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.brand-name { font: 700 1.2rem/1 "Cinzel", Georgia, serif; color: var(--gold); letter-spacing: 0.04em; white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { white-space: nowrap;
  font: 700 0.88rem/1 "Cinzel", Georgia, serif; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; padding: 10px 12px; border-radius: 8px; position: relative;
}
.nav > a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav > a[aria-current="page"] { color: var(--gold); }
.nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.lang { display: flex; align-items: center; gap: 6px; margin: 0 6px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.lang svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
.lang-select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text);
  font: 600 0.9rem/1 "Noto Sans TC", system-ui, sans-serif; padding: 9px 26px 9px 2px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 13px) 55%, calc(100% - 8px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.lang-select option { background: var(--panel-solid); color: var(--text); }
.lang-select option:disabled { color: #7d7058; }
.head-steam { padding: 0.65em 1.2em; font-size: 0.82rem; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn span + span { margin-top: 6px; }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 16px 22px; background: rgba(18, 12, 7, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 12px; font-size: 1rem; }
  .nav > a[aria-current="page"]::after { display: none; }
  .lang { margin: 8px 0; justify-content: flex-start; }
  .lang-select { flex: 1; font-size: 1rem; }
  .head-steam { padding: 1em; font-size: 0.95rem; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- seções e painéis */
.section { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-dim); font-size: 1.08rem; }
.eyebrow { display: inline-block; font: 700 0.8rem/1 "Cinzel", Georgia, serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.divider { width: 220px; height: 22px; margin: 6px auto 18px; background:
  linear-gradient(var(--line), var(--line)) left 50% / 90px 1px no-repeat,
  linear-gradient(var(--line), var(--line)) right 50% / 90px 1px no-repeat;
  position: relative; }
.divider::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 20px; transform: translate(-50%, -50%);
  background: var(--gold-2); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.panel {
  background: linear-gradient(180deg, rgba(48, 35, 21, 0.92), rgba(30, 21, 13, 0.92));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 230, 170, 0.04);
  padding: clamp(22px, 3vw, 36px);
}
.page-title { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 32px); text-align: center; }
.page-title p { color: var(--text-dim); max-width: 760px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- topo da página inicial */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 46% 40% at 50% 62%, rgba(18, 12, 7, 0.62), transparent 100%), radial-gradient(ellipse at 50% 40%, rgba(18, 12, 7, 0.1), rgba(18, 12, 7, 0.55) 70%),
              linear-gradient(rgba(18, 12, 7, 0.35), transparent 30%, transparent 55%, var(--bg) 98%); }
.hero-inner { padding: 64px 16px 96px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(640px, 92vw); aspect-ratio: 16 / 9; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.75)); }
.hero-tag { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 720px; margin: 4px auto 28px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; color: var(--text-dim); font-size: 0.92rem; text-shadow: 0 1px 6px #000; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 9px; height: 10px; background: var(--gold-2); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* ---------- blocos de texto e imagem */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: #0c0805; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.wide { aspect-ratio: 16 / 9; }
.lead { font-size: 1.12rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 0.6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 13px; height: 14px; background: var(--gold-2); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ---------- civilizações */
.civs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.civ {
  --c: var(--gold); position: relative; text-align: center; padding: 30px 22px 26px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, #2a1e12), #1d150c 70%);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.civ:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--c); }
.civ::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--c); }
.civ img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.civ h3 { color: var(--c); font-size: 1.35rem; margin-bottom: 2px; }
.civ .role { font: 700 0.78rem/1.3 "Cinzel", Georgia, serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.civ p { font-size: 0.95rem; margin: 0; }
.civ.solaris { --c: var(--solaris); } .civ.mariteia { --c: var(--mariteia); } .civ.verdantis { --c: var(--verdantis); } .civ.aurifera { --c: var(--aurifera); }
@media (max-width: 1000px) { .civs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .civs { grid-template-columns: 1fr; } }

/* ---------- cartões de recursos */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature .figure { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.feature-body { padding: 22px 24px 26px; }
.feature-body p { color: var(--text-dim); font-size: 0.97rem; margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- modos e plataformas */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mode .ico { width: 54px; height: 60px; display: grid; place-items: center; margin-bottom: 12px; background: linear-gradient(180deg, #3a2a17, #251a0e); border: 1px solid var(--line);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.mode .ico img { width: 34px; height: 34px; object-fit: contain; }
.mode p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
@media (max-width: 1000px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 0.93rem; }
.chip::before { content: ""; width: 11px; height: 12px; background: var(--gold-2); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* ---------- galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0c0805; aspect-ratio: 16 / 9; cursor: zoom-in; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.04); }
.shot button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.shot button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gallery.strip { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* tela cheia: a imagem cabe inteira, na proporção original */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 5, 3, 0.94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 0; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; height: 100%; justify-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox figcaption { margin-top: 12px; color: var(--text-dim); font-size: 0.95rem; text-align: center; }
.lightbox button { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--gold); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.14); }
.lb-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 620px) { .lightbox { grid-template-columns: 1fr; } .lb-prev, .lb-next { position: absolute; bottom: 18px; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

/* ---------- vídeos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video { margin: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0c0805; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt button { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55)); cursor: pointer; color: #fff; }
.yt .play { width: 86px; height: 60px; border-radius: 16px; background: rgba(200, 30, 30, 0.92); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .2s; }
.yt button:hover .play { transform: scale(1.08); }
.yt .play::after { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .note { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 0.78rem; color: #ddd; text-align: center; text-shadow: 0 1px 4px #000; }
.video figcaption { margin-top: 10px; font-family: "Cinzel", Georgia, serif; font-weight: 700; color: var(--gold); }
.soon { aspect-ratio: 16 / 9; border-radius: 12px; border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 20px; position: relative; overflow: hidden; }
.soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: saturate(0.7); }
.soon div { position: relative; }
.soon strong { display: block; font: 700 1.4rem/1.2 "Cinzel", Georgia, serif; color: var(--gold); }
.channel { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.channel p { margin: 0; color: var(--text-dim); }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* ---------- manuais */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.doc .cover { aspect-ratio: 210 / 297; background: #0c0805; border-bottom: 1px solid var(--line); overflow: hidden; }
.doc .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s; }
.doc:hover .cover img { transform: scale(1.03); }
.doc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.doc-body p { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.doc-meta { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 14px; }
@media (max-width: 900px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .docs { grid-template-columns: 1fr; } }
.langs-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.langs-table th, .langs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.langs-table th { font: 700 0.8rem/1.2 "Cinzel", Georgia, serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); }
.langs-table td a { white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- textos longos (privacidade, saúde) */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose .updated { color: var(--text-dim); font-size: 0.92rem; }
.alert { border-left: 5px solid #e0653f; background: linear-gradient(90deg, rgba(224, 101, 63, 0.14), transparent); padding: 18px 22px; border-radius: 0 12px 12px 0; margin-bottom: 1.4em; }
.alert strong { color: #ffb08f; }

/* ---------- chamada final */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: clamp(40px, 6vw, 72px) 22px; border: 1px solid var(--line); }
.cta > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 12, 7, 0.55), rgba(18, 12, 7, 0.82)); }
.cta p { max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem; }

/* ---------- rodapé */
.site-foot { margin-top: 70px; position: relative; background: linear-gradient(#150e08, #0d0905); }
/* divisória: linha dourada que engrossa no centro, com o emblema do jogo pousado nela */
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 58, 0.25) 18%, rgba(233, 196, 106, 0.9) 50%, rgba(201, 151, 58, 0.25) 82%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 1px no-repeat, radial-gradient(ellipse 22% 100% at 50% 50%, #000 60%, transparent 61%);
  mask: linear-gradient(#000 0 0) top / 100% 1px no-repeat, radial-gradient(ellipse 22% 100% at 50% 50%, #000 60%, transparent 61%); }
.foot-mark { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 150px; height: 74px; display: grid; place-items: center;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #170f08 58%, transparent 60%); }
.foot-mark::before, .foot-mark::after { content: ""; position: absolute; top: 50%; width: 9px; height: 10px; margin-top: -5px; background: var(--gold);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.foot-mark::before { left: -4px; } .foot-mark::after { right: -4px; }
.foot-mark img { width: 80px; height: auto; aspect-ratio: 192 / 152; object-fit: contain; filter: drop-shadow(0 0 14px rgba(233, 196, 106, 0.45)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 34px; padding: 64px 0 34px; }
.foot-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand img { width: 96px; height: auto; aspect-ratio: 742 / 778; object-fit: contain; }
.foot-brand .foot-logo { width: 200px; aspect-ratio: 16 / 9; }
.site-foot h2 { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.foot-links a { color: var(--text-dim); text-decoration: none; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--gold); }
.foot-gap { margin-top: 14px; }
.social { display: flex; gap: 12px; margin-bottom: 18px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); transition: background .2s, transform .2s; }
.social a:hover { background: rgba(233, 196, 106, 0.16); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: var(--gold); }
.foot-steam { font-size: 0.8rem; padding: 0.85em 1.2em; }
.legal { border-top: 1px solid rgba(201, 151, 58, 0.2); padding: 20px 0 30px; color: #8f8167; font-size: 0.84rem; text-align: center; }
.legal p { margin: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; text-align: center; } .foot-brand, .social { justify-content: center; } .foot-links { align-items: center; } }

/* aparece ao rolar (respeita quem prefere sem animação) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* rodapé sempre no fim da tela, mesmo em páginas curtas */
body { display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.foot-steam { text-align: center; line-height: 1.3; }
