/* =============================================
   Q.NET — Modern Luxury Dark Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ---- VARIABLES ---- */
:root {
    --bg:           #050505; /* Noir profond */
    --bg-white:     #111111; /* Fond cartes */
    --bg-soft:      #1a1a1a;
    --bg-section:   #0a0a0a;

    --rose:         #ff0000; /* Rouge Néon Pur */
    --rose-light:   #ff3333;
    --rose-pale:    rgba(230, 0, 0, 0.05);
    --rose-border:  rgba(230, 0, 0, 0.3);
    --rose-muted:   rgba(230, 0, 0, 0.1);

    --gold:         #f59e0b;
    --gold-pale:    rgba(245, 158, 11, 0.1);

    --text-1:    #ffffff; /* Texte clair */
    --text-2:    #cccccc;
    --text-3:    #888888;
    --text-inv:  #ffffff;

    --border:    rgba(255, 255, 255, 0.08);
    --border-md: rgba(255, 255, 255, 0.12);

    --shadow-xs: 0 1px 4px rgba(15,15,26,.06);
    --shadow-sm: 0 2px 12px rgba(15,15,26,.08);
    --shadow-md: 0 6px 30px rgba(15,15,26,.10);
    --shadow-lg: 0 12px 50px rgba(15,15,26,.12);
    --shadow-rose: 0 0 20px rgba(255, 0, 0, 0.3);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-1);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.15;
}
.display-title {
    font-family: 'Playfair Display', serif;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: transparent !important;
    border-bottom: 1px solid transparent;
    padding: 1rem 0; /* Un peu plus large au repos pour l'élégance */
    box-shadow: none;
    position: sticky; top: 0; z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    padding: .5rem 0;
}
.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #ffffff !important;
}
.navbar.scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--rose) !important;
}
.navbar.scrolled .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.45rem !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -.5px;
    text-decoration: none;
    display: flex; align-items: center; gap: .35rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.navbar-brand .brand-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--rose);
    display: inline-block;
    box-shadow: 0 0 8px var(--rose);
}

.nav-link {
    color: var(--text-2) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .8rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-link:hover { color: var(--rose) !important; background: var(--rose-muted); }
.nav-link.active { color: var(--rose) !important; }

.dropdown-menu {
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
    padding: .5rem !important;
}
.dropdown-item {
    color: var(--text-2) !important;
    border-radius: var(--radius-sm) !important;
    padding: .55rem 1rem !important;
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.dropdown-item:hover {
    background: var(--rose-muted) !important;
    color: var(--rose) !important;
}
.dropdown-divider { border-color: var(--border) !important; }

/* Barre recherche */
.navbar .form-control {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-1) !important;
    border-radius: 50px 0 0 50px !important;
    font-size: .85rem;
}
.navbar .form-control:focus {
    border-color: var(--rose) !important;
    background: var(--bg-soft) !important;
    box-shadow: none !important;
}
.navbar .form-control::placeholder { color: var(--text-3) !important; }

/* Crédits badge */
.credits-pill {
    background: var(--gold-pale);
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 50px;
    padding: .2em .75em;
    font-size: .78rem;
    font-weight: 700;
}

/* Avatar nav */
.nav-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rose-border);
}
.nav-avatar-placeholder {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--rose-muted);
    border: 2px solid var(--rose-border);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; color: var(--rose);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: -.01em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--rose);
    color: #fff;
    box-shadow: var(--shadow-rose);
}
.btn-primary:hover, .btn-danger:hover {
    background: var(--rose-light);
    box-shadow: 0 8px 35px rgba(232,48,90,.3);
    transform: translateY(-1px);
    color: #fff;
}
.btn-danger {
    background: var(--rose);
    color: #fff;
    box-shadow: 0 4px 15px rgba(232,48,90,.2);
}
.btn-outline-danger {
    background: transparent;
    border: 1.5px solid var(--rose) !important;
    color: var(--rose) !important;
}
.btn-outline-danger:hover {
    background: var(--rose) !important;
    color: #fff !important;
    box-shadow: var(--shadow-rose);
}
.btn-outline-secondary {
    background: transparent;
    border: 1.5px solid var(--border-md) !important;
    color: var(--text-2) !important;
}
.btn-outline-secondary:hover {
    background: var(--bg-soft) !important;
    color: var(--text-1) !important;
    border-color: var(--border-md) !important;
}
.btn-light-rose {
    background: var(--rose-pale);
    color: var(--rose);
    border: 1px solid var(--rose-border);
}
.btn-light-rose:hover {
    background: var(--rose);
    color: #fff;
}
.btn-gold {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245,158,11,.25);
}
.btn-gold:hover {
    background: #d97706;
    color: #fff;
    box-shadow: 0 6px 25px rgba(245,158,11,.35);
    transform: translateY(-1px);
}
.btn-lg { padding: .75rem 2rem; font-size: .95rem; border-radius: var(--radius-md) !important; }
.btn-sm { padding: .3rem .8rem; font-size: .8rem; }
.btn-xs { padding: .2rem .6rem; font-size: .75rem; }
.rounded-pill { border-radius: 50px !important; }

