/* Styles pour les en-têtes de section */
.section-header {
    position: relative;
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(245, 48, 3, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.section-badge i {
    margin-right: 0.5rem;
}

.section-title {
    position: relative;
    font-size: 2.25rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--text-color);
    line-height: 1.2;
    display: inline-block;
}

.section-title-decoration {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, rgba(245, 48, 3, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%);
    z-index: 1;
    border-radius: 3px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.section-title:hover .section-title-decoration {
    height: 15px;
    transform: rotate(-0.5deg);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Styles spécifiques pour chaque section */
.popular-content .section-badge {
    background-color: rgba(255, 107, 74, 0.1);
    color: #ff6b4a;
}

.popular-content .section-title-decoration {
    background: linear-gradient(90deg, rgba(255, 107, 74, 0.2) 0%, rgba(255, 159, 67, 0.2) 100%);
}

/* Animation pour les badges */
@keyframes floatBadge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.section-badge:hover {
    animation: floatBadge 2s ease-in-out infinite;
}
