
/* ==========================================================
   ARFIQ — Candidats et partenaires
   ========================================================== */

.arfiq-opportunities {
    padding: 72px 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(255, 193, 7, .12), transparent 27%),
        radial-gradient(circle at 92% 85%, rgba(13, 31, 55, .08), transparent 30%),
        #ffffff;
}

.arfiq-opportunities-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.arfiq-opportunities-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    margin-bottom: 13px;
    border-radius: 999px;
    background: #fff4c9;
    color: #765800;
    font-size: 13px;
    font-weight: 800;
}

.arfiq-opportunities-heading h2 {
    margin-bottom: 12px;
    font-weight: 900;
    color: #101827;
}

.arfiq-opportunities-heading p {
    margin: 0;
    color: #6b7280;
    line-height: 1.9;
}

.arfiq-path-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.arfiq-path-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 58px rgba(15, 23, 42, .14);
}

.arfiq-path-image {
    position: relative;
    height: 310px;
    overflow: hidden;
    background: #f2f2f2;
}

.arfiq-path-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.arfiq-path-card:hover .arfiq-path-image img {
    transform: scale(1.035);
}

.arfiq-path-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    backdrop-filter: blur(8px);
}

.arfiq-path-body {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 30px;
}

.arfiq-path-body h3 {
    margin-bottom: 12px;
    color: #111827;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.5;
}

.arfiq-path-body .german-title {
    margin-top: -4px;
    margin-bottom: 14px;
    direction: ltr;
    text-align: right;
    color: #b18700;
    font-size: 15px;
    font-weight: 800;
}

.arfiq-path-body p {
    margin-bottom: 14px;
    color: #667085;
    line-height: 1.9;
}

.arfiq-path-body .german-text {
    direction: ltr;
    text-align: right;
    color: #7b8190;
    font-size: 13px;
    line-height: 1.7;
}

.arfiq-path-actions {
    margin-top: auto;
    padding-top: 12px;
}

.arfiq-path-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 12px 23px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .2s ease, opacity .2s ease;
}

.arfiq-path-button:hover {
    transform: translateY(-2px);
}

.arfiq-path-button.candidate {
    background: #ffc107;
    color: #111111;
}

.arfiq-path-button.partner {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 767px) {
    .arfiq-opportunities {
        padding: 50px 0;
    }

    .arfiq-path-image {
        height: 235px;
    }

    .arfiq-path-body {
        min-height: auto;
        padding: 24px 21px;
    }

    .arfiq-path-body h3 {
        font-size: 21px;
    }

    .arfiq-path-button {
        width: 100%;
    }
}

/* Retouche professionnelle du bouton partenaire */
.arfiq-path-button.partner {
    color: #111827;
    background: linear-gradient(135deg, #f7c600, #ffdc55);
    border: 1px solid #d8ac00;
    box-shadow: 0 10px 25px rgba(247, 198, 0, .28);
}

.arfiq-path-button.partner:hover {
    color: #111827;
    background: linear-gradient(135deg, #e8b900, #f7c600);
    box-shadow: 0 14px 30px rgba(247, 198, 0, .38);
}

.partner-button-labels {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.partner-arabic {
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.partner-german {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.partner-separator {
    display: inline-block;
    width: 1px;
    height: 22px;
    background: rgba(17, 24, 39, .35);
    border-radius: 2px;
}

@media (max-width: 576px) {
    .partner-button-labels {
        gap: 8px;
    }

    .partner-separator {
        height: 18px;
    }
}
