﻿/* =========================================================
   G2L AUTOS - PROFESSIONAL AUTO DEALER DESIGN
   Version corrigée et stabilisée - site.css
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-soft: #eff6ff;
    --dark: #0f172a;
    --dark-2: #172033;
    --dark-3: #1f2937;
    --text: #111827;
    --muted: #64748b;
    --border: #e5e7eb;
    --surface: #ffffff;
    --bg: #f5f7fb;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 16px 38px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
}

/* =========================================================
   BASE
   ========================================================= */

html {
    font-size: 16px;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

main,
.site-main {
    flex: 1 0 auto;
    width: 100%;
}

.container {
    max-width: 1280px;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-muted {
    color: var(--muted) !important;
}

.bg-light {
    background: var(--bg) !important;
}

.bg-dark {
    background: var(--dark) !important;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.site-header {
    flex-shrink: 0;
    background: #ffffff;
}

.site-navbar {
    min-height: 78px;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-logo,
.navbar-brand {
    color: var(--dark) !important;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.main-nav,
.navbar-nav {
    align-items: center;
    gap: 0.15rem;
}

    .main-nav .nav-link,
    .navbar-nav .nav-link {
        color: var(--text) !important;
        font-size: 0.92rem;
        font-weight: 750;
        padding: 0.5rem 0.7rem !important;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

        .main-nav .nav-link:hover,
        .navbar-nav .nav-link:hover {
            background: #f1f5f9;
            color: var(--primary) !important;
        }

.navbar-actions {
    flex-shrink: 0;
}

.btn-call {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: #ffffff;
    border-radius: 12px;
    padding: 0.62rem 1rem;
    font-weight: 850;
    font-size: 0.9rem;
    white-space: nowrap;
}

    .btn-call:hover {
        background: var(--dark);
        color: #ffffff;
    }

.navbar-toggler {
    border: 1px solid var(--border);
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
    }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 12px;
    font-weight: 800;
    padding: 0.72rem 1.25rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.9rem 1.55rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(29, 78, 216, 0.25);
    }

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: #ffffff;
}

    .btn-dark:hover {
        background: #020617;
        border-color: #020617;
        color: #ffffff;
    }

.btn-outline-dark {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
}

    .btn-outline-dark:hover {
        background: var(--dark);
        color: #ffffff;
    }

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.82);
    color: #ffffff;
    background: transparent;
}

    .btn-outline-light:hover {
        background: #ffffff;
        color: var(--dark);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 12px;
    padding: 0.9rem 1.55rem;
    font-weight: 900;
    transition: all 0.2s ease;
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.24);
        border-color: rgba(255, 255, 255, 0.5);
        color: #ffffff;
    }

/* =========================================================
   HOME HERO WITH SEARCH
   ========================================================= */

.hero-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.34) 100% ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
}

.search-section {
    max-width: 930px;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 0.9rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2.3rem;
    max-width: 720px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   SEARCH FORM HOME
   ========================================================= */

.search-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.8rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

    .search-field label {
        font-size: 0.82rem;
        font-weight: 800;
        color: #64748b;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

.search-input,
.search-select {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s ease;
}

    .search-input::placeholder {
        color: #cbd5e1;
    }

    .search-input:focus,
    .search-select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    }

.btn-search {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-search:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
    }

.quick-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 700;
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

    .filter-btn:hover {
        background: rgba(255, 255, 255, 0.24);
        color: #ffffff;
        transform: translateY(-2px);
    }

/* =========================================================
   SECTION HEADERS
   ========================================================= */

.section-title {
    color: var(--dark);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 48px;
}

.section-title-group {
    flex: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary);
    font-weight: 900;
    white-space: nowrap;
    transition: all 0.2s ease;
}

    .link-arrow:hover {
        color: var(--primary-dark);
        gap: 1.1rem;
    }

/* =========================================================
   FEATURED VEHICLES HOME
   ========================================================= */

.featured-section {
    padding: 86px 0;
    background: #ffffff;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
    gap: 28px;
    justify-content: flex-start;
}

