/* Estilo automático para a página: produtos */
.hero-produtos {
    background: #F2F9EC;
    padding: 80px 0;

    .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .hero-text {
        flex: 1;
        min-width: 300px;
        padding-right: 40px;

        h1 {
            font-size: 2.8rem;
            color: #1C1C1C;
            margin-bottom: 20px;
        }

        p {
            font-size: 1.1rem;
            color: #1C1C1C;
            opacity: 0.85;
        }
    }

    .hero-img {
        flex: 1;
        min-width: 300px;

        img {
            width: 100%;
            height: auto;
        }
    }
}

/* GRID */
.cards-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* CARD */
.produto-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 330px;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.produto-card:hover {
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, .25); */
    .produto-img  {
        transform: scale(1.1);
    }
    .produto-title {
        color: #FFFFFF;
    }
}

/* BACKGROUND IMAGE */
.produto-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 300ms all ease-in-out;
}

/* OVERLAY GRADIENT */
.produto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
}

/* TITLE */
.produto-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}


.cta-produtos {
    background: #75B948;
    padding: 70px 0;

    .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        color: #FFFFFF;
    }

    .cta-text {
        flex: 1;
        min-width: 300px;
        padding-right: 40px;

        h2 {
            font-size: 2.2rem;
            margin-bottom: 10px;
        }

        p {
            opacity: 0.9;
            margin-bottom: 20px;
        }

        a {
            background: #1C1C1C;
            padding: 12px 28px;
            border-radius: 8px;
            color: #FFFFFF;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;

            &:hover {
                opacity: 0.85;
            }
        }
    }

    .cta-img {
        flex: 1;
        min-width: 300px;
        text-align: center;

        img {
            width: 80%;
            max-width: 350px;
        }
    }
}

@media (max-width: 768px) {
    .produtos-grid {
        column-count: 1;
    }
}