/* =====================================================================
   « Les diagnostics obligatoires réalisés par Mr. Vairo »
   (composant Figma « Services ») — pilules photo + numéro, 4 colonnes
   décalées en escalier (0 / 80 / 160 / 240 px).
   ===================================================================== */
.services-list { padding: 120px 0; overflow: hidden; }

.services-list-head { max-width: 636px; margin: 0 auto 32px; text-align: center; }
.services-list-head h2 { margin: 0; color: rgba(255, 255, 255, .95); }

.services-list-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-list-item {
    position: relative;
    display: flex;
    gap: 16px;
    margin: 0;
    /* padding-bottom: 40px; */
}
.services-list-item:nth-child(4n+2) { padding-top: 80px; }
.services-list-item:nth-child(4n+3) { padding-top: 160px; }
.services-list-item:nth-child(4n+4) { padding-top: 240px; }

.service-image {
    position: relative;
    flex: 0 0 120px;
    height: 360px;
    border-radius: 1000px;
    overflow: hidden;
    background: #8c8c8c;
    isolation: isolate;
}
.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.services-list-item:hover .service-image img { transform: scale(1.08); }

.service-num {
    position: absolute;
    top: 32px;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    border-radius: 50%;
    background: var(--radial);
    font-family: var(--font-inter);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.18;
    transition: transform .8s var(--ease-out);
}
.services-list-item:hover .service-num { transform: translateY(8px) scale(1.06); }

.service-body {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    align-self: flex-start;
    padding: 40px 0;
    font-family: var(--font-inter);
}
.service-body::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform-origin: left;
    transition: transform .9s var(--ease);
}
.services-list-item:hover .service-body::after { transform: scaleX(.4); }

.service-title {
    margin: 0 0 16px;
    font-family: var(--font-inter);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.029em;
    line-height: 1.18;
    hyphens: auto;
}
.service-title a { transition: color .45s var(--ease); }
.service-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.services-list-item:hover .service-title a { color: #ff8a65; }
.service-body p { margin: 0; font-size: 1rem; line-height: 1.6; }
