/**
 * =============================================================================
 * STYLES-UNIFIED.CSS — Composants communs (cartes, boutons, stats)
 * =============================================================================
 *
 * Styles partagés par toutes les pages : .tag-item, .project-card, .stat-card,
 * .innovation-card, boutons (.btn-en-savoir-plus, .submit-btn, etc.),
 * liserés bleu/rouge sur les cartes.
 *
 * MODIFIER EN TANT QUE NON-DEVELOPPEUR :
 * - Cartes : .tag-item, .project-card, .stat-card — padding, bordure, ombre.
 * - Accent rouge (coûts, etc.) : .stat-card.red-accent, .cost-card, .burden-stat-card.
 * - Boutons : .btn-en-savoir-plus, .submit-btn, .cta-btn — couleurs, padding.
 * =============================================================================
 */

/* ---------- Cartes uniformes avec décorations ---------- */
.tag-item,
.project-card,
.project-card-modern,
.research-card,
.research-video-card,
.stat-card,
.innovation-card,
.publication-item,
.cost-card,
.burden-stat-card,
.progression-step,
.process-step {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-blue);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tag-item::before,
.project-card::before,
.project-card-modern::before,
.research-card::before,
.stat-card::before,
.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Cartes avec fond alterné */
.tag-item:nth-child(even),
.project-card:nth-child(even),
.research-card:nth-child(even),
.stat-card:nth-child(even) {
    background: var(--background-blue);
    border-color: var(--border-blue);
}

/* Cartes avec accent rouge */
.stat-card.red-accent,
.cost-card,
.burden-stat-card {
    border-top-color: var(--red-primary);
    border-color: var(--border-red);
}

.stat-card.red-accent::before,
.cost-card::before,
.burden-stat-card::before {
    background: var(--gradient-red);
}

/* Boutons uniformes avec décorations */
.btn-en-savoir-plus,
.btn-pour-soignants,
.submit-btn,
.cta-btn,
.project-btn,
.publication-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
}

.btn-en-savoir-plus,
.submit-btn,
.project-btn,
.publication-link-btn {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.3),
                0 2px 8px rgba(44, 95, 141, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-pour-soignants {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cta-btn {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.3),
                0 2px 8px rgba(44, 95, 141, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Effet shimmer sur les boutons */
.btn-en-savoir-plus::before,
.submit-btn::before,
.project-btn::before,
.cta-btn::before,
.publication-link-btn::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 0.5s ease;
}

.btn-en-savoir-plus:hover::before,
.submit-btn:hover::before,
.project-btn:hover::before,
.cta-btn:hover::before,
.publication-link-btn:hover::before {
    left: 100%;
}

/* Hover sur boutons */
.btn-en-savoir-plus:hover,
.submit-btn:hover,
.project-btn:hover,
.cta-btn:hover,
.publication-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44, 95, 141, 0.4),
                0 4px 12px rgba(44, 95, 141, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: white;
}

.btn-pour-soignants:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44, 95, 141, 0.4),
                0 4px 12px rgba(44, 95, 141, 0.3);
}

/* Titres de sections uniformes */
.section-title,
.solution-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after,
.solution-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* Responsive uniforme */
@media (max-width: 1200px) {
    .tag-item,
    .project-card,
    .project-card-modern,
    .research-card,
    .stat-card {
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .section-title,
    .solution-title {
        font-size: 2rem;
    }
    
    .tag-item,
    .project-card,
    .project-card-modern,
    .research-card,
    .stat-card {
        padding: 1.75rem;
        border-radius: var(--radius-md);
    }
    
    .btn-en-savoir-plus,
    .btn-pour-soignants,
    .submit-btn,
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .section-title,
    .solution-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .tag-item,
    .project-card,
    .project-card-modern,
    .research-card,
    .stat-card {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .btn-en-savoir-plus,
    .btn-pour-soignants,
    .submit-btn,
    .cta-btn {
        padding: 0.9rem 1.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-title,
    .solution-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tag-item,
    .project-card,
    .project-card-modern,
    .research-card,
    .stat-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }
    
    .btn-en-savoir-plus,
    .btn-pour-soignants,
    .submit-btn,
    .cta-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}
