:root {
    --CouleurPrimaire: #1f354d;
    --CouleurSecondaire: #03989e;
    --CouleurAccent: #FF8C42;
    --FontFamily: "Khand", sans-serif;
    --BoxShadow: rgba(31, 53, 77, 0.1);
    --FontSizeREG: clamp(16px, 1.1vw, 18px);
    --FontSizeBIG: clamp(28px, 4vw, 42px);
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* ===== FORM SECTION ===== */
#FormSection {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5% 60px;
}

#FormulaireParent {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ===== FORM CARDS ===== */
.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--BoxShadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 8px 30px rgba(31, 53, 77, 0.12);
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(31, 53, 77, 0.02), rgba(3, 152, 158, 0.03));
    border-bottom: 1px solid rgba(31, 53, 77, 0.06);
}

.step-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.8));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.form-card-header h2 {
    font-family: var(--FontFamily);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin: 0;
}

.form-card-content {
    padding: 25px;
}

/* ===== FORM ELEMENTS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.form-group label {
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    padding: 12px 16px;
    border: 2px solid rgba(31, 53, 77, 0.1);
    border-radius: 10px;
    background: #f8f9fa;
    color: var(--CouleurPrimaire);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--CouleurSecondaire);
    background: white;
    box-shadow: 0 0 0 4px rgba(3, 152, 158, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    min-height: 100px;
    resize: none;
    overflow-y: hidden;
}

.form-description {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: #666;
    margin: 0 0 20px 0;
}

/* ===== FORMATION OPTIONS ===== */
.formation-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formation-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formation-item > input[type="checkbox"] {
    display: none;
}

.formation-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.formation-label:hover {
    background: rgba(3, 152, 158, 0.05);
    border-color: rgba(3, 152, 158, 0.2);
}

.formation-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(31, 53, 77, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.formation-checkbox .material-symbols-outlined {
    font-size: 16px;
    color: transparent;
    transition: color 0.2s ease;
}

.formation-text {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: var(--CouleurPrimaire);
    line-height: 1.4;
}

/* Formation checked state */
.formation-label.Checked {
    background: rgba(3, 152, 158, 0.08);
    border-color: var(--CouleurSecondaire);
}

.formation-label.Checked .formation-checkbox {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
}

.formation-label.Checked .formation-checkbox .material-symbols-outlined {
    color: white;
}

/* Formation status (Diplômé/Étudiant) */
.formation-status {
    display: none;
    align-items: center;
    gap: 15px;
    padding: 10px 0 10px 36px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid rgba(31, 53, 77, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-option:hover {
    border-color: var(--CouleurSecondaire);
    background: rgba(3, 152, 158, 0.05);
}

.status-option.selected,
.status-option.activate {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
    color: white;
}

.status-option.selected .material-symbols-outlined,
.status-option.activate .material-symbols-outlined {
    color: white;
}

.status-option .material-symbols-outlined {
    font-size: 20px;
    color: var(--CouleurSecondaire);
}

.status-option span:last-child {
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 500;
}

.status-or {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: #999;
}

/* Speciality select */
.speciality-select {
    display: none;
    padding: 0 0 0 36px;
}

.speciality-select select {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    padding: 10px 16px;
    border: 2px solid rgba(31, 53, 77, 0.1);
    border-radius: 10px;
    background: white;
    color: var(--CouleurPrimaire);
    cursor: pointer;
    min-width: 200px;
}

.speciality-select select:focus {
    border-color: var(--CouleurSecondaire);
    outline: none;
}

/* ===== TERMS CHECKBOX ===== */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.terms-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--CouleurSecondaire);
    cursor: pointer;
    flex-shrink: 0;
}

.terms-checkbox label {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--CouleurSecondaire);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-checkbox a:hover {
    color: var(--CouleurPrimaire);
    text-decoration: underline;
}

/* ===== SUBMIT SECTION ===== */
.submit-section {
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.85));
    border: none;
    border-radius: 12px;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 152, 158, 0.4);
}

.submit-button .material-symbols-outlined {
    font-size: 22px;
}

.submit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-family: var(--FontFamily);
    font-size: 14px;
    color: #888;
}

.submit-note .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

/* ===== INPUT VALIDATION STATES ===== */
.InputEmpty::placeholder {
    color: #e74c3c;
}

input.valid,
textarea.valid {
    border-color: var(--CouleurSecondaire);
}

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 700px) {
    #HeroSection {
        padding: 40px 5% 30px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .hero-icon .material-symbols-outlined {
        font-size: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-card-header {
        padding: 15px 20px;
    }

    .form-card-content {
        padding: 20px;
    }

    .formation-label {
        padding: 12px 14px;
    }

    .formation-text {
        font-size: 15px;
    }

    .formation-status {
        flex-wrap: wrap;
        padding-left: 0;
        justify-content: center;
    }

    .speciality-select {
        padding-left: 0;
    }

    .speciality-select select {
        width: 100%;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }
}

@media only screen and (max-width: 480px) {
    .step-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .form-card-header h2 {
        font-size: 18px;
    }

    .status-option {
        padding: 8px 12px;
    }

    .status-option span:last-child {
        font-size: 14px;
    }
}

/* ===== LOADER ===== */
#loader {
    display: none;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, var(--CouleurSecondaire) 94%, transparent) top/6px 6px no-repeat,
        conic-gradient(transparent 30%, var(--CouleurSecondaire));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 0);
    animation: spin 1s infinite linear;
    margin: 0 auto;
}

