@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    /* medium */
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: 'Gotham';
}

header {
    position: fixed;
    z-index: 22;
    width: 100%;
}

.overlay {
    position: relative;

    &:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2;
        mix-blend-mode: multiply;
        height: 100%;
    }
}

.nav-link {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
}

.nav-link {
    color: #dbdbdb;
}

ul.dropdown-menu.show {
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.dropdown-menu li {
    float: left;
    width: 220px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border-radius: 0;
}

.nav-item.dropdown .nav-link {
    cursor: pointer;
}

.dropdown-item {
    width: 100%;
    line-height: 40px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: #1D1D1B;
}

.dropdown-item:hover {
    font-weight: 500;
}

header hr {
    background-color: #fff;
    color: #fff;
    margin: 10px 0 0 0;
}

.btn-portal {
    font-weight: 500;
    font-size: 16px;
    background-color: #1D1D1B;
    color: #fff;
}

.btn-portal img {
    margin-right: 8px;
}

.btn-portal:hover {
    color: #fff;
}

.navbar-collapse a {
    padding: 0 15px;
    line-height: 45px;
}

.barra-branca {
    border-left: solid 2px #fff;
    padding-left: 16px;
    list-style-type: none;
}

header {
    background-color: transparent;
    /* Inicialmente transparente */
    transition: background-color 0.3s ease;
    /* Suaviza a mudança */
}



footer {
    background-color: #1D1D1B;
    padding-top: 46px;
    text-align: center;

    .logo-footer {
        width: 260px;
        margin-bottom: 20px;
    }

    h5 {
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        color: #fff;
        text-align: left;
        margin-bottom: 22px;
    }

    ul {
        margin: 0;
        padding: 0;
        text-align: left;

        li {
            list-style-type: none;
            color: #fff;
            font-weight: 400;
            font-size: 16px;
            letter-spacing: 0%;
            margin-bottom: 8px;
        }
    }

    hr {
        background-color: #fff;
        color: #fff;
        margin: 25px 0;
    }

    .copy {
        font-weight: 400;
        font-size: 14px;
        line-height: 100%;
        vertical-align: middle;
        color: #fff;
        text-align: left;

        span {
            font-weight: 500;
            text-decoration: underline;
        }
    }

    .cnpj {
        font-weight: 500;
        font-size: 15px;
        line-height: 180%;
        color: #fff;
    }

    .alinhar-final {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .fone-footer {
        color: #fff;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;

        li {
            color: #fff;
            list-style-type: none;
        }
    }
}

#navegacao {
    padding: 120px 0 0;

    .navegacao {
        display: flex;
        margin: 0;
        padding: 0;

        li {
            list-style-type: none;
            font-weight: 400;
            font-size: 15px;
            color: #575756;

            &.nav-destaque {
                font-weight: 500;
                font-size: 15px;
                text-decoration: underline;
                color: #1D1D1B;
            }

            .seta {
                margin-right: 8px;
            }
        }
    }
}



/* ANIMAÇÃO */
.rotate {
    animation: flip-and-pause 4s infinite;
    /* 2s (rotação) + 2s (pausa) = 4s total */
    transform-origin: center;
    /* Gira no centro */
}

@keyframes flip-and-pause {
    0% {
        transform: rotate(0deg);
        /* Posição inicial */
    }

    25% {
        /* 1s em 4s (25%) para girar 180° */
        transform: rotate(180deg);
        /* Ponta-cabeça */
    }

    50% {
        /* 2s em 4s (50%), fica parado invertido */
        transform: rotate(180deg);
    }

    75% {
        /* 3s em 4s (75%), volta à posição inicial */
        transform: rotate(360deg);
    }

    100% {
        /* 4s em 4s (100%), fica parado normal */
        transform: rotate(360deg);
        /* Equivalente a 0deg (reinicia o loop) */
    }
}


/* BOTÃO WHATSAPP */
.btn-whatsapp-pulse {
    background: #000;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    z-index: 50;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }

    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-pulse-border {
    bottom: 120px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #000;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        padding: 25px;
        opacity: 0.75;
    }

    75% {
        padding: 50px;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



/* BOTÃO PADRÃO */
.btn-display {
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    border-radius: 0;
    display: inline-block;
    padding: 10px 50px;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #000;

    &.fundo-preto {
        color: #fff;
        background-color: #1D1D1B;
    }

    &:hover {
        /* Bordas simuladas com box-shadow */
        box-shadow:
            0 0 0 2px #000,
            /* Borda externa (2px preta) */
            0 0 0 3px #fff,
            /* Borda central (1px branca - note que é 3px total, menos os 2px da borda externa = 1px) */
            0 0 0 5px #000;
        /* Borda interna (2px preta - 5px total menos 3px da borda central = 2px) */
    }

}


.form-select:focus {
    box-shadow: none;
}

.form-control:focus {
    box-shadow: none;
}

/* main {
    overflow: hidden;
} */




/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {

    .nav-item.dropdown:hover .dropdown-menu {
        background: transparent;
        margin-left: 24px;
    }

    ul.dropdown-menu.show {
        display: flex;
        flex-direction: column;
        background-color: transparent;
    }

    .navbar-collapse {
        width: 100svh;
    }
}

/* MOBILE */
@media all and (max-width: 767px) {

    .btn-display {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        background: transparent;
        margin-left: 24px;
    }

    .navbar-collapse {
        width: 100svh;
    }

    footer {
        h5 {
            text-align: center;
            margin-top: 30px;
        }

        ul {
            li {
                text-align: center;
                margin-bottom: 8px;
            }
        }

        .fone-footer {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            align-items: center;
        }

        .copy {
            text-align: center;
        }

        .logo-alfama {
            margin-bottom: 30px;
        }

        .alinhar-final {
            display: flex;
            align-items: center;
            justify-content: center;
        }

    }

}

/* WIDE */
@media (min-width: 1400px) and (max-width: 2600px) {}

@media (min-width: 993px) and (max-width: 1399px) {

    /* .navbar-collapse a {
        padding: 0 9px;
        font-size: 10px;
    } */
    header {
        .separador-mob {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }
}

@media (min-width: 993px) and (max-width: 1399px) {
    .navbar-collapse a {
        font-size: 12px;
    }
}



.ultima-barra {
    li:last-child {
        hr {
            display: none;
        }
    }
}

.dropdown-item.active,
.dropdown-item:active {
    color: #212529 !important;
    background-color: #ffffff !important;
}


.grecaptcha-badge {
    opacity: 0;
}