/* ð RESET GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ð¹ HEADER */
header {
    background-color: black;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* â Nom de l'entreprise en jaune */
.logo a {
    text-decoration: none;
    color: #FFD700;
    font-weight: bold;
    font-size: 20px;
}

/* â MENU CENTRÉ */
.navbar {
    flex-grow: 1; /* Prend l'espace disponible pour bien centrer */
    display: flex;
    justify-content: center;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: 0.3s;
}

/* â Hover en doré pour la page active */
.navbar a:hover,
.navbar a.active {
    color: #FFD700;
}

/* â Icônes à droite */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* â Icônes (Cœur et Profil) en blanc */
.header-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.header-icons a:hover {
    color: #FFD700;
}
/* ð¹ FOOTER GLOBAL */
footer {
    background-color: black;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

/* â Conteneur Principal */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

/* â Sections du footer */
.footer-section {
    width: 22%;
    text-align: left;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: gold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: gold;
}

/* â Partie Réseaux Sociaux */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.social-links a:hover {
    color: gold;
}

/* â Newsletter */
.footer-newsletter {
    text-align: center;
    margin-top: 20px;
}

.footer-newsletter input {
    padding: 10px;
    width: 250px;
    border: none;
    border-radius: 5px;
}

.footer-newsletter button {
    padding: 10px 15px;
    border: none;
    background-color: gold;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.footer-newsletter button:hover {
    background-color: white;
    color: black;
}

/* â Copyright */
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* ð± Responsive Design */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
/* â Espacement dans le footer */
.footer-section h2 {
    font-size: 22px;
    margin-bottom: 12px; /* Espace sous le h2 */
    font-weight: bold;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.5; /* Améliore la lisibilité */
    margin-bottom: 15px; /* Espace sous le paragraphe */
}
/* â HERO SECTION */
.hero-section {
    background: url('assets/hero.jpg') no-repeat center center/cover;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

/* â Contenu central */
.hero-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6); /* Effet foncé sur le texte */
    padding: 20px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* â Barre de recherche */
.hero-content form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-content input {
    width: 60%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.hero-content button {
    background: gold;
    color: black;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-content button:hover {
    background: black;
    color: white;
}
/* â Section Statistiques */
.statistiques {
    background: #222;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.stat {
    width: 22%;
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: bold;
    color: #FFD700; /* Jaune pour ressortir */
}

.stat-text {
    font-size: 16px;
    margin-top: 5px;
}
/* â Section Pourquoi Choisir AUTO CLASS EXPORT */
.choix-auto-class {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.choix-auto-class h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: black;
}

.choix-auto-class .highlight {
    color: #FFD700; /* Texte "AUTO CLASS EXPORT" en doré */
}

.choix-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.choix-column {
    width: 45%;
    text-align: left;
}

.choix-column p {
    font-size: 18px;
    font-weight: 500;
    color: black;
    margin: 12px 0;
}

.puce {
    color: #FFD700;
    font-size: 22px;
    margin-right: 10px;
}
/* â Section Véhicules en Promotion */
.vehicules-promotion {
    padding: 50px 0;
    text-align: center;
    background: white;
}

.vehicules-promotion h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: black;
}

.vehicules-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.vehicule-card {
    position: relative;
    width: 23%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.vehicule-card:hover {
    transform: scale(1.05);
}

.vehicule-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.badge-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

.vehicule-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
    color: black;
}

.vehicule-card p {
    font-size: 14px;
    color: gray;
}

.old-price {
    text-decoration: line-through;
    color: red;
    font-weight: bold;
}

.new-price {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.btn-details {
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-details:hover {
    background: #222;
}

/* â Adaptation Mobile */
@media screen and (max-width: 768px) {
    .vehicules-list {
        flex-direction: column;
        align-items: center;
    }

    .vehicule-card {
        width: 90%;
    }
}
/* â Section Détails Véhicule */
.vehicule-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* â Image principale */
.image-section img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

/* â Galerie d'images */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.image-gallery img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.1);
}

/* â Informations du véhicule */
.infos-section {
    flex: 1;
    padding: 20px;
}

.infos-section h1 {
    font-size: 28px;
    font-weight: bold;
}

.infos-section p {
    font-size: 16px;
    color: gray;
    margin: 5px 0;
}

/* â Affichage des prix */
.old-price {
    text-decoration: line-through;
    color: red;
    font-weight: bold;
}

.new-price {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

/* â Badge Promo */
.badge-promo {
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

/* â Boutons */
.buttons {
    margin-top: 20px;
}

.btn-contact, .btn-favori {
    display: inline-block;
    padding: 12px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-contact {
    background: green;
    color: white;
}

.btn-contact:hover {
    background: darkgreen;
}

.btn-favori {
    background: black;
    color: white;
}

.btn-favori:hover {
    background: #222;
}
/* ð Correction de l'affichage des véhicules en grille */
.vehicules-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* ð Ajustement des cartes véhicules */
.vehicule-card {
    background: white;
    width: 270px; /* Taille fixe pour éviter des différences */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.vehicule-card:hover {
    transform: scale(1.05);
}

/* ð Images bien ajustées */
.vehicule-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

/* ð Style des prix */
.old-price {
    text-decoration: line-through;
    color: red;
    font-weight: bold;
}

.new-price {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

/* ð Bouton "Voir Détails" */
.btn-details {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-details:hover {
    background: #444;
}

/* ð Badge Promotion */
.badge-promo {
    display: inline-block;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
}
/* ð Outils en Vedette */
.outils-vedette {
    background: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
}

.outils-vedette h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

.outils-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.outil-card {
    background: white;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.outil-card:hover {
    transform: scale(1.05);
}

.outil-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.outil-card h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.outil-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.btn-outil {
    display: inline-block;
    padding: 10px 15px;
    background: black;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outil:hover {
    background: #444;
}

/* Table du Comparateur */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.compare-table th, .compare-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.compare-table th {
    background: black;
    color: white;
}

.compare-table img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.btn-clear {
    display: block;
    width: max-content;
    margin: 20px auto;
    padding: 10px 15px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.empty-message {
    text-align: center;
    font-size: 18px;
    color: gray;
}
/* ð SECTION NOUVEAUTÉS */
.vehicules-nouveaux {
    background: #f8f8f8;
    padding: 40px 0;
}

.vehicules-nouveaux h2 {
    text-align: center;
    font-size: 24px;
    color: black;
    margin-bottom: 20px;
}

/* â Affichage horizontal */
.vehicules-list.horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: nowrap; /* Empêche les véhicules de passer à la ligne */
    overflow-x: auto; /* Ajoute un défilement horizontal si besoin */
    padding-bottom: 10px;
}

.vehicule-card {
    width: 23%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    flex-shrink: 0; /* Empêche les cartes de se réduire */
}

.vehicule-card:hover {
    transform: scale(1.03);
}

.vehicule-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.vehicule-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.vehicule-card p {
    font-size: 14px;
    color: gray;
}

.vehicule-card .new-price {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.vehicule-card .btn-details {
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.vehicule-card .btn-details:hover {
    background: #222;
}
/* â Bouton "Voir Plus" */
.voir-plus-container {
    text-align: center;
    margin-top: 15px;
}

.btn-voir-plus {
    display: inline-block;
    background: white;
    color: black;
    border: 2px solid black;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-voir-plus:hover {
    background: black;
    color: white;
}
/* â Section Marques Populaires */
.marques-populaires {
    background-color: white; /* Fond blanc */
    padding: 50px 0;
    text-align: center;
}

.marques-populaires h2 {
    font-size: 26px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
}

/* â Conteneur des marques */
.marques-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes */
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* â Carte d'une marque */
.marque-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.marque-card img {
    width: 100px;  /* Taille du logo */
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.marque-card p {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

/* â Animation au survol */
.marque-card:hover {
    transform: scale(1.05);
}

/* â Bouton Voir Plus */
.btn-voir-plus {
    display: inline-block;
    background: black;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-voir-plus:hover {
    background: gold;
    color: black;
}

/* â Responsive (mobile) */
@media screen and (max-width: 768px) {
    .marques-list {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur petits écrans */
    }
}
/* â Section Témoignages */
.temoignages {
    background: white;
    padding: 50px 20px;
    text-align: center;
}

.temoignages h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

.temoignages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.temoignage-card {
    background: #f8f9fa;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.temoignage-card:hover {
    transform: scale(1.05);
}

.stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 10px;
}

.commentaire {
    font-style: italic;
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.client {
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.star-filled {
    color: #FFD700;
}

.star-empty {
    color: #ddd;
}
/* â Conteneur principal */
.container-temoignage {
    max-width: 500px;
    margin: 100px auto; /* Espace sous le header */
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* â Titre */
.titre-temoignage {
    font-size: 26px;
    color: black;
    margin-bottom: 20px;
}

/* â Formulaire */
.form-temoignage {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* â Champ */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* â Labels */
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* â Inputs & Textarea */
.form-temoignage input,
.form-temoignage textarea,
.form-temoignage select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* â Bouton de soumission */
.btn-temoignage {
    background: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-temoignage:hover {
    background: #222;
}
/* â Conteneur Principal */
.container-sav {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* â Titres */
.titre-sav {
    font-size: 28px;
    color: black;
    margin-bottom: 15px;
}

.intro-sav {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* â Sections */
.sav-section {
    margin-bottom: 30px;
    text-align: left;
    padding: 20px;
    background: #f8f9fa;
    border-left: 5px solid black;
    border-radius: 5px;
}

.sav-section h2 {
    font-size: 22px;
    color: black;
}

/* â Formulaire */
.form-sav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-sav input,
.form-sav textarea,
.form-sav select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-sav {
    background: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-sav:hover {
    background: #222;
}
/* Spécifique à la page Contact */
.contact-page {
    max-width: 800px;
    margin: 80px auto 50px; /* Évite que le contenu passe sous le header */
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Titre principal */
.contact-page h1 {
    text-align: center;
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

/* Sous-titre */
.contact-page p {
    text-align: center;
    font-size: 16px;
    color: #555;
}

/* Informations de contact */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    flex: 1 1 calc(50% - 10px);
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 18px;
    color: #0a1931;
}

.contact-item p {
    font-size: 16px;
    color: #444;
}

.contact-item a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
}

/* Formulaire */
.contact-page form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-page input, 
.contact-page select, 
.contact-page textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-page input:focus, 
.contact-page select:focus, 
.contact-page textarea:focus {
    border-color: #ff9800;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
}

/* Bouton envoyer */
.contact-page .btn-envoyer {
    background: #0a1931;
    color: #fff;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-page .btn-envoyer:hover {
    background: #ff9800;
}

/* Localisation (Google Map) */
.map-container {
    margin-top: 30px;
    text-align: center;
}

.map-container h2 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}
 /* Promo Banner */
 .promo-banner {
    background: #FFD700;
    color: black;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.toggle-switch {
    display: flex;
    border: 2px solid black;
    border-radius: 50px;
    overflow: hidden;
}

.toggle-option {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.toggle-option.selected {
    background: black;
    color: white;
}

.toggle-option:not(.selected) {
    background: white;
    color: black;
}

/* Filtres */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-container input {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Conteneur des véhicules */
.vehicules-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.vehicule-card {
    width: 23%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.vehicule-card:hover {
    transform: scale(1.03);
}

.vehicule-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.vehicule-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.vehicule-card p {
    font-size: 14px;
    color: gray;
}

/* Prix barré */
.old-price {
text-decoration: line-through;
color: red !important;
font-weight: bold;
}


.new-price {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

/* Badge Promo */
.badge-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
}

.vehicule-card .btn-details {
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.vehicule-card .btn-details:hover {
    background: #222;
}
/* Assure que le header est fixe et ne chevauche pas le contenu */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header fixe en haut */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0a1931; /* Couleur du header */
    color: white;
    z-index: 1000; /* Pour qu'il soit au-dessus du contenu */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Empêche le chevauchement du contenu sous le header */
.container {
    margin-top: 80px; /* Ajuste selon la hauteur de ton header */
    padding: 20px;
}

/* Assure que toutes les pages ont un bon espacement sous le header */
main {
    padding-top: 80px; /* Doit être égal à la hauteur du header */
}

/* Fixe le footer en bas de page */
footer {
    width: 100%;
    background: #0a1931;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Section contenant les images */
.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Image principale */
.image-section img#main-image {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    object-fit: cover;
}

/* Galerie des miniatures (5 par ligne, max 10) */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    max-width: 100%;
    margin-top: 10px;
}

.image-gallery img {
    width: 100%;
    height: 80px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
    object-fit: cover;
}

.image-gallery img:hover {
    transform: scale(1.1);
}

/* Section des informations (maintenant en bas) */
.infos-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

/* Style du titre */
.infos-section h1 {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

/* Informations principales */
.categorie {
    font-size: 18px;
    font-weight: bold;
    color: #777;
}

.annee, .km {
    font-size: 16px;
    color: #555;
}

/* Prix en promotion */
.old-price {
    font-size: 16px;
    color: red;
}

.new-price {
    font-size: 22px;
    font-weight: bold;
    color: green;
}

/* Badge promo */
.badge-promo {
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}

/* Description */
.description {
    margin-top: 15px;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* Boutons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-contact {
    background: #25d366;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.favori-btn {
    background: #ff0000;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-comparer {
    background: #ffcc00;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* â HEADER UNIVERSEL */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0a1931;
    color: white;
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* â Conteneur du header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* â Logo */
.logo a {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* â Navbar (PC) */
.navbar {
    display: flex;
    gap: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
}

.navbar a:hover,
.navbar a.active {
    color: #ffcc00;
}

/* â Icônes Favoris & Profil */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* â Bouton Menu Burger */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: none;
}

/* â Navigation mobile */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #0a1931;
    padding: 15px 0;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 10px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* â Afficher le menu mobile quand actif */
.mobile-menu.show {
    display: block;
}

/* â Adaptation pour mobile */
@media screen and (max-width: 768px) {
    .navbar {
        display: none; /* Cache le menu PC */
    }

    .menu-toggle {
        display: block; /* Affiche le bouton menu burger */
    }
}
/* â Ajustement des véhicules sur mobile */
@media screen and (max-width: 768px) {
    .vehicules-container {
        display: flex;
        flex-direction: column; /* Une seule colonne */
        gap: 15px;
    }

    .vehicule-card {
        width: 100%; /* Pleine largeur */
        max-width: 95%;
        margin: auto;
        padding: 15px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .vehicule-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .vehicule-card h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0;
    }

    .vehicule-card p {
        font-size: 16px;
        color: #444;
    }

    .vehicule-card .btn {
        width: 100%; /* Bouton pleine largeur */
        padding: 12px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
    }
}

/* â Adaptation des statistiques sur mobile (2 colonnes, 2 lignes bien équilibrées) */
@media screen and (max-width: 768px) {
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
        grid-template-rows: repeat(2, auto); /* 2 lignes */
        gap: 10px;
        width: 90%;
        max-width: 400px;
        margin: auto;
        text-align: center;
        padding: 20px 0;
    }

    .stat-box {
        background: white;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .stat-box h2 {
        font-size: 24px;
        font-weight: bold;
        color: #ffcc00;
        margin-bottom: 5px;
    }

    .stat-box p {
        font-size: 14px;
        color: #444;
    }
}
/* Conteneur principal */
.container-temoignage {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Titres */
.titre-temoignage {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #0a1931;
    margin-bottom: 20px;
}

/* Grille des témoignages (2 colonnes, responsive) */
.temoignages-valides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Témoignage individuel */
.temoignage-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.temoignage-card h3 {
    margin: 0;
    font-size: 18px;
    color: #0a1931;
    font-weight: bold;
}

.temoignage-card .date {
    font-size: 12px;
    color: gray;
    margin-bottom: 5px;
}

.temoignage-card .commentaire {
    font-style: italic;
    font-size: 14px;
    margin: 10px 0;
}

.temoignage-card .note {
    font-size: 16px;
    color: gold;
}

/* Boutons Voir Plus / Voir Moins */
.btn-voir-plus, .btn-voir-moins {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    transition: 0.3s;
}

.btn-voir-plus:hover, .btn-voir-moins:hover {
    background: #0056b3;
}

/* Masquer les lignes supplémentaires au départ */
.hidden-row {
    display: none;
}

/* Formulaire Témoignage */
.form-temoignage {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* Bouton Soumettre en noir */
.btn-temoignage {
    background: #000;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-temoignage:hover {
    background: #333;
}


