/* RénoValo — page Aide & Guide d'utilisation */

/* Lisibilité : fond clair, texte navy — jamais de blanc sur fond clair */
body[data-page="user-guide"] {
    color: var(--text);
}

body[data-page="user-guide"] .section-card {
    color: var(--text);
    background: var(--surface);
}

body[data-page="user-guide"] .section-card h2,
body[data-page="user-guide"] .section-card h3,
body[data-page="user-guide"] .section-card h4,
body[data-page="user-guide"] .section-card strong {
    color: var(--navy);
}

body[data-page="user-guide"] .section-card p,
body[data-page="user-guide"] .section-card li,
body[data-page="user-guide"] .section-card span {
    color: var(--text-muted);
}

body[data-page="user-guide"] a:not(.btn-cta):not(.nav-link) {
    color: var(--brand-dark);
}

.tactical-frame { position: relative; }

.tactical-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(var(--brand), var(--brand)) left 12px top 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px top 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px top 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px top 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px bottom 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px bottom 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px bottom 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px bottom 12px/2px 16px no-repeat;
    opacity: 0.2;
}

.guide-hero-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(141, 228, 173, 0.9);
}

.guide-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(33, 58, 83, 0.06);
}

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(96, 207, 134, 0.1);
    color: var(--brand-dark);
    transform: translateX(4px);
}

.nav-link.active {
    background: rgba(96, 207, 134, 0.15);
    color: var(--brand-dark);
    font-weight: 600;
}

.guide-section-title {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.guide-section-lead {
    color: var(--text-muted);
    line-height: 1.7;
}

.guide-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-bullet-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.guide-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.guide-step {
    border-left: 3px solid var(--brand);
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(96, 207, 134, 0.06) 0%, transparent 100%);
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 1.25rem;
}

.guide-step:last-child {
    margin-bottom: 0;
}

.guide-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guide-step h3 {
    color: var(--navy);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.guide-step-objective {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.guide-step-objective strong {
    color: var(--navy);
}

.guide-report-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .guide-report-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.guide-report-card {
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: #f8fafc;
}

.guide-report-card h4 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.guide-report-card p,
.guide-report-card li {
    color: #475569;
}

.guide-callout {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.guide-callout-title {
    color: #b45309;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.guide-callout .guide-bullet-list li {
    color: #92400e;
}

.guide-support-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.guide-support-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-support-row strong {
    color: var(--navy);
    font-size: 0.875rem;
}

.guide-support-row a {
    color: var(--brand-dark);
    font-weight: 600;
}

.guide-support-row a:hover {
    text-decoration: underline;
}

.guide-intro-points {
    display: grid;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.guide-intro-point {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.guide-intro-point i {
    width: 1rem;
    height: 1rem;
    color: var(--brand-dark);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
