/* Estilo automático para a página: home */
header {
    background-color: #04783F;
    position: fixed;
    top: auto;
    width: 100%;
    z-index: 99;

    .menu {
        a {
            color: #fff;

            &:hover {
                opacity: 0.9;
            }
        }
    }

    a.cta {
        display: block;
        border: 2px solid #fff;
        border-radius: 4px;
        padding: 6px 42px;
        background-color: transparent;
    }
}

section {
    h1 {
        font-size: 48px;
        font-family: 'Coolvetica', sans-serif;
        font-weight: 600;
        letter-spacing: 3px;
        line-height: 140%;
    }

    h2 {
        font-size: 48px;
        font-weight: bold;
        color: #3A3A3A;
    }

    .title {
        padding: 60px 0;
        text-align: center;
    }
}

a.cta {
    color: #fff;
    background-color: #03643E;
    font-size: 20px;
    border-radius: 4px;
    padding: 10px 42px;
    display: block;
    width: max-content;
    transition: 300ms all ease-in-out;

    &:hover {
        background-color: #34BA5D;
    }
}

.hero-section {
    position: relative;
    height: 90svh;
    overflow: hidden;
    transition: 300ms all ease-in-out;

    &:hover img {
        transform: scale(1.05);
    }

    img {
        border-radius: 0;
        transition: 500ms all ease-in-out;
    }

    &.secondary {
        height: 75svh;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .hero-content {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        color: #fff;
        padding: 20px;
        background: rgba(0, 0, 0, 0.4);
        width: 100%;
        height: 100%;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;

        p {
            font-size: 24px;
        }
    }
}

.sobre {
    padding: 100px 0;

    .texto {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card {
        height: 100%;
        padding: 2rem;
        border-radius: 4px;
        box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);

        .inner-card {
            height: 100%;

            span {
                font-weight: 900;
                font-size: 82px;
                color: #014336;
            }

            p {
                color: #424242;
                font-size: 24px;
                font-weight: 600;
            }
        }
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
    }
}

.catalogo {
    background-color: #F4FBF7;
    padding-bottom: 100px;
    user-select: none;

    .swiper-slide img {
        width: 100%;
    }

    .swiper-nav-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 99;
    }

    .swiper-nav-wrapper .swiper-button-prev,
    .swiper-nav-wrapper .swiper-button-next {
        pointer-events: all;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        background-color: #03643E;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        z-index: 10;
        position: relative;
    }

    .swiper-button-prev {
        left: -50px;
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="white" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/></svg>');
    }

    .swiper-button-next {
        right: -50px;
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="white" viewBox="0 0 24 24"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
    }

}

.parceiros {
    padding-bottom: 62px;

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        align-items: center;
        justify-items: center;
    }

    .grid .item img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        transition: 0.3s ease-in-out;
    }

    .grid .item img:hover {
        transform: scale(1.01);
        opacity: 0.8;
    }
}



.contato {
    background-color: #F4FBF7;
    /* tom claro como na imagem */
    padding: 82px 0 48px 0;

    .form-wrapper {
        display: inline-block;
        width: 100%;
        height: 100%;
    }

    .form-wrapper .bg-accent {
        background-color: #046a38;
        /* verde */
        width: 100%;
        height: 100%;
        position: absolute;
        top: -36px;
        left: -36px;
        border-radius: 4px;
        z-index: 0;
    }

    .form-card {
        border-radius: 4px;
        z-index: 1;
        width: 100%;
        height: 100%;
        min-height: 300px;
        padding: 40px 24px;

        h5 {
            font-size: 28px;
            font-weight: 700;
            color: #3A3A3A;
        }

        .wpcf7-list-item {
            margin: 0;
        }
    }

    .form-card input {
        border-radius: 4px;
        padding: 10px;
    }

    .form-card button {
        background-color: #046a38;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        height: 45px;
    }
}

.footer {
    background-color: #04783F;

    h5 {
        font-size: 26px;
        font-family: 'Rubik';
        color: #DADADA;
    }

    img {
        max-width: 200px;
    }
}

.footer-bottom {
    background-color: #014336;
}

.footer a.cta {
    border-radius: 4px;
    border: 2px solid #F4FBF7;
    width: 100%;
    background-color: #03643E;
    transition: 300ms all ease-in-out;
    text-align: center;

    &:hover {
        opacity: 0.8;
    }
}

.float-wpp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    pointer-events: clicks;

    a {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            width: 40px;
            height: auto;
        }
    }
}

@media (max-width: 992px) {
    section h2 {
        font-size: 32px;
    }

    .title {
        padding: 40px 0;
    }

    .hero-section {
        h1 {
            font-size: 36px;
            line-height: 120%;
        }

        p {
            font-size: 18px;
        }

        img {
            filter: brightness(0.8);
        }
    }

    section.sobre {
        padding: 50px 0;

        .row {
            gap: 24px;
        }

        a.cta {
            width: 100%;
            text-align: center;
        }
    }

    section.catalogo {
        padding-bottom: 60px;
    }

    section.contato {
        background-color: #F4FBF7;
        padding: 42px 0 48px 0;
        .row {
            gap: 48px;
        }
    }
}