/* ===== BK FAQ Innovant — Design Modern Cards ===== */
.bk-faq-section {
    --bk-faq-accent:  #1A3A6B;
    --bk-faq-accent2: #2A5FC8;
    --bk-faq-chrome:  #4A7FCC;
    padding: 80px 40px;
    font-family: inherit;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Backgrounds ── */
.bk-faq-bg-light {
    background: transparent;
    color: #1a1a2e;
}
.bk-faq-bg-dark {
    background: #0D1B2A;
    color: #f4f7ff;
}
.bk-faq-bg-gradient {
    background: linear-gradient(135deg, #0D1B2A 0%, #1A3A6B 100%);
    color: #f4f7ff;
}

/* ── Header ── */
.bk-faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.bk-faq-header-tag {
    display: inline-block;
    background: var(--bk-faq-accent2);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    padding: 6px 18px;
    margin-bottom: 16px;
    text-transform: uppercase;
    border-radius: 50px;
}
.bk-faq-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    margin: 0 0 12px;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
    color: #1A3A6B;
}
.bk-faq-bg-dark .bk-faq-title,
.bk-faq-bg-gradient .bk-faq-title { color: #fff; }

.bk-faq-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
    font-weight: 400;
}
.bk-faq-bg-dark .bk-faq-subtitle,
.bk-faq-bg-gradient .bk-faq-subtitle { color: #C0C8D8; }

/* ── Search ── */
.bk-faq-search-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}
.bk-faq-search-icon {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    pointer-events: none;
}
.bk-faq-search {
    width: 100%;
    padding: 14px 48px;
    border-radius: 50px;
    border: 2px solid #e0e8f4;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #1a1a2e;
    font-family: inherit;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(26,58,107,0.08);
}
.bk-faq-bg-dark .bk-faq-search,
.bk-faq-bg-gradient .bk-faq-search {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
.bk-faq-search::placeholder { color: #aaa; }
.bk-faq-bg-dark .bk-faq-search::placeholder { color: rgba(255,255,255,0.4); }
.bk-faq-search:focus {
    border-color: var(--bk-faq-accent2);
    box-shadow: 0 0 0 3px rgba(42,95,200,0.12);
}
.bk-faq-search-clear {
    position: absolute;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #ddd;
    color: #555;
}
.bk-faq-search:not(:placeholder-shown) ~ .bk-faq-search-clear { opacity: 1; }

/* ── Categories ── */
.bk-faq-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.bk-faq-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #d0daf0;
    background: #fff;
    color: #1A3A6B;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(26,58,107,0.06);
}
.bk-faq-bg-dark .bk-faq-cat-btn,
.bk-faq-bg-gradient .bk-faq-cat-btn {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    color: #C0C8D8;
}
.bk-faq-cat-btn:hover {
    background: #f0f4ff;
    border-color: var(--bk-faq-accent2);
    color: var(--bk-faq-accent2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42,95,200,0.15);
}
.bk-faq-cat-btn.active {
    background: var(--bk-faq-accent);
    border-color: var(--bk-faq-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,58,107,0.3);
}
.bk-faq-bg-dark .bk-faq-cat-btn:hover,
.bk-faq-bg-gradient .bk-faq-cat-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.bk-faq-cat-icon { font-size: 14px; }

/* ── FAQ List ── */
.bk-faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ── FAQ Item ── */
.bk-faq-item {
    background: #fff !important;
    border: 2px solid #e8eef8 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    transition: border-color 0.25s, box-shadow 0.25s !important;
    box-shadow: 0 2px 8px rgba(26,58,107,0.06) !important;
    transform: none !important;
    margin-bottom: 0 !important;
}
.bk-faq-item:last-child {
    border-bottom: 2px solid #e8eef8 !important;
}
.bk-faq-bg-dark .bk-faq-item,
.bk-faq-bg-gradient .bk-faq-item {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
}

.bk-faq-item:hover {
    border-color: var(--bk-faq-accent2) !important;
    box-shadow: 0 4px 16px rgba(42,95,200,0.12) !important;
    background: #fff !important;
    transform: none !important;
}

/* Ouvert — bordure bleue, AUCUN fond coloré */
.bk-faq-item.bk-open {
    border: 2px solid var(--bk-faq-accent2) !important;
    border-radius: 50px !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(42,95,200,0.10) !important;
    transform: none !important;
}
.bk-faq-bg-dark .bk-faq-item.bk-open,
.bk-faq-bg-gradient .bk-faq-item.bk-open {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(74,127,204,0.5) !important;
}

.bk-faq-item.bk-faq-hidden { display: none !important; }

/* ── Question button ── */
.bk-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1a1a2e;
    font-family: inherit;
    transition: background 0.2s;
}
.bk-faq-bg-dark .bk-faq-question,
.bk-faq-bg-gradient .bk-faq-question { color: #f4f7ff; }

.bk-faq-question:hover {
    background: #f8f9ff !important;
}
.bk-faq-bg-dark .bk-faq-question:hover,
.bk-faq-bg-gradient .bk-faq-question:hover {
    background: rgba(255,255,255,0.04) !important;
}

.bk-faq-item.bk-open .bk-faq-question {
    background: #fff !important;
}
.bk-faq-bg-dark .bk-faq-item.bk-open .bk-faq-question,
.bk-faq-bg-gradient .bk-faq-item.bk-open .bk-faq-question {
    background: transparent !important;
}

/* Numéro */
.bk-faq-num {
    font-size: 11px;
    font-weight: 800;
    color: #C0C8D8;
    letter-spacing: 1px;
    font-family: 'Barlow Condensed', 'Oswald', monospace;
    flex-shrink: 0;
    width: 26px;
    transition: color 0.2s;
}
.bk-faq-item.bk-open .bk-faq-num { color: var(--bk-faq-accent2); }

/* Texte question */
.bk-faq-q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A3A6B;
    transition: color 0.2s;
}
.bk-faq-bg-dark .bk-faq-q-text,
.bk-faq-bg-gradient .bk-faq-q-text { color: #e8eeff; }

.bk-faq-item:hover .bk-faq-q-text { color: var(--bk-faq-accent2); }
.bk-faq-bg-dark .bk-faq-item:hover .bk-faq-q-text,
.bk-faq-bg-gradient .bk-faq-item:hover .bk-faq-q-text { color: #fff; }

.bk-faq-item.bk-open .bk-faq-q-text { color: var(--bk-faq-accent); }
.bk-faq-bg-dark .bk-faq-item.bk-open .bk-faq-q-text,
.bk-faq-bg-gradient .bk-faq-item.bk-open .bk-faq-q-text { color: #fff; }

/* Icône + / - */
.bk-faq-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f0f4ff;
    border: 2px solid #d0daf0;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    color: var(--bk-faq-accent);
}
.bk-faq-bg-dark .bk-faq-icon,
.bk-faq-bg-gradient .bk-faq-icon {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #C0C8D8;
}

.bk-faq-item:hover .bk-faq-icon {
    background: #e0e8ff;
    border-color: var(--bk-faq-accent2);
    color: var(--bk-faq-accent2);
}
.bk-faq-bg-dark .bk-faq-item:hover .bk-faq-icon,
.bk-faq-bg-gradient .bk-faq-item:hover .bk-faq-icon {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.bk-faq-item.bk-open .bk-faq-icon {
    background: var(--bk-faq-accent);
    border-color: var(--bk-faq-accent);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(26,58,107,0.3);
}
.bk-faq-icon svg { display: block; }

/* ── Réponse ── */
.bk-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.bk-faq-item.bk-open .bk-faq-answer { max-height: 800px; }

.bk-faq-answer-inner {
    padding: 0 24px 24px 66px;
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
    border-top: 1px solid #e8eef8;
    padding-top: 16px;
    position: relative;
}
.bk-faq-bg-dark .bk-faq-answer-inner,
.bk-faq-bg-gradient .bk-faq-answer-inner {
    color: #C0C8D8;
    border-top-color: rgba(255,255,255,0.08);
}

/* Ligne déco gauche sur la réponse */
.bk-faq-answer-inner::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 16px;
    bottom: 24px;
    width: 3px;
    background: linear-gradient(to bottom, var(--bk-faq-accent2), transparent);
    border-radius: 2px;
}

/* Highlight recherche */
.bk-faq-highlight-text {
    background: rgba(42,95,200,0.15);
    color: var(--bk-faq-accent);
    border-radius: 3px;
    padding: 0 3px;
    font-weight: 700;
}

/* ── Empty ── */
.bk-faq-empty {
    text-align: center;
    padding: 60px 0;
}
.bk-faq-empty-icon { font-size: 52px; margin-bottom: 14px; }
.bk-faq-empty p { color: #999; font-size: 15px; }

/* ── Stats footer ── */
.bk-faq-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid #e8eef8;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}
.bk-faq-bg-dark .bk-faq-stats,
.bk-faq-bg-gradient .bk-faq-stats { border-color: rgba(255,255,255,0.08); }

.bk-faq-count-label { color: #999; }
.bk-faq-bg-dark .bk-faq-count-label,
.bk-faq-bg-gradient .bk-faq-count-label { color: #C0C8D8; }
.bk-faq-count-label strong { color: var(--bk-faq-accent2); font-size: 16px; }

.bk-faq-cta-text { color: #666; }
.bk-faq-bg-dark .bk-faq-cta-text,
.bk-faq-bg-gradient .bk-faq-cta-text { color: #C0C8D8; }
.bk-faq-cta-text a {
    color: var(--bk-faq-accent2);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.bk-faq-cta-text a:hover { border-color: var(--bk-faq-accent2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .bk-faq-section { padding: 48px 16px; }
    .bk-faq-cats { gap: 6px; }
    .bk-faq-cat-btn { font-size: 12px; padding: 6px 14px; }
    .bk-faq-question { padding: 16px 18px; gap: 12px; }
    .bk-faq-q-text { font-size: 14px; }
    .bk-faq-answer-inner { padding: 0 18px 20px 18px; }
    .bk-faq-answer-inner::before { display: none; }
    .bk-faq-stats { flex-direction: column; text-align: center; }
    .bk-faq-item { border-radius: 50px !important; }
}