@keyframes spin {
    100% { transform: rotate(1turn); }
}

/* Hidden fields */
#FormationsText,
#URLredirect,
#InputAutres {
    display: none;
}

/* ===== FORM GROUP FULL WIDTH ===== */
.form-group-full {
    margin-bottom: 20px;
}

/* ===== FIELD SECTION LABELS ===== */
.field-section-label {
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    margin-bottom: 10px;
}

.field-required {
    color: #e74c3c;
    font-weight: 600;
}

.field-optional {
    font-weight: 400;
    color: #aaa;
    font-size: 13px;
}

/* ===== DISPONIBILITÉS GRID ===== */
.dispo-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 8px;
    align-items: center;
    max-width: 360px;
}

.dispo-corner {
    /* empty top-left cell */
}

.dispo-col-header {
    font-family: var(--FontFamily);
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dispo-row-label {
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    padding-right: 12px;
    white-space: nowrap;
}

.dispo-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.dispo-cell input[type="checkbox"] {
    display: none;
}

.dispo-check {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(31, 53, 77, 0.15);
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.dispo-check .material-symbols-outlined {
    font-size: 20px;
    color: transparent;
    transition: color 0.15s ease;
}

.dispo-cell:hover .dispo-check {
    border-color: rgba(3, 152, 158, 0.4);
    background: rgba(3, 152, 158, 0.05);
}

.dispo-cell input:checked ~ .dispo-check {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
}

.dispo-cell input:checked ~ .dispo-check .material-symbols-outlined {
    color: white;
}

/* ===== PILLS ===== */
.pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pills-row.pills-error {
    outline: 2px solid rgba(231, 76, 60, 0.5);
    outline-offset: 6px;
    border-radius: 8px;
}

.pill {
    padding: 7px 16px;
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: #f2f3f5;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1.3;
}

.pill:hover {
    background: rgba(3, 152, 158, 0.08);
    color: var(--CouleurSecondaire);
    border-color: rgba(3, 152, 158, 0.25);
}

.pill.active {
    background: rgba(3, 152, 158, 0.1);
    color: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
    font-weight: 600;
}

/* ===== OPEN QUESTION WARNING ===== */
.question-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: rgba(255, 140, 66, 0.07);
    border: 1.5px solid rgba(255, 140, 66, 0.3);
    border-left: 4px solid var(--CouleurAccent);
    border-radius: 0 10px 10px 0;
}

.question-warning .material-symbols-outlined {
    font-size: 20px;
    color: var(--CouleurAccent);
    flex-shrink: 0;
    margin-top: 1px;
}

.question-warning p {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: rgba(31, 53, 77, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* ===== ANTÉCÉDENTS JUDICIAIRES CHECKBOX ===== */
.antecedents-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #f8f9fa;
    border: 2px solid rgba(31, 53, 77, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
    margin-bottom: 28px;
}

.antecedents-label:hover {
    background: rgba(3, 152, 158, 0.04);
    border-color: rgba(3, 152, 158, 0.25);
}

.antecedents-label input[type="checkbox"] {
    display: none;
}

.antecedents-custom-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid rgba(31, 53, 77, 0.2);
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    margin-top: 1px;
}

.antecedents-custom-check .material-symbols-outlined {
    font-size: 15px;
    color: transparent;
    transition: color 0.15s ease;
}

.antecedents-label:has(input:checked) {
    background: rgba(3, 152, 158, 0.07);
    border-color: var(--CouleurSecondaire);
}

.antecedents-label:has(input:checked) .antecedents-custom-check {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
}

.antecedents-label:has(input:checked) .antecedents-custom-check .material-symbols-outlined {
    color: white;
}

.antecedents-label.antecedents-error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.04);
}

.antecedents-text {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: var(--CouleurPrimaire);
    line-height: 1.5;
}

/* ===== RESPONSIVE — PILLS & DISPO ===== */
@media only screen and (max-width: 500px) {
    .dispo-grid {
        max-width: 100%;
        gap: 6px;
    }

    .dispo-check {
        width: 38px;
        height: 38px;
    }

    .pill {
        font-size: 14px;
        padding: 6px 13px;
    }
}

/* ===== BARRE DE PROGRESSION (WIZARD) ===== */
#FormProgress {
    max-width: 800px;
    margin: 0 auto 28px;
    padding: 0 5%;
}

.fp-steps {
    display: flex;
    align-items: flex-start;
}

.fp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.fp-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(31, 53, 77, 0.13);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.fp-num { display: block; line-height: 1; }
.fp-check { display: none; font-size: 17px; }

