/* ============================================================
   Formulaires dynamiques — 4L Trophy Santé
   ============================================================ */

.s4lt-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: #1a2a50;
}

/* Progression */
.form-progress {
    margin-bottom: 24px;
}
.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.progress-fill {
    height: 100%;
    background: #FF0035;
    border-radius: 3px;
    transition: width .3s ease;
}
.progress-text {
    font-size: 13px;
    color: #6d92b2;
    text-align: right;
}

/* Étapes */
.form-step {
    display: none;
}

/* Groupe de champ */
.form-group {
    margin-bottom: 20px;
}
.s4lt-label {
    display: block;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a2a50;
}
.s4lt-required {
    color: #FF0035;
    margin-left: 3px;
}
.s4lt-field-desc {
    font-size: 14px;
    color: #6d92b2;
    margin-bottom: 10px;
    font-style: italic;
}

/* Inputs */
.s4lt-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1a2a50;
    transition: border-color .2s;
    box-sizing: border-box;
}
.s4lt-input:focus {
    outline: none;
    border-color: #FF0035;
    box-shadow: 0 0 0 2px rgba(255,0,53,.12);
}
textarea.s4lt-input {
    resize: vertical;
    min-height: 100px;
}

/* Labels inline (radio / checkbox) */
.s4lt-inline-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 15px;
    color: #1a2a50;
    transition: background .15s, border-color .15s;
}
.s4lt-inline-label:hover {
    background: #fff0f3;
    border-color: #FF0035;
}
.s4lt-inline-label input {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #FF0035;
}

/* Navigation */
.form-navigation {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Boutons */
.s4lt-btn {
    display: inline-block;
    padding: 11px 24px;
    background: #FF0035;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, opacity .2s;
    font-family: 'Hubot Sans Expanded', sans-serif;
    letter-spacing: 0.02em;
}
.s4lt-btn:hover {
    background: #cc0028;
    color: #fff !important;
}
.s4lt-btn:disabled {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}
.s4lt-btn-alt {
    background: #f3f3f3;
    color: #1a2a50;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.s4lt-btn-alt:hover {
    background: #e8e8e8;
    color: #1a2a50;
}

/* Écran de démarrage */
.form-start-screen {
    text-align: center;
    padding: 30px 20px;
}
.form-start-screen h2 {
    margin-bottom: 12px;
    font-size: 22px;
    font-family: 'Hubot Sans Expanded', sans-serif;
    color: #1a2a50;
}
.form-start-screen p {
    color: #1a2a50;
    margin-bottom: 24px;
}

/* Complétion */
.form-complete,
.s4lt-completed {
    text-align: center;
    padding: 40px 20px;
}
.s4lt-icon {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
}
.form-complete h2,
.s4lt-completed h3 {
    margin-bottom: 12px;
    font-family: 'Hubot Sans Expanded', sans-serif;
    color: #1a2a50;
}
.form-complete p,
.s4lt-completed p {
    color: #1a2a50;
    margin-bottom: 8px;
}

/* Notice reprise */
.s4lt-resume-notice {
    background: #f0f5fb;
    border-left: 4px solid #1a2a50;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.s4lt-resume-notice h4 {
    margin: 0 0 8px;
    font-family: 'Hubot Sans Expanded', sans-serif;
    color: #1a2a50;
}
.s4lt-resume-notice p {
    margin: 0 0 4px;
    font-size: 14px;
    color: #1a2a50;
}

/* Responsive */
@media (max-width: 480px) {
    .s4lt-label { font-size: 15px; }
    .s4lt-btn { width: 100%; text-align: center; }
    .form-navigation { flex-direction: column; }
}
