body {
    background-color: rgba(247, 250, 198, 0.46);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    border-bottom: 1px solid black;
}

.marque {
    font-size: 50px;
    margin: 0;
}

nav {
    width: 455px;
}

nav a {
    position: relative;
    text-decoration: none;
    font-size: 25px;
    color: black;
    margin-right: 20px;
    left: 14px;
}

#logo {
    position: relative;
    float: right;
    margin-right: 15px;
    margin-left: 50px;
    margin-top: 20px;
    width: 378px;
    height: 419px;
    padding-top: 25px;
}

.presentation {
    position: relative;
    margin-top: 25px;
    height: auto;
}

.presText {
    position: relative;
    top: 25px;
    padding-left: 80px;
    text-align: center;
    line-height: 35px;
}

.presText p {
    font-size: 25px;
}

.presText p::first-line {
    font-size: 40px;
    line-height: 150px;
}

.travaux {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 15px;
    margin: 20px;
}

.travaux > a {
    text-decoration: none;
    color: white;
}

.travaux > a:hover {
    transform: scale(1.05);
}

.creation, .modification, .reparation {
    padding: 15px;
    background-color: rgba(188, 193, 106, 0.84);
    border-radius: 10px;
    box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.3);
}

#form_contact {
    width: 400px;
    margin: 30px auto;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.3);
    padding: 15px;
}

.nom, .prenom, .email, .tel, .acocher, .envoie, .commande {
    margin-top: 10px;
}

#nom, #prenom, #email, #tel {
    float: right;
    width: 150px;
}

footer {
    background-color: rgba(188, 193, 106, 0.84);
    margin-top: 30px;
    height: 100px;
    width: 100%;
}

#liens {
    position: relative;
    top: 10px;
    text-align: center;
}

#liens a {
    text-decoration: none;
    color: black;
    margin: 0 10px;
}

/* === Galerie produits === */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px;
    margin: 0 10px;
}

.item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item img {
    width: 100%;
    height: auto;
    display: block;
}

.info {
    padding: 10px;
}

.info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info li {
    margin-bottom: 5px;
    font-size: 0.95em;
}

/* =============================
   MEDIA QUERIES - Responsive
============================= */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    nav {
        width: 100%;
        margin-top: 10px;
    }

    #logo {
        display: none;
    }

    .presentation .presText {
        padding-left: 0;
        padding-right: 0;
    }

    .presText p {
        font-size: 20px;
    }

    .presText p::first-line {
        font-size: 30px;
        line-height: 1.5;
    }

    .travaux {
        grid-template-columns: 1fr;
        margin: 10px;
    }

    #form_contact {
        width: 90%;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    nav a {
        font-size: 20px;
        display: block;
        margin-bottom: 10px;
    }

    .marque {
        font-size: 35px;
    }
}
