/* Hero Section - Premium Corporate */
.team-hero {
    background: linear-gradient(135deg, #0F3B63 0%, #1e40af 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 59, 99, 0.1);
}

.team-hero-content {
    position: relative;
    z-index: 2;
}

.team-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.team-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Section Title - Business School Style */
.section-title {
    background: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0F3B63 0%, #7D213B 100%);
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F3B63;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.section-title p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Organigramme Section */
.org-section {
    background: #f8fafc;
    padding: 0 0 4rem;
}

/* Direction Générale */
.direction-generale {
    text-align: center;
    margin-bottom: 3rem;
}

.director-card {
    background: white;
    border: 3px solid #e0e7ff;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.12);
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(30, 64, 175, 0.2);
    border-color: #3b82f6;
}

.director-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid #dbeafe;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
    background: white;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-name {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1e293b;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.director-title {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Direction Administrative */
.admin-section {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.admin-card {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 20px 20px 0 0;
}

.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.15);
    border-color: #3b82f6;
}

.admin-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #e0e7ff;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    background: white;
}

.admin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.admin-title {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}

/* Conseillers Support */
.support-section {
    margin-bottom: 3rem;
}

.support-header {
    text-align: center;
    margin-bottom: 2rem;
}

.support-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.support-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-card {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #94a3b8 0%, #64748b 100%);
    border-radius: 20px 20px 0 0;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(100, 116, 139, 0.15);
    border-color: #94a3b8;
}

.support-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #e0e7ff;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    background: white;
}

.support-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.support-title {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}

/* Pôles */
.poles-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pole-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    border-top: 4px solid;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pole-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: currentColor;
}

.pole-card.pole-it {
    border-top-color: #1e40af;
}

.pole-card.pole-programs {
    border-top-color: #075985;
}

.pole-card.pole-formation {
    border-top-color: #7c3aed;
}

.pole-card.pole-dev {
    border-top-color: #c2410c;
}

.pole-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pole-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.pole-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

.pole-director {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    text-align: center;
    border: 2px solid #cbd5e1;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pole-director-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 0 1rem 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    flex-shrink: 0;
}

.pole-director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pole-director-name {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
}

.pole-team {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member {
    background: #f8fafc;
    padding: 1.1rem;
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
}

.team-member:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pole-it .team-member {
    border-left-color: #1e40af;
}

.pole-programs .team-member {
    border-left-color: #075985;
}

.pole-formation .team-member {
    border-left-color: #7c3aed;
}

.pole-dev .team-member {
    border-left-color: #c2410c;
}

.member-photo-inline {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    background: white;
}

.member-photo-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.member-role {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
}

/* Campus Section */
.campus-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid #e2e8f0;
}

.campus-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.campus-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.campus-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #f59e0b;
}

.campus-flag {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.campus-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.campus-director {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
}

.campus-director-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 auto 0.75rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.campus-director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-director-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.campus-director-title {
    font-size: 0.85rem;
    opacity: 0.95;
}

.campus-location {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

@media (max-width: 1200px) {
    .poles-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-hero {
        min-height: 35vh;
        padding: 3rem 0 2rem;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .team-hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .poles-section {
        grid-template-columns: 1fr;
    }

    .campus-grid {
        grid-template-columns: 1fr;
    }

    .admin-section {
        flex-direction: column;
        align-items: center;
    }

    .admin-card {
        width: 100%;
        max-width: 320px;
    }

    .support-cards {
        flex-direction: column;
        align-items: center;
    }

    .support-card {
        width: 100%;
        max-width: 300px;
    }
}
