.trust {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(var(--line), 0.3) 0 1px,
    transparent 1px 4px
  );
}

main > .trust {
  padding-block: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 0;
  list-style: none;
}

.trust-item {
  position: relative;
  padding: var(--space-l) var(--space-m);
  text-align: center;
}

.trust-item:nth-child(even) {
  border-left: 1px solid rgb(var(--line));
}

.trust-item:nth-child(n + 3) {
  border-top: 1px solid rgb(var(--line));
}

.trust-item > span,
.trust-link {
  display: grid;
  justify-items: center;
  gap: var(--space-xs);
}

.trust-link {
  color: inherit;
  text-decoration: none;
}

.trust .trust-item .trust-link::after {
  position: absolute;
  top: var(--space-s);
  right: var(--space-s);
  margin: 0;
  color: rgb(var(--muted));
}

.trust-value {
  color: rgb(var(--accent-text));
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(2.75rem, 2.25rem + 1.6vw, 3.75rem);
  line-height: 0.9;
  white-space: nowrap;
}

.trust-stars {
  display: inline-block;
  width: 4.9rem;
  height: 0.875rem;
  margin-left: 0.125rem;
  vertical-align: 0.75rem;
  font-size: 0;
  background-color: rgb(var(--accent-text));
  /* estrela de 5 pontas desenhada, uma por bloco de 1rem */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 20'%3E%3Cpath d='M10 0l2.94 6.06 6.56.9-4.8 4.6 1.18 6.54L10 15l-5.88 3.1 1.18-6.54L.5 6.96l6.56-.9z'/%3E%3C/svg%3E") 0 0 / 1rem 0.875rem repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 20'%3E%3Cpath d='M10 0l2.94 6.06 6.56.9-4.8 4.6 1.18 6.54L10 15l-5.88 3.1 1.18-6.54L.5 6.96l6.56-.9z'/%3E%3C/svg%3E") 0 0 / 1rem 0.875rem repeat-x;
}

.trust-label {
  color: rgb(var(--muted));
  font-size: 1rem;
  line-height: 1.4;
}

.trust-link:hover .trust-label {
  color: rgb(var(--accent-text));
}

@media (min-width: 64em) {
  .trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-item:nth-child(n) {
    padding: 2rem var(--space-l);
    border-top: 0;
    border-left: 1px solid rgb(var(--line));
  }

  .trust-item:first-child {
    border-left: 0;
  }
}
