@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil:wght@500;700;900&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #14150f;
  --panel: #1b1d15;
  --panel-raised: #22251a;
  --paper: #e8e2ce;
  --paper-dim: #a49d84;
  --khaki: #a89968;
  --olive: #4b5842;
  --olive-line: #333c2c;
  --signal: #a3402c;
  --signal-bright: #c14f36;
  --steel: #6b7b74;
  --grid-line: rgba(168, 153, 104, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--paper);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.mono { font-family: 'IBM Plex Mono', monospace; }

.stencil {
  font-family: 'Big Shoulders Stencil', sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.92;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Faixa superior (coordenadas / metadados) ---------- */
.topbar {
  border-bottom: 1px solid var(--olive-line);
  padding: 10px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}
.topbar .brand {
  color: var(--khaki);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--olive-line);
  position: relative;
}
.hero .designation {
  color: var(--signal-bright);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  margin: 0 0 22px;
  color: var(--paper);
}
.hero p.lede {
  max-width: 560px;
  font-size: 18px;
  color: var(--paper-dim);
  margin: 0 0 34px;
}
.hero .jump-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.jump-links a {
  border: 1px solid var(--khaki);
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--paper);
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.jump-links a:hover { background: var(--khaki); color: var(--ink); }

/* ---------- Abas de dossiê ---------- */
.dossier-tabs {
  display: flex;
  gap: 2px;
  margin-top: 40px;
}
.dossier-tabs button {
  font-family: 'Big Shoulders Stencil', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 19px;
  background: var(--panel);
  color: var(--paper-dim);
  border: 1px solid var(--olive-line);
  border-bottom: none;
  padding: 14px 26px 12px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.dossier-tabs button.active {
  background: var(--panel-raised);
  color: var(--paper);
  border-color: var(--khaki);
}

/* ---------- Ficha de operação (cada jogo) ---------- */
.case-file {
  display: none;
  background: var(--panel-raised);
  border: 1px solid var(--khaki);
  padding: 40px;
}
.case-file.active { display: block; }

.case-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--olive-line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.case-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 8px;
}
.case-head .tagline {
  color: var(--khaki);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.stamp {
  border: 3px solid var(--signal);
  color: var(--signal-bright);
  font-family: 'Big Shoulders Stencil', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  transform: rotate(-4deg);
  white-space: nowrap;
  flex-shrink: 0;
}

.case-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 720px) {
  .case-body { grid-template-columns: 1fr; }
}

.case-body .desc { color: var(--paper); }
.case-body .desc p { margin: 0 0 16px; }

.manifest {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.manifest li {
  border-top: 1px solid var(--olive-line);
  padding: 10px 0;
  font-size: 14px;
  display: flex;
  gap: 10px;
}
.manifest li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--khaki);
  flex-shrink: 0;
}

/* recon photo placeholder — padrão topográfico até trocar por print real */
.recon {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--olive-line);
  background-color: var(--olive);
  background-image:
    repeating-linear-gradient(0deg, rgba(20,21,15,0.35) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(20,21,15,0.35) 0 1px, transparent 1px 26px);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.recon::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(232,226,206,0.65);
  letter-spacing: 0.05em;
}
.recon .crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(232,226,206,0.4);
  border-radius: 50%;
}
.recon .crosshair::before,
.recon .crosshair::after {
  content: '';
  position: absolute;
  background: rgba(232,226,206,0.4);
}
.recon .crosshair::before { top: 50%; left: -14px; right: -14px; height: 1px; }
.recon .crosshair::after { left: 50%; top: -14px; bottom: -14px; width: 1px; }

.recon-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.recon-strip .recon { aspect-ratio: 4 / 3; margin-bottom: 0; }

/* ---------- Painel de download ---------- */
.deploy-panel {
  margin-top: 28px;
  border: 1px solid var(--olive-line);
  background: var(--panel);
  padding: 22px;
}
.deploy-panel .platforms {
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: var(--signal);
  color: var(--paper);
  border: none;
  padding: 16px 20px;
  font-family: 'Big Shoulders Stencil', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.download-btn:hover { background: var(--signal-bright); }
.download-btn .arrow { font-family: 'IBM Plex Mono', monospace; font-size: 16px; }

.tally {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.05em;
}
.tally .count {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--khaki);
  font-size: 13px;
}

/* ---------- Rodapé ---------- */
footer {
  border-top: 1px solid var(--olive-line);
  padding: 26px 0 40px;
  margin-top: 60px;
  font-size: 12px;
  color: var(--paper-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.section-pad { padding: 60px 0; }
