/* =========================================
   TRUST — branco, foto direita, stats 3x2
   ========================================= */

.trust {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 38%);
  gap: 3rem;
  align-items: stretch;
}

/* ── Conteúdo esquerda ── */
.trust-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Heading misto: terracota + petróleo */
.trust-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0;
}

.trust-heading-blue {
  color: var(--color-accent);
}

/* Body */
.trust-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-body);
  max-width: 520px;
  margin: 0;
}

.trust-body u {
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
  color: var(--color-ink);
  font-weight: 600;
}

/* Label */
.trust-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── Grid de stats 3 × 2 ── */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Números em mono: leitura de instrumento, como o display de um datalogger */
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat-unit {
  font-size: 0.52em;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

.stat-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-body);
  margin: 0;
}

/* ── Foto com moldura reta ── */
.trust-photo-col {
  position: relative;
  height: 100%;
  min-height: 280px;
  border-right: 5px solid;
  border-image: var(--gradient-thermal-v) 1;
  overflow: hidden;
}

.trust-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trust-photo-col {
    order: -1;
    height: 240px;
    min-height: 0;
    border-right: none;
    border-bottom: 5px solid;
    border-image: var(--gradient-thermal) 1;
  }
}

@media (max-width: 640px) {
  .trust-inner {
    padding: 3rem 1.25rem;
    gap: 1.75rem;
  }

  .trust-content {
    gap: 1.25rem;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.5rem;
  }
}

@media (max-width: 400px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }
}
