/* Nouveautés PrivaBox : encart d'accueil et page /nouveautes. Couleurs issues des thèmes (--pb-*), propriétés logiques (RTL). */
.pbn { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; box-sizing: border-box; }
.pbn h1, .pbn h2, .pbn h3 { color: var(--pb-text, #e7ecf3); margin: 0; }
.pbn p { margin: 0; color: var(--pb-muted, #94a3b8); }
.pbn ul, .pbn ol { list-style: none; margin: 0; padding: 0; }
.pbn-head { text-align: center; display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.pbn-badges { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pbn-badge { display: inline-block; font-size: .68rem; font-weight: 800; line-height: 1; padding: .35rem .6rem; border-radius: 999px; border: 1px solid var(--pb-border, #223049); background: var(--pb-surface-2, #172236); color: var(--pb-muted, #94a3b8); white-space: nowrap; }
.pbn-badge.pbn-mod { color: var(--pb-accent-text, #60a5fa); border-color: var(--pb-accent-text, #60a5fa); }
.pbn-badge.pbn-cat-new { color: #6ee7b7; }
.pbn-badge.pbn-cat-up { color: #c4b5fd; }
.pbn-badge.pbn-cat-sec { color: #fcd34d; }
.pbn-badge.pbn-cat-mob { color: #67e8f9; }
html[data-pb-theme="light"] .pbn-badge.pbn-cat-new { color: #047857; }
html[data-pb-theme="light"] .pbn-badge.pbn-cat-up { color: #6d28d9; }
html[data-pb-theme="light"] .pbn-badge.pbn-cat-sec { color: #92400e; }
html[data-pb-theme="light"] .pbn-badge.pbn-cat-mob { color: #0e7490; }
.pbn-link { font-size: .82rem; font-weight: 800; color: var(--pb-accent-text, #60a5fa); text-decoration: none; width: fit-content; padding: .25rem 0; }
.pbn-link:hover { text-decoration: underline; }
.pbn a:focus-visible, .pbn button:focus-visible { outline: 2px solid var(--pb-focus, #60a5fa); outline-offset: 2px; }
.pbn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.4rem; border-radius: 1rem; font-size: .88rem; font-weight: 800; text-align: center; text-decoration: none; border: 1px solid rgba(96,165,250,.45); background: #2563eb; color: #fff !important; -webkit-text-fill-color: #fff; }
.pbn-btn:hover { background: #1d4ed8; }
.pbn-btn-demo { background: #047857; border-color: rgba(52,211,153,.5); }
.pbn-btn-demo:hover { background: #065f46; }

/* Pastille en tête de l'accueil ; l'espace haut du bandeau est réduit d'autant. */
.pbn-pill-wrap { display: flex; justify-content: center; padding: .85rem 1rem 0; }
.pbn-pill { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; box-sizing: border-box; min-height: 40px; padding: .35rem .9rem .35rem .4rem; padding-inline: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(59,130,246,.45); background: var(--pb-surface, #111a2b); color: var(--pb-text, #e7ecf3); text-decoration: none; font-size: .8rem; font-weight: 700; line-height: 1.3; transition: border-color .15s, background .15s; }
.pbn-pill:hover { border-color: #3b82f6; background: var(--pb-surface-2, #172236); }
.pbn-pill:focus-visible { outline: 2px solid var(--pb-focus, #60a5fa); outline-offset: 2px; }
.pbn-pill-tag { flex: none; white-space: nowrap; padding: .35rem .65rem; border-radius: 999px; background: #2563eb; color: #fff; -webkit-text-fill-color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; }
.pbn-pill-title { min-width: 0; text-align: start; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.pbn-pill-arrow { flex: none; color: var(--pb-accent-text, #60a5fa); font-weight: 900; }
html[dir="rtl"] .pbn-pill-arrow { transform: scaleX(-1); }
.pbn-pill-wrap + .pb-hero-section { padding-top: 1.75rem !important; }
@media (min-width: 640px) { .pbn-pill-wrap { padding-top: 1.25rem; } .pbn-pill-wrap + .pb-hero-section { padding-top: 2.5rem !important; } }
@media (max-width: 420px) { .pbn-pill { border-radius: 1.1rem; gap: .5rem; font-size: .76rem; } }

/* Encart d'accueil */
.pbn-home { padding-top: .5rem; padding-bottom: .5rem; scroll-margin-top: 5rem; }
.pbn-home h2 { font-size: 1.35rem; font-weight: 900; }
.pbn-home .pbn-head p { font-size: .85rem; }
.pbn-cards { display: grid; gap: .85rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .pbn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pbn-card { display: flex; flex-direction: column; gap: .65rem; padding: 1rem 1.1rem; border-radius: 1.1rem; border: 1px solid var(--pb-border, #223049); background: var(--pb-surface, #111a2b); min-width: 0; text-align: start; }
.pbn-body { display: flex; flex-direction: column; gap: .35rem; overflow-wrap: anywhere; text-align: start; }
.pbn-card h3 { font-size: .95rem; font-weight: 800; line-height: 1.3; }
.pbn-card .pbn-body p { font-size: .8rem; line-height: 1.45; }
.pbn-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.pbn-card .pbn-link { margin-top: auto; }
.pbn .pbn-all { text-align: center; margin-top: 1.1rem; }

/* Page /nouveautes */
.pbn-page { max-width: 56rem; padding-top: 2.5rem; padding-bottom: 4rem; display: flex; flex-direction: column; gap: 1.75rem; flex-grow: 1; }
.pbn-page h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 900; line-height: 1.15; }
.pbn-page .pbn-head p { max-width: 40rem; margin-inline: auto; font-size: .95rem; line-height: 1.6; }
.pbn-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pbn-filters[hidden] { display: none; }
.pbn-filter { font: inherit; font-size: .8rem; font-weight: 800; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; cursor: pointer; border: 1px solid var(--pb-border, #223049); background: var(--pb-surface, #111a2b); color: var(--pb-muted, #94a3b8); }
.pbn-filter:hover { color: var(--pb-text, #e7ecf3); border-color: var(--pb-border-strong, #304060); }
.pbn-filter[aria-pressed="true"] { background: #2563eb; border-color: #3b82f6; color: #fff; -webkit-text-fill-color: #fff; }
.pbn .pbn-timeline { border-inline-start: 2px solid var(--pb-border, #223049); margin-inline-start: .45rem; padding-inline-start: 1.35rem; display: flex; flex-direction: column; gap: 1rem; }
.pbn-item { position: relative; }
.pbn-item[hidden] { display: none; }
.pbn-item::before { content: ''; position: absolute; inset-inline-start: calc(-1.35rem - 8px); top: 1.35rem; width: 14px; height: 14px; box-sizing: border-box; border-radius: 999px; background: #3b82f6; border: 3px solid var(--pb-bg, #020617); }
.pbn-item .pbn-body p { font-size: .88rem; line-height: 1.6; white-space: pre-line; }
.pbn-item h2 { font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.pbn .pbn-empty { text-align: center; font-size: .88rem; }
.pbn-empty[hidden] { display: none; }
.pbn-cta { text-align: center; display: flex; flex-direction: column; gap: .9rem; align-items: center; padding: 1.75rem 1.25rem; border-radius: 1.5rem; border: 1px solid var(--pb-border-strong, #304060); background: var(--pb-surface, #111a2b); }
.pbn-cta h2 { font-size: 1.25rem; font-weight: 900; }
.pbn-cta p { font-size: .88rem; max-width: 34rem; line-height: 1.55; }
.pbn-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 480px) { .pbn-actions { flex-direction: column; align-self: stretch; } .pbn-home .pbn-all .pbn-btn { width: 100%; box-sizing: border-box; } }
