/* ---------------- DÉFINITION DU SERVICE ---------------- */
.templateService .bandeauImage {
    object-position: center 43%;
}

.templateService .serviceColonne {
    max-width: 1106px;
}

@media (width > 1700px) {
    .templateService .serviceColonne {
        max-width: 1270px;
    }
}

.serviceDefinition {
    padding-top: 110px;
}

.serviceDefinition h2 {
    margin-bottom: 26px;
}

.serviceParagraphe p + p {
    margin-top: 16px;
}

.servicePhrase {
    margin-top: 18px;
    font-family: var(--font-title);
    font-size: var(--b3);
    font-weight: 600;
    text-transform: uppercase;
}

.serviceDefinition .componentCartesIllustrees {
    margin-top: 50px;
}

@media (max-width: 992px) {
    .serviceDefinition {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    .templateService .bandeauImage {
        object-position: center;
    }

    .templateService .container {
        padding-inline: 30px;
    }

    .serviceDefinition {
        padding-top: 70px;
    }

    .serviceDefinition .componentCartesIllustrees {
        margin-top: 40px;
    }
}

/* ---------------- USAGES ET BLOCS IMAGE / TEXTE ---------------- */
.templateService .serviceApplications {
    max-width: 908px;
    margin-top: 110px;
    text-align: center;
    font-size: var(--b4);
    line-height: 17.5px;
}

@media (width > 1700px) {
    .templateService .serviceApplications {
        max-width: 1040px;
    }
}

.serviceApplications h2 {
    margin-bottom: 28px;
}

.templateService .serviceIdentite {
    max-width: 1296px;
    margin-top: 110px;
}

@media (min-width: 768px) {
    .serviceIdentite .componentTexteImage {
        position: relative;
    }

    .serviceIdentite .componentTexteImage:has(.texteImageContenu > :not(.texteImageParagraphe:empty, [hidden])) > .texteImagePhoto {
        position: absolute;
        inset: 0;
        grid-area: 1 / 2 / 2 / 3;
    }
}

@media (width > 1700px) {
    .templateService .serviceIdentite {
        max-width: 1490px;
    }
}

.serviceTextiles,
.serviceEtapes {
    margin-top: 110px;
}

@media (max-width: 992px) {
    .templateService .serviceApplications,
    .templateService .serviceIdentite,
    .serviceTextiles,
    .serviceEtapes {
        margin-top: 80px;
    }
}

@media (max-width: 767px) {
    .templateService .serviceApplications,
    .templateService .serviceIdentite,
    .serviceTextiles,
    .serviceEtapes {
        margin-top: 100px;
    }

    .templateService .serviceIdentite {
        padding-inline: 0;
    }

    .templateService .serviceIdentite .componentTexteImage {
        border-radius: 0;
        background: transparent;
    }

    .serviceIdentite .componentTexteImage:has(> .texteImagePhoto) {
        grid-template-rows: auto min(54vw, 210px);
    }

    .serviceIdentite .texteImageContenu {
        z-index: 1;
        grid-area: 1 / 1;
        border-radius: 0 0 50px 50px;
        background: var(--color-blue-400);
    }

    .serviceIdentite .texteImageContenu:not(:has(> :not(.texteImageParagraphe:empty, [hidden]))) {
        display: none;
    }

    .serviceIdentite .texteImagePhoto {
        grid-area: 1 / 1 / span 2;
        align-self: end;
        border-radius: 50px;
    }

    .serviceTextiles .componentImageEncart {
        border-radius: 0;
    }
}

/* ---------------- QUESTIONS FRÉQUENTES ---------------- */
.serviceFaq {
    margin-top: 110px;
}

.serviceFaq h2 {
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .serviceFaq {
        margin-top: 80px;
    }

    .serviceFaq h2 {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .serviceFaq {
        margin-top: 100px;
    }
}
