:root {
    --vg-yellow: #E9FF5C;
    --vg-yellow-hover: #F0FF8D;
    --vg-black: #000000;
    --vg-white: #FFFFFF;
    --font-primary: 'Montserrat', sans-serif;
}

* {
    font-family: var(--font-primary);
}

body {
    overflow-x: hidden;
}

.highlight {
    color: var(--vg-yellow) !important;
}

.navbar-vg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

    .navbar-vg.scrolled {
        background: rgba(0, 0, 0, 0.98);
        padding: 10px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .navbar-vg .navbar-brand img {
        height: 50px;
        width: auto;
        transition: height 0.3s;
    }

    .navbar-vg.scrolled .navbar-brand img {
        height: 40px;
    }

    .navbar-vg .nav-link {
        color: var(--vg-white) !important;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 10px 20px !important;
        transition: color 0.3s;
    }

        .navbar-vg .nav-link:hover {
            color: var(--vg-yellow) !important;
        }

        .navbar-vg .nav-link.active {
            color: var(--vg-yellow) !important;
        }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 8px 10px;
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none !important;
        box-shadow: none !important;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-vg .navbar-collapse {
        display: block !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
        border-radius: 12px;
        margin-top: 10px;
        padding: 0 20px;
        background: transparent;
        box-shadow: none;
    }

        .navbar-vg .navbar-collapse.show {
            max-height: 500px;
            opacity: 1;
            transform: translateY(0) scale(1);
            background: #000000;
            padding: 15px 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
            overflow: hidden;
        }

        .navbar-vg .navbar-collapse.collapsing {
            max-height: 0 !important;
            opacity: 0 !important;
            transform: translateY(-10px) scale(0.97) !important;
            padding: 0 20px !important;
            transition: opacity 0.15s ease, transform 0.15s ease !important;
            overflow: hidden !important;
            background: transparent !important;
            box-shadow: none !important;
        }

    .navbar-vg .navbar-nav {
        gap: 5px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .navbar-vg .navbar-collapse.show .navbar-nav {
        opacity: 1;
    }

    .navbar-vg .navbar-collapse.collapsing .navbar-nav {
        opacity: 0 !important;
        transition: opacity 0.05s ease;
    }

    .navbar-vg .nav-link {
        padding: 10px 16px !important;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
        opacity: 0;
        transform: translateX(15px);
        transition: opacity 0.25s ease, transform 0.3s ease;
    }

    .navbar-vg .navbar-collapse.show .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .navbar-vg .navbar-collapse.collapsing .nav-link {
        opacity: 0 !important;
        transform: translateX(15px) !important;
        transition: opacity 0.05s ease, transform 0.1s ease !important;
    }

    .navbar-vg .navbar-collapse.show .nav-link:nth-child(1) {
        transition-delay: 0.05s;
    }

    .navbar-vg .navbar-collapse.show .nav-link:nth-child(2) {
        transition-delay: 0.10s;
    }

    .navbar-vg .navbar-collapse.show .nav-link:nth-child(3) {
        transition-delay: 0.15s;
    }

    .navbar-vg .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-vg .navbar-nav.ms-auto {
        margin-left: auto !important;
    }

    .navbar-vg.scrolled .navbar-collapse.show {
        background: #000000;
    }

    .navbar-vg.scrolled .navbar-collapse.collapsing {
        background: transparent !important;
        box-shadow: none !important;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 80px;
    font-weight: 700;
    color: var(--vg-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

    .hero-title .highlight {
        color: var(--vg-yellow);
    }

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 300;
}

.hero-buttons .btn {
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn-primary {
    background: var(--vg-yellow);
    color: var(--vg-black);
    border: none;
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

    .btn-outline-light:hover {
        background: white;
        color: var(--vg-black);
        transform: translateY(-2px);
    }

.destaques-section {
    background: #121212;
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: var(--vg-white);
    letter-spacing: 2px;
}

    .section-title .highlight {
        color: var(--vg-black);
        background: var(--vg-yellow);
        padding: 2px 15px;
        border-radius: 4px;
        display: inline-block;
    }

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.filters-section {
    position: relative;
    background: url('/images/filtro.jpg') center/cover no-repeat;
    padding: 60px 0;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.filters-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,50,35,1) 0%, rgba(0,70,50,0.95) 15%, rgba(0,90,65,0.8) 30%, rgba(0,110,80,0.5) 50%, rgba(0,130,95,0.2) 65%, rgba(0,150,105,0.05) 80%, transparent 100%), linear-gradient(to top, rgba(0,50,35,1) 0%, rgba(0,70,50,0.95) 15%, rgba(0,90,65,0.8) 30%, rgba(0,110,80,0.5) 50%, rgba(0,130,95,0.2) 65%, rgba(0,150,105,0.05) 80%, transparent 100%), linear-gradient(to right, rgba(0,50,35,1) 0%, rgba(0,70,50,0.9) 20%, rgba(0,90,65,0.6) 40%, rgba(0,110,80,0.3) 55%, rgba(0,130,95,0.08) 70%, transparent 90%), linear-gradient(to left, rgba(0,50,35,1) 0%, rgba(0,70,50,0.9) 20%, rgba(0,90,65,0.6) 40%, rgba(0,110,80,0.3) 55%, rgba(0,130,95,0.08) 70%, transparent 90%), radial-gradient(circle at center, transparent 0%, rgba(0,150,105,0.02) 10%, rgba(0,130,95,0.08) 25%, rgba(0,110,80,0.2) 40%, rgba(0,90,65,0.4) 55%, rgba(0,70,50,0.6) 70%, rgba(0,50,35,0.8) 82%, rgba(0,30,20,0.95) 92%, rgba(0,20,12,1) 100%);
    pointer-events: none;
    z-index: 0;
}

.filters-overlay {
    background: transparent;
    padding: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
    width: 100%;
}

.filters-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}

    .filters-title .highlight {
        color: var(--vg-yellow);
    }

.filters-description {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 15px;
    line-height: 1.6;
}

.filter-select-home {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    width: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E9FF5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 40px;
}

    .filter-select-home:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E9FF5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 12px;
    }

    .filter-select-home option {
        background: #1a1a2e;
        color: white;
    }

    .filter-select-home:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--vg-yellow);
        box-shadow: 0 0 0 3px rgba(233, 255, 92, 0.15);
        color: white;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E9FF5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 12px;
    }

