/* =========================================================
   QUEM ATENDEMOS
========================================================= */

.quem-atendemos {
    padding: 95px 0;
    background: #ffffff;
}


/* =========================================================
   CABEÇALHO CENTRALIZADO
========================================================= */

.quem-header {
    display: flex;
    width: 100%;
    max-width: 900px;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin:
        0
        auto
        42px;

    text-align: center;
}


/* Bloco da tag + título */

.quem-header > div {
    display: flex;
    width: 100%;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Tag */

.quem-header .section-tag {
    width: fit-content;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


/* Título */

.quem-header h2 {
    width: 100%;
    max-width: 760px;

    margin:
        18px
        auto
        0;

    color: var(--black);

    font-size:
        clamp(38px, 4vw, 56px);

    line-height: 1.05;

    text-align: center;
}


/* Texto abaixo do título */

.quem-header > p {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;

    color: var(--text);

    font-size: 16px;
    line-height: 1.7;

    text-align: center;
}


/* =========================================================
   GRID
========================================================= */

.quem-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CARDS CENTRALIZADOS
========================================================= */

.quem-card {
    display: flex;

    min-height: 250px;

    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    padding: 30px 26px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: #FFF8F6;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.quem-card:hover {
    transform: translateY(-6px);

    background: #ffffff;

    box-shadow: var(--shadow-md);
}


/* =========================================================
   NÚMERO
========================================================= */

.quem-numero {
    display: inline-flex;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    align-items: center;
    justify-content: center;

    margin:
        0
        auto
        30px;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 12px;
    font-weight: 900;

    text-align: center;
}


/* =========================================================
   TÍTULO DO CARD
========================================================= */

.quem-card h3 {
    width: 100%;

    margin:
        0
        0
        13px;

    color: var(--black);

    font-size: 24px;
    line-height: 1.15;

    text-align: center;
}


/* =========================================================
   TEXTO DO CARD
========================================================= */

.quem-card p {
    width: 100%;
    max-width: 280px;

    margin:
        0
        auto;

    color: var(--text);

    font-size: 14px;
    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   CARD DE DESTAQUE
========================================================= */

.quem-card-destaque {
    border-color: transparent;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
}

.quem-card-destaque:hover {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
}


/* Número do destaque */

.quem-card-destaque .quem-numero {
    background:
        rgba(255, 255, 255, 0.16);

    color: #ffffff;
}


/* Título destaque */

.quem-card-destaque h3 {
    color: #ffffff;
}


/* Texto destaque */

.quem-card-destaque p {
    color:
        rgba(255, 255, 255, 0.82);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .quem-atendemos {
        padding:
            80px
            0;
    }

    .quem-header {
        max-width: 760px;

        gap: 16px;

        margin-bottom: 36px;
    }

    .quem-header h2 {
        max-width: 700px;
    }

    .quem-header > p {
        max-width: 600px;
    }

    .quem-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .quem-card {
        min-height: 220px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .quem-atendemos {
        padding:
            65px
            0;
    }

    .quem-header {
        width: 100%;

        gap: 14px;

        margin-bottom: 30px;

        text-align: center;
    }

    .quem-header h2 {
        width: 100%;
        max-width: 100%;

        font-size: 36px;

        text-align: center;
    }

    .quem-header > p {
        width: 100%;
        max-width: 100%;

        font-size: 15px;

        text-align: center;
    }

    .quem-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .quem-card {
        min-height: auto;

        align-items: center;

        padding:
            25px
            22px;

        border-radius: 20px;

        text-align: center;
    }

    .quem-numero {
        margin:
            0
            auto
            22px;
    }

    .quem-card h3 {
        font-size: 23px;

        text-align: center;
    }

    .quem-card p {
        max-width: 320px;

        margin-right: auto;
        margin-left: auto;

        text-align: center;
    }
}