/* ============================================================
   PAGE SERVICES
   ============================================================ */

body.page-slug-services .entry-title,
body.page-id-0 .entry-title {
    display: none;
}

.ebox-services-page {
    width: 100%;
    color: #17243a;
    background: #f8f4ee;
}

.ebox-services-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.ebox-services-hero {
    min-height: 430px;
    background:
        linear-gradient(
            90deg,
            rgba(10, 31, 56, 0.96) 0%,
            rgba(10, 31, 56, 0.82) 38%,
            rgba(10, 31, 56, 0.12) 72%
        ),
        url("../images/services/hero-services.webp") center / cover no-repeat;
}

.ebox-services-hero__overlay {
    min-height: inherit;
    display: flex;
    align-items: center;
}

.ebox-services-hero__content {
    max-width: 560px;
    padding: 70px 0;
    color: #fff;
}

.ebox-services-eyebrow {
    margin: 0 0 18px;
    color: #c99a55;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ebox-services-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 500;
}

.ebox-services-hero__subtitle {
    max-width: 520px;
    margin: 32px 0 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 1.45;
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.ebox-services-intro {
    padding: 48px 0 36px;
    background: #fff;
}

.ebox-services-intro .ebox-services-container {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.ebox-services-intro__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #102947;
    color: #c99a55;
    font-size: 40px;
}

.ebox-services-intro h2,
.ebox-services-details h2,
.ebox-services-cta h2,
.ebox-services-request h2 {
    margin: 0 0 14px;
    color: #102947;
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.2;
}

.ebox-services-intro p {
    max-width: 850px;
    margin: 0;
    color: #2e3745;
    font-size: 17px;
    line-height: 1.7;
}


/* ============================================================
   AVANTAGES
   ============================================================ */

.ebox-services-benefits {
    padding: 34px 0 48px;
    background: #fff;
}

.ebox-services-benefits .ebox-services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #dbc8a8;
}

.ebox-services-benefit {
    padding: 34px 32px;
    text-align: center;
}

.ebox-services-benefit + .ebox-services-benefit {
    border-left: 1px solid #dbc8a8;
}

.ebox-services-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border: 1px solid #c99a55;
    border-radius: 50%;
    color: #c99a55;
    font-size: 28px;
}

.ebox-services-benefit h3 {
    margin: 0 0 12px;
    color: #102947;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
}

.ebox-services-benefit p {
    margin: 0;
    color: #3f4650;
    font-size: 15px;
    line-height: 1.65;
}


/* ============================================================
   DÉTAILS
   ============================================================ */

.ebox-services-details {
    padding: 50px 0;
    background: #f3ede4;
}

.ebox-services-details .ebox-services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.ebox-services-document-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ebox-services-document-list li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 30px;
    color: #2e3745;
    font-size: 16px;
    line-height: 1.5;
}

.ebox-services-document-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #c99a55;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ebox-services-process {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ebox-services-process li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin: 0 0 20px;
}

.ebox-services-process__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #102947;
    color: #fff;
    font-weight: 700;
}

.ebox-services-process li p {
    margin: 3px 0 0;
    color: #2e3745;
    font-size: 16px;
    line-height: 1.55;
}

.ebox-services-process__note {
    margin: 26px 0 0;
    padding: 18px 20px;
    border-left: 3px solid #c99a55;
    background: rgba(255, 255, 255, 0.6);
    color: #4b5058;
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   CTA
   ============================================================ */

.ebox-services-cta {
    padding: 32px 0;
    background: #fff;
    border-top: 1px solid #e2d5c3;
    border-bottom: 1px solid #e2d5c3;
}

.ebox-services-cta .ebox-services-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
    align-items: center;
}

.ebox-services-cta h2 {
    font-size: 29px;
}

.ebox-services-cta p {
    margin: 0;
    color: #3e4650;
    font-size: 15px;
    line-height: 1.6;
}

.ebox-services-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 64px;
    padding: 16px 24px;
    border-radius: 5px;
    background: #102947;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    text-transform: uppercase;
}

.ebox-services-cta__button:hover {
    background: #193c64;
}


/* ============================================================
   FORMULAIRE
   ============================================================ */

.ebox-services-request {
    padding: 64px 0 72px;
    background: #f8f4ee;
}

.ebox-services-request__header {
    max-width: 760px;
    margin: 0 0 38px;
}

.ebox-services-request__header > p:last-child {
    color: #46505d;
    font-size: 16px;
    line-height: 1.65;
}

.ebox-services-form {
    padding: 34px;
    border: 1px solid #ded1c0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(46, 35, 25, 0.06);
}

.ebox-services-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ebox-services-form__field {
    margin: 0 0 24px;
}

.ebox-services-form__field label {
    display: block;
    margin: 0 0 8px;
    color: #202b3a;
    font-size: 14px;
    font-weight: 700;
}

.ebox-services-form input,
.ebox-services-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfc6bb;
    border-radius: 5px;
    background: #fff;
    color: #202b3a;
    font: inherit;
}

.ebox-services-form input {
    min-height: 48px;
    padding: 10px 13px;
}

.ebox-services-form textarea {
    padding: 13px;
    resize: vertical;
}

.ebox-services-form input:focus,
.ebox-services-form textarea:focus {
    border-color: #8a5a2b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 90, 43, 0.14);
}

.ebox-services-form__consent {
    margin: 0 0 24px;
    color: #4a515b;
    font-size: 14px;
}

.ebox-services-form__consent input {
    width: auto;
    min-height: 0;
    margin-right: 8px;
}

.ebox-services-form__actions {
    margin: 0;
}

.ebox-services-form__actions button {
    min-height: 52px;
    padding: 13px 28px;
    border: 0;
    border-radius: 5px;
    background: #4a2a16;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ebox-services-form__actions button:hover {
    background: #633b21;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .ebox-services-benefits .ebox-services-container,
    .ebox-services-details .ebox-services-container,
    .ebox-services-cta .ebox-services-container {
        grid-template-columns: 1fr;
    }

    .ebox-services-benefit + .ebox-services-benefit {
        border-left: 0;
        border-top: 1px solid #dbc8a8;
    }

    .ebox-services-cta__button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 700px) {
    .ebox-services-container {
        width: min(100% - 28px, 1180px);
    }

    .ebox-services-hero {
        min-height: 380px;
    }

    .ebox-services-hero__content {
        padding: 54px 0;
    }

    .ebox-services-intro .ebox-services-container {
        grid-template-columns: 1fr;
    }

    .ebox-services-intro__icon {
        width: 76px;
        height: 76px;
    }

    .ebox-services-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ebox-services-form {
        padding: 24px 18px;
    }
}



/* ============================================================
   SERVICES — LAYOUT SIMPLIFIÉ
   ============================================================ */

.ebox-services-container--single {
    display: block !important;
}

.ebox-services-container--single .ebox-services-benefit {
    max-width: 760px;
    margin: 0 auto;
    border-left: 0 !important;
}

.ebox-services-container--single .ebox-services-details__column {
    max-width: 860px;
    margin: 0 auto;
}