/* ============================================
   PROCESSUS D'INSCRIPTION - GLASSMORPHIC
   ============================================ */

.process-steps {
    margin: 60px 0 40px;
    position: relative;
}


/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    position: relative;
    padding: 20px;
}

/* Version premium avec effet de profondeur */
.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Effet de glassmorphique avec double bordure */
.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Fond avec effet de verre dépoli */
.step-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(15px);
}

/* Effet de lumière au survol */
.step-card:hover {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

/* Step Number */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    /* background: linear-gradient(135deg, #0a7734, #085c28); */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.05);
    border-radius: 50%;
    background: linear-gradient(135deg, #0a7734, #085c28);
    box-shadow: 0 10px 25px rgba(10, 119, 52, 0.4);
}

/* Step Title */
.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: #085c28;
}

/* Step Description */
.step-card p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Connecteur entre les étapes */
.step-connector {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a7734;
    font-size: 1.2rem;
    border: 1px solid rgba(10, 119, 52, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.step-card:hover .step-connector {
    background: #FFD700;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Dernier élément sans connecteur */
.step-card:last-child .step-connector {
    display: none;
}

/* Version responsive */
@media (max-width: 1024px) {
    .step-connector {
        display: none;
    }
    
    .steps-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .process-steps {
        margin: 40px 0 30px;
    }
    
    .step-card {
        padding: 24px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .step-card h3 {
        font-size: 1rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .step-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 20px;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-card h3 {
        margin-bottom: 4px;
    }
}

/* Cards */
.fiche-card {
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 28px 20px 22px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.fiche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0a7734, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.fiche-card:hover::before {
    transform: scaleX(1);
}

.fiche-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(10, 119, 52, 0.3);
    transform: translateY(-4px);
}

.fiche-card .icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.fiche-card:hover .icon-wrap {
    transform: scale(1.05);
}

.icon-personne {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #0a7734;
}

.icon-structure {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: #FF0000;
}

.fiche-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.fiche-card p {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-choisir {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-choisir-green {
    background: linear-gradient(135deg, #0a7734, #085c28);
    color: #FFFFFF;
}

.btn-choisir-green:hover {
    background: linear-gradient(135deg, #0c8a3e, #0a7734);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 119, 52, 0.3);
    color: #FFFFFF;
}

.btn-choisir-red {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #FFFFFF;
}

.btn-choisir-red:hover {
    background: linear-gradient(135deg, #FF1A1A, #FF0000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    color: #FFFFFF;
}

/* Bottom Note */
.bottom-note {
    background: linear-gradient(135deg, #0a2e1a 0%, #0a7734 100%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 48px 20px;
    margin-top: 48px;
}

.bottom-note .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.bottom-note strong {
    color: #FFD700;
}

.bottom-note-icon {
    color: #FFD700;
    font-size: 1.2rem;
}

.bottom-note-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bottom-note-link:hover {
    color: #FFD700;
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-soumettre {
        padding: 60px 0 40px;
    }
    
    .info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .section-type h2 {
        font-size: 1.2rem;
    }
    
    .fiche-card {
        padding: 20px 16px;
    }
    
    .fiche-card .icon-wrap {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .badge-step {
        font-size: 0.7rem;
        padding: 4px 16px;
    }
    
    .hero-soumettre h1 {
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}