/* ============================================
   LORALYS Help Center — Custom CSS HelpScout
   Couleur principale : #E8D5F0
   Police titres : Montserrat
   ============================================ */

/* Import Montserrat depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ---- TYPOGRAPHIE GLOBALE ---- */
h1, h2, h3, h4, h5, h6,
.article-title,
.collection-title,
.site-title,
.docs-header h1 {
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: -0.02em;
}

/* Titre principal de la page d'accueil */
.docs-header h1 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: #2d1a3d !important;
}

/* ---- BARRE DE RECHERCHE ---- */
.search-form .search-field {
  border-radius: 12px !important;
  border: 1.5px solid #E8D5F0 !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  box-shadow: 0 2px 12px rgba(232, 213, 240, 0.3) !important;
  transition: all 0.2s ease !important;
}

.search-form .search-field:focus {
  border-color: #c4a0d8 !important;
  box-shadow: 0 4px 20px rgba(232, 213, 240, 0.5) !important;
  outline: none !important;
}

.search-form button[type="submit"] {
  background-color: #c4a0d8 !important;
  border-radius: 10px !important;
  border: none !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease !important;
}

.search-form button[type="submit"]:hover {
  background-color: #b08acc !important;
}

/* ---- CARTES DE CATÉGORIES ---- */
.collection-item,
.collection-grid .collection-item {
  background: #ffffff !important;
  border: 1.5px solid #f0e4f8 !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  box-shadow: 0 2px 12px rgba(232, 213, 240, 0.2) !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.collection-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E8D5F0, #c4a0d8);
  border-radius: 16px 16px 0 0;
}

.collection-item:hover {
  border-color: #c4a0d8 !important;
  box-shadow: 0 8px 28px rgba(196, 160, 216, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Titre des cartes */
.collection-item h2,
.collection-item .collection-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #2d1a3d !important;
  margin-bottom: 6px !important;
}

/* Nombre d'articles */
.collection-item .collection-count,
.collection-item p {
  font-size: 0.82rem !important;
  color: #9b7aaa !important;
  font-weight: 500 !important;
}

/* ---- FOND DE PAGE ---- */
body,
.docs-wrapper {
  background-color: #fdf9ff !important;
}

/* ---- HEADER ---- */
.docs-header,
.site-header {
  background-color: #fdf9ff !important;
  padding: 48px 20px 40px !important;
}

/* ---- LIENS ---- */
a {
  color: #9b7aaa !important;
  transition: color 0.15s ease !important;
}

a:hover {
  color: #6d4a82 !important;
}

/* ---- ARTICLES DANS LES LISTES ---- */
.article-list .article-item {
  border-bottom: 1px solid #f0e4f8 !important;
  padding: 14px 0 !important;
  transition: padding-left 0.2s ease !important;
}

.article-list .article-item:hover {
  padding-left: 6px !important;
}

.article-list .article-item a {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

/* ---- FOOTER ---- */
.docs-footer {
  border-top: 1px solid #f0e4f8 !important;
  color: #c4a0d8 !important;
  font-size: 0.8rem !important;
}

/* ---- LOGO / NOM DU SITE ---- */
.site-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #2d1a3d !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
