﻿/* Bandeau 3 promesses */
.why-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0.9rem 1rem;
    background: #f3f4ff;
    border-radius: 0.75rem;
}

.why-strip-item {
    border-left: 3px solid #4f46e5;
    padding-left: 0.75rem;
}

.why-strip-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.why-strip-text {
    font-size: 0.85rem;
    color: #4b5563;
}

/* Cartes "pourquoi" plus marquées */
.why-card {
    border-top: 3px solid #4f46e5;
}

.why-card-header {
    margin-bottom: 0.5rem;
}

.why-card-pill {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #eef2ff;
    color: #3730a3;
}

/* Listes bullets compactes */
.why-bullets {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Mini cartes usages */
.why-mini-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Bandeau final */
.why-final {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-radius: 0.9rem;
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #f9fafb;
}

.why-final-text {
    font-size: 0.98rem;
    max-width: 520px;
}

.why-final-actions .btn {
    margin-left: 0.25rem;
}


.docs-nav {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: #f3f4f6; /* gris léger derrière les cartes blanches */
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.docs-nav-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #111827;
}

.docs-nav-section-label {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.docs-nav-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.25rem 0;
}

    .docs-nav-list li {
        margin-bottom: 0.25rem;
    }

/* Carte blanche pour chaque entrée du menu */
.docs-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #4b5563;
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    background: #ffffff;
    border: 1px solid transparent;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}

    .docs-nav-link:hover {
        background: #eff6ff; /* bleu très léger */
        border-color: #bfdbfe; /* cadre bleu clair */
        color: #1d4ed8;
        transform: translateX(1px);
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
    }

.docs-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d1d5db;
    flex-shrink: 0;
}

.docs-nav-link:hover .docs-nav-dot {
    background: #1d4ed8;
}

.docs-nav-footer {
    margin-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
}

.docs-nav-footer-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.docs-nav-footer-link {
    display: block;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    padding: 0.1rem 0;
}

    .docs-nav-footer-link:hover {
        text-decoration: underline;
    }

/* Titre + sections déjà définis, au cas où */
.docs-main-title {
    font-size: 2rem;
    margin-top: 0.75rem;
}

.docs-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.docs-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
