/* ============================================================
   STYLE-TALENT.CSS — Styles partagés talents.php & talent-detail.php
   ============================================================ */

/* POLICE MONUMENT EXTENDED */
@font-face {
    font-family: 'Monument Extended';
    src: url('../Monument/MonumentExtended-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Monument Extended';
    src: url('../Monument/MonumentExtended-Ultrabold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-dark: #000000;
    --accent-gold: #d4af37;
    --accent-gold-light: #e9bc50;
}

/* ---- BODY ---- */
body {
    background: url('../img/talents/5.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* ---- NAVBAR ---- */
.custom-navbar {
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: 0.3s;
    font-family: 'Monument Extended', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-logo { height: 45px; }
.custom-navbar .nav-link {
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: 0.3s;
}
.custom-navbar .nav-link:hover { color: var(--accent-gold-light) !important; }
.btn-contact-nav {
    border: 1px solid #fff;
    padding: 8px 20px !important;
    border-radius: 50px;
}
.btn-contact-nav:hover {
    background: #fff;
    color: #000 !important;
}
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
    .navbar-collapse {
        background: #000;
        padding: 20px;
        margin-top: 20px;
        border-radius: 10px;
    }
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* ---- PAGE TALENTS (talents.php) ---- */
.section-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Monument Extended', sans-serif;
}

.talent-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    height: 550px;
}
.talent-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.85;
}
.talent-item:hover img { transform: scale(1.08); opacity: 1; }

.talent-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 25px 25px;
    background: linear-gradient(to top, rgba(90, 26, 36, 0.95) 0%, rgba(90, 26, 36, 0.4) 60%, transparent 100%);
    color: #fff;
}

.talent-name { font-size: 1.8rem; font-weight: 700; text-transform: uppercase; margin: 0; font-family: 'Monument Extended', sans-serif; }
.talent-domain { font-size: 0.85rem; text-transform: uppercase; color: var(--accent-gold); letter-spacing: 2px; margin-bottom: 5px; display: block; }
.btn-discover {
    display: inline-block; margin-top: 15px; padding: 8px 20px;
    border: 1px solid #fff; color: #fff; text-decoration: none;
    font-size: 0.75rem; text-transform: uppercase; transition: 0.3s;
}
.btn-discover:hover { background: #fff; color: #000; }

/* ---- PAGE DETAIL (talent-detail.php) ---- */
body.page-detail { padding-top: 100px; }

.detail-container {
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    padding: 80px 0;
    animation: fadeInPage 0.8s ease-out forwards;
}

.talent-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fadeInPage 1.2s ease-out forwards;
}

.talent-name-detail {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin: 15px 0 25px;
    font-family: 'Monument Extended', sans-serif;
}

.expertise-tag { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 4px; font-weight: 700; font-size: 0.9rem; }
.bio { font-size: 1.1rem; color: #e0e0e0; line-height: 1.8; margin-bottom: 40px; max-width: 550px; }

.social-stat {
    border-left: 3px solid var(--accent-gold);
    padding: 10px 18px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
}
.social-icon { width: 25px; height: 25px; object-fit: contain; }
.social-stat span { display: block; font-size: 0.7rem; color: #aaa; text-transform: uppercase; }
.social-stat strong { font-size: 1.1rem; }

/* Flèches de navigation (detail) */
.nav-arrows {
    position: fixed; top: 50%; width: 100%; z-index: 90;
    pointer-events: none; padding: 0 30px;
    display: flex; justify-content: space-between;
    transform: translateY(-50%);
}
.nav-arrows a { pointer-events: auto; color: rgba(255,255,255,0.4); font-size: 2.5rem; transition: 0.3s; text-decoration: none; }
.nav-arrows a:hover { color: var(--accent-gold-light); transform: scale(1.1); }

@media (max-width: 991px) {
    .nav-arrows { display: none; }
    .talent-img { margin-bottom: 40px; }
}

/* ---- MOBILE — page detail ---- */
@media (max-width: 767px) {
    body.page-detail { padding-top: 80px; }

    .detail-container {
        padding: 40px 0 60px;
        min-height: auto;
    }

    /* Marges latérales sur tout le contenu texte */
    .talent-content {
        padding: 0 18px;
    }

    /* Image pleine largeur sans débordement */
    .talent-img {
        height: 60vw;
        min-height: 220px;
        max-height: 380px;
        margin-bottom: 30px;
        border-radius: 0;
    }

    /* Titre moins écrasant sur petit écran */
    .talent-name-detail {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
        line-height: 1;
        margin: 12px 0 18px;
    }

    .expertise-tag {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .bio {
        font-size: 1rem;
        margin-bottom: 28px;
        max-width: 100%;
    }

    /* Réseaux sociaux : 1 colonne sur très petits écrans */
    .social-stat {
        padding: 10px 14px;
        margin-bottom: 10px;
    }

    /* Lien retour */
    .detail-container .mt-5 {
        margin-top: 30px !important;
        padding-bottom: 10px;
    }
}

/* ---- FOOTER (commun) ---- */
.main-footer {
    background-color: #0b0b0b;
    padding: 80px 0 30px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo { max-width: 180px; }
.footer-description { color: #fff; font-size: 0.95rem; line-height: 1.6; max-width: 350px; margin-top: 20px; }

.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-gold-light); }

.footer-contact li { margin-bottom: 20px; font-size: 1.1rem; display: flex; align-items: center; }
.icon-pink { color: #d63384 !important; margin-right: 15px; font-size: 1.2rem; }

.footer-socials { display: flex; flex-wrap: wrap; gap: 15px; }
.btn-social {
    background-color: var(--accent-gold-light);
    color: #000 !important;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 700;
    min-width: 140px;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-social:hover { background-color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); }
.copyright { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.text-muted { color: rgba(255,255,255,0.7) !important; }

/* ---- ANIMATION ---- */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .main-footer { padding: 50px 20px 20px; }
    .footer-socials { justify-content: center; }
    .btn-social { width: 100%; }
    .text-md-end { text-align: center !important; margin-top: 20px; }
}