h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-optical-sizing: auto;
    font-family: 'Linear Grotesk';
}

main {
    position: relative;
}

body {}

a.cta {
    pointer-events: auto;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    display: inline-block;
    transition: 300ms all ease-in-out;
    width: fit-content;

    &:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    &.white {
        background-color: #FFFFFF;
        color: #00383F;

        &:hover {
            background-color: #dfdfdf;
        }
    }

    &.blue {
        background-color: #00687C;
        color: #FFFFFF;
        border: none;

        &:hover {
            background-color: #005a6b;
        }
    }
}

section {
    padding: 96px 0;
}

header {
    background-color: #00383F;
    color: #FFFFFF;

    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .buttons {
        gap: 16px;
        display: flex;
        justify-content: center;
        align-items: center;

        a.cta {
            height: fit-content;
            max-height: 48px;
            display: flex;
            justify-content: center;
            align-items: center;
            white-space: nowrap;
        }
    }

    .collapse {
        li a {
            color: #fff;
        }
    }
}

h2 {
    font-family: 'Linear Grotesk';
    font-weight: 900;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 5%;
    color: rgba(50, 58, 60, 1);
}

span {
    font-family: 'Linear Grotesk';
    font-weight: 900;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00687c;
}

section.cta {
    padding-top: 0;

    .bluebox {
        padding: 54px 64px;
        background-color: #00687c;
        position: relative;
        min-height: 460px;
        border-radius: 10px;

        .textos {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        h2,
        h3,
        p {
            color: #ffffff;
        }

        h2 {
            font-family: 'Linear Grotesk';
            font-weight: 900;
            font-size: 56px;
            line-height: 120%;
            letter-spacing: 1px;
        }

        p {
            font-family: 'Linear Grotesk';
            font-weight: 500;
            font-size: 18px;
            line-height: 160%;
            letter-spacing: 1px;
        }

        /* a.cta {
            background-color: #ffffff;
            color: #00687c;

            &:hover {
                background-color: #cacaca;
                border: 1px solid #cacaca;
            }
        } */

        img.destaque {
            width: auto;
            height: auto;
            max-width: 100%;
            position: absolute;
            bottom: 0;
            right: 0;
        }

        &.secondary {
            background-color: #0095B4;
        }
    }
}

section.mapa {
    background-color: #efefef;

    .loc-list {
        background-color: #00687C;
        padding: 40px;
        border-radius: 10px;

        h2 {
            color: #FFFFFF;
            line-height: 135%;
            font-weight: 900;
            font-size: 40px;
        }

        h3 {
            color: #FFFFFF;
            font-weight: 600;
            font-size: 18px;
            line-height: 135%;
            margin: 0;
            z-index: 3;
        }

        svg {
            font-size: 40px;
            width: 40px;
            height: 40px;
        }

        .tabs {
            margin-top: 32px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .loc {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #EFEFEF;
            background:
                linear-gradient(#006A7E, #006A7E) padding-box,

                linear-gradient(135deg,
                    #006A7E 0%,
                    #0091A0 35%,
                    #44A9B5 70%,
                    #44A9B5 100%) border-box;
            border: 1px solid transparent;
            padding: 8px 16px;
            border-radius: 10px;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(165deg, rgba(152, 178, 179, 0) 20%, rgba(255, 255, 255, 0.1) 100%);
                border-radius: 10px;
                z-index: 2;
            }

            .num-card {
                /* padding: 10px; */
                font-size: 18px;
                font-weight: 700;
                color: #fff;
                background-color: #00ACCF;
                border-radius: 4px;
                width: 38px;
                height: 38px;
                align-content: center;
                text-align: center;
                z-index: 3;
            }
        }
    }
}

label {
    color: #00687C;
    margin-bottom: 8px;
    font-weight: 500;
}
input.form-control, .form-select, option, textarea {
    color: #323A3C;
    font-size: 16px;
    font-family: 'Montserrat';
    padding: 14px;
    border: none;
}

.form-check {
    label {
        color: #323A3C;
        font-size: 16px;
        font-family: 'Montserrat';
        border: none;
        a {
            text-decoration: underline;
            color: #00687C;
        }
    }
}

footer {
    background-color: #00353D;
    padding-top: 70px;
    color: #FFFFFF;

    h4 {
        font-family: 'Linear Grotesk';
        font-weight: 900;
        font-size: 16px;
        line-height: 160%;
        letter-spacing: 1px;
    }

    p {
        font-size: 16px;
        font-family: 'Linear Grotesk';
        font-weight: 400;
        line-height: 160%;
    }

    .rede-card {
        display: flex;
        width: 45px;
        height: 45px;
        background-color: #00687C;
        border-radius: 5px;
        justify-content: center;
        align-items: center;
    }

    .glass {
        display: flex;
        gap: 16px;
        padding: 16px;
        background-color: #ffffff06;
        border-radius: 8px;
        width: fit-content;

        .rede-title {
            h5 {
                font-size: 16px;
                font-weight: 700;
                color: #FFFFFF;
            }

            p {
                font-size: 16px;
                font-weight: 400;
                color: #FFFFFF;
                margin: 0;
            }
        }
    }

    .menu-footer {
        display: flex;
        flex-direction: column;

        ul {
            margin: 0;
            padding: 0;
            list-style: none;

            li {
                margin-bottom: 10px;

                a {
                    color: #FFFFFF;
                    text-decoration: none;
                    font-size: 16px;
                    font-family: 'Linear Grotesk';
                    font-weight: 400;
                    line-height: 160%;
                }
            }
        }
    }
}

@media (max-width: 1400px) {
    header {
        .redes {
            gap: 16px;
        }

        .menu-items {
            a {
                padding: 0 10px;
            }
        }
    }
}

@media (max-width: 1200px) {
    header {
        .navbar-brand {
            img {
                width: auto;
            }
        }

        .btn.cta {
            min-width: auto;
            padding: 6px 24px;
        }

        .redes {
            gap: 16px;

            a {
                img {
                    width: 1.8svw;
                }
            }
        }

        .menu-items {
            a {
                font-size: 14px;
                padding: 0 8px;
            }
        }

        .navbar-collapse {
            a {
                white-space: nowrap;
                font-size: 14px;
            }
        }

        .navbar-nav {
            width: 100%;
            align-items: flex-start !important;
            gap: 12px;
            margin-bottom: 24px;
        }

        .navbar-nav .nav-item {
            width: 100%;
        }

        .navbar-nav .nav-link {
            width: 100%;
            padding: 12px 0;
        }

        .buttons {
            width: 100%;
            align-items: stretch;
            gap: 12px;

            a.cta {
                width: 100%;
            }
        }
    }
}

@media (max-width: 992px) {
    section.hero-section {
        min-height: calc(100dvh - 86px);
        .hero-content {
            top: 5%;
            h1 {
                font-size: 46px;
            }
            p {
                font-size: 18px;
            }
            a {
                margin-top: 40px;
            }
        }
    }
    section.cta {
        & .bluebox {
            padding: 46px 32px;
            min-height: auto;
            img.destaque {
               display: none;
            }
            .textos {
                display: flex;
                flex-direction: column;
                gap: 24px;
                h2 {
                    font-size: 32px;
                }
                h3 {
                    font-size: 28px;
                }
                p {
                    font-size: 18px;
                }
            }
        }
    }

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

    section.mapa {
        iframe {
            min-height: 50dvh;
        }
    }

    footer {
        img.logo {
            max-width: 212px;
        }
        .menu-footer {
            justify-content: center;
            align-items: center;
            text-align: center;
            .glass {
                width: 100%;
                text-align: start;
                align-items: center;
                line-break: anywhere;
            }
        }
    }
}

@media (max-width: 768px) {
    header {
        .redes {
            gap: 16px;

            a {
                img {
                    width: auto;
                }
            }
        }

        .menu-items {
            a {
                font-size: 18px;
            }
        }
    }

}