/* ============================================================
   nouveautes.css — page « Voir tout » des dernières sorties (/nouveautes/)
   ============================================================ */
.nv-page { color: #cbd5e1; }
.nv-retour {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.25rem;
    color: #7f9bb3;
    font-size: 0.85rem;
    font-weight: 600;
}
.nv-retour:hover { color: #38bdf8; }
.nv-retour svg { width: 16px; height: 16px; }
.nv-titre { margin-top: 0.3rem; color: #ffffff; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }

/* Onglets : même famille de pastilles que le profil */
.nv-onglets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.nv-onglet,
.nv-filtre {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(0, 0, 0, 0.25);
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nv-onglet:hover,
.nv-filtre:hover { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.08); }
.nv-onglet.nv-actif { border-color: rgba(56, 189, 248, 0.6); background: rgba(56, 189, 248, 0.2); color: #ffffff; }
.nv-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.75rem; }
.nv-filtre { padding: 0.32rem 0.75rem; font-size: 0.78rem; }
.nv-filtre.nv-actif { border-color: rgba(56, 189, 248, 0.5); color: #38bdf8; }
.nv-total { margin-left: auto; color: #7f9bb3; font-size: 0.78rem; font-weight: 600; }

/* Un titre par jour, puis une grille de grandes cartes */
.nv-jour {
    margin: 1.6rem 0 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.18);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}
.nv-grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.9rem;
}
.nv-filtres + .nv-grille,
.nv-onglets + .nv-grille { margin-top: 1.4rem; }
/* Les cartes du site telles quelles (titre sur l'image), juste rangées en grille */
.nv-grille > .as-carte { width: 100%; margin: 0; }
.nv-vide { margin: 2rem 0; text-align: center; color: #7f9bb3; }

@media (max-width: 640px) {
    .nv-titre { font-size: 1.25rem; }
    .nv-grille { grid-template-columns: 1fr; gap: 0.75rem; }
    .nv-total { width: 100%; margin-left: 0; }
}

/* Pagination */
.pagi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.75rem 0 0.5rem;
}
.pagi-pages { display: flex; align-items: center; gap: 0.3rem; }
.pagi-num,
.pagi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(0, 0, 0, 0.25);
    color: #e6f0fa;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.pagi-num:hover,
.pagi-btn:hover { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.45); }
.pagi-actuelle { background: rgba(56, 189, 248, 0.2); border-color: rgba(56, 189, 248, 0.6); color: #ffffff; }
.pagi-btn { padding: 0 0.85rem; }
.pagi-btn svg { width: 16px; height: 16px; }
.pagi-off { opacity: 0.35; pointer-events: none; }
.pagi-trou { color: #7f9bb3; padding: 0 0.15rem; }
.pagi-aller {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(0, 0, 0, 0.25);
    color: #94a3b8;
    font-size: 0.8rem;
}
.pagi-aller input {
    width: 3.2rem;
    padding: 0.2rem 0.3rem;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}
.pagi-aller input::-webkit-outer-spin-button,
.pagi-aller input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pagi-aller input:focus { border-color: rgba(56, 189, 248, 0.7); }

@media (max-width: 640px) {
    .pagi-btn span { display: none; }                  /* téléphone : flèches seules */
    .pagi { gap: 0.35rem; }
    .pagi-num { min-width: 2.1rem; height: 2.1rem; padding: 0 0.4rem; }
    .pagi-aller { order: 5; width: 100%; justify-content: center; }
}

