/**
 * Estilos Personalizados
 * 
 * LOCALIZAÇÃO: public/css/style.css
 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
}

/* Navbar */
.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Search Section */
.search-section {
    position: relative;
}

/* Vehicle Card */
.vehicle-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.vehicle-card .card-img-top {
    transition: transform 0.3s;
}

.vehicle-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 12px;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-success {
    background: #25d366;
    border: none;
}

.btn-success:hover {
    background: #128C7E;
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Cards */
.card {
    border-radius: 15px;
    border: none;
}

.card-body {
    padding: 1.5rem;
}

/* Footer */
footer a:hover {
    text-decoration: underline !important;
}

/* Carousel */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .search-section .card {
        margin-top: 0 !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Price Tag */
.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Badge Styles */
.badge-destaque {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warning-color);
    color: #000;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 5;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s;
}

.scroll-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border: 2px solid #e9ecef;
    margin: 0 3px;
    border-radius: 8px;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert Customizado */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}













.top-bar-premium {
    background: linear-gradient(135deg, #0b0f1a, #111827);
    color: #e5e7eb;
    font-size: 13px;
}



.top-bar-premium .container {
    padding: 8px 0;
}

.top-bar-left span {
    margin-right: 12px;
    opacity: .9;
}

.top-bar-left i,
.top-bar-right i {
    color: #3b82f6; /* azul premium */
    margin-right: 4px;
    font-size: 14px;
}

.top-bar-premium a {
    font-weight: 500;
}

.top-bar-left .divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.2);
    vertical-align: middle;
    margin: 0 10px;
}

.top-bar-right a {
    text-decoration: none;
    margin-left: 14px;
    font-weight: 500;
    transition: all .25s ease;
}
.icon-outline {
    color: #3b82f6;
    opacity: .9;
    font-weight: 300;
}

.top-bar-right i {
    margin-right: 4px;
}

.user-link {
    color: #e5e7eb;
}

.login-link,
.user-link,
.logout-link {
    color: #e5e7eb;
}

.login-link:hover,
.user-link:hover {
    color: #60a5fa;
}

.logout-link i {
    font-size: 15px;
}
.user-link:hover {
    color: #60a5fa;
}

.logout-link {
    color: #9ca3af;
}

.logout-link:hover {
    color: #ef4444;
}

.login-link {
    color: #e5e7eb;
}

.login-link:hover {
    color: #60a5fa;
}

.register-link {
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 600;
}

.register-link:hover {
    filter: brightness(1.1);
    color: #fff;
}












.navbar-premium {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 16px 0; /* mais respiro vertical */
}

.navbar-premium .navbar-brand {
    gap: 10px;
}

.brand-premium i {
    font-size: 28px; /* ícone maior */
    color: #2563eb;
}

.brand-premium span {
    font-size: 22px; /* texto maior */
    letter-spacing: -0.6px;
    color: #111827;
}

.brand-icon {
    font-size: 22px;
    color: #2563eb;
}

.brand-text {
    font-size: 12px;
    letter-spacing: 1.5px;
}

.navbar-premium .nav-link {
    font-weight: 500;
    color: #1f2937;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .25s ease;
}

.navbar-premium .nav-link:hover {
    background: rgba(37,99,235,.08);
    color: #2563eb;
}

.navbar-premium .nav-link.active {
    color: #2563eb;
    font-weight: 600;
}

.dropdown-premium {
    border: none;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.dropdown-premium .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-premium .dropdown-item i {
    color: #2563eb;
}

.dropdown-premium .dropdown-item:hover {
    background: rgba(37,99,235,.1);
    color: #2563eb;
}

.btn-announce {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37,99,235,.35);
    transition: all .25s ease;
}

.btn-announce:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #fff;
}















/* HERO / BANNER PREMIUM */
.carousel-premium {
    position: relative;
    width: 100%;
}

