:root {
    --bg-light: #f8fafc; 
    --card-light: #ffffff; 
    --accent-gold: #f59e0b; 
    --accent-blue: #1e40af; 
    --text-main: #0f172a; 
    --text-muted: #64748b; 
    --border-color: #e2e8f0; 
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Barre de navigation */
.premium-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.navbar-brand-prestige {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-decoration: none;
}

.text-gold { 
    color: var(--accent-gold); 
}

/* Hero Banner */
.hero-banner {
    background-color: #090d16;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    border-radius: 24px;
    padding: 40px 60px;
    color: #ffffff;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px -10px rgba(9, 13, 22, 0.15);
}

/* Barre de recherche */
.search-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.search-input-premium {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px 14px 46px;
    font-size: 14px;
    width: 100%;
    color: var(--text-main);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.search-input-premium:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.08);
    outline: none;
}

/* Grille à 5 colonnes */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 576px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px)  { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .catalog-grid { grid-template-columns: repeat(5, 1fr); } }

/* Architecture des cartes */
.movie-card {
    background: var(--card-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}

/* Zone vidéo / image de l'artiste */
.movie-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    background: #000;
}

.movie-thumb, .movie-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.movie-title-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-description-text {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Correction : Boutons parfaitement centrés en Flexbox */
.btn-premium {
    background: #0f172a;
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Centrage horizontal parfait */
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-premium:hover {
    background: #1e293b;
    color: #ffffff;
}

/* Correction : Le bouton de paiement centré et stylisé */
.btn-pay {
    background: #fff3cd; 
    color: #856404 !important;
    border: 1px solid #ffeeba;
}

.btn-pay:hover {
    background: var(--accent-gold);
    color: #000000 !important;
    border-color: var(--accent-gold);
}
/* --- Styles du Menu de Navigation --- */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-premium {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link-premium:hover, .nav-link-premium.active {
    color: var(--accent-blue);
}

/* Bouton Menu Mobile (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

/* Adaptabilité Mobile */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        z-index: 1000;
        gap: 15px;
    }
    
    .nav-menu.open {
        display: flex;
    }
}
/* --- CONFIGURATION GÉNÉRALE DE LA BARRE DE NAVIGATION --- */
.premium-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.brand-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* --- MENU VERSION ORDINATEUR (PC) --- */
.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-premium {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link-premium:hover, .nav-link-premium.active {
    color: var(--accent-blue);
}

/* Bouton hamburger : caché sur ordinateur */
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- PASSAGE AUTOMATIQUE EN MODE SMARTPHONE / MOBILE (< 991px) --- */
@media (max-width: 991px) {
    /* On affiche le bouton hamburger */
    .menu-toggle {
        display: block; 
    }

    /* Le menu se transforme en boîte invisible verticale sous la barre */
    .nav-menu {
        display: none; /* Caché par défaut */
        flex-direction: column;
        position: absolute;
        top: 100%; /* S'ouvre juste en dessous de la navbar */
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 2px solid var(--border-color);
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        gap: 18px;
        box-sizing: border-box;
    }

    /* Cette classe sera ajoutée par le JavaScript au clic pour afficher le menu */
    .nav-menu.open {
        display: flex; 
    }

    /* Ajustement des textes utilisateurs sur mobile */
    .welcome-text {
        display: none; /* Cache le texte de bienvenue trop long sur mobile */
    }
}
/* ==========================================================================
   CONGOCINÉ - SYSTEME DE DESIGN PREMIUM SPLIT-LAYOUT & PAIEMENT
   ========================================================================== */

:root {
    --brand-dark: #090d16;
    --brand-blue: #1e40af;
    --brand-gold: #f59e0b;
    --text-dark: #0f172a;
}

.split-layout { 
    min-height: 100vh; 
    display: flex; 
}

/* Le panneau gauche institutionnel strict */
.brand-panel {
    background-color: var(--brand-dark);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    width: 42%; 
    padding: 60px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    color: #ffffff;
    box-sizing: border-box;
}

.form-panel { 
    width: 58%; 
    padding: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f8fafc; 
    box-sizing: border-box;
}

.form-container { 
    max-width: 460px; 
    width: 100%; 
}

.navbar-brand-prestige { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    font-weight: 800; 
    font-size: 28px; 
    letter-spacing: -0.5px; 
    color: #ffffff; 
    text-decoration: none; 
}

.premium-fieldset { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 20px; 
    padding: 40px 35px; 
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.02); 
}

.section-title { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    font-weight: 700; 
    color: var(--text-dark); 
    letter-spacing: -0.5px; 
}

.form-group-premium { 
    margin-bottom: 20px; 
    position: relative; 
}

.form-label-premium { 
    font-size: 11px; 
    font-weight: 700; 
    color: #475569; 
    margin-bottom: 6px; 
    display: block; 
    text-transform: uppercase; 
    letter-spacing: 0.75px; 
}

.input-icon-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
}

