/* ==============================================
   PAGE NOTRE ÉQUIPE - PARACHEZVOUS
   ============================================== */

/* --- Hero Banner --- */
.ne_hero {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.ne_hero_overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 60%, rgba(173, 255, 47, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 75% 40%, rgba(76, 175, 80, 0.05) 0%, transparent 40%);
}

.ne_hero_content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 20px;
}

.ne_hero_content h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.ne_hero_content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Main Container --- */
.ne_main {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.ne_container {
    padding: 50px 0 60px;
}

/* --- Section Title --- */
.ne_section_title {
    text-align: center;
    margin-bottom: 44px;
}

.ne_section_title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.ne_section_title p {
    font-size: 16px;
    color: #777;
    max-width: 550px;
    margin: 0 auto;
}

/* --- Team Grid --- */
.ne_team_grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 60px;
}

/* --- Team Card --- */
.ne_member {
    display: flex;
    gap: 32px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    border: 1px solid #eee;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
}

.ne_member.ne_revealed {
    opacity: 1;
    transform: translateY(0);
}

.ne_member:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ne_member.ne_revealed:hover {
    transform: translateY(-2px);
}

/* --- Member Photo --- */
.ne_member_photo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f0f0f0;
}

.ne_member_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ne_member_photo .ne_avatar_placeholder {
    font-size: 56px;
    color: #4caf50;
}

/* --- Member Info --- */
.ne_member_info {
    flex: 1;
    min-width: 0;
}

.ne_member_info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.ne_member_role {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #4caf50;
    background: #f1f8f1;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.ne_member_info p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* --- Alternate layout (image right) --- */
.ne_member.ne_alt {
    flex-direction: row-reverse;
}

/* --- Mission Section --- */
.ne_mission {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f4f0 100%);
    border-radius: 16px;
    padding: 50px 48px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid #eef0f2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ne_mission.ne_revealed {
    opacity: 1;
    transform: translateY(0);
}

.ne_mission_icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 28px;
}

.ne_mission h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.ne_mission p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    max-width: 750px;
    margin: 0 auto 12px;
}

/* --- About Section --- */
.ne_about {
    text-align: center;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ne_about.ne_revealed {
    opacity: 1;
    transform: translateY(0);
}

.ne_about h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.ne_about p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    max-width: 750px;
    margin: 0 auto 12px;
}

/* --- Stats Row --- */
.ne_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.ne_stat_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ne_stat_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.ne_stat_number {
    font-size: 32px;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 4px;
}

.ne_stat_label {
    font-size: 14px;
    color: #777;
}

/* --- Back to Top --- */
.ne_back_to_top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
}

.ne_back_to_top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ne_back_to_top:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45);
}

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

@media (max-width: 992px) {
    .ne_hero {
        height: 240px;
    }
    .ne_hero_content h1 {
        font-size: 34px;
    }
    .ne_hero_content p {
        font-size: 16px;
    }
    .ne_member {
        padding: 28px 30px;
        gap: 24px;
    }
    .ne_member_photo {
        width: 130px;
        height: 130px;
    }
    .ne_member_info h3 {
        font-size: 20px;
    }
    .ne_mission {
        padding: 36px 30px;
    }
}

@media (max-width: 768px) {
    .ne_hero {
        height: 200px;
    }
    .ne_hero_content h1 {
        font-size: 28px;
    }
    .ne_hero_content p {
        font-size: 14px;
    }
    .ne_section_title h2 {
        font-size: 24px;
    }
    .ne_member {
        flex-direction: column !important;
        text-align: center;
        padding: 28px 22px;
        gap: 18px;
    }
    .ne_member_photo {
        width: 120px;
        height: 120px;
    }
    .ne_member_info h3 {
        font-size: 18px;
    }
    .ne_member_info p {
        font-size: 14px;
    }
    .ne_mission {
        padding: 28px 20px;
    }
    .ne_mission h2,
    .ne_about h2 {
        font-size: 22px;
    }
    .ne_mission p,
    .ne_about p {
        font-size: 14px;
    }
    .ne_stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ne_stat_number {
        font-size: 26px;
    }
    .ne_back_to_top {
        bottom: 20px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ne_hero {
        height: 160px;
    }
    .ne_hero_content h1 {
        font-size: 22px;
    }
    .ne_hero_content p {
        font-size: 13px;
    }
    .ne_main {
        padding: 0 12px;
    }
    .ne_container {
        padding: 30px 0 40px;
    }
    .ne_section_title {
        margin-bottom: 28px;
    }
    .ne_section_title h2 {
        font-size: 20px;
    }
    .ne_member {
        padding: 22px 16px;
        gap: 14px;
        border-radius: 12px;
    }
    .ne_member_photo {
        width: 100px;
        height: 100px;
    }
    .ne_member_photo .ne_avatar_placeholder {
        font-size: 40px;
    }
    .ne_member_info h3 {
        font-size: 17px;
    }
    .ne_member_role {
        font-size: 12px;
        padding: 4px 10px;
    }
    .ne_stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .ne_stat_card {
        padding: 16px 12px;
    }
    .ne_stat_number {
        font-size: 22px;
    }
    .ne_stat_label {
        font-size: 12px;
    }
}