.btn-filter {
    background: var(--vg-yellow);
    color: var(--vg-black);
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-filter:hover {
        background: var(--vg-yellow-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(233, 255, 92, 0.3);
        color: var(--vg-black);
    }

.section-transition {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.65) 70%, rgba(0, 0, 0, 0.85) 85%, var(--vg-black) 100%);
    margin-top: -200px;
    z-index: 10;
    pointer-events: none;
}

.car-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    color: var(--vg-white);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .car-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.14);
        color: var(--vg-white);
    }

    .car-card .car-card-foto {
        overflow: hidden;
        flex-shrink: 0;
    }

    /* 4:3 é o formato das fotos do telemóvel na horizontal: a foto aparece inteira.
       A foto principal de cada carro deve ser horizontal (escolhe-se no admin com a estrela). */
    .car-card .card-img-top {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .car-card:hover .card-img-top {
        transform: scale(1.04);
    }

    .car-card .car-card-sem-foto {
        background: #2b2b2b;
        color: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
    }

    .car-card .card-body {
        padding: 16px 18px 18px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .car-card .card-title {
        font-weight: 700;
        font-size: 17px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: var(--vg-white);
        margin-bottom: 3px;
        line-height: 1.25;
    }

    .car-card .car-versao {
        font-size: 14px;
        color: var(--vg-yellow);
        margin-bottom: 0;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .car-card .card-subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 14px;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .car-card .car-price {
        margin-top: auto;
        background: var(--vg-yellow);
        color: var(--vg-black);
        border-radius: 8px;
        text-align: center;
        padding: 10px 12px;
        font-size: 18px;
        font-weight: 700;
        transition: filter 0.3s ease;
    }

    .car-card:hover .car-price {
        filter: brightness(1.08);
    }
@media (prefers-reduced-motion: reduce) {
    .car-card,
    .car-card .card-img-top {
        transition: none;
    }

        .car-card:hover,
        .car-card:hover .card-img-top {
            transform: none;
        }
}

.filters-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .filters-card h3 {
        color: var(--vg-white);
        font-size: 24px;
        margin-bottom: 20px;
    }

    .filters-card .form-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        font-weight: 600;
    }

    .filters-card .form-control {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--vg-white);
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .filters-card .form-control::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .filters-card .form-control:hover {
            border-color: var(--vg-yellow);
        }

        .filters-card .form-control:focus {
            background: #333;
            border-color: var(--vg-yellow);
            box-shadow: 0 0 0 3px rgba(233, 255, 92, 0.1);
        }

    .filters-card .btn-search {
        background: var(--vg-yellow);
        color: var(--vg-black);
        border: none;
        padding: 10px 30px;
        border-radius: 50px;
        font-weight: 700;
        transition: all 0.3s;
        height: 100%;
        min-height: 44px;
        font-size: 14px;
        white-space: nowrap;
    }

        .filters-card .btn-search:hover {
            background: var(--vg-yellow-hover);
            transform: translateY(-2px);
        }

.car-detail-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

    .car-detail-card h1,
    .car-detail-card .h2,
    .car-detail-card .display-6 {
        color: var(--vg-white);
    }

    .car-detail-card hr {
        border-color: rgba(255, 255, 255, 0.1);
    }

.text-muted-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.btn-outline-primary {
    border: 2px solid var(--vg-yellow);
    color: var(--vg-yellow);
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 700;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

    .btn-outline-primary:hover {
        background: var(--vg-yellow);
        color: var(--vg-black);
    }

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

    .breadcrumb-custom a {
        color: var(--vg-yellow);
        text-decoration: none;
        font-weight: 500;
    }

        .breadcrumb-custom a:hover {
            color: var(--vg-yellow-hover);
        }

    .breadcrumb-custom .active {
        color: rgba(255, 255, 255, 0.5);
    }

.contact-panel {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(8px);
    padding: 40px 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    width: 100%;
    color: #ffffff;
}

    .contact-panel h5 {
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }

.custom-input-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    resize: none;
}

textarea.custom-input-dark {
    min-height: 130px;
}

.custom-input-dark::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-input-dark:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--vg-yellow);
    box-shadow: 0 0 0 0.2rem rgba(233, 255, 92, 0.15);
    color: white;
}

