/* MELIBURO - COMPONENTS.CSS - Composants Utilisés (350 lignes max) */

/* === SYSTÈME DE BOUTONS === */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: var(--text-base);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--text-lg);
    font-weight: 700;
}

/* === CARTES DE BASE === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--md);
    margin-bottom: var(--lg);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card-title h3 {
    color: var(--primary);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--xs);
}

.card-subtitle {
    color: var(--gray);
    font-size: var(--text-sm);
}

/* === CARTES SECTEUR === */
.sector-card {
    background: var(--white);
    padding: var(--xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary);
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.sector-card:hover .card-icon {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.sector-card h3 {
    color: var(--primary);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--sm);
    line-height: 1.3;
}

.sector-features {
    display: flex;
    flex-direction: column;
    gap: var(--xs);
    margin-top: var(--md);
}

.sector-features span {
    font-size: var(--text-sm);
    color: var(--dark);
    padding-left: 16px;
    position: relative;
}

.sector-features span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* === CARTES SERVICE === */
.service-card {
    background: var(--white);
    padding: var(--lg);
    border-radius: var(--radius-lg);
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-card h3 {
    color: var(--primary);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--sm);
}

.feature-list {
    list-style: none;
    margin: var(--md) 0;
}

.feature-list li {
    padding: var(--xs) 0;
    position: relative;
    padding-left: 24px;
    color: var(--gray);
    font-size: var(--text-sm);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.price-tag {
    background: var(--light);
    padding: var(--sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

.express-pricing {
    background: var(--accent);
    color: var(--white);
    padding: var(--sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    margin-top: auto;
}

/* === BLOG COMPOSANTS === */
.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 4px solid var(--primary);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.article-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--md);
    margin-bottom: var(--md);
    flex-wrap: wrap;
}

.article-date {
    color: var(--gray);
    font-size: var(--text-sm);
    font-weight: 500;
}

.article-title {
    color: var(--primary);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--sm);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: var(--md);
}

/* === BADGES & TAGS === */
.humeur-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--xs);
    padding: var(--xs) var(--sm);
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.humeur-badge[data-humeur="exasperation"] { background: #ff6b35; }
.humeur-badge[data-humeur="fierte"] { background: #00c851; }
.humeur-badge[data-humeur="concentration"] { background: #0066cc; }
.humeur-badge[data-humeur="amusement"] { background: #f59e0b; }
.humeur-badge[data-humeur="reflexion"] { background: #6366f1; }

.humeur-badge:hover {
    transform: scale(1.05);
}

.humeur-icon {
    font-size: 16px;
    line-height: 1;
}

.humeur-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-tags {
    display: flex;
    gap: var(--xs);
    margin-bottom: var(--lg);
    flex-wrap: wrap;
}

.tag {
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--text-xs);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    cursor: pointer;
}

.reading-time {
    background: var(--light);
    padding: var(--xs) var(--sm);
    border-radius: 15px;
    font-size: var(--text-xs);
    color: var(--gray);
    font-weight: 600;
}

/* === STATISTIQUES === */
.stat-item {
    text-align: center;
    padding: var(--md);
    background: var(--light);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray);
    margin-top: var(--xs);
}

/* === CONTACT MÉTHODES === */
.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-method-icon {
    font-size: var(--text-xl);
    margin-bottom: var(--sm);
}

.contact-method h4 {
    margin-bottom: var(--xs);
    font-weight: 600;
    color: var(--white);
}

.contact-method a {
    color: var(--white);
    font-weight: 600;
}

.contact-method p {
    font-size: var(--text-sm);
    margin: 0;
    opacity: 0.8;
}

/* === NAVIGATION BLOG === */
.back-to-top {
    position: fixed;
    top: 80px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.blog-badge {
    background: var(--accent);
    color: var(--white);
    padding: var(--xs) var(--sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* === RESPONSIVE COMPOSANTS === */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: var(--sm);
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .article-meta {
        justify-content: center;
    }
    
    .humeur-label {
        display: none;
    }
    
    .back-to-top {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: var(--md);
    }
    
    .sector-card,
    .service-card {
        padding: var(--md);
    }
    
    .tag {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .btn {
        padding: var(--sm) var(--md);
        font-size: var(--text-sm);
    }
    
    .btn-large {
        padding: var(--md) var(--lg);
        font-size: var(--text-base);
    }
}