:root {
    --voiture-sand: #f7f3eb;
    --voiture-ink: #13212f;
    --voiture-accent: #d46a2f;
    --voiture-accent-dark: #a44a18;
    --voiture-steel: #587086;
    --voiture-card: #ffffff;
    --market-navy: #0d1f33;
    --market-slate: #1f3650;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #f9fafc 0%, #f1f4f8 100%);
    color: var(--voiture-ink);
}

.floating-whatsapp {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 52px;
    padding: 0 1rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(7, 94, 84, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.floating-whatsapp:hover {
    background: #1fb85a;
    color: #fff;
}

.carros-hero {
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 210, 87, 0.22), transparent 28%),
        linear-gradient(132deg, #0b1b2c 5%, #17324b 60%, #264766 100%);
    border-radius: 1.35rem;
    color: #fff;
    padding: 2.4rem;
    box-shadow: 0 22px 45px rgba(10, 26, 43, 0.28);
}

.carros-overline {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.carros-inline-search .form-control,
.carros-inline-search .form-select {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.96);
}

.carros-hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.carros-hero-stats li {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.45rem;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(19, 33, 47, 0.12);
    text-decoration: none;
    color: var(--voiture-ink);
    font-size: 0.9rem;
}

.brand-pill:hover {
    color: #fff;
    background: var(--market-navy);
    border-color: var(--market-navy);
}

.filter-panel {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(18, 36, 55, 0.08);
    top: 82px;
}

.results-panel {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(18, 36, 55, 0.08);
}

.listing-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.85rem;
    background: #f9fbfd;
    border: 1px solid rgba(19, 33, 47, 0.08);
    border-radius: 0.95rem;
    padding: 0.72rem;
    height: 100%;
}

.listing-card img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    border-radius: 0.72rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-disponible {
    background: rgba(25, 135, 84, 0.14);
    color: #14532d;
}

.status-reserve {
    background: rgba(255, 193, 7, 0.18);
    color: #7a5800;
}

.status-vendu {
    background: rgba(220, 53, 69, 0.12);
    color: #7f1d1d;
}

.market-hero {
    background:
        radial-gradient(circle at top right, rgba(212, 106, 47, 0.22), transparent 25%),
        linear-gradient(135deg, #102030 0%, #1d3244 55%, #2e4a61 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    color: #fff;
}

.market-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: .5rem .95rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.market-hero-copy .lead {
    color: rgba(255, 255, 255, 0.78) !important;
}

.market-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.market-stat strong,
.market-stat span {
    display: block;
}

.market-stat strong {
    font-size: 1.7rem;
    font-weight: 800;
}

.market-stat span {
    color: rgba(255, 255, 255, 0.76);
    font-size: .92rem;
}

.market-search-card {
    background: #fff;
    color: var(--voiture-ink);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(16, 32, 48, 0.18);
}

.market-strip {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 16px 35px rgba(31, 44, 57, 0.06);
}

.market-chip {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(19, 33, 47, 0.08);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--voiture-ink);
    background: linear-gradient(180deg, #ffffff, #f8fafb);
}

.market-chip:hover {
    border-color: rgba(212, 106, 47, 0.5);
    color: var(--voiture-accent-dark);
}

.market-chip small {
    color: var(--voiture-steel);
}

.market-info-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 18px 35px rgba(31, 44, 57, 0.06);
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(212, 106, 47, 0.24), transparent 28%),
        linear-gradient(135deg, #0e1b28, #23384b 58%, #37526b 100%);
    color: #fff;
    border-radius: 1.5rem;
    padding: 3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 20px 45px rgba(19, 33, 47, 0.08);
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
}

.car-card {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(31, 44, 57, 0.08);
}

.car-card img {
    height: 220px;
    object-fit: cover;
}

.badge-soft {
    background: rgba(212, 106, 47, 0.12);
    color: var(--voiture-accent-dark);
}

.market-cities {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 18px 35px rgba(31, 44, 57, 0.06);
}

.city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.city-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--voiture-ink);
    background: #f4f7f9;
    border: 1px solid rgba(19, 33, 47, 0.06);
}

.city-link:hover {
    background: var(--voiture-ink);
    color: #fff;
}

.newsletter-block {
    background: linear-gradient(135deg, #13212f, #253d52);
    border-radius: 1.5rem;
    padding: 2.25rem;
}

.admin-shell {
    min-height: 100vh;
    background: #f4f6f8;
}

.sidebar {
    background: #13212f;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: .75rem;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.thumb-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: .75rem;
}

@media (max-width: 1199.98px) {
    .listing-card {
        grid-template-columns: 115px 1fr;
    }
}

@media (max-width: 991.98px) {
    .carros-hero {
        padding: 1.6rem;
    }

    .listing-card {
        grid-template-columns: 1fr;
    }

    .listing-card img {
        min-height: 190px;
        max-height: 190px;
    }

    .filter-panel {
        position: static !important;
    }

    .market-hero {
        padding: 2rem;
    }

    .floating-whatsapp {
        right: 0.8rem;
        bottom: 0.8rem;
        min-width: 120px;
        height: 48px;
        font-size: 0.9rem;
    }
}
