/* ============================================================
 * Sous-pages silo — styles rcsp-*
 * Anti-pattern : variants visuels selon contexte
 * ============================================================ */

.rcsp-hero {
    position: relative;
    color: #fff;
    padding: 3rem 0 3rem;
    overflow: hidden;
}
.rcsp-hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(70% 50% at 75% 0%, rgba(43, 92, 176, 0.55) 0%, transparent 70%),
        linear-gradient(160deg, #0f2752 0%, #1a3a6e 60%, #1d4280 100%);
}
.rcsp-hero--urgent .rcsp-hero__bg {
    background:
        radial-gradient(60% 50% at 70% 0%, rgba(214, 40, 40, 0.55) 0%, transparent 70%),
        linear-gradient(160deg, #5b0c0c 0%, #1a3a6e 70%, #0f2752 100%);
}
.rcsp-hero--diagnostic .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 30% 0%, rgba(20, 184, 166, 0.45) 0%, transparent 70%),
        linear-gradient(160deg, #134e4a 0%, #1a3a6e 60%, #0f2752 100%);
}
.rcsp-hero--simple .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 70% 0%, rgba(245, 158, 11, 0.40) 0%, transparent 70%),
        linear-gradient(160deg, #7c2d12 0%, #1a3a6e 70%, #0f2752 100%);
}
.rcsp-hero--technique .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(96, 165, 250, 0.40) 0%, transparent 70%),
        linear-gradient(160deg, #1e3a8a 0%, #1a3a6e 60%, #0f2752 100%);
}
.rcsp-hero--technique-zinc .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(156, 163, 175, 0.45) 0%, transparent 70%),
        linear-gradient(160deg, #1f2937 0%, #1a3a6e 70%, #0f2752 100%);
}
.rcsp-hero--maintenance .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(168, 162, 158, 0.40) 0%, transparent 70%),
        linear-gradient(160deg, #44403c 0%, #1a3a6e 70%, #0f2752 100%);
}
.rcsp-hero--transactionnel .rcsp-hero__bg {
    background:
        radial-gradient(70% 50% at 60% 0%, rgba(45, 212, 191, 0.40) 0%, transparent 70%),
        linear-gradient(160deg, #064e3b 0%, #1a3a6e 70%, #0f2752 100%);
}

.rcsp-hero__inner { max-width: 860px; margin: 0 auto; padding: 0 var(--rc-pad-x); }
.rcsp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.85rem; border-radius: 999px;
    font-size: 0.82rem; font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0 0 1rem;
}
.rcsp-hero__dot {
    display: inline-block; width: 8px; height: 8px;
    background: var(--rc-color-dispo); border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: rc-pulse 2s ease-in-out infinite;
}
.rcsp-hero--urgent .rcsp-hero__dot { background: #fbbf24; }
.rcsp-hero__title {
    color: #fff;
    font-size: clamp(1.6rem, 3.8vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.rcsp-hero__sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.75rem;
    max-width: 720px;
}
.rcsp-hero__cta {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
}

/* Sections ---------------------------------------------------- */
.rcsp-section { padding: 3rem 0; }
.rcsp-section__inner { max-width: 880px; margin: 0 auto; padding: 0 var(--rc-pad-x); }
.rcsp-section__title { color: var(--rc-color-primary); margin: 0 0 1rem; }
.rcsp-section__title--center { text-align: center; }
.rcsp-section__body { color: var(--rc-color-text); font-size: 1rem; line-height: 1.7; }
.rcsp-section__body p { margin: 0 0 1rem; }
.rcsp-section__body strong { color: var(--rc-color-primary); }
.rcsp-section__body ul, .rcsp-section__body ol { margin: 0.75rem 0 1rem; line-height: 1.65; }
.rcsp-section__body li { margin: 0 0 0.4rem; }

/* Steps ------------------------------------------------------- */
.rcsp-steps {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: grid; gap: 1.25rem;
    grid-template-columns: 1fr;
}
.rcsp-step {
    background: #fff;
    border: 1px solid var(--rc-color-border);
    border-radius: var(--rc-radius-l);
    padding: 1.5rem;
    position: relative;
}
.rcsp-step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--rc-color-accent); color: #fff;
    border-radius: 50%;
    font-weight: 800; font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.rcsp-step__title { color: var(--rc-color-primary); margin: 0 0 0.4rem; font-size: 1.05rem; }
.rcsp-step__desc { color: var(--rc-color-text-l); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.rcsp-step__desc strong { color: var(--rc-color-primary); }
@media (min-width: 768px) { .rcsp-steps { grid-template-columns: repeat(2, 1fr); } }

/* Prix-table — réutilise rcs-prix__table déjà défini ---------- */
.rcsp-prix-note {
    color: var(--rc-color-text-l);
    font-size: 0.9rem;
    font-style: italic;
    margin: 1rem 0 0;
    line-height: 1.55;
}
.rcsp-prix-note strong { color: var(--rc-color-primary); font-style: normal; }

/* Callout ----------------------------------------------------- */
.rcsp-callout {
    padding: 2rem 0;
    background: var(--rc-color-bg-soft);
}
.rcsp-callout__inner {
    max-width: 880px; margin: 0 auto;
    background: #fff;
    border-left: 4px solid var(--rc-color-accent);
    border-radius: var(--rc-radius-l);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rcsp-callout--urgent .rcsp-callout__inner { border-left-color: #ef4444; }
.rcsp-callout--diagnostic .rcsp-callout__inner { border-left-color: #14b8a6; }
.rcsp-callout--simple .rcsp-callout__inner { border-left-color: #f59e0b; }
.rcsp-callout--technique .rcsp-callout__inner { border-left-color: #3b82f6; }
.rcsp-callout--technique-zinc .rcsp-callout__inner { border-left-color: #6b7280; }
.rcsp-callout--maintenance .rcsp-callout__inner { border-left-color: #a8a29e; }
.rcsp-callout--transactionnel .rcsp-callout__inner { border-left-color: #14b8a6; }

.rcsp-callout__title {
    color: var(--rc-color-primary);
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}
.rcsp-callout__body { color: var(--rc-color-text); font-size: 0.97rem; line-height: 1.7; }
.rcsp-callout__body p { margin: 0 0 0.75rem; }
.rcsp-callout__body strong { color: var(--rc-color-primary); }

/* FAQ --------------------------------------------------------- */
.rcsp-faq { padding: 3rem 0; }
.rcsp-faq__title { margin: 0 0 1.5rem; }
.rcsp-faq__item {
    background: #fff;
    border: 1px solid var(--rc-color-border);
    border-radius: var(--rc-radius);
    padding: 1.1rem 1.5rem;
    margin: 0 0 0.65rem;
}
.rcsp-faq__item summary {
    cursor: pointer; font-weight: 700; color: var(--rc-color-primary);
    list-style: none; position: relative; padding-right: 2rem;
}
.rcsp-faq__item summary::after {
    content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: var(--rc-color-accent);
}
.rcsp-faq__item[open] summary::after { content: '−'; }
.rcsp-faq__item summary::-webkit-details-marker { display: none; }
.rcsp-faq__item > div { margin: 0.85rem 0 0; color: var(--rc-color-text-l); font-size: 0.95rem; line-height: 1.7; }
.rcsp-faq__item > div strong { color: var(--rc-color-primary); }

/* Cross-links ------------------------------------------------- */
.rcsp-crosslinks {
    padding: 2.5rem 0;
    background: var(--rc-color-bg-soft);
    border-top: 1px solid var(--rc-color-border);
}
.rcsp-crosslinks__title { margin: 0 0 1rem; font-size: 1.1rem; }
.rcsp-crosslinks__list { list-style: none; padding: 0; margin: 0; }
.rcsp-crosslinks__list li { margin: 0 0 0.55rem; }
.rcsp-crosslinks__list a {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--rc-color-primary);
    font-weight: 500;
    text-decoration: none;
}
.rcsp-crosslinks__list a:hover { color: var(--rc-color-accent); text-decoration: underline; }
.rcsp-crosslinks__arrow {
    display: inline-block;
    color: var(--rc-color-accent);
    font-weight: 800;
}

/* CTA final --------------------------------------------------- */
.rcsp-cta-final {
    background: var(--rc-color-primary);
    color: #fff;
    padding: 3rem 0 4rem;
    text-align: center;
}
.rcsp-cta-final--urgent { background: linear-gradient(135deg, #5b0c0c 0%, #d62828 100%); }
.rcsp-cta-final__title { color: #fff; margin: 0 0 0.75rem; }
.rcsp-cta-final__sub {
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}
