/* 
    STYLE.CSS - Site4All
    Styles complémentaires pour Tailwind
*/

/* Animations personnalisées */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 1s ease-out forwards;
}

/* Gestion de l'accordéon FAQ */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding-bottom: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 24px;
}

.accordion-item.active i {
    transform: rotate(180deg);
}

/* Smooth Scroll global */
html {
    scroll-behavior: smooth;
}

/* Personnalisation des barres de défilement */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sticky CTA Visibility */
#sticky-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#sticky-cta {
    transform: translateY(20px);
}