.banner-slide {
    width: 100%;
    height: 80vh;
    min-height: 520px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;

    background-color: #0b0f1a;
}

/* Indicators retangulares */
.carousel-indicators-premium {
    bottom: 28px;
}

.carousel-indicators-premium button {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,.65);
    border: none;
    margin: 0 6px;
    transition: all .3s ease;
}

.carousel-indicators-premium button.active {
    background-color: #3b82f6;
}

/* Remove setas */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

/* =========================
   RESPONSIVIDADE REAL
   ========================= */

/* Tablets */
@media (max-width: 991px) {
    .banner-slide {
        height: 65vh;
        min-height: 420px;
        background-position: top center;
    }
}

@media (max-width: 576px) {
    .banner-slide {
        height: 50vh;
        min-height: 300px;
        background-position: top center;
    }
}

/* Wrapper acompanha a imagem */
.banner-img-wrapper {
    width: 100%;
    display: block;
    background: transparent; /* nada de fundo forçado */
}

/* Imagem manda na altura */
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop: limita só se quiser */
@media (min-width: 992px) {
    .banner-img {
        max-height: 85vh;
        object-fit: contain;
    }
}
















/* SEARCH PREMIUM */
.search-premium {
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #f9fafb 100%
    );
    padding: 90px 0 80px;
    border-top: 1px solid #e5e7eb;
}
/* Header */
.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-header h3 {
    font-weight: 700;
    font-size: 28px;
}

.search-header p {
    color: #6b7280;
    margin-top: 6px;
}

/* Grid */
.search-grid {
    background: #fff;
    border-radius: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
        box-shadow:
        0 6px 14px rgba(0,0,0,.06),
        0 2px 6px rgba(0,0,0,.04);
}

/* Campos */
.search-form label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    margin: 14px 16px 6px;
}

.search-form .form-select {
    border: 0;
    border-radius: 0;
    padding: 14px 16px 18px;
    font-weight: 500;
}

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

/* Divisores */
.search-grid > div:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

/* Botão */
.search-action {
    display: flex;
    align-items: flex-end;
}

.btn-search {
    width: 100%;
    height: 64px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    letter-spacing: .03em;
}

/* Avançados */
.search-advanced {
    text-align: center;
    margin-top: 18px;
}

.search-advanced a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    .search-grid {
        border: 0;
    }

    .search-grid > div {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .btn-search {
        height: 56px;
    }
}

.search-header h3 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.search-header p {
    font-size: 16px;
    color: #6b7280;
    margin-top: 10px;
}
.search-form .form-select {
    transition: all .25s ease;
    cursor: pointer;
}

.search-form .form-select:hover {
    background-color: #f9fafb;
}

.search-form .form-select:focus {
    background-color: #fff;
    border-bottom: 2px solid #2563eb;
}

.sticky-search {
    position: sticky;
    top: 72px; /* altura real da navbar */
    z-index: 90;
    background: #f9fafb;
    transition: all .3s ease;
}

/* Compacta */
.sticky-search.compact {
    padding: 12px 0 14px;
}

.sticky-search.compact .search-header {
    display: none;
}

.sticky-search.compact .btn-search {
    height: 48px;
}
/* Sombra suave para destacar a busca */





@media (max-width: 768px) {

    /* Título menor */
    .search-header h3 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    /* Card mais baixo */
    .search-grid {
        box-shadow:
            0 8px 18px rgba(0,0,0,.08);
    }

    /* Labels menores */
    .search-form label {
        font-size: 10px;
        margin: 10px 14px 4px;
    }

    /* Selects mais baixos */
    .search-form .form-select {
        padding: 10px 14px 12px;
        font-size: 14px;
    }

    /* Botão compacto */
    .btn-search {
        height: 44px;
        font-size: 14px;
    }

    /* Sticky menor */
    .sticky-search.compact {
        padding: 10px 0 12px;
    }
}
/* Mobile: desativa sticky da busca */
@media (max-width: 768px) {
    .sticky-search {
        position: relative;
        top: auto;
    }
}
@media (max-width: 768px) {
    .sticky-search.compact {
        padding: 0;
    }
}

