:root {
    --pme-green: #1a5d2c;
    --pme-gold: #d4af37;
    --glass-bg: #ffffff;
    --text-main: #1e272e;
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.05);
}

.premium-widget {
    position: fixed;
    bottom: -120%; /* Caché plus bas */
    right: 30px;
    width: 400px;
    background: var(--glass-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), bottom 0.6s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.premium-widget.active {
    bottom: 30px;
}

/* Header Premium */
.widget-header {
    background: linear-gradient(135deg, #0e918c, #1fc8c1, #0b6f6b);
    padding: 24px 20px;
    color: white;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-badge {
    background: var(--pme-gold);
    color: var(--pme-green);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-text h3 {
    margin: 8px 0 0 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.close-circle {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-circle:hover { background: rgba(255,255,255,0.3); }

/* Navigation Fluide */
.widget-nav {
    display: flex;
    overflow-x: auto;
    padding: 0 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    -webkit-overflow-scrolling: touch;
}

.widget-nav::-webkit-scrollbar { display: none; }

.nav-link {
    padding: 15px 18px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: #1a5d2c;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: 0.3s;
}

.nav-link.active {
    color: var(--pme-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--pme-green);
    border-radius: 10px 10px 0 0;
}

/* Corps du contenu */
.widget-body {
    padding: 20px;
    max-height: 380px;
    overflow-y: auto;
}

.info-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.info-card strong {
    display: block;
    color: var(--pme-green);
    font-size: 13px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

.widget-footer {
    padding: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    border-top: 1px solid #f0f0f0;
}

/* OPTIMISATION MOBILE */
@media (max-width: 600px) {
    .premium-widget {
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 30px 30px 0 0;
        bottom: -100%;
    }
    .premium-widget.active {
        bottom: 0 !important;
    }
    .widget-body { max-height: 60vh; } /* Plus d'espace sur mobile */
}