/* Animations pour les cards */
.card-animated {
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

/* Animation pour les images circulaires */
.circle-image-animated {
    transition: all 0.3s ease-in-out;
}

.circle-image-animated:hover {
    transform: scale(1.1);
}

/* Animation pour les boutons */
.btn-animated {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-animated:after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.2);
    transition: width 0.3s ease;
}

.btn-animated:hover:after {
    width: 120%;
}

/* Animation pour les featurettes */
.featurette {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.featurette.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-dark);
    color: white;
    text-align: center;
    line-height: 48px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background: #F48148;
}

.back-to-top.show {
    display: block;
}

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