.pricing-container {
  display: flex;
  flex-wrap: wrap; 
  gap: 12px; 
  justify-content: center;
  padding: 20px 10px;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
}

.card {
  flex: 1;
  min-width: 230px; 
  max-width: 280px; 
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  text-align: center; /* Centraliza todo o texto do card */
}

.header {
  padding: 15px 10px;
  text-align: center; /* Garante o título centralizado */
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* Cores dos Cabeçalhos */
.essencial .header { background-color: #555; }
.promocional .header { background-color: #88b7cc; } 
.plus .header { background-color: #48b273; }        
.luxo .header { background-color: #bc9f3d; }        

.content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza os itens verticalmente no flex */
}

.price-pix {
  font-size: 0.95rem;
  margin-bottom: 8px;
  width: 100%;
}

.price-pix strong {
  font-size: 1.2rem;
}

.price-card {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 10px 0;
  width: 100%; /* Garante que a linha atravesse o card */
}

.details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #444;
  flex-grow: 1;
  text-align: center; /* Centraliza o texto dos itens da lista */
}

.details li {
  margin-bottom: 8px;
  padding: 0 5px; /* Evita que o texto encoste nas bordas */
}

.payment-info {
  margin-top: 15px;
  padding: 12px;
  background-color: #f1f1f1;
  border-radius: 5px;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}

/* Responsividade */
@media (max-width: 1024px) {
  .card {
      min-width: 45%; 
  }
}

@media (max-width: 600px) {
  .pricing-container {
      flex-direction: column;
      align-items: center;
  }
  .card {
      max-width: 100%;
      width: 100%;
  }
}