/* ============================================================
   AGE WARNING
   ============================================================ */
#age-warning {
    background: #050505;
    backdrop-filter: blur(20px);
}
#age-warning .age-box {
    background: #0a0a0a;
    border: 1px solid var(--rose-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    max-width: 460px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.1);
    text-align: center;
}
#age-warning .age-box h2 { color: var(--text-1); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: #050505;
    background-image: linear-gradient(to right, #050505 25%, rgba(5,5,5,0.4) 50%, transparent 100%), 
                      url('https://images.unsplash.com/photo-1516733725897-1aa73b87c8e8?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center right;
    color: #ffffff;
    padding: 10rem 0 10rem;
    position: relative;
    border-bottom: 2px solid var(--rose);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 48, 90, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.hero-section h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    text-align: left;
    max-width: 800px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero-subtitle {
    font-size: 1.4rem;
    text-align: left;
    margin: 0 0 3rem 0;
    color: #cccccc;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(232, 48, 90, 0.12);
    border: 1px solid rgba(232, 48, 90, 0.3);
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rose);
    backdrop-filter: blur(8px);
}
.stat-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 0 8px var(--rose);
    animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 15px var(--rose); }
}

/* Stats hero */
.hero-stat {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 50px; padding: .4rem 1.1rem;
    font-size: .82rem; font-weight: 600; color: var(--text-2);
    transition: all var(--transition); text-decoration: none;
}
.hero-stat:hover { border-color: var(--rose-border); color: var(--rose); background: var(--rose-pale); }
.hero-stat i { color: var(--rose); }

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-box {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 40px 80px -12px rgba(0, 0, 0, 0.7) !important;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:hover, .search-box:focus-within {
    border-color: rgba(245, 158, 11, 0.3) !important;
}
.search-box .form-control,
.search-box .form-select {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm) !important;
    padding: .8rem 1.25rem; font-size: 0.95rem;
}
.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}
.search-box .form-control::placeholder { color: rgba(255,255,255,0.3) !important; }

/* ============================================================
   CATÉGORIES PILLS
   ============================================================ */
.cat-bar {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
}
.cat-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem 1rem; border-radius: 50px;
    font-size: .82rem; font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--text-2); text-decoration: none;
    background: var(--bg-white); transition: all var(--transition);
    white-space: nowrap;
}
.cat-pill:hover { border-color: var(--rose-border); color: var(--rose); background: var(--rose-pale); transform: translateY(-2px); }
.cat-pill.active {
    background: var(--rose); border-color: var(--rose);
    color: #fff; box-shadow: 0 4px 15px rgba(232,48,90,.25);
}
.cat-pill i { transition: all var(--transition); }

