/**
 * Formulaire d'inscription multi-étapes - DESTINS CROISÉS
 */

.inscription-section {
    padding: 80px 0;
    background: #f9f9f9;
    min-height: 100vh;
}

.inscription-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Indicateur de progression */
.progress-indicator {
    margin-bottom: 50px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #671F2A 0%, #CE9F5E 100%);
    width: 11.11%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.step-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed .step-number {
    background: #CE9F5E;
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 8px;
    transition: all 0.3s;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #671F2A 0%, #CE9F5E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(103, 31, 42, 0.3);
}

.step-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #671F2A;
    font-weight: 600;
}

/* Formulaire */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 28px;
    color: #671F2A;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
    font-style: italic;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #671F2A;
    box-shadow: 0 0 0 3px rgba(103, 31, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio et Checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
}

.radio-label:hover,
.checkbox-label:hover {
    border-color: #671F2A;
    background: rgba(103, 31, 42, 0.02);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #671F2A;
}

.radio-label input[type="radio"]:checked + span,
.checkbox-label input[type="checkbox"]:checked + span {
    color: #671F2A;
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked),
.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: #671F2A;
    background: rgba(103, 31, 42, 0.05);
}

/* Options de formule */
.formule-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formule-option {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
}

.formule-option:hover {
    border-color: #CE9F5E;
    background: rgba(206, 159, 94, 0.05);
}

.formule-option:has(input:checked) {
    border-color: #671F2A;
    background: rgba(103, 31, 42, 0.05);
}

.formule-option-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.formule-option-content strong {
    color: #671F2A;
    font-size: 16px;
}

.formule-option-content span {
    color: #666;
    font-size: 14px;
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-prev {
    background: transparent;
    color: #671F2A;
    border: 2px solid #671F2A;
}

.btn-prev:hover {
    background: #671F2A;
    color: white;
}

.btn-next,
.btn-submit {
    background: #671F2A;
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: #4a1620;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(103, 31, 42, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .inscription-container {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        display: none;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-submit {
        width: 100%;
        margin-left: 0;
    }
}