/* DESKTOP: busca bem mais compacta */
@media (min-width: 992px) {

    /* Seção mais baixa */
    .search-premium {
        padding: 40px 0 45px;
    }

    /* Título mais enxuto */
    .search-header h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* Labels mais compactos */
    .search-form label {
        font-size: 11px;
        margin: 10px 14px 4px;
    }

    /* Campos mais baixos */
    .search-form .form-select {
        padding: 10px 14px 12px;
        font-size: 14px;
    }

    /* Botão menor */
    .btn-search {
        height: 46px;
        font-size: 14px;
    }

    /* Sombra mais discreta */
    .search-grid {
        box-shadow:
            0 4px 10px rgba(0,0,0,.06),
            0 2px 4px rgba(0,0,0,.04);
    }
}
















/* FEATURED – VITRINE CLARA PREMIUM */
.featured-vitrine {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

/* Header */
.vitrine-header {
    max-width: 640px;
    margin-bottom: 50px;
}

.vitrine-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 12px;
}

/* Título */
.vitrine-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

/* Descrição */
.vitrine-header p {
    margin-top: 14px;
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
}

/* CTA */
.vitrine-cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.vitrine-cta:hover {
    color: #1e40af;
}

/* Cards layout */
.vitrine-cards {
    margin-top: 20px;
}

/* Cards flutuantes */
.featured-vitrine .card {
    border-radius: 18px;
    border: none;
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.08),
        0 6px 14px rgba(15, 23, 42, 0.05);
    transition: all .3s ease;
}

.featured-vitrine .card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        0 10px 22px rgba(15, 23, 42, 0.08);
}

/* Mobile */
@media (max-width: 768px) {
    .featured-vitrine {
        padding: 70px 0;
    }

    .vitrine-header h2 {
        font-size: 26px;
    }

    .vitrine-header p {
        font-size: 15px;
    }
}










.vehicle-card-premium {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: all .35s ease;
}

.vehicle-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,.15);
}

/* IMAGEM */
.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.vehicle-card-premium:hover img {
    transform: scale(1.12);
}

/* BADGES */
.vehicle-image .badge {
    position: absolute;
    top: 14px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
}

.badge-destaque {
    right: 14px;
    background: #facc15;
    color: #000;
}

.badge-plano {
    left: 14px;
    background: #2563eb;
    color: #fff;
}

/* CONTEÚDO */
.vehicle-content {
    padding: 18px 20px;
}

.vehicle-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.vehicle-title a {
    text-decoration: none;
    color: #0f172a;
}

