/**
 * Ministère des Droits Humains — Bongisa Prison
 * Landing Page Officielle & Institutionnelle
 * Conformité : Ordonnance Présidentielle n° 25/293 du 15 décembre 2025
 * Auteur : Ir. Roland MANTAMA
 */

:root {
    --bop-bg-dark: #040814;
    --bop-bg-surface: #0a1326;
    --bop-bg-card: rgba(10, 20, 42, 0.88);
    --bop-border-card: rgba(255, 255, 255, 0.1);
    --bop-border-glow: rgba(56, 189, 248, 0.35);
    --bop-primary: #0284c7;
    --bop-primary-hover: #0369a1;
    --bop-primary-glow: rgba(56, 189, 248, 0.45);
    --bop-gold: #f59e0b;
    --bop-gold-glow: rgba(245, 158, 11, 0.4);
    --bop-crimson: #dc2626;
    --bop-text-main: #f8fafc;
    --bop-text-muted: #94a3b8;
    --bop-text-dim: #64748b;
    --bop-success: #10b981;
    --bop-radius: 18px;
    --bop-radius-sm: 10px;
}

body.customers {
    background-color: var(--bop-bg-dark) !important;
    background: radial-gradient(ellipse at 50% 0%, #0a1b38 0%, var(--bop-bg-dark) 75%) !important;
    color: var(--bop-text-main) !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Hide only default Perfex theme navigation & default theme footer */
body.customers > nav.navbar,
body.customers .submenu,
body.customers > footer#footer,
body.customers #theme_footer,
body.customers > footer:not(.bop-land-footer) {
    display: none !important;
}

#wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
}

#wrapper > #content > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Background Animated Canvas */
.bop-land-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #0c1e3d 0%, var(--bop-bg-dark) 80%);
}

.bop-land-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.32;
    will-change: transform;
    animation: bopFloat 18s ease-in-out infinite alternate;
}

.bop-land-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #0284c7 0%, rgba(2,132,199,0) 70%);
    top: -180px;
    left: -150px;
}

.bop-land-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f59e0b 0%, rgba(245,158,11,0) 70%);
    bottom: 5%;
    right: -120px;
    animation-delay: -7s;
}

.bop-land-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 40%, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 60%, transparent 95%);
}

@keyframes bopFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, 30px, 0) scale(1.06); }
    100% { transform: translate3d(-30px, 40px, 0) scale(0.96); }
}

.bop-land-master {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- HEADER & NAVBAR --- */
.bop-land-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.bop-land-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.bop-nav-brand-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.bop-land-nav-logo-lg {
    height: 52px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(2, 132, 199, 0.45));
    transition: transform 0.25s ease;
}

.bop-land-nav-brand:hover .bop-land-nav-logo-lg {
    transform: scale(1.03);
}

.bop-land-nav-text-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #fbbf24;
    text-transform: uppercase;
    line-height: 1;
    margin-left: 2px;
}

.bop-land-ministry-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 30px;
}

.bop-min-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.bop-land-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bop-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0 !important;
    padding: 10px 20px;
    border-radius: var(--bop-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bop-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #38bdf8;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.bop-btn-glow {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: var(--bop-radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bop-btn-glow:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 26px rgba(2, 132, 199, 0.65);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.bop-land-hero {
    text-align: center;
    padding: 55px 20px 45px;
    position: relative;
}

.bop-hero-country-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 6px 18px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.bop-hero-h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.22;
    letter-spacing: -0.5px;
    max-width: 980px;
    margin: 0 auto 18px;
}

.bop-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #ffffff 40%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bop-hero-lead {
    font-size: 16px;
    color: var(--bop-text-muted);
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 32px;
}

.bop-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.bop-btn-lg-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 34px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 28px rgba(2, 132, 199, 0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bop-btn-lg-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(2, 132, 199, 0.7);
}

.bop-btn-lg-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc !important;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.bop-btn-lg-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38bdf8;
    transform: translateY(-3px);
}

.bop-hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #94a3b8;
}

.bop-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 20px;
}

.bop-badge-item i {
    color: #38bdf8;
}

/* ============================================================
   --- SECTION SPÉCIALE : CADRE LÉGAL & ORDONNANCE 25/293 ---
   ============================================================ */
.bop-legal-section {
    padding: 40px 0 50px;
    position: relative;
}

.bop-legal-card-master {
    background: linear-gradient(150deg, rgba(12, 26, 56, 0.94) 0%, rgba(6, 14, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--bop-radius);
    padding: 40px 38px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.bop-legal-card-master::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b 0%, #0284c7 100%);
}

.bop-legal-header {
    margin-bottom: 30px;
}

.bop-legal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bop-legal-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.bop-legal-intro {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 920px;
}

.bop-scope-box {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bop-scope-icon {
    font-size: 24px;
    color: #38bdf8;
    margin-top: 2px;
}

.bop-scope-text h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.bop-scope-text p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.55;
}

.bop-scope-text strong {
    color: #e2e8f0;
}

/* Legal Mapping Grid */
.bop-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.bop-legal-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 22px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bop-legal-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

.bop-legal-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bop-legal-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bop-legal-attr-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bop-legal-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.bop-legal-item-desc {
    font-size: 12.5px;
    color: var(--bop-text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.bop-legal-impl-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- THE 4 PILLARS SECTION --- */
.bop-pillars-section {
    padding: 30px 0 50px;
}

.bop-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.bop-section-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #38bdf8;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bop-section-title {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.bop-section-sub {
    font-size: 14px;
    color: var(--bop-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.bop-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.bop-pillar-card {
    background: var(--bop-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bop-border-card);
    border-radius: var(--bop-radius);
    padding: 30px 24px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bop-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0284c7, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bop-pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--bop-border-glow);
    box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.25);
}

.bop-pillar-card:hover::before {
    opacity: 1;
}

.bop-card-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #38bdf8;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.bop-pillar-card:hover .bop-card-icon-box {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.bop-card-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.bop-card-desc {
    font-size: 13px;
    color: var(--bop-text-muted);
    line-height: 1.6;
}

/* --- STATS / IMPACT BANNER --- */
.bop-impact-banner {
    background: linear-gradient(150deg, rgba(12, 24, 52, 0.9) 0%, rgba(6, 14, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bop-radius);
    padding: 34px 36px;
    margin: 30px 0 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 26px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.bop-stat-num {
    font-size: 34px;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.bop-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* --- FOOTER INSTITUTIONNEL (FORCÉ VISIBLE ET STYLISÉ) --- */
.bop-land-footer,
footer.bop-land-footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 40px 0 35px !important;
    margin-top: 40px !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    font-size: 12.5px !important;
    color: var(--bop-text-dim) !important;
    position: relative !important;
    z-index: 30 !important;
}

.bop-footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bop-footer-right {
    text-align: right;
    line-height: 1.65;
}

.bop-footer-credit-line {
    color: #64748b;
    font-size: 11.5px;
    margin-top: 4px;
}

.bop-dev-credit {
    color: #94a3b8;
    font-weight: 500;
}

.bop-dev-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bop-dev-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .bop-hero-h1 {
        font-size: 30px;
    }
    .bop-land-nav {
        flex-direction: column;
        gap: 16px;
    }
    .bop-legal-card-master {
        padding: 28px 20px;
    }
    .bop-land-footer,
    footer.bop-land-footer {
        flex-direction: column !important;
        text-align: center !important;
    }
    .bop-footer-right {
        text-align: center !important;
    }
}
