/* ==========================================================================
   COGEFLANDRE — Scoped Styles for the 44 Use Cases Page
   Overrides and additions to css/facturation-electronique.css
   ========================================================================== */

/* ── REDUCE SPACING BETWEEN CATEGORIES ── */
.panel {
    scroll-margin-top: 130px;
    margin-bottom: 36px !important; /* Reduced margin between category panels */
}

.panel:last-of-type {
    margin-bottom: 20px !important;
}

.subhead {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px; /* Reduced top spacing */
    margin-bottom: 12px; /* Reduced bottom spacing */
    line-height: 1.4;
}

.category-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px; /* Reduced space before list */
}

/* ── USE CASES LIST ── */
.use-cases-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0; /* Reduced spacing at the end of lists */
}

.use-case-item {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px; /* Reduced margin between use cases */
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.use-case-item::before {
    content: "•";
    color: var(--primary-light);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.25rem;
}

.use-case-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ── SAFETY NET OVERRIDES ── */
#conclusion.ux-safety-net {
    background: linear-gradient(180deg, #133454 0%, #0c2237 100%) !important;
    color: var(--white) !important;
    padding: clamp(4rem, 6vw, 6rem) 0 !important;
    border-bottom: none !important;
    text-align: center !important;
    margin-bottom: 0 !important; /* Eliminate bottom gap above the footer */
}

#conclusion.ux-safety-net p {
    color: #a6c7dd !important;
    max-width: 860px !important; /* Increased text width for better spacing */
}

#conclusion.ux-safety-net p strong {
    color: var(--white) !important;
}


