/* ============================================
   Simulateur LDB VO — Front-end CSS
   Design institutionnel, pédagogique, moderne
   ============================================ */

/* Variables */
:root {
    --ldb-primary: #1a3a5c;
    --ldb-primary-light: #2c5f8a;
    --ldb-accent: #0d6efd;
    --ldb-bg: #f0f7fb;
    --ldb-bg-light: #f8fbfd;
    --ldb-bg-card: #ffffff;
    --ldb-text: #2c3e50;
    --ldb-text-light: #6c7a89;
    --ldb-border: #d4e6f1;
    --ldb-success: #27ae60;
    --ldb-warning: #f39c12;
    --ldb-danger: #e74c3c;
    --ldb-orange: #e67e22;
    --ldb-radius: 12px;
    --ldb-radius-sm: 8px;
    --ldb-shadow: 0 2px 12px rgba(26, 58, 92, 0.08);
    --ldb-shadow-hover: 0 4px 20px rgba(26, 58, 92, 0.12);
    --ldb-transition: all 0.3s ease;
}

/* Base */
.ldb-simulator {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--ldb-text);
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ldb-simulator *,
.ldb-simulator *::before,
.ldb-simulator *::after {
    box-sizing: border-box;
}

/* ---- HEADER ---- */
.ldb-header {
    margin-bottom: 30px;
}

.ldb-step-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ldb-accent);
    margin-bottom: 6px;
}

.ldb-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--ldb-primary);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.ldb-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 5px;
    background: var(--ldb-border);
    border-radius: 3px;
    overflow: hidden;
}

.ldb-progress-fill {
    height: 100%;
    background: var(--ldb-accent);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ---- INFO BANNER ---- */
.ldb-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius);
    padding: 18px 22px;
    margin-bottom: 28px;
    border: 1px solid var(--ldb-border);
}

.ldb-info-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--ldb-text-light);
    line-height: 1.5;
}

.ldb-info-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ldb-bg-card);
    border-radius: 50%;
    color: var(--ldb-accent);
    font-weight: 700;
}

.ldb-shield-icon {
    flex-shrink: 0;
}

.ldb-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius);
    padding: 18px;
    border: 1px solid var(--ldb-border);
}

.ldb-info-box p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--ldb-text-light);
    font-style: italic;
}

.ldb-info-box strong {
    color: var(--ldb-primary);
    font-size: 14px;
}

/* ---- FORM GRID ---- */
.ldb-form-container {
    background: var(--ldb-bg-light);
    border-radius: var(--ldb-radius);
    padding: 36px;
    box-shadow: var(--ldb-shadow);
}

.ldb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.ldb-col-full {
    grid-column: 1 / -1;
}

.ldb-col-half {
    grid-column: span 1;
}

/* ---- LABELS ---- */
.ldb-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ldb-text-light);
    margin-bottom: 8px;
}

.ldb-field-hint {
    display: block;
    font-size: 12px;
    color: var(--ldb-text-light);
    margin-top: 6px;
}

/* ---- SELECT / INPUT ---- */
.ldb-select,
.ldb-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--ldb-border);
    border-radius: var(--ldb-radius-sm);
    background: var(--ldb-bg-card);
    color: var(--ldb-text);
    transition: var(--ldb-transition);
    appearance: none;
    -webkit-appearance: none;
}

.ldb-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c7a89' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.ldb-select:focus,
.ldb-input:focus {
    outline: none;
    border-color: var(--ldb-accent);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* ---- RADIO GROUP (type zone) ---- */
.ldb-radio-group {
    display: flex;
    gap: 12px;
}

.ldb-radio-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: var(--ldb-bg-card);
    border: 2px solid var(--ldb-border);
    border-radius: var(--ldb-radius-sm);
    cursor: pointer;
    transition: var(--ldb-transition);
    text-align: center;
}

.ldb-radio-card input {
    display: none;
}

.ldb-radio-card:hover {
    border-color: var(--ldb-primary-light);
}

.ldb-radio-card:has(input:checked) {
    border-color: var(--ldb-primary);
    background: var(--ldb-primary);
    color: #fff;
}

.ldb-radio-text {
    font-size: 14px;
    font-weight: 600;
}

/* ---- CARD SELECT (type soin) ---- */
.ldb-card-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ldb-card-option {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--ldb-bg-card);
    border: 2px solid var(--ldb-border);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--ldb-transition);
    font-size: 13px;
    font-weight: 500;
}

.ldb-card-option input {
    display: none;
}

