@import url('general.css');
@import url('variables.css');

/* ===== SECTION ÉQUIPE ===== */
.team-section {
    padding: var(--spacing-3xl) 0;
    background: var(--light-gray);
}

.team-section .section-title {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.team-section .lead {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    max-width: var(--max-width-text);
    margin-left: auto;
    margin-right: auto;
}

/* ===== GRILLE ÉQUIPE ===== */
.team-grid {
    display: grid;
    grid-template-columns: var(--grid-columns-auto-fit-300);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

/* ===== CARTES ÉQUIPE ===== */
.team-card {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-transform), box-shadow var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-media {
    margin-bottom: 1.5rem;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: contain;
    object-position: center;
    border: 4px solid var(--light-gray);
}

.team-body {
    text-align: center;
    padding: 0 1rem;
    margin-top: -0.5rem;
}

.team-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 0.4;
}

.team-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ===== SECTION INFORMATIVE ===== */
.team-section>.container>p {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    border-left: 4px solid var(--accent-color);
}

/* ===== CONTENU ÉQUIPE (styles génériques) ===== */
.team-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* ===== SPÉCIALITÉS ===== */
.team-specialties {
    margin-top: 1rem;
}

.specialty-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.2rem;
}

/* ===== RESPONSIVE ===== */

/* Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .team-card {
        padding: 1.8rem;
    }

    .team-section .section-title {
        font-size: 2rem;
    }

    .team-section .lead {
        font-size: 1.1rem;
    }

    .team-avatar {
        width: 130px;
        height: 130px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-section .section-title {
        font-size: 1.8rem;
    }

    .team-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .team-title {
        font-size: 1.2rem;
    }

    .team-subtitle {
        font-size: 0.9rem;
    }

    .team-text {
        font-size: 0.9rem;
    }

    .team-section>.container>p {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2rem 0;
    }

    .team-section .section-title {
        font-size: 1.6rem;
    }

    .team-section .lead {
        font-size: 1rem;
    }

    .team-card {
        padding: 1rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    .team-title {
        font-size: 1.1rem;
    }

    .team-subtitle {
        font-size: 0.85rem;
    }

    .team-text {
        font-size: 0.85rem;
    }

    .team-section>.container>p {
        padding: 1rem;
        font-size: 0.95rem;
    }
}