@charset "UTF-8";

/* ── Download page — alinhado ao padrão guias-wiki / rankings ── */

body.body--download.body--guias-hero {
  overflow-x: hidden;
}

/* Hero → seção de conteúdo */
body.body--guias-hero.body--download .wiki-hero + .section.section_download-page {
  position: relative;
  z-index: 46;
  margin-top: 0 !important;
  padding-top: 1rem !important;
}

body.body--guias-hero.body--download .wiki-hero + .section.section_download-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: clamp(24px, 4vw, 46px);
  pointer-events: none;
  background: linear-gradient(180deg, #0c0b0a 0%, rgba(12, 11, 10, 0.86) 44%, rgba(12, 11, 10, 0) 100%);
}

/* ── Seção (mesmo ritmo da wiki) ── */

body.body--guias-hero.body--download .section_download-page {
  --dl-gold: #e8c373;
  --dl-gold-bright: #f2d085;
  --dl-gold-dim: rgba(232, 195, 115, 0.38);
  --dl-panel: rgba(16, 14, 10, 0.68);
  --dl-panel-border: rgba(232, 195, 115, 0.45);
  --dl-text: rgba(248, 245, 238, 0.98);
  --dl-text-muted: rgba(215, 200, 161, 0.78);
  --dl-inner: rgba(0, 0, 0, 0.48);
  --dl-inner-border: rgba(232, 195, 115, 0.28);
  position: relative;
  z-index: 30;
  margin-top: clamp(-2.5rem, -5vw, -3.5rem);
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

body.body--guias-hero.body--download .section_download-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.48) 0%, rgba(12, 11, 10, 0.72) 100%);
  opacity: 0.92;
  filter: saturate(1.1);
}

body.body--guias-hero.body--download .section_download-page .dl-page {
  position: relative;
  z-index: 1;
  max-width: var(--container-width, 105rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  padding-right: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--font-0, "Intro", "Open Sans", Tahoma, Arial, sans-serif);
  color: var(--dl-text);
}

/* Painel principal (borda dourada como guias-wiki__panel) */
.dl-panel {
  overflow: hidden;
  border: 1px solid var(--dl-panel-border);
  border-radius: 0.625rem;
  background: var(--dl-panel);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(232, 195, 115, 0.06),
    0 1.5rem 4rem rgba(0, 0, 0, 0.4),
    0 0 1.5rem rgba(232, 195, 115, 0.1),
    0 0 3rem rgba(199, 156, 77, 0.04);
}

.dl-panel__body {
  padding: clamp(1.1rem, 2.2vw, 1.65rem) clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.75rem);
}

.dl-card__title,
.dl-reqs__title,
.dl-tools__title {
  text-transform: uppercase;
}

/* ── Download cards ── */