/* Glow effects per category icon type */
.cat-pill:hover .bi-gender-female { color: #ff85a2 !important; text-shadow: 0 0 10px rgba(255, 133, 162, 0.8); }
.cat-pill:hover .bi-gender-male   { color: #60a5fa !important; text-shadow: 0 0 10px rgba(96, 165, 250, 0.8); }
.cat-pill:hover .bi-gender-trans  { color: #c084fc !important; text-shadow: 0 0 10px rgba(192, 132, 252, 0.8); }
.cat-pill:hover .bi-people-fill   { color: #2dd4bf !important; text-shadow: 0 0 10px rgba(45, 212, 191, 0.8); }
.cat-pill:hover .bi-star-fill     { color: var(--gold) !important; text-shadow: 0 0 10px rgba(245, 158, 11, 0.8); }
.cat-pill:hover .bi-heart-pulse-fill { color: var(--rose) !important; text-shadow: 0 0 10px rgba(232, 48, 90, 0.8); }
.cat-pill:hover .bi-grid-fill     { color: #fff !important; text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }

.cat-pill .cnt {
    background: rgba(0,0,0,.08); border-radius: 50px;
    padding: .1em .55em; font-size: .7rem;
}
.cat-pill.active .cnt { background: rgba(255,255,255,.25); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem;
}
.section-head h2 {
    font-size: 1.2rem; font-weight: 800; color: var(--text-1); margin: 0;
    display: flex; align-items: center; gap: .5rem;
}
.section-head h2 .pill-label {
    font-size: .68rem; background: var(--rose); color: #fff;
    border-radius: 50px; padding: .15em .7em; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
}
.section-head .see-all {
    font-size: .82rem; font-weight: 600; color: var(--text-3);
    text-decoration: none; transition: color var(--transition);
    white-space: nowrap;
}
.section-head .see-all:hover { color: var(--rose); }

/* ============================================================
   ANNONCE CARD
   ============================================================ */
.annonce-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
}
.annonce-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rose-border);
}

/* Photo 3:4 */
.annonce-photo-wrapper {
    position: relative;
    width: 100%; aspect-ratio: 3/4;
    overflow: hidden; background: var(--bg-soft);
    transition: box-shadow 0.5s ease, border 0.5s ease;
}
.annonce-photo {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.annonce-card:hover .annonce-photo { transform: scale(1.05); }
.annonce-photo-placeholder {
    width: 100%; height: 100%; aspect-ratio: 3/4;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft);
}

/* Overlay bas de photo */
.annonce-photo-wrapper::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.85) 100%);
    pointer-events: none; z-index: 1;
}
.annonce-photo-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: .6rem .7rem; z-index: 2;
}
.card-price {
    font-weight: 800; font-size: 1rem;
    color: var(--text-1); line-height: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.card-city {
    font-size: .7rem; color: rgba(255,255,255,.8);
    display: flex; align-items: center; gap: .2rem; margin-top: .1rem;
}

/* Badges */
.annonce-badges {
    position: absolute; top: .5rem; left: .5rem;
    z-index: 3; display: flex; flex-direction: column; gap: .25rem;
}
.badge-vip {
    background: #000000; color: var(--gold);
    border: 1px solid var(--gold);
    font-size: .62rem; font-weight: 700;
    padding: .2em .65em; border-radius: 50px;
    display: inline-flex; align-items: center; gap: .2rem;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
.badge-vip i { color: var(--gold); }
.badge-top {
    background: #1a1a1a; color: #a78bfa; border: 1px solid #7c3aed;
    font-size: .62rem; font-weight: 700;
    padding: .2em .65em; border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.badge-new {
    background: #1a1a1a; color: #34d399; border: 1px solid #10b981;
    font-size: .62rem; font-weight: 700;
    padding: .2em .65em; border-radius: 50px;
}

/* Favori */
.btn-fav-card {
    position: absolute; top: .5rem; right: .5rem; z-index: 3;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: 1px solid rgba(0,0,0,.08);
    color: #fff; font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
}
.btn-fav-card:hover, .btn-fav-card.active {
    background: var(--rose); color: #fff;
    border-color: var(--rose);
    transform: scale(1.1);
}

/* Card body */
.annonce-card-body { padding: .65rem .75rem .8rem; }
.annonce-card-title {
    font-size: .88rem; font-weight: 700; color: var(--text-1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block; text-decoration: none; margin-bottom: .25rem;
    transition: color var(--transition);
}
.annonce-card-title:hover { color: var(--rose); }
.annonce-card-meta {
    display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.card-cat-badge {
    font-size: .68rem; font-weight: 600;
    padding: .15em .6em; border-radius: 50px;
    background: var(--rose-pale); color: var(--rose);
    border: 1px solid var(--rose-border);
}
.card-age { font-size: .75rem; color: var(--text-3); }

/* VIP CARD - INTERACTION PROFESSIONNELLE */
.vip-card-container .annonce-card {
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease !important;
    z-index: 1;
    position: relative;
}

.vip-card-container .annonce-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--gold) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.2) !important;
}

.vip-card-container .annonce-card:hover .annonce-photo-wrapper {
    box-shadow: 0 0 20px 2px var(--rose);
    border: 1px solid var(--rose);
}

/* Bordure animée VIP */
.vip-card-container .annonce-card::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, var(--gold), #fff, var(--rose), #fff, var(--gold));
    background-size: 200% 100%;
    border-radius: calc(var(--radius-md) + 4px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(2px);
}

.vip-card-container .annonce-card:hover::before {
    opacity: 1;
    animation: vip-border-shimmer 2s linear infinite;
}
@keyframes vip-border-shimmer {
    from { background-position: 0% 0; }
    to { background-position: -200% 0; }
}

/* Animation du badge VIP au survol */
.vip-card-container .annonce-card:hover .badge-vip {
    animation: pulse-vip-badge 1s infinite ease-in-out;
    border-color: var(--gold) !important;
}
@keyframes pulse-vip-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 12px rgba(245, 158, 11, 0.6); }
}

