/* --- Structure & Titres --- */
.profil-section {
    padding: clamp(40px, 8vw, 80px) 24px;
    box-sizing: border-box;
    text-align: center;
}

.container {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
}

.main-title {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(38px, 2.5vw + 1rem, 58px);
    font-weight: 900;
    color: var(--text-main);
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.main-subtitle {
    font-size: clamp(1rem, 0.25vw + 0.8rem, 1.2rem);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 3rem auto;
}

/* --- Formulaire & Progression --- */
.progress-container {
    text-align: left;
    margin-bottom: 2.5rem;
}

.step-counter {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background-color: var(--primary-indigo);
    border-radius: 4px;
    transition: width 0.4s ease-in-out;
}

#multiStepForm {
    display: flex;
    flex-direction: column;
    min-height: 440px;
}

@media (min-width: 768px) {
    #multiStepForm {
        min-height: 380px;
    }
}

.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    text-align: left;
}

.form-step.active {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.form-group {
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

/* --- Sélections Multiples (Tags) --- */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-option {
    display: block;
    cursor: pointer;
}

.hidden-checkbox {
    display: none;
}

.tag-label {
    display: block;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    border: 1px solid var(--border-light);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.hidden-checkbox:checked + .tag-label {
    background-color: var(--primary-indigo);
    color: white;
    border-color: var(--primary-indigo);
}

/* --- Boutons de Navigation (Spécifiques au formulaire) --- */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.navigation-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.navigation-buttons .btn-primary:hover {
    transform: none; /* On annule le scale pour ces boutons */
}