.vehicle-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.vehicle-location {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

/* PREÇO */
.vehicle-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.vehicle-price {
    font-size: 22px;
    font-weight: 900;
    color: #2563eb;
}

.vehicle-trade {
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

/* AÇÕES */
.vehicle-actions {
    display: flex;
    gap: 10px;
}

.btn-details {
    flex: 1;
    background: #2563eb;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.btn-details:hover {
    background: #1e40af;
}

.btn-whatsapp {
    width: 42px;
    background: #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

/* FOOTER */
.vehicle-footer {
    padding: 10px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}

/* MOBILE */
@media (max-width: 768px) {
    .vehicle-image {
        height: 200px;
    }
}

















/* SEÇÃO */
.section-destaques {
    background: #E8ECF0;
    padding: 80px 0;
}

/* HEADER */
.destaques-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.destaques-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 6px;
}

.destaques-title {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.destaques-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: #64748b;
    max-width: 520px;
}

/* BOTÃO */
.btn-destaques {
    background: #0f172a;
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}

.btn-destaques:hover {
    background: #020617;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .section-destaques {
        padding: 60px 0;
    }

    .destaques-title {
        font-size: 26px;
    }

    .btn-destaques {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}















































































/* Destaque para o login dentro do menu mobile */
.color-gold {
    color: #cfa144 !important;
    font-weight: bold;
}

/* Remove qualquer resquício de rolagem que o topo oculto pudesse deixar */
@media (max-width: 991px) {
    .top-bar-premium {
        display: none !important;
    }
}




.top-bar-premium {
    background-color: #0f1115;
    color: #e0e0e0;
    padding: 8px 0; /* Um pouco mais fino para ganhar espaço no mobile */
    font-size: 11px; /* Fonte levemente menor para caber tudo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-premium a {
    color: #e0e0e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.top-bar-premium i {
    color: #cfa144; /* Dourado nos ícones para destacar no fundo escuro */
    margin-right: 5px;
}

/* Divisória vertical ajustada */
.top-bar-premium .divider {
    width: 1px;
    height: 10px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px;
    display: inline-block;
}

/* Garante que o texto do usuário não quebre a linha no mobile */
.user-link {
    max-width: 120px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-link {
    margin-left: 10px;
    color: #ff4d4d !important;
}

/* Toque de luxo: brilho suave no hover */
.top-bar-premium a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(207, 161, 68, 0.4);
}












/* ==========================================================================
   1. ESTRUTURA E SOMBRA
   ========================================================================== */
.navbar-clean-miz {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra suave */
    border-bottom: 1px solid #f1f1f1;
}

/* ==========================================================================
   2. BOTÕES (ENTRAR E ANUNCIAR)
   ========================================================================== */
/* Botão Entrar (Outline) */
.btn-outline-dark.rounded-pill {
    border-color: #ddd;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 15px;
    transition: all 0.2s;
}
.btn-outline-dark.rounded-pill:hover {
    background-color: #f8f9fa;
    border-color: #333;
    color: #000;
}

/* Botão Anunciar (Azul Minimalista) */
.btn-anunciar-blue {
    background-color: #0056b3;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}
.btn-anunciar-blue:hover {
    background-color: #004085;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
}

/* ==========================================================================
   3. HAMBÚRGUER ANIMADO (CORRIGIDO)
   ========================================================================== */
.hamburger-icon {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Estado Aberto (Quando NÃO tem a classe .collapsed) */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   4. LINKS E MENU MOBILE
   ========================================================================== */
.navbar-clean-miz .nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333 !important;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-top: 1px solid #f1f1f1;
        margin-top: 10px;
    }
}


/* --- ESTILO DESKTOP (Tarja Azul Fina) --- */
.mega-menu-bar {
    background-color: #004a99 !important; /* !important para garantir que não fique branco */
    top: 100%;
    left: 0;
    border-radius: 0 !important;
    min-height: 50px;
    display: none; /* Bootstrap controla o show/hide */
}

/* Quando o menu abre */
.mega-menu-bar.show {
    display: block !important;
    animation: fadeInSlide 0.4s ease forwards;
}

.mega-menu-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0 30px;
    height: 50px;
    transition: background 0.3s;
}

.mega-menu-item i { font-size: 0.9rem; margin-right: 10px; }
.mega-menu-item span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.v-divider {
    height: 20px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- ESTILO MOBILE (Largura Total e Empilhado) --- */
@media (max-width: 991.98px) {
    .mega-menu-bar {
        position: absolute !important;
        width: 100vw !important; /* Pega a largura real da tela */
        left: 0 !important;
        background-color: #004a99 !important;
    }

    .mega-menu-flex-container {
        flex-direction: column;
        width: 100%;
    }

    .mega-menu-item {
        width: 100% !important; /* Cada link ocupa 100% da largura */
        justify-content: flex-start; /* Alinha texto à esquerda para leitura mobile */
        padding: 0 25px;
        height: 55px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-menu-item i {
        width: 25px; /* Espaço fixo para os ícones ficarem alinhados */
    }
}

/* Animação Suave */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
































/* Container Principal */
.full-width-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-fluid-img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* --- BOLINHAS INTERNAS --- */
.custom-dots-inside {
    bottom: 60px !important; /* Subimos de 20px para 60px para fugir da busca */
    transition: all 0.3s ease;
}

.custom-dots-inside button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important; /* Branco translúcido */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.custom-dots-inside button.active {
    background-color: #004a99 !important; /* Seu Azul */
    width: 25px !important; /* Formato Pílula */
    border-radius: 10px !important;
    opacity: 1 !important;
}

/* --- SETAS INTERNAS --- */
.custom-arrow-inside {
    width: 60px; /* Área de clique maior */
    opacity: 0; /* Escondidas por padrão */
    transition: all 0.3s ease;
    z-index: 20;
}

.full-width-banner:hover .custom-arrow-inside {
    opacity: 1; /* Aparecem no hover */
}

/* Círculo de fundo das setas para contraste */
.arrow-bg {
    background-color: rgba(255, 255, 255, 0.7);
    color: #004a99;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.arrow-bg:hover {
    background-color: #ffffff;
    color: #003366;
}

/* Ajustes Mobile */
@media (max-width: 768px) {
    .custom-arrow-inside {
        display: none; /* Remove setas no mobile para não poluir */
    }
    .custom-dots-inside {
        bottom: 10px !important;
    }
}




















/* ==========================================================================
   2. BUSCA FLUTUANTE (POSIÇÃO E CORES)
   ========================================================================== */
.search-floating-pill {
    position: relative;
    z-index: 100;
    /* Ajuste para descer um pouco mais: de -45px para -35px */
    margin-top: -35px; 
}

.search-box-pill {
    background: #ffffff;
    padding: 8px;
    border-radius: 100px;
    /* Sombra mais elegante e suave */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Botão Pesquisar (Azul Minimalista) */
.btn-pill-search {
    width: 100%;
    background-color: #004a99; /* Azul Restaurado */
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 74, 153, 0.2);
}

.btn-pill-search:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 74, 153, 0.3);
}

/* ==========================================================================
   3. ELEMENTOS INTERNOS DA BUSCA
   ========================================================================== */
.input-container-pill {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.icon-pill {
    color: #004a99; /* Ícones em azul para combinar com o botão */
    font-size: 0.85rem;
    margin-right: 12px;
}

.form-select-pill {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    outline: none;
}

.border-end-divider {
    border-right: 1px solid #f0f0f0;
}

/* AJUSTE PARA MOBILE */
@media (max-width: 991.98px) {
    .search-floating-pill {
        margin-top: 20px; /* No mobile ele desce para não sobrepor nada */
    }
    .search-box-pill {
        border-radius: 20px;
    }
    .custom-dots-inside {
        bottom: 20px !important; /* Volta para baixo no mobile */
    }
}






















/* 1. Fundo Cinza e Encaixe */
.featured-vehicles-section {
    background-color: #DFE2E3; /* Cinza mais presente como pedido */
    margin-top: -33px; /* Sobe para encaixar sob a busca */
    padding-top: 90px; /* Respiro para não bater na busca */
    padding-bottom: 60px;
    overflow: hidden; /* Garante que nada saia da largura da página */
}

/* 2. O Segredo do Carrossel: Sombra sem "estragar" as laterais */
.swiper-container-wrapper {
    position: relative;
    padding: 0 10px; /* Um pequeno respiro lateral */
}

.featuredSlider {
    /* Permitimos que a sombra respire, mas limitamos a área de visão */
    overflow: visible !important; 
    /* O clip-path abaixo diz: "Mostre 100px para cima e para baixo (sombras), 
       mas corte exatamente nos 0 das laterais" */
    clip-path: inset(-100px 0px -100px 0px);
}

/* 3. Respiro interno para a sombra do CARD */
.card-shadow-wrapper {
    padding: 15px 10px 35px 10px; /* Espaço para a sombra brilhar */
}

/* 4. Botão Ver Todos (Azul e Estiloso) */
.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    border: 2px solid #004a99;
    color: #004a99;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-pill-outline:hover {
    background-color: #004a99;
    color: #fff;
    transform: scale(1.05);
}


/* Container das setas e bolinhas */
.nav-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

/* Estilo das Bolinhas (Pagination) */
.swiper-pagination-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important; /* Importante para não ocupar 100% e quebrar o flex */
    position: relative !important;
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    background: #004a99 !important; /* Azul que estamos usando */
    width: 22px !important; /* Efeito Pílula */
    border-radius: 10px !important;
}

