/* ============================================================
   PF2026 — Rubrique « Dossiers Premium » (/rubrique/premium/)
   category-premium.php · inc/premium-hub.php
   Nuit indigo et or de la marque Elite4, titres en Archivo
   (cartes .e4-dcard communes : premium-ui.css).
   ============================================================ */

.e4h {
    --e4-display: 'Archivo', var(--font);
    background: linear-gradient(180deg, #FBF8EE 0, #fff 640px);
}

/* ---------- Héros ---------- */
.e4h-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 0 60px;
    color: #fff;
    background:
        radial-gradient(ellipse at 82% 18%, rgba(243, 207, 90, .26), transparent 46%),
        radial-gradient(ellipse at 0% 100%, rgba(98, 116, 255, .38), transparent 52%),
        linear-gradient(160deg, #0B1040 0%, var(--e4-night) 45%, var(--e4-indigo) 100%);
}
.e4h-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .55;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 8% 24%, #fff, transparent),
        radial-gradient(1px 1px at 26% 78%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 47% 14%, var(--e4-gold), transparent),
        radial-gradient(1px 1px at 63% 66%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 76% 30%, #fff, transparent),
        radial-gradient(1px 1px at 91% 72%, var(--e4-gold), transparent),
        radial-gradient(1px 1px at 38% 44%, #fff, transparent);
}
.e4h-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 207, 90, .75), transparent);
}
.e4h-hero .container { position: relative; }
.e4h-hero .breadcrumb { margin: 0 0 30px; padding: 0; background: none; font-size: 13px; color: rgba(255, 255, 255, .62); }
.e4h-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.e4h-hero .breadcrumb a:hover { color: var(--e4-gold); }
.e4h-hero .breadcrumb_last,
.e4h-hero .breadcrumb-current { color: #fff; }

.e4h-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr);
    gap: 48px;
    align-items: center;
}
.e4h-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--e4-gold);
}
.e4h-eyebrow .e4-mark { background: var(--e4-gold); color: var(--e4-night); }
.e4h-title {
    margin: 14px 0 16px;
    font-family: var(--e4-display);
    font-size: clamp(40px, 6vw, 66px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.035em;
    color: #fff;
}
.e4h-title em {
    font-style: normal;
    background: linear-gradient(100deg, #FFEDB3 0%, var(--e4-gold) 45%, #E5B634 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.e4h-lead { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.e4h-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.e4h-facts li {
    padding: 8px 14px;
    border: 1px solid rgba(243, 207, 90, .35);
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .06);
    font-size: 13.5px;
    color: rgba(255, 255, 255, .78);
}
.e4h-facts b { font-weight: 800; color: var(--e4-gold); }

/* Carte d'accès (offre ou accès actif) */
.e4h-pass {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 26px 22px;
    border: 1px solid rgba(243, 207, 90, .5);
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
    box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.e4h-pass::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #FFE08A, transparent);
}
.e4h-pass__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--e4-gold); }
.e4h-pass__price { font-size: 15px; color: rgba(255, 255, 255, .8); }
.e4h-pass__price b { margin-right: 4px; font-family: var(--e4-display); font-size: 46px; font-weight: 900; letter-spacing: -.03em; color: #fff; }
.e4h-pass__detail { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.e4h-pass__cta { width: 100%; margin-top: 10px; }
.e4h-pass__list { list-style: none; display: grid; gap: 6px; margin: 8px 0 0; padding: 0; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.e4h-pass__list li { display: flex; gap: 8px; }
.e4h-pass__list li::before { content: "✓"; font-weight: 900; color: var(--e4-gold); }
.e4h-pass__login { margin-top: 6px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .78); text-decoration: underline; text-underline-offset: 3px; }
.e4h-pass__login:hover { color: var(--e4-gold); }
.e4h-pass--member { align-items: flex-start; gap: 10px; }
.e4h-pass__seal {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE08A, var(--e4-gold) 55%, #E5B634);
    color: var(--e4-night);
    box-shadow: 0 8px 24px rgba(229, 182, 52, .45);
}
.e4h-pass__seal svg { width: 22px; height: 22px; }
.e4h-pass__title { font-family: var(--e4-display); font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; }
.e4h-pass__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.e4h-pass__link { font-weight: 800; color: var(--e4-gold); }

/* ---------- Corps ---------- */
.e4h-body { padding-top: 44px; padding-bottom: 64px; }
.e4h-sec + .e4h-sec,
.e4h-pagination + .e4h-sec,
.e4h-empty + .e4h-sec { margin-top: 52px; }
.e4h-h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-family: var(--e4-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--e4-night);
}
.e4h-h2 svg { flex: 0 0 auto; color: var(--e4-gold-deep); }
.e4h-h2::after { content: ""; flex: 1; height: 1px; margin-left: 8px; background: linear-gradient(90deg, rgba(154, 113, 8, .4), transparent); }

/* Dossier à la une : grande carte nuit et or */
.e4h .e4-dcard--feature .e4-dcard__link {
    flex-direction: row;
    min-height: 340px;
    border-color: rgba(243, 207, 90, .5);
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 207, 90, .18), transparent 40%),
        linear-gradient(125deg, var(--e4-night), var(--e4-indigo));
    color: #fff;
}
.e4h .e4-dcard--feature .e4-dcard__media { flex: 0 0 56%; aspect-ratio: auto; }
.e4h .e4-dcard--feature .e4-dcard__media::after { background: linear-gradient(90deg, rgba(14, 21, 80, 0) 62%, rgba(14, 21, 80, .92)); }
.e4h .e4-dcard--feature .e4-dcard__body { justify-content: center; gap: 12px; padding: 30px 32px; border: 0; }
.e4h .e4-dcard--feature .e4-dcard__cat { color: var(--e4-gold); }
.e4h .e4-dcard--feature .e4-dcard__title { font-family: var(--e4-display); font-size: 30px; line-height: 1.12; letter-spacing: -.025em; color: #fff; }
.e4h .e4-dcard--feature .e4-dcard__excerpt { font-size: 15px; color: rgba(255, 255, 255, .8); }
.e4h .e4-dcard--feature .e4-dcard__meta { color: rgba(255, 255, 255, .66); }
.e4h .e4-dcard--feature .e4-dcard__meta > * + *::before { color: rgba(255, 255, 255, .4); }
.e4h .e4-dcard--feature .e4-dcard__foot { border-top-color: rgba(255, 255, 255, .16); }
.e4h .e4-dcard--feature .e4-dcard__state--lock { color: var(--e4-gold); }
.e4h .e4-dcard--feature .e4-dcard__state--open { color: #8BE8AE; }
.e4h .e4-dcard--feature .e4-dcard__go {
    padding: 10px 18px;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, #FFE08A, var(--e4-gold) 55%, #E5B634);
    color: var(--e4-night);
    box-shadow: 0 6px 18px rgba(229, 182, 52, .35);
}

.e4h-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.e4h-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 24px;
    border: 1px dashed rgba(154, 113, 8, .45);
    border-radius: var(--r-lg);
    background: var(--e4-gold-soft);
    text-align: center;
}
.e4h-empty__seal { color: var(--e4-gold-deep); }
.e4h-empty__seal svg { width: 30px; height: 30px; }
.e4h-empty b { font-family: var(--e4-display); font-size: 20px; color: var(--e4-night); }
.e4h-empty p { max-width: 52ch; margin: 0; color: var(--ink-mid); }

/* Autres avantages */
.e4h-tools { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.e4h-tools li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(154, 113, 8, .2);
    border-radius: var(--r-md);
    background: linear-gradient(160deg, var(--e4-gold-soft), #fff 72%);
}
.e4h-tools i { font-style: normal; font-size: 24px; }
.e4h-tools b { font-size: 15px; color: var(--e4-night); }
.e4h-tools span { font-size: 13px; line-height: 1.5; color: var(--ink-mid); }
.e4h-more { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--e4-indigo); }
.e4h-more:hover { color: var(--e4-gold-deep); }

/* Appel final */
.e4h-final {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-top: 56px;
    padding: 36px;
    overflow: hidden;
    border-radius: var(--r-lg);
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(243, 207, 90, .25), transparent 42%),
        radial-gradient(circle at 5% 110%, rgba(110, 125, 255, .35), transparent 45%),
        linear-gradient(125deg, var(--e4-night) 0%, var(--e4-indigo) 100%);
}
.e4h-final h2 { margin: 10px 0; font-family: var(--e4-display); font-size: 32px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.e4h-final h2 em { font-style: normal; color: var(--e4-gold); }
.e4h-final p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.e4h-final__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.e4h-plan {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}
.e4h-plan:hover { transform: translateY(-2px); border-color: var(--e4-gold); color: #fff; }
.e4h-plan:focus-visible { outline: 3px solid var(--e4-gold); outline-offset: 2px; }
.e4h-plan--best { border-color: rgba(243, 207, 90, .75); background: linear-gradient(160deg, rgba(243, 207, 90, .24), rgba(243, 207, 90, .06)); }
.e4h-plan__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--e4-gold); }
.e4h-plan__label small { display: inline-block; white-space: nowrap; margin-left: 4px; padding: 2px 7px; border-radius: var(--r-full); background: var(--e4-gold); color: var(--e4-night); font-size: 10px; letter-spacing: .04em; }
.e4h-plan__price { font-size: 13px; color: rgba(255, 255, 255, .75); }
.e4h-plan__price b { font-family: var(--e4-display); font-size: 30px; font-weight: 900; color: #fff; }
.e4h-plan__note { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.e4h-final__note { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, .66); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .e4h-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .e4h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .e4h-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .e4h-final { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
}
@media (max-width: 860px) {
    .e4h .e4-dcard--feature .e4-dcard__link { flex-direction: column; min-height: 0; }
    .e4h .e4-dcard--feature .e4-dcard__media { flex: none; aspect-ratio: 16 / 9; }
    .e4h .e4-dcard--feature .e4-dcard__media::after { background: linear-gradient(180deg, rgba(14, 21, 80, 0) 60%, rgba(14, 21, 80, .7)); }
    .e4h .e4-dcard--feature .e4-dcard__body { padding: 22px 20px; }
    .e4h .e4-dcard--feature .e4-dcard__title { font-size: 24px; }
}
@media (max-width: 600px) {
    .e4h-hero { padding-bottom: 40px; }
    .e4h-lead { font-size: 15.5px; }
    .e4h-pass { padding: 22px 20px 18px; }
    .e4h-grid { grid-template-columns: minmax(0, 1fr); }
    .e4h-h2 { font-size: 21px; }
    .e4h-final h2 { font-size: 26px; }
}
@media (max-width: 480px) {
    .e4h-tools,
    .e4h-final__plans { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .e4h-plan { transition: none; }
}
