/* Container dos cards */

section#pricing {
    background-color: #e5e5e5e5; /* Cor de fundo da seção */

}

#pricing h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2bae40;
    text-align: center;
}
  

.pricing-cards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: stretch; /* Faz os cards terem a mesma altura */
}

/* Cada card */
.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    flex: 1; /* Garante que todos os cards ocupem o mesmo espaço */
    max-width: 30%;
    text-align: left;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Garante que os elementos sejam organizados em coluna */
    justify-content: space-between; /* Garante que o botão fique no final */
    height: 100%; /* Faz o card expandir para ocupar a mesma altura */
}

/* Título do card */
.card h3 {
    font-size: 2rem;
    color: #516560;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

/* Lista de serviços */
.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1; /* Faz o restante do card ocupar o espaço vertical */
}

.card ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
    display: flex;
    align-items: center;
}

.card ul li i {
    color: #2bae41;
    margin-right: 0.5rem;
}

/* Seção de preço */
.card .price {
    text-align: left;
    margin: 1.5rem 0;
}

.card .price p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card .price h4 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: baseline;
}

.card .price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.card .price .per {
    font-size: 1rem;
    color: #999;
    margin-left: 0.2rem;
}

/* Botão */
.card button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    color: white;
    background-color: #2bae41;
    width: 100%;
    text-align: center;
    margin-top: auto; /* Garante que o botão fique alinhado ao final do card */
}

/* Popular card highlight */
.card.popular {
    background-color: #2bae41;
    color: white;
}

.card.popular i {
    color: white;
}

.card.popular h3,
.card.popular ul li,
.card.popular .price p,
.card.popular .price h4,
.card.popular .price span {
    color: white;
}

.card.popular button {
    background-color: rgba(255, 255, 255, 0.2);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .card {
        max-width: 90%;
    }

    .card ul li {
        font-size: 0.9rem;
    }

    .card .price h4 {
        font-size: 2rem;
    }

    .card button {
        font-size: 0.9rem;
    }
}