.ldb-card-option:hover {
    border-color: var(--ldb-primary-light);
}

.ldb-card-option:has(input:checked) {
    border-color: var(--ldb-primary);
    background: var(--ldb-primary);
    color: #fff;
}

/* ---- CARD SELECT SUB (sous-types dentaires) ---- */
.ldb-card-select-sub {
    gap: 8px;
}

.ldb-card-option-sub {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: var(--ldb-radius-sm);
    font-size: 13px;
    border-width: 2px;
    animation: ldb-slideDown 0.3s ease;
}

.ldb-card-option-sub .ldb-card-option-text {
    font-size: 13px;
}

.ldb-card-option-alert {
    border-color: #f5c6cb;
    background: #fff5f5;
}

.ldb-card-option-alert:hover {
    border-color: var(--ldb-danger);
}

.ldb-card-option-alert:has(input:checked) {
    border-color: var(--ldb-danger);
    background: var(--ldb-danger);
    color: #fff;
}

.ldb-card-option-alert:has(input:checked) .ldb-card-option-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.ldb-card-option-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    background: #fde8e8;
    color: var(--ldb-danger);
    letter-spacing: 0.3px;
}

#ldb-sous-type-dentaire {
    animation: ldb-slideDown 0.35s ease;
}

@keyframes ldb-slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ldb-info-dentaire {
    background: #fff8e1;
    border-color: #f0d58c;
}

.ldb-info-dentaire .ldb-info-icon {
    background: #f9e79f;
    color: #b7950b;
}

/* ---- RANGE SLIDER ---- */
.ldb-slider-container {
    padding: 10px 0;
}

.ldb-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--ldb-border);
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
}

.ldb-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ldb-primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ldb-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ldb-primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ldb-range-value {
    text-align: right;
    font-size: 28px;
    font-weight: 800;
    color: var(--ldb-primary);
}

.ldb-range-value .ldb-range-number {
    font-size: 28px;
}

.ldb-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ldb-text-light);
    margin-top: 4px;
}

/* ---- QUESTION CARD (oui/non) ---- */
.ldb-question-card {
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius);
    padding: 22px;
    border: 1px solid var(--ldb-border);
}

.ldb-question-card-large {
    text-align: center;
    padding: 30px;
}

.ldb-question {
    font-size: 15px;
    margin: 0 0 14px;
    color: var(--ldb-primary);
}

.ldb-btn-group {
    display: flex;
    gap: 10px;
}

.ldb-btn-choice {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--ldb-bg-card);
    border: 2px solid var(--ldb-border);
    border-radius: var(--ldb-radius-sm);
    cursor: pointer;
    transition: var(--ldb-transition);
    font-weight: 600;
    font-size: 14px;
}

.ldb-btn-choice input {
    display: none;
}

.ldb-btn-choice:hover {
    border-color: var(--ldb-primary-light);
}

.ldb-btn-choice:has(input:checked) {
    border-color: var(--ldb-primary);
    background: var(--ldb-primary);
    color: #fff;
}

.ldb-btn-choice-lg {
    padding: 16px 30px;
    font-size: 16px;
}

/* ---- VIGILANCE QUESTIONS LIST ---- */
.ldb-questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.ldb-question-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--ldb-bg-card);
    border-radius: var(--ldb-radius);
    padding: 22px;
    border: 1px solid var(--ldb-border);
}

.ldb-question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e6f5ea;
    color: var(--ldb-success);
    font-size: 13px;
    font-weight: 700;
}

.ldb-question-content {
    flex: 1;
}

.ldb-question-text {
    margin: 0 0 12px;
    font-size: 15px;
}

.ldb-btn-group-inline {
    display: flex;
    gap: 10px;
}

.ldb-btn-choice-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--ldb-bg-light);
    border: 2px solid var(--ldb-border);
    border-radius: var(--ldb-radius-sm);
    cursor: pointer;
    transition: var(--ldb-transition);
    font-weight: 500;
    font-size: 14px;
}

.ldb-btn-choice-card input {
    display: none;
}

.ldb-btn-choice-card:hover {
    border-color: var(--ldb-primary-light);
    background: var(--ldb-bg);
}

.ldb-btn-choice-card:has(input:checked) {
    border-color: var(--ldb-primary);
    background: var(--ldb-primary);
    color: #fff;
}

