/* =========================================================
   SEÇÕES — números, soluções, sob demanda, clientes e chamada final
   ========================================================= */

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 90px 0 30px; }
.stats > div {
  padding: 30px;
  border-radius: 24px;
  background: #ffffff0a;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff14;
  box-shadow: 0 20px 40px -30px #0b122055;
  text-align: center;
}
.stats b {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { color: var(--mut); font-size: .9rem; }

/* ---------- soluções (cartões BitSafira e Hapi) ---------- */
.solutions { padding: 90px 0 40px; text-align: center; }
.solutions h2 { margin: 10px auto 40px; max-width: 900px; text-wrap: balance; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: left; }

.product {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 24px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-top: 3px solid var(--c);
}

.product-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #ffffff14; }
.product-head img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 16px; padding: 7px; }
.product-head small {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 30%, transparent);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.product-head b { display: block; margin-top: 4px; font-size: 1.45rem; letter-spacing: -.02em; }

.product h3 { margin: 22px 0 10px; font-size: 1.5rem; letter-spacing: -.02em; }
.product p { color: var(--soft); }
.product .chips { margin-top: 18px; }
.product .checks { margin: 22px 0 24px; padding-top: 22px; border-top: 1px solid #ffffff14; }

/* preço e teste grátis */
.price {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #ffffff14;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.price small { display: block; font-size: .78rem; color: var(--mut); }
.price b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.price em { font-style: normal; color: var(--mut); margin-left: 3px; }
.price span {
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 25%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
}

/* descrições com a mesma altura nos dois cartões */
@media (min-width: 901px) { .product p { min-height: 4.8em; line-height: 1.6; } }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .solutions { padding-top: 60px; }
  .product { padding: 22px; }
  .product h3 { font-size: 1.3rem; }
}

/* ---------- software sob demanda ---------- */
.custom { padding: 70px 0; }
.custom-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background: #ffffff0a;
  backdrop-filter: blur(18px);
  border: 1px solid #ffffff14;
  box-shadow: 0 40px 80px -50px #0b122066;
}
.custom-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 10px 0 14px; }
.custom-card ul { list-style: none; display: grid; gap: 14px; }
.custom-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff08;
  border: 1px solid var(--line);
  color: var(--mut);
  font-size: .95rem;
}
.custom-card li b { display: block; color: var(--ink); }
.custom-card li i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #16a34a);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}
.btn {
  display: inline-flex;
  margin-top: 24px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) { .custom-card { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ---------- clientes ---------- */
.clients { padding: 110px 0; text-align: center; }
.logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 30px 0 50px; }
.logos img {
  height: 64px;
  width: auto;
  padding: 6px;
  border-radius: 16px;
  background: #e2e8f0;
  filter: grayscale(1);
  opacity: .75;
  transition: .3s;
}
.logos img:hover { filter: none; opacity: 1; background: #fff; transform: translateY(-4px); }

/* ---------- chamada final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  margin: 40px auto 0;
  padding: 80px 24px;
  border-radius: 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #1d4ed8, #0e7490, #15803d);
  background-size: 200% 200%;
  animation: bgmove 10s ease-in-out infinite alternate;
}
.cta > :not(.bubble) { position: relative; }
.cta p { margin-top: 12px; color: #ffffffcc; }
.cta .duo { justify-content: center; margin-top: 28px; }
.cta .box { background: #ffffff14; border-color: #ffffff2e; }
.cta .acc small { color: #ffffffcc; }

.bubble { position: absolute; border-radius: 50%; background: #ffffff14; animation: float 8s ease-in-out infinite; }
.bubble-a { width: 200px; height: 200px; left: -60px; top: -60px; }
.bubble-b { width: 140px; height: 140px; right: 8%; bottom: -40px; animation-delay: -3s; }
