/* Integrações — v0.3.3: contraste e alinhamento consistentes */
.bv-google-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  margin: clamp(1.75rem, 3vw, 2.75rem) 0;
}

.bv-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid rgba(23, 19, 21, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(52, 34, 38, .08);
}

.bv-review-card > p {
  color: #62565a;
  overflow-wrap: break-word;
}

.bv-review-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
  padding-top: 1rem;
}

.bv-review-author img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.bv-review-author strong,
.bv-review-author span {
  display: block;
}

.bv-review-author span {
  color: #d68a00;
  letter-spacing: .08em;
}

.bv-review-card > a {
  display: inline-flex;
  margin-top: 1rem;
  color: #b84e48;
  font-size: .84rem;
  font-weight: 750;
}

.bv-google-attribution {
  text-align: center;
  font-size: .8rem;
  color: #75696c;
}

.bv-reviews-empty {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 1.2rem 1.4rem;
  border: 1px dashed #b84e48;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.bv-instagram-lazy {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(460px, 65vw, 680px);
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 40px);
  background-image: linear-gradient(rgba(23, 19, 21, .82), rgba(23, 19, 21, .82)), var(--bv-poster);
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 30px 90px rgba(52, 34, 38, .15);
}

.bv-instagram-cover {
  width: min(100%, 720px);
  text-align: center;
}

.bv-instagram-cover > span {
  display: inline-block;
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .78rem;
}

.bv-instagram-cover h3 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
}

.bv-instagram-cover p {
  color: rgba(255, 255, 255, .78);
}

.bv-instagram-cover button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: .9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: #ed877c;
  color: #171315;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.bv-instagram-cover a {
  display: block;
  margin-top: 1rem;
  color: #f5c1ba;
}

.bv-instagram-frame {
  width: min(100%, 560px);
  height: min(760px, 85vh);
  border: 0;
  border-radius: 20px;
  background: #fff;
}

@media (max-width: 1020px) {
  .bv-google-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bv-review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .bv-google-reviews {
    grid-template-columns: 1fr;
  }

  .bv-review-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .bv-instagram-lazy {
    min-height: 480px;
    padding: 1.35rem;
  }

  .bv-instagram-cover button {
    width: 100%;
  }

  .bv-instagram-frame {
    height: 660px;
  }
}