.featured-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

    .featured-card:hover {
        border-color: #cbd5e1;
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

.featured-image-container {
    position: relative;
    height: 240px;
    background: #ffffff;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: #ffffff;
    transition: transform 0.25s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--success);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.featured-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.featured-content {
    padding: 22px;
}

.featured-name {
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.featured-price {
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.featured-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 0.55rem;
}

    .spec-item:last-child {
        border-bottom: none;
    }

.spec-label {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spec-value {
    color: var(--dark);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: right;
}

.featured-btn {
    display: block;
    width: 100%;
    background: var(--dark);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

    .featured-btn:hover {
        background: var(--primary-dark);
        color: #ffffff;
    }

/* =========================================================
   SERVICES HOME
   ========================================================= */

.services-section {
    padding: 86px 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    text-align: center;
}

    .service-item:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

.service-icon {
    margin-bottom: 1.25rem;
}

.service-item h3 {
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--muted);
    line-height: 1.75;
}

/* =========================================================
   WHY SECTION HOME
   ========================================================= */

.why-section {
    padding: 86px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-content {
    max-width: 650px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.why-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.why-number {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: var(--success);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1rem;
}

.why-item h4 {
    color: var(--dark);
    font-size: 1.06rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.why-item p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.why-image-box {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 22px;
    min-height: 330px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* =========================================================
   CTA FINAL HOME
   ========================================================= */

.cta-final-section {
    padding: 82px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.cta-final-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta-final-content {
    max-width: 650px;
}

    .cta-final-content h2 {
        color: #ffffff;
        font-size: clamp(1.9rem, 3vw, 2.8rem);
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .cta-final-content p {
        color: rgba(255, 255, 255, 0.84);
        font-size: 1.05rem;
        line-height: 1.75;
    }

.cta-final-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================================
   INNER PAGE HERO
   ========================================================= */

.page-hero {
    background: var(--dark-2);
    color: #ffffff;
    padding: 72px 0;
}

    .page-hero h1 {
        color: #ffffff;
        font-size: clamp(2.1rem, 4vw, 3.4rem);
        font-weight: 900;
        margin-bottom: 0.75rem;
    }

    .page-hero p {
        color: rgba(255, 255, 255, 0.82);
        font-size: 1.05rem;
    }

/* =========================================================
   FORMS / CARDS GENERAL
   ========================================================= */

.form-card,
.info-card,
.admin-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.form-label {
    color: var(--text);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font-size: 0.95rem;
    color: var(--text);
    background: #ffffff;
    box-shadow: none !important;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.22rem rgba(29, 78, 216, 0.13) !important;
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-weight: 650;
}

.alert-info {
    background: #eff6ff;
    color: #1e3a8a;
    border-left: 4px solid var(--primary);
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: #fef2f2;
    color: #7f1d1d;
    border-left: 4px solid var(--danger);
}

/* =========================================================
   BOOTSTRAP CARD COMPATIBILITY
   ========================================================= */

.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

    .card:hover {
        box-shadow: var(--shadow-md);
    }

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--dark);
    font-weight: 900;
}

.card-price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
}

/* =========================================================
   INVENTORY / VEHICLE CARDS GENERAL
   ========================================================= */

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
    gap: 28px;
    justify-content: flex-start;
}

.vehicle-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

    .vehicle-card:hover {
        border-color: #cbd5e1;
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

.vehicle-image-wrapper {
    position: relative;
    height: 240px;
    background: #ffffff;
    overflow: hidden;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: #ffffff;
}

.vehicle-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--success);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vehicle-body {
    padding: 22px;
}

    .vehicle-body h3 {
        color: var(--dark);
        font-size: 1.15rem;
        font-weight: 900;
        margin-bottom: 0.75rem;
    }

.vehicle-price {
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.vehicle-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

/* =========================================================
   VEHICLE DETAILS
   ========================================================= */

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 1.5rem 0;
}

    .vehicle-specs .spec-item {
        display: block;
        background: #f8fafc;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 16px;
    }

    .vehicle-specs .spec-label {
        display: block;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.35rem;
    }

    .vehicle-specs .spec-value {
        display: block;
        color: var(--dark);
        font-size: 1rem;
        font-weight: 850;
        text-align: left;
    }

/* =========================================================
   TABLES / ADMIN
   ========================================================= */

.table-responsive {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    background: #ffffff;
}

    .table thead th {
        background: #f8fafc;
        color: var(--text);
        font-weight: 850;
        font-size: 0.84rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        border-bottom: 2px solid var(--border);
        padding: 1rem;
    }

    .table tbody td {
        vertical-align: middle;
        color: #475569;
        padding: 1rem;
        border-color: var(--border);
    }

.badge {
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-weight: 850;
}

.bg-success {
    background: var(--success) !important;
}

.bg-danger {
    background: var(--danger) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-secondary {
    background: #64748b !important;
}

.bg-warning {
    background: var(--warning) !important;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    background: #f5f7fb;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 48px 32px;
    text-align: center;
}

    .empty-state h3 {
        color: var(--text);
        margin-bottom: 0.75rem;
    }

    .empty-state p {
        color: var(--muted);
        font-size: 1rem;
    }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    flex-shrink: 0;
    background: #0f172a !important;
    color: rgba(255, 255, 255, 0.76);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 48px !important;
    align-items: start;
}

.footer-column h5,
.site-footer h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-column p,
.site-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.55rem;
    line-height: 1.7;
}

.footer-column a,
.site-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

    .footer-column a:hover,
    .site-footer a:hover {
        color: #ffffff;
    }

.footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

    .footer-links li {
        margin-bottom: 0.7rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.78);
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #ffffff;
        }

.footer-bottom {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.68);
        margin: 0;
        font-size: 0.9rem;
    }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cta-final-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .site-navbar {
        min-height: auto;
    }

    .navbar-nav,
    .main-nav {
        align-items: flex-start;
        padding-top: 1rem;
    }

    .navbar-actions {
        padding-top: 1rem;
        align-items: stretch !important;
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .vehicle-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .featured-card,
    .vehicle-card {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .search-form {
        padding: 20px;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-filters {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-btn {
        flex: 1;
        text-align: center;
    }

    .featured-section,
    .services-section,
    .why-section,
    .cta-final-section {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .featured-grid,
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .featured-image-container,
    .vehicle-image-wrapper {
        height: 220px;
    }

    .featured-specs {
        grid-template-columns: 1fr;
    }

    .vehicle-specs {
        grid-template-columns: 1fr;
    }

    .cta-final-actions {
        width: 100%;
        flex-direction: column;
    }

        .cta-final-actions .btn,
        .cta-final-actions .btn-secondary {
            width: 100%;
            text-align: center;
        }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
/* =========================================================
   ADMIN CREATE VEHICLE - PROFESSIONAL FORM
   ========================================================= */

.vehicle-create-page {
    padding: 72px 0 90px;
    background: #f5f7fb;
}

.vehicle-form-shell {
    width: 100%;
}

.vehicle-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
}

.form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #eef2f7;
}

.form-section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.form-section-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.form-section-header p {
    color: #64748b;
    margin: 0;
}

.form-control-lg {
    min-height: 56px;
}

.form-control,
.form-select {
    border: 1px solid #d6dbe4;
    border-radius: 14px;
    padding: 0.82rem 1rem;
    font-size: 0.96rem;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s ease;
}

    .form-control::placeholder,
    .form-select::placeholder {
        color: #94a3b8;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #1d4ed8;
        box-shadow: 0 0 0 0.22rem rgba(29, 78, 216, 0.12) !important;
    }

.form-label {
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.form-help {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    color: #64748b;
}

.vehicle-description {
    min-height: 220px;
    resize: vertical;
}

.description-tips {
    margin-top: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 18px 16px;
}

    .description-tips h6 {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        font-weight: 900;
        color: #0f172a;
    }

    .description-tips ul {
        margin: 0;
        padding-left: 1.2rem;
        color: #475569;
    }

    .description-tips li + li {
        margin-top: 0.45rem;
    }

.upload-zone {
    background: linear-gradient(180deg, #fbfcfe 0%, #f8fafc 100%);
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 22px;
}

.upload-meta {
    margin-top: 0.9rem;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 1.25rem;
}

.preview-thumb {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

    .preview-thumb img {
        width: 100%;
        height: 110px;
        object-fit: cover;
        display: block;
    }

    .preview-thumb span {
        display: block;
        padding: 10px 12px;
        font-size: 0.82rem;
        color: #475569;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.vehicle-form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.vehicle-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vehicle-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.summary-top {
    margin-bottom: 1.2rem;
}

.summary-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.vehicle-summary-card h3,
.vehicle-summary-card h4 {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.vehicle-summary-card p {
    color: #64748b;
    margin: 0;
}

.completion-box {
    margin-bottom: 1.35rem;
}

.completion-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.65rem;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.92rem;
}

.completion-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.summary-list {
    display: grid;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 11px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.95rem;
}

    .summary-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .summary-item span {
        color: #64748b;
    }

    .summary-item strong {
        color: #0f172a;
        font-weight: 850;
        text-align: right;
    }

.admin-checklist {
    margin: 0;
    padding-left: 1.2rem;
    color: #475569;
}

    .admin-checklist li + li {
        margin-top: 0.65rem;
    }

@media (max-width: 1199px) {
    .vehicle-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .vehicle-create-page {
        padding: 56px 0 70px;
    }

    .vehicle-form-card,
    .vehicle-summary-card {
        padding: 22px;
        border-radius: 18px;
    }

    .form-section-header h2 {
        font-size: 1.2rem;
    }

    .vehicle-form-actions {
        flex-direction: column;
    }

        .vehicle-form-actions .btn {
            width: 100%;
        }
}
/* =========================================================
   ADMIN VEHICLES PAGE
   ========================================================= */

.admin-vehicles-page {
    padding: 70px 0 90px;
    background: var(--bg);
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 34px;
}

    .admin-page-header h1 {
        color: var(--dark);
        font-size: clamp(2rem, 3vw, 3.2rem);
        font-weight: 900;
        margin-bottom: 0.6rem;
    }

    .admin-page-header p {
        color: var(--muted);
        font-size: 1.05rem;
        max-width: 720px;
    }

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

    .admin-stat-card span {
        display: block;
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.5rem;
    }

    .admin-stat-card strong {
        display: block;
        color: var(--primary);
        font-size: 2.2rem;
        font-weight: 900;
        line-height: 1;
    }

.admin-toolbar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 24px;
}

    .admin-toolbar-card h2 {
        color: var(--dark);
        font-size: 1.35rem;
        font-weight: 900;
        margin-bottom: 0.35rem;
    }

    .admin-toolbar-card p {
        color: var(--muted);
    }

.admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-table-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-vehicles-table thead th {
    background: #f8fafc;
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1.1rem 1rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.admin-vehicles-table tbody td {
    color: #475569;
    padding: 1rem;
    border-color: var(--border);
    vertical-align: middle;
}

.admin-vehicles-table tbody tr {
    transition: background 0.2s ease;
}

    .admin-vehicles-table tbody tr:hover {
        background: #f8fafc;
    }

.admin-car-thumb {
    width: 82px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f1f5f9;
}

    .admin-car-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.admin-car-title strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.admin-car-title span {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-price {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.status-available {
    background: #ecfdf5;
    color: #047857;
}

.status-reserved {
    background: #fffbeb;
    color: #b45309;
}

.status-sold {
    background: #fef2f2;
    color: #b91c1c;
}

.status-prep {
    background: #eff6ff;
    color: #1d4ed8;
}

.admin-row-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .admin-row-actions .btn {
        font-weight: 850;
        border-radius: 10px;
        padding: 0.5rem 0.8rem;
    }

.admin-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 60px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

    .admin-empty-state h3 {
        color: var(--dark);
        font-size: 1.7rem;
        font-weight: 900;
        margin-bottom: 0.7rem;
    }

    .admin-empty-state p {
        color: var(--muted);
        max-width: 600px;
        margin: 0 auto 1.7rem;
    }

/* Responsive admin vehicles */
@media (max-width: 991px) {
    .admin-page-header,
    .admin-toolbar-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .admin-vehicles-page {
        padding: 48px 0 70px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-toolbar-actions,
    .admin-toolbar-actions .btn,
    .admin-page-header .btn {
        width: 100%;
    }

        .admin-toolbar-actions .btn,
        .admin-page-header .btn {
            text-align: center;
        }

    .admin-row-actions {
        justify-content: flex-start;
    }
}
/* =========================================================
   ADMIN EDIT VEHICLE - PROFESSIONAL FORM + PHOTO MANAGEMENT
   ========================================================= */

.admin-edit-page {
    max-width: 1180px;
}

/* Header de la page Modifier */
.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

    .admin-page-header h1 {
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 900;
        color: var(--dark);
        margin-bottom: 0.4rem;
    }

    .admin-page-header p {
        color: var(--muted);
        font-size: 1.05rem;
    }

/* Grande carte du formulaire */
.admin-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: 42px;
}

/* Sections du formulaire */
.form-section {
    padding-bottom: 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--border);
}

    .form-section:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }

.form-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 24px;
}

    .form-section-title h2 {
        font-size: 1.35rem;
        font-weight: 900;
        color: var(--dark);
        margin-bottom: 0.35rem;
    }

    .form-section-title p {
        color: var(--muted);
        font-size: 0.95rem;
    }

/* Champs */
.admin-form-card .form-label {
    font-weight: 850;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.admin-form-card .form-control,
.admin-form-card .form-select {
    min-height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font-size: 0.95rem;
    color: var(--text);
    background: #ffffff;
    box-shadow: none !important;
}

    .admin-form-card .form-control:focus,
    .admin-form-card .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.22rem rgba(29, 78, 216, 0.13) !important;
    }

.admin-form-card textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

/* =========================================================
   Photos actuelles avec suppression
   ========================================================= */

.edit-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 18px;
}

.edit-photo-card {
    position: relative;
    display: block;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #f1f5f9;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .edit-photo-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .edit-photo-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.2s ease;
    }

.edit-photo-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    z-index: 3;
    cursor: pointer;
    accent-color: var(--danger);
}

/* Badge rouge Supprimer */
.edit-photo-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(220, 38, 38, 0.95);
    color: #ffffff;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.2s ease;
}

.edit-photo-card:hover .edit-photo-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Quand la photo est cochée */
.edit-photo-checkbox:checked + img {
    opacity: 0.45;
    filter: grayscale(1);
}

.edit-photo-checkbox:checked ~ .edit-photo-badge {
    opacity: 1;
    transform: translateY(0);
    background: rgba(220, 38, 38, 1);
}

/* Chrome / Edge : bordure rouge quand cochée */
.edit-photo-card:has(.edit-photo-checkbox:checked) {
    border-color: var(--danger);
}

/* =========================================================
   Upload nouvelles photos
   ========================================================= */

.upload-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 24px;
}

    .upload-box .form-control {
        background: #ffffff;
    }

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.upload-preview-img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

/* =========================================================
   Boutons bas de formulaire
   ========================================================= */

.admin-action-bar {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 991px) {
    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .admin-form-card {
        padding: 24px;
        border-radius: 18px;
    }

    .form-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .edit-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-action-bar {
        flex-direction: column;
    }

        .admin-action-bar .btn {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .edit-photo-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   VEHICLE DETAILS PAGE - PROFESSIONAL GALLERY
   ========================================================= */

.vehicle-details-section {
    background: #f5f7fb;
}

.vehicle-gallery-wrapper {
    width: 100%;
}

.vehicle-gallery {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.vehicle-gallery-main {
    background: #f8fafc;
}

.vehicle-gallery-image {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

.vehicle-gallery-control {
    width: 64px;
    opacity: 1;
}

    .vehicle-gallery-control .carousel-control-prev-icon,
    .vehicle-gallery-control .carousel-control-next-icon {
        width: 46px;
        height: 46px;
        background-size: 54%;
        background-color: rgba(15, 23, 42, 0.88);
        border-radius: 999px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
    }

    .vehicle-gallery-control:hover .carousel-control-prev-icon,
    .vehicle-gallery-control:hover .carousel-control-next-icon {
        background-color: var(--primary);
    }

.vehicle-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.vehicle-gallery-thumb {
    height: 74px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

    .vehicle-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0.75;
        transition: all 0.2s ease;
    }

    .vehicle-gallery-thumb:hover {
        transform: translateY(-2px);
        border-color: #cbd5e1;
    }

        .vehicle-gallery-thumb:hover img,
        .vehicle-gallery-thumb.active img {
            opacity: 1;
        }

    .vehicle-gallery-thumb.active {
        border-color: var(--primary);
    }

.vehicle-details-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 105px;
}

.vehicle-price-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

    .vehicle-price-block h2 {
        color: var(--dark);
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 12px;
    }

.vehicle-details-card h3 {
    color: var(--dark);
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.vehicle-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.vehicle-spec {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 16px;
}

    .vehicle-spec span,
    .vehicle-vin-box span {
        display: block;
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
    }

    .vehicle-spec strong {
        color: var(--dark);
        font-size: 1rem;
        font-weight: 850;
    }

.vehicle-vin-box {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 28px;
}

    .vehicle-vin-box strong {
        color: var(--dark);
        font-family: "Courier New", monospace;
        font-size: 0.95rem;
        word-break: break-all;
    }

.vehicle-action-buttons {
    display: grid;
    gap: 12px;
}

.vehicle-description-card {
    margin-top: 48px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

    .vehicle-description-card h3 {
        color: var(--dark);
        font-size: 1.45rem;
        font-weight: 900;
        margin-bottom: 16px;
    }

    .vehicle-description-card p {
        color: var(--muted);
        font-size: 1.04rem;
        line-height: 1.85;
    }

/* Mobile */
@media (max-width: 991px) {
    .vehicle-details-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .vehicle-gallery-image {
        height: 300px;
    }

    .vehicle-gallery-control {
        width: 50px;
    }

        .vehicle-gallery-control .carousel-control-prev-icon,
        .vehicle-gallery-control .carousel-control-next-icon {
            width: 38px;
            height: 38px;
        }

    .vehicle-gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
        gap: 10px;
    }

    .vehicle-gallery-thumb {
        height: 62px;
    }

    .vehicle-details-card {
        padding: 24px;
    }

    .vehicle-spec-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-description-card {
        padding: 24px;
    }
}
/* =========================================================
   ADMIN LOGIN PAGE - PROFESSIONAL DESIGN
   ========================================================= */

.admin-login-page {
    background: radial-gradient(circle at top left, rgba(29, 78, 216, 0.10), transparent 34%), linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
    padding: 86px 0;
}

.admin-login-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.admin-login-info {
    max-width: 650px;
}

.admin-login-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.admin-login-info h1 {
    color: var(--dark);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 1.2rem;
}

.admin-login-info > p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 590px;
    margin-bottom: 2.4rem;
}

.admin-login-benefits {
    display: grid;
    gap: 1.1rem;
}

.admin-login-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

    .admin-login-benefit span {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #eff6ff;
        color: var(--primary);
        border-radius: 50%;
        font-size: 0.82rem;
        font-weight: 950;
    }

    .admin-login-benefit h3 {
        color: var(--dark);
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 0.25rem;
    }

    .admin-login-benefit p {
        color: var(--muted);
        font-size: 0.94rem;
        line-height: 1.6;
    }

.admin-login-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 42px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.admin-login-card-header {
    margin-bottom: 2rem;
}

    .admin-login-card-header h2 {
        color: var(--dark);
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 0.55rem;
    }

    .admin-login-card-header p {
        color: var(--muted);
        font-size: 1rem;
    }

.admin-login-form {
    display: grid;
    gap: 1.15rem;
}

.form-group-modern label {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 850;
    margin-bottom: 0.55rem;
}

.form-group-modern .form-control {
    height: 54px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    background: #ffffff;
    color: var(--text);
    box-shadow: none !important;
}

    .form-group-modern .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.22rem rgba(29, 78, 216, 0.13) !important;
    }

.admin-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0.25rem 0 0.6rem;
}

.remember-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

    .remember-check input {
        margin: 0;
    }

.admin-login-options a {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
}

    .admin-login-options a:hover {
        color: var(--primary-dark);
    }

.admin-login-note {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .admin-login-note strong {
        color: var(--dark);
        font-weight: 900;
    }

    .admin-login-note span {
        color: var(--muted);
        font-size: 0.92rem;
    }

/* Enlève l'apparence Bootstrap par défaut sur cette page */
.admin-login-page .row,
.admin-login-page .col-md-4,
.admin-login-page .col-md-6 {
    width: auto;
    max-width: none;
}

/* Responsive login */
@media (max-width: 991px) {
    .admin-login-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .admin-login-card {
        padding: 34px;
    }
}

@media (max-width: 576px) {
    .admin-login-page {
        padding: 58px 0;
    }

    .admin-login-card {
        padding: 26px;
        border-radius: 20px;
    }

    .admin-login-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-login-info h1 {
        font-size: 2.3rem;
    }
}
/* =========================================================
   ADMIN REVIEWS - PROFESSIONAL DESIGN
   ========================================================= */

.admin-reviews-page {
    padding: 82px 0;
    background: var(--bg);
}

.admin-page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-review-list {
    display: grid;
    gap: 22px;
}

.admin-review-card-pro {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

    .admin-review-card-pro:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: rgba(29, 78, 216, 0.35);
    }

.admin-review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-review-client-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.admin-review-top h3 {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.admin-review-top p {
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-review-rating-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

    .admin-review-rating-box > div:first-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
    }

    .admin-review-rating-box span {
        color: var(--muted);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .admin-review-rating-box strong {
        color: var(--primary);
        font-size: 1.45rem;
        font-weight: 900;
    }

.rating-progress {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1d4ed8, #059669);
    border-radius: 999px;
}

.admin-review-comment-box {
    border-left: 4px solid var(--primary);
    background: #ffffff;
    padding: 6px 0 6px 18px;
    margin-bottom: 24px;
}

    .admin-review-comment-box span {
        display: inline-block;
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 8px;
    }

    .admin-review-comment-box p {
        color: var(--text);
        font-size: 1rem;
        line-height: 1.8;
    }

.admin-review-actions-pro {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.btn-info {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}

    .btn-info:hover {
        background: #0284c7;
        border-color: #0284c7;
        color: #ffffff;
    }

.btn-success {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

    .btn-success:hover {
        background: #047857;
        border-color: #047857;
        color: #ffffff;
    }

.btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
}

    .btn-warning:hover {
        background: #d97706;
        border-color: #d97706;
        color: #111827;
    }

@media (max-width: 767px) {
    .admin-reviews-page {
        padding: 56px 0;
    }

    .admin-review-top {
        flex-direction: column;
    }

    .admin-review-actions-pro {
        justify-content: flex-start;
    }

        .admin-review-actions-pro .btn,
        .admin-review-actions-pro form {
            width: 100%;
        }

            .admin-review-actions-pro form button {
                width: 100%;
            }
}
/* =========================================================
   SITE REVIEWS - PROFESSIONAL CREATE FORM
   ========================================================= */

.review-create-page {
    padding: 72px 0;
    background: var(--bg);
}

.review-create-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 46px;
    align-items: flex-start;
}

.review-info-panel {
    padding-top: 24px;
}

    .review-info-panel h2 {
        color: var(--dark);
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .review-info-panel > p {
        max-width: 620px;
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

.review-steps {
    display: grid;
    gap: 18px;
}

.review-step {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

    .review-step > span {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 50%;
        background: #eff6ff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 0.9rem;
    }

    .review-step h4 {
        color: var(--dark);
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 0.35rem;
    }

    .review-step p {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

.review-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 42px;
    box-shadow: var(--shadow-lg);
}

.review-form-header {
    margin-bottom: 30px;
}

    .review-form-header h2 {
        color: var(--dark);
        font-size: clamp(1.8rem, 2.5vw, 2.4rem);
        font-weight: 900;
        margin-bottom: 0.65rem;
    }

    .review-form-header p {
        color: var(--muted);
        font-size: 1rem;
    }

.review-form-group {
    margin-bottom: 28px;
}

.review-label {
    display: block;
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 12px;
}

.rating-picker {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

    .rating-picker input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .rating-picker label {
        cursor: pointer;
        background: #f8fafc;
        border: 2px solid #e5e7eb;
        border-radius: 16px;
        padding: 16px 10px;
        min-height: 86px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.2s ease;
        user-select: none;
    }

        .rating-picker label:hover {
            border-color: var(--primary);
            background: #eff6ff;
            transform: translateY(-2px);
        }

    .rating-picker input:checked + label {
        background: var(--primary);
        border-color: var(--primary);
        color: #ffffff;
        box-shadow: 0 14px 30px rgba(29, 78, 216, 0.25);
    }

.rating-number {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.rating-star {
    font-size: 1.45rem;
    color: #f59e0b;
    line-height: 1;
}

.rating-picker input:checked + label .rating-star {
    color: #ffffff;
}

.review-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    padding: 18px;
    font-size: 1rem;
    color: var(--text);
    background: #ffffff;
    resize: vertical;
    min-height: 190px;
    box-shadow: none;
    transition: all 0.2s ease;
}

    .review-textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 0.22rem rgba(29, 78, 216, 0.13);
    }

.review-help-text {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.review-note-box {
    background: #eff6ff;
    border-left: 5px solid var(--primary);
    border-radius: 14px;
    padding: 18px;
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 28px;
}

.review-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

    .review-form-actions .btn {
        width: 100%;
    }

/* Responsive reviews */
@media (max-width: 991px) {
    .review-create-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .review-info-panel {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .review-create-page {
        padding: 48px 0;
    }

    .review-form-card {
        padding: 26px;
        border-radius: 20px;
    }

    .rating-picker {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

        .rating-picker label {
            min-height: 72px;
            padding: 12px 6px;
            border-radius: 12px;
        }

    .rating-number {
        font-size: 1rem;
    }

    .rating-star {
        font-size: 1.15rem;
    }

    .review-form-actions {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   G2L AUTOS - REVIEW CREATE PROFESSIONAL FORM
   ========================================================= */

.review-create-page {
    padding: 78px 0;
    background: #f5f7fb;
}

.review-create-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.review-create-info h2 {
    color: var(--dark);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 14px;
}

.review-create-info > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.review-info-list {
    display: grid;
    gap: 16px;
}

.review-info-item {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

    .review-info-item > span {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 50%;
        background: #eff6ff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

    .review-info-item strong {
        display: block;
        color: var(--dark);
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .review-info-item p {
        color: var(--muted);
        line-height: 1.6;
        margin: 0;
    }

.review-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.review-form-header {
    margin-bottom: 28px;
}

    .review-form-header h2 {
        color: var(--dark);
        font-size: 2.35rem;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .review-form-header p {
        color: var(--muted);
    }

.review-field {
    margin-bottom: 26px;
}

.g2l-star-rating {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.g2l-star {
    width: 58px;
    height: 58px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: #cbd5e1;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .g2l-star:hover {
        border-color: #f59e0b;
        color: #f59e0b;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(245, 158, 11, 0.18);
    }

    .g2l-star.selected {
        background: #fffbeb;
        border-color: #f59e0b;
        color: #f59e0b;
    }

.rating-text {
    color: var(--dark);
    font-weight: 900;
    font-size: 0.98rem;
    margin-top: 6px;
}

.review-textarea {
    min-height: 190px;
    border-radius: 16px;
    padding: 18px;
    font-size: 1rem;
    line-height: 1.7;
}

.review-note-box {
    background: #eff6ff;
    border-left: 5px solid var(--primary);
    border-radius: 14px;
    padding: 16px 18px;
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 24px;
}

.review-submit-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 991px) {
    .review-create-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .review-create-page {
        padding: 56px 0;
    }

    .review-form-card {
        padding: 26px;
        border-radius: 20px;
    }

    .g2l-star-rating {
        gap: 6px;
    }

    .g2l-star {
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
        border-radius: 12px;
    }

    .review-submit-box {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   G2L AUTOS - PUBLIC REVIEWS PAGE
   ========================================================= */

.reviews-hero {
    background: linear-gradient(135deg, #0f172a 0%, #172033 100%);
}

.reviews-public-page {
    padding: 76px 0;
    background: #f5f7fb;
}

.reviews-public-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 34px;
}

    .reviews-public-header h2 {
        color: var(--dark);
        font-size: clamp(2rem, 3vw, 3.1rem);
        font-weight: 900;
        margin-bottom: 10px;
    }

    .reviews-public-header p {
        color: var(--muted);
        font-size: 1.05rem;
        max-width: 760px;
    }

.reviews-header-actions {
    flex-shrink: 0;
}

.reviews-summary-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 38px;
}

.reviews-summary-left {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 28px;
}

    .reviews-summary-left span {
        display: block;
        color: var(--primary);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .reviews-summary-left strong {
        display: block;
        color: var(--dark);
        font-size: 2.6rem;
        font-weight: 900;
        line-height: 1;
        margin-bottom: 12px;
    }

    .reviews-summary-left p {
        color: var(--muted);
        margin-top: 8px;
    }

.reviews-summary-right h3 {
    color: var(--dark);
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.reviews-summary-right p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 760px;
}

.reviews-stars,
.review-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-filled {
    color: #f59e0b;
    font-size: 1.2rem;
}

.star-empty {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.review-card-public {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

    .review-card-public:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: rgba(29, 78, 216, 0.35);
    }

.review-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.review-card-top h3 {
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 3px;
    word-break: break-word;
}

.review-card-top p {
    color: var(--muted);
    font-size: 0.92rem;
}

.review-card-rating {
    margin-bottom: 18px;
}

    .review-card-rating strong {
        margin-left: 10px;
        color: var(--dark);
        font-weight: 900;
    }

.review-card-comment {
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.review-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

    .review-card-footer span {
        display: inline-flex;
        align-items: center;
        background: #ecfdf5;
        color: #047857;
        border-radius: 999px;
        padding: 0.42rem 0.85rem;
        font-size: 0.82rem;
        font-weight: 900;
    }

.reviews-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    padding: 58px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

    .reviews-empty-state h3 {
        color: var(--dark);
        font-size: 1.7rem;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .reviews-empty-state p {
        color: var(--muted);
        margin-bottom: 24px;
    }

@media (max-width: 991px) {
    .reviews-public-header {
        flex-direction: column;
    }

    .reviews-summary-card {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .reviews-public-page {
        padding: 56px 0;
    }

    .reviews-summary-card,
    .review-card-public {
        padding: 24px;
        border-radius: 20px;
    }

    .reviews-summary-left strong {
        font-size: 2.1rem;
    }
}
/* =========================================================
   VEHICLE DETAILS PROFESSIONAL GALLERY
   ========================================================= */

.vehicle-details-page {
    padding: 48px 0 86px;
    background: #f5f7fb;
}

.vehicle-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
    gap: 34px;
    align-items: flex-start;
}

.vehicle-gallery-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.vehicle-main-image-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #e5e7eb;
}

.vehicle-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

    .vehicle-main-image:hover {
        opacity: 0.96;
    }

.vehicle-gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.84);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .vehicle-gallery-control:hover {
        background: var(--primary);
    }

.vehicle-gallery-prev {
    left: 16px;
}

.vehicle-gallery-next {
    right: 16px;
}

.vehicle-image-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.vehicle-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.vehicle-thumb-btn {
    border: 2px solid transparent;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
    height: 78px;
    cursor: pointer;
}

    .vehicle-thumb-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.2s ease;
    }

    .vehicle-thumb-btn:hover img {
        transform: scale(1.06);
    }

    .vehicle-thumb-btn.active {
        border-color: var(--primary);
    }

.vehicle-info-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.vehicle-price-box h2 {
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.vehicle-info-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.vehicle-info-card h3 {
    color: var(--dark);
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.vehicle-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vehicle-spec-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}

    .vehicle-spec-item span,
    .vehicle-vin-box span {
        display: block;
        color: #64748b;
        font-size: 0.76rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 7px;
    }

    .vehicle-spec-item strong,
    .vehicle-vin-box strong {
        color: var(--dark);
        font-size: 0.98rem;
        font-weight: 900;
        word-break: break-word;
    }

.vehicle-vin-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-top: 18px;
}

.vehicle-contact-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.vehicle-description-card {
    margin-top: 34px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

    .vehicle-description-card h3 {
        color: var(--dark);
        font-size: 1.45rem;
        font-weight: 900;
        margin-bottom: 16px;
    }

    .vehicle-description-card p {
        color: var(--muted);
        font-size: 1.04rem;
        line-height: 1.85;
    }

/* LIGHTBOX */

.vehicle-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

    .vehicle-lightbox.active {
        display: flex;
    }

    .vehicle-lightbox img {
        max-width: 92vw;
        max-height: 86vh;
        object-fit: contain;
        border-radius: 18px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    }

.vehicle-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--dark);
    font-size: 2rem;
    font-weight: 900;
    cursor: pointer;
    z-index: 10001;
}

.vehicle-lightbox-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
}

    .vehicle-lightbox-control:hover {
        background: var(--primary);
    }

.vehicle-lightbox-prev {
    left: 34px;
}

.vehicle-lightbox-next {
    right: 34px;
}

.vehicle-lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-weight: 900;
}

@media (max-width: 991px) {
    .vehicle-details-layout {
        grid-template-columns: 1fr;
    }

    .vehicle-info-card {
        position: static;
    }

    .vehicle-main-image {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .vehicle-main-image {
        height: 280px;
    }

    .vehicle-spec-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-gallery-control {
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }

    .vehicle-lightbox-control {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }

    .vehicle-lightbox-prev {
        left: 14px;
    }

    .vehicle-lightbox-next {
        right: 14px;
    }
}

/* =========================================================
   INVENTORY SEARCH PAGE - FINAL FIX
   ========================================================= */

.inventory-hero {
    padding: 82px 0 110px !important;
    background: linear-gradient(135deg, #0f172a 0%, #172033 100%) !important;
}

    .inventory-hero .section-kicker {
        color: #3b82f6;
    }

.inventory-search-section {
    position: relative;
    z-index: 5;
    background: var(--bg);
    padding: 0 0 42px;
    margin-top: -58px;
}

.inventory-search-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.inventory-search-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 26px;
}

    .inventory-search-header h2 {
        color: var(--dark);
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 0.45rem;
    }

    .inventory-search-header p {
        color: var(--muted);
        font-size: 1rem;
    }

.inventory-filter-form {
    width: 100%;
}

.inventory-filter-grid {
    display: grid !important;
    grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) minmax(135px, 1fr) minmax(135px, 1fr) 170px !important;
    gap: 16px !important;
    align-items: end !important;
}

.filter-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .filter-field label {
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.55rem;
    }

.inventory-filter-grid .form-control,
.inventory-filter-grid .form-select {
    height: 56px !important;
    width: 100% !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 14px !important;
    padding: 0 16px !important;
    font-size: 0.96rem !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

    .inventory-filter-grid .form-control:focus,
    .inventory-filter-grid .form-select:focus {
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12) !important;
    }

.filter-submit .btn {
    height: 56px !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 12px 26px rgba(29, 78, 216, 0.20);
}

    .filter-submit .btn:hover {
        background: var(--primary-dark) !important;
        border-color: var(--primary-dark) !important;
        transform: translateY(-2px);
    }

/* Résultats inventaire */
.inventory-results-section {
    background: var(--bg);
    padding: 10px 0 90px;
}

.inventory-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 28px;
}

    .inventory-results-header .section-title {
        margin-bottom: 0.45rem;
    }

/* Cartes véhicules : image cliquable propre */
.vehicle-image-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    cursor: pointer;
}

    .vehicle-image-link img {
        transition: transform 0.25s ease;
    }

.vehicle-card:hover .vehicle-image {
    transform: scale(1.04);
}

.vehicle-status {
    z-index: 8;
    pointer-events: none;
}

.vehicle-body .btn,
.vehicle-actions .btn {
    position: relative;
    z-index: 10;
}

.vehicle-title-row h3 {
    margin-bottom: 0.35rem;
}

.vehicle-stock {
    display: inline-block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.vehicle-meta {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

    .vehicle-meta span {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.55rem;
        border-bottom: 1px solid #eef2f7;
    }

        .vehicle-meta span:last-child {
            border-bottom: none;
        }

    .vehicle-meta strong {
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

.vehicle-actions {
    display: grid;
    gap: 10px;
}

/* Responsive tablette */
@media (max-width: 1200px) {
    .inventory-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .filter-submit {
        grid-column: 1 / -1;
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .inventory-hero {
        padding: 64px 0 88px !important;
    }

    .inventory-search-section {
        margin-top: -42px;
        padding-bottom: 32px;
    }

    .inventory-search-card {
        padding: 22px;
        border-radius: 18px;
    }

    .inventory-search-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .inventory-search-header .btn {
            width: 100%;
            text-align: center;
        }

    .inventory-filter-grid {
        grid-template-columns: 1fr !important;
    }

    .filter-submit {
        grid-column: auto;
    }

    .inventory-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .inventory-results-header .btn {
            width: 100%;
            text-align: center;
        }
}
/* =========================================================
   G2L LOGO - NAVBAR + FOOTER
   ========================================================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    text-decoration: none;
}

.brand-logo-img {
    height: 54px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

.site-brand:hover {
    text-decoration: none;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    margin-bottom: 1.2rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
}

@media (max-width: 991px) {
    .brand-logo-img {
        height: 48px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 42px;
        max-width: 135px;
    }

    .footer-logo-img {
        height: 60px;
        max-width: 200px;
    }
}
/* =========================================================
   POPULAR BRANDS - LOGOS ONLY
   ========================================================= */

.home-brands-direct {
    background: #f5f7fb;
    padding: 60px 0 70px;
}

.popular-brands-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 40px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.popular-brands-head {
    margin-bottom: 28px;
}

    .popular-brands-head h2 {
        color: #0f172a;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 900;
        line-height: 1.05;
        margin: 8px 0 10px;
    }

    .popular-brands-head p {
        color: #64748b;
        font-size: 1rem;
        margin: 0;
    }

.popular-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 22px;
    align-items: center;
}

.popular-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    min-height: 90px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .popular-brand-link:hover {
        transform: translateY(-4px) scale(1.04);
        opacity: 0.9;
        text-decoration: none;
    }

.popular-brand-image {
    width: 100%;
    max-width: 150px;
    height: 80px;
    object-fit: contain;
    display: block;
    background: transparent !important;
    mix-blend-mode: multiply;
}

/* Cache les anciens éléments si encore présents */
.popular-brand-card,
.popular-brand-logo,
.popular-brand-card strong,
.popular-brand-name,
.popular-brand-fallback {
    box-shadow: none !important;
}

.popular-brand-fallback {
    display: none !important;
}

@media (max-width: 1200px) {
    .popular-brands-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .popular-brands-panel {
        padding: 26px;
        border-radius: 22px;
    }

    .popular-brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .popular-brand-image {
        max-width: 120px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .popular-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .popular-brand-image {
        max-width: 110px;
        height: 60px;
    }
}
/* =========================================================
   HOME FEATURED VEHICLES - PROFESSIONAL CARDS
   ========================================================= */

.home-featured-section {
    background: #ffffff;
    padding: 80px 0;
}

.home-featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 38px;
}

    .home-featured-header h2 {
        color: #0f172a;
        font-size: clamp(2.2rem, 3.6vw, 3.6rem);
        font-weight: 950;
        line-height: 1.05;
        margin: 8px 0 12px;
    }

    .home-featured-header p {
        color: #64748b;
        font-size: 1.05rem;
        max-width: 680px;
        margin: 0;
    }

.home-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1d4ed8;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

    .home-featured-link:hover {
        color: #0f172a;
        text-decoration: none;
    }

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-featured-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .home-featured-card:hover {
        transform: translateY(-7px);
        border-color: #1d4ed8;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    }

.home-featured-image-link {
    position: relative;
    display: block;
    height: 245px;
    background: #f8fafc;
    overflow: hidden;
    text-decoration: none;
}

.home-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-featured-card:hover .home-featured-image {
    transform: scale(1.06);
}

.home-featured-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #059669;
    color: #ffffff;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 22px rgba(5, 150, 105, 0.22);
}

.home-featured-body {
    padding: 24px;
}

.home-featured-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.home-featured-title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1.2;
    text-decoration: none;
}

    .home-featured-title:hover {
        color: #1d4ed8;
        text-decoration: none;
    }

.home-featured-stock {
    color: #64748b;
    margin: 7px 0 0;
    font-size: 0.9rem;
}

.home-featured-price {
    color: #1d4ed8;
    font-size: 1.75rem;
    font-weight: 950;
    margin-bottom: 18px;
}

.home-featured-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

    .home-featured-specs div {
        background: #f8fafc;
        border: 1px solid #eef2f7;
        border-radius: 14px;
        padding: 12px;
    }

    .home-featured-specs span {
        display: block;
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 5px;
    }

    .home-featured-specs strong {
        color: #0f172a;
        font-size: 0.92rem;
        font-weight: 900;
    }

.home-featured-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.home-featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    border-radius: 13px;
    padding: 14px 18px;
    font-weight: 950;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .home-featured-btn:hover {
        background: #1d4ed8;
        color: #ffffff;
        text-decoration: none;
    }

.home-featured-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #0f172a;
    border-radius: 13px;
    padding: 14px 18px;
    font-weight: 950;
    text-decoration: none;
}

    .home-featured-call:hover {
        background: #0f172a;
        color: #ffffff;
        text-decoration: none;
    }

.home-featured-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    padding: 44px;
    text-align: center;
}

    .home-featured-empty h3 {
        color: #0f172a;
        font-weight: 950;
        margin-bottom: 10px;
    }

    .home-featured-empty p {
        color: #64748b;
        margin-bottom: 22px;
    }

/* Responsive */
@media (max-width: 1200px) {
    .home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-featured-section {
        padding: 60px 0;
    }

    .home-featured-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-featured-grid {
        grid-template-columns: 1fr;
    }

    .home-featured-image-link {
        height: 230px;
    }

    .home-featured-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .home-featured-body {
        padding: 20px;
    }

    .home-featured-specs {
        grid-template-columns: 1fr;
    }

    .home-featured-image-link {
        height: 210px;
    }
}
/* =========================================================
   HOME TRUST SECTION - PROFESSIONAL DESIGN
   ========================================================= */

.home-trust-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    padding: 90px 0;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.home-trust-content h2 {
    color: #0f172a;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.05;
    margin: 10px 0 20px;
    max-width: 780px;
}

.home-trust-intro {
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 34px;
}

.home-trust-list {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.home-trust-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .home-trust-item:hover {
        transform: translateY(-4px);
        border-color: #1d4ed8;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    }

.home-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #dcfce7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 1.1rem;
}

.home-trust-item h4 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
    margin-bottom: 6px;
}

.home-trust-item p {
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.home-trust-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-trust-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    position: relative;
    overflow: hidden;
}

    .home-trust-card::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(29, 78, 216, 0.28);
        top: -90px;
        right: -90px;
    }

    .home-trust-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(5, 150, 105, 0.18);
        bottom: -70px;
        left: -70px;
    }

    .home-trust-card > * {
        position: relative;
        z-index: 2;
    }

.home-trust-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 38px;
}

    .home-trust-card-header span {
        font-size: 1.35rem;
        font-weight: 950;
    }

    .home-trust-card-header strong {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        padding: 9px 13px;
        font-size: 0.75rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

.home-trust-card-main {
    margin-bottom: 30px;
}

    .home-trust-card-main h3 {
        color: #ffffff;
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        font-weight: 950;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .home-trust-card-main p {
        color: #cbd5e1;
        font-size: 1.02rem;
        line-height: 1.75;
        margin: 0;
    }

.home-trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

    .home-trust-stats div {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 18px;
        padding: 18px;
    }

    .home-trust-stats strong {
        display: block;
        color: #60a5fa;
        font-size: 1.5rem;
        font-weight: 950;
        margin-bottom: 6px;
    }

    .home-trust-stats span {
        color: #ffffff;
        font-size: 0.9rem;
        font-weight: 800;
    }

.home-trust-contact-box {
    background: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .home-trust-contact-box span {
        display: block;
        color: #64748b;
        font-size: 0.8rem;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .home-trust-contact-box strong {
        color: #0f172a;
        font-size: 1.2rem;
        font-weight: 950;
    }

    .home-trust-contact-box a {
        background: #1d4ed8;
        color: #ffffff;
        border-radius: 13px;
        padding: 12px 18px;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

        .home-trust-contact-box a:hover {
            background: #0f172a;
            color: #ffffff;
        }

/* Responsive */
@media (max-width: 991px) {
    .home-trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .home-trust-section {
        padding: 65px 0;
    }

    .home-trust-card {
        padding: 26px;
        border-radius: 24px;
    }

    .home-trust-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-trust-stats {
        grid-template-columns: 1fr;
    }

    .home-trust-contact-box {
        flex-direction: column;
        align-items: flex-start;
    }

        .home-trust-contact-box a {
            width: 100%;
            text-align: center;
        }
}
/* =========================================================
   HOME SERVICES SECTION - PROFESSIONAL
   ========================================================= */

.home-services-section {
    background: #f5f7fb;
    padding: 90px 0;
}

.home-services-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 46px;
}

    .home-services-header h2 {
        color: #0f172a;
        font-size: clamp(2.3rem, 4vw, 4rem);
        font-weight: 950;
        line-height: 1.05;
        margin: 10px 0 16px;
    }

    .home-services-header p {
        color: #64748b;
        font-size: 1.08rem;
        line-height: 1.75;
        margin: 0;
    }

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .home-service-card:hover {
        transform: translateY(-7px);
        border-color: #1d4ed8;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
    }

.home-service-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    margin-bottom: 22px;
}

.home-service-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
    margin-bottom: 14px;
}

.home-service-card p {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 24px;
}

.home-service-card a {
    margin-top: auto;
    color: #1d4ed8;
    font-weight: 950;
    text-decoration: none;
}

    .home-service-card a:hover {
        color: #0f172a;
    }

.home-services-cta {
    margin-top: 34px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

    .home-services-cta h3 {
        color: #ffffff;
        font-size: 1.8rem;
        font-weight: 950;
        margin-bottom: 10px;
    }

    .home-services-cta p {
        color: #cbd5e1;
        margin: 0;
        line-height: 1.7;
    }

.home-services-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-services-cta .btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 900;
}

    .home-services-cta .btn-outline-light:hover {
        background: #ffffff;
        color: #0f172a;
    }

/* Responsive */
@media (max-width: 1200px) {
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-services-section {
        padding: 65px 0;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-services-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-services-cta-actions {
        width: 100%;
        justify-content: flex-start;
    }

        .home-services-cta-actions .btn {
            width: 100%;
        }
}
/* =========================================================
   HERO SECTION - MODERNE / PROFESSIONNEL
   ========================================================= */

.hero-pro-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.68) 35%, rgba(15, 23, 42, 0.30) 100% ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-pro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.20));
    z-index: 1;
}

.hero-pro-section .container {
    position: relative;
    z-index: 2;
}

.hero-pro-content {
    max-width: 760px;
    padding: 90px 0 70px;
}

.hero-pro-text {
    max-width: 720px;
    margin-bottom: 28px;
}

.hero-pro-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #c7d2fe;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-pro-text h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 680px;
}

.hero-pro-text p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 660px;
}

.hero-pro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

    .hero-pro-actions .btn {
        min-height: 54px;
        padding: 0 24px;
        border-radius: 14px;
        font-weight: 800;
    }

    .hero-pro-actions .btn-primary {
        background: #1d4ed8;
        border: 1px solid #1d4ed8;
        color: #ffffff;
    }

        .hero-pro-actions .btn-primary:hover {
            background: #0f172a;
            border-color: #0f172a;
        }

    .hero-pro-actions .btn-outline-light {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.95);
        color: #ffffff;
    }

        .hero-pro-actions .btn-outline-light:hover {
            background: #ffffff;
            color: #0f172a;
        }

.hero-pro-search-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    max-width: 920px;
}

.hero-pro-search-title {
    margin-bottom: 18px;
}

    .hero-pro-search-title h2 {
        margin: 0 0 4px;
        color: #0f172a;
        font-size: 1.55rem;
        font-weight: 900;
    }

    .hero-pro-search-title p {
        margin: 0;
        color: #64748b;
        font-size: 0.98rem;
    }

.hero-pro-search-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.hero-pro-field label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-pro-field input,
.hero-pro-field select {
    width: 100%;
    height: 56px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 16px;
    font-weight: 700;
    outline: none;
    transition: all 0.2s ease;
}

    .hero-pro-field input:focus,
    .hero-pro-field select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

.hero-pro-search-btn {
    height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: 14px;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .hero-pro-search-btn:hover {
        background: #0f172a;
        transform: translateY(-1px);
    }

.hero-pro-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

    .hero-pro-quick-filters span {
        color: #475569;
        font-weight: 800;
    }

    .hero-pro-quick-filters a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 18px;
        border-radius: 999px;
        border: 1px solid #dbe3ef;
        background: #f8fafc;
        color: #0f172a;
        text-decoration: none;
        font-weight: 800;
        transition: all 0.2s ease;
    }

        .hero-pro-quick-filters a:hover {
            background: #1d4ed8;
            border-color: #1d4ed8;
            color: #ffffff;
        }

/* Responsive */
@media (max-width: 991px) {
    .hero-pro-section {
        min-height: auto;
        background-position: center;
    }

    .hero-pro-content {
        padding: 70px 0 60px;
    }

    .hero-pro-text h1 {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }

    .hero-pro-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-pro-search-btn {
        grid-column: span 2;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-pro-content {
        padding: 56px 0 50px;
    }

    .hero-pro-text h1 {
        font-size: 2.2rem;
        line-height: 1.08;
    }

    .hero-pro-text p {
        font-size: 1rem;
    }

    .hero-pro-search-card {
        padding: 20px;
        border-radius: 20px;
    }

    .hero-pro-search-grid {
        grid-template-columns: 1fr;
    }

    .hero-pro-search-btn {
        grid-column: auto;
    }

    .hero-pro-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   FINANCING PAGE - PROFESSIONAL DESIGN
   ========================================================= */

.finance-pro-hero {
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75) ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 95px 0;
    color: #ffffff;
}

.finance-pro-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.finance-pro-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.6rem, 4.5vw, 4.8rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 14px 0 22px;
    max-width: 850px;
}

.finance-pro-hero-content p {
    color: #e5e7eb;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 760px;
    margin-bottom: 30px;
}

.finance-pro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

    .finance-pro-hero-actions .btn {
        border-radius: 14px;
        font-weight: 900;
        padding: 14px 24px;
    }

    .finance-pro-hero-actions .btn-outline-light {
        border: 2px solid #ffffff;
        color: #ffffff;
    }

        .finance-pro-hero-actions .btn-outline-light:hover {
            background: #ffffff;
            color: #0f172a;
        }

.finance-pro-card {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.finance-pro-card-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 30px;
}

    .finance-pro-card-header span {
        background: #dcfce7;
        color: #059669;
        border-radius: 999px;
        padding: 8px 13px;
        font-size: 0.75rem;
        font-weight: 950;
        text-transform: uppercase;
    }

    .finance-pro-card-header strong {
        color: #0f172a;
        font-size: 1.25rem;
        font-weight: 950;
    }

.finance-pro-card-body h3 {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1.15;
    margin-bottom: 12px;
}

.finance-pro-card-body p {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 26px;
}

.finance-pro-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

    .finance-pro-mini-grid div {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 16px;
    }

    .finance-pro-mini-grid strong {
        display: block;
        color: #1d4ed8;
        font-size: 1.4rem;
        font-weight: 950;
        margin-bottom: 5px;
    }

    .finance-pro-mini-grid span {
        color: #0f172a;
        font-size: 0.9rem;
        font-weight: 850;
    }

/* Main section */

.finance-pro-main {
    background: #f5f7fb;
    padding: 90px 0;
}

.finance-pro-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.finance-pro-info h2 {
    color: #0f172a;
    font-size: clamp(2.1rem, 3.5vw, 3.5rem);
    font-weight: 950;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.finance-pro-intro {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.finance-pro-benefits {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.finance-pro-benefit {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.finance-pro-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dcfce7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.finance-pro-benefit h4 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 5px;
}

.finance-pro-benefit p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.finance-pro-contact-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 24px;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

    .finance-pro-contact-box span {
        display: block;
        color: #93c5fd;
        font-size: 0.82rem;
        font-weight: 950;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .finance-pro-contact-box strong {
        display: block;
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 950;
        margin-bottom: 6px;
    }

    .finance-pro-contact-box p {
        color: #cbd5e1;
        margin: 0;
    }

    .finance-pro-contact-box a {
        background: #1d4ed8;
        color: #ffffff;
        border-radius: 14px;
        padding: 13px 18px;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

        .finance-pro-contact-box a:hover {
            background: #ffffff;
            color: #0f172a;
        }

/* Form */

.finance-pro-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.finance-pro-form-header {
    margin-bottom: 26px;
}

    .finance-pro-form-header span {
        display: inline-block;
        color: #1d4ed8;
        font-size: 0.82rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .finance-pro-form-header h2 {
        color: #0f172a;
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 8px;
    }

    .finance-pro-form-header p {
        color: #64748b;
        margin: 0;
    }

.finance-pro-form {
    display: grid;
    gap: 18px;
}

.finance-pro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.finance-pro-form label {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 8px;
}

.finance-pro-form .form-control {
    height: 56px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 16px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: none;
}

.finance-pro-form textarea.form-control {
    height: auto;
    padding-top: 15px;
    resize: vertical;
}

.finance-pro-form .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.finance-pro-note {
    background: #eff6ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 14px;
    padding: 16px;
    color: #1e3a8a;
    font-weight: 800;
}

.finance-pro-submit {
    height: 58px;
    border: none;
    border-radius: 15px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.22s ease;
}

    .finance-pro-submit:hover {
        background: #0f172a;
        transform: translateY(-2px);
    }

/* Steps */

.finance-pro-steps-section {
    background: #ffffff;
    padding: 85px 0;
}

.finance-pro-steps-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}

    .finance-pro-steps-header h2 {
        color: #0f172a;
        font-size: clamp(2.1rem, 3.5vw, 3.5rem);
        font-weight: 950;
        line-height: 1.08;
        margin: 10px 0 14px;
    }

    .finance-pro-steps-header p {
        color: #64748b;
        font-size: 1.05rem;
        line-height: 1.75;
        margin: 0;
    }

.finance-pro-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.finance-pro-step {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

    .finance-pro-step span {
        display: inline-flex;
        width: 50px;
        height: 50px;
        border-radius: 16px;
        background: #1d4ed8;
        color: #ffffff;
        align-items: center;
        justify-content: center;
        font-weight: 950;
        margin-bottom: 20px;
    }

    .finance-pro-step h3 {
        color: #0f172a;
        font-size: 1.25rem;
        font-weight: 950;
        margin-bottom: 10px;
    }

    .finance-pro-step p {
        color: #64748b;
        line-height: 1.7;
        margin: 0;
    }

/* Responsive */

@media (max-width: 991px) {
    .finance-pro-hero-grid,
    .finance-pro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .finance-pro-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .finance-pro-hero,
    .finance-pro-main,
    .finance-pro-steps-section {
        padding: 60px 0;
    }

    .finance-pro-form-row,
    .finance-pro-mini-grid {
        grid-template-columns: 1fr;
    }

    .finance-pro-form-card,
    .finance-pro-card {
        padding: 24px;
        border-radius: 22px;
    }

    .finance-pro-contact-box {
        flex-direction: column;
        align-items: flex-start;
    }

        .finance-pro-contact-box a {
            width: 100%;
            text-align: center;
        }

    .finance-pro-hero-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   SELL PAGE - PROFESSIONAL DESIGN
   ========================================================= */

.sell-pro-hero {
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75) ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 95px 0;
    color: #ffffff;
}

.sell-pro-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.sell-pro-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 4.5vw, 4.7rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 14px 0 22px;
}

.sell-pro-hero-content p {
    color: #e5e7eb;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 780px;
    margin-bottom: 30px;
}

.sell-pro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

    .sell-pro-hero-actions .btn {
        border-radius: 14px;
        font-weight: 900;
        padding: 14px 24px;
    }

    .sell-pro-hero-actions .btn-outline-light {
        border: 2px solid #ffffff;
        color: #ffffff;
    }

        .sell-pro-hero-actions .btn-outline-light:hover {
            background: #ffffff;
            color: #0f172a;
        }

.sell-pro-hero-card {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

    .sell-pro-hero-card > span {
        display: inline-block;
        background: #dcfce7;
        color: #059669;
        border-radius: 999px;
        padding: 8px 13px;
        font-size: 0.75rem;
        font-weight: 950;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .sell-pro-hero-card h3 {
        color: #0f172a;
        font-size: 1.75rem;
        font-weight: 950;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .sell-pro-hero-card p {
        color: #64748b;
        line-height: 1.75;
        margin-bottom: 26px;
    }

.sell-pro-card-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

    .sell-pro-card-points div {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 14px;
    }

    .sell-pro-card-points strong {
        display: block;
        color: #1d4ed8;
        font-size: 1.3rem;
        font-weight: 950;
        margin-bottom: 5px;
    }

    .sell-pro-card-points small {
        color: #0f172a;
        font-weight: 850;
    }

/* Main */

.sell-pro-main {
    background: #f5f7fb;
    padding: 90px 0;
}

.sell-pro-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.sell-pro-info h2 {
    color: #0f172a;
    font-size: clamp(2.1rem, 3.5vw, 3.5rem);
    font-weight: 950;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.sell-pro-intro {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.sell-pro-benefits {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.sell-pro-benefit {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.sell-pro-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dcfce7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.sell-pro-benefit h4 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 5px;
}

.sell-pro-benefit p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.sell-pro-process {
    background: #0f172a;
    color: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

    .sell-pro-process h3 {
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 950;
        margin-bottom: 18px;
    }

.sell-pro-process-list {
    display: grid;
    gap: 14px;
}

    .sell-pro-process-list div {
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 14px;
        align-items: center;
    }

    .sell-pro-process-list span {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #1d4ed8;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 950;
    }

    .sell-pro-process-list p {
        color: #cbd5e1;
        margin: 0;
    }

/* Form */

.sell-pro-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.sell-pro-form-header {
    margin-bottom: 26px;
}

    .sell-pro-form-header span {
        display: inline-block;
        color: #1d4ed8;
        font-size: 0.82rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .sell-pro-form-header h2 {
        color: #0f172a;
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 8px;
    }

    .sell-pro-form-header p {
        color: #64748b;
        margin: 0;
    }

.sell-pro-form {
    display: grid;
    gap: 18px;
}

.sell-pro-form-section-title {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 4px;
}

.sell-pro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.sell-pro-form label {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 8px;
}

.sell-pro-form .form-control {
    height: 56px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 16px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: none;
}

.sell-pro-form textarea.form-control {
    height: auto;
    padding-top: 15px;
    resize: vertical;
}

.sell-pro-form .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.sell-pro-note {
    background: #eff6ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 14px;
    padding: 16px;
    color: #1e3a8a;
    font-weight: 800;
}

.sell-pro-submit {
    height: 58px;
    border: none;
    border-radius: 15px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.22s ease;
}

    .sell-pro-submit:hover {
        background: #0f172a;
        transform: translateY(-2px);
    }

/* Responsive */

@media (max-width: 991px) {
    .sell-pro-hero-grid,
    .sell-pro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .sell-pro-hero,
    .sell-pro-main {
        padding: 60px 0;
    }

    .sell-pro-form-row,
    .sell-pro-card-points {
        grid-template-columns: 1fr;
    }

    .sell-pro-form-card,
    .sell-pro-hero-card,
    .sell-pro-process {
        padding: 24px;
        border-radius: 22px;
    }

    .sell-pro-hero-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   CONTACT PAGE - PROFESSIONAL DESIGN
   ========================================================= */

.contact-pro-hero {
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 95px 0;
    color: #ffffff;
}

.contact-pro-hero-content {
    max-width: 850px;
}

    .contact-pro-hero-content h1 {
        color: #ffffff;
        font-size: clamp(2.7rem, 4.8vw, 5rem);
        font-weight: 950;
        line-height: 1.02;
        letter-spacing: -0.04em;
        margin: 14px 0 20px;
    }

    .contact-pro-hero-content p {
        color: #e5e7eb;
        font-size: 1.1rem;
        line-height: 1.8;
        max-width: 760px;
        margin-bottom: 30px;
    }

.contact-pro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

    .contact-pro-hero-actions .btn {
        border-radius: 14px;
        font-weight: 900;
        padding: 14px 24px;
    }

    .contact-pro-hero-actions .btn-outline-light {
        border: 2px solid #ffffff;
        color: #ffffff;
    }

        .contact-pro-hero-actions .btn-outline-light:hover {
            background: #ffffff;
            color: #0f172a;
        }

/* Main */

.contact-pro-main {
    background: #f5f7fb;
    padding: 90px 0;
}

.contact-pro-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: start;
}

.contact-pro-card,
.contact-pro-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.contact-pro-business-card {
    padding: 34px;
}

    .contact-pro-business-card h2 {
        color: #0f172a;
        font-size: 2.2rem;
        font-weight: 950;
        margin: 10px 0 14px;
    }

.contact-pro-intro {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-pro-info-list {
    display: grid;
    gap: 18px;
}

.contact-pro-info-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

    .contact-pro-info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.contact-pro-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 1.1rem;
}

.contact-pro-info-item span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.contact-pro-info-item a {
    color: #1d4ed8;
    font-size: 1.05rem;
    font-weight: 950;
    text-decoration: none;
}

    .contact-pro-info-item a:hover {
        color: #0f172a;
    }

.contact-pro-info-item p {
    color: #0f172a;
    font-weight: 750;
    line-height: 1.7;
    margin: 0;
}

.contact-pro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .contact-pro-actions .btn {
        border-radius: 14px;
        font-weight: 900;
    }

/* Mini cards */

.contact-pro-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.contact-pro-mini-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

    .contact-pro-mini-card strong {
        display: block;
        color: #0f172a;
        font-weight: 950;
        margin-bottom: 6px;
    }

    .contact-pro-mini-card span {
        color: #64748b;
        line-height: 1.6;
    }

/* Form */

.contact-pro-form-card {
    padding: 34px;
}

.contact-pro-form-header {
    margin-bottom: 26px;
}

    .contact-pro-form-header span {
        display: inline-block;
        color: #1d4ed8;
        font-size: 0.82rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .contact-pro-form-header h2 {
        color: #0f172a;
        font-size: 2rem;
        font-weight: 950;
        margin-bottom: 8px;
    }

    .contact-pro-form-header p {
        color: #64748b;
        line-height: 1.7;
        margin: 0;
    }

.contact-pro-form {
    display: grid;
    gap: 18px;
}

.contact-pro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-pro-form label {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-pro-form .form-control {
    height: 56px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 16px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: none;
}

.contact-pro-form textarea.form-control {
    height: auto;
    padding-top: 15px;
    resize: vertical;
}

.contact-pro-form .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.contact-pro-note {
    background: #eff6ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 14px;
    padding: 16px;
    color: #1e3a8a;
    font-weight: 800;
}

.contact-pro-submit {
    height: 58px;
    border: none;
    border-radius: 15px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.22s ease;
}

    .contact-pro-submit:hover {
        background: #0f172a;
        transform: translateY(-2px);
    }

/* Location */

.contact-pro-location {
    background: #ffffff;
    padding: 80px 0;
}

.contact-pro-location-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 28px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.22);
}

    .contact-pro-location-box h2 {
        color: #ffffff;
        font-size: 2.2rem;
        font-weight: 950;
        margin: 10px 0;
    }

    .contact-pro-location-box p {
        color: #cbd5e1;
        line-height: 1.7;
        margin: 0;
    }

/* Responsive */

@media (max-width: 991px) {
    .contact-pro-layout {
        grid-template-columns: 1fr;
    }

    .contact-pro-location-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .contact-pro-hero,
    .contact-pro-main,
    .contact-pro-location {
        padding: 60px 0;
    }

    .contact-pro-form-row,
    .contact-pro-mini-grid {
        grid-template-columns: 1fr;
    }

    .contact-pro-business-card,
    .contact-pro-form-card,
    .contact-pro-location-box {
        padding: 24px;
        border-radius: 22px;
    }

        .contact-pro-hero-actions .btn,
        .contact-pro-location-box .btn {
            width: 100%;
        }
}
/* =========================================================
   INVENTORY PAGE - COMPACT PROFESSIONAL FIX
   ========================================================= */

.inventory-page .page-hero,
.page-hero.inventory-hero {
    padding: 70px 0 115px !important;
    background: #0f172a !important;
}

    .inventory-page .page-hero h1,
    .page-hero.inventory-hero h1 {
        font-size: clamp(2.5rem, 4vw, 4.2rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 16px !important;
    }

    .inventory-page .page-hero p,
    .page-hero.inventory-hero p {
        font-size: 1.05rem !important;
        max-width: 800px !important;
    }

/* Search card closer to hero */
.inventory-filter-card {
    margin-top: -72px !important;
    margin-bottom: 54px !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 5;
}

.inventory-search-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

    .inventory-search-header h2 {
        color: #0f172a;
        font-size: 2rem;
        font-weight: 950;
        margin: 6px 0 6px;
    }

    .inventory-search-header p {
        color: #64748b;
        margin: 0;
    }

.inventory-search-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.8fr 0.8fr auto;
    gap: 14px;
    align-items: end;
}

.search-field label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.search-input,
.search-select {
    height: 56px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 16px;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    width: 100%;
}

    .search-input:focus,
    .search-select:focus {
        border-color: #1d4ed8;
        box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
        outline: none;
    }

.inventory-search-grid .btn,
.inventory-search-grid button {
    height: 56px;
    border-radius: 14px;
    font-weight: 950;
    padding-left: 28px;
    padding-right: 28px;
}

/* Results section */
.inventory-results-section {
    padding: 0 0 90px !important;
}

.inventory-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

    .inventory-results-header h2 {
        color: #0f172a;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 950;
        margin: 6px 0 6px;
    }

    .inventory-results-header p {
        color: #64748b;
        margin: 0;
    }

/* Vehicle grid better spacing */
.vehicle-grid,
.inventory-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.vehicle-card,
.inventory-vehicle-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .vehicle-card:hover,
    .inventory-vehicle-card:hover {
        transform: translateY(-6px);
        border-color: #1d4ed8;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    }

.vehicle-image-wrapper,
.inventory-vehicle-image-link {
    height: 235px;
    background: #f8fafc;
    overflow: hidden;
    display: block;
    position: relative;
}

.vehicle-image,
.inventory-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1200px) {
    .inventory-search-grid {
        grid-template-columns: 1fr 1fr;
    }

        .inventory-search-grid .btn,
        .inventory-search-grid button {
            width: 100%;
        }

    .vehicle-grid,
    .inventory-vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .inventory-page .page-hero,
    .page-hero.inventory-hero {
        padding: 55px 0 95px !important;
    }

    .inventory-filter-card {
        margin-top: -60px !important;
        padding: 24px;
        border-radius: 22px;
    }

    .inventory-search-header,
    .inventory-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-search-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-grid,
    .inventory-vehicles-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   REGISTER PAGE - PROFESSIONAL CLIENT ACCOUNT
   ========================================================= */

.register-pro-page {
    background: radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 34%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: calc(100vh - 90px);
    padding: 90px 0;
}

.register-pro-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.register-pro-info {
    max-width: 720px;
}

    .register-pro-info h1 {
        color: #0f172a;
        font-size: clamp(2.8rem, 5vw, 5rem);
        font-weight: 950;
        line-height: 1.02;
        letter-spacing: -0.045em;
        margin: 12px 0 22px;
    }

.register-pro-intro {
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 34px;
}

.register-pro-benefits {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.register-pro-benefit {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

    .register-pro-benefit:hover {
        transform: translateY(-4px);
        border-color: #1d4ed8;
        box-shadow: 0 20px 46px rgba(15, 23, 42, 0.1);
    }

.register-pro-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.register-pro-benefit h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 5px;
}

.register-pro-benefit p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.register-pro-contact {
    background: #0f172a;
    color: #ffffff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

    .register-pro-contact strong {
        display: block;
        color: #ffffff;
        font-size: 1.05rem;
        font-weight: 950;
        margin-bottom: 6px;
    }

    .register-pro-contact p {
        color: #cbd5e1;
        margin: 0;
    }

    .register-pro-contact a {
        color: #93c5fd;
        font-weight: 950;
        text-decoration: none;
    }

        .register-pro-contact a:hover {
            color: #ffffff;
        }

/* Card */

.register-pro-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.register-pro-card-header {
    margin-bottom: 28px;
}

    .register-pro-card-header span {
        display: inline-block;
        color: #1d4ed8;
        font-size: 0.82rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .register-pro-card-header h2 {
        color: #0f172a;
        font-size: 2.2rem;
        font-weight: 950;
        margin-bottom: 8px;
    }

    .register-pro-card-header p {
        color: #64748b;
        line-height: 1.7;
        margin: 0;
    }

.register-pro-form {
    display: grid;
    gap: 18px;
}

    .register-pro-form label {
        color: #0f172a;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .register-pro-form .form-control {
        height: 56px;
        border: 1px solid #dbe3ef;
        border-radius: 14px;
        padding: 0 16px;
        color: #0f172a;
        font-weight: 700;
        box-shadow: none;
    }

        .register-pro-form .form-control:focus {
            border-color: #1d4ed8;
            box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
        }

.register-pro-password-note {
    background: #eff6ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 14px;
    padding: 15px 16px;
    color: #1e3a8a;
    font-weight: 800;
    line-height: 1.6;
}

.register-pro-submit {
    height: 58px;
    border: none;
    border-radius: 15px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.22s ease;
}

    .register-pro-submit:hover {
        background: #0f172a;
        transform: translateY(-2px);
    }

.register-pro-back {
    height: 56px;
    border-radius: 15px;
    border: 2px solid #0f172a;
    color: #0f172a;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .register-pro-back:hover {
        background: #0f172a;
        color: #ffffff;
        text-decoration: none;
    }

.register-pro-login-box {
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 22px;
}

    .register-pro-login-box span {
        display: block;
        color: #0f172a;
        font-weight: 950;
        margin-bottom: 8px;
    }

    .register-pro-login-box a {
        color: #1d4ed8;
        font-weight: 950;
        text-decoration: none;
    }

        .register-pro-login-box a:hover {
            color: #0f172a;
        }

/* Responsive */

@media (max-width: 991px) {
    .register-pro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .register-pro-info {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .register-pro-page {
        padding: 60px 0;
    }

    .register-pro-card {
        padding: 24px;
        border-radius: 24px;
    }

    .register-pro-benefit {
        grid-template-columns: 1fr;
    }

    .register-pro-info h1 {
        font-size: 2.5rem;
    }
}

/* =========================================================
   FINAL STABILITY OVERRIDES - DO NOT REMOVE
   Dernier bloc: garde le site stable après toutes les pages
   ========================================================= */

/* Évite les débordements horizontaux après les grandes sections */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Les images ne doivent jamais casser leur conteneur */
img,
video,
svg {
    max-width: 100%;
}

/* Logo propre dans la navbar et le footer */
.navbar-brand img,
.site-logo img,
.header-logo,
.footer-logo {
    display: block;
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

/* Hero accueil : garde toujours l'image de fond */
.hero-section {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( 90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.76) 48%, rgba(15, 23, 42, 0.38) 100% ), url("/uploads/cars/hero-car.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay,
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Formulaires: gardent un style uniforme */
.form-control,
.form-select,
.search-input,
.search-select {
    min-height: 52px;
}

/* Inventaire: supporte les deux versions de classes utilisées dans tes fichiers */
.inventory-search-card,
.inventory-filter-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 5;
}

.inventory-filter-grid,
.inventory-search-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.8fr 0.8fr auto;
    gap: 14px;
    align-items: end;
}

.filter-field label,
.search-field label {
    display: block;
}

/* Cartes véhicules: boutons toujours cliquables */
.featured-card,
.vehicle-card,
.inventory-vehicle-card {
    position: relative;
}

    .featured-btn,
    .vehicle-card .btn,
    .vehicle-body .btn,
    .vehicle-actions,
    .vehicle-actions .btn {
        position: relative;
        z-index: 10;
    }

/* Images de cartes: affichage propre et professionnel */
.featured-image-container,
.vehicle-image-wrapper {
    position: relative;
    background: #ffffff;
}

.featured-image,
.vehicle-image {
    transition: transform 0.25s ease;
}

.featured-card:hover .featured-image,
.vehicle-card:hover .vehicle-image {
    transform: scale(1.035);
}

/* Détails véhicule: image principale cliquable/zoom */
.vehicle-main-image,
.vehicle-gallery-image {
    cursor: zoom-in;
}

    .vehicle-main-image:hover,
    .vehicle-gallery-image:hover {
        filter: brightness(0.96);
    }

/* Marques populaires: logo propre, sans texte parasite */
.popular-brands-section img,
.brands-section img,
.brand-logo img,
.brand-item img,
.brand-card img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Sécurité responsive */
.vehicle-details-layout,
.review-create-grid,
.review-create-layout,
.admin-login-layout,
.why-grid,
.finance-pro-layout,
.sell-pro-layout,
.contact-pro-layout,
.register-pro-layout {
    min-width: 0;
}

.vehicle-info-card,
.vehicle-gallery-card,
.review-form-card,
.admin-login-card,
.admin-form-card,
.finance-pro-form-card,
.sell-pro-form-card,
.contact-pro-form-card,
.register-pro-card {
    min-width: 0;
    max-width: 100%;
}

/* Rating / étoiles */
.rating-picker,
.star-rating,
.rating-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .rating-option,
    .star-rating label,
    .rating-options label {
        min-width: 48px;
        min-height: 48px;
        border: 2px solid #d1d5db;
        border-radius: 14px;
        background: #ffffff;
        color: #0f172a;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .rating-option:hover,
        .rating-option.active,
        .star-rating label:hover,
        .rating-options label:hover {
            border-color: var(--primary);
            background: var(--primary);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(29, 78, 216, 0.18);
        }

        .rating-option::before {
            content: "★";
            margin-right: 4px;
        }

/* Responsive final */
@media (max-width: 1200px) {
    .inventory-filter-grid,
    .inventory-search-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 78px 0;
    }

    .inventory-filter-grid,
    .inventory-search-grid,
    .finance-pro-layout,
    .sell-pro-layout,
    .contact-pro-layout,
    .register-pro-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .navbar-brand img,
    .site-logo img,
    .header-logo {
        max-height: 46px;
    }

    .rating-option,
    .star-rating label,
    .rating-options label {
        min-width: 42px;
        min-height: 42px;
    }

    .featured-link-overlay,
    .vehicle-link-overlay,
    .vehicle-image-link {
        z-index: 4;
    }
}
/* =========================================================
   POPULAR BRANDS - HOVER EFFECT
   ========================================================= */

.popular-brands-section a,
.brand-logo-link,
.brand-item,
.popular-brand-item {
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.popular-brands-section img,
.brand-logo-img,
.brand-logo,
.popular-brand-logo {
    transition: transform 0.25s ease, filter 0.25s ease;
    will-change: transform;
}

/* Effet quand on passe sur le logo */
.popular-brands-section a:hover img,
.brand-logo-link:hover img,
.brand-item:hover img,
.popular-brand-item:hover img {
    transform: scale(1.13);
    filter: brightness(1.06) contrast(1.08);
}

/* Petit effet aussi sur le bloc complet */
.popular-brands-section a:hover,
.brand-logo-link:hover,
.brand-item:hover,
.popular-brand-item:hover {
    transform: translateY(-4px);
}
.photo-order-card {
    display: grid;
    gap: 8px;
}

.photo-order-control {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
}

    .photo-order-control label {
        display: block;
        font-size: 0.75rem;
        font-weight: 900;
        color: #475569;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .photo-order-control input {
        min-height: 38px;
        border-radius: 10px;
        font-weight: 800;
        text-align: center;
    }