.services {
    width: 100%;
    padding: 0px 60px;
    color: white;
    padding-top:20px;
}

/* plein écran */
.services-container {
    width: 100%;
}

/* SURTITRE */
.services-surtitre {
    font-size: 14px;
    font-family: 'Coolvetica', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* cercle rouge */
.services-surtitre::before {
    content: "";
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #FF0202;

    margin-right:10px;
    display: inline-block;
}


/* LISTE */
.services-grid {
    display: flex;
    flex-direction: column;
}

/* SERVICE */
.service-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 60px;
    padding: 25px 0;

    border-bottom: 1px solid rgba(255,255,255);
}

/* enlever dernière ligne */
.service-card:last-child {
    border-bottom: none;
}

/* COLONNE GAUCHE (titre) */
.service-title {
    flex: 0 0 40%;
    font-family: 'Coolvetica', sans-serif;
font-size: clamp(18px, 4vw, 48px);
    text-transform: uppercase;
    letter-spacing: 1.9px;
    margin: 0;
}

/* COLONNE DROITE (texte) */
.service-text {
    font-family: 'Archivo-Thin', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}




/* FLECHE DROITE */
.service-arrow {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG */
.service-arrow img {
    width: 30px;
    height: 30px;
}


.service-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-arrow {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.4s ease, background 0.4s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(8px) rotate(45deg) scale(1.1);
}

.service-arrow img {
    width: 30px;
    height: 30px;

    transition: transform 0.4s ease;
}

.service-card:hover .service-arrow img {
    transform: translateX(2px);
}

.service-card:hover {
    transform: translateX(4px);
}

.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}   

.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.10s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.20s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }

.services a.service-card {
    color: white;
        text-decoration: none;

}


/* =========================================
RESPONSIVE SERVICES
========================================= */

/* ultra wide / 4K */
@media (min-width: 1600px) {
    .services {
        padding: 40px 80px 0;
    }

    .service-card {
        gap: 80px;
        padding: 35px 0;
    }

    .service-title {
        font-size: clamp(56px, 4vw, 90px);
        flex: 0 0 42%;
    }

    .service-text {
        font-size: 18px;
        max-width: 520px;
    }

    .service-arrow {
        width: 52px;
        height: 52px;
    }

    .service-arrow img {
        width: 34px;
        height: 34px;
    }
}

/* laptop */
@media (max-width: 1280px) {
    .services {
        padding: 20px 40px 0;
    }

    .service-card {
        gap: 40px;
    }

    .service-title {
        font-size: clamp(34px, 4vw, 48px);
        flex: 0 0 38%;
    }

    .service-text {
        font-size: 15px;
    }
}
/* tablet */
@media (max-width: 1024px) {
    .services {
        padding: 20px 30px 0;
    }

    .service-card {
        display: grid;
        grid-template-columns: 1.2fr 1fr auto;
        align-items: start;
        gap: 24px;
        padding: 22px 0;
    }

    .service-title {
        font-size: clamp(26px, 5vw, 38px);
        line-height: 1;
        letter-spacing: 1.2px;
    }

    .service-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .service-arrow {
        align-self: start;
        justify-self: end;

        width: 36px;
        height: 36px;
    }

    .service-arrow img {
        width: 24px;
        height: 24px;
    }
}

/* mobile */
@media (max-width: 768px) {
    .services {
        padding: 20px 20px 0;
    }

    .service-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px 18px;
        align-items: start;
    }

    .service-title {
        grid-column: 1 / 2;
        font-size: clamp(22px, 7vw, 32px);
    }

    .service-text {
        grid-column: 1 / 2;
        font-size: 14px;
        line-height: 1.5;
    }

    .service-arrow {
        grid-column: 2 / 3;
        grid-row: 1 / 3;

        align-self: start;
        justify-self: end;

        width: 32px;
        height: 32px;
    }

    .service-arrow img {
        width: 20px;
        height: 20px;
    }
}

/* small mobile */
@media (max-width: 480px) {
    .services {
        padding: 20px 16px 0;
    }

    .service-card {
        gap: 12px 14px;
    }

    .service-title {
        font-size: clamp(18px, 8vw, 26px);
    }

    .service-text {
        font-size: 13px;
    }

    .service-arrow {
        width: 28px;
        height: 28px;
    }

    .service-arrow img {
        width: 18px;
        height: 18px;
    }
}