.btn-container {
    display: flex;
    justify-content: center;
    padding: 0 0 50px;
    /* margin-top: -5rem; */
    
}

.elegant-btn {
    position: relative;
    padding: 16px 48px 16px 32px;
    font-size: 1.1em;
    font-weight: 400;
    color: #000;
    /* background: linear-gradient(45deg, #ffffff, #f1f1f1);
    border: 1px solid #000;   
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    
}

.btn-up {
    margin-top: -50px; /* Corriger le décalage */
}

/* Flèche stylisée */
.elegant-btn::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 300;
}

/* Animation au survol */
.elegant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    background: linear-gradient(45deg, #f1f1f1, #ffffff);
    padding-right: 56px;
}

.elegant-btn:hover::after {
    opacity: 1;
    right: 28px;
}

/* Effet de soulignement élégant */
.elegant-btn span {
    position: relative;
    padding-bottom: 3px;
}

.elegant-btn span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.elegant-btn:hover span::after {
    width: 100%;
}

/* Animation au clic */
.elegant-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Version alternative sombre */
.elegant-btn.dark {
    color: #fff;
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    border-color: #fff;
}

.elegant-btn.dark span::after {
    background: #fff;
}