/* =========================================================================
   5. TEXTE + ENCADRÉ
   ========================================================================= */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 70px;
    align-items: start;
}

.fiche {
    border: 1px solid var(--border);
    border-radius: var(--rayon);
    overflow: hidden;
    background: var(--white-color);
    box-shadow: 0 24px 50px -36px rgba(2, 38, 89, .55);
    font-family: var(--title-font), sans-serif;
    margin-top: 35px;
}
.fiche-tete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--second-color);
    color: var(--white-color);
}
.fiche-tete h3 {
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 800;
    color: var(--white-color);
}
.fiche-tete span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.fiche dl > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
}
.fiche dl > div:last-child { border-bottom: 0; }
.fiche dt { font-size: 14px; color: var(--texte-doux); }
.fiche dd { font-size: 14.5px; font-weight: 500; color: var(--second-color); }

/* =========================================================================
   14. COMPOSANTS PARTAGÉS AJOUTÉS (pages Expertises et suivantes)
       14a. Lien fléché, liste à coches, ancres de prestations
       14b. Pôles : vedette + cartes (services.php)
       14c. Prestations en lignes alternées (pages détail)
       14d. Cartes de références
       14e. Questions fréquentes
       14f. Normes et marques
       14g. Navigation vers les autres pôles, noms de clients
   ========================================================================= */

/* ---------- 14a ---------- */
section#presentation {
    background-image: url(../images/bg/services-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

section#poles .bg-services-bg {
    top: 30%;
}
.lien-fleche::after { content: "\2192"; color: var(--primary-color); transition: transform .25s; }
.lien-fleche:hover::after { transform: translateX(4px); }

.liste-coches li {
    position: relative;
    padding: 7px 0 7px 0px;
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 600;
    color: var(--second-color);
}
.liste-coches-icon {
    margin-right: 10px;
    color: var(--primary-color);
}
.ancres-presta { margin-top: 34px; }
.ancres-presta > span {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--texte-doux);
    margin-bottom: 12px;
}
.ancres-presta ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ancres-presta a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px dashed var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--second-color);
    transition: background .2s, color .2s, border-color .2s;
}
.ancres-presta a:hover { background: var(--second-color); border-color: var(--second-color); color: var(--white-color); }

.fiche-pied {padding: 15px 19px 19px;border-top: 1px solid var(--border);display: flex;justify-content: flex-end;}


.detail-services-img-box {
    position: relative;
    padding: 0 0 34px 24px;
}

.detail-services-img {
    border-radius: 20px;
    overflow: hidden;
}

.detail-services-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.detail-services-img-cadre {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58%;
    height: 46%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.detail-services-img-cadre2 {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 58%;
    height: 46%;
    background-color: var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.chiffres.sevice .chiffres-liste {
    grid-template-columns: repeat(3, 1fr);
}

/* ---------- 14b ---------- */
.pole-vedette {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-radius: 20px;
    overflow: hidden;
    background: var(--second-color);
    color: var(--white-color);
    margin-bottom: 50px;
}
.pole-vedette-visuel { margin: 0; min-height: 100%; }
.pole-vedette-visuel img {width: 100%;height: 100%;min-height: 420px;object-fit: cover;transition: all 0.35s;}
.pole-vedette-texte {padding: 30px 50px;}
.pole-vedette-visuel:hover img {
    transform: scale(1.05);
}
.pole-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    color: var(--white-color);
}
.pole-num {
    display: block;
    font-family: var(--title-font), sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.pole-vedette h3 {
    font-family: var(--primary-font);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white-color);
}
.pole-vedette h3 a:hover { color: var(--primary-color); }
.pole-vedette-texte > p { margin: 16px 0 24px; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.pole-prestations {margin-bottom: 20px;}
.pole-prestations li {border-top: 1px dashed #fd6f0275;}
.pole-prestations li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pole-prestations a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 15.5px;
}
.pole-prestations a::after { content: "\2192"; color: var(--primary-color); transition: transform .25s; }
.pole-prestations a:hover { color: var(--primary-color); }
.pole-prestations a:hover::after { transform: translateX(4px); }

.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pole {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--rayon);
    overflow: hidden;
    background: var(--white-color);
    transition: border-color .25s, box-shadow .25s;
}
.pole:hover { border-color: #cfd8e3; box-shadow: 0 24px 44px -32px rgba(2, 38, 89, .55); }
.pole-visuel { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pole-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pole:hover .pole-visuel img { transform: scale(1.04); }
.pole-texte {position: relative;display: flex;flex-direction: column;flex: 1;padding: 20px 20px 20px;margin-top: -20px;background-color: #fff;border-radius: 20px;}

.pole-texte {}
.pole h3 {
    font-family: var(--primary-font);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--second-color);
}
.pole h3 a:hover { color: var(--primary-color); }
.pole-texte > p { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--texte-doux); }
.pole-prestations--sobre { margin-bottom: 24px; }
.pole-prestations--sobre li {
    border-color: var(--border);
    padding: 10px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--second-color);
}
.pole-texte .primary-btn {margin-top: auto;align-self: flex-start;}
.pole-presentation-icon {
    margin-right: 10px;
    color: var(--primary-color);
}


.chiffres.sevices .chiffres-liste {
    grid-template-columns: repeat(3, 1fr);
}
/* ---------- 14c ---------- */
section#prestations {
    background-image: url(../images/bg/bg-actu.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}
.presta { display: grid; gap: 30px; }
.presta-ligne {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    background: var(--white-color);
    scroll-margin-top: 90px;
}
.presta-ligne:nth-child(even) .presta-visuel { order: 2; }
.presta-visuel { margin: 0; }
.presta-visuel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.presta-texte h3 {
    font-family: var(--primary-font);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--second-color);
    margin-bottom: 12px;
}
.presta-texte > p { font-size: 16px; line-height: 1.75; color: var(--texte-doux); margin-bottom: 18px; max-width: 58ch; }