.input-icon-wrapper i { 
    position: absolute; 
    left: 16px; 
    color: #94a3b8; 
    font-size: 16px; 
    pointer-events: none; 
}

.form-control-premium { 
    background: #ffffff; 
    border: 1px solid #cbd5e1; 
    color: var(--text-dark); 
    border-radius: 10px; 
    padding: 12px 16px 12px 46px; 
    font-size: 14px; 
    width: 100%; 
    transition: all 0.2s ease; 
}

.form-control-premium:focus { 
    border-color: var(--brand-blue); 
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.07); 
    outline: none; 
}

.artist-option-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 25px;
    transition: all 0.2s;
}

.artist-option-box:hover {
    border-color: var(--brand-blue);
    background: #f1f5f9;
}

.btn-premium { 
    background: var(--brand-dark); 
    color: #ffffff; 
    border: none; 
    font-weight: 600; 
    border-radius: 10px; 
    padding: 14px; 
    font-size: 14px; 
    width: 100%; 
    transition: all 0.2s ease; 
    text-decoration: none; 
    display: block; 
    text-align: center; 
    box-sizing: border-box;
    cursor: pointer;
}

.btn-premium:hover { 
    background: #111827; 
    color: #fff; 
}

.text-gold { 
    color: var(--brand-gold); 
}

/* ==========================================================================
   CONGOCINÉ - SYSTEME COMPACT MOBILE MONEY (ORANGE / MPESA / AIRTEL)
   ========================================================================== */

.operator-badge-container {
    display: flex; 
    gap: 10px; 
    margin-top: 10px; 
    background: #f8fafc; 
    border-radius: 8px; 
    padding: 10px; 
    border: 1px solid #e2e8f0;
}

.operator-logo {
    height: 24px; 
    filter: grayscale(20%); 
    opacity: 0.85; 
    transition: opacity 0.2s;
}

.operator-logo:hover { 
    opacity: 1; 
    filter: grayscale(0%); 
}

.operator-flex-container {
    display: flex;
    gap: 8px; 
    width: 100%;
    box-sizing: border-box;
}

.operator-column {
    flex: 1;
    width: 33.33%;
}

.operator-card-compact {
    display: flex;
    flex-direction: row;     
    align-items: center;     
    justify-content: center; 
    gap: 8px;                
    background: #ffffff;
    border: 1px solid #cbd5e1; 
    border-radius: 8px;       
    height: 52px;            
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    margin: 0;
    padding: 0 4px;
}

.operator-logo-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.operator-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    line-height: 1;
}

/* Changement d'état actif du bouton radio mobile money */
.btn-check:checked + .operator-card-compact {
    border-color: var(--brand-blue) !important;
    border-width: 2px !important;
    background-color: #f0f4ff !important;
}

/* Réactivité mobile pour le Split layout */
@media (max-width: 991px) {
    .split-layout { 
        flex-direction: column; 
    }
    .brand-panel { 
        width: 100%; 
        padding: 40px 25px; 
        min-height: auto; 
        background: transparent !important; /* Force le fond à devenir transparent */
        box-shadow: none !important;        /* Enlève une éventuelle ombre */
    }
    .form-panel { 
        width: 100%; 
        padding: 40px 20px; 
    }
}
/* Nettoyage forcé de la zone de navigation */
.premium-nav, .brand-panel, .brand-link {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.premium-nav, .nav-container, .brand-panel {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}


