/* Couleurs générales - À ADAPTER AVEC LES COULEURS DE TON LOGO */
:root {
    --primary-color: #5f5d5b; /* marron foncé */
    --secondary-color: #bfbbb8; /* marron plus clair */
    --accent-color: #228f9c;   /* boutons */
    --text-color: #333;
    --background-color: #f8f8f8;
    --light-gray: #eee;
    --dark-gray: #666;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header --- */
header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 110px; /* Ajuste la taille de ton logo */
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

/* --- Hero Section --- */
#hero {
    background: var(--primary-color); /* Utilise une couleur de ton logo */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: darken(var(--accent-color), 10%); /* Nécessite un préprocesseur CSS ou une couleur manuelle */
}

/* --- Sections Générales --- */
section {
    padding: 60px 0;
}

section:nth-of-type(even) { /* Pour alterner les couleurs de fond des sections */
    background-color: var(--light-gray);
}

h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Services --- */
.service-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.service-item h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

/* --- Ils nous font confiance --- */
#confiance {
    background-color: var(--primary-color);
    color: #fff;
}

#confiance h2 {
    color: #fff;
}

#confiance h2::after {
    background-color: #fff; /* Ligne blanche sur fond bleu */
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.client-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: grayscale(100%) brightness(200%); /* Pour des logos monochromes sur fond coloré */
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: none; /* Rétablit les couleurs au survol */
}

/* --- Contact Form --- */
#contact form {
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#contact form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-gray);
}

#contact form input,
#contact form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1em;
}

#contact form button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

#contact form button:hover {
    background-color: darken(var(--primary-color), 10%);
}

.contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- Vidéos et Photos (pages dédiées) --- */
.video-grid, .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item iframe {
    width: 100%;
    height: 350px; /* Ajuste la hauteur si nécessaire */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-item h3, .photo-item p {
    margin-top: 15px;
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.1em;
}

.photo-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.youtube-link {
    text-align: center;
    margin-top: 30px;
}

.youtube-link a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2em;
}

.youtube-link a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.9em;
}

footer nav ul {
    justify-content: center;
    margin-top: 10px;
}

footer nav ul li a {
    color: #fff;
    border-bottom: 1px solid transparent;
}

footer nav ul li a:hover {
    border-bottom: 1px solid #fff;
    background-color: transparent;
}

/* --- Responsive Design (pour mobile) --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap; /* Permet aux liens de passer à la ligne */
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    #hero h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 2em;
    }

    .service-item, .client-logo, .video-item, .photo-item {
        margin-bottom: 20px;
    }
}