/* ============================================
   Style Guide - Styles spécifiques
   ============================================ */

.sg-header {
    text-align: center;
    padding: 60px 0;
}

.sg-page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.sg-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.sg-section:last-child {
    border-bottom: none;
}

.sg-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sg-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.sg-group {
    margin-bottom: 40px;
    padding: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.sg-group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
}

.sg-demo {
    padding: 24px;
    background: var(--background);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.sg-demo-dark {
    background: var(--dark);
    color: white;
}

/* Color Swatches */
.sg-colors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.sg-color {
    text-align: center;
}

.sg-color-swatch {
    height: 60px;
    border-radius: var(--radius-lg);
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
}

.sg-color-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.sg-color-value {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* Code Block */
.sg-code {
    background: var(--dark);
    color: #e2e8f0;
    padding: 16px;
    border-radius: var(--radius-lg);
    font-family: monospace;
    font-size: 0.85rem;
    overflow-x: auto;
}

.sg-code span {
    color: #a78bfa;
}

.sg-code .class {
    color: #67e8f9;
}

.sg-code .tag {
    color: #f472b6;
}

/* Responsive */
@media (max-width: 768px) {
    .sg-section {
        padding: 40px 0;
    }
    
    .sg-title {
        font-size: 1.5rem;
    }
    
    .sg-demo {
        padding: 16px;
    }
    
    .sg-colors {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .sg-color-swatch {
        height: 50px;
    }
}
