/* Styles pour la page Bureau et Conseil d'Administration */

.bureau-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 50px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #006400;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #006400;
    border-radius: 2px;
}

.subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: #444;
}

.period {
    color: #006400;
    font-weight: 600;
    margin-top: 15px;
}

/* Grille des membres */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Carte de membre */
.member-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.member-role {
    color: #006400;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.member-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .bureau-section {
        padding: 60px 0;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .member-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .bureau-section {
        padding: 40px 0;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        height: 220px;
    }
}