/* Estilo das Setinhas */
.swiper-prev-custom, 
.swiper-next-custom {
    background: none;
    border: none;
    color: #004a99;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.swiper-prev-custom:hover, 
.swiper-next-custom:hover {
    transform: scale(1.2);
    color: #003366;
}

/* Garante que o slider não corte a sombra agora que tem navegação embaixo */
.featuredSlider {
    overflow: visible !important;
    clip-path: inset(-100px 0px -150px 0px); /* Aumentei o corte inferior para a navegação */
    padding-bottom: 20px;
}


























/* Card Container */
.vehicle-card-ultra {
    border: none !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.vehicle-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Galeria Interna */
.ultra-image-box {
    position: relative;
    height: 210px;
    background: #f0f0f0;
}

.miniGallery { width: 100%; height: 100%; }
.miniGallery img { width: 100%; height: 100%; object-fit: cover; }

.mini-swiper-button-next, .mini-swiper-button-prev {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 30px; height: 30px; background: rgba(255,255,255,0.9);
    border-radius: 50%; color: #004a99; font-size: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: 0.3s;
}

.ultra-image-box:hover .mini-swiper-button-next, 
.ultra-image-box:hover .mini-swiper-button-prev { opacity: 1; }
.mini-swiper-button-next { right: 8px; }
.mini-swiper-button-prev { left: 8px; }

/* Badges */
.ultra-badges-overlay {
    position: absolute; top: 12px; left: 12px; z-index: 5;
    display: flex; flex-direction: column; gap: 5px;
}
.u-badge {
    padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; 
    font-weight: 800; color: #fff; text-transform: uppercase;
}
.u-destaque { background: #ffc107; color: #000; }
.u-plano { background: #004a99; }

/* Conteúdo */
.ultra-content { padding: 20px; }
.ultra-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; height: 2.4em; overflow: hidden; }
.ultra-title a { color: #333; text-decoration: none; transition: color 0.3s; }
.ultra-title a:hover { color: #004a99; }

.ultra-specs { display: flex; gap: 15px; margin-bottom: 10px; font-size: 0.85rem; color: #666; }
.ultra-location { font-size: 0.8rem; color: #888; margin-bottom: 15px; }

.ultra-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.u-price { font-size: 1.35rem; font-weight: 800; color: #004a99; }
.u-trade-badge { font-size: 0.75rem; color: #28a745; font-weight: 700; }

/* Botões */
.ultra-actions { display: flex; gap: 8px; }
.u-btn-details {
    flex: 1; background: #004a99; color: #fff; border-radius: 10px;
    padding: 10px; text-align: center; text-decoration: none; font-weight: 700; font-size: 0.85rem;
    transition: background 0.3s;
}
.u-btn-details:hover { background: #003366; color: #fff; }

.u-btn-wpp {
    width: 45px; background: #25d366; color: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; 
    text-decoration: none; font-size: 1.2rem; transition: transform 0.3s;
}
.u-btn-wpp:hover { transform: scale(1.05); color: #fff; }

/* Footer */
.ultra-footer {
    background: #fafafa; padding: 12px 20px; border-top: 1px solid #eee;
    display: flex; justify-content: space-between; font-size: 0.75rem; color: #999;
}









