body {
    background-color:#111111;
color: white;
font-family : "Montserrat", sans-serif;
}
img {
    width: 350px;
}
h1 {
    color: #d4af37;
    font-size: 40px;
    text-align: center;
    }
h2 {
    text-align: center;
    }
.slogan {
    text-align: center;
    color: #d4af37; 
}

nav {
    text-align: center;
    margin: 30px 0;
    }
    nav a {
        color : white;
        text-decoration: none;
        margin: 0 20px;
        }

    nav a:hover {
        color: #d4af37;
        }
    .voiture { 
    background-color: #1c1c1c;
    width: 350px;
    padding: 20px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    }

    .voiture img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: white;
    border-radius: 10px;
}

    .voiture button { 
        background-color: #d4af37;
        color: #111111;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        }
    .voiture a {
    display: inline-block;
    background-color: #d4af37;
    color: #111111;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.liste-voitures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px auto;
    flex-wrap: wrap;
    }

.voiture {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.voiture:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}
nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    border-bottom: 1px solid #d4af37;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d4af37;
}
.accueil {
    text-align: center;
    padding: 25px 20px;
}

.accueil h2 {
    color: #d4af37;
    font-size: 36px;
}

.accueil p {
    color: #dddddd;
    font-size: 18px;
    margin-bottom: 30px;
}

.bouton-accueil {
    display: inline-block;
    background-color: #d4af37;
    color: #111111;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.bouton-accueil:hover {
    background-color: #f0cc55;
}
@media (max-width: 768px) {
    .liste-voitures {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        }

    .voiture {
        width: 90%;
        max-width: 350px;
        box-sizing: border-box;
        margin: 10px auto;
        }
    .voiture img {
        width: 100%;
        height: 220px;
        object-fit: contain;
        }
}
.avantages {
    text-align: center;
    padding: 50px 20px;
}

.avantages h2 {
    color: #d4af37;
    margin-bottom: 30px;
}

.liste-avantages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.avantage {
    background-color: #1c1c1c;
    padding: 25px;
    border-radius: 15px;
    width: 250px;
}

.avantage h3 {
    color: #d4af37;
}
input[type="date"] {
    padding: 12px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background-color: #1c1c1c;
    color: white;
    font-size: 16px;
}
footer {
    background-color: #1c1c1c;
    text-align: center;
    padding: 35px 20px;
    margin-top: 50px;
    border-top: 2px solid #d4af37;
}

footer h2 {
    color: #d4af37;
    font-size: 26px;
}

footer p {
    color: #dddddd;
    font-size: 15px;
}
.lien-whatsapp {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.lien-whatsapp:hover {
    text-decoration: underline;
}
.voiture {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voiture:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.25);
}
.avantage {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avantage:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.25);
}
/* Menu sur ordinateur */

.menu-toggle {
    display: none;
}
/* Menu sur téléphone */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        margin: 10px auto;
        background-color: #d4af37;
        color: black;
        border: none;
        padding: 12px 18px;
        border-radius: 8px;
        font-size: 22px;
        cursor: pointer;
    }

    .liens-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .liens-menu.ouvert {
        display: flex;
    }
}
html {
    scroll-behavior: smooth;
}
.retour-haut {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #d4af37;
    color: #111111;
    padding: 12px 18px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.retour-haut:hover {
    background-color: #f0cc55;
}
.retour-haut.visible {
    opacity: 1;
    visibility: visible;
}
.infos-contact {
    text-align: center;
    margin: 25px auto;
}

.infos-contact p {
    margin: 15px 0;
    font-size: 18px;
}
.bouton-contact {
    text-align: center;
    margin: 25px 0 40px;
}

.bouton-contact a {
    display: inline-block;
    background-color: #d4af37;
    color: #111111;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.bouton-contact a:hover {
    background-color: #f0cc55;
}
@media (max-width: 768px) {
    form {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
.logo {
  display: block;
  width: 300px;
  max-width: 90%;
  height: auto;
  margin: 20px auto;
}
body > h1 {
  margin: 0;
  padding: 5px 0;
  line-height: 1;
}

body > h1 .logo {
  margin: 0 auto;
}
/* Logo en haut du site */
body > h1 {
  margin: 0;
  padding: 0;
}

.logo {
  width: 220px;
  max-width: 90%;
  height: auto;
  margin: 0 auto;
}

/* Réduire l'espace avant le texte d'accueil */
.accueil {
  padding-top: 20px;
  margin-top: 0;
}
.accueil {
    padding-top: 0px;
    padding-bottom: 20px;
}

.accueil h2 {
    margin-top: 20px;
}