/* Faixa de confiança — tema escuro (preto) e tema claro (branco), mock de janela nos stats + parceiros */

.home-trust {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.25rem) 0;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.home-trust::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 55% at 50% 0%,
    rgba(34, 211, 238, 0.07),
    transparent 55%
  );
  pointer-events: none;
}

.home-trust .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.home-trust-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(22, 101, 52, 0.55);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.home-trust-title {
  margin: 0 auto 1rem;
  max-width: min(36rem, 92vw);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.home-trust-title-inner {
  display: inline;
}

[data-theme="dark"] .home-trust-title-inner {
  color: #f8fafc;
}

[data-theme="dark"] .home-trust-title-accent {
  background: linear-gradient(105deg, #22d3ee 0%, #4ade80 45%, #a3e635 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-trust-lead {
  margin: 0 auto 2.25rem;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
}

/* Mock de janela (desktop): stats + parceiros */
.home-trust-window {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.65);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform-origin: center center;
  animation: home-trust-window-float 5.2s ease-in-out infinite;
}

.home-trust-window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-trust-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-trust-window-dot--r {
  background: #fb7185;
}

.home-trust-window-dot--y {
  background: #facc15;
}

.home-trust-window-dot--g {
  background: #4ade80;
}

.home-trust-window-body {
  padding: 1.5rem 1.15rem 1.65rem;
}

.home-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .home-trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-trust-window-body .home-trust-stats {
  margin-bottom: 1.5rem;
}

.home-trust-window-body .home-trust-partners {
  margin-bottom: 0.6rem;
}

.home-trust-stat {
  padding: 1.15rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.home-trust-stat-value {
  display: block;
  font-size: clamp(1.35rem, 2.2vw + 0.65rem, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.25rem;
}

.home-trust-stat-value--gradient {
  background: linear-gradient(105deg, #22d3ee 0%, #4ade80 50%, #a3e635 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-trust-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}

.home-trust-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding: 1.15rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-trust-partners img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.15);
  transition: opacity 0.3s ease;
}

.home-trust-partners img:hover {
  opacity: 1;
}

html:not([data-theme="dark"]) .home-trust-partners img {
  filter: grayscale(0.25) opacity(0.88);
}

html:not([data-theme="dark"]) .home-trust-partners img:hover {
  filter: grayscale(0);
  opacity: 1;
}

html:not([data-theme="dark"]) .home-trust-partners .meta-logo-dark {
  display: none !important;
}

html:not([data-theme="dark"]) .home-trust-partners .meta-logo-light {
  display: block;
}

[data-theme="dark"] .home-trust-partners .meta-logo-light {
  display: none !important;
}

[data-theme="dark"] .home-trust-partners .meta-logo-dark {
  display: block;
}

.home-trust-partners-caption {
  margin: 0 auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.home-trust-marquee {
  position: relative;
  margin: 0 -1rem;
  padding: 0.5rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.home-trust-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: home-trust-marquee 42s linear infinite;
  padding: 0 1rem;
}

.home-trust-chip {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(51, 65, 85, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  white-space: nowrap;
}

@keyframes home-trust-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes home-trust-window-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .home-trust-window {
    animation: none;
  }
}

.home-trust-foot {
  margin: 1.5rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

/* ——— Tema claro: fundo branco ——— */
html:not([data-theme="dark"]) .home-trust {
  background: #ffffff;
  border-top-color: rgba(226, 232, 240, 0.95);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

html:not([data-theme="dark"]) .home-trust::after {
  background: radial-gradient(
    ellipse 75% 50% at 50% 0%,
    rgba(29, 209, 161, 0.07),
    transparent 58%
  );
}

html:not([data-theme="dark"]) .home-trust-eyebrow {
  color: #047857;
  background: rgba(209, 250, 229, 0.95);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .home-trust-title-inner,
html:not([data-theme="dark"]) .home-trust-title-inner .home-trust-title-accent {
  background: linear-gradient(105deg, #0f172a 0%, #0d9488 38%, #2563eb 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

html:not([data-theme="dark"]) .home-trust-lead {
  color: #64748b;
}

html:not([data-theme="dark"]) .home-trust-window {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow:
    0 22px 56px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

html:not([data-theme="dark"]) .home-trust-window-chrome {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom-color: rgba(148, 163, 184, 0.35);
}

html:not([data-theme="dark"]) .home-trust-stat {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

html:not([data-theme="dark"]) .home-trust-stat-value {
  color: #0f172a;
}

html:not([data-theme="dark"]) .home-trust-stat-value--gradient {
  background: linear-gradient(105deg, #54a0ff 0%, #1dd1a1 52%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

html:not([data-theme="dark"]) .home-trust-stat-label {
  color: #64748b;
}

html:not([data-theme="dark"]) .home-trust-partners {
  background: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.28);
}

html:not([data-theme="dark"]) .home-trust-partners-caption {
  color: #64748b;
}

html:not([data-theme="dark"]) .home-trust-chip {
  color: #334155;
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(148, 163, 184, 0.35);
}

html:not([data-theme="dark"]) .home-trust-foot {
  color: #94a3b8;
}
