
    :root {
        --primary-blue: #0066ff;
        --secondary-blue: #003399;
        --primary-green: #00cc99;
        --light-bg: #f8f9fa;
    }

    /* Header avec hero gradient */
    .hero-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 80px 0 60px;
        color: white;
        position: relative;
        overflow: hidden;
    }
    
    .hero-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"></path></svg>') no-repeat bottom;
        background-size: cover;
        opacity: 0.1;
    }
    
    .service-header-card {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .service-icon-hero {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 50px;
        margin-bottom: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Filtres modernes */
    .filters-container {
        background: white;
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
        margin-top: -40px;
        position: relative;
        z-index: 10;
    }
    
    .filter-tag {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 25px;
        background: #f0f0f0;
        color: #333;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .filter-tag:hover, .filter-tag.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: #667eea;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }
    
    .filter-tag i {
        margin-right: 5px;
    }

    /* Grille de sous-services améliorée */
    .subservices-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .subservice-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 2px solid transparent;
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .subservice-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
        background-size: 300% 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .subservice-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
        border-color: #667eea;
    }
    
    .subservice-card:hover::before {
        opacity: 1;
        animation: gradientMove 3s ease infinite;
    }
    
    @keyframes gradientMove {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .subservice-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 32px;
        margin-bottom: 20px;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }
    
    .subservice-card:hover .subservice-icon {
        transform: rotate(5deg) scale(1.1);
    }

    .subservice-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: #1a202c;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .subservice-description {
        color: #64748b;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
        flex-grow: 1;
    }
    
    .subservice-meta {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .meta-badge {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .subservice-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 24px;
        border-radius: 25px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        margin-top: auto;
    }

    .subservice-link:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
        color: white;
        text-decoration: none;
    }
    
    .subservice-link i {
        transition: transform 0.3s ease;
    }
    
    .subservice-link:hover i {
        transform: translateX(5px);
    }

    /* État vide modernisé */
    .no-subservices {
        text-align: center;
        padding: 80px 20px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .no-subservices-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto 30px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 60px;
    }

    /* Badge de filtre actif */
    .active-filter-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    
    .remove-filter {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .remove-filter:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: rotate(90deg);
    }

    @media (max-width: 768px) {
        .hero-header {
            padding: 60px 0 40px;
        }
        
        .subservices-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }

    /* ========================================
       MODE NUIT - DARK THEME
       ======================================== */
    [data-theme="dark"] body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }

    [data-theme="dark"] .hero-header {
        background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    }

    [data-theme="dark"] .service-header-card {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }

    [data-theme="dark"] .filters-container {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .filter-tag {
        background: rgba(255, 255, 255, 0.1);
        color: #b8c5d6;
        border-color: rgba(255, 255, 255, 0.2);
    }

    [data-theme="dark"] .filter-tag:hover,
    [data-theme="dark"] .filter-tag.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: #667eea;
    }

    [data-theme="dark"] .subservice-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    [data-theme="dark"] .subservice-card:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: #667eea;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5),
                    0 0 40px rgba(102, 126, 234, 0.2);
    }

    [data-theme="dark"] .subservice-name {
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    [data-theme="dark"] .subservice-description {
        color: #b8c5d6;
    }

    [data-theme="dark"] .meta-badge {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #b8c5d6 !important;
    }

    [data-theme="dark"] .meta-badge.bg-info {
        background: rgba(96, 165, 250, 0.2) !important;
        color: #60a5fa !important;
    }

    [data-theme="dark"] .subservice-link {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    [data-theme="dark"] .subservice-link:hover {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }

    [data-theme="dark"] .active-filter-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    [data-theme="dark"] .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    [data-theme="dark"] .breadcrumb-item.active {
        color: #ffffff !important;
    }

    /* ======================================== */
