/* ========================================
   STYLES SPÉCIFIQUES PAGE ÉQUIPE
   ======================================== */

/* Grille des membres de l'équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
}

/* Carte individuelle */
.team-card {
    background: var(--blanc);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 145, 0.1);
    transform: translateY(-4px);
}

/* Container photo avec hexagone */
.team-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Hexagone wrapper */
.hexagon-wrapper {
    width: 180px;
    height: 180px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--bleuFrance);
    padding: 3px;
}

.team-photo,
.team-photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team-photo-placeholder {
    background: var(--clair);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--neutre);
}

/* Badge rôle */
.team-badge {
    position: absolute;
    bottom: -10px;
    right: calc(50% - 90px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--blanc);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--blanc);
}

.admin-badge {
    background: linear-gradient(135deg, #000091 0%, #1212ff 100%);
}

.moderator-badge {
    background: linear-gradient(135deg, #e1000f 0%, #ff4444 100%);
}

.contributor-badge {
    background: linear-gradient(135deg, #666666 0%, #999999 100%);
}

/* Informations membre */
.team-info {
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sombre);
    margin: 0 0 0.3rem 0;
}

.team-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bleuFrance);
    margin: 0 0 0.5rem 0;
}

.team-location {
    font-size: 0.95rem;
    color: var(--neutre);
    margin: 0 0 1.5rem 0;
}

.team-location i {
    margin-right: 0.3rem;
}

/* Biographie */
.team-bio {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--bleuFrance);
}

.team-bio p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: var(--sombre);
}

.team-bio p:last-child {
    margin-bottom: 0;
}

/* Citation */
.team-quote {
    margin: 1.5rem 0;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #f0f0ff 0%, #ffffff 100%);
    border-left: 4px solid var(--bleuFrance);
    border-radius: 6px;
    position: relative;
}

.team-quote i.fa-quote-left {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 1.5rem;
    color: var(--bleuFrance);
    opacity: 0.3;
}

.team-quote p {
    margin: 0;
    font-style: italic;
    color: var(--sombre);
    line-height: 1.6;
    padding-left: 1.5rem;
}

/* Contact */
.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--clair);
    color: var(--bleuFrance);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-link:hover {
    background: var(--bleuFrance);
    color: var(--blanc);
    transform: translateX(4px);
}

.contact-link i {
    font-size: 1rem;
}

/* Grille des profils recherchés */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.profile-card {
    background: var(--blanc);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-color: var(--bleuFrance);
    box-shadow: 0 6px 20px rgba(0, 0, 145, 0.1);
    transform: translateY(-4px);
}

.profile-card.highlight-card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-color: var(--rougeMariane);
}

.profile-card.highlight-card:hover {
    border-color: var(--rougeMariane);
    box-shadow: 0 6px 20px rgba(225, 0, 15, 0.15);
}

.profile-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bleuFrance) 0%, #1212ff 100%);
    color: var(--blanc);
    border-radius: 50%;
    font-size: 1.8rem;
}

.profile-card.highlight-card .profile-icon {
    background: linear-gradient(135deg, var(--rougeMariane) 0%, #ff4444 100%);
}

.profile-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sombre);
    margin: 0 0 0.8rem 0;
}

.profile-card p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary {
    background: var(--blanc);
    color: var(--bleuFrance);
    border: 2px solid var(--bleuFrance);
}

.btn-secondary:hover {
    background: var(--bleuFrance);
    color: var(--blanc);
}

/* Responsive - Tablettes */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hexagon-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .team-badge {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        right: calc(50% - 75px);
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .team-card {
        padding: 1.5rem;
    }
    
    .hexagon-wrapper {
        width: 130px;
        height: 130px;
    }
    
    .team-badge {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        right: calc(50% - 65px);
    }
    
    .team-info h3 {
        font-size: 1.3rem;
    }
    
    .team-bio,
    .team-quote {
        padding: 1rem;
    }
    
    .profile-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}