/* ============================================================
   CARTES GÉNÉRIQUES
   ============================================================ */
.card {
    border-radius: var(--radius-md) !important;
    border: 1.5px solid var(--border) !important;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-sm); }
.card-header {
    background: var(--bg-soft) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: .9rem 1.25rem !important;
    font-weight: 700; color: var(--text-1);
    border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0 !important;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-control, .form-select {
    background: var(--bg-soft) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: .7rem 1rem; font-size: .9rem;
    transition: all var(--transition);
    font-family: inherit;
    color: var(--text-1) !important;
}
.form-control:focus, .form-select:focus {
    background: var(--bg-soft) !important;
    border-color: var(--rose) !important;
    box-shadow: 0 0 0 4px rgba(232, 48, 90, 0.07) !important;
    outline: none;
}
.form-control::placeholder { color: var(--text-3) !important; }
.form-label {
    font-size: .85rem; font-weight: 600;
    color: var(--text-2); margin-bottom: .4rem;
}
.input-group-text {
    background: var(--bg-soft) !important;
    border: 1.5px solid var(--border) !important;
    color: var(--text-3) !important;
}
.form-check-input:checked {
    background-color: var(--rose) !important;
    border-color: var(--rose) !important;
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Compte type card */
.account-type-label {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1rem;
    cursor: pointer;
    transition: all var(--transition);
    display: block; text-align: left;
}
.btn-check:checked + .account-type-label {
    border-color: var(--rose);
    background: var(--rose-pale);
    box-shadow: 0 0 0 3px rgba(232,48,90,.08);
}
.account-type-label:hover { border-color: var(--rose-border); }

/* Drop zone */
.photo-drop-zone {
    border: 2px dashed var(--border-md) !important;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    transition: all var(--transition);
    cursor: pointer;
}
.photo-drop-zone:hover, .photo-drop-zone.drag-over {
    border-color: var(--rose) !important;
    background: var(--rose-pale);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius-md); font-size: .9rem;
    padding: .85rem 1.1rem; border-width: 1px; background: #000000 !important;
}
.alert-success { border-color: #059669; color: #10b981; }
.alert-danger   { border-color: var(--rose); color: var(--rose); }
.alert-warning  { border-color: var(--gold); color: var(--gold); }
.alert-info     { border-color: #3b82f6; color: #60a5fa; }
.alert .btn-close { opacity: .5; }
.alert .btn-close:hover { opacity: 1; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { font-weight: 600; letter-spacing: .02em; border-radius: 50px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { gap: .25rem; }
.page-link {
    background: var(--bg-white) !important;
    border: 1.5px solid var(--border) !important;
    color: var(--text-2) !important;
    border-radius: var(--radius-sm) !important;
    padding: .45rem .8rem; font-size: .88rem; font-weight: 500;
    transition: all var(--transition);
}
.page-link:hover { background: var(--rose-pale) !important; color: var(--rose) !important; border-color: var(--rose-border) !important; }
.page-item.active .page-link {
    background: var(--rose) !important; border-color: var(--rose) !important;
    color: #fff !important; box-shadow: 0 4px 12px rgba(232,48,90,.3);
}
.page-item.disabled .page-link { opacity: .4; }

/* ============================================================
   TABLES
   ============================================================ */
.table { --bs-table-bg: #fff; --bs-table-border-color: var(--border); }
.table th {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--text-3);
    border-bottom: 2px solid var(--border) !important;
    padding: .75rem 1rem; background: var(--bg-soft) !important;
}
.table td { padding: .75rem 1rem; vertical-align: middle; color: var(--text-2); font-size: .9rem; }
.table tbody tr:hover td { background: var(--rose-pale) !important; }

/* ============================================================
   LISTE GROUP
   ============================================================ */
.list-group-item {
    border-color: var(--border) !important;
    color: var(--text-2) !important;
    transition: all var(--transition); font-size: .9rem;
    background: var(--bg-white) !important;
}
.list-group-item:hover:not(.active) {
    background: var(--bg-section) !important;
    color: var(--text-1) !important;
}
.list-group-item.active {
    background: var(--rose-pale) !important;
    border-left: 3px solid var(--rose) !important;
    color: var(--rose) !important;
    font-weight: 600;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: none; padding: 0; font-size: .85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-3); }
.breadcrumb-item a { color: var(--text-3); text-decoration: none; transition: color var(--transition); }
.breadcrumb-item a:hover { color: var(--rose); }
.breadcrumb-item.active { color: var(--text-2); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-content {
    background: #fff !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
}
.modal-header { border-bottom: 1px solid var(--border) !important; }
.modal-footer { border-top: 1px solid var(--border) !important; }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-md); padding: 1.5rem;
    text-align: center; transition: all var(--transition);
    text-decoration: none; display: block;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--rose-border);
    color: inherit;
}
.stat-card .stat-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--text-1); line-height: 1; }
.stat-card .stat-label { font-size: .75rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: .3rem; }

