/* SAE Profil Membres - Styles */

.sae-profil-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

/* ========== PHOTO DE PROFIL ========== */

.sae-profil-photo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 4px solid #f0f0f0;
    margin-bottom: 1rem;
}

.sae-profil-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sae-profil-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8B4D4 0%, #B4D4E8 100%);
}

.sae-profil-initial {
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.sae-profil-description p, .sae-profil-contact p {
    color: #000000; /* Texte plus sombre */
}

/* ========== HEADER (NOM & ACCROCHE) ========== */

.sae-profil-header {
    text-align: center;
    width: 100%;
}

.sae-profil-nom {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.sae-profil-accroche {
    margin: 0;
    font-size: 1.25rem;
    color: #666;
    font-style: italic;
    font-weight: 500;
}

/* ========== DESCRIPTION ========== */

.sae-profil-description {
    text-align: center;
    width: 100%;
    max-width: 700px;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.sae-profil-description p {
    margin: 0;
}

/* ========== SPÉCIALITÉS ========== */

.sae-profil-specialites {
    width: 100%;
    text-align: center;
}

.sae-specialites-titre {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.sae-specialites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.sae-specialite-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #a36fdf; /* Couleur unie sombre pour le contraste */
        color: #ffffff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ========== CONTACT ========== */

.sae-profil-contact {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #a36fdf;
}

.sae-profil-contact p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.sae-profil-contact a {
    color: #E8B4D4;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.sae-profil-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ========== DIVIDER ========== */

.sae-profil-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E8B4D4, transparent);
    margin: 2rem 0;
    border-radius: 2px;
}

/* ========== TIMELINE SECTION ========== */

.sae-profil-timeline {
    width: 100%;
}

.sae-timeline-section-titre {
    margin: 0 0 2rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .sae-profil-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .sae-profil-photo-wrapper {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

    .sae-profil-nom {
        font-size: 2rem;
    }

    .sae-profil-accroche {
        font-size: 1.1rem;
    }

    .sae-profil-description {
        font-size: 1rem;
    }

    .sae-specialite-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .sae-timeline-section-titre {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .sae-profil-container {
        padding: 1rem;
        gap: 1.2rem;
    }

    .sae-profil-photo-wrapper {
        width: 120px;
        height: 120px;
    }

    .sae-profil-initial {
        font-size: 3rem;
    }

    .sae-profil-nom {
        font-size: 1.6rem;
    }

    .sae-profil-accroche {
        font-size: 1rem;
    }

    .sae-profil-description {
        font-size: 0.95rem;
    }

    .sae-specialites-list {
        gap: 0.5rem;
    }

    .sae-specialite-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .sae-profil-contact {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .sae-timeline-section-titre {
        font-size: 1.2rem;
    }
}

/* ========== ANIMATIONS ========== */

.sae-profil-photo {
    animation: sae-profil-fade 0.6s ease;
}

.sae-profil-header {
    animation: sae-profil-slide-up 0.6s ease 0.1s both;
}

.sae-profil-description {
    animation: sae-profil-slide-up 0.6s ease 0.2s both;
}

.sae-specialites-list {
    animation: sae-profil-slide-up 0.6s ease 0.3s both;
}

.sae-profil-contact {
    animation: sae-profil-slide-up 0.6s ease 0.4s both;
}

@keyframes sae-profil-fade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sae-profil-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ACCESSIBILITY ========== */

.sae-profil-photo-wrapper:focus-visible {
    outline: 3px solid #E8B4D4;
    outline-offset: 2px;
}

.sae-profil-contact a:focus-visible {
    outline: 2px solid #E8B4D4;
    outline-offset: 2px;
    border-radius: 2px;
}
