/* 
    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);
}

/* Animation de pulsation permanente — bouton "Vous hésitez ?" */
@keyframes pulse-orientation {
    0%   { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5); transform: scale(1); }
    50%  { box-shadow: 0 0 0 14px rgba(0, 102, 255, 0); transform: scale(1.04); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); transform: scale(1); }
}
.pulse-orientation {
    animation: pulse-orientation 2s ease-in-out infinite;
}

/* Animation de pulsation permanente — bouton sticky CTA */
@keyframes pulse-sticky {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
    50%  { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
.pulse-sticky {
    animation: pulse-sticky 2s ease-in-out infinite;
}