/* ---- CHECKBOX GRID (renoncement motifs) ---- */
.ldb-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ldb-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ldb-bg-card);
    border: 2px solid var(--ldb-border);
    border-radius: var(--ldb-radius-sm);
    cursor: pointer;
    transition: var(--ldb-transition);
}

.ldb-checkbox-card input {
    accent-color: var(--ldb-primary);
    width: 16px;
    height: 16px;
}

.ldb-checkbox-card:hover {
    border-color: var(--ldb-primary-light);
}

.ldb-checkbox-card:has(input:checked) {
    border-color: var(--ldb-primary);
    background: var(--ldb-bg);
}

.ldb-checkbox-text {
    font-size: 13px;
    font-weight: 500;
}

/* ---- RGPD ---- */
.ldb-rgpd {
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius-sm);
    border: 1px solid var(--ldb-border);
}

.ldb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--ldb-text-light);
    line-height: 1.5;
}

.ldb-checkbox-label input {
    margin-top: 3px;
    accent-color: var(--ldb-primary);
}

/* ---- SUBMIT ---- */
.ldb-submit-area {
    text-align: center;
    padding-top: 10px;
}

.ldb-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--ldb-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--ldb-transition);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

.ldb-submit-btn:hover {
    background: var(--ldb-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35);
}

.ldb-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ldb-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ldb-submit-btn:hover .ldb-arrow {
    transform: translateX(4px);
}

.ldb-secure-text {
    font-size: 12px;
    color: var(--ldb-text-light);
    margin-top: 10px;
}

/* ---- LOADING ---- */
.ldb-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
}

.ldb-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--ldb-border);
    border-top-color: var(--ldb-primary);
    border-radius: 50%;
    animation: ldb-spin 0.8s linear infinite;
}

@keyframes ldb-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RÉSULTATS
   ============================================ */

.ldb-result-container {
    background: var(--ldb-bg-light);
    border-radius: var(--ldb-radius);
    padding: 36px;
    box-shadow: var(--ldb-shadow);
    animation: ldb-fadeIn 0.5s ease;
}

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

.ldb-result-header {
    margin-bottom: 30px;
}

.ldb-result-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ldb-primary);
    margin: 0 0 8px;
}

.ldb-result-subtitle {
    font-size: 14px;
    color: var(--ldb-text-light);
    margin: 0;
    line-height: 1.5;
}

/* ---- RESULT GRID ---- */
.ldb-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* ---- GAUGE ---- */
.ldb-gauge-container {
    text-align: center;
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius);
    padding: 30px 20px;
    border: 1px solid var(--ldb-border);
}

.ldb-gauge {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
}

.ldb-gauge-svg {
    width: 100%;
    height: 100%;
}

.ldb-gauge-circle {
    transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}

.ldb-gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ldb-gauge-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--ldb-primary);
    line-height: 1;
}

.ldb-gauge-max {
    font-size: 14px;
    color: var(--ldb-text-light);
    font-weight: 400;
}

.ldb-gauge-label {
    margin-top: 8px;
}

.ldb-niveau-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--ldb-primary);
}

.ldb-gauge-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin: 8px 0 4px;
}

.ldb-gauge-desc {
    font-size: 12px;
    color: var(--ldb-text-light);
    margin: 0;
}

.ldb-moyenne-text {
    font-size: 13px;
    color: var(--ldb-text-light);
    margin-top: 12px;
}

/* ---- RESULT DETAILS ---- */
.ldb-result-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ldb-result-message {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ldb-text);
}

.ldb-niveau-display {
    background: var(--ldb-bg);
    border-radius: var(--ldb-radius);
    padding: 20px;
    border: 1px solid var(--ldb-border);
}

.ldb-niveau-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ldb-text-light);
    margin-bottom: 6px;
}

.ldb-niveau-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--ldb-primary);
}

.ldb-context-box {
    background: var(--ldb-primary);
    color: #fff;
    border-radius: var(--ldb-radius);
    padding: 22px;
}

.ldb-context-box .ldb-result-message {
    color: rgba(255,255,255,0.9);
}

.ldb-context-title {
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 15px;
}

/* ---- FINANCIAL DETAILS ---- */
.ldb-financial-detail {
    background: var(--ldb-bg-card);
    border-radius: var(--ldb-radius);
    padding: 20px;
    border: 1px solid var(--ldb-border);
}

.ldb-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-detail-row:last-child {
    border-bottom: none;
}

.ldb-detail-label {
    font-size: 14px;
    color: var(--ldb-text-light);
}

.ldb-detail-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ldb-primary);
}

