/* Estilo automático para a página: home */
.hero {
    overflow: hidden;
    position: relative;
    height: 98svh;
    margin-top: 95px;

    &.cta {
        height: 64svh;
    }

    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        filter: brightness(0.85);
    }

    .hero-content {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;

        h2 {
            font-size: 32px;
            color: #fff;
            font-weight: 400;

            span {
                font-weight: 600;
            }
        }

        p {
            font-weight: 500;
            font-size: 24px;
            color: #fff;
        }

        @media (max-width: 992px) {

            h2 {
                font-size: 24px;
            }

            p {
                font-size: 16px;
            }

        }
    }

    .swiper {
        height: -webkit-fill-available;
        margin-top: 0;
    }
}

section.servicos {

    .swiper {
        padding: 24px 0;
    }

    .card-servico {
        background-color: #fff;
        padding: 36px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        border: 1px solid #E3E3E3;
        border-radius: 10px;
        box-shadow: 5px 5px 8px 0 #2C2C2C26;

        p {
            font-family: 'Poppins';
            font-weight: 500;
            font-size: 18px;
            line-height: 100%;
            text-align: center;
            margin: 0;
        }

        a {
            font-family: 'Poppins';
            font-weight: 500;
            font-size: 18px;
            line-height: 100%;
            text-align: center;
            color: #E54344;
            margin: 0;
        }

        img {
            width: fit-content;
            height: auto;
            aspect-ratio: 1 / 1;
        }
    }
}

section.noticias {

    .texto {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: fit-content;

        h2 {
            margin: 0;
            padding-left: 15px;
            border-left: 5px solid #E54344;
            font-size: 32px;
            color: #5A5A5A;
            font-weight: 400;

            span {
                font-weight: 600;
            }
        }
    }

    article {
        box-shadow: 0px 5px 8px 0 #3246573B;
        border-radius: 10px;
    }

    .wrapper {
        display: flex;
        gap: 32px;
    }

    .card-blog {
        flex: 1 1 calc(33% - 32px);
        border: none;

        .body {
            padding: 18px 18px 30px 18px;

            .info {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: row;
                flex-wrap: nowrap;
                color: #5A5A5A;
                font-weight: 600;
                font-size: 16px;

                p {
                    font-weight: 600;
                    margin: 0;
                }

                .post-cat {
                    padding: 8px 16px;
                    max-width: 195px;
                    border-radius: 5px;
                    background-color: #E6E6E6;
                }

                .date-cat {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }
            }

            h3 {
                font-weight: 600;
                font-size: 20px;
                line-height: 160%;
                color: #62737B;
            }

            p {
                font-weight: 400;
                font-size: 16px;
                line-height: 160%;
                color: #62737B;
                margin: 0;
            }

            span {
                font-weight: 600;
                font-size: 18px;
                font-family: 'Poppins';
                line-height: 160%;
                color: #E54344;
            }
        }
    }

    .card-gal {
        flex: 1 1 calc(50% - 32px);

        .card-thumb {
            img {
                width: 100%;
                height: 30vh;
                object-fit: cover;
                border-radius: 10px;
            }
        }

        .body {
            display: flex;
            justify-content: space-between;
            margin-top: 16px;

            a {
                color: #E54344;
                font-weight: 600;
                font-size: 18px;
                line-height: 160%;
            }

            p {
                color: #62737B;
                font-size: 18px;
                line-height: 160%;
                font-weight: 500;
            }
        }

        @media (max-width: 768px) {
            flex: 1;
        }
    }
}