/* Styles spécifiques pour la page d'optimisation du processus de création de contenu produit */

/* Animation pour les cartes */
.transform {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Effet de texte dégradé */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Animations pour les cartes de fonctionnalités */
.bg-gradient-to-br {
    transition: all 0.3s ease;
}

.bg-gradient-to-br:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Styles pour les sections */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délai d'animation pour les sections */
section:nth-child(1) {
    animation-delay: 0.1s;
}

section:nth-child(2) {
    animation-delay: 0.3s;
}

section:nth-child(3) {
    animation-delay: 0.5s;
}

section:nth-child(4) {
    animation-delay: 0.7s;
}

section:nth-child(5) {
    animation-delay: 0.9s;
}

/* Styles pour les boutons */
a.bg-white {
    transition: all 0.3s ease;
}

a.bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Styles pour les témoignages */
.bg-blue-50.border-l-4 {
    position: relative;
    overflow: hidden;
}

.bg-blue-50.border-l-4::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 100px;
    color: rgba(59, 130, 246, 0.1);
    font-family: Georgia, serif;
}

/* Styles pour les défis */
.bg-red-50 {
    transition: all 0.3s ease;
}

.bg-red-50:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.1), 0 4px 6px -2px rgba(239, 68, 68, 0.05);
}

/* Styles pour la timeline */
.absolute.h-full.w-0.5.bg-blue-200 {
    animation: growLine 1.5s ease-out forwards;
    transform-origin: top;
}

@keyframes growLine {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/* Styles pour les icônes */
svg {
    transition: transform 0.3s ease;
}

.flex:hover svg {
    transform: scale(1.2);
}

/* Styles pour les titres de section */
h2 {
    position: relative;
    overflow: hidden;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100px;
}

/* Styles pour le bouton de conclusion */
.flex.justify-center a {
    position: relative;
    overflow: hidden;
}

.flex.justify-center a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: all 0.6s;
}

.flex.justify-center a:hover::before {
    left: 100%;
}

/* Styles pour les flèches du workflow */
.workflow-arrow {
    transition: none !important;
    transform: none !important;
}

.workflow-arrow-down {
    /* Aucune rotation nécessaire, l'icône pointe déjà vers le bas */
}

/* Désactiver les animations de survol pour les flèches du workflow */
.flex:hover .workflow-arrow {
    transform: none !important;
}