.ldb-detail-positive .ldb-detail-value {
    color: var(--ldb-success);
}

.ldb-detail-positive .ldb-detail-value::before {
    content: "- ";
}

.ldb-detail-negative .ldb-detail-value {
    color: var(--ldb-danger);
}

.ldb-detail-negative .ldb-detail-value::before {
    content: "+ ";
}

.ldb-detail-total {
    border-top: 2px solid var(--ldb-primary);
    margin-top: 6px;
    padding-top: 14px;
}

.ldb-detail-total .ldb-detail-label {
    font-weight: 700;
    color: var(--ldb-primary);
}

.ldb-detail-total .ldb-detail-value {
    font-size: 20px;
    color: var(--ldb-danger);
}

/* ---- FACTEURS ---- */
.ldb-facteurs-container {
    margin-bottom: 24px;
}

.ldb-facteurs-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-facteurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ldb-facteur-card {
    background: var(--ldb-bg-card);
    border-radius: var(--ldb-radius-sm);
    padding: 18px;
    border: 1px solid var(--ldb-border);
}

.ldb-facteur-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ldb-text-light);
    margin-bottom: 6px;
}

.ldb-facteur-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.ldb-facteur-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--ldb-primary);
}

/* ---- CONSEILS ---- */
.ldb-conseils-container {
    margin-bottom: 24px;
}

.ldb-conseils-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ldb-conseil-card {
    text-align: center;
    background: var(--ldb-bg-card);
    border-radius: var(--ldb-radius);
    padding: 24px 18px;
    border: 1px solid var(--ldb-border);
    transition: var(--ldb-transition);
}

.ldb-conseil-card:hover {
    box-shadow: var(--ldb-shadow-hover);
    transform: translateY(-2px);
}

.ldb-conseil-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ldb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: var(--ldb-accent);
}

.ldb-conseil-titre {
    font-size: 14px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin-bottom: 6px;
}

.ldb-conseil-texte {
    font-size: 12px;
    color: var(--ldb-text-light);
    line-height: 1.5;
}

/* ---- RESSOURCES ---- */
.ldb-ressources-container {
    margin-bottom: 24px;
}

.ldb-ressources-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-ressources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.ldb-ressource-card {
    background: var(--ldb-bg-card);
    border-radius: var(--ldb-radius);
    padding: 22px;
    border-left: 4px solid var(--ldb-accent);
    border-top: 1px solid var(--ldb-border);
    border-right: 1px solid var(--ldb-border);
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-ressource-titre {
    font-size: 14px;
    font-weight: 700;
    color: var(--ldb-primary);
    margin-bottom: 6px;
}

.ldb-ressource-texte {
    font-size: 13px;
    color: var(--ldb-text-light);
    line-height: 1.5;
    margin: 0;
}

/* ---- MOTIFS RECAP ---- */
.ldb-motifs-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.ldb-motifs-list li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--ldb-text);
    border-bottom: 1px solid var(--ldb-border);
}

.ldb-motifs-list li::before {
    content: "• ";
    color: var(--ldb-danger);
    font-weight: 700;
}

/* ---- RESULT ACTIONS ---- */
.ldb-result-actions {
    text-align: center;
    padding-top: 10px;
}

.ldb-btn-restart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ldb-primary);
    background: var(--ldb-bg-card);
    border: 2px solid var(--ldb-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--ldb-transition);
}

.ldb-btn-restart:hover {
    border-color: var(--ldb-primary);
    background: var(--ldb-bg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .ldb-form-container,
    .ldb-result-container {
        padding: 20px;
    }

    .ldb-form-grid {
        grid-template-columns: 1fr;
    }

    .ldb-col-half {
        grid-column: span 1;
    }

    .ldb-result-grid {
        grid-template-columns: 1fr;
    }

    .ldb-facteurs-grid {
        grid-template-columns: 1fr;
    }

    .ldb-radio-group {
        flex-direction: column;
    }

    .ldb-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .ldb-title {
        font-size: 22px;
    }

    .ldb-result-title {
        font-size: 20px;
    }

    .ldb-gauge {
        width: 150px;
        height: 150px;
    }

    .ldb-gauge-number {
        font-size: 38px;
    }

    .ldb-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ldb-form-container,
    .ldb-result-container {
        padding: 16px;
    }

    .ldb-btn-group {
        flex-direction: column;
    }

    .ldb-btn-group-inline {
        flex-direction: column;
    }

    .ldb-question-item {
        flex-direction: column;
        gap: 10px;
    }
}
