/* ----- TEAM PAGE ----- */

body {
    background-color: #0e0e0e;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

.team-section {
    width: 90%;
    max-width: 1100px;
    margin: 120px auto 60px auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.team-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    font-weight: bold;
    color: #F5CC27;
    text-shadow: 0 0 10px rgba(245, 204, 39, 0.5);
}

.member {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px 0;
    background: #141414;
    padding: 30px;
    border-radius: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.member.reverse {
    flex-direction: row-reverse;
}

.member-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    transition: box-shadow 0.3s ease;

    /* Effet néon personnalisé (blanc par défaut, peut être surchargé par PHP inline) */
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.member-info {
    flex: 1;
    text-align: center;
}

.member-info h3 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #F5CC27;
    text-shadow: 0 0 5px rgba(245, 204, 39, 0.3);
}

.member-info p {
    margin: 8px 0;
    font-size: 16px;
    color: #ddd;
}

.member-info p strong {
    color: #F5CC27;
}

.member-phrase {
    margin-top: 10px;
    font-style: italic;
    color: #aaa;
    font-size: 15px;
}

.lead-développeur .member-info h3 {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.community-manager .member-info h3 {
    color: #ff66cc;
    text-shadow: 0 0 10px #ff66cc;
}

/* Responsive */
@media (max-width: 800px) {
    .member { border-radius: 20px !important; padding: 20px; },
    .member.reverse {
        flex-direction: column;
        text-align: center;
    }

    .member-image img {
        width: 140px;
        height: 140px;
    }
}


/* ------------------------------ */
/* RESET                          */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #0d0d0d;
    color: #fff;
}

/* ------------------------------ */
/* HERO SECTION                   */
/* ------------------------------ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajuste la hauteur comme tu veux */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    text-align: center;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}



.hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 10px;
}

/* ------------------------------ */
/* CATEGORIES                     */
/* ------------------------------ */

.categories {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

.categories h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.category h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #F5CC27;
}

.category p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
}

/* ------------------------------ */
/* FOOTER                         */
/* ------------------------------ */

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ------------------------------ */
/* HEADER                         */
/* ------------------------------ */

/* Header transparent au début */
/* Header glassmorphism */
/* Header glassmorphism au-dessus du hero */
.header {
    position: absolute; /* NE PREND PLUS DE PLACE */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
	
    background: rgba(20, 20, 20, 0.55);
    
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);

    transition: background 0.4s ease, backdrop-filter 0.4s ease, position 0.2s ease;
}

/* Quand on scroll : header devient fixe + plus opaque */
.header.scrolled {
    position: fixed; /* COLLE EN HAUT */
    background: rgba(100, 100, 100, 0.05);
    backdrop-filter: blur(18px) saturate(200%);
    -webkit-backdrop-filter: blur(18px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.logo a:hover {
    color: #3498db;
}

/* ------------------------------ */
/* NAVIGATION DESKTOP             */
/* ------------------------------ */

/* ----- NAV DESKTOP ----- */
.nav-desktop {
    display: none; /* restera activé via media queries */
}

/* Conteneur UL */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Boutons */
.nav-desktop ul li a {
    font-family: "Fugaz One", sans-serif;
    background: #1f1f1f;
    padding: 10px 18px;
    border-radius: 50vh;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

/* Hover */
.nav-desktop ul li a:hover {
    background: #F5CC27;

    transform: translateY(-2px);
}


/* ------------------------------ */
/* BURGER BUTTON                  */
/* ------------------------------ */

.burger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

.burger-btn:hover span {
    background-color: #3498db;
}

/* ------------------------------ */
/* SIDEBAR MOBILE                 */
/* ------------------------------ */

/* Sidebar qui descend du haut */
.sidebar {
    position: fixed;
    top: -100%; /* caché au-dessus */
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: top 0.35s ease;
    z-index: 1000;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Quand actif → descend */
.sidebar.active {
    top: 0;
}


.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #3498db;
}

.nav-mobile {
    margin-top: 4rem;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 1.5rem;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-mobile a:hover {
    color: #3498db;
    border-left-color: #3498db;
    padding-left: 1rem;
}

/* ------------------------------ */
/* OVERLAY                        */
/* ------------------------------ */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ------------------------------ */
/* MAIN                           */
/* ------------------------------ */

main {
    min-height: calc(100vh - 70px);
}

/* ------------------------------ */
/* RESPONSIVE                     */
/* ------------------------------ */

@media (min-width: 768px) {
    .nav-desktop {
        display: block;
    }

    .burger-btn {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .overlay {
        display: none;
    }
}

/* ----- FOOTER 3 COLONNES ----- */

.footer-section {
    background: #0d0d0d;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.footer-block {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    color: #F5CC27;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-text {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin: 8px 0;
}

.footer-list a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #F5CC27;
}

.footer-copy {
    margin-top: 40px;
    font-size: 0.85rem;
    opacity: 0.6;
}