:root {
    /* Couleurs du ministÃ¨re (basÃ©es sur le logo) */
    --primary-color: #0a5f23; /* Vert du ministÃ¨re */
    --primary-light: #2a7f43;
    --primary-dark: #064018;
    --secondary-color: #f9a826; /* Jaune/orange du drapeau */
    --secondary-light: #ffb84d;
    --secondary-dark: #e09000;
    --accent-color: #e74c3c; /* Rouge du drapeau */
    --text-color: #333333;
    --text-light: #666666;
    --light-text: #ffffff;
    --background-color: #f8f9fa;
    --card-bg: #ffffff;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
    --gradient-primary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #ff6e40);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    height: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}

.shape-1 {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    top: 50%;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    animation: float 18s ease-in-out infinite reverse;
}

.shape-3 {
    bottom: -150px;
    left: 30%;
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    animation: float 20s ease-in-out infinite;
}

.shape-4 {
    top: 20%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: var(--secondary-light);
    animation: float 12s ease-in-out infinite reverse;
}

.shape-5 {
    top: -100px;
    right: 20%;
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    animation: float 15s ease-in-out infinite;
}

.shape-6 {
    bottom: -100px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-light);
    animation: float 18s ease-in-out infinite reverse;
}

.shape-7 {
    top: 10%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--success-color);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.shape-8 {
    bottom: 20%;
    right: -100px;
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

section {
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.6s ease-in-out;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

section::-webkit-scrollbar {
    width: 6px;
}

section::-webkit-scrollbar-track {
    background: transparent;
}

section::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 20px;
}

.active-section {
    transform: translateX(0);
    opacity: 1;
    z-index: 1;
    position: relative;
    height: auto;
    overflow: visible;
}

.hidden-section {
    transform: translateX(100%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    position: absolute;
    overflow: hidden;
    height: 0;
}

/* Site Header */
.site-header {
    width: 100%;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.logo {
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: translateY(-5px);
}

/* Hero Section */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(10, 95, 35, 0.3);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 700;
    position: relative;
}

.highlight-text {
    color: var(--secondary-color);
    position: relative;
    font-weight: 800;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    opacity: 0.3;
    border-radius: 10px;
}

.hero-cover-image {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-cover-image:hover .cover-image {
    transform: scale(1.02);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    font-weight: 600;
    color: var(--primary-dark);
    padding: 1rem;
    background-color: rgba(123, 31, 162, 0.1);
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.parcours-container {
    margin: 2.5rem 0;
    width: 100%;
}

.parcours-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.parcours-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.parcours-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.parcours-card {
    padding: 2rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    width: 320px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.parcours-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.parcours-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 15px rgba(10, 95, 35, 0.3);
}

.card-icon i {
    font-size: 2.5rem;
    color: var(--light-text);
}

.parcours-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.card-features span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.card-features i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Benefits Container */
.benefits-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.benefit-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.cta-container {
    margin-top: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--light-text);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(10, 95, 35, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 auto;
    min-width: 280px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(10, 95, 35, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.spots-left {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spots-left i {
    color: var(--primary-color);
}

.counter {
    font-weight: 700;
    color: var(--primary-color);
}

/* Form Section */
.form-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Multi-step form styles */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: #e0e0e0;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: 0 4px 8px rgba(249, 168, 38, 0.3);
}

.step.completed .step-number {
    background: var(--success-color);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.5rem;
    box-shadow: 0 4px 8px rgba(10, 95, 35, 0.3);
}

.step-text {
    font-weight: 500;
    color: var(--primary-color);
}

.form-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    pointer-events: none;
}

.select-container i {
    z-index: 1;
}

textarea + i {
    top: 1.2rem;
    transform: none;
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237b1fa2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    padding-right: 2.5rem;
}

textarea {
    padding-top: 1.2rem;
    min-height: 120px;
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.15);
    background-color: white;
}

.input-container.error-container,
.password-field.error-container,
input.error,
textarea.error,
select.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
}

/* Parcours selection */
.parcours-selection {
    margin: 2rem 0;
}

.parcours-options-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.parcours-option {
    position: relative;
}

.parcours-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.parcours-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.8);
}

.parcours-option input[type="radio"]:checked + .parcours-label {
    border-color: var(--primary-color);
    background-color: rgba(123, 31, 162, 0.05);
    box-shadow: 0 4px 8px rgba(123, 31, 162, 0.15);
}

.parcours-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.parcours-option input[type="radio"]:checked + .parcours-label .parcours-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.parcours-info {
    display: flex;
    flex-direction: column;
}

.parcours-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.parcours-detail {
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-footer {
    margin-top: 2.5rem;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.next-button, .prev-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.next-button {
    background: var(--gradient-primary);
    color: var(--light-text);
    margin-left: auto;
}

.prev-button {
    background-color: #f5f5f5;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.next-button:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 8px rgba(10, 95, 35, 0.2);
}

.prev-button:hover {
    transform: translateX(-3px);
    background-color: #e9e9e9;
}

.final-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.final-buttons .prev-button {
    flex: 1;
}

.final-buttons .cancel-button {
    flex: 1;
}

.final-buttons .submit-button {
    flex: 2;
}

/* Back Button */
.back-button {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-button:hover {
    background-color: rgba(10, 95, 35, 0.1);
    transform: translateX(-3px);
}

.back-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

.back-button-alt {
    top: 1.5rem;
    left: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.back-button-alt:hover {
    background-color: white;
}

/* Cancel Button */
.cancel-button {
    background-color: #f5f5f5;
    color: var(--text-color);
    border: 1px solid #ddd;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-button:hover {
    background-color: #e9e9e9;
    transform: translateY(-3px);
}

/* Password Requirements */
.password-requirements {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-left: 3px solid var(--info-color);
}

.password-requirements h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.password-requirements ul {
    list-style: none;
    padding-left: 1.5rem;
}

.password-requirements li {
    margin-bottom: 0.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    list-style-type: none;
    padding-left: 1.5rem;
}

.password-requirements li::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    color: #ccc;
    font-size: 0.7rem;
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li.valid::before {
    content: '\f058';
    font-weight: 900;
    color: var(--success-color);
}

.password-field {
    position: relative;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    z-index: 2;
}

/* Social Login */
.social-login {
    margin-top: 2rem;
    text-align: center;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: white;
    border: 1px solid #ddd;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.google-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.google-button img {
    width: 20px;
    height: 20px;
}

.login-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background-color: rgba(33, 150, 243, 0.1);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--info-color);
}

.secure-note i {
    color: var(--info-color);
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--light-text);
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 8px 16px rgba(10, 95, 35, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(10, 95, 35, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button i {
    font-size: 1.2rem;
}

/* Confirmation Section */
.confirmation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: block;
}

.confirmation-content {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 700px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--success-color);
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both, pulse 2s infinite;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success-color);
    fill: none;
    animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px rgba(76, 175, 80, 0.1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.confirmation-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.confirmation-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.next-steps {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.next-steps p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.confirmation-content ul {
    list-style-type: none;
    margin: 1.5rem 0;
    text-align: left;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confirmation-content ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.confirmation-content ul li:hover {
    transform: translateX(5px);
}

.step-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.social-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.social-share p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.whatsapp {
    background-color: #25d366;
}

.help-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #25D366;
}

.help-section h3 {
    color: #128C7E;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.help-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-button.pulse {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .parcours-card {
        width: 280px;
    }
    
    .benefits-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .parcours-options {
        flex-direction: column;
        align-items: center;
    }
    
    .parcours-card {
        width: 100%;
        max-width: 320px;
    }
    
    .logo {
        height: 40px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .confirmation-content {
        padding: 1.5rem;
    }
    
    .badge-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .benefit-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 1rem;
    }
    
    /* Ajustements pour mobile des options de parcours et niveau */
    .parcours-options-form,
    .niveau-options {
        flex-direction: column;
    }
    
    .parcours-option,
    .niveau-option {
        width: 100%;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo-container {
        gap: 1rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .form-container, 
    .confirmation-content {
        padding: 1.2rem;
    }
    
    .next-steps, 
    .social-share, 
    .help-section {
        padding: 1rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .parcours-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .checkmark {
        width: 60px;
        height: 60px;
    }
    
    .confirmation-content ul li {
        padding: 0.6rem;
    }
    
    .step-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .back-button {
        top: 1rem;
        left: 1rem;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cancel-button, .submit-button {
        width: 100%;
        padding: 1rem;
    }
    
    .steps-indicator {
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.7rem;
        display: none;
    }
    
    .step.active .step-label {
        display: block;
    }
    
    .form-navigation {
        flex-wrap: wrap;
    }
    
    .next-button, .prev-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .password-requirements {
        padding: 1rem;
    }
    
    .password-requirements h4 {
        font-size: 0.9rem;
    }
    
    .password-requirements li {
        font-size: 0.8rem;
    }
    
    /* Forcer les Ã©lÃ©ments en une seule colonne sur mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        width: 100%;
    }
}

/* Styles pour les options de parcours */
.parcours-selection {
    margin-bottom: 2rem;
}

.parcours-options-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.parcours-option {
    flex: 1;
    min-width: 250px;
}

.parcours-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.parcours-label {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.parcours-option input[type="radio"]:checked + .parcours-label {
    border-color: var(--secondary-color);
    background: rgba(249, 168, 38, 0.05);
    box-shadow: 0 4px 8px rgba(249, 168, 38, 0.1);
}

.parcours-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.parcours-info {
    flex: 1;
}

.parcours-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.parcours-detail {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Styles pour les options de niveau */
.niveau-selection {
    margin-bottom: 2rem;
}

.niveau-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.niveau-option {
    flex: 1;
    min-width: 100px;
}

.niveau-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.niveau-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem;
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.niveau-option input[type="radio"]:checked + .niveau-label {
    border-color: var(--secondary-color);
    background: rgba(249, 168, 38, 0.05);
    box-shadow: 0 4px 8px rgba(249, 168, 38, 0.1);
}

.niveau-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.2rem;
}

.niveau-label span {
    font-weight: 500;
}

/* Style pour les champs facultatifs */
.optional {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in {
    animation: slideIn 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Particles.js Styles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    
    background-color: rgba(201, 23, 186, 0.8);
    background-color: #fcc812;
}

/* ICCI mffe */
.icci-logo-container {
    max-width: 1000px; 
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
   /* margin-top: 1rem;
    position: relative;
    overflow: hidden; */
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}