
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #222;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    border-bottom: 1px solid #eee;
}

header h2 {
    font-size: 21px;
}

header h2 span {
    color: #e32636;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
}

.admin {
    background: #e32636;
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 5px;
}

.hero {
    background: #f5f5f5;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.hero p {
    color: #666;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #e32636;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    text-decoration: none;
}

.vehicules {
    text-align: center;
    padding: 70px 20px;
}

.vehicules h2 {
    margin-bottom: 15px;
}

footer {
    background: #171717;
    color: white;
    text-align: center;
    padding: 35px 15px;
}

footer p {
    margin-top: 12px;
}

@media (max-width: 700px) {
    header {
        flex-wrap: wrap;
        gap: 20px;
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .hero h1 {
        font-size: 27px;
    }
}




.catalogue {
    padding: 60px 6%;
    text-align: center;
}

.catalogue h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.catalogue > p {
    color: #777;
    margin-bottom: 35px;
}

.voitures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    text-align: left;
}

.voiture {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.voiture img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.infos {
    padding: 20px;
}

.infos h3 {
    margin-bottom: 12px;
}

.infos p {
    color: #666;
    margin-bottom: 10px;
}

.prix {
    color: #e32636;
    margin: 18px 0;
}




.btn-whatsapp {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 13px;
    margin: 12px;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
}
