.logo span {
    font-size: 22px;   /* texte plus présent */
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }

    .logo span {
        display: none;
    }
}

/* Section intro équipe */
.intro-equipe {
    width: 100%;
    background: #f7f5ef;
}

/* Image avec texte */
.intro-hero {
    background-image: url("../images/equipe.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 50vh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

/* Overlay sombre */
.intro-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Titre sur l’image */
.intro-hero h1 {
    position: relative;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    z-index: 1;
}

/* Texte en dessous */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .intro-hero h1 {
        font-size: 2rem;
    }

    .intro-content {
        padding: 2rem 1rem;
    }
}


/* Section Équipe */
.equipe-section {
    padding: 5rem 2rem;
    background: var(--white);
}

/* Grille des Membres */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 5rem;
}

/* Carte Membre */
.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Photo Membre */
.member-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Info Membre */
.member-info {
    padding: 2rem 1.5rem;
    background: var(--light);
}

.member-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.member-role {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Call to Action */
.team-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.team-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.team-cta p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.team-cta .btn {
    background: var(--accent);
    color: var(--white);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(60, 179, 113, 0.4);
}

/* Footer links are controlled by global css/style.css for consistent layout */

/* Responsive */
@media (max-width: 768px) {
    .hero-equipe h1 {
        font-size: 2rem;
    }

    .hero-equipe p {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-photo {
        height: 300px;
    }

    .team-cta {
        padding: 3rem 2rem;
    }

    .team-cta h2 {
        font-size: 1.8rem;
    }

    .team-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .member-photo {
        height: 250px;
    }

    .member-info {
        padding: 1.5rem 1rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.95rem;
    }
}
