/* Avaliações: dourado apenas para a nota geral; nomes e relatos preservados. */
.customer-reviews {
  --review-gold: #d99a17;
  container-type: inline-size;
  width: 100%; min-width: 0; margin: 2.5rem auto 0; padding: clamp(1.1rem, 3.5vw, 2.4rem);
  border: 1px solid #dce7df; border-radius: 24px; text-align: left;
  background: radial-gradient(ellipse at 100% 0, #f8f2df 0, transparent 45%), linear-gradient(140deg, #f5faf6, #fcfdfb);
}
.customer-reviews .reviews-eyebrow { margin: 0 0 .7rem; color: #52705d; font-size: .75rem; font-weight: 800; letter-spacing: .13em; line-height: 1.5; }
.reviews-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-bottom: 1.8rem; }
.customer-reviews h2 { margin: 0; color: #213d2c; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.16; letter-spacing: -.04em; text-align: left; }
.customer-reviews .reviews-intro { margin: .8rem 0 0; max-width: 27rem; color: #5b6b60; font-size: .94rem; line-height: 1.55; }
.reviews-rating { min-width: 185px; padding: .4rem 0 .4rem 2rem; border-left: 1px solid #d9dfce; text-align: center; }
.reviews-score { display: flex; gap: .5rem; align-items: baseline; justify-content: center; line-height: 1; }
.reviews-score strong { font-size: 3.8rem; letter-spacing: -.07em; color: #253b2d; font-weight: 750; }
.reviews-score > span { font-size: 1rem; color: #657267; }
.reviews-stars { position: relative; display: inline-block; width: 130px; height: 26px; margin: .7rem 0 .4rem; vertical-align: middle; }
.reviews-stars > span { display: flex; width: 130px; height: 26px; color: #deded0; }
.reviews-stars svg { display: block; flex: 0 0 26px; width: 26px; height: 26px; padding: 1px; fill: currentColor; }
.reviews-stars .reviews-stars-fill { position: absolute; inset: 0; width: 98%; overflow: hidden; color: var(--review-gold); }
.customer-reviews .reviews-rating p { margin: 0; font-size: .94rem; color: #334c3d; line-height: 1.5; }
.reviews-rating-caption { display: block; margin-top: .25rem; font-size: .875rem; color: #627066; }
.reviews-preview-grid, .reviews-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.customer-reviews .review-card { min-width: 0; padding: 1.35rem; border: 1px solid #e1e9e2; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px #263b2b05; text-align: left; }
.review-person { display: flex; gap: .65rem; align-items: center; margin-bottom: 1.1rem; }
.review-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #3a694a; background: #eaf3e9; font-size: .85rem; font-weight: 750; }
.review-card:nth-child(3n + 2) .review-avatar { color: #866431; background: #f7f0df; }
.review-card:nth-child(3n) .review-avatar { color: #516f7b; background: #eaf1f4; }
.review-person > div { min-width: 0; }
.customer-reviews .review-author { margin: 0; color: #2d4033; font-family: inherit; font-size: .94rem; line-height: 1.4; font-weight: 750; letter-spacing: -.015em; overflow-wrap: anywhere; }
.review-person-label { display: block; color: #69776d; font-size: .875rem; margin-top: .1rem; }
.review-quote-mark { margin-left: auto; align-self: flex-start; font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; color: #d4dfd5; }
.customer-reviews .review-card blockquote { padding: 0; margin: 0; border: 0; font-size: .95rem; font-style: normal; line-height: 1.75; color: #49584d; overflow-wrap: anywhere; white-space: pre-line; }
.reviews-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.customer-reviews .reviews-footer p { max-width: 23rem; margin: 0; font-size: .875rem; line-height: 1.55; color: #667369; }
.reviews-all { display: inline-flex; justify-content: center; align-items: center; gap: .8rem; min-height: 48px; padding: .8rem 1.1rem; border: 1px solid #a2bea9; border-radius: 10px; background: #fff; color: #22643c; font-size: .9rem; font-weight: 750; line-height: 1.5; }
.reviews-all > span { font-size: 1.3rem; line-height: 1; }
.reviews-all:hover { border-color: #327747; background: #f2f8f1; }
.customer-reviews [hidden] { display: none !important; }
.reviews-dialog { width: min(1060px, calc(100% - 2rem)); max-height: min(90dvh, 980px); padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #d4e2d7; border-radius: 22px; color: #273b2d; background: #f9fbf8; box-shadow: 0 24px 100px #102d2840; overscroll-behavior: contain; }
.reviews-dialog::backdrop { background: #16342499; backdrop-filter: blur(4px); }
body:has(.reviews-dialog[open]) { overflow: hidden; }
.reviews-dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.customer-reviews .reviews-dialog h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.customer-reviews .reviews-dialog-summary { margin: .6rem 0 0; font-size: .95rem; color: #596a5e; }
.reviews-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d3ded5; border-radius: 50%; color: #3a5142; background: white; font-size: 1.75rem; line-height: 1; }
.reviews-search-wrap { margin: 1.5rem 0 .8rem; }
.reviews-search-wrap label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: .4rem; }
.reviews-search-wrap input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .75rem 1rem; border: 1px solid #b9cebf; border-radius: 10px; color: #273b2d; background: #fff; font-size: 1rem; }
.customer-reviews .reviews-status { margin: .8rem 0 1.1rem; color: #627066; font-size: .875rem; line-height: 1.5; }
.reviews-pagination { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-top: 1.5rem; border-top: 1px solid #dce6dd; padding-top: 1.2rem; }
.reviews-pagination button { min-height: 44px; padding: .6rem 1rem; border: 1px solid #b2c8b7; border-radius: 9px; background: white; color: #28613c; font-size: .9rem; font-weight: 700; }
.reviews-pagination button:disabled { opacity: .45; cursor: default; }
.reviews-page-label { font-size: .875rem; color: #596a5e; text-align: center; }
@container (max-width: 760px) {
  .reviews-preview-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .reviews-preview-grid, .reviews-results { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .customer-reviews { border-radius: 20px; margin-top: 1.8rem; }
  .reviews-heading { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-bottom: 1.3rem; }
  .customer-reviews .reviews-heading-copy, .customer-reviews h2 { text-align: center; }
  .customer-reviews .reviews-intro { margin-inline: auto; }
  .reviews-rating { min-width: 0; border-left: 0; border-top: 1px solid #dce3d3; border-bottom: 1px solid #dce3d3; padding: 1.1rem .5rem; }
  .reviews-score strong { font-size: 3.5rem; }
  .customer-reviews .review-card { padding: 1.15rem; }
  .reviews-footer { flex-direction: column-reverse; align-items: stretch; padding-top: 1.2rem; }
  .customer-reviews .reviews-footer p { max-width: none; text-align: center; }
  .reviews-dialog { width: calc(100% - 1rem); max-height: 94dvh; border-radius: 18px; }
  .customer-reviews .reviews-dialog h2 { text-align: left; }
  .reviews-pagination { flex-wrap: wrap; }
  .reviews-page-label { order: -1; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-reviews *, .reviews-dialog { scroll-behavior: auto; }
}