/* ============================================================
   PACK CRÉDITS
   ============================================================ */
.pack-card {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.75rem 1.25rem;
    text-align: center; transition: all var(--transition); position: relative;
}
.pack-card:hover {
    border-color: var(--rose); transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(232,48,90,.06);
}
.pack-card.popular { border-color: var(--rose); box-shadow: var(--shadow-rose); }
.pack-card .pack-credits { font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.pack-card .pack-price  { font-size: 1.5rem; font-weight: 800; color: var(--text-1); }

/* ============================================================
   VILLES
   ============================================================ */
.city-card {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: .8rem 1rem;
    text-decoration: none; color: var(--text-2);
    display: flex; justify-content: space-between; align-items: center;
    font-size: .9rem; font-weight: 500; transition: all var(--transition);
}
.city-card:hover {
    border-color: var(--rose-border); color: var(--rose);
    background: var(--rose-pale); transform: translateX(3px);
}
.city-card .city-count {
    background: var(--rose-pale); border: 1px solid var(--rose-border);
    color: var(--rose); font-size: .72rem; padding: .2em .7em;
    border-radius: 50px; font-weight: 700;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #fff5f7 0%, #fff 60%, #fffbf0 100%);
    border: 1.5px solid var(--rose-border);
    border-radius: var(--radius-xl); position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    top: -30px; right: -30px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,48,90,.08) 0%, transparent 70%);
}

