/* ============================================
   PROFIL NAVBAR — Shared styles for all profil pages
   ============================================ */

.profil-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.7rem 1.5rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Layout interne */
.profil-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Bouton retour */
.profil-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.profil-nav-back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Titre centré */
.profil-nav-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

/* Liens vers pages sœurs */
.profil-nav-siblings {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profil-nav-siblings a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
}

.profil-nav-siblings a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.profil-nav-siblings a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* ── Thèmes de couleur par page ── */

/* AMN — teal/cyan */
.amn-navbar {
    background: rgba(5, 20, 40, 0.93);
    border-bottom-color: rgba(20, 184, 166, 0.3);
}

.amn-navbar .profil-nav-title {
    color: #2dd4bf;
}

.amn-navbar .profil-nav-back:hover {
    border-color: rgba(20, 184, 166, 0.5);
    color: #2dd4bf;
}

.amn-navbar .profil-nav-siblings a:hover {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.4);
    color: #2dd4bf;
}

/* BUT Info — cyan/blue */
.info-navbar {
    background: rgba(5, 15, 35, 0.93);
    border-bottom-color: rgba(14, 165, 233, 0.3);
}

.info-navbar .profil-nav-title {
    color: #38bdf8;
}

.info-navbar .profil-nav-back:hover {
    border-color: rgba(14, 165, 233, 0.5);
    color: #38bdf8;
}

.info-navbar .profil-nav-siblings a:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.4);
    color: #38bdf8;
}

/* Licence Informatique — violet/purple */
.licence-navbar {
    background: rgba(8, 5, 30, 0.93);
    border-bottom-color: rgba(139, 92, 246, 0.3);
}

.licence-navbar .profil-nav-title {
    color: #a78bfa;
}

.licence-navbar .profil-nav-back:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
}

.licence-navbar .profil-nav-siblings a:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}

/* BUT MMI — pink/purple */
.mmi-navbar {
    background: rgba(30, 5, 20, 0.93);
    border-bottom-color: rgba(232, 121, 249, 0.3);
}

.mmi-navbar .profil-nav-title {
    color: #e879f9;
}

.mmi-navbar .profil-nav-back:hover {
    border-color: rgba(232, 121, 249, 0.5);
    color: #e879f9;
}

.mmi-navbar .profil-nav-siblings a:hover {
    background: rgba(232, 121, 249, 0.12);
    border-color: rgba(232, 121, 249, 0.4);
    color: #e879f9;
}

/* Audiovisuel — doré cinéma */
.av-navbar {
    background: rgba(15, 12, 5, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.35);
}

.av-navbar .profil-nav-title {
    color: #d4af37;
}

.av-navbar .profil-nav-back,
.av-navbar .profil-nav-back:visited {
    color: rgba(212, 175, 55, 0.85);
    border-color: rgba(212, 175, 55, 0.25);
}

.av-navbar .profil-nav-back:hover {
    border-color: rgba(212, 175, 55, 0.6);
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.av-navbar .profil-nav-siblings a:hover,
.av-navbar .profil-nav-siblings a.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

/* BTS SIO — vert émeraude */
.sio-navbar {
    background: rgba(5, 18, 10, 0.95);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.sio-navbar .profil-nav-title {
    color: #34d399;
}

.sio-navbar .profil-nav-back,
.sio-navbar .profil-nav-back:visited {
    color: rgba(52, 211, 153, 0.85);
    border-color: rgba(16, 185, 129, 0.2);
}

.sio-navbar .profil-nav-back:hover {
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
}

.sio-navbar .profil-nav-siblings a:hover,
.sio-navbar .profil-nav-siblings a.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .profil-nav-siblings {
        display: none;
    }
}

@media (max-width: 600px) {
    .profil-nav-title {
        display: none;
    }
}

/* ============================================
   FOOTER COMMUN — Partagé par toutes les pages profil
   ============================================ */

.profil-footer {
    background: rgba(5, 8, 20, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0 1.5rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.profil-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profil-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profil-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.profil-footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.profil-footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.profil-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.profil-footer-contact>a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profil-footer-contact>a:hover {
    color: #fff;
}

.profil-footer-socials {
    display: flex;
    gap: 0.6rem;
}

.profil-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.profil-footer-socials a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.profil-footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profil-footer-copy span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.profil-footer-copy a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.profil-footer-copy a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive footer */
@media (max-width: 600px) {
    .profil-footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .profil-footer-contact {
        align-items: flex-start;
    }

    .profil-footer-copy {
        flex-direction: column;
        align-items: flex-start;
    }
}