/* =========================================================
   OUR TEAM PAGE  —  assets/css/teams.css
========================================================= */

:root {
    --breadcrumb-bg : #EDF2F5;
    --blue-mkba     : #005FAC;
    --blue-light    : #E9F3FC;
    --orange-mkba   : #ED6A18;
    --orange-light  : #F9C9A6;
    --dark-mkba     : #111827;
    --muted-mkba    : #6b7280;
    --border-mkba   : #d1d5db;
}

/* =========================================================
   HERO — CENTRÉ, FOND BLANC
========================================================= */

.team-hero {
    background: #ffffff;
    padding: 56px 0 8px;
}

.team-hero-title {
    color: var(--blue-mkba);
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 22px;
    text-align: center;
}

.team-hero-text {
    /* max-width: 780px; */
    margin: 0 auto;
    color: var(--muted-mkba);
    font-size: 0.94rem;
    line-height: 1.85;
}

/* =========================================================
   TITRES DE SECTION AVEC SURLIGNAGE
========================================================= */

.team-section-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin-bottom: 18px;
}

/* .team-section-title .highlight {
    background: var(--orange-light);
    padding: 0 4px;
    border-radius: 3px;
} */

.team-section-title.text-blue {
    color: var(--blue-mkba);
}

/* =========================================================
   NOTRE MISSION / "YOUR SUCCESS IS OUR COLLECTIVE EFFORT"
========================================================= */

.team-mission {
    background: #ffffff;
    padding-bottom: 8px;
}

.team-mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.7;
}

.team-square-icon {
    width: 8px;
    height: 8px;
    background: var(--blue-mkba);
    display: inline-block;
    margin-top: 6px;
    flex-shrink: 0;
    border-radius: 1px;
}

/* =========================================================
   QUELQUES INDICATEURS CLÉS
========================================================= */

.team-stats {
    background: var(--blue-light);
    padding: 48px 0;
    margin-top: 32px;
}

.team-stats-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin-bottom: 34px;
}

.team-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.team-stat-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--orange-light);
    flex-shrink: 0;
}

.team-stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-mkba);
    line-height: 1.2;
}

.team-stat-label {
    font-size: 0.85rem;
    color: var(--muted-mkba);
}

/* =========================================================
   WHERE EXPERTISE MEETS PASSION
========================================================= */

.team-expertise {
    background: #ffffff;
    padding: 48px 0 8px;
}

.team-expertise-text {
    color: var(--muted-mkba);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.team-logos-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 50px; /* espace réservé aux flèches */
}

.team-logos-track {
    display: flex;
    gap: 40px;
    transition: transform .5s ease;
    will-change: transform;
}

.team-logo-item {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.team-logo-item img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
}

/* ==============================
   NAVIGATION FIXE AUX EXTREMITES
============================== */

.team-logos-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);    
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-mkba);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-mkba);
    cursor: pointer;
    z-index: 10;
    transition: 
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


/* Flèche gauche */
#teamLogosPrev {
    left: 10px;
}


/* Flèche droite */
#teamLogosNext {
    right: 10px;
}


.team-logos-nav-btn:hover {
    background: var(--blue-mkba);
    color:#fff;
    border-color:var(--blue-mkba);
}

@media(max-width:768px){
    .team-logos-carousel{
        padding:0 40px;
    }
    .team-logos-nav-btn{
        width:30px;
        height:30px;
    }
    #teamLogosPrev{
        left:5px;
    }
    #teamLogosNext{
        right:5px;
    }
}

/* =========================================================
   OUR VALUES
========================================================= */

.team-values {
    background: #ffffff;
    padding: 48px 0 8px;
}

.team-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-values-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.7;
}

/* =========================================================
   JOIN US
========================================================= */

.team-join {
    background: #ffffff;
    padding: 48px 0 8px;
}

.team-join-text {
    color: var(--muted-mkba);
    font-size: 0.94rem;
    line-height: 1.8;
    margin: 0;
}

/* =========================================================
   CANDIDATURE SPONTANÉE — FORMULAIRE
========================================================= */

.team-application {
    background: #ffffff;
    padding: 40px 0 60px;
}

.team-form-notes {
    font-size: 0.82rem;
    color: var(--muted-mkba);
    margin-bottom: 22px;
    line-height: 1.6;
}

.team-form-group {
    margin-bottom: 22px;
}

.team-form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 8px;
}

.team-form-control,
.team-form-select {
    width: 100%;
    border: 1px solid var(--border-mkba);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--dark-mkba);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-form-control:focus,
.team-form-select:focus {
    outline: none;
    border-color: var(--blue-mkba);
    box-shadow: 0 0 0 3px rgba(0,95,172,0.12);
}

.team-phone-group {
    display: flex;
    gap: 8px;
}

.team-phone-code {
    flex: 0 0 92px;
}

.team-phone-number {
    flex: 1 1 auto;
}

.team-radio-group {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-top: 6px;
}

.team-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--dark-mkba);
    cursor: pointer;
}

.team-radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-mkba);
}

.team-select-flag {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-mkba);
    border-radius: 6px;
    padding: 0 14px;
}

.team-select-flag .flag {
    font-size: 1.1rem;
    line-height: 1;
}

.team-select-flag select {
    border: none;
    padding: 10px 4px;
    font-size: 0.88rem;
    color: var(--dark-mkba);
    background: transparent;
    width: 100%;
}

.team-select-flag select:focus {
    outline: none;
}

.team-upload-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 4px;
}

.team-upload-hint {
    font-size: 0.8rem;
    color: var(--muted-mkba);
    line-height: 1.5;
    margin-bottom: 14px;
}

.team-dropzone {
    border: 1px dashed var(--border-mkba);
    border-radius: 8px;
    background: #FAFBFC;
    padding: 46px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.team-dropzone:hover,
.team-dropzone.dragover {
    border-color: var(--blue-mkba);
    background: var(--blue-light);
}

.team-dropzone-link {
    color: var(--blue-mkba);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-file-list-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin: 18px 0 8px;
}

.team-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #374151;
    padding: 4px 0;
}

.team-file-remove {
    border: none;
    background: none;
    color: var(--muted-mkba);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px 6px;
}

.team-file-remove:hover {
    color: #DC2626;
}

.team-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.team-btn {
    border: none;
    border-radius: 6px;
    padding: 12px 26px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.team-btn:hover {
    opacity: 0.88;
}

.team-btn-cancel {
    background: var(--dark-mkba);
    color: #ffffff;
}

.team-btn-save {
    background: var(--blue-mkba);
    color: #ffffff;
}

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

@media (max-width: 991px) {
    .team-hero {
        padding: 44px 0 4px;
    }
}

@media (max-width: 767px) {
    .team-hero-title {
        font-size: 1.5rem;
    }
    .team-hero-text {
        font-size: 0.88rem;
    }
    .team-phone-group {
        flex-wrap: wrap;
    }
    .team-phone-code {
        flex: 1 1 100%;
    }
    .team-stats {
        padding: 36px 0;
    }
}

.team-logos-track{
    scroll-behavior:smooth;
}

.team-logo-item{
    transition:.35s ease;
}

.team-logo-item:hover{
    transform:translateY(-8px);
}
