:root {
    --primary: #1c6acc;
    --accent: #ffb347;
    --bg: #f6f8fc;
    --card-shadow: 0 4px 24px rgba(28, 106, 204, 0.08);
    --secondary: rgb(207, 206, 206);
    --accent: #1c6acc;
}

body {
    background: var(--bg);
}

h1 {
    color: var(--secondary);
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border-bottom: 4px solid rgb(220, 219, 219);
    display: inline-block;
    padding-bottom: 6px;
    background: none;
    -webkit-text-fill-color: initial;
}

.prestations-grid {
    padding-bottom: 32px;
}

.prestation {
    border: 2px solid rgb(230, 230, 230);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.prestation::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: var(--accent);
    border-radius: 8px 8px 0 0;
}

.prestation:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 32px rgba(233,79,124,0.15);
    transform: translateY(-4px) scale(1.03);
}

.prestation-title {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.prestation-desc {
    color: #333;
    margin-top: 8px;
}

.prestation a {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

.prestation a:hover {
    background: var(--secondary);
}
body { margin: 0; padding: 0; background: #fafafa; }
        .container { max-width: 1200px; margin: 40px auto; padding: 20px; }
        h1 { text-align: center; color: #333; }
        .prestations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            margin-top: 32px;
        }
        .prestation {
            position: relative;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            padding: 24px;
            text-align: center;
            transition: box-shadow 0.2s;
            overflow: hidden;
            z-index: 0;
        }

        .prestation::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../images/painter-1162563_1280.jpg') center/cover no-repeat;
            opacity: 0.3; 
            z-index: -1;
        }

        .prestation:hover {
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        }
        .prestation-title {
            font-size: 1.2em;
            margin-bottom: 12px;
            color: rgb(28, 27, 27);
        }
        .prestation-desc {
            color: rgb(28, 27, 27);
            font-size: 0.98em;
        }


@media (max-width: 1100px) {
.peintre-img {
    display: none !important;
}
}
.peintre-img {
    position: absolute !important;
    bottom: 0;
    z-index: 1;
    max-height: 350px;
    width: auto;
}
.peintre-img.right {
    right: 0;
}
.peintre-img.left {
    left: 0;
}
.img-peintre {
    position: relative;
    padding: 20px 0;
    background-color: #f8f9fa;
}