/* ═══════════════════════════════════════════════════════════════
   SABINA DRAWER — Menu LLM rétractable à droite
   ═══════════════════════════════════════════════════════════════ */

/* Bouton hamburger (3 traits) */
.sabina-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #D42020 0%, #F07020 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(212,32,32,.3);
    transition: all .2s;
}
.sabina-hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212,32,32,.4);
}
.sabina-hamburger.active {
    right: 360px;
}

/* Variante Nadia */
.sabina-hamburger.nadia {
    background: linear-gradient(135deg, #7B2CBF 0%, #E94560 100%);
    box-shadow: 0 4px 16px rgba(123,44,191,.3);
}
.sabina-hamburger.nadia:hover {
    box-shadow: 0 8px 24px rgba(123,44,191,.4);
}

/* Variante Karima */
.sabina-hamburger.karima {
    background: linear-gradient(135deg, #065F46 0%, #10B981 100%);
    box-shadow: 0 4px 16px rgba(6,95,70,.3);
}
.sabina-hamburger.karima:hover {
    box-shadow: 0 8px 24px rgba(6,95,70,.4);
}

/* Overlay (fond noir semi-transparent) */
.sabina-drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.sabina-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Drawer (panneau latéral droit) */
.sabina-drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0,0,0,.15);
    z-index: 10000;
    transition: right .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sabina-drawer.open {
    right: 0;
}

/* Header du drawer */
.sabina-drawer-header {
    background: linear-gradient(135deg, #D42020 0%, #F07020 100%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sabina-drawer-header.nadia {
    background: linear-gradient(135deg, #7B2CBF 0%, #E94560 100%);
}
.sabina-drawer-header.karima {
    background: linear-gradient(135deg, #065F46 0%, #10B981 100%);
}
.sabina-drawer-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}
.sabina-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sabina-drawer-close:hover {
    background: rgba(255,255,255,.3);
}

/* Contenu du drawer */
.sabina-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Section */
.sabina-drawer-section {
    margin-bottom: 20px;
}
.sabina-drawer-section h3 {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8B857D;
    margin-bottom: 10px;
    padding: 0 4px;
}

/* Items du drawer */
.sabina-drawer-item {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #201c19;
    background: #F8F6F3;
    border: 1px solid #E5E0DA;
    transition: all .15s;
    text-decoration: none;
}
.sabina-drawer-item:hover {
    background: #fff;
    border-color: #D42020;
    transform: translateX(-4px);
}
.sabina-drawer-item.active {
    background: linear-gradient(135deg, #D42020 0%, #F07020 100%);
    color: #fff;
    border-color: transparent;
}
.sabina-drawer-item .label {
    font-weight: 600;
}
.sabina-drawer-item .meta {
    font-size: 11px;
    opacity: .7;
}

/* En mobile */
@media (max-width: 500px) {
    .sabina-drawer {
        width: 100%;
        right: -100%;
    }
    .sabina-hamburger.active {
        right: 20px;
        top: auto;
        bottom: 20px;
    }
}
