/* ========================================================================
   🎯 BOUTON CONTINUER LA FORMATION - DANS LE BLOCK DE PROGRESSION
   Design moderne avec variante verte pour "Commencer la formation"
   ======================================================================== */

.continue-learning-button-container {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-continue-learning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff7a3d 0%, #ff8c57 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 122, 61, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 280px;
}

/* Effet de brillance animé */
.btn-continue-learning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-continue-learning:hover::before {
    left: 100%;
}

.btn-continue-learning:hover {
    background: linear-gradient(135deg, #ff8c57 0%, #ff9f70 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 122, 61, 0.6);
    text-decoration: none;
    color: white;
}

.btn-continue-learning:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(255, 122, 61, 0.4);
}

/* Icône emoji */
.btn-continue-learning .btn-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Texte du bouton */
.btn-continue-learning .btn-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Flèche animée */
.btn-continue-learning .btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-continue-learning:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================================================
   🌟 VARIANTE VERTE - COMMENCER LA FORMATION (Débutants)
   ======================================================================== */

.btn-continue-learning.btn-start {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6);
    }
}

.btn-continue-learning.btn-start:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6);
    animation: none;
}

.btn-continue-learning.btn-start:active {
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

/* Badge "Nouveau" pour les débutants */
.btn-continue-learning.btn-start::after {
    content: 'NOUVEAU';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
    letter-spacing: 0.05em;
    z-index: 1;
}

/* ========================================================================
   📱 RESPONSIVE
   ======================================================================== */

@media (max-width: 768px) {
    .continue-learning-button-container {
        margin-top: 1rem;
    }
    
    .btn-continue-learning {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 240px;
        gap: 0.5rem;
    }
    
    .btn-continue-learning .btn-icon {
        font-size: 1.25rem;
    }
    
    .btn-continue-learning .btn-text {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .btn-continue-learning .btn-arrow {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .btn-continue-learning {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 200px;
        gap: 0.4rem;
    }
    
    .btn-continue-learning .btn-icon {
        font-size: 1.1rem;
    }
    
    .btn-continue-learning .btn-text {
        font-size: 0.85rem;
        max-width: 150px;
    }
    
    .btn-continue-learning .btn-arrow {
        font-size: 1.1rem;
    }
    
    .btn-continue-learning.btn-start::after {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ========================================================================
   ✨ EFFETS SUPPLÉMENTAIRES
   ======================================================================== */

/* Effet de pulsation au chargement */
@keyframes attention-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.btn-continue-learning {
    animation: fadeInUp 0.5s ease-out, attention-pulse 3s ease-in-out 2s;
}

/* Effet de particules au survol (optionnel) */
.btn-continue-learning:hover {
    filter: brightness(1.05);
}

/* État focus pour l'accessibilité */
.btn-continue-learning:focus {
    outline: 3px solid rgba(255, 122, 61, 0.5);
    outline-offset: 2px;
}

.btn-continue-learning.btn-start:focus {
    outline-color: rgba(16, 185, 129, 0.5);
}

/* ========================================================================
   FIN DU FICHIER CSS
   ======================================================================== */
