
.gradient-text {
    background-image: linear-gradient(to right,var(--tw-gradient-stops));
    --tw-gradient-from: #7c3aed var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(124 58 237 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    --tw-gradient-to: #7c3aed var(--tw-gradient-to-position);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gradient-bg {
    background-image: linear-gradient(to bottom right,var(--tw-gradient-stops));
    --tw-gradient-from: #7c3aed var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(124 58 237 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    --tw-gradient-to: #7c3aed var(--tw-gradient-to-position)
}

.shadow-glow {
    box-shadow: 0 0 20px #1e40af4d
}

.animate-slide-up {
    animation: slideUp .6s ease-out forwards
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Slider des logos d'entreprises */
.logos-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 5px;
}

.logos-slider {
    display: flex;
    animation: scroll-logos 30s linear infinite;
    width: calc(200% + 2rem);
}

.logo-item {
    flex: 0 0 auto;
    margin-right: 2rem;
    min-width: 200px;
}

.logo-placeholder {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    filter: grayscale(100%);
    opacity: 0.7;
}

.logo-placeholder:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #7c3aed;
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    color: #374151;
    background: linear-gradient(135deg, #7c3aed, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause l'animation au survol */
.logos-slider-wrapper:hover .logos-slider {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-item {
        min-width: 150px;
        margin-right: 1rem;
    }
    
    .logo-placeholder {
        padding: 1rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logos-slider {
        animation-duration: 20s;
    }
}

/* Plans tarifaires - Alignement des boutons en bas */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .p-6:last-child {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card .p-6:last-child ul {
    flex-grow: 1;
}

.pricing-card .p-6:last-child button {
    margin-top: auto;
}

/* Faire un effet de dégradé en fond au roll over */
.special-offer-banner:hover {
    background: linear-gradient(135deg, #7c3aed, #f97316);
    opacity: 1 !important;
    animation-delay: 0ms;
}

/* Modal vidéo */
#video-modal {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#video-modal.show {
    opacity: 1 !important;
}

#video-modal.show #video-modal-content {
    transform: scale(1) !important;
}

#video-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Animation d'apparition de la modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.modal-enter {
    animation: modalFadeIn 0.3s ease-out forwards;
}

.modal-exit {
    animation: modalFadeOut 0.3s ease-out forwards;
}

/* Styles pour le lecteur vidéo */
#demo-video {
    border-radius: 0;
    outline: none;
}

#demo-video:focus {
    outline: none;
    box-shadow: none;
}

/* Responsive pour la modal vidéo */
@media (max-width: 768px) {
    #video-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    #demo-video {
        max-height: 60vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-footer .flex {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
}

/* Empêcher le scroll de la page quand la modal est ouverte */
body.modal-open {
    overflow: hidden;
}

/* Animation de slide down pour les éléments */
.animate-slide-down {
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
