/* Styles pour la section Stepper */
.stepper-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.stepper-container {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
}

.stepper-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Cercle avec numu00e9ro d'u00e9tape */
.stepper-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFD166;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stepper-circle span {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Contenu de l'étape */
.stepper-content {
    padding: 20px 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.stepper-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stepper-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Icu00f4ne pour chaque u00e9tape */
.stepper-icon {
    margin-top: auto; /* Place l'icu00f4ne en bas de la carte */
    margin-bottom: 10px;
    color: #FFD166;
    font-size: 2rem;
}

/* Effet de survol */
.stepper-step:hover .stepper-circle {
    transform: scale(1.1);
    background-color: #333;
    color: #FFD166;
}

.stepper-step:hover .stepper-content {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Bouton secondaire */
.custom-btn-secondary {
    background-color: #333;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px; /* Espace augmenté au-dessus du bouton */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-btn-secondary:hover {
    background-color: #FFD166;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Animation des u00e9tapes lors du chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stepper-step:nth-child(1) {
    animation: fadeInUp 0.5s ease forwards;
}

.stepper-step:nth-child(2) {
    animation: fadeInUp 0.5s 0.2s ease forwards;
    animation-fill-mode: both;
}

.stepper-step:nth-child(3) {
    animation: fadeInUp 0.5s 0.4s ease forwards;
    animation-fill-mode: both;
}

.stepper-step:nth-child(4) {
    animation: fadeInUp 0.5s 0.6s ease forwards;
    animation-fill-mode: both;
}

/* Responsive */
@media (max-width: 991px) {
    .stepper-progress-bar {
        top: 45px;
        left: 10%;
        right: 10%;
    }
    
    .stepper-step {
        margin-bottom: 30px;
    }
    
    .stepper-content {
        min-height: 160px;
    }
    
    .custom-btn-secondary {
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    .stepper-section {
        padding: 60px 0;
    }
    
    .stepper-container {
        padding-top: 0;
    }
    
    .stepper-progress-bar {
        display: none;
    }
    
    /* Repositionnement pour un affichage vertical sur mobile */
    .stepper-container .row {
        display: block;
    }
    
    .stepper-step {
        position: relative;
        margin-bottom: 45px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stepper-circle {
        position: relative;
        margin-bottom: 15px;
        z-index: 2;
    }
    
    .stepper-content {
        min-height: auto;
        padding: 25px 20px;
        width: 100%;
        text-align: center;
    }
    
    .stepper-icon {
        margin-top: 15px;
        margin-bottom: 0;
    }
    
    .custom-btn-secondary {
        margin-top: 30px;
    }
}
