/* Max Result — ajuste fino dos cards numéricos da home */

.home-stat-cards {
  width: 100%;
  margin-top: 36px;
  margin-bottom: 42px;
}

.home-stat-cards > [class*="col-"] {
  display: flex;
}

.home-stat-card {
  position: relative;
  width: 100%;
  min-height: 168px;
  height: 100%;
  padding: 40px 22px 26px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.075);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-stat-icon {
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  color: #df2f36;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-stat-icon i {
  font-size: 24px;
  line-height: 1;
}

.home-stat-number {
  width: 100%;
  min-height: 42px;
  color: #555555;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-stat-label {
  width: 100%;
  max-width: 255px;
  min-height: 44px;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.38;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-stat-number,
.home-stat-label {
  text-wrap: balance;
}

/* Mantém os 4 cards bem alinhados em telas grandes */
@media (min-width: 1200px) {
  .home-stat-cards {
    display: flex;
    align-items: stretch;
  }

  .home-stat-cards > .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .home-stat-card {
    min-height: 160px;
  }

  .home-stat-number {
    font-size: 31px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-stat-cards {
    margin-top: 28px;
    margin-bottom: 32px;
  }

  .home-stat-card {
    min-height: 150px;
    padding: 38px 18px 22px;
  }

  .home-stat-number {
    font-size: 30px;
  }

  .home-stat-label {
    font-size: 14px;
    min-height: auto;
  }
}