.contact-panel .btn-primary {
    background: var(--vg-yellow);
    color: var(--vg-black);
    border: none;
    padding: 12px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
}

    .contact-panel .btn-primary:hover {
        background: var(--vg-yellow-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(233, 255, 92, 0.3);
    }

.map-section {
    width: 100%;
    background: #000;
    padding-bottom: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    display: block;
}

    .map-container iframe {
        display: block;
    }

@media (max-width: 992px) {
    .contact-info-section .contact-panel {
        margin-top: 30px;
    }
}


/* ---------- PÁGINAS LEGAIS (privacidade, cookies, termos) ---------- */
.pagina-legal {
    padding: 40px 0 80px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    font-size: 15px;
}

    .pagina-legal .container {
        max-width: 820px;
    }

    .pagina-legal h1 {
        color: #ffffff;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .pagina-legal h2 {
        color: #ffffff;
        font-size: 19px;
        font-weight: 700;
        margin: 38px 0 12px;
    }

    .pagina-legal .legal-data {
        color: rgba(255, 255, 255, 0.45);
        font-size: 13px;
        margin-bottom: 30px;
    }

    .pagina-legal ul {
        padding-left: 20px;
        margin-bottom: 16px;
    }

    .pagina-legal li {
        margin-bottom: 8px;
    }

    .pagina-legal a {
        color: var(--vg-yellow);
    }

    .pagina-legal strong {
        color: #ffffff;
    }

.tabela-legal {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    font-size: 14px;
}

    .tabela-legal th,
    .tabela-legal td {
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 14px;
        text-align: left;
        vertical-align: top;
    }

    .tabela-legal th {
        background: #1a1a1a;
        color: #ffffff;
        font-weight: 600;
    }

/* Faixa "Tem alguma questão?" por cima do footer.
   A caixa cinzenta (e a foto lá dentro) ocupa a altura toda da faixa, mas o preto do
   footer só começa --cta-subida mais abaixo: assim a caixa fica a sobressair para cima.
   A parte de cima usa a cor de fundo das páginas (#121212) e não "transparent",
   porque na homepage o body é branco. Para subir mais ou menos, mudar só a variável. */
.footer-cta {
    --cta-subida: 36px;
    background: linear-gradient(to bottom, #121212 var(--cta-subida), #0b0b0b var(--cta-subida));
    overflow: hidden;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 0;
}

    .footer-cta-inner::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        right: calc((100% - 100vw) / 2);
        background: #1a1a1a;
        z-index: -1;
    }

.footer-cta-foto {
    width: 190px;
    height: 170px;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
}

.footer-cta-texto h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

.footer-cta-texto p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    margin: 0;
}

