/* --- Section Nos Services --- */
.services-section {
    position: relative;
    padding-top: 10rem;
    color: var(--white);
    z-index: 10;
    margin-top: -48vh;
    pointer-events: none;
}

.services-section .new-hero-title {
    text-align: center;
}

.services-body {
    background: linear-gradient(180deg, rgba(235, 106, 38, 0) 0%, rgb(235, 106, 38) 25%);
    color: var(--black);
    padding: 4em 9.6em;
    font-family: 'RMMono', monospace;
    margin-top: -35rem;
    pointer-events: all;
    padding-top: 35rem;
    padding-bottom: 12.5rem;
}

.services-intro {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5em;
    align-items: flex-start;
}

.services-intro-left {
    width: 50%;
    font-family: 'RMMono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-end;
    padding-right: 4em;
    padding-top: 2.8rem;
}

.services-label-container {
    display: flex;
    flex-direction: column;
    font-family: 'RMMono', monospace;
    font-size: 0.8rem;
    color: var(--black);
    text-transform: uppercase;
}

.services-label-container .services-label-heading {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.services-intro-right {
    width: 50%;
}

.services-paragraph {
    font-family: 'RMNeue-Regular', sans-serif;
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--black);
}

.services-paragraph .highlight {
    color: rgba(30, 30, 30, 0.3); /* Couleur du texte non révélé */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em 4em;
    border-top: 1px solid rgba(30, 30, 30, 0.2);
    padding-top: 2em;
    width: 50%;
    margin-left: 50%;
}

.service-item {
    border-top: 1px solid rgba(30, 30, 30, 0.2);
    padding-top: 2em;
}

/* On supprime la bordure du premier et deuxième item pour n'avoir qu'une ligne centrale */
.service-item:nth-child(1),
.service-item:nth-child(2) {
    border-top: none;
    padding-top: 0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.service-number {
    border: 1px solid var(--black);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.service-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    font-family: 'RMMono', monospace;
    font-weight: normal;
}

.service-description {
    font-family: 'RMNeue-Regular', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
}

/* PC portable uniquement (769px à 1366px) */
@media (min-width: 769px) and (max-width: 1366px) {
    .services-section {
        padding-top: 7rem;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
    /* Mobile : on retire tous les décalages négatifs (margin-top -40vh /
       -35rem + padding-top 36rem) qui servent à l'effet de chevauchement du
       desktop → section normale, empilée. Le titre étant blanc, on met le fond
       de section en orange (comme le body) pour qu'il reste lisible. */
    .services-section {
        padding-top: 3em;
        margin-top: 0 !important;
        background-color: rgb(235, 106, 38);
        pointer-events: auto;
    }

    .services-body {
        padding: 2.5em 1.25em 5rem;
        margin-top: 0;
        background: none;
    }

    .services-intro {
        flex-direction: column;
        margin-bottom: 2.5em;
        gap: 1.5em;
    }

    .services-intro-left,
    .services-intro-right {
        width: 100%;
        padding-right: 0;
        padding-top: 0;
        justify-content: flex-start;
    }

    .services-paragraph {
        font-size: 1.35rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
        width: 100%;
        margin-left: 0;
    }

    /* Réinitialise la suppression de bordure pour le 2ème item (en 1 col, ligne unique) */
    .service-item:nth-child(2) {
        border-top: 1px solid rgba(30, 30, 30, 0.2);
        padding-top: 2em;
    }

    .service-description {
        max-width: 100%;
    }
}
