/* Feuille de core/templates/core/nouveautes.html — sortie du gabarit le 2026-10-06 (carnet #36, lot 2).
   Chargée par {% feuille 'core/css/nouveautes.css' %} : l'URL porte l'empreinte du fichier, le cache suit. */
.nv-hero { margin: 0 0 22px; }
.nv-hero h2 {
    font-size: 1.65rem; font-weight: 800; color: var(--ink);
    letter-spacing: -0.4px; line-height: 1.2; margin: 0 0 6px;
}
.nv-hero p { font-size: 0.95rem; color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ── Filtre par outil ── */
.nv-filtre {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 0 0 26px; padding: 12px 14px;
    background: var(--surface-hi); border: 1px solid var(--line);
    border-radius: var(--radius);
}
.nv-filtre label { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.nv-filtre select {
    flex: 1; min-width: 200px; max-width: 420px;
    padding: 8px 10px; font: inherit; font-size: 0.88rem; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-s); outline: none;
}
.nv-filtre select:focus { border-color: var(--lfis-blue); }
.nv-reset {
    font-size: 0.82rem; color: var(--ink-3); text-decoration: none;
    padding: 6px 10px; border-radius: var(--radius-pill);
}
.nv-reset:hover { background: var(--panel); color: var(--ink); }

/* ── Une version ── */
.nv-version {
    position: relative; margin: 0 0 14px; padding: 18px 20px;
    background: var(--surface-hi); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.nv-version.v-neuf { border-color: var(--lfis-blue); box-shadow: var(--shadow); }

.nv-tete { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.nv-titre { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0; flex: 1; min-width: 200px; }
.nv-date { font-size: 0.8rem; color: var(--ink-3); white-space: nowrap; }
.nv-id {
    font: 600 0.7rem/1 'Inter', monospace; color: var(--ink-3);
    background: var(--panel); padding: 4px 8px; border-radius: var(--radius-pill);
    white-space: nowrap;
}
.nv-marque {
    font: 800 0.66rem/1 'Inter', sans-serif; text-transform: uppercase;
    letter-spacing: .06em; padding: 4px 8px; border-radius: var(--radius-pill);
}
.nv-marque.neuf      { color: #fff; background: var(--lfis-blue); }
.nv-marque.brouillon { color: var(--warn-ink); background: var(--warn-wash); border: 1px dashed var(--warn); }

.nv-intro { font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; margin: 8px 0 14px; max-width: 72ch; }

/* ── Les entrées ── */
.nv-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nv-entree {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 9px 10px; border-radius: var(--radius-s);
    border-left: 3px solid transparent;
}
.nv-entree:hover { background: var(--surface); }
.nv-entree.t-nouveau  { border-left-color: var(--ok); }
.nv-entree.t-ameliore { border-left-color: var(--lfis-blue); }
.nv-entree.t-corrige  { border-left-color: var(--cat-outils); }
.nv-entree.t-change   { border-left-color: var(--warn); }

.nv-type {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
    font: 700 0.72rem/1 'Inter', sans-serif; padding: 5px 9px;
    border-radius: var(--radius-pill); white-space: nowrap;
}
.t-nouveau  .nv-type { color: var(--ok-ink);     background: var(--ok-wash); }
.t-ameliore .nv-type { color: var(--lfis-blue);  background: var(--blue-wash); }
.t-corrige  .nv-type { color: var(--cat-outils); background: #f4edf8; }
.t-change   .nv-type { color: var(--warn-ink);   background: var(--warn-wash); }

.nv-corps { flex: 1; min-width: 0; }
.nv-texte { font-size: 0.89rem; color: var(--ink); line-height: 1.5; margin: 0; }
.nv-meta { margin-top: 3px; font-size: 0.76rem; color: var(--ink-3); }
.nv-outil {
    color: var(--ink-2); text-decoration: none; font-weight: 700;
    border-bottom: 1px dotted var(--line);
}
.nv-outil:hover { color: var(--lfis-blue); border-bottom-color: var(--lfis-blue); }
.nv-merci { font-style: italic; }

.nv-tags { margin-top: 12px; font-size: 0.72rem; color: var(--ink-3); }
.nv-vide { padding: 48px 0; text-align: center; color: var(--ink-3); font-size: 0.9rem; }
.nv-pied {
    margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 0.78rem; color: var(--ink-3); line-height: 1.6;
}

@media (max-width: 767px) {
    .nv-hero h2 { font-size: 1.15rem; }
    .nv-hero p { font-size: 0.85rem; }
    .nv-version { padding: 14px; }
    .nv-entree { flex-direction: column; gap: 6px; padding: 10px 8px; }
}
