/* === RESET & CONTENEUR PRINCIPAL === */
    .bb-res-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        clear: both !important;
        overflow: visible !important;
        font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
        line-height: 1.6 !important;
        color: #333 !important;
        -webkit-font-smoothing: antialiased !important;
    }
    .bb-res-wrapper * {
        box-sizing: border-box !important;
    }
    .bb-res-container {
        max-width: 900px !important;
        margin: 0 auto !important;
        background: #ffffff !important;
        padding: 40px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    }
    /* === EN-TÊTE === */
    .bb-res-header {
        text-align: center !important;
        margin-bottom: 35px !important;
        padding-bottom: 25px !important;
        border-bottom: 3px solid #2c5f7c !important;
    }
    .bb-res-header h1 {
        color: #2c5f7c !important;
        font-size: 2.2em !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    .bb-res-subtitle {
        color: #3a8fa3 !important;
        font-size: 1.1em !important;
        font-style: italic !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    /* === ENCADRÉ D'IDENTIFICATION === */
    .bb-res-identification {
        background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 100%) !important;
        border: 2px solid #2c5f7c !important;
        border-radius: 10px !important;
        padding: 25px 30px !important;
        margin-bottom: 30px !important;
    }
    .bb-res-identification h3 {
        color: #2c5f7c !important;
        font-size: 1.15em !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        font-weight: 600 !important;
        text-align: left !important;
    }
    .bb-res-id-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 15px !important;
    }
    .bb-res-id-field {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
    }
    .bb-res-id-field label {
        font-size: 0.85em !important;
        font-weight: 600 !important;
        color: #1e4458 !important;
        text-align: left !important;
    }
    .bb-res-id-field input {
        padding: 10px 14px !important;
        border: 2px solid #c5d8e0 !important;
        border-radius: 6px !important;
        font-size: 0.95em !important;
        font-family: 'Trebuchet MS', sans-serif !important;
        color: #333 !important;
        background: #ffffff !important;
        transition: border-color 0.3s ease !important;
        width: 100% !important;
    }
    .bb-res-id-field input:focus {
        border-color: #2c5f7c !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(44,95,124,0.15) !important;
    }
    /* === CONSIGNES === */
    .bb-res-instructions {
        background: #f0f7fa !important;
        padding: 20px 25px !important;
        border-left: 4px solid #2c5f7c !important;
        margin-bottom: 25px !important;
        border-radius: 0 8px 8px 0 !important;
    }
    .bb-res-instructions h2 {
        color: #2c5f7c !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        font-size: 1.3em !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .bb-res-instructions p {
        margin: 8px 0 !important;
        padding: 0 !important;
        color: #333 !important;
        text-align: left !important;
        font-size: 0.95em !important;
        line-height: 1.6 !important;
    }
    /* === ÉCHELLE === */
    .bb-res-scale {
        background: #fff8e6 !important;
        padding: 15px 20px !important;
        border-radius: 8px !important;
        margin-bottom: 25px !important;
        border-left: 4px solid #e6a817 !important;
    }
    .bb-res-scale strong {
        display: block !important;
        margin-bottom: 8px !important;
        color: #8a6d00 !important;
        text-align: left !important;
    }
    .bb-res-scale p {
        margin: 0 !important;
        padding: 0 !important;
        color: #8a6d00 !important;
        text-align: left !important;
        font-size: 0.95em !important;
    }
    /* === BARRE DE PROGRESSION === */
    .bb-res-progress {
        background: #f0f4f8 !important;
        border-radius: 10px !important;
        padding: 15px 20px !important;
        margin-bottom: 30px !important;
        border: 1px solid #d4dde5 !important;
    }
    .bb-res-progress-text {
        font-size: 0.9em !important;
        color: #1e4458 !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
        text-align: left !important;
    }
    .bb-res-progress-bar {
        background: #dde5ed !important;
        height: 10px !important;
        border-radius: 5px !important;
        overflow: hidden !important;
    }
    .bb-res-progress-fill {
        background: linear-gradient(90deg, #2c5f7c 0%, #3a8fa3 100%) !important;
        height: 100% !important;
        width: 0% !important;
        border-radius: 5px !important;
        transition: width 0.4s ease !important;
    }
    /* === BLOCS DE QUESTIONS === */
    .bb-res-question {
        margin-bottom: 20px !important;
        padding: 20px 25px !important;
        background: #fafbfc !important;
        border-radius: 8px !important;
        border-left: 3px solid #d4dde5 !important;
        transition: all 0.3s ease !important;
    }
    .bb-res-question:hover {
        background: #f0f7fa !important;
        border-left-color: #2c5f7c !important;
        box-shadow: 0 2px 8px rgba(44,95,124,0.08) !important;
    }
    .bb-res-question-text {
        font-weight: 500 !important;
        margin-bottom: 14px !important;
        color: #2d3748 !important;
        font-size: 1.02em !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }
    .bb-res-question-num {
        color: #2c5f7c !important;
        font-weight: 700 !important;
        margin-right: 8px !important;
    }
    .bb-res-options {
        display: flex !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    .bb-res-option {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .bb-res-option input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        cursor: pointer !important;
        accent-color: #2c5f7c !important;
        margin: 0 !important;
    }
    .bb-res-option label {
        cursor: pointer !important;
        font-size: 0.88em !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #4a5568 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }
    /* === BOUTONS === */
    .bb-res-submit-btn {
        background: linear-gradient(135deg, #2c5f7c 0%, #1e4458 100%) !important;
        color: #ffffff !important;
        padding: 16px 40px !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 1.1em !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: block !important;
        margin: 35px auto !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(44,95,124,0.3) !important;
        font-family: 'Trebuchet MS', sans-serif !important;
        letter-spacing: 0.3px !important;
    }
    .bb-res-submit-btn:hover {
        background: linear-gradient(135deg, #1e4458 0%, #163344 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(44,95,124,0.4) !important;
    }
    .bb-res-submit-btn:active {
        transform: translateY(0) !important;
    }
    .bb-res-reset-btn {
        background: #6c7a89 !important;
        color: #ffffff !important;
        padding: 12px 30px !important;
        border: none !important;
        border-radius: 6px !important;
        font-size: 0.95em !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        display: block !important;
        margin: 15px auto !important;
        transition: all 0.3s ease !important;
        font-family: 'Trebuchet MS', sans-serif !important;
    }
    .bb-res-reset-btn:hover {
        background: #566573 !important;
    }
    .bb-res-print-btn {
        background: #3a8fa3 !important;
        color: #ffffff !important;
        padding: 14px 35px !important;
        border: none !important;
        border-radius: 6px !important;
        font-size: 1em !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        margin: 20px auto !important;
        display: block !important;
        transition: all 0.3s ease !important;
        font-family: 'Trebuchet MS', sans-serif !important;
    }
    .bb-res-print-btn:hover {
        background: #2e7a8c !important;
    }
    /* === SECTION RÉSULTATS === */
    .bb-res-results {
        margin-top: 35px !important;
        display: none !important;
    }
    .bb-res-results-header {
        background: linear-gradient(135deg, #2c5f7c 0%, #1e4458 100%) !important;
        color: #ffffff !important;
        padding: 30px !important;
        border-radius: 12px 12px 0 0 !important;
        text-align: center !important;
    }
    .bb-res-results-header h2 {
        font-size: 1.8em !important;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    .bb-res-results-header p {
        margin: 0 !important;
        padding: 0 !important;
        color: #c5dce8 !important;
        font-size: 1em !important;
        text-align: center !important;
    }
    .bb-res-results-id {
        background: rgba(255,255,255,0.15) !important;
        border-radius: 8px !important;
        padding: 12px 20px !important;
        margin-top: 15px !important;
        display: inline-block !important;
        font-size: 0.95em !important;
        color: #ffffff !important;
    }
    .bb-res-results-body {
        padding: 30px !important;
        background: #f5f7f9 !important;
        border-radius: 0 0 12px 12px !important;
    }
    /* === CARTE DE FACTEUR === */
    .bb-res-factor-card {
        margin-bottom: 25px !important;
        padding: 25px 30px !important;
        background: #ffffff !important;
        border-left: 5px solid #2c5f7c !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
    }
    .bb-res-factor-title {
        color: #2c5f7c !important;
        font-size: 1.3em !important;
        font-weight: 700 !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .bb-res-factor-definition {
        color: #4a5568 !important;
        font-style: italic !important;
        margin-bottom: 15px !important;
        padding: 12px 15px !important;
        background: #f5f7f9 !important;
        border-radius: 6px !important;
        font-size: 0.93em !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }
    .bb-res-factor-score {
        font-size: 1.6em !important;
        font-weight: 700 !important;
        color: #2c5f7c !important;
        margin: 12px 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    /* === JAUGE VISUELLE === */
    .bb-res-gauge {
        background: #e8ecf0 !important;
        height: 12px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        margin: 10px 0 15px 0 !important;
    }
    .bb-res-gauge-fill {
        height: 100% !important;
        border-radius: 6px !important;
        transition: width 0.6s ease !important;
    }
    .bb-res-gauge-fill.bb-res-high {
        background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%) !important;
    }
    .bb-res-gauge-fill.bb-res-medium {
        background: linear-gradient(90deg, #e6a817 0%, #f0c040 100%) !important;
    }
    .bb-res-gauge-fill.bb-res-low {
        background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%) !important;
    }
    /* === INTERPRÉTATION === */
    .bb-res-interpretation {
        padding: 14px 18px !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        margin-top: 10px !important;
        font-size: 0.95em !important;
        text-align: left !important;
    }
    .bb-res-interpretation.bb-res-level-high {
        background: #d5f5e3 !important;
        color: #1a7a3a !important;
        border-left: 4px solid #27ae60 !important;
    }
    .bb-res-interpretation.bb-res-level-medium {
        background: #fef9e7 !important;
        color: #7d6608 !important;
        border-left: 4px solid #e6a817 !important;
    }
    .bb-res-interpretation.bb-res-level-low {
        background: #fadbd8 !important;
        color: #922b21 !important;
        border-left: 4px solid #c0392b !important;
    }
    /* === RECOMMANDATION === */
    .bb-res-recommendation {
        margin-top: 18px !important;
        padding: 20px 25px !important;
        background: #f5f7f9 !important;
        border-radius: 6px !important;
        border-left: 4px solid #6c7a89 !important;
        line-height: 1.8 !important;
        color: #4a5568 !important;
        font-size: 0.93em !important;
        text-align: left !important;
    }
    .bb-res-recommendation strong {
        color: #2c5f7c !important;
        font-weight: 600 !important;
    }
    /* === SECTION CONTACT === */
    .bb-res-contact {
        margin-top: 35px !important;
        padding: 30px !important;
        background: linear-gradient(135deg, #f0f7fa 0%, #e1eef4 100%) !important;
        border-radius: 10px !important;
        border: 2px solid #2c5f7c !important;
        text-align: center !important;
    }
    .bb-res-contact h3 {
        color: #2c5f7c !important;
        font-size: 1.4em !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    .bb-res-contact p {
        margin-bottom: 15px !important;
        font-size: 1em !important;
        color: #333 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .bb-res-contact-name {
        font-weight: 700 !important;
        font-size: 1.15em !important;
        color: #2c5f7c !important;
        margin-bottom: 3px !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .bb-res-contact-title {
        font-style: italic !important;
        color: #555 !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .bb-res-contact-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }
    .bb-res-contact-details a {
        color: #2c5f7c !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: color 0.3s ease !important;
    }
    .bb-res-contact-details a:hover {
        color: #1e4458 !important;
        text-decoration: underline !important;
    }
    /* === SECTION PORTRAIT D'ÉQUIPE (NOUVEAU) === */
    .bb-res-team-section {
        background: linear-gradient(135deg, #e8f4f8 0%, #d9eef5 100%) !important;
        border: 2px dashed #2c5f7c !important;
        border-radius: 12px !important;
        padding: 30px 35px !important;
        margin: 30px 0 !important;
        text-align: center !important;
    }
    .bb-res-team-section h3 {
        color: #2c5f7c !important;
        font-size: 1.3em !important;
        margin: 0 0 15px 0 !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    .bb-res-team-section > p {
        color: #555 !important;
        font-size: 0.95em !important;
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
    .bb-res-team-input-container {
        margin-bottom: 20px !important;
    }
    .bb-res-team-label {
        display: block !important;
        font-weight: 600 !important;
        color: #1e4458 !important;
        margin-bottom: 8px !important;
        font-size: 0.95em !important;
        text-align: center !important;
    }
    .bb-res-team-input {
        padding: 12px 20px !important;
        font-size: 1.1em !important;
        border: 2px solid #c5d8e0 !important;
        border-radius: 8px !important;
        width: 280px !important;
        max-width: 100% !important;
        text-align: center !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        font-family: 'Trebuchet MS', sans-serif !important;
        background: #ffffff !important;
    }
    .bb-res-team-input:focus {
        border-color: #2c5f7c !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(44,95,124,0.15) !important;
    }
    .bb-res-team-btn {
        background: linear-gradient(135deg, #2c5f7c 0%, #1e4458 100%) !important;
        color: #ffffff !important;
        padding: 14px 35px !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 1em !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        font-family: 'Trebuchet MS', sans-serif !important;
        box-shadow: 0 3px 10px rgba(44,95,124,0.25) !important;
    }
    .bb-res-team-btn:hover {
        background: linear-gradient(135deg, #1e4458 0%, #163344 100%) !important;
        transform: translateY(-2px) !important;
    }
    .bb-res-team-btn:disabled {
        background: #95a5a6 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }
    .bb-res-team-message {
        margin-top: 15px !important;
        padding: 15px 20px !important;
        border-radius: 8px !important;
        font-size: 0.95em !important;
        display: none !important;
    }
    .bb-res-team-message.bb-res-success {
        display: block !important;
        background: #d4edda !important;
        border: 2px solid #28a745 !important;
        color: #155724 !important;
    }
    .bb-res-team-message.bb-res-error {
        display: block !important;
        background: #f8d7da !important;
        border: 2px solid #dc3545 !important;
        color: #721c24 !important;
    }
    .bb-res-team-privacy {
        font-size: 0.85em !important;
        color: #666 !important;
        margin-top: 20px !important;
        font-style: italic !important;
        text-align: center !important;
    }
    .bb-res-team-privacy strong {
        color: #2c5f7c !important;
    }
    /* === PIED DE PAGE === */
    .bb-res-footer {
        text-align: center !important;
        margin-top: 35px !important;
        padding-top: 20px !important;
        border-top: 2px solid #e2e8f0 !important;
        color: #888 !important;
        font-size: 0.85em !important;
    }
    .bb-res-footer p {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    /* === IMPRESSION === */
    @media print {
        .bb-res-container {
            box-shadow: none !important;
            padding: 15px !important;
        }
        .bb-res-submit-btn,
        .bb-res-reset-btn,
        .bb-res-print-btn,
        .bb-res-team-section {
            display: none !important;
        }
        .bb-res-question,
        .bb-res-instructions,
        .bb-res-scale,
        .bb-res-progress {
            display: none !important;
        }
        .bb-res-results {
            display: block !important;
        }
        .bb-res-factor-card {
            break-inside: avoid !important;
            page-break-inside: avoid !important;
        }
    }
    /* === MOBILE === */
    @media (max-width: 768px) {
        .bb-res-container {
            padding: 20px !important;
        }
        .bb-res-header h1 {
            font-size: 1.6em !important;
        }
        .bb-res-id-grid {
            grid-template-columns: 1fr !important;
        }
        .bb-res-options {
            flex-direction: column !important;
            gap: 8px !important;
        }
        .bb-res-option label {
            white-space: normal !important;
        }
        .bb-res-results-header h2 {
            font-size: 1.4em !important;
        }
        .bb-res-factor-card {
            padding: 20px !important;
        }
        .bb-res-team-input {
            width: 100% !important;
        }
    }