.anuncios-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 24px 96px;
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.anuncios-hero {
  margin-top: 34px;
}

.anuncios-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 38px;
  font-weight: 950;
  letter-spacing: -1.4px;
}

.anuncios-hero p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
}

.anuncios-filtros {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.anuncios-container .busca {
  height: 58px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.anuncios-container .busca span {
  font-size: 22px;
  color: #1e3a8a;
}

.anuncios-container .busca input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.filtros-regiao {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filtro-regiao {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.filtro-regiao.ativo {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(30, 58, 138, 0.18);
}

.anuncios-listagem {
  margin-top: 34px;
}

.grid-anuncios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.grid-anuncios .card {
  position: relative;
  width: 100%;
  flex: none;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.058);
  box-shadow:
    0 10px 26px rgba(15,23,42,.045),
    inset 0 1px 0 rgba(255,255,255,.85);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
  cursor: pointer;
}

.grid-anuncios .card:hover {
  transform: translateY(-3px);
  border-color: rgba(15,23,42,.09);
  box-shadow:
    0 18px 42px rgba(15,23,42,.085),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.grid-anuncios .card.destaque {
  border: 2px solid #1f2937;
}

.grid-anuncios .card.destaque .foto-wrap::after {
  content: "★";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15,23,42,.88);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.grid-anuncios .foto-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #e5e7eb;
}

.grid-anuncios .foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .3s ease;
}

.grid-anuncios .card:hover .foto {
  transform: scale(1.035);
}

.grid-anuncios .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(2,6,23,.72),
      rgba(15,23,42,.18),
      rgba(15,23,42,.02)
    );
}

.grid-anuncios .overlay-content {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 13px;
  z-index: 4;
}

.grid-anuncios .overlay-text {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.48px;
  text-shadow: 0 2px 12px rgba(0,0,0,.20);
}

.grid-anuncios .ver-mais {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  border: 1px solid rgba(255,255,255,.18);
}

.grid-anuncios .card-body {
  padding: 12px 14px 14px;
  background: #ffffff;
}

.grid-anuncios .meta {
  color: #64748b;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 700;
}

.grid-anuncios .price,
.grid-anuncios .btn-favorito,
.grid-anuncios .favorito-btn,
.grid-anuncios .favorite-btn,
.anuncios-container .floating-lojas {
  display: none !important;
}

.acoes-listagem {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.btn-carregar-mais {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 138, 0.20);
  background: #ffffff;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.grid-anuncios .empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.footer {
  width: 100%;
  max-width: none;
  margin: 80px 0 0;
  padding: 42px 18px 30px;
  background: #0f172a;
  color: #ffffff;
}

.footer-baloes,
.footer-conteudo {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 18px;
}

.footer-card,
.footer-coluna {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.footer-card h3,
.footer-card h4,
.footer-coluna h3,
.footer-coluna h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 950;
}

.footer-card p,
.footer-coluna p {
  margin: 0 0 6px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}

.footer-card a,
.footer-coluna a {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-card a:hover,
.footer-coluna a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  border-radius: 12px;
}

@media (max-width: 1180px) {
  .grid-anuncios {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .footer-baloes,
  .footer-conteudo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .anuncios-container {
    padding: 22px 16px 80px;
  }

  .anuncios-hero h1 {
    font-size: 30px;
  }

  .grid-anuncios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .grid-anuncios .foto-wrap {
    height: 160px;
  }
}

@media (max-width: 520px) {
  .anuncios-container {
    padding: 18px 12px 72px;
  }

  .anuncios-hero h1 {
    font-size: 26px;
  }

  .anuncios-hero p {
    font-size: 14px;
  }

  .anuncios-container .busca {
    height: 52px;
    padding: 0 14px;
  }

  .anuncios-container .busca input {
    font-size: 14px;
  }

  .filtros-regiao {
    gap: 8px;
  }

  .filtro-regiao {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .grid-anuncios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .grid-anuncios .foto-wrap {
    height: 122px;
  }

  .grid-anuncios .card {
    border-radius: 18px;
  }

  .grid-anuncios .overlay-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .grid-anuncios .overlay-text {
    font-size: 12.5px;
  }

  .grid-anuncios .ver-mais {
    min-height: 24px;
    padding: 0 8px;
    font-size: 9px;
  }

  .grid-anuncios .card-body {
    padding: 9px 10px 10px;
  }

  .grid-anuncios .meta {
    font-size: 10.5px;
  }

  .footer {
    margin-top: 64px;
    padding: 34px 12px 28px;
  }

  .footer-card,
  .footer-coluna {
    padding: 18px;
    border-radius: 20px;
  }
}
