﻿/* ========================================
   PAGE HOME COMPLÈTE - CARPRO PRO
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #64b22a;
    --secondary-color: #1A1A1A;
    --text-light: #f5f5f5;
    --text-dark: #333;
    --bg-dark-hero: #1e2630;
    --bg-light: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(to bottom, rgba(30, 38, 48, 0.85) 0%, rgba(30, 38, 48, 0.92) 100%), url('images/car.jpg') no-repeat center center;
    background-size: cover;
    padding: 70px 0 90px;
    color: var(--text-light);
    text-align: center;
}

.hero-text {
    margin-bottom: 35px;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border: none !important;
    outline: none !important;
    background: none !important;
    padding: 0 !important;
}

.hero-subtitle {
    font-size: 19px;
    font-weight: 400;
    opacity: 0.92;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

/* Avantages */
.value-propositions {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 45px;
}

    .value-propositions span {
        display: flex;
        align-items: center;
    }

    .value-propositions i {
        color: var(--primary-color);
        margin-right: 8px;
        font-size: 16px;
    }

/* Formulaire de Recherche */
.search-box {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 35px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    background: transparent;
    color: var(--text-dark);
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    border-radius: 8px 8px 0 0;
}

    .tab-button:not(.active) {
        color: #666;
        background-color: #f5f5f5;
    }

    .tab-button.active {
        color: var(--primary-color);
        background-color: #fff;
        position: relative;
    }

        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-color);
        }

.search-form {
    padding: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.select-group {
    flex: 1;
}

    .select-group label {
        font-size: 12px;
        font-weight: 500;
        color: var(--text-dark);
        margin-bottom: 7px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .select-group select {
        width: 100%;
        padding: 11px;
        border: 1px solid #ccc;
        border-radius: 5px;
        color: var(--text-dark);
        background: #fff;
        font-size: 15px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 1em;
    }

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 11px 24px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    height: 46px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .search-button:hover {
        background-color: #4a8a1f;
    }

/* Bouton Espace Client */
.client-area-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

    .client-area-button:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(100, 178, 42, 0.4);
    }

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    background: white;
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #4a8a1f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .stat-icon i {
        font-size: 24px;
        color: white;
    }

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin: 0 0 6px 0;
}

.stat-badge {
    display: inline-block;
    background: rgba(100, 178, 42, 0.1);
    color: var(--primary-color);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-story p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.about-story strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .stat-inline i {
        font-size: 28px;
        color: var(--primary-color);
    }

    .stat-inline div {
        display: flex;
        flex-direction: column;
    }

    .stat-inline strong {
        display: block;
        font-size: 22px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 2px;
    }

    .stat-inline span {
        font-size: 12px;
        color: #666;
    }

.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.about-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

    .about-link-btn:not(.secondary) {
        background: var(--primary-color);
        color: white;
        border: 2px solid var(--primary-color);
    }

    .about-link-btn.secondary {
        background: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .about-link-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(100, 178, 42, 0.3);
    }

.about-image-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0,0, 0.15);
    margin-bottom: 20px;
}
    .about-image-main img {
        width: 100%;
        height: auto;
        display: block;
    }

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 18px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

    .about-badge i {
        font-size: 32px;
    }

    .about-badge div {
        display: flex;
        flex-direction: column;
    }

    .about-badge strong {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
    }

    .about-badge span {
        font-size: 12px;
        opacity: 0.9;
    }

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

    .about-feature-item:hover {
        transform: translateX(8px);
        box-shadow: 0 6px 20px rgba(100, 178, 42, 0.2);
    }

    .about-feature-item i {
        font-size: 24px;
        color: var(--primary-color);
    }

    .about-feature-item span {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
    }
/* ========================================
BRANDS INFINITE SCROLL
======================================== */
.brands-section-infinite {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 80px 0;
    overflow: hidden;
}

.section-header {
    text-align: center !important;
    margin-bottom: 50px;
}

.section-header-content {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.section-subtitle {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 auto 15px auto !important; /* ✅ Centrage forcé */
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.section-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.brands-scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    position: relative;
    background: white;
    margin: 40px 0;
}

    .brands-scroll-container::before,
    .brands-scroll-container::after {
        content: '';
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .brands-scroll-container::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }

    .brands-scroll-container::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }

.brands-scroll-track {
    display: flex;
    gap: 30px;
    animation: scroll-infinite 40s linear infinite;
    width: fit-content;
}

    .brands-scroll-track:hover {
        animation-play-state: paused;
    }

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item-scroll {
    flex-shrink: 0;
    width: 200px;
}

.brand-card-scroll {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .brand-card-scroll::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), #4a8a1f);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .brand-card-scroll:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 15px 45px rgba(100, 178, 42, 0.25);
        border-color: var(--primary-color);
    }

        .brand-card-scroll:hover::before {
            transform: scaleX(1);
        }

