/* Home — grid 8 serviços */
.ydv-home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
}

.ydv-home-srv-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-pill, 5px);
  background: var(--color-white, #fff);
  border: 2px solid var(--color-accent, #d8409f);
  color: var(--color-dark, #363636);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.ydv-home-srv-card:hover {
  background: var(--color-accent, #d8409f);
  color: #fff;
}

@media (max-width: 767px) {
  .ydv-home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Galeria serviços */
.ydv-gallery {
  background: var(--color-menu-bg, #faf2ec);
  padding-block: 2.5rem;
}

.ydv-gallery__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.ydv-gallery__item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--r, 4px);
  display: block;
}

/* Parceiros — card marca */
.ha-card--brand .ha-card-media,
.ha-card--brand figure {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 140px !important;
  padding: 1.25rem !important;
  background: #fff !important;
}

.ha-card--brand .ha-card-media img,
.ha-card--brand figure img {
  width: auto !important;
  max-width: 85% !important;
  max-height: 100px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Trustindex root */
.ydv-trustindex-root pre {
  display: none;
}

.ydv-trustindex-root .ti-widget {
  display: block !important;
  white-space: normal;
}