.chiffres-liste--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 14d ---------- */
.refs-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref-carte {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    background: var(--white-color);
    transition: box-shadow .25s, transform .25s;
}
.ref-carte:hover { box-shadow: 0 22px 40px -30px rgba(2, 38, 89, .6); transform: translateY(-2px); }
.ref-carte-annee { font-family: var(--title-font), sans-serif; font-size: 13.5px; font-weight: 500; color: var(--texte-doux); margin-bottom: 10px; }
.ref-carte h3 {
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--second-color);
}
.ref-carte p { margin: 8px 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--texte-doux); }
.ref-carte-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ref-carte-tags span {
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--fond-gris);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--second-color);
}
.ref-carte-lien { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--primary-color); }

/* ---------- 14f ---------- */
.normes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 50px; align-items: start; }
.normes-liste {border-radius: var(--rayon);background: var(--white-color);border: 1px solid #dde3ea;overflow: hidden;box-shadow: 0 0 10px #0000001c;}
.normes-liste > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border);
}
.normes-liste > div:last-child { border-bottom: 0; }
.normes-liste dt {font-family: var(--second-font);font-size: 15px;font-weight: 600;color: var(--second-color);}
.normes-liste dd { font-size: 15.5px; color: var(--texte-doux); }
.marques {
    position: relative;
    padding: 36px;
    border-radius: var(--rayon);
    background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,        var(--second-color);
    color: var(--white-color);
    overflow: hidden;
}
.marques::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 111, 2, .45), transparent 70%);
    pointer-events: none;
}
.marques h3 { font-family: var(--primary-font); font-size: 22px; font-weight: 800; color: var(--white-color); }
.marques p { margin: 10px 0 22px; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.marques ul { display: flex; flex-wrap: wrap; gap: 8px; }
.marques li {
    padding: 9px 15px;
    border-radius: 8px;
    /* border: 1px solid rgba(255, 255, 255, .2); */
    background-color: var(--primary-color);
    font-weight: 700;
    font-size: 14.5px;
}

/* ---------- 14g ---------- */
.autres-poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.autres-poles a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color .25s, background .25s;
}
.autres-poles a:hover { border-color: var(--second-color); background: var(--fond-gris); }
.autres-poles a > i:first-child {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--second-color);
    color: var(--white-color);
    font-size: 18px;
}
.autres-poles span { flex: 1; font-family: var(--primary-font); font-weight: 800; font-size: 16.5px; line-height: 1.3; color: var(--second-color); }
.autres-poles small { display: block; font-family: var(--title-font), sans-serif; font-size: 12.5px; font-weight: 500; color: var(--primary-color); }
.autres-fleche { color: var(--primary-color); transition: transform .25s; }
.autres-poles a:hover .autres-fleche { transform: translateX(4px); }

.noms-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.noms-clients li {
    padding: 14px 24px;
    border-radius: 12px;
    background: var(--fond-gris);
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: 17px;
    color: var(--second-color);
}

@media (prefers-reduced-motion: reduce) {
    .pole-visuel img, .ref-carte, .lien-fleche::after, .pole-prestations a::after, .autres-fleche, .faq-item summary::after { transition: none; }
}

/* Grille des références : évite une carte isolée en fin de ligne */

.si#references {}

.si#references .tete-si {
    align-items: center;
}

.si#references .tete-si-texte {
    display: flex;
    justify-content: flex-end;
}
.refs-cartes--4 { grid-template-columns: repeat(2, 1fr); }
.refs-cartes--2 { grid-template-columns: repeat(2, 1fr); }
.refs-cartes--1 { grid-template-columns: minmax(0, 640px); }

.si#normes {
    padding-bottom: 110px;
    background-image: url(../images/bg/bg-actu.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}

section.wrapper-process {
    padding-top: 130px;
}