/* =====================================================
   ÁREA DOS CARDS
===================================================== */

.areas {

    padding: 40px 20px 100px;

    background: var(--creme);

}


/* =====================================================
   CARD
===================================================== */

.area-card {

    background: #ffffff;

    border: 1px solid #e0d9ca;

    height: 100%;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.area-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(15, 35, 23, .13);

}


/* =====================================================
   IMAGEM
===================================================== */

.area-image {

    position: relative;

    width: 100%;

    height: 210px;

    flex-shrink: 0;

    overflow: hidden;

}


.area-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition: transform .6s ease;

}


.area-card:hover .area-image img {

    transform: scale(1.06);

}


/* =====================================================
   DEGRADÊ SOBRE IMAGEM
===================================================== */

.image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 25, 15, .05),
            rgba(5, 25, 15, .55)
        );

}


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

.card-number {

    position: absolute;

    top: 15px;

    left: 18px;

    color: #ffffff;

    font-family: Georgia, serif;

    font-size: .78rem;

    letter-spacing: 2px;

    z-index: 2;

}


/* =====================================================
   CONTEÚDO DO CARD
===================================================== */

.area-content {

    padding: 23px 24px 22px;

    flex: 1;

    display: flex;

    flex-direction: column;

}


/* =====================================================
   TÍTULO
===================================================== */

.area-content h3 {

    margin: 0 0 8px;

    color: var(--verde);

    font-family: Georgia, serif;

    font-size: 1.45rem;

    line-height: 1.15;

}


/* =====================================================
   DESCRIÇÃO
===================================================== */

.area-content p {

    margin: 0 0 16px;

    color: var(--cinza);

    font-size: .78rem;

    line-height: 1.5;

}


/* =====================================================
   LISTA
===================================================== */

.area-content ul {

    list-style: none;

    padding: 0;

    margin: 0 0 18px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px 12px;

}


.area-content li {

    position: relative;

    padding-left: 12px;

    color: #5d6861;

    font-size: .74rem;

    line-height: 1.35;

}


.area-content li::before {

    content: "";

    position: absolute;

    left: 0;

    top: 6px;

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background: var(--dourado);

}


/* =====================================================
   SAIBA MAIS
===================================================== */

.saiba-mais {

    margin-top: auto;

    padding-top: 13px;

    border-top: 1px solid #e8e2d6;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--verde);

    font-size: .68rem;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

}


.saiba-mais i {

    color: var(--dourado);

    font-size: .95rem;

    transition: transform .3s ease;

}


.saiba-mais:hover {

    color: var(--dourado);

}


.saiba-mais:hover i {

    transform: translateX(5px);

}


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

@media (max-width: 991px) {

    .area-image {

        height: 220px;

    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 767px) {

    .areas {

        padding-left: 15px;

        padding-right: 15px;

    }


    .area-image {

        height: 230px;

    }


    .area-content {

        padding: 22px;

    }


    .area-content h3 {

        font-size: 1.4rem;

    }

}