.footer-cta-acoes {
    margin-left: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Botões discretos de propósito: sem cor de fundo, só ganham a cor da marca no hover.
   Pedido do cliente: com fundo verde repetiam a cor do site e ficava pesado. */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

    .footer-cta-btn:hover,
    .footer-cta-btn:focus-visible {
        color: var(--vg-yellow);
        border-color: var(--vg-yellow);
        background: rgba(233, 255, 92, 0.06);
    }

    .footer-cta-btn:focus-visible {
        outline: 2px solid var(--vg-yellow);
        outline-offset: 2px;
    }

    .footer-cta-btn i {
        font-size: 17px;
        color: rgba(255, 255, 255, 0.55);
        transition: color 0.2s ease;
    }

    .footer-cta-btn:hover i,
    .footer-cta-btn:focus-visible i {
        color: inherit;
    }

.social-icon-hover {
    color: #ffffff;
    font-size: 26px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .social-icon-hover:hover {
        color: var(--vg-yellow);
        transform: translateY(-3px);
    }

.footer-site {
    background: #0b0b0b;
    padding: 56px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

    .footer-site h3 {
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 16px;
    }

    .footer-site p {
        margin: 0 0 10px;
        line-height: 1.6;
    }

    .footer-site a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-site a:hover {
            color: var(--vg-yellow);
        }

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.footer-contacto {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

    .footer-contacto i {
        color: var(--vg-yellow);
        width: 16px;
        margin-top: 4px;
        flex-shrink: 0;
    }

.footer-horario {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 290px;
    margin-bottom: 12px;
}

    .footer-horario > span:last-child {
        text-align: right;
        white-space: nowrap;
    }

    .footer-horario .fechado {
        color: rgba(255, 255, 255, 0.55);
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

.footer-site .footer-redes {
    display: flex;
    gap: 18px;
    margin-top: 16px;
}

    .footer-site .footer-redes a {
        color: #ffffff;
        font-size: 20px;
    }

        .footer-site .footer-redes a:hover {
            color: var(--vg-yellow);
        }

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 44px;
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

    .footer-base .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px 20px;
        flex-wrap: wrap;
    }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

    .footer-legal a + a::before {
        content: "·";
        color: rgba(255, 255, 255, 0.3);
        margin-right: 12px;
    }

/* Em ecrãs largos, a linha de baixo do footer ocupa a largura toda, para o texto
   legal ficar à esquerda e os links à direita, numa só linha. Abaixo dos 1500px
   não cabem e mantém-se o comportamento normal: alinhada com o resto do footer,
   em duas linhas. */
@media (min-width: 1500px) {
    .footer-base .container {
        max-width: none;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .footer-cta {
        background: #1a1a1a;
    }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 28px;
    }

        .footer-cta-inner::before {
            display: none;
        }

    .footer-cta-foto {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin-top: 28px;
    }

    .footer-cta-acoes {
        margin-left: 0;
        justify-content: center;
        gap: 8px;
    }

    /* Mais apertados para os três caberem numa linha num ecrã de 360px */
    .footer-cta-btn {
        padding: 10px 14px;
        gap: 8px;
        font-size: 14px;
    }

    .footer-base .container {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .navbar-vg .navbar-brand img {
        height: 40px;
    }

    .navbar-vg.scrolled .navbar-brand img {
        height: 35px;
    }

    .filters-title {
        font-size: 32px;
    }

    .filters-description {
        font-size: 14px;
    }

    .filters-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .filters-title {
        font-size: 28px;
    }

    .filters-description {
        font-size: 13px;
    }

    .filters-section {
        min-height: auto;
        padding: 40px 0;
    }

    .car-card .card-body {
        padding: 14px 16px 18px;
    }

    .car-card .card-title {
        font-size: 16px;
        min-height: auto;
    }

    .car-card .car-price {
        font-size: 18px;
    }

    .filters-card .btn-search {
        font-size: 13px;
        min-height: 40px;
        padding: 8px 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 12px;
        margin: 5px;
    }

    .navbar-vg .navbar-brand img {
        height: 30px;
    }

    .navbar-vg.scrolled .navbar-brand img {
        height: 25px;
    }

    .navbar-vg .nav-link {
        font-size: 13px;
        padding: 10px 14px !important;
    }

    .filters-card {
        padding: 16px;
    }

        .filters-card h3 {
            font-size: 20px;
        }

        .filters-card .btn-search {
            min-height: 38px;
            font-size: 13px;
            padding: 8px 16px;
            width: 100%;
            margin-top: 8px;
            border-radius: 50px;
        }

        .filters-card .row:last-child .col-12 {
            padding-top: 4px;
        }

    .car-card .card-body {
        padding: 12px 14px 16px;
    }

    .car-card .card-title {
        font-size: 15px;
        min-height: auto;
    }

    .car-card .car-price {
        font-size: 16px;
    }
}

.btn-hero-catalog {
    background: var(--vg-yellow);
    color: var(--vg-black);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

    .btn-hero-catalog:hover {
        background: #121212 !important;
        color: var(--vg-yellow) !important;
        transform: translateY(-2px);
    }

.filter-select,
.filters-card .form-select,
.dropdown-custom {
    background-color: #2a2a2a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--vg-white) !important;
    padding: 10px 40px 10px 14px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E9FF5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .filter-select:hover,
    .filters-card .form-select:hover,
    .dropdown-custom:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
        border-color: var(--vg-yellow) !important;
    }

    .filter-select:focus,
    .filters-card .form-select:focus,
    .dropdown-custom:focus {
        background-color: #333 !important;
        border-color: var(--vg-yellow) !important;
        box-shadow: 0 0 0 0.2rem rgba(233, 255, 92, 0.25) !important;
        outline: 0 !important;
    }

    .filter-select option,
    .filters-card .form-select option,
    .dropdown-custom option {
        background-color: #1a1a1a !important;
        color: white !important;
    }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
