/* =========================================================
   GRID DOS CARDS
========================================================= */
.fp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .fp-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CARD
========================================================= */
.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* HOVER */
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* ATIVO (SELECIONADO) */
.pricing-card.active {
  border: 2px solid #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* =========================================================
   HEADER
========================================================= */
.pricing-header {
  padding: 18px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid #e5e7eb;
}

.fp-option {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
}

/* =========================================================
   BODY
========================================================= */
.pricing-body {
  padding: 16px 18px;
  flex: 1;
}

/* LINHAS */
.fp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.fp-row:last-child {
  border-bottom: none;
}

/* LABEL */
.fp-label {
  font-size: 13px;
  color: #64748b;
}

/* VALORES */
.fp-parcela,
.fp-desc-val,
.fp-cupom-val,
.fp-total-val {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

/* =========================================================
   TOTAL (DESTAQUE)
========================================================= */
.fp-total-row {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 2px solid #e2e8f0;
}

.fp-total-row .fp-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.fp-total-row .fp-total-val {
  font-size: 22px;
  font-weight: 800;
  color: #020617;
}

/* =========================================================
   FOOTER
========================================================= */
.pricing-footer {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.fp-legenda {
  font-size: 12px;
  color: #64748b;
}

/* =========================================================
   CORES SEMÂNTICAS
========================================================= */
.fp-desc-val {
  color: #059669; /* verde */
}

.fp-cupom-val {
  color: #7c3aed; /* roxo */
}

.fp-parcela {
  color: #2563eb; /* azul */
}

/* =========================================================
   PLACEHOLDER
========================================================= */
.is-empty {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

/* =========================================================
   MOBILE AJUSTES FINOS
========================================================= */
@media (max-width: 768px) {

  .pricing-card {
    border-radius: 14px;
  }

  .pricing-header {
    padding: 14px;
  }

  .fp-option {
    font-size: 16px;
  }

  .pricing-body {
    padding: 12px 14px;
  }

  .fp-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .fp-parcela,
  .fp-desc-val,
  .fp-cupom-val,
  .fp-total-val {
    text-align: left;
    font-size: 15px;
  }

  .fp-total-row .fp-total-val {
    font-size: 20px;
  }
}