/* ══════════════════════════════════════════════════════
   BOX SIZING RESET
   ══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════
   CONTAINER PRESTATIONS
   ══════════════════════════════════════════════════════ */
.container-prestations {
    max-width: 1200px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════════════ */
.services-section {
    padding: 20px 0;
    background-color: white;
}

.services-section.services-pro {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ══════════════════════════════════════════════════════
   SERVICE CARD
   ══════════════════════════════════════════════════════ */
.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 20px 20px 10px;
    font-weight: 600;
}

.service-card p {
    color: #333;
    padding: 0 20px 20px;
    font-size: 15px;
}

/* ══════════════════════════════════════════════════════
   CONTAINER SERVICES
   ══════════════════════════════════════════════════════ */
.container-services {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    max-width: 1000px;
    gap: 50px;
}

.container-services img {
    width: 400px;
    height: auto;
}

/* ══════════════════════════════════════════════════════
   DESKTOP / MOBILE TOGGLES
   ══════════════════════════════════════════════════════ */
.img-desktop,
.p-desktop {
    display: block;
}

.img-mobile,
.p-mobile {
    display: none;
}

.img-desktop {
    object-fit: cover;
}

.img-mobile {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    margin: 20px auto;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* Tablette & petit desktop */
@media (max-width: 1250px) {
    .container-prestations {
        width: 90%;
   }
    .container-services {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .img-desktop { display: none; }
    .img-mobile {
        display: block;
        height: 250px;
    }
}

/* Tablette */
@media (max-width: 899px) {
    .container-prestations {
        max-width: 90%;
    }
    .img-mobile { height: 200px; }
    .p-desktop { display: none; }
    .p-mobile {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
.container-prestations {
    width: 90%;
}
    h2 {
        font-size: 1.4rem;
        margin: 10px 0;
    }
    .container-services {
        width: 95%;
        margin: auto;
    }
    .img-mobile {
        width: 90%;
        max-width: 100%;
        height: auto;
    }
    .p-mobile { width: 100%; }
}