.brand-logo-scroll {
    width: 100%;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.8;
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

.brand-card-scroll:hover .brand-logo-scroll {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.brand-overlay-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-name-scroll {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-count-scroll {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

    .brand-count-scroll::after {
        content: ' produits';
    }

.brand-card-scroll:hover .brand-count-scroll {
    color: var(--primary-color);
}
/* Footer marques */
.brands-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 25px 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brands-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #666;
}

    .brands-count i {
        color: var(--primary-color);
        font-size: 20px;
    }

    .brands-count strong {
        color: var(--text-dark);
        font-weight: 700;
    }

.brands-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(100, 178, 42, 0.3);
}

    .brands-link-btn:hover {
        background: #4a8a1f;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(100, 178, 42, 0.5);
    }

    .brands-link-btn i {
        transition: transform 0.3s;
    }

    .brands-link-btn:hover i {
        transform: translateX(5px);
    }
/* ========================================
WHY US SECTION
======================================== */
.why-us-section {
    background: white;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #4a8a1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(100, 178, 42, 0.3);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.feature-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
/* ========================================
RESPONSIVE
======================================== */
/* ========================================
   CORRECTIFS MOBILE - HERO SECTION
   ======================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Stats Grid: 4 → 2 colonnes */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Features Grid: 4 → 3 colonnes */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Search Box */
    .search-box {
        max-width: 90%;
    }

    /* About Content */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats-inline {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   TABLET (≤ 960px)
   ======================================== */
@media (max-width: 960px) {
    /* ===== HERO SECTION ===== */
    .hero-section {
        padding: 50px 0 70px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Value Propositions en colonne */
    .value-propositions {
        flex-direction: column;
        gap: 12px;
        font-size: 14px;
        align-items: center;
    }

    /* Search Box */
    .search-box {
        max-width: 95%;
    }

    .search-form {
        flex-wrap: wrap;
        gap: 12px;
    }

    .select-group {
        flex: 1 1 calc(50% - 6px);
        min-width: 150px;
    }

    .search-button {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Client Area Button */
    .client-area-button {
        width: 90%;
        max-width: 400px;
        justify-content: center;
    }

    /* ===== STATS SECTION ===== */
    .stats-section {
        padding: 40px 0;
        margin-top: -30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

        .stat-icon i {
            font-size: 20px;
        }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* ===== ABOUT SECTION ===== */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story p {
        font-size: 14px;
    }

    .about-stats-inline {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-inline {
        justify-content: flex-start;
    }

    .about-cta {
        flex-wrap: wrap;
    }

    .about-link-btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-width: 150px;
    }

    /* ===== BRANDS SECTION ===== */
    .brands-section-infinite {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 14px;
    }

    .brands-scroll-container {
        padding: 40px 0;
    }

    .brand-item-scroll {
        width: 160px;
    }

    .brand-card-scroll {
        padding: 20px 15px;
    }

    .brand-logo-scroll {
        height: 70px;
    }

    .brands-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* ===== WHY US SECTION ===== */
    .why-us-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

        .feature-icon i {
            font-size: 24px;
        }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 12px;
    }

    /* ===== NAVIGATION ===== */
    .top-bar-content .hours {
        display: none;
    }

    .search-bar {
        display: none;
    }

    .menu-links {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }

        .menu-links a {
            white-space: nowrap;
            font-size: 12px;
        }
}

/* ========================================
   MOBILE LARGE (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
    /* ===== HERO SECTION ===== */
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    /* Search Box 100% */
    .search-box {
        max-width: 100%;
        margin: 0 auto 25px;
    }

    .search-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .search-tabs::-webkit-scrollbar {
            display: none;
        }

    .tab-button {
        padding: 10px 16px;
        font-size: 11px;
        white-space: nowrap;
    }

    .search-form {
        padding: 16px;
        flex-direction: column;
    }

    .select-group {
        flex: 1 1 100%;
        width: 100%;
    }

        .select-group label {
            font-size: 11px;
            margin-bottom: 5px;
        }

        .select-group select,
        .select-group input {
            padding: 10px;
            font-size: 14px;
        }

    .search-button {
        width: 100%;
        padding: 12px;
        font-size: 13px;
        height: auto;
    }

    .client-area-button {
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* ===== STATS SECTION ===== */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        flex-direction: row;
        padding: 15px;
    }

    /* ===== ABOUT SECTION ===== */
    .about-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .about-image-main {
        margin-bottom: 15px;
    }

    .about-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 11px;
    }

        .about-badge i {
            font-size: 24px;
        }

    .about-features {
        gap: 10px;
    }

    .about-feature-item {
        padding: 12px 15px;
    }

        .about-feature-item i {
            font-size: 20px;
        }

        .about-feature-item span {
            font-size: 13px;
        }

    .about-cta {
        flex-direction: column;
    }

    .about-link-btn {
        width: 100%;
        flex: 1 1 100%;
    }

    /* ===== BRANDS SECTION ===== */
    .brand-item-scroll {
        width: 140px;
    }

    .brand-logo-scroll {
        height: 60px;
    }

    /* ===== FEATURES GRID ===== */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE MEDIUM (≤ 600px)
   ======================================== */
@media (max-width: 600px) {
    /* ===== GENERAL ===== */
    .container {
        padding: 0 15px;
    }

    /* ===== HERO SECTION ===== */
    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .value-propositions {
        font-size: 13px;
        gap: 10px;
    }

        .value-propositions i {
            font-size: 14px;
        }

    .search-box {
        border-radius: 6px;
    }

    .search-form {
        padding: 12px;
        gap: 10px;
    }

    .select-group label {
        font-size: 10px;
    }

    .select-group select,
    .select-group input {
        padding: 9px;
        font-size: 13px;
    }

    .search-button {
        padding: 10px;
        font-size: 12px;
    }

    .tab-button {
        padding: 8px 12px;
        font-size: 10px;
    }

    .client-area-button {
        padding: 10px 16px;
        font-size: 12px;
        gap: 6px;
    }

    /* ===== STATS SECTION ===== */
    .stats-section {
        padding: 30px 0;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

        .stat-icon i {
            font-size: 18px;
        }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    /* ===== ABOUT SECTION ===== */
    .about-section {
        padding: 30px 0;
    }

    .section-subtitle {
        font-size: 10px;
        padding: 5px 14px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 13px;
    }

    .about-story p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .stat-inline i {
        font-size: 24px;
    }

    .stat-inline strong {
        font-size: 18px;
    }

    .stat-inline span {
        font-size: 11px;
    }

    .about-link-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* ===== BRANDS SECTION ===== */
    .brands-section-infinite {
        padding: 40px 0;
    }

    .brands-scroll-container {
        padding: 30px 0;
    }

    .brand-item-scroll {
        width: 130px;
    }

    .brand-card-scroll {
        padding: 15px 12px;
    }

    .brand-logo-scroll {
        height: 55px;
        margin-bottom: 15px;
    }

    .brand-name-scroll {
        font-size: 14px;
    }

    .brands-footer {
        padding: 20px 25px;
    }

    .brands-count {
        font-size: 14px;
    }

    .brands-link-btn {
        padding: 10px 24px;
        font-size: 13px;
    }

    /* ===== WHY US SECTION ===== */
    .why-us-section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }

        .feature-icon i {
            font-size: 22px;
        }

    .feature-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 11px;
        line-height: 1.5;
    }

    /* ===== NAVIGATION ===== */
    .top-bar {
        font-size: 11px;
        padding: 5px 0;
    }

    .top-bar-content .phone i {
        font-size: 10px;
    }

    .nav-content {
        padding: 10px 15px;
    }

    .logo img.carpro-logo {
        height: 40px;
    }

    .menu-links {
        padding: 8px 15px;
    }

        .menu-links a {
            font-size: 11px;
        }

    /* ===== FOOTER ===== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column p,
    .footer-links a {
        font-size: 12px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

        .footer-bottom p {
            font-size: 12px;
        }
}

/* ========================================
   MOBILE SMALL (≤ 480px)
   ======================================== */
@media (max-width: 480px) {
    /* ===== HERO SECTION ===== */
    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .value-propositions {
        font-size: 12px;
    }

    .search-form {
        padding: 10px;
        gap: 8px;
    }

    .select-group select,
    .select-group input {
        padding: 8px;
        font-size: 12px;
    }

    .search-button {
        padding: 9px;
        font-size: 11px;
    }

    .client-area-button {
        padding: 9px 14px;
        font-size: 11px;
    }

    /* ===== STATS CARD ===== */
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    /* ===== ABOUT SECTION ===== */
    .section-title {
        font-size: 20px;
    }

    .about-story p {
        font-size: 12px;
    }

    .stat-inline {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

        .stat-inline i {
            font-size: 28px;
        }

    .about-badge {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }

    /* ===== BRANDS SECTION ===== */
    .brand-item-scroll {
        width: 120px;
    }

    .brand-logo-scroll {
        height: 50px;
    }

    .brand-name-scroll {
        font-size: 13px;
    }

    /* ===== FEATURES ===== */
    .feature-icon {
        width: 50px;
        height: 50px;
    }

        .feature-icon i {
            font-size: 20px;
        }

    .feature-title {
        font-size: 14px;
    }

    .feature-description {
        font-size: 11px;
    }
}

/* ========================================
   UTILITIES RESPONSIVE
   ======================================== */

/* Masquer sur mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Afficher uniquement sur mobile */
.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}

/* Texte centré sur mobile */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Pleine largeur sur mobile */
@media (max-width: 768px) {
    .full-width-mobile {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Stack vertical sur mobile */
@media (max-width: 768px) {
    .stack-mobile {
        flex-direction: column !important;
    }
}

/* ========================================
   FIXES SPÉCIFIQUES
   ======================================== */

/* Éviter le débordement horizontal */
* {
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Éviter les longues URLs de casser la mise en page */
a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Touch targets suffisamment grands (44x44px minimum) */
@media (max-width: 768px) {
    button,
    a.button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Améliorer la lisibilité des formulaires sur mobile */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important; /* Évite le zoom automatique sur iOS */
    }
}

/* Scrollbar personnalisée uniquement sur desktop */
@media (min-width: 769px) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    ::-webkit-scrollbar-thumb {
        background: #64b22a;
        border-radius: 5px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: #4a8a1f;
        }
}