/* ============================================================
   PROFIL SIDEBAR
   ============================================================ */
.profile-sidebar .sidebar-user {
    background: linear-gradient(135deg, var(--rose-pale), #fff);
    border-bottom: 1px solid var(--border);
}
.credits-display {
    background: rgba(245, 158, 11, 0.05); border: 1px solid var(--gold);
    border-radius: var(--radius-sm); padding: .85rem 1rem;
}
.credits-display .credits-amount { font-size: 1.6rem; font-weight: 800; color: #92400e; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #050505 !important;
    border-top: 1px solid var(--border) !important;
}
footer h6 { color: rgba(255,255,255,.4) !important; }
footer a { transition: color var(--transition); }
footer a:hover { color: var(--rose) !important; }
.footer-brand-light {
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; color: #fff;
    display: flex; align-items: center; gap: .35rem;
    text-decoration: none;
}
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5) !important; font-size: .9rem;
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--rose); border-color: var(--rose);
    color: #fff !important; transform: translateY(-2px);
}
.footer-divider {
    border: none; height: 1px;
    background: rgba(255,255,255,.08);
    margin: 2rem 0 1rem;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout { background: var(--bg); }
.admin-sidebar-card .list-group-item {
    background: var(--bg-white) !important; border-left: 3px solid transparent !important;
    font-size: .88rem; padding: .6rem .85rem;
}
.admin-sidebar-card .list-group-item.active {
    border-left-color: var(--rose) !important;
    background: var(--rose-pale) !important;
    color: var(--rose) !important;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-custom {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    background: var(--bg-white); color: #fff;
    border-radius: var(--radius-md); padding: .85rem 1.25rem;
    font-size: .88rem; z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: .6rem;
    animation: slideUp .25s ease;
    min-width: 220px;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Effet de surbrillance dorée (Shimmer) */
@keyframes shimmer-gold {
    0%   { left: -150%; opacity: 0; transform: skewX(-20deg); }
    15%  { opacity: 0.8; }
    35%  { left: 150%; opacity: 0.8; transform: skewX(-20deg); }
    36%  { opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.2), var(--gold), rgba(255,255,255,0.2), transparent);
    animation: shimmer-gold 8s infinite;
    pointer-events: none;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-rose  { color: var(--rose) !important; }
.text-gold  { color: var(--gold) !important; }
.bg-rose-pale { background: var(--rose-pale) !important; }
.border-rose  { border-color: var(--rose-border) !important; }
.divider { border: none; height: 1px; background: var(--border); margin: 2rem 0; }
.border-dashed { border-style: dashed !important; }
.min-w-0 { min-width: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 576px) {
    .hero-section { padding: 2.5rem 0 2rem; }
    .hero-section h1 { font-size: 1.7rem; }
    .annonce-photo-wrapper { aspect-ratio: 1/1; }
    .search-box { padding: .85rem 1rem; border-radius: var(--radius-lg); }
}
.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}
.cta-section p {
    color: var(--text-2);
    margin-bottom: 1.75rem;
    font-size: .95rem;
}
