﻿/* services.css — spécifique services */

/* =========================
   CARTES SERVICES
   ========================= */

.service-card {
    height: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(2,6,23,.06);
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .service-card .card-body {
        padding: 26px;
    }

    .service-card:hover,
    .service-card:focus-within {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(2,6,23,.10);
    }

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(116,81,56,.15);
    color: var(--moka-copper);
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 14px;
}

.service-card h3 {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.service-card p,
.service-card ul {
    color: #475569;
}

.service-card ul {
    padding-left: 1.05rem;
    margin-bottom: 0;
}

.service-card li {
    margin-bottom: .35rem;
}

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

.cta {
    background: linear-gradient(180deg,var(--moka-navy),var(--moka-navy-2));
    color: #fff;
    border-radius: calc(var(--radius-xl) + 6px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,.12);
    padding: 42px;
}

    .cta p {
        color: rgba(255,255,255,.82);
        margin-bottom: 0;
    }

/* =========================
   PARTENAIRES
   ========================= */

.partner-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(2,6,23,.05);
    min-height: 110px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .partner-card:hover,
    .partner-card:focus-within,
    .partner-card:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 22px 50px rgba(2,6,23,.14);
        border-color: rgba(15,23,42,.14);
    }

    .partner-card:focus-visible {
        outline: 3px solid rgba(59,130,246,.55);
        outline-offset: 3px;
    }

/* variante Swisscom */
.partner-card--swisscom {
    min-height: 170px;
    justify-content: flex-start;
}

/* logo */
.partner-logo {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* liens Swisscom */

.partner-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

    .partner-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(15,23,42,.12);
        background: rgba(2,6,23,.02);
        font-weight: 600;
        font-size: .85rem;
        color: rgba(2,6,23,.78);
        text-decoration: none;
        transition: all .15s ease;
    }

        .partner-links a:hover {
            transform: translateY(-1px);
            border-color: rgba(15,23,42,.18);
            box-shadow: 0 10px 22px rgba(2,6,23,.08);
        }

/* =========================
   FEATURE CARD HOVER
   ========================= */

.services .feature-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .services .feature-card:hover,
    .services .feature-card:focus-within {
        transform: translateY(-4px);
        box-shadow: 0 22px 50px rgba(2,6,23,.14);
    }

/* =========================
   MOBILE
   ========================= */

@media (max-width:768px) {

    .service-card .card-body {
        padding: 20px;
    }

    .cta {
        padding: 28px;
        text-align: center;
    }

        .cta .btn {
            width: 100%;
        }

    .partner-logo {
        max-height: 56px;
    }

    .partner-card--swisscom {
        min-height: 190px;
    }
}

@media (max-width:420px) {

    .partner-logo {
        max-height: 52px;
    }

    .partner-card--swisscom {
        min-height: 210px;
    }
}

@media (max-width:575.98px) {

    #partners .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
