/* ============================================================================= */
/* ARQUIVO: /css/components/cards.css                                           */
/* PROJETO: ServicesBI                                                          */
/* STATUS: CONSOLIDAÇÃO DEFINITIVA DO COMPONENTE CARD                           */
/* STATUS: [2025-12-23] CARD BASE + VARIAÇÕES SERVICE / PROJECT                 */
/* STATUS: [2025-12-23] GRID GLOBAL DE SERVIÇOS (4 COLUNAS)                     */
/* ============================================================================= */

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
    border-top: 4px solid #f2c200;
    border-bottom: 4px solid #f2c200;
    display: flex;
    flex-direction: column;
}

/* ================= GRID GLOBAL — SERVIÇOS ================= */

#services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ================= VARIAÇÃO — SERVIÇO ================= */

.card--service {
    gap: 12px;
}

.card--service i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1f3d2b;
}

.card--service h3 {
    font-size: 15px;
    color: #1f3d2b;
}

.card--service p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

/* ================= VARIAÇÃO — PROJETO ================= */

.card--project img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card--project h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #1f3d2b;
}

.card--project p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ================= BOTÃO PADRÃO ================= */

.card .btn {
    margin-top: auto;
    align-self: center;
    padding: 10px 26px;
    border: 2px solid #f2c200;
    border-radius: 10px;
    text-decoration: none;
    color: #1f3d2b;
    font-style: normal;
}

/* ================= RESPONSIVO — SERVIÇOS ================= */

@media (max-width: 900px) {
    #services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #services-container {
        grid-template-columns: 1fr;
    }
}