.dl-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid var(--dl-inner-border);
  border-radius: 0.375rem;
  background: var(--dl-inner);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(232, 195, 115, 0.04),
    0 0.6rem 1.8rem rgba(0, 0, 0, 0.4),
    0 0 0.8rem rgba(232, 195, 115, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.dl-card:hover {
  border-color: rgba(232, 195, 115, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(232, 195, 115, 0.06),
    0 0.8rem 2rem rgba(0, 0, 0, 0.45),
    0 0 1.2rem rgba(232, 195, 115, 0.12);
  transform: translateY(-1px);
}

.dl-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dl-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(200, 164, 93, 0.35);
  border-radius: 50%;
  background: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.25));
  color: var(--dl-gold-bright);
  box-shadow:
    0 0 1.2rem rgba(232, 195, 115, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dl-card__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.dl-card__icon--muted {
  color: var(--page-text-muted, rgba(215, 200, 161, 0.72));
}

.dl-card__title {
  margin: 0;
  color: var(--dl-gold-bright);
  font-family: var(--font-2, "AngelusMedieval", Georgia, serif);
  font-size: var(--site-fs-lg);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-shadow:
    0 0 0.5rem rgba(232, 195, 115, 0.18),
    0 0 1.5rem rgba(232, 195, 115, 0.08);
}

.dl-card__desc {
  margin: 0;
  font-size: var(--site-fs-sm);
  line-height: var(--site-lh-body);
  color: var(--dl-text-muted);
}

.dl-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.78rem 1.15rem;
  border-radius: 0.375rem;
  font-family: var(--font-0, "Open Sans", Arial, sans-serif);
  font-size: var(--site-fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.dl-btn--primary {
  border: 1px solid rgba(232, 195, 115, 0.55);
  background: linear-gradient(180deg, rgba(232, 195, 115, 0.32) 0%, rgba(180, 140, 60, 0.22) 100%);
  color: #fff8e8;
  text-shadow: 0 0 0.5rem rgba(232, 195, 115, 0.25);
  box-shadow:
    0 0 0.8rem rgba(232, 195, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dl-btn--primary:hover {
  border-color: rgba(242, 208, 133, 0.72);
  background: linear-gradient(180deg, rgba(242, 208, 133, 0.42) 0%, rgba(200, 160, 70, 0.3) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 1.2rem rgba(232, 195, 115, 0.22),
    0 0 2rem rgba(232, 195, 115, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dl-btn--outline {
  border: 1px solid rgba(200, 164, 93, 0.38);
  background: rgba(200, 164, 93, 0.08);
  color: var(--dl-gold-bright);
}

.dl-btn--outline:hover {
  border-color: rgba(232, 195, 115, 0.48);
  background: rgba(232, 195, 115, 0.18);
  color: #fff3cc;
  transform: translateY(-1px);
  box-shadow: 0 0 1.2rem rgba(232, 195, 115, 0.12);
}

.dl-btn--ghost {
  border: 1px solid rgba(200, 164, 93, 0.28);
  background: rgba(0, 0, 0, 0.25);
  color: var(--page-text-muted, rgba(215, 200, 161, 0.88));
}

.dl-btn--ghost:hover {
  border-color: rgba(232, 195, 115, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dl-gold-bright);
}

.dl-card__note {
  margin: 0;
  font-size: var(--site-fs-xs);
  line-height: var(--site-lh-body);
  color: var(--dl-text-muted);
}

.dl-card__note a {
  color: var(--dl-gold-bright);
  text-decoration: none;
}

.dl-card__note a:hover {
  color: #fff3cc;
  text-decoration: underline;
}

/* ── Requisitos do sistema ── */

.dl-reqs {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.dl-reqs__title,
.dl-tools__title {
  margin: 0 0 1rem;
  color: var(--dl-gold-bright);
  font-family: var(--font-2, "AngelusMedieval", Georgia, serif);
  font-size: var(--site-fs-lg);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 1rem rgba(232, 195, 115, 0.12);
}

.dl-reqs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.dl-req {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--dl-inner-border);
  border-radius: 0.375rem;
  background: var(--dl-inner);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dl-req__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid rgba(200, 164, 93, 0.25);
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(215, 200, 161, 0.65);
}

.dl-req__icon svg {
  width: 1rem;
  height: 1rem;
}

.dl-req__label {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(215, 200, 161, 0.62);
  font-size: var(--site-fs-2xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dl-req__value {
  display: block;
  color: var(--dl-text);
  font-size: var(--site-fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

/* ── Programas essenciais ── */

.dl-tools {
  padding: clamp(1rem, 1.8vw, 1.25rem);
  border: 1px solid var(--dl-inner-border);
  border-radius: 0.375rem;
  background: var(--dl-inner);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dl-tools__desc {
  margin: -0.35rem 0 1rem;
  font-size: var(--site-fs-sm);
  line-height: var(--site-lh-body);
  color: var(--dl-text-muted);
}

.dl-tools__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(200, 164, 93, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--page-text-muted, rgba(215, 200, 161, 0.88));
  font-size: var(--site-fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dl-pill:hover {
  border-color: rgba(232, 195, 115, 0.45);
  background: rgba(232, 195, 115, 0.12);
  color: var(--dl-gold-bright);
}

.dl-pill svg {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0.75;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .dl-cards {
    grid-template-columns: 1fr;
  }

  .dl-reqs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  body.body--guias-hero.body--download .section_download-page {
    margin-top: clamp(-1.5rem, -3vw, -2rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 560px) {
  .dl-reqs__grid {
    grid-template-columns: 1fr;
  }

  .dl-tools__links {
    flex-direction: column;
  }

  .dl-pill {
    justify-content: center;
  }
}
