:root {
    --white: #FFFFFF;
    --black: #020508;
    --dark-grey: #333333;
    --light-grey: #E5E3E3;
    --green: #0D8837;
    --aqua-green: #F6FEF9;
    --white-blue: #F7F9FD;
    --blue: #172D4C;
    --green-musgo: #12A182;
    --brown: #B65D2A;
    --blue-aqua: #367588;
}

.text-blue-aqua {
    color: var(--blue-aqua) !important;
}

.text-brown {
    color: var(--brown) !important;
}

.text-green-musgo {
    color: var(--green-musgo) !important;
}

p {
    color: var(--dark-grey);
}

header {
    background: linear-gradient(120deg,
            rgba(0, 48, 25, 0.973),
            rgba(0, 28, 61, 0.973),
            rgba(0, 60, 30, 0.979));
    background-size: 300% 300%;
    animation: waterFlow 15s ease-in-out infinite alternate;
    position: relative;
}

.section-hero {
    width: 100%;
    height: 450px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/backgrounds/1581_BANNER_SITE_08_MARKETS_F4L_1920x450.webp);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;

    article {
        display: flex;
        align-items: center;
    }
}

.container__markets {
    position: relative;

    .background-four {
        position: absolute;
        right: 0;
        top: 80px;
    }
}

.container__markets,
.container__livestock {
    padding: 0 0 40px;

    >.conteudo {
        margin-top: 40px;
        padding: 0;

        >p {
            font-size: 16px;
            line-height: 20px;
            color: var(--dark-grey);
            font-weight: 300;
            text-align: center;
            margin: 0;
            padding: 0 20px;

            &.cor_verde {
                font-weight: 500;
                color: var(--green);
                text-transform: uppercase;
            }
        }

        >h2 {
            font-size: 24px;
            line-height: 32px;
            font-weight: 700;
            color: var(--black);
            text-align: center;
            max-width: 400px;
            margin: 16px auto 12px;
            padding: 0 20px;
        }

        >h3 {
            font-size: 24px;
            line-height: 32px;
            font-weight: 700;
            color: var(--green);
            text-align: center;
            text-transform: uppercase;
            margin: 0 auto 20px;
        }

        .container__cards {
            margin-top: 1.25rem;
            padding-left: 20px;

            .swiper {
                display: flex;
                flex-direction: column;
                row-gap: 1.25rem;
                width: 100%;
                height: 100%;
                border-radius: .75rem;

                .swiper-slide {
                    text-align: center;
                    font-size: 1rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: .75rem;

                    &.card {
                        position: relative;
                        width: 336px !important;
                        height: 360px !important;
                        overflow: hidden;
                        border-radius: 30px;
                        scroll-snap-align: center;
                        transition: box-shadow 0.3s ease;

                        a {
                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover
                            }

                            &::after {
                                content: '';
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 100%;
                                height: 65%;
                                background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
                                border-radius: inherit;
                                pointer-events: none;
                            }

                            >p {
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 100%;
                                font-size: 24px;
                                line-height: 32px;
                                font-weight: 600;
                                color: var(--white);
                                margin: 0;
                                padding: 32px;
                                z-index: 1;
                            }

                            >.card-claim {
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 100%;
                                font-size: 18px;
                                line-height: 32px;
                                font-weight: 300;
                                color: var(--white);
                                margin: 0;
                                padding: 32px;
                                padding-bottom: 9px;
                                z-index: 1;
                            }
                        }
                    }

                }

                .swiper-pagination {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative !important;
                    bottom: 0 !important;

                    .swiper-pagination-bullet-active {
                        background: var(--green) !important;
                        width: .75rem !important;
                        height: .75rem !important;
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 992px) {
    .container__markets {
        background-color: #FFF;

        >.conteudo {
            position: relative;
            margin-top: 60px;
            margin-bottom: 100px;

            .background-four-second {
                position: absolute;
                top: -58%;
                left: 0;
            }

            >p {
                font-size: 18px;

                &.cor_verde {
                    font-size: 16px;
                }
            }

            >h2 {
                font-size: 32px;
                line-height: 40px;
                max-width: 100%;
            }

            >h3 {
                font-size: 28px;
            }

            .container__cards {
                .swiper-wrapper {
                    justify-content: center;
                }
            }
        }
    }

}