
/* ==========================================
   PRIZRAK V20 — RODAPÉ OFICIAL

   Estilo isolado do rodapé.
   Não altera Home, Ranking ou A Unidade.
   ========================================== */

.theme-v8 .prz20-footer {
  position: relative;
  width: 100%;
  background: #050506 !important;
  border-top: 1px solid rgba(222, 45, 69, .35) !important;
  color: #f5f1f2;
  font-family: Inter, system-ui, Arial, sans-serif;
  overflow: hidden;
}

.theme-v8 .prz20-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: min(150px, 25%);
  background: #db2743;
  pointer-events: none;
}

.theme-v8 .prz20-footer *,
.theme-v8 .prz20-footer *::before,
.theme-v8 .prz20-footer *::after {
  box-sizing: border-box;
}

/* ESTRUTURA PRINCIPAL */

.theme-v8 .prz20-footer .prz20-footer__main {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, .85fr);

  gap: clamp(35px, 7vw, 125px);

  align-items: start;

  padding-top: clamp(60px, 6.5vw, 96px);
  padding-bottom: clamp(56px, 6vw, 86px);
}

/* LOGO E IDENTIDADE */

.theme-v8 .prz20-footer__identity {
  min-width: 0;
  max-width: 570px;
}

.theme-v8 .prz20-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  text-decoration: none;
  color: #fff;
}

.theme-v8 .prz20-footer__brand img {
  flex: none;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.theme-v8 .prz20-footer__brand > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.theme-v8 .prz20-footer__brand strong {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .065em;
  color: #fff;
}

.theme-v8 .prz20-footer__brand small {
  color: #bf7580;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .17em;
  font-weight: 750;
}

/* TEXTO INSTITUCIONAL */

.theme-v8 .prz20-footer__motto {
  margin: 27px 0 11px;
  color: #f4f0f1;

  font-size: clamp(17px, 1.75vw, 23px);
  line-height: 1.35;
  font-weight: 650;
}

.theme-v8 .prz20-footer__description {
  margin: 0;
  max-width: 400px;
  color: #999098;
  font-size: 13px;
  line-height: 1.85;
}

/* COLUNAS DE LINKS */

.theme-v8 .prz20-footer__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 55px);
  min-width: 0;
}

.theme-v8 .prz20-footer__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.theme-v8 .prz20-footer__column h2 {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .19em;
  color: #df5c70;
  margin: 4px 0 13px;
}

.theme-v8 .prz20-footer__column a {
  width: fit-content;
  max-width: 100%;

  display: inline-flex;
  gap: 14px;

  align-items: center;
  justify-content: space-between;

  color: #bcb4b8;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;

  text-decoration: none;
  transition: color .18s ease;
}

/* SETAS DOS LINKS */

.theme-v8 .prz20-footer__column a span {
  color: #b44859;
  font-size: 13px;

  opacity: 0;
  transform: translateX(-4px);

  transition:
    opacity .18s ease,
    transform .18s ease;
}

.theme-v8 .prz20-footer__column a:hover,
.theme-v8 .prz20-footer__column a:focus-visible {
  color: #fff;
}

.theme-v8 .prz20-footer__column a:hover span,
.theme-v8 .prz20-footer__column a:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

/* ACESSIBILIDADE */

.theme-v8 .prz20-footer a:focus-visible {
  outline: 2px solid #f16a80;
  outline-offset: 4px;
}

/* LINHA INFERIOR */

.theme-v8 .prz20-footer__bottom {
  width: 100%;
  border-top: 1px solid #242024;
  background: #070709;
}

.theme-v8 .prz20-footer .prz20-footer__bottom-inner {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  gap: 20px;
  align-items: center;

  padding-top: 24px;
  padding-bottom: 25px;

  color: #8c858a;
  font-size: 10px;
  line-height: 1.6;
}

.theme-v8 .prz20-footer__bottom-inner > span:first-child {
  color: #c5bdc1;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.theme-v8 .prz20-footer__bottom-inner > span:nth-child(2) {
  text-align: center;
}

.theme-v8 .prz20-footer__version {
  color: #d45b6d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* TABLETS */

@media (max-width: 900px) {

  .theme-v8 .prz20-footer .prz20-footer__main {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 30px;
  }

  .theme-v8 .prz20-footer__navigation {
    gap: 18px;
  }

  .theme-v8 .prz20-footer .prz20-footer__bottom-inner {
    grid-template-columns: 1fr auto;
  }

  .theme-v8 .prz20-footer__bottom-inner > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

}

/* CELULARES */

@media (max-width: 680px) {

  .theme-v8 .prz20-footer .prz20-footer__main {
    grid-template-columns: 1fr;
    gap: 45px;

    padding-top: 55px;
    padding-bottom: 55px;
  }

  .theme-v8 .prz20-footer__brand img {
    width: 58px;
    height: 58px;
  }

  .theme-v8 .prz20-footer__navigation {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 22px;
    padding-top: 25px;
    border-top: 1px solid #242024;
  }

  .theme-v8 .prz20-footer .prz20-footer__bottom-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .theme-v8 .prz20-footer__bottom-inner > span:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

}

/* CELULARES PEQUENOS */

@media (max-width: 380px) {

  .theme-v8 .prz20-footer__navigation {
    gap: 14px;
  }

  .theme-v8 .prz20-footer__column a {
    font-size: 12px;
  }

  .theme-v8 .prz20-footer__brand strong {
    font-size: 27px;
  }

  .theme-v8 .prz20-footer__brand small {
    font-size: 8px;
  }

}

/* REDUZIR ANIMAÇÕES */

@media (prefers-reduced-motion: reduce) {

  .theme-v8 .prz20-footer__column a,
  .theme-v8 .prz20-footer__column a span {
    transition: none;
  }

}
