@charset "utf-8";
/* CSS Document */
/* Styles de la barre de partage verticale */
.share-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn:hover::before {
    opacity: 1;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.share-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Couleurs spécifiques pour chaque bouton */
.btn-scroll-top {
    background: linear-gradient(135deg, #0066b3, #004d88);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.btn-facebook {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.btn-linkedin {
    background: linear-gradient(135deg, #0077B5, #00669C);
}

.btn-instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.btn-scroll-bottom {
    background: linear-gradient(135deg, #f9a825, #e69100);
}

/* Tooltip */
.share-btn .tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Open Sans', sans-serif;
}

.share-btn .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.share-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Animation d'apparition */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.share-sidebar {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .share-sidebar {
        right: 10px;
        transform: translateY(-50%) scale(0.9);
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .share-btn .tooltip {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .share-sidebar {
        right: 5px;
        transform: translateY(-50%) scale(0.8);
    }
}

/* Effet de pulsation pour les boutons de navigation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 179, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 179, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 179, 0);
    }
}

.btn-scroll-top, .btn-scroll-bottom {
    animation: pulse 2s infinite;
}

/* Transition pour le défilement fluide */
html {
    scroll-behavior: smooth;
}
