/* ============================================
   MODALITÉS D'INSCRIPTION PAGE - NEW DESIGN
   ============================================ */

/* Hero Section */
.hero-inscription {
    padding: 12rem 5% 6rem;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
    margin-top: 85px;
    text-align: center;
}

.hero-inscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: bgMove 10s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-content-inscription {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

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

.hero-inscription h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-inscription p {
    font-size: 1.3rem;
    color: #94A3B8;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Main Content Section */
.inscription-content {
    padding: 6rem 5%;
    background: #ffffff;
}

.inscription-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Steps Section */
.inscription-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.step-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 2px solid #E2E8F0;
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

.step-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.step-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-card p {
    color: #64748B;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.info-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid #E2E8F0;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.4s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-color: rgba(14, 165, 233, 0.3);
}

.highlight-card:hover {
    border-color: var(--primary);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.info-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.info-card p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.info-card strong {
    color: var(--primary);
    font-weight: 700;
}

/* CTA Section */
.inscription-cta {
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.5s;
}

.cta-content-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 4rem;
    border-radius: 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 25px 70px rgba(14, 165, 233, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-icon {
    position: relative;
    z-index: 2;
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.btn-secondary-white:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .inscription-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 2rem;
    }

    .cta-icon {
        justify-self: center;
    }

    .cta-buttons {
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .hero-inscription h1 {
        font-size: 2.5rem;
    }

    .hero-inscription p {
        font-size: 1.1rem;
    }

    .step-card {
        padding: 2.5rem 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        right: 20px;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }

    .info-card {
        padding: 2rem;
    }

    .info-card h4 {
        font-size: 1.3rem;
    }

    .cta-text h3 {
        font-size: 1.5rem;
    }

    .cta-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-inscription {
        padding: 8rem 5% 4rem;
    }

    .hero-inscription h1 {
        font-size: 2rem;
    }

    .inscription-content {
        padding: 3rem 5%;
    }

    .btn-primary,
    .btn-secondary-white {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}
