/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #212529;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* ===== COULEURS ===== */
:root {
    --mauve: #b1a1ed;
    --orange: #ff914d;
    --vert: #336b6d;
    --blanc: #ffffff;
    --noir: #212529;
    --gris-clair: #f8f9fa;
    --gris-fonce: #495057;
}

/* ===== HEADER ===== */
header {
    background-color: var(--blanc);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--orange);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanc);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sous-titre {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===== BOUTONS ===== */
.bouton-mauve {
    background-color: var(--mauve);
    color: var(--blanc);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin: 10px 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.bouton-mauve:hover {
    background-color: #9a86d9;
}

.bouton-orange {
    background-color: var(--orange);
    color: var(--blanc);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin: 10px 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.bouton-orange:hover {
    background-color: #e67a35;
}

.bouton-vert {
    background-color: var(--vert);
    color: var(--blanc);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin: 10px 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.bouton-vert:hover {
    background-color: #2a5257;
}

/* ===== SECTIONS GÉNÉRALES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 60px 0;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--noir);
    font-weight: 700;
}

/* ===== À PROPOS ===== */
.a-propos {
    background-color: var(--blanc);
}

.propos-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.propos-text {
    flex: 1;
}

.propos-image {
    flex: 1;
}

.propos-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== PRESTATIONS ===== */
.prestations {
    background-color: var(--gris-clair);
}

.cartes-prestations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.carte {
    background-color: var(--blanc);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.icone {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.carte h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--mauve);
    font-weight: 700;
}

/* ===== OPTION MÉCANIQUE (avec image) ===== */
.mecanique-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mecanique-text {
    flex: 1;
    text-align: left;
}

.mecanique-image {
    flex: 1;
    text-align: center;
}

.mecanique-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .mecanique-content {
        flex-direction: column;
    }
    .mecanique-image {
        margin-top: 20px;
    }
}
/* ===== MES CRÉATIONS ===== */
.creations {
    background-color: var(--gris-clair);
}

.creations > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.galerie-creations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.creation {
    width: 45%;
    min-width: 300px;
    text-align: center;
    background-color: var(--blanc);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.creation img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.creation h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--mauve);
    font-weight: 700;
}

.creation p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--gris-fonce);
}

/* ===== CONTACT ===== */
.contact {
    background-color: var(--blanc);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.coordonnees, .formulaire {
    flex: 1;
    min-width: 300px;
    background-color: var(--blanc);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.coordonnees h3, .formulaire h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--mauve);
    font-weight: 700;
}

.coordonnees p {
    margin-bottom: 10px;
}

.coordonnees a {
    color: var(--orange);
    text-decoration: none;
}

.coordonnees a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form select, form textarea {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form button {
    align-self: center;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--noir);
    color: var(--blanc);
    text-align: center;
    padding: 20px;
}

footer a {
    color: var(--orange);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .propos-content {
        flex-direction: column;
    }

    .cartes-prestations {
        flex-direction: column;
        align-items: center;
    }

    .carte {
        width: 80%;
    }

    .contact-content {
        flex-direction: column;
    }

    .coordonnees, .formulaire {
        width: 90%;
    }

    .galerie-creations {
        flex-direction: column;
        align-items: center;
    }

    .creation {
        width: 90%;
    }
}
