/* =========================================================
   STYLES SPECIFIQUES A LA PAGE D'ACCUEIL
   -------------------------------------------------------
   Verifie par audit du HTML rendu (27/09/2026) : ces classes
   n'apparaissent QUE sur la page d'accueil (bandeau chantier,
   hero, badges live, cartes valeurs, apercu factions, etapes).
   Charge uniquement via is_front_page() dans functions.php.
   ========================================================= */

.ld-hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Live Badges */
.ld-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ld-badge {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-pure);
}

.ld-badge-cyan {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.ld-badge-pink {
    border-color: rgba(255, 0, 127, 0.35);
    box-shadow: 0 0 10px var(--neon-pink-glow);
    color: var(--neon-pink);
}

.ld-construction-banner {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    background: rgba(255, 0, 127, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 0, 127, 0.5);
    color: var(--text-pure);
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.admin-bar .ld-construction-banner {
    top: 112px;
}

@media (max-width: 782px) {
    .admin-bar .ld-construction-banner {
        top: 126px;
    }
}

.ld-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ld-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
}

.ld-hero h1 span {
    color: var(--neon-pink);
    text-shadow: 0 0 25px var(--neon-pink-glow);
    position: relative;
}

.ld-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--text-nav);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ld-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* ==========================================================================
   VALEURS & EXPÉRIENCE RP (3 Cartes) — page d'accueil uniquement
   ========================================================================== */
.ld-section-title-wrap {
    text-align: center;
    margin-bottom: 4.5rem;
}

.ld-section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
}

.ld-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ld-card {
    background: var(--glass-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.8rem 2.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ld-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.ld-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

.ld-card:hover::before {
    opacity: 1;
}

.ld-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid var(--neon-pink);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink-glow);
}

.ld-card:nth-child(2) .ld-card-icon {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.ld-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ld-card p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   FACTIONS & CARRIÈRES — apercu (3 colonnes) sur la page d'accueil
   ========================================================================== */
.ld-factions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ld-faction-card {
    background: linear-gradient(180deg, var(--glass-card) 0%, rgba(11, 14, 20, 0.95) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.ld-faction-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-pink);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px var(--neon-pink-glow);
}

.ld-faction-header {
    padding: 2.2rem 2rem 1rem 2rem;
    position: relative;
}

.ld-faction-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.tag-legal {
    background: rgba(0, 240, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.tag-enterprise {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    border: 1px solid var(--border-subtle);
}

.tag-illegal {
    background: rgba(255, 0, 127, 0.15);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.ld-faction-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.ld-faction-body {
    padding: 0 2rem 2.2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ld-faction-body p {
    color: #94A3B8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.ld-faction-features {
    list-style: none;
    margin-bottom: 2rem;
}

.ld-faction-features li {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ld-faction-features li::before {
    content: '▹';
    color: var(--neon-pink);
}

.ld-faction-card:nth-child(1) .ld-faction-features li::before {
    color: var(--neon-cyan);
}

/* ==========================================================================
   ÉTAPES : COMMENT NOUS REJOINDRE — page d'accueil uniquement
   ========================================================================== */
.ld-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.ld-step-card {
    background: var(--glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    backdrop-filter: blur(8px);
}

.ld-step-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    transition: var(--transition-smooth);
}

.ld-step-card:hover .ld-step-number {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink-glow);
}

.ld-step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.ld-step-card p {
    color: #94A3B8;
    font-size: 0.9rem;
}