* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --texto: #172033;
  --muted: #667085;
  --borda: #e6e8ef;
  --primaria: #1d4ed8;
  --primaria-hover: #1e40af;
  --aviso-bg: #fff8e6;
  --aviso-borda: #f2d27b;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--texto);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topo {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
  padding: 56px 0;
}

.tag {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  opacity: .85;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
}

.subtitulo {
  margin: 14px 0 0;
  font-size: 18px;
  opacity: .9;
}

.aviso {
  margin: 28px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--aviso-borda);
  background: var(--aviso-bg);
  border-radius: 12px;
  color: #513c06;
}

.barra {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin: 18px 0 24px;
}

input, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: #fff;
  color: var(--texto);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 36px;
}

.card {
  background: var(--card);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.descricao {
  color: var(--muted);
  line-height: 1.45;
  min-height: 44px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--borda);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  color: var(--muted);
  background: #fafafa;
}

.hash {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  background: #f7f7f8;
  border-radius: 8px;
  padding: 8px;
  margin: 12px 0;
}

.acoes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.botao {
  display: inline-block;
  text-decoration: none;
  background: var(--primaria);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: bold;
}

.botao:hover {
  background: var(--primaria-hover);
}

.botao.secundario {
  background: #eef2ff;
  color: #1d4ed8;
}

.vazio {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
}

.rodape {
  border-top: 1px solid var(--borda);
  padding: 20px 0;
  color: var(--muted);
  background: #fff;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .barra {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
