/* ============================================
   PAGE SOUMETTRE MA FICHE
   ============================================ */



/* Info Banner */
/* .info-banner {
    background: linear-gradient(135deg, #F0FDF4 0%, #E8F5E9 100%);
    border-left: 4px solid #0a7734;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 0.9rem;
    color: #1F2937;
    margin-bottom: 48px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-banner-icon {
    color: #0a7734;
    font-size: 1.2rem;
} */


/* ============================================
   SECTIONS TYPES DE PROFILS - DESIGN MODERNE
   ============================================ */

.section-type {
    padding: 48px 0 24px;
    position: relative;
}

.section-type:first-of-type {
    padding-top: 0;
}

/* En-tête de section avec effet glassmorphique */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.section-header:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Titre avec icône */
.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #1F2937, #0a7734);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Icône de section */
.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(10, 119, 52, 0.15), rgba(10, 119, 52, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.section-icon.icon-green {
    color: #0a7734;
}

.section-icon.icon-red {
    color: #FF0000;
}

.section-header:hover .section-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(10, 119, 52, 0.2), rgba(10, 119, 52, 0.1));
}

/* Badge compteur */
.section-count {
    background: linear-gradient(135deg, #0a7734, #085c28);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-choisir-green { background: #085c28; color: #fff; }
.btn-choisir-red   { background: #CC0000; color: #fff; }
.btn-choisir:hover { opacity: .85; color: #fff; }
.btn-choisir-locked {
    background: #9ca3af !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: .7;
    border: none;
    width: 100%;
}
.btn-choisir-locked:hover { opacity: .7; }

.section-count i {
    font-size: 0.75rem;
}

/* Description de section */
.section-description {
    color: #6B7280;
    font-size: 0.95rem;
    margin: 8px 0 0 62px;
    padding-left: 10px;
    border-left: 3px solid #0a7734;
}

/* Divider animé */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, #0a7734, #FFD700, #FF0000, transparent);
    border-radius: 3px;
    width: 120px;
    margin: 16px 0 24px;
    animation: dividerPulse 3s ease-in-out infinite;
}

.section-divider-red {
    height: 3px;
    background: linear-gradient(90deg, #FF0000, #FFD700, #0a7734, transparent);
    border-radius: 3px;
    width: 120px;
    margin: 16px 0 24px;
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% {
        width: 120px;
        opacity: 1;
    }
    50% {
        width: 180px;
        opacity: 0.7;
    }
}

/* Grille des fiches */
.fiches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-type {
        padding: 32px 0 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    
    .section-title h2 {
        font-size: 1.2rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .section-description {
        margin-left: 0;
        padding-left: 12px;
        margin-top: 12px;
        font-size: 0.85rem;
    }
    
    .section-divider, .section-divider-red {
        width: 80px;
    }
    
    .fiches-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-title h2 {
        font-size: 1.1rem;
    }
    
    .section-count {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .fiches-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}