/**
 * ==========================================================================
 * MOTION DRIVE - CATALOGUE STYLES (REFONTE GRID LAYOUT & TRUST BAR)
 * ==========================================================================
 */

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--color-graphite) 0%, #1a1a1a 100%);
    padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(184, 115, 51, 0.2);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(184, 115, 51, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero__label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(184, 115, 51, 0.15);
    color: var(--color-copper-light);
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 30px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* TRUST BAR */
.trust-bar {
    background-color: var(--color-warm-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: var(--space-lg) 0;
}

.trust-bar__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-bar__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.1);
    border-color: rgba(184, 115, 51, 0.2);
}

.trust-bar__item svg {
    width: 32px;
    height: 32px;
    color: var(--color-copper);
    flex-shrink: 0;
}

.trust-bar__item-text strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-graphite);
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-bar__item-text span {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-stone);
}

@media (max-width: 992px) {
    .trust-bar__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-bar__items {
        grid-template-columns: 1fr;
    }
}

/* CATALOG SECTION */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-graphite);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--color-stone);
    max-width: 600px;
    margin: 0 auto;
}

/* SEARCH & FILTER AREA */
.search-filter-container {
    margin-bottom: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-stone);
    pointer-events: none;
    display: flex;
    align-items: center;
}

#vehicle-search {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-graphite);
}

#vehicle-search:focus {
    outline: none;
    border-color: var(--color-copper);
    box-shadow: 0 4px 20px rgba(184, 115, 51, 0.15);
}

/* FILTER BAR */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.filter-btn {
    padding: 10px 24px;
    background-color: white;
    color: var(--color-graphite);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    border-color: var(--color-copper);
    color: var(--color-copper);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--color-graphite);
    color: white;
    border-color: var(--color-graphite);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.25);
}

/* FEATURED GRID */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 640px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ITEM CARD */
.item-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(184, 115, 51, 0.3);
}

.item-card__image {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.item-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-card:hover .item-card__image img {
    transform: scale(1.08);
}

.item-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.badge--orange {
    background-color: var(--color-copper);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(184, 115, 51, 0.3);
}

.item-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-card__category {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.item-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-graphite);
    margin-bottom: 16px;
    line-height: 1.3;
}

.item-card__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-stone);
    font-size: var(--text-xs);
    font-weight: 600;
}

.item-card__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-card__meta svg {
    width: 18px;
    height: 18px;
    color: var(--color-copper);
}

.item-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.item-card__price {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-graphite);
}

.item-card__price abbr {
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-copper);
}

.item-card__price-label {
    font-size: 11px;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* BOUTON RÉSERVER CUIVRÉ DANS LA CARTE */
.item-card__footer .btn {
    padding: 10px 20px;
    background-color: var(--color-copper);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: var(--text-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.25);
}

.item-card__footer .btn:hover {
    background-color: var(--color-copper-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 115, 51, 0.35);
}
