/* ══ ARTICLE LAYOUT ══ */
.article-wrap { padding: 72px 0; background: var(--white); }
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }

/* ══ SIDEBAR TOC ══ */
.article-aside { position: sticky; top: 100px; }
.article-toc { background: var(--cream); border: 1px solid var(--gray-l); border-radius: 14px; padding: 24px; }
.article-toc-title { font-family: var(--fh); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.article-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.article-toc ul a { font-size: .85rem; color: #4a4a6a; padding: 5px 8px; border-radius: 6px; display: block; transition: all .2s; text-decoration: none; }
.article-toc ul a:hover { background: rgba(42,155,52,.08); color: var(--green); }

/* ══ ARTICLE CONTENT ══ */
.article-content { min-width: 0; }
.article-section { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--gray-l); }
.article-section:last-child { border-bottom: none; margin-bottom: 0; }
.article-section h2 { font-family: var(--fh); font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.article-section h3 { font-family: var(--fh); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.article-section h4 { font-family: var(--fh); font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.article-section p { color: #4a4a6a; line-height: 1.8; margin-bottom: 14px; }
.article-section strong { color: var(--navy); }

/* ══ BREADCRUMB ══ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ══ HIGHLIGHT BOXES ══ */
.article-highlight {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 10px; margin: 20px 0;
  background: rgba(42,155,52,.06); border: 1px solid rgba(42,155,52,.2);
}
.article-highlight--green { background: rgba(42,155,52,.08); border-color: rgba(42,155,52,.25); }
.article-highlight--warning { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.2); }
.article-highlight-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.article-highlight strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.article-highlight p { color: #4a4a6a; font-size: .9rem; margin: 0; }

/* ══ GRID 2 COLONNES ══ */
.article-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.article-box { padding: 20px; border-radius: 10px; border: 1px solid; }
.article-box h4 { font-family: var(--fh); font-size: .88rem; font-weight: 700; margin-bottom: 8px; }
.article-box p, .article-box ul { font-size: .85rem; line-height: 1.65; }
.article-box--warning { background: rgba(245,158,11,.05); border-color: rgba(245,158,11,.2); }
.article-box--warning h4 { color: #92400e; }
.article-box--danger  { background: rgba(239,68,68,.05);  border-color: rgba(239,68,68,.2);  }
.article-box--danger h4  { color: #991b1b; }
.article-box--info    { background: rgba(59,130,246,.05); border-color: rgba(59,130,246,.2); }
.article-box--info h4    { color: #1e40af; }
.article-box--neutral { background: var(--cream); border-color: var(--gray-l); }
.article-box--neutral h4 { color: var(--navy); }

/* ══ STEPS ══ */
.article-steps { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.article-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--cream); border: 1px solid var(--gray-l); border-radius: 10px; }
.article-step-num { width: 36px; height: 36px; background: var(--green); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.article-step h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.article-step p  { font-size: .83rem; color: var(--gray); margin: 0; }

/* ══ ACTEURS ══ */
.article-actors { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.article-actor { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--gray-l); border-radius: 10px; transition: all .25s; }
.article-actor:hover { border-color: rgba(42,155,52,.3); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.article-actor-icon { font-size: 1.6rem; flex-shrink: 0; }
.article-actor h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.article-actor p  { font-size: .83rem; color: var(--gray); margin: 0; }

/* ══ GEP MÉTHODE ══ */
.article-gep { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.article-gep-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; border: 1px solid; }
.article-gep--g { background: rgba(239,68,68,.05);   border-color: rgba(239,68,68,.2); }
.article-gep--e { background: rgba(245,158,11,.05);  border-color: rgba(245,158,11,.2); }
.article-gep--p { background: rgba(42,155,52,.05);   border-color: rgba(42,155,52,.2); }
.article-gep-letter { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 1.2rem; font-weight: 800; color: white; flex-shrink: 0; }
.article-gep--g .article-gep-letter { background: #ef4444; }
.article-gep--e .article-gep-letter { background: #f59e0b; }
.article-gep--p .article-gep-letter { background: var(--green); }
.article-gep-example { margin-top: 6px; font-size: .78rem; font-style: italic; color: var(--gray); }

.article-formula { background: var(--navy); border-radius: 10px; padding: 20px 24px; margin: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.article-formula-text { font-family: var(--fh); font-size: 1.1rem; font-weight: 800; color: white; }
.article-risk-levels { display: flex; gap: 8px; flex-wrap: wrap; }

/* ══ LISTES ══ */
.article-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.article-list li { font-size: .85rem; color: #4a4a6a; padding-left: 16px; position: relative; }
.article-list li::before { content: '•'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.article-list--check li::before { content: '✓'; }

/* ══ LOGICIEL CTA ══ */
.article-software-cta { background: var(--navy); border-radius: 14px; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin: 20px 0; }
.article-software-features { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.article-sw-feat { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255,255,255,.8); }
.article-software-action { display: flex; flex-direction: column; gap: 0; min-width: 200px; }
.article-software-action p { color: rgba(255,255,255,.6); font-size: .82rem; margin-bottom: 14px; }

/* ══ RELATED ══ */
.article-related { background: var(--cream); border-radius: 12px; padding: 24px; margin-top: 32px; }
.article-related h3 { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.article-related-links { display: flex; flex-direction: column; gap: 8px; }
.article-related-link { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--green); padding: 10px 14px; background: var(--white); border: 1px solid var(--gray-l); border-radius: 8px; transition: all .2s; text-decoration: none; }
.article-related-link:hover { border-color: rgba(42,155,52,.3); background: rgba(42,155,52,.04); }

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-toc { display: none; }
  .article-grid-2 { grid-template-columns: 1fr; }
  .article-software-cta { grid-template-columns: 1fr; }
  .article-software-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-wrap { padding: 48px 0; }
  .article-software-features { grid-template-columns: 1fr; }
  .article-formula { flex-direction: column; align-items: flex-start; }
  .article-gep-item { flex-direction: column; gap: 10px; }
}
