/* =============================================================================
   7. SERVICES
   ============================================================================= */
/* ===============================================
   7.1 - Swiper liste services (.liste-services)
   =============================================== */
.liste-services {
    margin-top: 2.5rem;
}
.service-card {
    position: relative;
    height: clamp(50vh, 60vh, 70vh);
    padding: 0;
    border-radius: var(--radius-default);
    overflow: hidden;
    isolation: isolate;
}
.service-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.service-card-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--overlay-deep));
    opacity: 1;
    transition: opacity 0.5s ease;
}
.service-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--fond-page);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}
.service-card-link:hover::before {
    opacity: 0.8;
}
.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5em;
    color: var(--typo-sur-fond-sombre);
    z-index: 3;
}
.service-card-title {
    margin: 0 0 1.5em;
    font-size: var(--taille-font-lg);
    color: var(--couleur-principale);
}

.service-card-cta {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    text-transform: initial;
    color: inherit;
    transition: color 0.3s ease;
}
.service-card-cta::before {
    content: "";
    display: inline-block;
    position: relative;
    top: -0.05em;
    width: 4rem;
    height: 0.1rem;
    background: var(--couleur-blanc);
    margin-right: -1.25rem;
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.4s ease, margin-right 0.4s ease;
}
.service-card:hover .service-card-cta::before {
    margin-right: 0.75rem;
    transform: scaleX(1);
}
/* ===============================================
   7.4 - Prestations (.prestation)
   =============================================== */
.prestation {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: stretch;
    margin-bottom: 4rem;
    background: var(--fond-page);
    border: var(--border-card);
    border-radius: var(--radius-default);
    box-shadow: var(--shadow-lt);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.prestation:hover {
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-card-hover);
}
.prestation-photo {
    margin: 0.3rem;
    border-radius: var(--radius-default);
    overflow: hidden;
}
.prestation-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prestation-texte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1em 2em;
}
.prestation-texte .h1 {
    margin-bottom: 1em;
    text-align: left;
}
.prestation-texte .h1::before {
    left: 0;
    transform: translateX(0);
}
.prestation-texte p {
    padding: 0 0 1.25rem;
}
.prestation-texte ul {
    margin: 0;
    padding: 0;
}
/* ===============================================
   7.5 - Responsive
   =============================================== */
@media (max-width: 991px) {
    .prestation {
        grid-template-columns: 1fr;
    }
    .prestation-photo img {
        height: auto;
        aspect-ratio: var(--img-ratio);
    }
    .prestation-texte {
        padding: 1.5rem 1.25rem;
    }
}