/* =========================================
   K-DRE — PAGE SERVICES (STYLE BLEU & BLANC)
========================================= */

.services-page {
    background: #eef3f9;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* HERO */

.services-hero {
    padding: 55px 0;
    background: #eef3f9;
    border-bottom: 1px solid #dce6f4;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.services-hero .eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #2864c8;
    background: #ffffff;
    border: 1px solid #d5e2f5;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.services-beyond .eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.services-hero h1 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.3px;
    color: #111827;
    margin: 0 0 20px;
}

.services-hero h1 span {
    display: block;
    color: #0077ed;
}

.services-hero-text > p {
    max-width: 600px;
    font-size: 14.5px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0 0 28px;
}

.services-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-srv-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #0077ed;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 119, 237, 0.22);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-srv-primary:hover {
    background: #0062c4;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 119, 237, 0.3);
}

.btn-srv-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #d1d9e6;
    color: #1f2937;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.btn-srv-secondary:hover {
    border-color: #0077ed;
    color: #0077ed;
    background: #f8fbff;
}

/* VISUEL HERO */

.services-hero-media {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce6f4;
    box-shadow: 0 14px 34px rgba(16, 42, 86, 0.08);
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}

.srv-media-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #111827;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.srv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0077ed;
    flex-shrink: 0;
}

/* GRILLE DES PÔLES & SERVICES */

.services-list-section {
    padding: 70px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-pole-card {
    background: #f8fafe;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(16, 42, 86, 0.05);
}

.pole-media {
    height: 205px;
    width: 100%;
    background: #eef3f9;
    overflow: hidden;
    border-bottom: 1px solid #dce6f4;
}

.pole-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.service-pole-card:hover .pole-media img {
    transform: scale(1.03);
}

.pole-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 20px;
}

.pole-tag {
    display: inline-block;
    color: #2864c8;
    background: #eef4fc;
    border: 1px solid #d5e2f5;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.service-pole-card h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: #111827;
    margin: 0 0 10px;
}

.pole-intro {
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* LIENS DIRECTS PAR SERVICE */

.pole-links-list {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    background: #ffffff;
    border: 1px solid #d5e2f5;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-item-link:hover {
    background: #0077ed;
    border-color: #0077ed;
    color: #ffffff;
}

.service-item-link .arrow {
    flex-shrink: 0;
    font-weight: 700;
    color: #0077ed;
    transition: transform 0.2s ease, color 0.2s ease;
}

.service-item-link:hover .arrow {
    color: #ffffff;
    transform: translateX(3px);
}

/* BANDEAU AUTRES BESOINS */

.services-beyond {
    background: #0077ed;
    color: #ffffff;
    padding: 65px 0;
}

.beyond-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.services-beyond h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(28px, 3.3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin: 0 0 12px;
    max-width: 640px;
}

.services-beyond p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #e6f2ff;
    margin: 0;
    max-width: 600px;
}

.btn-srv-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #ffffff;
    color: #0077ed;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(9, 41, 90, 0.16);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-srv-light:hover {
    background: #f4f8ff;
    transform: translateY(-1px);
}

/* RESPONSIVE — TABLETTE & TÉLÉPHONE */

@media (max-width: 1050px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-hero-media {
        order: -1;
        height: 290px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 760px) {
    .services-hero {
        padding: 32px 0 36px;
    }

    .services-hero-media {
        height: 230px;
        border-radius: 14px;
    }

    .services-hero h1 {
        font-size: clamp(32px, 8.8vw, 42px);
        letter-spacing: -1px;
        margin-bottom: 14px;
    }

    .services-hero-text > p {
        font-size: 13.5px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .services-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-srv-primary,
    .btn-srv-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .services-list-section {
        padding: 44px 0;
    }

    .service-pole-card {
        border-radius: 12px;
    }

    .pole-media {
        height: 185px;
    }

    .pole-body {
        padding: 20px 18px;
        gap: 18px;
    }

    .service-pole-card h2 {
        font-size: 19px;
    }

    .service-item-link {
        padding: 11px 12px;
        font-size: 12px;
    }

    .services-beyond {
        padding: 48px 0;
    }

    .beyond-box {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .btn-srv-light {
        width: 100%;
        justify-content: center;
    }
}