/* =========================================================
   pricing.css — Seção de planos / pricing
   ========================================================= */

/* Espaço extra no topo para o badge absoluto não ser cortado */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 24px;
  /* acomoda o .price-badge top:-14px */
}

/* ── Card base ── */
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 38px 34px;
  text-align: center;
  position: relative;
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: visible;
  /* badge não é cortado */
}

.price-card:hover {
  transform: translateY(-8px);
}

/* ── Card destaque (Anual) ── */
.price-card.featured {
  border-color: var(--accent);
  animation: glowPulse 3s ease-in-out infinite;
  background: linear-gradient(160deg, rgba(59, 158, 255, 0.05) 0%, var(--card) 60%);
}

/* ── Badge "Escolha inteligente" ── */
.price-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: var(--pill-radius);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(59, 158, 255, 0.4);
}

/* ── Período ── */
.price-period {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Valor ── */
.price-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 68px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-value small {
  font-size: 28px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}

/* ── Sufixo ── */
.price-suffix {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ── Pílula de economia ── */
.price-economy {
  display: inline-block;
  background: rgba(59, 158, 255, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--pill-radius);
  margin-bottom: 24px;
  border: 1px solid rgba(59, 158, 255, 0.2);
}

/* ── Linha "menos de R$X por dia" ── */
.price-per-day {
  font-size: 12px;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 24px;
  display: block;
}

/* ── Lista de features ── */
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.price-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 900;
}

/* ── Botões de plano ── */
.btn-plan {
  width: 100%;
  padding: 16px;
  border-radius: var(--pill-radius);
  border: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  margin-top: auto;
}

.btn-plan.grad {
  background: var(--grad);
  color: #fff;
}

.btn-plan.grad:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 40px rgba(59, 158, 255, 0.4);
}

.btn-plan.green {
  background: var(--green);
  color: #000;
}

.btn-plan.green:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0, 230, 118, 0.4);
}

.btn-plan.outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-plan.outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hierarquia visual de conversão ── */
.price-card.featured .btn-plan {
  background: var(--green);
  color: #000;
}

.price-card.featured .btn-plan:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0, 230, 118, 0.42);
}

.price-card:not(.featured) .btn-plan {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.price-card:not(.featured) .btn-plan:hover {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

/* ── Nota de cancelamento ── */
.price-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

/* ── Garantia de reembolso ── */
.refund-guarantee {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: 16px;
}

.refund-guarantee img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  flex-shrink: 0;
}

.refund-content h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}

.refund-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 600;
}

.refund-content p strong {
  color: var(--white);
}

/* ── Responsividade ── */
@media (max-width: 768px) {
  .pricing-grid {
    max-width: 460px;
    grid-template-columns: 1fr;
  }

  .refund-guarantee {
    max-width: 460px;
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }

  .refund-guarantee img {
    width: 102px;
    height: 102px;
  }
}

@media (max-width: 500px) {
  .price-card {
    padding: 30px 24px;
  }

  .price-value {
    font-size: 56px;
  }
}