/* Réinitialisation des marges et des rembourrages */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #292b2c;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #292b2c;
}

.services {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.service {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
}

.service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.service h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.service p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #777;
}

button {
    background-color: #292b2c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1d1f20;
}


footer {
    background-color: #292b2c;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}


@media screen and (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }

    .service {
        margin: 0 auto 20px;
    }

    footer {
        padding: 1rem 0;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-links a {
        margin: 5px;
    }
}


body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

.text-block {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.text-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.text-block p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}