.fp-label {
    font-family: var(--FontFamily);
    font-size: 12px;
    font-weight: 500;
    color: #c0c0c0;
    white-space: nowrap;
    transition: color 0.3s;
    text-align: center;
}

.fp-connector {
    flex: 1;
    height: 2px;
    background: rgba(31, 53, 77, 0.1);
    margin-top: 17px; /* vertically aligns with circle centre (36px / 2 = 18px) */
    transition: background 0.4s ease;
}

/* Active */
.fp-step-active .fp-circle {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
    color: white;
    box-shadow: 0 3px 12px rgba(3, 152, 158, 0.35);
}
.fp-step-active .fp-label {
    color: var(--CouleurSecondaire);
    font-weight: 700;
}

/* Completed */
.fp-step-done .fp-circle {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
    color: white;
}
.fp-step-done .fp-num { display: none; }
.fp-step-done .fp-check { display: block; color: white; }
.fp-step-done .fp-label { color: var(--CouleurSecondaire); }

.fp-connector-done { background: var(--CouleurSecondaire); }


/* Card appear animation */
@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-card-animate {
    animation: cardFadeUp 0.28s ease both;
}

/* ===== NAVIGATION WIZARD (Retour / Continuer) ===== */
.form-card-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(31, 53, 77, 0.06);
}

.form-card-nav-right {
    justify-content: flex-end;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-family: var(--FontFamily);
    font-size: 16px;
    font-weight: 500;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    border-radius: 8px;
}
.btn-back:hover { color: var(--CouleurPrimaire); }
.btn-back .material-symbols-outlined { font-size: 17px; }

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--CouleurSecondaire);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(3, 152, 158, 0.25);
}
.btn-continue:hover {
    background: #028a90;
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(3, 152, 158, 0.35);
}
.btn-continue .material-symbols-outlined { font-size: 18px; }

/* ===== RESPONSIVE — WIZARD ===== */
@media only screen and (max-width: 480px) {
    .fp-label { font-size: 11px; }
    .fp-circle { width: 30px; height: 30px; font-size: 13px; }
    .fp-connector { margin-top: 14px; }
    .btn-continue { font-size: 15px; padding: 11px 20px; }
}

/* ===== TÉLÉVERSEMENT PREUVE DE DIPLOMATION ===== */
.diplome-upload-area {
    margin-bottom: 12px;
}

.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 20px;
    border: 2px dashed rgba(31, 53, 77, 0.18);
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.upload-zone:hover {
    border-color: var(--CouleurSecondaire);
    background: rgba(3, 152, 158, 0.04);
}

.upload-zone input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 32px;
    color: rgba(31, 53, 77, 0.25);
    transition: color 0.2s;
}

.upload-zone:hover .upload-icon {
    color: var(--CouleurSecondaire);
}

.upload-main {
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
}

.upload-link {
    color: var(--CouleurSecondaire);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.upload-hint {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: #aaa;
}

/* Zone avec fichier sélectionné */
.upload-zone-filled {
    border-style: solid;
    border-color: var(--CouleurSecondaire);
    background: rgba(3, 152, 158, 0.05);
}

.upload-zone-filled .upload-icon {
    color: var(--CouleurSecondaire);
}

.upload-filename {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: var(--CouleurSecondaire);
    font-weight: 500;
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Zone désactivée quand "envoyer plus tard" est coché */
.upload-zone-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Checkbox "Je l'enverrai par courriel" */
.upload-later-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    background: #f8f9fa;
    border: 2px solid rgba(31, 53, 77, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-later-label:hover {
    background: rgba(3, 152, 158, 0.04);
    border-color: rgba(3, 152, 158, 0.25);
}

.upload-later-label input[type="checkbox"] {
    display: none;
}

.upload-later-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(31, 53, 77, 0.2);
    border-radius: 5px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    margin-top: 2px;
}

.upload-later-check .material-symbols-outlined {
    font-size: 13px;
    color: transparent;
    transition: color 0.15s;
}

.upload-later-label:has(input:checked) {
    background: rgba(3, 152, 158, 0.06);
    border-color: var(--CouleurSecondaire);
}

.upload-later-label:has(input:checked) .upload-later-check {
    background: var(--CouleurSecondaire);
    border-color: var(--CouleurSecondaire);
}

.upload-later-label:has(input:checked) .upload-later-check .material-symbols-outlined {
    color: white;
}

.upload-later-text {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ===== EN-TÊTE COMPACT (Option A) ===== */
#FormHeader {
    max-width: 800px;
    margin: 0 auto;
    padding: 36px 5% 20px;
    border-bottom: 1px solid rgba(31, 53, 77, 0.07);
    margin-bottom: 28px;
}

.fh-eyebrow {
    font-family: var(--FontFamily);
    font-size: 12px;
    font-weight: 600;
    color: var(--CouleurSecondaire);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.fh-title {
    font-family: var(--FontFamily);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    line-height: 1.15;
    margin-bottom: 10px;
}

.fh-sub {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: #888;
    line-height: 1.5;
}

@media only screen and (max-width: 700px) {
    #FormHeader {
        padding: 24px 5% 16px;
        margin-bottom: 20px;
    }
}
