/* BlockPulse Halal : charte reprise de blockpulsenews.fr, recolorée émeraude / or */
  
    /* ============================================================
       VARIABLES - strictement la même charte graphique que le site
       ============================================================ */
    :root {
      --bg: #0b1220;
      --bg-2: #0b1220;
      --bg-3: #0b1220;
      --accent: #0E9F6E;
      --accent-2: #0D9488;
      --accent-3: #D4AF37;
      --text: #e6e9ef;
      --muted: #9ba5b7;
      --header-h: 100px;
      --bp-border: rgba(14,159,110, 0.3);
      --bp-border-strong: rgba(14,159,110, 0.5);
      --bp-shadow: 0 10px 28px rgba(0,0,0,.45);
      --bp-radius-xl: 28px;
      --bp-radius-lg: 22px;
      --bp-radius-md: 18px;
      --bp-container: 1280px;
      --bp-header-offset: 110px;
      --bp-transition: 220ms ease;
      --pos: #10b981;
      --neg: #ef4444;
    }

    *,*::before,*::after{box-sizing:border-box}
    html,body{height:100%}
    html { scroll-padding-top: calc(var(--header-h, 0px) + 16px); }
    body{
      margin:0;
      font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial;
      color:var(--text);
      background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 55%, var(--bg-3) 100%);
      display:flex; flex-direction:column; min-height:100vh;
      padding-top: var(--header-h, 0px);
      overflow-x: hidden;
    }

    /* ============================================================
       FOND ANIMÉ : orbes flottants en dégradé violet
       ============================================================ */
    .bg-orbs {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .bg-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: .55;
      will-change: transform;
    }
    .bg-orb.o1 { width: 520px; height: 520px; top: -120px; left: -120px;
      background: radial-gradient(circle, rgba(13,148,136,.55), transparent 70%);
      animation: orbDrift1 26s ease-in-out infinite alternate; }
    .bg-orb.o2 { width: 460px; height: 460px; top: 30%; right: -180px;
      background: radial-gradient(circle, rgba(14,159,110,.55), transparent 70%);
      animation: orbDrift2 32s ease-in-out infinite alternate; }
    .bg-orb.o3 { width: 380px; height: 380px; bottom: -100px; left: 35%;
      background: radial-gradient(circle, rgba(212,175,55,.42), transparent 70%);
      animation: orbDrift3 38s ease-in-out infinite alternate; }
    @keyframes orbDrift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(80px, 60px) scale(1.1); } }
    @keyframes orbDrift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, 40px) scale(1.08); } }
    @keyframes orbDrift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, -50px) scale(1.05); } }

    /* ============================================================
       HEADER (réutilise les partials, mais on gère le fallback)
       ============================================================ */
    /* Note : le header réel vient de partials/header.php - pas de style ici */

    /* ============================================================
       PAGE SHELL
       ============================================================ */
    .home-page {
      position: relative;
      z-index: 1;
      padding: calc(var(--bp-header-offset) + 8px) 0 4.5rem;
      flex: 1 0 auto;
    }
    .home-shell {
      width: min(calc(100% - 2rem), var(--bp-container));
      margin: 0 auto;
    }
    .home-section {
      position: relative;
      margin-bottom: 3.5rem;
    }
    @media (min-width: 821px) {
      .home-section { margin-bottom: 4.5rem; }
    }

    /* Apparition au scroll */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.in { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

    /* ============================================================
       HERO - version impactante
       ============================================================ */
    .hero-section {
      padding-top: 0;
      margin-bottom: 3rem;
    }
    .hero-panel {
      position: relative;
      display: grid;
      grid-template-columns: 1.25fr 0.95fr;
      gap: 2rem;
      align-items: stretch;
      padding: clamp(1.6rem, 2.4vw, 2.4rem);
      border: 1px solid var(--bp-border);
      border-radius: var(--bp-radius-xl);
      background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
      box-shadow: var(--bp-shadow), inset 0 1px 0 rgba(255,255,255,.05);
      overflow: hidden;
      isolation: isolate;
    }
    .hero-panel::before {
      content: ""; position: absolute; inset: 0; z-index: -1;
      background:
        radial-gradient(720px 420px at 8% -10%, rgba(13,148,136,.22), transparent 60%),
        radial-gradient(540px 320px at 110% 120%, rgba(14,159,110,.22), transparent 60%);
    }
    .hero-copy { display: flex; flex-direction: column; justify-content: center; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: .5rem; width: fit-content;
      padding: .45rem .85rem;
      border: 1px solid rgba(14,159,110,.35);
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      color: var(--muted);
      font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
    }
    .hero-badge::before {
      content: ""; width: 6px; height: 6px; border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }

    .hero-title {
      margin: 1rem 0 .9rem;
      font-size: clamp(2.4rem, 5.2vw, 4rem);
      line-height: 1.05;
      font-weight: 900;
      letter-spacing: -0.025em;
      max-width: 100%;
      word-wrap: break-word;
    }
    .hero-title .grad {
      background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-text {
      max-width: 60ch;
      margin: 0 0 1.6rem;
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.65;
    }

    .hero-actions {
      display: flex; flex-wrap: wrap; gap: .85rem;
      margin-bottom: 1.8rem;
    }
    .bp-btn, .bp-btn-secondary, .community-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
      min-height: 50px; padding: .9rem 1.3rem;
      border-radius: 14px;
      border: 1px solid rgba(14,159,110,.35);
      font-weight: 700; text-decoration: none; cursor: pointer;
      background: rgba(255,255,255,.06); color: inherit;
      transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .bp-btn {
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      color: #fff; border: none;
      box-shadow: 0 10px 30px rgba(13,148,136,.35);
    }
    .bp-btn-secondary { background: rgba(255,255,255,.06); color: var(--text); }
    .bp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(13,148,136,.45); }
    .bp-btn-secondary:hover, .community-btn:hover {
      transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: var(--bp-border-strong);
    }
    .bp-btn svg, .bp-btn-secondary svg { width: 18px; height: 18px; }

    /* "Trust strip" sous les CTAs */
    .hero-trust {
      display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center;
      padding-top: 1.2rem;
      border-top: 1px dashed rgba(14,159,110,.22);
    }
    .hero-trust__item { display: flex; flex-direction: column; gap: .15rem; }
    .hero-trust__num {
      font-size: 1.4rem; font-weight: 900;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
      line-height: 1;
    }
    .hero-trust__lbl { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }

    /* Visuel hero (jauge FNG + 2 sub-cards) */
    .hero-visual {
      position: relative; min-height: 100%;
      display: flex; flex-direction: column; gap: 1rem;
    }
    .visual-main-card, .visual-sub-card {
      position: relative;
      padding: 1.4rem;
      border: 1px solid rgba(14,159,110,.32);
      border-radius: var(--bp-radius-lg);
      background:
        radial-gradient(700px 400px at 10% -10%, rgba(13,148,136,.18), transparent 60%),
        radial-gradient(500px 300px at 110% 120%, rgba(14,159,110,.18), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
      box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
      overflow: hidden;
    }
    .visual-main-card { flex: 1 1 auto; }
    .visual-kicker {
      position: relative; z-index: 1;
      color: var(--muted);
      font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
    }
    .visual-title {
      position: relative; z-index: 1;
      margin: .85rem 0 .55rem;
      font-size: 1.15rem; line-height: 1.3; font-weight: 800;
      color: #fff;
    }
    .visual-text {
      position: relative; z-index: 1;
      margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55;
    }
    .visual-sub-grid {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; flex: 0 0 auto;
    }

    /* Jauge Fear & Greed */
    .gauge {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center;
      margin-top: 1rem;
    }
    .gauge__svg { width: 100%; max-width: 220px; height: auto; display: block; }
    .gauge__value-wrap {
      margin-top: -52px; text-align: center;
    }
    .gauge__value {
      font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1;
    }
    .gauge__lbl {
      margin-top: .35rem;
      font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
      color: var(--muted);
    }

    /* ============================================================
       TITRES SECTION (pleins)
       ============================================================ */
    .section-card {
      padding: clamp(1.6rem, 3vw, 2.2rem);
      border: 1px solid var(--bp-border);
      border-radius: var(--bp-radius-xl);
      background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
      box-shadow: var(--bp-shadow), inset 0 1px 0 rgba(255,255,255,.05);
    }
    .section-head {
      display: flex; justify-content: space-between; align-items: end; gap: 1rem;
      margin-bottom: 2rem;
    }
    .section-badge {
      display: inline-flex; align-items: center; gap: .5rem; width: fit-content;
      padding: .45rem .85rem;
      border: 1px solid rgba(14,159,110,.35);
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      color: var(--muted);
      font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
    }
    .section-title {
      margin: .8rem 0 .45rem;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      line-height: 1.18;
      font-weight: 900;
      letter-spacing: -0.022em;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .section-text {
      max-width: 68ch; margin: 0;
      color: var(--muted);
      font-size: .98rem; line-height: 1.65;
    }
    .section-link {
      display: inline-flex; align-items: center; gap: .4rem;
      color: var(--accent-3); font-weight: 700; text-decoration: none;
      font-size: .92rem;
    }
    .section-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
    .section-link:hover svg { transform: translateX(4px); }

    /* ============================================================
       6 UNIVERS - cartes accrocheuses, un accent par univers
       ============================================================ */
    .univers-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.1rem;
    }
    .univers-card {
      position: relative; overflow: hidden;
      display: flex; flex-direction: column; height: 100%;
      padding: 1.5rem 1.5rem 1.35rem;
      border: 1px solid rgba(14,159,110,.26);
      border-radius: var(--bp-radius-md);
      background: rgba(255,255,255,.03);
      box-shadow: 0 6px 20px rgba(0,0,0,.35);
      text-decoration: none; color: inherit;
      transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
    }
    .univers-card__glow {
      position: absolute; inset: 0; pointer-events: none; opacity: 0;
      background: radial-gradient(380px 220px at 100% 0%, color-mix(in oklab, var(--c) 38%, transparent), transparent 60%);
      transition: opacity .28s ease;
    }
    .univers-card:hover {
      transform: translateY(-5px);
      border-color: color-mix(in oklab, var(--c) 60%, transparent);
      background: rgba(255,255,255,.05);
      box-shadow: 0 20px 44px rgba(0,0,0,.5);
    }
    .univers-card:hover .univers-card__glow { opacity: 1; }
    .univers-card:focus-visible { outline: 3px solid color-mix(in oklab, var(--c) 80%, white 20%); outline-offset: 2px; }
    .univers-card__icon {
      position: relative; z-index: 1;
      width: 50px; height: 50px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 14px; margin-bottom: 1.1rem;
      color: var(--c);
      background: color-mix(in oklab, var(--c) 16%, transparent);
      border: 1px solid color-mix(in oklab, var(--c) 42%, transparent);
    }
    .univers-card__icon svg { width: 25px; height: 25px; }
    .univers-card__kicker {
      position: relative; z-index: 1;
      color: var(--c);
      font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    }
    .univers-card__title {
      position: relative; z-index: 1;
      margin: .35rem 0 .5rem;
      font-size: 1.45rem; line-height: 1.1; font-weight: 900; color: #fff;
    }
    .univers-card__hook {
      position: relative; z-index: 1;
      margin: 0 0 1.3rem; flex-grow: 1;
      color: var(--muted); font-size: .95rem; line-height: 1.5;
    }
    .univers-card__go {
      position: relative; z-index: 1;
      display: inline-flex; align-items: center; gap: .45rem; width: fit-content;
      color: var(--c); font-size: .9rem; font-weight: 800;
    }
    .univers-card__go svg { width: 16px; height: 16px; transition: transform .2s ease; }
    .univers-card:hover .univers-card__go svg { transform: translateX(5px); }
    @media (max-width: 1100px) { .univers-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 620px)  { .univers-grid { grid-template-columns: 1fr; } }

    /* ============================================================
       VALUE PROPS (pourquoi BlockPulseNews)
       ============================================================ */
    .value-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
    }
    .value-card {
      padding: 1.5rem;
      border: 1px solid rgba(14,159,110,.28);
      border-radius: var(--bp-radius-md);
      background: rgba(255,255,255,.03);
      box-shadow: 0 6px 20px rgba(0,0,0,.35);
      transition: transform .25s ease, border-color .25s ease, background .25s ease;
    }
    .value-card:hover { transform: translateY(-3px); border-color: rgba(14,159,110,.5); background: rgba(255,255,255,.05); }
    .value-card__icon {
      width: 44px; height: 44px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: #fff;
      margin-bottom: 1rem;
      box-shadow: 0 8px 22px rgba(13,148,136,.35);
    }
    .value-card__icon svg { width: 22px; height: 22px; }
    .value-card__title {
      margin: 0 0 .55rem;
      color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.3;
    }
    .value-card__text {
      margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55;
    }

    /* ============================================================
       À LA UNE CETTE SEMAINE
       ============================================================ */
    .pick-grid {
      display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem;
    }
    .pick-card {
      position: relative;
      display: flex; flex-direction: column;
      min-height: 280px;
      padding: 1.6rem;
      border: 1px solid rgba(14,159,110,.32);
      border-radius: var(--bp-radius-md);
      background: rgba(255,255,255,.03);
      text-decoration: none; color: inherit;
      overflow: hidden;
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
      box-shadow: 0 6px 20px rgba(0,0,0,.35);
    }
    .pick-card:hover { transform: translateY(-4px); border-color: rgba(14,159,110,.55); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
    .pick-card__cover {
      position: absolute; inset: 0; z-index: 0;
      opacity: .9;
    }
    .pick-card__cover::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(11,18,32,.85) 70%, rgba(11,18,32,.95) 100%);
    }
    .pick-card__content { position: relative; z-index: 1; margin-top: auto; }
    .pick-card__top { position: relative; z-index: 1; display: flex; gap: .5rem; margin-bottom: auto; }
    .pick-card__tag {
      padding: .35rem .8rem;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 999px;
      background: rgba(11,18,32,.6);
      backdrop-filter: blur(8px);
      color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    }
    .pick-card__category {
      padding: .35rem .8rem;
      border: 1px solid rgba(14,159,110,.4);
      border-radius: 999px;
      background: rgba(14,159,110,.18);
      color: var(--accent-3); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    }
    .pick-card__title {
      margin: 1rem 0 .6rem;
      font-size: 1.2rem; line-height: 1.3; font-weight: 800; color: #fff;
    }
    .pick-card__excerpt {
      margin: 0 0 1rem;
      color: var(--muted); font-size: .88rem; line-height: 1.55;
    }
    .pick-card__cta {
      display: inline-flex; align-items: center; gap: .4rem;
      color: var(--accent-3); font-weight: 700; font-size: .88rem;
    }
    .pick-card__cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
    .pick-card:hover .pick-card__cta svg { transform: translateX(4px); }
    .pick-card.featured .pick-card__title { font-size: 1.55rem; }
    .pick-card__foot {
      display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    }
    .pick-card__read {
      display: inline-flex; align-items: center; gap: .35rem;
      padding: .3rem .65rem;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 999px;
      background: rgba(11,18,32,.55);
      backdrop-filter: blur(8px);
      color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    }
    .pick-card__read svg { width: 13px; height: 13px; }
    .pick-card .pick-card__cta {
      padding: .4rem .8rem; border-radius: 999px;
      background: rgba(14,159,110,.18); border: 1px solid rgba(14,159,110,.4);
      transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }
    .pick-card:hover .pick-card__cta {
      background: rgba(14,159,110,.32); border-color: var(--bp-border-strong);
    }

    /* ============================================================
       COMMUNAUTÉ
       ============================================================ */
    .community-card {
      position: relative; overflow: hidden; text-align: center;
      display: flex; flex-direction: column; align-items: center;
    }
    .community-card .section-badge { margin: 0 auto; }
    .community-actions {
      display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; justify-content: center;
    }
    .community-btn { min-width: 150px; }

    /* Réseaux sociaux : boutons SVG circulaires avec couleurs de marque au hover */
    .social-row {
      display: flex; flex-wrap: wrap; gap: .9rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .social-btn {
      position: relative;
      display: inline-flex; align-items: center; justify-content: center;
      width: 56px; height: 56px;
      border-radius: 50%;
      border: 1px solid rgba(14,159,110,.4);
      background: rgba(255,255,255,.05);
      color: #e6e9ef;
      text-decoration: none;
      transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
      box-shadow: 0 6px 18px rgba(0,0,0,.3);
      overflow: hidden;
    }
    .social-btn svg {
      width: 24px; height: 24px;
      transition: transform .25s ease;
    }
    .social-btn:hover {
      transform: translateY(-3px) scale(1.06);
      color: #fff;
    }
    .social-btn:hover svg { transform: scale(1.05); }
    .social-btn:focus-visible {
      outline: 3px solid color-mix(in oklab, var(--accent) 80%, white 20%);
      outline-offset: 3px;
    }

    /* Couleurs officielles au hover */
    .social-btn--linkedin:hover {
      background: #0A66C2; border-color: #0A66C2;
      box-shadow: 0 12px 28px rgba(10,102,194,.45);
    }
    .social-btn--x:hover {
      background: #000; border-color: #fff;
      box-shadow: 0 12px 28px rgba(0,0,0,.6);
    }
    .social-btn--youtube:hover {
      background: #FF0000; border-color: #FF0000;
      box-shadow: 0 12px 28px rgba(255,0,0,.45);
    }
    .social-btn--instagram:hover {
      background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
      border-color: #dc2743;
      box-shadow: 0 12px 28px rgba(220,39,67,.45);
    }
    .social-btn--tiktok {
      position: relative;
    }
    .social-btn--tiktok:hover {
      background: #000; border-color: #fff;
      box-shadow: 0 12px 28px rgba(255,4,79,.4), 0 0 0 1px rgba(37,244,238,.4);
      color: #fff;
    }

    /* ============================================================
       BANDEAU FINAL CTA
       ============================================================ */
    .final-cta {
      position: relative;
      padding: clamp(2rem, 4vw, 3rem);
      text-align: center;
      border: 1px solid var(--bp-border-strong);
      border-radius: var(--bp-radius-xl);
      background:
        radial-gradient(700px 400px at 10% 0%, rgba(13,148,136,.28), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(14,159,110,.28), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
      box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
      overflow: hidden;
    }
    .final-cta__title {
      margin: 0 0 .8rem;
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 900; line-height: 1.15; letter-spacing: -.02em;
      background: linear-gradient(90deg, #fff, var(--accent-3));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .final-cta__text { margin: 0 auto 1.6rem; max-width: 60ch; color: var(--muted); font-size: 1rem; line-height: 1.6; }
    .final-cta__actions { display: inline-flex; gap: .85rem; flex-wrap: wrap; justify-content: center; }

    /* ============================================================
       SHOWCASE PRODUITS (PulseZone & Le Cercle)
       Même charte : marine + violet ; l'or n'est qu'un accent
       premium réservé au Cercle (couleur réelle du salon).
       ============================================================ */
    :root {
      --gold: #f3b97a;
      --gold-2: #e8a85f;
      --line-gold: rgba(243,185,122,.32);
    }

    .showcase {
      position: relative;
      overflow: hidden;
      padding: clamp(1.8rem, 3.4vw, 3rem);
      border: 1px solid var(--bp-border);
      border-radius: var(--bp-radius-xl);
      background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
      box-shadow: var(--bp-shadow), inset 0 1px 0 rgba(255,255,255,.05);
    }
    .showcase__grid {
      position: relative; z-index: 1;
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: clamp(1.6rem, 3vw, 3rem);
      align-items: center;
    }
    .showcase__copy { display: flex; flex-direction: column; }
    .showcase__eyebrow {
      display: inline-flex; align-items: center; gap: .55rem; width: fit-content;
      padding: .45rem .9rem;
      border: 1px solid rgba(14,159,110,.35);
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      color: var(--muted);
      font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
      margin-bottom: 1.1rem;
    }
    .showcase__eyebrow::before {
      content: ""; width: 7px; height: 7px; border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }
    .showcase__title {
      margin: 0 0 .8rem;
      font-size: clamp(1.7rem, 3.2vw, 2.5rem);
      line-height: 1.12; font-weight: 900; letter-spacing: -.022em; color: #fff;
    }
    .showcase__title .grad {
      background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .showcase__lead {
      margin: 0 0 1.4rem; max-width: 46ch;
      color: var(--muted); font-size: 1.02rem; line-height: 1.6;
    }
    .showcase__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.6rem; }
    .showcase__chip {
      display: inline-flex; align-items: center; gap: .45rem;
      padding: .5rem .85rem;
      border: 1px solid rgba(14,159,110,.3);
      border-radius: 12px;
      background: rgba(255,255,255,.04);
      color: var(--text); font-size: .82rem; font-weight: 700;
    }
    .showcase__chip svg { width: 16px; height: 16px; color: var(--accent-3); }
    .showcase__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
    .showcase__note { color: var(--muted); font-size: .82rem; font-weight: 600; }

    /* --- Aperçu PulseZone : mini-cockpit (pur CSS/SVG) --- */
    .showcase--pulse::before {
      content: ""; position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(640px 380px at 100% -10%, rgba(13,148,136,.22), transparent 60%),
        radial-gradient(520px 320px at -10% 120%, rgba(14,159,110,.20), transparent 60%);
    }
    .pz-preview {
      position: relative;
      border: 1px solid rgba(14,159,110,.34);
      border-radius: var(--bp-radius-lg);
      background:
        radial-gradient(600px 340px at 12% -10%, rgba(13,148,136,.16), transparent 60%),
        linear-gradient(180deg, rgba(13,20,38,.92), rgba(11,18,32,.92));
      box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
      padding: 1.2rem;
      transform: rotate(-1.2deg);
      transition: transform .35s ease;
    }
    .showcase:hover .pz-preview { transform: rotate(0deg) translateY(-4px); }
    .pz-preview__bar { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
    .pz-preview__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
    .pz-preview__name { font-weight: 900; color: #fff; letter-spacing: .02em; }
    .pz-preview__name b { color: var(--accent-3); }
    .pz-preview__lvl {
      margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
      color: var(--muted); padding: .3rem .7rem; border: 1px solid rgba(14,159,110,.32); border-radius: 999px;
    }
    .pz-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
    .pz-kpi {
      padding: .8rem .85rem; border-radius: 14px;
      border: 1px solid rgba(14,159,110,.26); background: rgba(255,255,255,.03);
    }
    .pz-kpi__lbl { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .pz-kpi__val { margin-top: .25rem; font-size: 1.25rem; font-weight: 900; color: #fff; line-height: 1; }
    .pz-kpi__val.pos { color: var(--pos); }
    .pz-chart {
      border: 1px solid rgba(14,159,110,.26); border-radius: 14px;
      background: rgba(255,255,255,.02); padding: .9rem;
    }
    .pz-chart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .55rem; }
    .pz-chart__lbl { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .pz-chart__delta { color: var(--pos); font-size: .8rem; font-weight: 800; }
    .pz-chart svg { width: 100%; height: 84px; display: block; }

    /* --- Le Cercle : carte de membre + pièces (accent or) --- */
    .showcase--cercle { border-color: var(--line-gold); }
    .showcase--cercle::before {
      content: ""; position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(640px 380px at -10% -10%, rgba(243,185,122,.16), transparent 60%),
        radial-gradient(520px 320px at 110% 120%, rgba(14,159,110,.22), transparent 60%);
    }
    .showcase--cercle .showcase__eyebrow { border-color: var(--line-gold); color: var(--gold); }
    .showcase--cercle .showcase__eyebrow::before { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
    .showcase--cercle .showcase__title .grad {
      background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--accent-3));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .cercle-rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.6rem; }
    .cercle-room {
      padding: .9rem; border-radius: 14px;
      border: 1px solid rgba(14,159,110,.26); background: rgba(255,255,255,.03);
    }
    .cercle-room__icon {
      width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 11px; margin-bottom: .55rem;
      background: linear-gradient(135deg, rgba(243,185,122,.22), rgba(14,159,110,.18));
      border: 1px solid var(--line-gold); color: var(--gold);
    }
    .cercle-room__icon svg { width: 19px; height: 19px; }
    .cercle-room__tag { color: var(--gold); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
    .cercle-room__title { margin: .15rem 0 .2rem; font-size: .96rem; font-weight: 800; color: #fff; }
    .cercle-room__text { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
    .cercle-btn {
      background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1208;
      border: none; box-shadow: 0 12px 30px rgba(243,185,122,.28);
    }
    .cercle-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(243,185,122,.4); }
    .cercle-gift {
      display: inline-flex; align-items: center; gap: .5rem;
      color: var(--gold); font-size: .82rem; font-weight: 700;
    }

    /* Carte de membre Le Cercle (visuel) */
    .cercle-card {
      position: relative;
      border: 1px solid var(--line-gold);
      border-radius: var(--bp-radius-lg);
      background:
        radial-gradient(520px 320px at 90% -10%, rgba(243,185,122,.16), transparent 60%),
        linear-gradient(160deg, rgba(20,30,54,.95), rgba(11,18,32,.95));
      box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
      padding: 1.5rem;
      transform: rotate(1.4deg);
      transition: transform .35s ease;
    }
    .showcase:hover .cercle-card { transform: rotate(0deg) translateY(-4px); }
    .cercle-card__corners i {
      position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--gold); opacity: .6;
    }
    .cercle-card__corners i.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
    .cercle-card__corners i.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
    .cercle-card__corners i.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
    .cercle-card__corners i.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
    .cercle-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
    .cercle-card__seal {
      font-family: Georgia, 'Times New Roman', serif; font-style: italic;
      font-size: 1.15rem; color: var(--gold);
    }
    .cercle-card__chip {
      width: 34px; height: 26px; border-radius: 6px;
      background: linear-gradient(135deg, var(--gold), var(--gold-2)); opacity: .85;
    }
    .cercle-card__name { font-size: 1.45rem; font-weight: 900; color: #fff; line-height: 1; }
    .cercle-card__role { margin-top: .35rem; color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
    .cercle-card__rooms { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
    .cercle-card__row {
      display: flex; align-items: center; gap: .6rem;
      color: var(--text); font-size: .82rem; font-weight: 600;
    }
    .cercle-card__row svg { width: 17px; height: 17px; color: var(--gold); flex: 0 0 auto; }
    .cercle-card__row b { margin-left: auto; color: var(--gold); font-weight: 800; font-size: .72rem; }
    .cercle-card__gift {
      margin-top: 1.3rem; padding: .7rem .9rem; border-radius: 12px;
      border: 1px dashed var(--line-gold); background: rgba(243,185,122,.08);
      display: flex; align-items: center; gap: .6rem;
      color: var(--text); font-size: .84rem;
    }
    .cercle-card__gift b { color: var(--gold); }

    /* Figure « salon » (illustration SVG, ou vraie photo si fournie) */
    .cercle-salon {
      position: relative; margin: 0;
      border: 1px solid var(--line-gold);
      border-radius: var(--bp-radius-lg);
      overflow: hidden;
      aspect-ratio: 5 / 4;
      background: linear-gradient(160deg, rgba(20,30,54,.95), rgba(11,18,32,.95));
      box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
      transform: rotate(1.2deg);
      transition: transform .35s ease;
    }
    .showcase:hover .cercle-salon { transform: rotate(0deg) translateY(-4px); }
    .cercle-salon__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
    /* Variante photo : .cercle-salon--photo + style="--salon-img:url('…')" */
    .cercle-salon--photo .cercle-salon__art { display: none; }
    .cercle-salon--photo::before {
      content: ""; position: absolute; inset: 0;
      background-image: linear-gradient(180deg, rgba(11,18,32,0) 40%, rgba(11,18,32,.8) 100%), var(--salon-img);
      background-size: cover; background-position: center;
    }
    .cercle-salon__corners i { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--gold); opacity: .6; z-index: 2; }
    .cercle-salon__corners i.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
    .cercle-salon__corners i.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
    .cercle-salon__corners i.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
    .cercle-salon__corners i.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
    .cercle-salon__cap {
      position: absolute; left: 16px; bottom: 16px; z-index: 2;
      font-family: Georgia, 'Times New Roman', serif; font-style: italic;
      font-size: 1.05rem; color: var(--gold);
      text-shadow: 0 2px 12px rgba(0,0,0,.6);
    }
    .cercle-salon__gift {
      position: absolute; right: 14px; top: 14px; z-index: 2;
      display: inline-flex; align-items: center; gap: .35rem;
      padding: .4rem .7rem; border-radius: 999px;
      border: 1px solid var(--line-gold); background: rgba(11,18,32,.7);
      backdrop-filter: blur(8px);
      color: var(--text); font-size: .74rem; font-weight: 700;
    }
    .cercle-salon__gift b { color: var(--gold); }

    /* Bandeau « places limitées » */
    .cercle-seats {
      display: flex; align-items: center; gap: .8rem;
      padding: .85rem 1rem; margin-bottom: 1.3rem;
      border: 1px solid var(--line-gold); border-radius: 14px; background: rgba(243,185,122,.06);
    }
    .cercle-seats__dot {
      width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
      box-shadow: 0 0 0 0 rgba(243,185,122,.6); animation: cerclePulse 2.4s ease-out infinite;
    }
    @keyframes cerclePulse {
      0% { box-shadow: 0 0 0 0 rgba(243,185,122,.5); }
      70% { box-shadow: 0 0 0 12px rgba(243,185,122,0); }
      100% { box-shadow: 0 0 0 0 rgba(243,185,122,0); }
    }
    .cercle-seats__txt { font-size: .85rem; color: var(--text); font-weight: 600; }
    .cercle-seats__txt b { color: var(--gold); font-weight: 800; }

    @media (max-width: 980px) {
      .showcase__grid { grid-template-columns: 1fr; gap: 2rem; }
      .showcase--pulse .showcase__visual { order: 2; }
      .pz-preview, .cercle-card, .cercle-salon { transform: none; max-width: 460px; margin: 0 auto; }
    }
    @media (max-width: 560px) {
      .cercle-rooms { grid-template-columns: 1fr; }
      .pz-kpis { grid-template-columns: 1fr 1fr; }
      .showcase__actions { flex-direction: column; align-items: stretch; }
      .showcase__actions .bp-btn, .showcase__actions .cercle-btn { width: 100%; }
    }

    /* ============================================================
       FOCUS / ACCESSIBILITÉ
       ============================================================ */
    :is(a, button, .btn):focus-visible {
      outline: 3px solid color-mix(in oklab, var(--accent) 80%, white 20%);
      outline-offset: 2px;
    }

    /* ============================================================
       FOOTER (matchant ecosysteme.php)
       ============================================================ */
    footer.site-footer {
      text-align: center;
      padding: 20px;
      color: var(--muted);
      font-size: 13px;
      border-top: 1px solid rgba(14,159,110,.3);
      background: transparent;
      margin-top: auto;
    }
    footer.site-footer a { color: var(--muted); text-decoration: none; margin: 0 6px; }
    footer.site-footer a:hover { color: var(--accent); text-decoration: underline; }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 1200px) {
      .value-grid { grid-template-columns: repeat(2, 1fr); }
      .pick-grid { grid-template-columns: 1fr 1fr; }
      .pick-card.featured { grid-column: span 2; }
    }
    @media (max-width: 1080px) {
      .hero-panel { grid-template-columns: 1fr; }
    }
    @media (max-width: 820px) {
      :root { --bp-header-offset: 96px; }
      .hero-trust { gap: 1rem 1.4rem; }
      .visual-sub-grid { grid-template-columns: 1fr; }
      .section-head { align-items: flex-start; flex-direction: column; }
      .value-grid { grid-template-columns: 1fr; }
      .pick-grid { grid-template-columns: 1fr; }
      .pick-card.featured { grid-column: span 1; }
    }
    @media (max-width: 640px) {
      .home-shell { width: min(calc(100% - 1rem), var(--bp-container)); }
      .hero-panel, .section-card, .final-cta { border-radius: 22px; padding: 1.3rem; }
      .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
      .hero-actions, .community-actions, .final-cta__actions { flex-direction: column; }
      .bp-btn, .bp-btn-secondary, .community-btn { width: 100%; justify-content: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }

    /* ====================================================================
       VERSION MOBILE - FEED D'ACCUEIL (style Flipboard)
       Le bloc desktop existant reste 100% intact. Sous 768px, on le cache
       et on affiche à la place le feed avec carte hero + cartes compactes.
       ==================================================================== */
    .m-home-feed { display: none; }
    .m-promos { display: none; }

    @media (max-width: 768px) {
      /* Teasers produits en tête de feed mobile */
      .m-promos {
        display: flex; flex-direction: column; gap: 12px;
        padding: 14px 14px 0;
        margin-top: calc(56px + env(safe-area-inset-top));
      }
      .m-promos + .m-home-feed { margin-top: 12px; }
      .m-promo {
        position: relative; overflow: hidden;
        display: block; text-decoration: none; color: inherit;
        border-radius: 16px; padding: 16px;
        border: 1px solid rgba(14,159,110,.34);
        background:
          radial-gradient(420px 200px at 100% -20%, rgba(13,148,136,.28), transparent 60%),
          linear-gradient(160deg, rgba(20,28,50,.96), rgba(13,20,38,.96));
      }
      .m-promo:active { transform: scale(.99); }
      .m-promo__tag {
        display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
        text-transform: uppercase; color: var(--accent-3); margin-bottom: 8px;
      }
      .m-promo__title { margin: 0 0 4px; font-size: 1.15rem; font-weight: 900; color: #fff; line-height: 1.15; }
      .m-promo__title .grad {
        background: linear-gradient(90deg, var(--accent), var(--accent-3));
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
      }
      .m-promo__text { margin: 0 0 12px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
      .m-promo__cta {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: .85rem; font-weight: 800;
        padding: 9px 14px; border-radius: 11px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff;
      }
      .m-promo__cta svg { width: 15px; height: 15px; }
      .m-promo--cercle { border-color: var(--line-gold); }
      .m-promo--cercle::before {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: radial-gradient(420px 200px at 0% -20%, rgba(243,185,122,.22), transparent 60%);
      }
      .m-promo--cercle .m-promo__tag { color: var(--gold); }
      .m-promo--cercle .m-promo__title .grad {
        background: linear-gradient(90deg, var(--gold), var(--gold-2));
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
      }
      .m-promo--cercle .m-promo__cta { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1208; }
      .m-promo__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
      .m-promo__chip {
        font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 8px;
        border: 1px solid rgba(14,159,110,.3); background: rgba(255,255,255,.04); color: var(--text);
      }
      .m-promo--cercle .m-promo__chip { border-color: var(--line-gold); color: var(--gold); }
      .m-promo__seats { font-size: .76rem; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
      /* Masquer le contenu desktop */
      body main.home-page,
      body .bg-orbs { display: none !important; }

      /* Afficher le feed mobile, sous la topbar */
      .m-home-feed {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        margin-top: calc(56px + env(safe-area-inset-top));
      }

      /* Cartes - base commune */
      .m-home-feed .m-card {
        display: block;
        background: #131a2a;
        border: 1px solid rgba(14,159,110, 0.25);
        border-radius: 14px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        transition: transform 180ms ease, border-color 180ms ease;
      }
      .m-home-feed .m-card:active {
        transform: scale(0.98);
        border-color: rgba(14,159,110, 0.55);
      }

      /* Carte HERO (le 1er article, grande) */
      .m-home-feed .m-card--hero {
        background: #1a2235;
        border-color: rgba(14,159,110, 0.35);
      }
      .m-home-feed .m-card--hero .m-card-image {
        height: 180px;
        background:
          linear-gradient(135deg, rgba(14,159,110, 0.30) 0%, rgba(13,148,136, 0.10) 100%),
          radial-gradient(circle at 30% 40%, rgba(14,159,110, 0.35), transparent 60%),
          #12302a;
        display: flex; align-items: center; justify-content: center;
      }
      /* Variante avec une vraie image */
      .m-home-feed .m-card--hero.m-card--has-image .m-card-image {
        background-image:
          linear-gradient(180deg, rgba(11,18,32,0) 50%, rgba(11,18,32,0.55) 100%),
          var(--m-card-img);
        background-size: cover, cover;
        background-position: center, center;
        background-repeat: no-repeat, no-repeat;
      }
      .m-home-feed .m-card--hero .m-card-imghint {
        color: rgba(167,220,200, 0.7);
        font-size: 12px;
        letter-spacing: 0.3px;
      }
      .m-home-feed .m-card--hero .m-card-body { padding: 12px 14px 14px; }
      .m-home-feed .m-card--hero .m-card-cat {
        display: inline-block;
        background: #0E9F6E; color: #fff;
        font-size: 11px; font-weight: 600;
        padding: 3px 9px; border-radius: 6px;
        letter-spacing: 0.3px;
        margin-bottom: 8px;
      }
      .m-home-feed .m-card--hero .m-card-title {
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 0 6px;
        color: #fff;
        /* Couper proprement à 3 lignes max */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      /* Cartes compactes (articles suivants) */
      .m-home-feed .m-card--row {
        display: flex;
        gap: 12px;
        padding: 10px;
        align-items: stretch;
      }
      .m-home-feed .m-card--row .m-card-thumb {
        width: 72px; height: 72px;
        flex-shrink: 0;
        background:
          radial-gradient(circle at 40% 40%, rgba(14,159,110, 0.3), transparent 70%),
          #12302a;
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
      }
      /* Variante avec une vraie image */
      .m-home-feed .m-card--row.m-card--has-image .m-card-thumb {
        background-image: var(--m-card-img);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
      .m-home-feed .m-card--row .m-card-imghint {
        color: rgba(167,220,200, 0.55);
        font-size: 11px;
      }
      .m-home-feed .m-card--row .m-card-body {
        flex: 1; min-width: 0;
        display: flex; flex-direction: column; justify-content: center;
        gap: 4px;
      }
      .m-home-feed .m-card--row .m-card-title {
        font-size: 0.92rem;
        font-weight: 500;
        line-height: 1.3;
        margin: 0;
        color: #e6e9ef;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      /* Métadonnées (date · catégorie) */
      .m-home-feed .m-card-meta {
        font-size: 11px;
        color: #9ba5b7;
        margin: 0;
      }

      .m-feed-empty {
        text-align: center;
        color: #9ba5b7;
        padding: 40px 20px;
        font-size: 14px;
      }
    }
  
    
        /* Scrollbar personnalisée pour toutes les pages */
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(11, 18, 32, 0.4);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #0E9F6E, #0D9488);
            border-radius: 10px;
            border: 2px solid rgba(11, 18, 32, 0.3);
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #12B886, #14B8A6);
        }
        
        /* Pour Firefox */
        * {
            scrollbar-width: thin;
            scrollbar-color: #0E9F6E rgba(11, 18, 32, 0.4);
        }

:root {
    --bp-g1: #0E9F6E;
    --bp-g2: #0D9488;
    --bp-text: #e6e9ef;
}

.bp-auth-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar seul */
.bp-avatar-link {
    display: inline-flex;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.bp-avatar-link:hover {
    transform: scale(1.05);
}

.bp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bp-g1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Liens de connexion pour non-connectés */
.bp-auth-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bp-auth-link {
    color: var(--bp-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.bp-auth-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bp-auth-primary {
    background: linear-gradient(90deg, var(--bp-g1), var(--bp-g2));
    color: white;
}

.bp-auth-primary:hover {
    background: linear-gradient(90deg, var(--bp-g2), var(--bp-g1));
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 980px) {
    .bp-auth-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .bp-avatar {
        width: 36px;
        height: 36px;
    }
}


/* reset l'espace du haut */
html, body { margin:0; padding:0; }

:root{
  --bp-bg:#0B1220; --bp-surface:#0D1422; --bp-line:rgba(255,255,255,.12);
  --bp-text:#ECE9FF; --bp-muted:#B9B5D3;
  --bp-g1:#059669; --bp-g2:#6EE7B7; --bp-g3:#2DD4BF;
}

/* HEADER désormais FIXE */
.bp-header{
  position: fixed; top:0; left:0; right:0; z-index:1100;
  background:rgba(11,18,32,.78);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--bp-line);
}
.bp-wrap{
  max-width:1400px; margin:0 auto; padding:10px 16px;
  display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:center;
  justify-content: center;
}
.bp-brand{display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--bp-text);}
.bp-logo{
  width:40px; 
  height:40px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #059669;
  box-shadow: 0 0 10px rgba(5,150,105, 0.3);
}
.bp-title{font-weight:700; font-size:1.35rem; line-height:1;
  background:linear-gradient(90deg,var(--bp-g1),var(--bp-g2),var(--bp-g3));
  -webkit-background-clip:text; background-clip:text; color:transparent;}

.bp-menu-toggle{display:none; border:1px solid var(--bp-line); background:transparent; color:var(--bp-text);
  border-radius:12px; padding:.4rem .55rem; }
.bp-menu-toggle:focus-visible{outline:2px solid var(--bp-g2); outline-offset:2px;}

.bp-nav{display:flex; justify-content:center; gap:22px; align-items:center; flex-wrap: wrap;}
.bp-link{position:relative; color:var(--bp-text); text-decoration:none; font-weight:600; padding:.35rem .2rem;}
.bp-link::after{content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; transform:scaleX(0);
  background:linear-gradient(90deg,var(--bp-g1),var(--bp-g2),var(--bp-g3)); transition:transform .25s ease;}
.bp-link:hover::after{transform:scaleX(1);} .bp-link.active::after{transform:scaleX(1);}

.bp-actions{display:flex; align-items:center; gap:10px; justify-self:end;}

/* ============================================================
   Bouton "Messages reçus" — réservé aux fondateurs
   ============================================================ */
.bp-mail-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(14,159,110, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #e6e9ef;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  flex-shrink: 0;
}
.bp-mail-btn svg{
  width: 19px;
  height: 19px;
  transition: transform .2s ease;
}
.bp-mail-btn:hover{
  background: linear-gradient(135deg, rgba(13,148,136,.25), rgba(14,159,110,.18));
  border-color: rgba(14,159,110, 0.7);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13,148,136,.35);
}
.bp-mail-btn:hover svg{ transform: scale(1.06); }
.bp-mail-btn:focus-visible{
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* Bouton Le-Cercle (membres premium) — accent doré */
.bp-cercle-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(14,159,110,.12));
  color: #e7c873;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  flex-shrink: 0;
}
.bp-cercle-btn svg{
  width: 19px;
  height: 19px;
  transition: transform .2s ease;
}
.bp-cercle-btn:hover{
  background: linear-gradient(135deg, rgba(212,175,55,.3), rgba(14,159,110,.2));
  border-color: rgba(212, 175, 55, 0.9);
  color: #f3d98a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212,175,55,.3);
}
.bp-cercle-btn:hover svg{ transform: scale(1.06); }
.bp-cercle-btn:focus-visible{
  outline: 2px solid #e7c873;
  outline-offset: 2px;
}

/* Badge compteur — animé doucement quand > 0 pour attirer l'œil */
.bp-mail-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #0b1220;
  box-shadow: 0 2px 8px rgba(239, 68, 68, .5);
  animation: bpMailPulse 2.4s ease-in-out infinite;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@keyframes bpMailPulse{
  0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(239, 68, 68, .5); }
  50%      { transform: scale(1.1); box-shadow: 0 2px 14px rgba(239, 68, 68, .8); }
}
@media (prefers-reduced-motion: reduce){
  .bp-mail-badge{ animation: none; }
}

/* Bouton PulseClub (partenaires) */
.bp-link-club {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(14,159,110,.15), rgba(13,148,136,.15));
  border: 1px solid rgba(14,159,110,.4);
  color: #6EE7B7;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.bp-link-club svg {
  width: 15px;
  height: 15px;
  stroke: #6EE7B7;
  transition: stroke 0.3s ease;
}

.bp-link-club:hover {
  background: linear-gradient(135deg, rgba(14,159,110,.28), rgba(13,148,136,.28));
  border-color: rgba(110,231,183,.6);
  color: #D1FAE5;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,159,110,.25);
}

.bp-link-club:hover svg {
  stroke: #D1FAE5;
}

.bp-link-club.active {
  background: linear-gradient(135deg, rgba(14,159,110,.3), rgba(13,148,136,.3));
  border-color: rgba(110,231,183,.7);
  color: #fff;
  box-shadow: 0 0 12px rgba(14,159,110,.3);
}

.bp-link-club.active svg {
  stroke: #fff;
}

/* ============================================================
   Bouton "Partenaire" — réservé aux utilisateurs partenaires
   Variante orange/dorée avec icône étoile (remplace PulseClub
   et PulseZone pour ce rôle)
   ============================================================ */
.bp-link-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,165,0,.18), rgba(255,193,7,.18));
  border: 1px solid rgba(255,179,0,.55);
  color: #FFD27A;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,179,0,.15);
}

.bp-link-partner svg {
  width: 15px;
  height: 15px;
  fill: #FFC857;
  stroke: #FFC857;
  filter: drop-shadow(0 0 4px rgba(255,200,87,.5));
  transition: all 0.3s ease;
}

.bp-link-partner:hover {
  background: linear-gradient(135deg, rgba(255,165,0,.32), rgba(255,193,7,.32));
  border-color: rgba(255,210,122,.85);
  color: #FFEAB6;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255,179,0,.35);
}

.bp-link-partner:hover svg {
  fill: #FFEAB6;
  stroke: #FFEAB6;
  filter: drop-shadow(0 0 6px rgba(255,234,182,.7));
}

.bp-link-partner.active {
  background: linear-gradient(135deg, rgba(255,165,0,.4), rgba(255,193,7,.4));
  border-color: rgba(255,210,122,.95);
  color: #fff;
  box-shadow: 0 0 14px rgba(255,179,0,.45);
}

.bp-link-partner.active svg {
  fill: #fff;
  stroke: #fff;
}

/* Affichage des jetons dans la navigation */
.bp-tokens-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(5,150,105, 0.1);
  border: 1px solid rgba(5,150,105, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  color: #059669;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 10px;
  min-width: 120px;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bp-tokens-nav:hover {
  background: rgba(5,150,105, 0.2);
  border-color: rgba(5,150,105, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5,150,105, 0.2);
}

.bp-tokens-amount {
  color: #059669;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.bp-tokens-emoji {
  font-size: 0.9rem;
  margin-left: 2px;
}

/* liens du menu */
.bp-link{
  position:relative;
  color: var(--bp-text);
  text-decoration:none;
  font-weight:600;
  padding:.35rem .2rem;
  white-space: nowrap;
}

/* soulignement dégradé */
.bp-link::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px; height:2px;
  transform:scaleX(0); transition:transform .25s ease;
  background: var(--grad-5, linear-gradient(90deg,#059669,#6EE7B7,#2DD4BF));
}

/* quand hover / focus clavier / actif : texte en dégradé + soulignement visible */
.bp-link:hover,
.bp-link:focus,
.bp-link.active{
  background: var(--grad-5, linear-gradient(90deg,#047857,#059669,#6EE7B7,#2DD4BF,#A5B4FC));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bp-link:hover::after,
.bp-link:focus::after,
.bp-link.active::after{
  transform: scaleX(1);
}

html, body { margin:0; padding:0; }

/* Valeur de secours */
:root{ --bp-header-h: 64px; }

/* IMPORTANT: pousse tout le contenu sous le header fixe */
body { padding-top: var(--bp-header-h); }

/* Scrollbar personnalisée (version améliorée) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(11, 18, 32, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #059669, #6EE7B7);
    border-radius: 10px;
    border: 2px solid rgba(11, 18, 32, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857, #D4AF37);
}

/* Pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #059669 rgba(11, 18, 32, 0.4);
}

/* Mobile */
@media (max-width: 980px){
  .bp-wrap{
    grid-template-columns:auto auto 1fr;
    max-width: 100%;
  }
  .bp-menu-toggle{display:inline-flex; justify-self:start;}
  .bp-nav{
    position:absolute; left:0; right:0; top:100%;
    display:none; flex-direction:column; gap:8px; padding:10px 16px;
    background:var(--bp-surface); border-bottom:1px solid var(--bp-line);
    align-items: flex-start;
  }
  .bp-nav.bp-open{display:flex;}
  .bp-actions{justify-self:end;}
  
  .bp-tokens-nav {
    margin-left: 0;
    margin-top: 5px;
    align-self: flex-start;
    min-width: 100px;
    padding: 6px 12px;
  }
  
  .bp-link-club {
    padding: 5px 10px;
    font-size: 0.82rem;
  }

  .bp-link-partner {
    padding: 5px 10px;
    font-size: 0.82rem;
  }
}

@media (min-width: 1400px) {
  .bp-wrap {
    max-width: 1600px;
  }
}

/* ========================================================================
   VERSION MOBILE — APPLICATION
   Tout le rendu app-style sous 768px de large.
   La version desktop n'est PAS impactée (tout est dans la media query).
   Centralisé ici pour que toute modification se propage à TOUTES les pages
   du site sans avoir à éditer fichier par fichier.

   Note de spécificité : les sélecteurs « body .xxx » sont volontaires —
   ils permettent de surcharger les styles inline déclarés dans chaque
   fichier de page (qui apparaissent après ce partial dans le DOM).
   ======================================================================== */

/* Éléments mobile cachés par défaut sur desktop */
.m-topbar, .m-cover, .m-bottomnav, .m-bottombar-spacer { display: none; }

@media (max-width: 768px) {

  /* 1. Masquage des éléments desktop */
  body header.bp-header,
  body footer.site-footer,
  body nav.breadcrumb { display: none !important; }

  /* 2. Reset du layout général
        Le padding-top:0 est nécessaire car la topbar mobile remplace
        le header desktop (qui imposait un offset). Pour le bas, on n'utilise
        plus de padding sur body : un espaceur HTML placé dans footer.php
        gère ça de manière infaillible (voir .m-bottombar-spacer plus bas). */
  body {
    padding-top: 0 !important;
    box-sizing: border-box;
  }
  body .article-page { padding: 0; }
  body .article-shell { width: 100%; }

  /* Espaceur en flux normal (alimenté par JS depuis footer.php) :
     pousse physiquement le contenu de la page au-dessus de la barre fixe.
     Hauteur de secours : 100px si JS n'a pas encore tourné. */
  .m-bottombar-spacer {
    display: block;
    width: 100%;
    height: var(--m-bottombar-h, 100px);
    flex-shrink: 0; /* important si body est en flex */
  }

  /* 3. Barre du HAUT (fixée) */
  .m-topbar {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14,159,110, 0.25);
  }
  .m-topbar .m-iconbtn {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: none; padding: 0;
    color: #e6e9ef; cursor: pointer;
    border-radius: 10px;
    transition: background 180ms ease;
  }
  .m-topbar .m-iconbtn:active { background: rgba(14,159,110, 0.15); }
  .m-topbar .m-iconbtn svg { width: 22px; height: 22px; }
  /* Variante Le-Cercle (membres premium) — accent doré */
  .m-topbar .m-iconbtn--cercle { color: #e7c873; }
  .m-topbar .m-iconbtn--cercle:active { background: rgba(212, 175, 55, 0.18); }
  /* Variante Staff (réservée fondateurs) — accent violet */
  .m-topbar .m-iconbtn--staff { color: #D4AF37; }
  .m-topbar .m-iconbtn--staff:active { background: rgba(14,159,110, 0.2); }

  /* ============================================================
     AVATAR + ACTIONS : wrapper qui place avatar + bouton(s) à droite
     ============================================================
     .m-topbar-actions = container flex pour grouper avatar + share/loupe
     .m-avatar-btn     = cercle 32px, 3 états (déconnecté / connecté image / connecté initiales)
     ============================================================ */
  .m-topbar .m-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .m-topbar .m-avatar-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(14,159,110, 0.12);
    border: 1px solid rgba(14,159,110, 0.3);
    color: var(--accent-3, #D4AF37);
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
  }
  .m-topbar .m-avatar-btn:active {
    transform: scale(0.92);
    background: rgba(14,159,110, 0.25);
  }
  .m-topbar .m-avatar-btn svg {
    width: 16px;
    height: 16px;
  }
  .m-topbar .m-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .m-topbar .m-avatar-btn .m-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent, #0E9F6E), var(--accent-2, #0D9488));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
  }

  /* État connecté : juste une bordure violette plus marquée et un fond
     légèrement plus visible pour signaler "vous êtes connecté", sans
     dot ni indicateur supplémentaire. */
  .m-topbar .m-avatar-btn--logged {
    border-color: var(--accent, #0E9F6E);
    background: linear-gradient(135deg, rgba(13,148,136, .18), rgba(14,159,110, .1));
  }
  .m-topbar .m-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; flex: 1; justify-content: center;
  }
  /* Variantes "home" et "page" — logo aligné à gauche, pas de bouton retour */
  .m-topbar--home .m-brand,
  .m-topbar--page .m-brand { justify-content: flex-start; padding-left: 4px; }

  /* Barre de recherche : masquée par défaut, révélée quand la topbar
     reçoit la classe .m-search-active (ajoutée par le JS du footer). */
  .m-topbar .m-search-bar {
    display: none;
    flex: 1;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(14,159,110, 0.35);
    border-radius: 10px;
    padding: 4px 10px;
    transition: border-color 180ms ease;
  }
  .m-topbar .m-search-bar:focus-within {
    border-color: #0E9F6E;
  }
  .m-topbar .m-search-bar__icon {
    width: 18px; height: 18px;
    color: #9ba5b7;
    flex-shrink: 0;
  }
  .m-topbar .m-search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #e6e9ef;
    font-size: 14px;
    font-family: inherit;
    padding: 6px 0;
  }
  .m-topbar .m-search-input::placeholder { color: #9ba5b7; }
  .m-topbar .m-search-close { width: 30px; height: 30px; }
  .m-topbar .m-search-close svg { width: 18px; height: 18px; }

  /* Quand la recherche est ouverte : on cache logo + bouton loupe,
     on affiche la barre de recherche en pleine largeur. */
  .m-topbar.m-search-active .m-brand,
  .m-topbar.m-search-active .m-search-toggle { display: none; }
  .m-topbar.m-search-active .m-search-bar { display: flex; }
  .m-topbar .m-brand img {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid #0E9F6E;
  }
  .m-topbar .m-brand span {
    font-size: 15px; font-weight: 600;
    background: linear-gradient(90deg, #0E9F6E, #0D9488);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* 4. Zone HERO / cover (sous la topbar, optionnelle) */
  .m-cover {
    display: block;
    position: relative;
    height: 180px;
    margin-top: calc(56px + env(safe-area-inset-top));
    background:
      linear-gradient(135deg, rgba(14,159,110, 0.35) 0%, rgba(13,148,136, 0.15) 100%),
      radial-gradient(circle at 30% 40%, rgba(14,159,110, 0.4), transparent 60%),
      #0b1220;
    overflow: hidden;
  }
  /* Variante avec une vraie image d'article */
  .m-cover--has-image {
    background-image:
      linear-gradient(180deg, rgba(11,18,32,0.15) 0%, rgba(11,18,32,0.65) 100%),
      var(--m-cover-img);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }
  .m-cover::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, #0b1220 100%);
    pointer-events: none;
  }
  .m-cover-cat {
    position: absolute; top: 14px; left: 14px;
    background: #0E9F6E; color: #fff;
    font-size: 12px; font-weight: 600;
    padding: 5px 10px; border-radius: 8px;
    letter-spacing: 0.3px;
  }
  /* Si pas de cover, on compense le padding de topbar quand même */
  body:not(:has(.m-cover)) main,
  body:not(:has(.m-cover)) > .article-page {
    margin-top: calc(56px + env(safe-area-inset-top));
  }

  /* 5. Restyle du contenu existant pour le mobile */
  body .article-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 18px 24px;
  }
  body .article-meta { gap: 6px; margin-bottom: 12px; }
  body .article-meta .meta-badge { font-size: 11px; padding: 3px 8px; }
  body .article-title { font-size: 1.55rem; line-height: 1.2; margin: 8px 0 10px; }
  body .article-subtitle { font-size: 1rem; line-height: 1.5; margin-bottom: 18px; }
  body .key-points { padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; }
  body .key-points-title { font-size: 0.95rem; }
  body .key-points li { font-size: 0.92rem; line-height: 1.5; }
  body .article-body { font-size: 0.98rem; line-height: 1.65; text-align: left; }
  body .article-body p { text-align: left; margin-bottom: 1.1rem; }
  body .article-body h2 { font-size: 1.2rem; margin: 1.8rem 0 0.8rem; }
  body .article-body h3 { font-size: 1.05rem; margin: 1.4rem 0 0.6rem; }
  body .article-tags { gap: 6px; margin-top: 18px; }
  body .article-tags .tag { font-size: 12px; padding: 4px 10px; }
  body .author-card { margin: 18px 14px 8px; padding: 14px; border-radius: 14px; }

  /* 6. Barre de NAVIGATION du bas (fixée) */
  .m-bottomnav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    justify-content: space-around;
    align-items: stretch;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: #0b1220;
    border-top: 1px solid rgba(14,159,110, 0.3);
  }
  .m-bottomnav .m-nav {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    padding: 6px 4px;
    text-decoration: none;
    color: #9ba5b7;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 180ms ease;
    border-radius: 10px;
  }
  .m-bottomnav .m-nav svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8;
  }
  .m-bottomnav .m-nav:active { color: #0E9F6E; background: rgba(14,159,110, 0.08); }
  .m-bottomnav .m-nav.active { color: #0E9F6E; }
}


/* ============================================================
   FOOTER & BOTTOM NAV — charte BlockPulseNews
   Mêmes variables que header.php / index.php : --accent, --bg,
   --text, --muted, --bp-border, --bp-radius-sm, --bp-transition.
   Si ces variables ne sont pas définies par la page, on prévoit
   des fallbacks pour ne pas casser le rendu.
   ============================================================ */

/* --------- Footer principal --------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.6rem 1.2rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted, #9ba5b7);
  background: linear-gradient(180deg, transparent, rgba(14,159,110, .06));
  border-top: 1px solid var(--bp-border, rgba(14,159,110, .3));
}
.site-footer a {
  color: var(--accent-3, #D4AF37);
  text-decoration: none;
  transition: color var(--bp-transition, 220ms ease);
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent, #0E9F6E);
  text-decoration: underline;
}

/* --------- Spacer mobile (réserve la hauteur de la barre du bas) --------- */
.m-bottombar-spacer { display: none; }

/* --------- Barre de navigation mobile (fixe en bas, <768px) --------- */
.m-bottomnav { display: none; }

@media (max-width: 768px) {
  .m-bottombar-spacer {
    display: block;
    height: var(--m-bottombar-h, 64px);
    flex: 0 0 auto;
  }
  .m-bottomnav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .15rem;
    padding: .45rem .4rem calc(.45rem + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 18, 32, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--bp-border, rgba(14,159,110, .3));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .4);
  }
  .m-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: .35rem .25rem;
    text-decoration: none;
    color: var(--muted, #9ba5b7);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: var(--bp-radius-sm, 14px);
    transition: color var(--bp-transition, 220ms ease),
                background var(--bp-transition, 220ms ease);
  }
  .m-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  .m-nav:hover,
  .m-nav:focus-visible {
    color: var(--accent-3, #D4AF37);
    background: rgba(14,159,110, .08);
  }
  .m-nav.active {
    color: var(--accent-3, #D4AF37);
    background: rgba(14,159,110, .15);
  }

  /* Sur mobile on enlève la bordure haute du footer pour ne pas
     créer un trait visuel juste au-dessus de la bottom nav. */
  .site-footer { border-top: none; }
}

