/* Styles pour la page Équipe */
:root {
    --blue: #0055A4;
    --white: #ffffff;
    --red: #EF4135;
    --dark: #333333;
    --light: #f5f5f5;
    --gray: #777777;
    --light-blue: #e6f0ff;
    --light-red: #ffebe9;
}

/* Styles généraux de la page équipe */
.page-header {
    background: linear-gradient(rgba(0, 85, 164, 0.8), rgba(0, 85, 164, 0.9)), url('../images/vidauban_marche.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0 60px;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section introduction de l'équipe */
.team-intro {
    background-color: var(--white);
    padding: 80px 0;
}

.team-message {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-message h2 {
    color: var(--blue);
    margin-bottom: 30px;
    position: relative;
}

.team-message h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--blue), var(--white), var(--red));
    margin: 15px auto 0;
}

.team-message p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Section leader de l'équipe */
.team-leader {
    background-color: var(--light);
    padding: 80px 0;
}

.leader-card {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leader-image {
    flex: 1;
    min-width: 300px;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    transition: transform 0.5s ease;
}

.leader-image img:hover {
    transform: scale(1.03);
}

.leader-info {
    flex: 2;
    padding: 40px;
    min-width: 300px;
}

.leader-info h2 {
    color: var(--blue);
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.leader-info h3 {
    color: var(--red);
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 500;
}

.leader-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.leader-quote {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-blue);
    border-left: 5px solid var(--blue);
    border-radius: 0 10px 10px 0;
}

.leader-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--blue);
}

/* Section membres de l'équipe */
.team-members {
    padding: 80px 0;
    background-color: var(--white);
}

.team-members h2 {
    color: var(--blue);
    margin-bottom: 50px;
    position: relative;
}

.team-members h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--blue), var(--white), var(--red));
    margin: 15px auto 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: var(--blue);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.member-role {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.member-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section rejoindre l'équipe */
.join-team {
    background: linear-gradient(rgba(0, 85, 164, 0.9), rgba(0, 85, 164, 0.8)), url('../images/vidauban_marche.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.join-team h2 {
    margin-bottom: 20px;
    color: var(--white);
}

.join-team p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .leader-card {
        gap: 30px;
    }
    
    .leader-info {
        padding: 30px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header p {
        font-size: 1.3rem;
    }
    
    .leader-card {
        flex-direction: column;
    }
    
    .leader-image {
        min-height: 350px;
    }
    
    .leader-image img {
        border-radius: 10px 10px 0 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .team-message p {
        font-size: 1.1rem;
    }
    
    .leader-info h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .leader-info h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .leader-info {
        padding: 20px;
    }
    
    .leader-info h2 {
        font-size: 1.8rem;
    }
    
    .leader-info h3 {
        font-size: 1.3rem;
    }
    
    .leader-quote {
        padding: 15px;
    }
    
    .leader-quote blockquote {
        font-size: 1.1rem;
    }
    
    .team-member {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .member-info h3 {
        font-size: 1.4rem;
    }
}