.avulso-home {
  scroll-margin-top: calc(var(--header) + 12px);
  padding: 8px 0 56px;
}

.avulso-home-head {
  max-width: 42rem;
  margin-bottom: 22px;
}

.avulso-home-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.avulso-home-head .rooms-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.avulso-home-head p:not(.rooms-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.avulso-home-head .avulso-home-eventos {
  color: var(--ink);
  font-weight: 600;
}

.avulso-grade {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.avulso-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
}

.avulso-card:hover {
  border-color: #ddd4c2;
}

.avulso-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.avulso-card.is-destaque {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.avulso-card-foto {
  position: relative;
  display: none;
  aspect-ratio: 4 / 3;
  background: #eceae4;
  overflow: hidden;
}

.avulso-card-foto:has(img:not([hidden])),
.avulso-card-foto:has(.avulso-card-selo) {
  display: block;
}

.avulso-card-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.avulso-card:hover .avulso-card-foto img {
  transform: scale(1.04);
}

.avulso-card-selo {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.avulso-card-corpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 16px 16px 18px;
}

.avulso-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.avulso-card-frase {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.avulso-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avulso-card-tags:empty {
  display: none;
}

.avulso-card-tags li {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f1eb;
  color: #3f3f3f;
  font-size: 12.5px;
  line-height: 1.3;
}

.avulso-card-livre {
  margin: 0;
  color: var(--gold-hover);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.avulso-card-preco {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.3;
}

.avulso-card-preco span {
  color: var(--muted);
  font-weight: 500;
}

.avulso-card-preco strong {
  font-weight: 700;
}

.avulso-card-acao {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
}

.avulso-card:hover .avulso-card-acao {
  background: var(--gold-hover);
}

@media (max-width: 1400px) {
  .avulso-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .avulso-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .avulso-grade {
    grid-template-columns: 1fr;
  }
}
