@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap');


:root {
    --cinza-escuro: #343334;
    --baje: #cdab7c;
}

@font-face {
    font-family: 'vogie';
    src: url(vogie-medium.woff) format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 8vh;
    /* Ajuste para compensar o menu fixo */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background: #0f172a;
    color-scheme: light;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 45px;
    width: 50px;
    height: 50px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 100%;
    height: auto;
}

.site-header {
    width: 100%;
    background: linear-gradient(90deg, #0f172a 0%, #111827 50%, #1e2c4e 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    position: relative;
    z-index: 1000;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e5e7eb;
    font-size: 26px;
    cursor: pointer;
}

.mobile-logo {
    display: none;
}

.mobile-logo img {
    height: 70px;
    margin-bottom: 20px;
}

.dropdown-desktop {
    color: aliceblue;
    cursor: pointer;
}

.dropdown-list-desktop {
    position: absolute;
    top: 22px;
    right: 0;
    width: 150px;

    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border-radius: 12px;
    padding: 10px 0;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .04);

    backdrop-filter: blur(6px);

    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: all .25s cubic-bezier(.25, .8, .25, 1);
}

.dropdown-list-desktop li a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;

    font-size: .9rem;
    font-weight: 500;
    color: #cbd5f5;
    text-decoration: none;

    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.dropdown-list-desktop li a:hover {
    background: linear-gradient(90deg, rgba(56, 189, 248, .15), transparent);
    color: #38bdf8;
    padding-left: 24px;
}

.dropdown-list-desktop li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}


.dropdown-desktop:hover .dropdown-list-desktop {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}


.veiculos-list-mobile{display: none;}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        font-size: 1.1rem;
        font-weight: 500;
        height: 100vh;
        width: 100%;
        background: #0f172a;
        padding-top: 70px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0px;

        transform: translateX(100%);
        /* opacity: 0; */
        visibility: hidden;
        transition: all 0.6s ease;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li{
        width: 100%;
        height: 45px;
        border-bottom: 1px solid rgba(255, 255, 255, .04);
        text-align: center;
        display: flex;
                flex-direction: column;
        align-items: center;
        justify-content: center;
    }


    .menu-toggle {
        display: block;
        z-index: 1000;
    }

    .mobile-logo {
        display: block;
        height: 90px !important;
    }

    .dropdown-list-desktop{
        display: none;
    }

    .veiculos-list-mobile{
        display: block !important;
        width: 100%;
    }

    .veiculos-list-mobile li{
        font-size: 1rem;
        width: 100%;
        height: 45px;
        border-bottom: 1px solid rgba(255, 255, 255, .04);
    }
}
