* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 24px;

  background: white;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.logo span {
  color: #777;
}

.busca {
  flex: 1;

  padding: 14px 18px;

  border: 1px solid #ccc;
  border-radius: 14px;

  background: #f3f3f3;

  font-size: 15px;
}

.btn-anunciar {
  padding: 14px 18px;

  border: none;
  border-radius: 14px;

  background: #111;
  color: white;

  font-weight: bold;
  cursor: pointer;
}

.categorias {
  display: flex;
  gap: 12px;

  overflow-x: auto;

  padding: 20px 24px;
}

.categorias button {
  padding: 10px 16px;

  border: 1px solid #ccc;
  border-radius: 999px;

  background: white;

  white-space: nowrap;
  cursor: pointer;
}

.hero {
  margin: 0 24px 30px;

  padding: 40px;

  border-radius: 28px;

  background: linear-gradient(135deg, #111, #444);

  color: white;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  color: #ddd;
}

main {
  padding: 0 24px 40px;
}

.cards {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 24px;
}

.card {
  overflow: hidden;

  background: white;

  border-radius: 24px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.06);

  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.imagem-container {
  position: relative;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.premium {
  position: absolute;
  top: 12px;
  left: 12px;

  padding: 6px 10px;

  border-radius: 999px;

  background: gold;

  font-size: 12px;
  font-weight: bold;
}

.card-content {
  display: flex;
  flex-direction: column;

  min-height: 260px;

  padding: 18px;
}

.categoria {
  margin-bottom: 8px;

  color: #888;

  font-size: 12px;
  text-transform: uppercase;
}

.card h2 {
  margin-bottom: 6px;

  font-size: 22px;
}

.servico {
  margin-bottom: 12px;

  color: #555;
}

.descricao {
  margin-bottom: 18px;

  color: #666;
  line-height: 1.5;
}

.bairro {
  margin-top: auto;
  margin-bottom: 18px;

  color: #777;
}

.botoes {
  display: flex;
  gap: 10px;
}

.btn-whatsapp,
.btn-perfil {
  flex: 1;

  padding: 12px;

  border-radius: 12px;

  text-align: center;
  text-decoration: none;

  font-weight: bold;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-perfil {
  border: 1px solid #ccc;
  color: #222;
}

@media (max-width: 768px) {

  .topo {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 30px;
  }

}