/* FacilitaOS — efeitos leves (não interferem em mockups/ícones) */

.fx-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #1e7bf0, #7cc0ff);
  pointer-events: none;
  transition: width 0.1s linear;
}

.fx-header-scrolled header,
.fx-header-scrolled nav[aria-label="Principal"] {
  box-shadow: 0 4px 20px rgba(19, 32, 92, 0.06);
}

/* Hover suave nos cards de planos */
#planos .app-card {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#planos .app-card:hover {
  border-color: #c7d9f5;
  box-shadow:
    0 12px 32px rgba(21, 101, 224, 0.1),
    inset 0 0 0 1px rgba(21, 101, 224, 0.06);
}

/* ===== Indicadores de confiança (stats) ===== */
.fx-stat {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fx-stat:hover {
  transform: translateY(-3px);
}

.fx-stat-num {
  background: linear-gradient(120deg, #1e7bf0 0%, #13205c 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

/* Sublinhado animado sob cada número */
.fx-stat-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e7bf0, #7cc0ff);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.fx-stat--seen .fx-stat-num::after {
  width: 28px;
}

.fx-stat:hover .fx-stat-num::after {
  width: 100%;
}

/* Divisores entre colunas no desktop */
@media (min-width: 1024px) {
  .fx-stats-grid .fx-stat:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(21, 101, 224, 0.18),
      transparent
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scroll-progress {
    display: none;
  }

  .fx-stat,
  .fx-stat-num::after {
    transition: none;
  }
}
