* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.4rem;
    width: 100%;
    transition: all 0.3s ease;
    /*background: transparent;
    color: white;*/
    background: white;
    color: black;
}

    /*nav.transparent {
        background: transparent;
    color: white;
        background: white;
        color: black;
    }*/

    nav.scrolled {
        background: white;
        color: black;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

.nav-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1160px;
    width: 100%;
}

.brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

    .nav-links li {
        margin-left: 2rem;
    }

    .nav-links a {
        text-decoration: none;
        color: inherit;
        font-size: 18px;
        transition: color 0.3s ease, border-bottom 0.3s ease;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            display: block;
            background: currentColor;
            transition: width 0.3s;
            bottom: -5px;
            left: 0;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a.active {
            color: #0057AD;
            font-weight: 600;
        }

.burger {
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .burger div {
        width: 25px;
        height: 3px;
        background: currentColor;
        margin: 5px;
        transition: all 0.3s ease;
    }

@media screen and (max-width: 999px) {

    nav {
        background: white;
        color: black;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-container {
        /*margin: 0 auto;*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1120px;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-out;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
    }

        .nav-links.active {
            max-height: 395px;
        }

        .nav-links li {
            margin: 1rem 0;
            text-align: center;
        }

    .burger {
        display: block;
    }

        .burger.active div:first-child {
            transform: rotate(45deg) translate(6px, 6px);
            background: #039be5;
        }

        .burger.active div:nth-child(2) {
            opacity: 0;
        }

        .burger.active div:last-child {
            transform: rotate(-45deg) translate(5px, -5px);
            background: #039be5;
        }
}

.lnk-whatsapp {
    transition: opacity 1s;
    position: fixed;
    bottom: 10px;
    right: 10px;
    float: right;
    z-index:9999;
}