/* ════════════════════════════════════════
   BREADCRUMB (commun à toutes les pages)
════════════════════════════════════════ */
.sp-breadcrumb {
    padding: 13px 0;
    font-size: .82rem; color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.sp-breadcrumb a { color: var(--text-muted); transition: color .2s; }
.sp-breadcrumb a:hover { color: var(--accent); }
.sp-breadcrumb .bc-sep { margin: 0 7px; opacity: .4; }
.sp-breadcrumb .bc-cur { color: var(--accent); font-weight: 500; }

/* ════════════════════════════════════════
   HERO STATIQUE
════════════════════════════════════════ */
.sp-hero {
    background: linear-gradient(135deg, #0e0a1a 0%, #1a0d35 50%, #0e0e0f 100%);
    position: relative; overflow: hidden;
    padding: 64px 0;
    margin-bottom: 64px;
    /* AJOUT POUR BG IMAGE*/
    background-size:cover;
    background-position:center; 
    display:flex; 
    align-items:center;
    justify-content:center;
}
.sp-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 70% at 65% 50%,
        rgba(26,209,118,.12) 0%, transparent 70%);
    pointer-events: none;
}
.sp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative; z-index: 1;
}
/* Sans image — centré sur toute la largeur */
.sp-hero-inner.no-image {
    grid-template-columns: 1fr;
    max-width: 720px; margin: 0 auto;
    text-align: center;
}
/*.sp-hero-content {}*/
.sp-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(26,209,118,.1);
    border: 1px solid rgba(26,209,118,.2);
    border-radius: var(--radius);
    padding: 4px 12px; font-size: .74rem; font-weight: 700;
    color: var(--accent); letter-spacing: .6px;
    text-transform: uppercase; margin-bottom: 16px;
}
.sp-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 800; line-height: 1.15;
    color: var(--text); margin-bottom: 16px;
}
.sp-hero-intro {
    font-size: 1rem; color: var(--text-muted);
    line-height: 1.75; max-width: 480px;
}
.sp-hero-inner.no-image .sp-hero-intro { margin: 0 auto; }
.sp-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 56px rgba(0,0,0,.5);
    aspect-ratio: 16/9;
    background: linear-gradient(135deg,#1a0a40,#2d1060);
    display: flex; align-items: center; justify-content: center;
}
.sp-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}

/* ════════════════════════════════════════
   LAYOUT CONTENU — sidebar optionnelle
════════════════════════════════════════ */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
}
.sp-layout.full-width {
    grid-template-columns: 1fr;
    max-width: 800px; margin-left: auto; margin-right: auto;
}

/* ── Corps de texte ── */
.sp-body {
    font-size: .95rem; color: var(--text-muted);
    line-height: 1.85;
}
.sp-body h2 {
    font-family: var(--font-head);
    font-size: 1.35rem; font-weight: 700;
    color: #FF007F; margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.sp-body h2:first-child { margin-top: 0; }
.sp-body h3 {
    font-family: var(--font-head);
    font-size: 1.1rem; font-weight: 700;
    color: var(--text); margin: 24px 0 10px;
}
.sp-body p  { margin-bottom: 16px; }
.sp-body ul, .sp-body ol { margin: 12px 0 18px 22px; }
.sp-body ul li, .sp-body ol li { margin-bottom: 8px; }
.sp-body strong, .sp-body b { color: #FF007F; font-weight: 600; }
.sp-body a { color: var(--accent); text-decoration: underline; transition: color .2s; }
.sp-body a:hover { color: var(--purple-lt); }

/* Encadré info */
.sp-infobox {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: .875rem; line-height: 1.7;
}
.sp-infobox.warning {
    border-left-color: #f59e0b;
    background: rgba(245,158,11,.06);
    color: #fbbf24;
}
.sp-infobox.danger {
    border-left-color: #ef4444;
    background: rgba(239,68,68,.06);
    color: #fca5a5;
}
.sp-infobox strong { color: inherit; }

/* ── Sidebar ── */
/*.sp-sidebar {}*/
.sp-sidebar-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}
.sp-sidebar-card h4 {
    font-family: var(--font-head);
    font-size: .9rem; font-weight: 700;
    color: var(--text); margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
/* Navigation sommaire */
.sp-toc { list-style: none; }
.sp-toc li { margin-bottom: 6px; }
.sp-toc a {
    display: flex; align-items: center; gap: 7px;
    font-size: .85rem; color: var(--text-muted);
    padding: 6px 8px; border-radius: var(--radius);
    transition: color .2s, background .2s;
    text-decoration: none;
}
.sp-toc a::before {
    content: '›'; color: var(--accent);
    font-size: 1rem; flex-shrink: 0;
}
.sp-toc a:hover { color: var(--accent); background: rgba(26,209,118,.06); }
.sp-toc a.current { color: var(--accent); font-weight: 600; }

/* Contact card */
.sp-contact-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; color: var(--text-muted);
    margin-bottom: 10px;
}
.sp-contact-item i { color: var(--accent); width: 16px; }
.sp-contact-item a { color: var(--accent); text-decoration: none; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
    .sp-hero-inner { grid-template-columns: 1fr; }
    .sp-hero-img   { display: none; }
    .sp-layout     { grid-template-columns: 1fr; }
    .sp-sidebar    { display: none; } /* sidebar cachée sur mobile */
}
@media (max-width: 600px) {
    .sp-hero { padding: 40px 0; margin-bottom: 40px; display: none; }
    .sp-hero h1 { font-size: 1.6rem; }
}