/* ===================================
   PAGE PROFESSIONNELS
   ================================== */

/* Section intro équipe */
.team-intro {
    max-width: var(--max-width-lg);
    margin: 0 auto;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.team-intro p {
    font-size: var(--text-lg);
    color: var(--texte-secondaire);
    line-height: 1.8;
}

/* Grille équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-2xl) 0;
}

/* CARTES ÉQUIPE - OVALE GLASSMORPHISME */
.card-team {
    text-align: center;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-team:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 195, 247, 0.15);
}

/* PHOTO OVALE GLASSMORPHISME AVEC BLUR SUR LES BORDS */
.team-photo {
    width: 160px;
    height: 200px;
    margin: var(--space-md) auto var(--space-sm);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0;
    box-shadow:
        0 8px 32px rgba(79, 195, 247, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* MASK GRADIENT POUR EFFET BLUR SUR LES BORDS */
.team-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
            transparent 0%,
            transparent 60%,
            rgba(255, 255, 255, 0.3) 80%,
            rgba(255, 255, 255, 0.6) 95%,
            rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
}

.card-team:hover .team-photo {
    transform: scale(1.05);
    box-shadow:
        0 12px 40px rgba(79, 195, 247, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.card-team:hover .team-photo img {
    transform: scale(1.08);
}

/* INFO SECTION */
.team-info {
    padding: 0 var(--space-md) var(--space-lg) var(--space-md);
    background: white;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--texte-principal);
    font-weight: var(--font-semibold);
}

.team-title {
    color: var(--bleu-clair);
    font-weight: var(--font-semibold);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: block;
}

.team-bio {
    color: var(--texte-secondaire);
    line-height: 1.6;
    font-size: 0.88rem;
    margin: var(--space-sm) 0;
}

/* TAGS SPECIALITÉS */
.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-md);
}

.specialty-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(79, 195, 247, 0.08);
    color: var(--bleu-clair);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: var(--font-semibold);
    border: 1px solid rgba(79, 195, 247, 0.15);
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: rgba(79, 195, 247, 0.12);
    border-color: rgba(79, 195, 247, 0.25);
}

/* LISTE SPÉCIALITÉS AVEC PUCES BLEUES */
.team-specialties-list {
    list-style: none !important;
    padding: 0 !important;
    margin: var(--space-sm) 0 0 0 !important;
    text-align: left;
}

.team-specialties-list li {
    padding-left: 1.2rem !important;
    margin-bottom: 0.4rem !important;
    position: relative !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: var(--texte-secondaire) !important;
}

.team-specialties-list li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #4FC3F7 !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

/* CATÉGORIES ÉQUIPE */
.team-category-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.team-category-header h2 {
    font-size: 2rem;
    color: var(--texte-principal);
    margin-bottom: var(--space-xs);
}

.team-category-header p {
    color: var(--texte-secondaire);
    font-size: var(--text-base);
}

/* BADGE ÉVALUATION TDAH */
.eval-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    margin: var(--space-sm) 0;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.eval-badge-icon {
    font-size: 1.2rem;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 152, 0, 0.6);
    }
}

/* ===================================
   CARRIÈRES
   ================================== */

.careers-section {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-content h3 {
    color: var(--texte-principal);
    font-size: var(--text-2xl);
}

.careers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.career-item {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 195, 247, 0.15);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.career-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(79, 195, 247, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(79, 195, 247, 0.15);
}

.career-item h4 {
    font-size: 1.1rem;
    color: var(--texte-principal);
    margin: 0;
}

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

@media (max-width: 1024px) {
    .careers-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-photo {
        width: 140px;
        height: 175px;
    }

    .careers-list {
        grid-template-columns: 1fr;
    }

    .team-info {
        padding: 0 var(--space-sm) var(--space-md) var(--space-sm);
    }

    .team-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .team-photo {
        width: 120px;
        height: 150px;
    }
}
