/* =========================
   STRUCTURE PAGE
   ========================= */

html,
body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

.developer-page {
    position: relative;
    z-index: 3;
    margin-left: 220px;
    width: calc(100% - 220px);
    flex: 1;
    padding: 105px 24px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* =========================
   TITRES
   ========================= */

.dev-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.1rem;
    color: #93c5fd;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow:
        0 0 20px rgba(59, 130, 246, 0.20),
        0 0 40px rgba(59, 130, 246, 0.10);
}

.dev-subtitle {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 26px;
    opacity: 0.9;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   GRID DEVELOPERS
   ========================= */

.dev-grid {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* =========================
   CARDS
   ========================= */

.dev-card {
    width: 240px;
    padding: 20px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(111, 0, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(111, 0, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dev-card:hover {
    transform: translateY(-5px);
    border-color: rgba(111, 0, 255, 0.18);
    box-shadow:
        0 0 18px rgba(111, 0, 255, 0.18),
        0 12px 24px rgba(111, 0, 255, 0.18);
}

/* =========================
   AVATAR
   ========================= */

.dev-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border: 2px solid rgba(111, 0, 255, 0.18);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dev-avatar:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(111, 0, 255, 0.18);
}

/* =========================
   TEXTE
   ========================= */

.dev-card h2 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
}

.dev-role {
    font-size: 0.84rem;
    color: #93c5fd;
    margin-bottom: 10px;
    font-weight: 600;
}

.dev-description {
    font-size: 0.78rem;
    color: #dbeafe;
    line-height: 1.5;
    opacity: 0.9;
}

/* =========================
   FOOTER FIX
   ========================= */

.footer {
    margin-top: auto;
    margin-left: 220px;
    width: calc(100% - 220px);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .developer-page {
        margin-left: 88px;
        width: calc(100% - 88px);
        padding: 100px 18px 22px;
    }

    .footer {
        margin-left: 88px;
        width: calc(100% - 88px);
    }
}

@media (max-width: 768px) {
    body {
        display: block;
    }

    .developer-page {
        margin-left: 0;
        width: 100%;
        padding: 100px 16px 28px;
    }

    .dev-title {
        font-size: 1.7rem;
    }

    .dev-subtitle {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .dev-grid {
        gap: 16px;
    }

    .dev-card {
        width: 100%;
        max-width: 280px;
    }

    .footer {
        margin-left: 0;
        width: 100%;
    }
}