/* BASE DES PAGES SERVICES */

.service-page {
    background: #ffffff;
    color: #172b4d;
}

.service-page .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.service-section {
    padding: clamp(60px, 7vw, 95px) 0;
}

.service-section-soft {
    background: #f7f9fc;
}

.service-eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: #c91530;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.service-eyebrow-light {
    padding-left: 13px;
    border-left: 3px solid #e4223d;
    color: #ecf0f9;
}

.service-title {
    margin: 0 0 22px;
    color: #16396f;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    text-wrap: balance;
}

.service-heading {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.service-heading > p,
.service-copy p {
    margin: 0 0 18px;
    color: #53647b;
    font-size: 15px;
    line-height: 1.85;
}

.service-copy p:last-child {
    margin-bottom: 0;
}

/* HERO */

.service-hero {
    padding: 28px 0 75px;
    background: #16396f;
    color: #ecf0f9;
}

.service-breadcrumb {
    margin-bottom: 38px;
}

.service-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.service-breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    color: #aebed8;
}

.service-breadcrumb a {
    color: #ecf0f9;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    text-decoration: underline;
}

.service-hero h1 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(36px, 4.3vw, 59px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.3px;
    text-wrap: balance;
}

.service-hero-slogan {
    max-width: 650px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
}

.service-hero-description {
    max-width: 650px;
    margin-bottom: 28px;
    color: #d4deef;
    font-size: 15px;
    line-height: 1.85;
}

.service-hero-area {
    margin: 22px 0 0;
    color: #d4deef;
    font-size: 12px;
    line-height: 1.8;
}

.service-hero-visual {
    position: relative;
    max-width: 460px;
    margin-left: auto;
}

.service-hero-visual img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.service-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    background: #ffffff;
    color: #16396f;
    border-radius: 12px;
}

.service-image-caption i {
    color: #c91530;
    font-size: 27px;
}

.service-image-caption span {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.65;
}

/* BOUTONS */

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 20px;
    color: #ffffff;
    background: #e4223d;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.service-button:hover,
.service-button:focus-visible {
    background: #c91530;
    color: #ffffff;
}

.service-button-outline {
    background: transparent;
    border-color: rgba(236, 240, 249, 0.5);
}

.service-button-outline:hover,
.service-button-outline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

/* AVANTAGES */

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    padding: 30px 26px;
    background: #ffffff;
    border: 1px solid #e7edf6;
    border-radius: 17px;
}

.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    color: #16396f;
    background: #ecf0f9;
    border-radius: 12px;
    font-size: 23px;
}

.service-card h3 {
    margin: 0 0 15px;
    color: #16396f;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.4;
}

.service-card p {
    margin: 0;
    color: #53647b;
    font-size: 14px;
    line-height: 1.85;
}

/* ÉLÉMENTS EXAMINÉS */

.service-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-check-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
    color: #334a68;
    background: #f7f9fc;
    border: 1px solid #e7edf6;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.7;
}

.service-check-grid i {
    color: #c91530;
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

/* DÉROULEMENT */

.service-section-navy {
    background: #16396f;
}

.service-section-navy .service-title {
    color: #ffffff;
}

.service-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-step {
    padding: 27px 23px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(236, 240, 249, 0.18);
    border-radius: 16px;
}

.service-step > span {
    display: block;
    margin-bottom: 23px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
}

.service-step h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.service-step p {
    margin: 0;
    color: #d4deef;
    font-size: 14px;
    line-height: 1.85;
}

/* SECTEURS */

.service-regions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-region {
    padding: 26px 22px;
    background: #ffffff;
    border: 1px solid #e1e7f1;
    border-radius: 16px;
}

.service-region > i {
    display: inline-block;
    margin-bottom: 17px;
    color: #c91530;
    font-size: 27px;
}

.service-region h3 {
    margin: 0 0 13px;
    color: #16396f;
    font-size: 21px;
    font-weight: 750;
}

.service-region p {
    margin: 0;
    color: #53647b;
    font-size: 14px;
    line-height: 1.85;
}

/* FAQ — SANS JAVASCRIPT */

.service-faq {
    max-width: 900px;
    margin: 0 auto;
}

.service-faq details {
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #e1e7f1;
    border-radius: 12px;
}

.service-faq summary {
    position: relative;
    padding: 20px 52px 20px 22px;
    color: #16396f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.service-faq summary::-webkit-details-marker {
    display: none;
}

.service-faq summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 22px;
    color: #c91530;
    font-size: 24px;
    font-weight: 500;
}

.service-faq details[open] summary::after {
    content: "−";
}

.service-faq details[open] {
    border-color: rgba(22, 57, 111, 0.3);
}

.service-faq details > p {
    margin: 0;
    padding: 0 22px 22px;
    color: #53647b;
    font-size: 14px;
    line-height: 1.85;
}

/* CONTACT FINAL */

.service-cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 45px;
    background: #16396f;
    border-radius: 22px;
}

.service-cta h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(27px, 2.8vw, 36px);
    font-weight: 750;
    line-height: 1.3;
}

.service-cta p {
    margin: 0;
    color: #d4deef;
    font-size: 14px;
    line-height: 1.85;
}

.service-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 310px;
    margin-left: auto;
}

.service-related {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    padding-top: 28px;
    font-size: 12px;
}

.service-related span {
    color: #607087;
}

.service-related a {
    color: #16396f;
    font-weight: 650;
    text-decoration: none;
}

.service-related a:hover {
    color: #c91530;
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .service-steps-grid,
    .service-regions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .service-card-grid,
    .service-cta {
        grid-template-columns: 1fr;
    }

    .service-hero-visual {
        max-width: 100%;
        margin-left: 0;
    }

    .service-hero-visual img {
        height: 470px;
        object-position: center 35%;
    }

    .service-cta-buttons {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .service-page .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .service-hero {
        padding-bottom: 50px;
    }

    .service-hero-slogan {
        font-size: 19px;
    }

    .service-heading {
        text-align: left;
    }

    .service-buttons {
        flex-direction: column;
    }

    .service-hero-visual img {
        height: 370px;
    }

    .service-check-grid,
    .service-steps-grid,
    .service-regions-grid {
        grid-template-columns: 1fr;
    }

    .service-cta {
        padding: 28px 22px;
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-button {
        transition: none;
    }
}