/**
 * SGI LEASE & GO - THÈME PROFESSIONNEL
 * Inspiré de formation.sgtic.bj/groupsgi1/
 * Design moderne, élégant et professionnel
 * Date: 08/12/2025
 */

/* ============================================
   PALETTE DE COULEURS PROFESSIONNELLE
   ============================================ */
:root {
    /* Couleurs principales (inspirées du site de référence) */
    --sgi-primary: #1e3a8a;           /* Bleu profond professionnel */
    --sgi-primary-light: #3b82f6;     /* Bleu clair moderne */
    --sgi-primary-dark: #1e40af;      /* Bleu foncé élégant */
    --sgi-secondary: #FE660A;         /* Orange/Ambre dynamique */
    --sgi-secondary-light: #FE660A;   /* Ambre clair */
    --sgi-accent: #10b981;            /* Vert succès */
    --sgi-accent-dark: #059669;       /* Vert foncé */
    
    /* Couleurs neutres */
    --sgi-white: #ffffff;
    --sgi-gray-50: #f9fafb;
    --sgi-gray-100: #f3f4f6;
    --sgi-gray-200: #e5e7eb;
    --sgi-gray-300: #d1d5db;
    --sgi-gray-400: #9ca3af;
    --sgi-gray-500: #6b7280;
    --sgi-gray-600: #4b5563;
    --sgi-gray-700: #374151;
    --sgi-gray-800: #1f2937;
    --sgi-gray-900: #111827;
    
    /* Couleurs fonctionnelles */
    --sgi-success: #10b981;
    --sgi-warning: #FE660A;
    --sgi-danger: #ef4444;
    --sgi-info: #3b82f6;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   HEADER MODERNE ET PROFESSIONNEL
   ============================================ */
.header_wrap {
    background: var(--sgi-primary-dark);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header_wrap.scrolled {
    box-shadow: var(--shadow-xl);
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
}

/* Top bar élégant */
.top-header {
    background: linear-gradient(90deg, var(--sgi-primary-dark) 0%, var(--sgi-primary) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
}

.top-header .contact_phone,
.top-header .contact_email {
    color: var(--sgi-white);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.top-header .contact_phone:hover,
.top-header .contact_email:hover {
    color: var(--sgi-secondary);
    transform: translateX(3px);
}

.top-header i {
    color: var(--sgi-secondary);
    margin-right: 0.5rem;
}

/* Navigation principale */
.middle-header {
    padding: 1rem 0;
    background: var(--sgi-white);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Menu navigation */
.nav-link {
    color: var(--sgi-gray-700) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem !important;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ff6b35;
    transform: translateX(-50%);
    transition: width var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
    color: var(--sgi-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Boutons CTA */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    color: var(--sgi-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--sgi-white);
}

.btn-primary-gradient:hover::before {
    left: 100%;
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, var(--sgi-secondary) 0%, var(--sgi-secondary-light) 100%);
    color: var(--sgi-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-secondary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--sgi-white);
}

/* ============================================
   HERO SECTION MODERNE
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--sgi-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   CARDS PRODUITS PREMIUM
   ============================================ */
.product-card-premium {
    background: var(--sgi-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--sgi-gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--sgi-primary-light);
}

.product-card-premium .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-premium .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card-premium:hover .product-image img {
    transform: scale(1.1);
}

.product-badge-premium {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--sgi-secondary) 0%, var(--sgi-secondary-light) 100%);
    color: var(--sgi-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.product-card-premium .product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-premium .product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sgi-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-card-premium .product-description {
    color: var(--sgi-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.product-card-premium .product-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-card-premium .product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-card-premium .btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    color: var(--sgi-white);
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-base);
}

.product-card-premium .btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTIONS MODERNES
   ============================================ */
.section-title-premium {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-premium h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: #232F42;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-title-premium p {
    font-size: 1.125rem;
    color: var(--sgi-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6b35;
    margin: 1.5rem auto 0;
    border-radius: var(--radius-full);
}

/* ============================================
   FEATURES / AVANTAGES
   ============================================ */
.feature-card-premium {
    background: var(--sgi-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--sgi-gray-200);
    text-align: center;
    height: 100%;
}

.feature-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--sgi-primary-light);
}

.feature-icon-premium {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.feature-icon-premium i {
    font-size: 2rem;
    color: var(--sgi-white);
}

.feature-card-premium h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sgi-gray-900);
    margin-bottom: 1rem;
}

.feature-card-premium p {
    color: var(--sgi-gray-600);
    line-height: 1.6;
}

/* ============================================
   FOOTER MODERNE
   ============================================ */
.footer-premium {
    background: linear-gradient(135deg, var(--sgi-gray-900) 0%, var(--sgi-gray-800) 100%);
    color: var(--sgi-gray-300);
    padding: 4rem 0 2rem;
}

.footer-premium h5 {
    color: var(--sgi-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-premium a {
    color: var(--sgi-gray-400);
    transition: all var(--transition-fast);
    display: block;
    padding: 0.5rem 0;
}

.footer-premium a:hover {
    color: var(--sgi-secondary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.social-links-premium {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links-premium a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-links-premium a:hover {
    background: var(--sgi-primary);
    transform: translateY(-3px);
}

/* ============================================
   BADGES ET LABELS
   ============================================ */
.badge-premium {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
}

.badge-new {
    background: linear-gradient(135deg, var(--sgi-accent) 0%, var(--sgi-accent-dark) 100%);
    color: var(--sgi-white);
}

.badge-promo {
    background: linear-gradient(135deg, var(--sgi-danger) 0%, #dc2626 100%);
    color: var(--sgi-white);
}

.badge-popular {
    background: linear-gradient(135deg, var(--sgi-secondary) 0%, var(--sgi-secondary-light) 100%);
    color: var(--sgi-white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title-premium h2 {
        font-size: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--sgi-secondary) 0%, var(--sgi-secondary-light) 100%);
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-premium {
    box-shadow: var(--shadow-xl);
}

.rounded-premium {
    border-radius: var(--radius-xl);
}
