: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;
}

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.7), rgba(0, 0, 0, 0.7)), url(../images/backgrounds/1581_BANNER_SITE_09_CONTATO_F4L_1920x450.webp);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;

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

.section-intro {
    padding: 60px 20px 0px 20px;

    .contact-intro {
        font-size: 22px;
        font-weight: 400;
        line-height: 27px;
        color: var(--dark-grey);
        text-align: center;
    }
}

.section-contact {
    padding-top: 72px;
    padding-bottom: 80px;
    max-width: 1176px;
    margin: 0 auto;

    .contact-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .contact-map {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid var(--light-grey);
        height: 420px;

        iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding-top: 8px;
    }

    .contact-address {
        display: flex;
        align-items: center;
        gap: 14px;

        img {
            margin-top: 3px;
            flex-shrink: 0;
        }

        div {
            display: flex;
            flex-direction: column;
        }

        a {
            font-size: 16px;
            font-weight: 400;
            line-height: 24px;
            color: var(--dark-grey);
            text-decoration: none;

            &:hover {
                color: var(--green);
            }
        }
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 14px;

        img {
            flex-shrink: 0;
        }

        div {
            display: flex;
            flex-direction: column;
        }

        a {
            font-size: 15px;
            font-weight: 400;
            color: var(--dark-grey);
            text-decoration: none;

            &:hover {
                color: var(--green);
            }
        }
    }

    .contact-label {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--green);
    }
}

@media screen and (max-width: 1222px) {
    .contact-grid {
        width: auto !important;
        height: auto !important;
        max-height: 700px;
        margin: 0px 40px 10px 40px !important;
    }

    .section-contact{
        padding-top: 30px;
    }
}

@media screen and (max-width: 900px) {
    .section-contact {
        .contact-grid {
            grid-template-columns: 1fr;
        }

        .contact-map {
            height: 300px;
        }
    }
}