/* Centre d'aide ucallix — styles */
.aide-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.aide-h1 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

/* Barre de recherche */
.aide-searchbar {
  position: relative;
  max-width: 640px;
  margin: 0 auto 0.25rem;
}
.aide-searchbar input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 1.05rem;
  border: 1px solid #d0d4dc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 30, 60, 0.06);
  box-sizing: border-box;
}
.aide-searchbar input:focus {
  outline: none;
  border-color: #4b6bfb;
  box-shadow: 0 0 0 3px rgba(75, 107, 251, 0.18);
}

/* Résultats en surimpression */
.aide-results {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.aide-results .aide-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #eceef3;
  border-top: none;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.aide-results .aide-result:hover { background: #f6f8ff; }
.aide-result-theme { color: #7a8194; font-size: 0.85rem; }

/* Cartes profil */
.aide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0 2rem;
}
@media (max-width: 760px) { .aide-cards { grid-template-columns: 1fr; } }
.aide-card {
  display: block;
  padding: 1.4rem;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.aide-card:hover { box-shadow: 0 8px 24px rgba(20, 30, 60, 0.1); transform: translateY(-2px); }
.aide-card h2 { margin: 0 0 0.75rem; font-size: 1.2rem; }
.aide-card ul { margin: 0 0 0.75rem; padding-left: 1.1rem; color: #4a5266; }
.aide-card .aide-more { color: #4b6bfb; font-weight: 600; font-size: 0.9rem; }
.aide-faq-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: #4b6bfb;
  text-decoration: none;
}

/* Fil d'Ariane */
.aide-breadcrumb { color: #7a8194; font-size: 0.9rem; margin-bottom: 1.25rem; }
.aide-breadcrumb a { color: #4b6bfb; text-decoration: none; }

/* Mise en page profil : sidebar + contenu */
.aide-layout { display: flex; gap: 2rem; align-items: flex-start; }
@media (max-width: 760px) { .aide-layout { flex-direction: column; } }
.aide-sidebar { flex: 0 0 220px; position: sticky; top: 1rem; }
.aide-sidebar ul { list-style: none; margin: 0; padding: 0; }
.aide-sidebar a { display: block; padding: 0.35rem 0; color: #4a5266; text-decoration: none; }
.aide-sidebar a:hover { color: #4b6bfb; }
.aide-main { flex: 1 1 auto; min-width: 0; }
.aide-article-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.aide-article-list li { padding: 0.6rem 0; border-bottom: 1px solid #eef0f5; }
.aide-article-list a { font-weight: 600; color: #1f2a44; text-decoration: none; }
.aide-article-list a:hover { color: #4b6bfb; }
.aide-resume { display: block; color: #7a8194; font-size: 0.9rem; margin-top: 0.15rem; }

/* Bandeau traduction */
.aide-banner {
  background: #fff6e6;
  border: 1px solid #f4d79a;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  color: #7a5a17;
  font-size: 0.9rem;
}

/* Article */
.aide-article { line-height: 1.7; }
.aide-article h1 { font-size: 1.9rem; margin-bottom: 1rem; }
.aide-article h2 { margin-top: 2rem; }
.aide-article code { background: #f2f4f8; padding: 0.1rem 0.35rem; border-radius: 4px; }
.aide-related { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #eef0f5; }
.aide-related ul { padding-left: 1.1rem; }
.aide-related a { color: #4b6bfb; text-decoration: none; }

/* FAQ */
.aide-faq-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.aide-faq-filters button {
  padding: 0.4rem 0.9rem;
  border: 1px solid #d0d4dc;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}
.aide-faq-filters button.active { background: #4b6bfb; border-color: #4b6bfb; color: #fff; }
.aide-accordion details {
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.9rem;
  background: #fff;
}
.aide-accordion summary { cursor: pointer; font-weight: 600; padding: 0.6rem 0; }
.aide-faq-answer { padding: 0 0 0.75rem; color: #4a5266; line-height: 1.6; }

/* Résultats recherche (page serveur) */
.aide-search-results { list-style: none; padding: 0; }
.aide-search-results li { padding: 0.9rem 0; border-bottom: 1px solid #eef0f5; }
.aide-search-results a { font-weight: 600; color: #1f2a44; text-decoration: none; }
.aide-badge {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: #4b6bfb;
  background: #eef2ff;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.aide-extrait { color: #7a8194; font-size: 0.9rem; margin: 0.35rem 0 0; }
