/* Fornecedor homologado Vestidas de Branco / Selo Trust16 */

.trust-section {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-header-bg);
}

.trust-section__stage {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(300px, 1fr);
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(56px, 6.5vw, 88px) clamp(24px, 5vw, 64px);
  gap: clamp(36px, 5vw, 64px);
}

.trust-section__badge {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-bottom: 20px;
}

.trust-section__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(86, 3, 3, 0.18);
  border-radius: 999px;
  background-color: var(--color-surface-muted);
  color: var(--color-wine-deep);
  font-family: "Lato", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.trust-section__title {
  margin: 0 0 16px;
  font-family: "Tenor Sans", serif;
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-wine-deep);
  text-transform: uppercase;
}

.trust-section__text {
  margin: 0 0 24px;
  color: var(--color-wine-deep);
  font-family: "Lato", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.86;
}

.trust-section__carousel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
}

.trust-section__grid {
  --trust-per-view: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.trust-section__grid::-webkit-scrollbar {
  display: none;
}

.trust-section__item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--color-surface-muted);
  box-shadow: 0 18px 34px rgba(86, 3, 3, 0.12);
  scroll-snap-align: start;
}

.trust-section__image {
  display: block;
  width: 100%;
  height: auto;
}

.trust-section__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.trust-section__arrow img {
  display: block;
  width: auto;
  height: 40px;
  transition: filter 220ms ease, transform 220ms ease;
}

.trust-section__arrow:hover img,
.trust-section__arrow:focus-visible img {
  filter: brightness(1.15);
  transform: scale(1.06);
}

.trust-section__arrow:focus-visible {
  outline: 2px solid var(--color-wine-deep);
  outline-offset: 4px;
  border-radius: 8px;
}

.trust-section__dots {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 16px auto 0;
  gap: 10px;
}

.trust-section__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background-color: var(--color-header-bg);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 180ms ease, transform 180ms ease, width 180ms ease;
}

.trust-section__dot--active {
  width: 20px;
  opacity: 1;
}

.trust-section__dot:hover,
.trust-section__dot:focus-visible {
  opacity: 0.85;
}

.trust-section__dot:focus-visible {
  outline: 2px solid var(--color-wine-deep);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .trust-section__stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 48px 56px;
  }

  .trust-section__badge {
    margin-inline: auto;
  }

  .trust-section__carousel {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .trust-section__dots {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .trust-section__stage {
    padding: 40px 18px 48px;
    gap: 28px;
  }

  .trust-section__title {
    font-size: 24px;
  }
}
