/* ============================================================
   CREATLAND — bilan.css  (Page éditoriale)
   ============================================================ */

/* --- Page Hero -------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #243447 100%);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--blue); }
.page-hero .breadcrumb i { font-size: 0.65rem; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .hero-badges { justify-content: center; margin-bottom: 0; }

/* --- Article Layout --------------------------------------- */
.article-layout {
  padding: 72px 0;
  background: var(--white);
}
.article-layout .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* --- Article Body ----------------------------------------- */
.article-body h2 {
  font-size: 1.7rem;
  color: var(--dark);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 2px solid var(--blue-light);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 28px 0 12px;
}
.article-body p { color: #444; margin-bottom: 18px; font-size: 0.97rem; }
.article-body ul, .article-body ol {
  margin: 16px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-body ul li, .article-body ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
}
.article-body ul li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item);
  min-width: 26px; height: 26px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}

/* --- Info Box --------------------------------------------- */
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.info-box p { color: var(--dark); font-size: 0.93rem; margin: 0; }
.info-box strong { color: var(--blue); }

.info-box-orange {
  background: #FFF3E0;
  border-left-color: var(--orange);
}
.info-box-orange p { color: #5D2806; }
.info-box-orange strong { color: var(--orange-dark); }

/* --- Phase Detail ----------------------------------------- */
.phase-detail {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 16px 0;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
}
.phase-detail-num {
  min-width: 52px; height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.phase-detail-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.phase-detail-body p  { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* --- Sidebar ---------------------------------------------- */
.article-sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}
.sidebar-card .toc-list { display: flex; flex-direction: column; gap: 10px; }
.toc-list a {
  font-size: 0.88rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.toc-list a:hover, .toc-list a.active {
  background: var(--blue-light);
  color: var(--blue);
}
.toc-list i { font-size: 0.7rem; color: var(--blue); }

.sidebar-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border: none;
}
.sidebar-cta h4 { color: var(--white); border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-cta p  { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-bottom: 18px; }
.sidebar-cta .btn-cta { width: 100%; justify-content: center; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 960px) {
  .article-layout .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar { position: static; }
}
