/* ========================================================
   CENTRE D'AIDE - STYLES SPÉCIFIQUES (help-center.css)
   Clean, Organized, Responsive & SEO Friendly
   ======================================================== */

.help-page-content {
  padding-bottom: 60px;
}

/* Hero & Search Banner */
.kb-hero-banner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px auto;
  padding-top: 40px;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0984e3;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-eyebrow svg,
.legal-eyebrow i {
  width: 16px;
  height: 16px;
}

.kb-hero-banner h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.kb-hero-banner p {
  color: #64748b;
  font-size: 16px;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* Search Bar */
.kb-search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.kb-search-wrap {
  position: relative;
  flex: 1;
}

.kb-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 18px;
  height: 18px;
}

.kb-search-input {
  width: 100%;
  padding: 13px 16px 13px 48px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kb-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kb-search-input::placeholder {
  color: #94a3b8;
}

/* Layout Grid */
.kb-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 35px;
  margin-bottom: 60px;
}

/* Sidebar Menu */
.kb-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.kb-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 12px;
  padding-left: 6px;
}

.kb-menu-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.kb-menu-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.kb-menu-btn.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
}

.kb-menu-btn svg,
.kb-menu-btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Content Area */
.kb-content-panel {
  display: none;
}

.kb-content-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

.kb-content-panel h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.kb-panel-desc {
  color: #64748b;
  font-size: 15px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* Article Cards */
.kb-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kb-article-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.kb-article-header {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  user-select: none;
}

.kb-article-icon {
  color: #2563eb;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.kb-article-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.35;
}

.kb-article-preview {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.kb-article-body {
  display: none;
  padding: 0 20px 20px 52px;
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  border-top: 1px dashed #e2e8f0;
  margin-top: 8px;
  padding-top: 16px;
}

.kb-article-card.open .kb-article-body {
  display: block;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .kb-hero-banner {
    padding-top: 25px;
    margin-bottom: 25px;
  }

  .kb-hero-banner h1 {
    font-size: 26px;
  }

  .kb-container {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 25px;
  }

  .kb-sidebar {
    padding: 14px 10px;
  }

  .kb-sidebar-title {
    margin-bottom: 8px;
  }

  .kb-menu-btn {
    padding: 9px 12px;
    font-size: 14px;
  }

  .kb-article-header {
    padding: 16px;
    gap: 10px;
  }

  .kb-article-title {
    font-size: 15px;
  }

  .kb-article-preview {
    font-size: 13.5px;
  }

  .kb-article-body {
    padding: 0 16px 16px 42px;
    font-size: 14px;
  }
}