/* ══════════════════════════════════════════════
   index.css — TOPPOPOTE Homepage v2 Night Kitchen
   Dark mode par défaut, light overrides en bas
══════════════════════════════════════════════ */

:root { --g: #34d399; --g2: #10b981; --amber: #f59e0b; }

/* ── RESET / BASE ─────────────────────────── */
.hp-page { background: #030f07; margin-bottom: -1px; line-height: normal; font-size: 16px; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  display: flex; flex-direction: column;
}
.hp-hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hp-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=85&w=2070&auto=format&fit=crop');
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  animation: hpZoom 22s ease-in-out infinite alternate;
}
@keyframes hpZoom { from{transform:scale(1.06);} to{transform:scale(1.13);} }
.hp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #030f07 0%, rgba(3,15,7,0.88) 35%, rgba(3,15,7,0.28) 65%, rgba(3,15,7,0.50) 100%);
}
.hp-hero-glow {
  position: absolute; bottom: -120px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hp-hero-grain {
  position: absolute; inset: 0; opacity: .03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Hero content layout */
.hp-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: end; gap: 48px;
  min-height: 100vh; padding-top: 110px; padding-bottom: 100px;
}

/* Hero text col */
.hp-hero-text { display: flex; flex-direction: column; }
.hp-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 18px; width: fit-content;
}
.hp-hero-pill-dot { width: 6px; height: 6px; background: #fbbf24; border-radius: 50%; animation: hpPulse 2s infinite; }
.hp-hero-pill span { font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: 2px; }
@keyframes hpPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.8);} }

.hp-hero-chef-label {
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700;
  color: #34d399; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 6px;
}
.hp-hero-name {
  font-family: 'Poppins',sans-serif; font-weight: 900;
  font-size: clamp(48px, 7vw, 86px); color: #fff;
  line-height: 1.05; text-transform: capitalize; letter-spacing: -2px;
  margin-bottom: 20px; text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hp-hero-tagline {
  font-family: 'DM Sans',sans-serif; font-size: 16px; font-style: italic;
  color: rgba(255,255,255,.72); max-width: 400px; line-height: 1.7;
  margin-bottom: 36px;
  border-left: 2px solid rgba(52,211,153,.4); padding-left: 16px;
}
.hp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-hero-btn-primary {
  display: inline-flex; align-items: center; padding: 13px 28px;
  background: linear-gradient(135deg, #34d399, #059669); border-radius: 16px;
  font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 700; color: #fff;
  text-decoration: none; box-shadow: 0 4px 20px rgba(52,211,153,.35);
  transition: all .2s;
}
.hp-hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(52,211,153,.5); color: #fff; text-decoration: none; }
.hp-hero-btn-ghost {
  display: inline-flex; align-items: center; padding: 13px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px); border-radius: 16px;
  font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85);
  text-decoration: none; transition: all .2s;
}
.hp-hero-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; text-decoration: none; }

/* Hero card col */
.hp-hero-card-wrap { display: flex; flex-direction: column; gap: 14px; }
.hp-hero-card-featured {
  display: block; position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/3; text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .4s, box-shadow .4s;
}
.hp-hero-card-featured:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.hp-hero-card-featured img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-hero-card-placeholder { width: 100%; height: 100%; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.hp-hero-card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.hp-hero-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.hp-hero-card-badge {
  display: inline-flex; align-items: center;
  background: rgba(245,158,11,.18); border: 1px solid rgba(245,158,11,.35);
  border-radius: 999px; padding: 4px 12px;
  font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700;
  color: #fbbf24; margin-bottom: 8px;
}
.hp-hero-card-title {
  font-family: 'Poppins',sans-serif; font-size: 18px; font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 8px;
}
.hp-hero-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.7);
}

/* Mini cards row */
.hp-hero-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-hero-mini-card {
  display: block; position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/9; text-decoration: none;
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s, box-shadow .3s;
}
.hp-hero-mini-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.45); }
.hp-hero-mini-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-hero-mini-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%); }
.hp-hero-mini-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; }
.hp-hero-mini-title { font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 2px; }
.hp-hero-mini-time { font-size: 10px; color: rgba(255,255,255,.6); }

/* Scroll hint */
.hp-hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-family: 'Poppins',sans-serif; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  animation: hpBob 2.5s ease-in-out infinite;
}
.hp-hero-scroll-arrow { font-size: 16px; opacity: .6; }
@keyframes hpBob { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-6px);} }

/* ══════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════ */
.hp-search-zone {
  position: relative; z-index: 50;
  margin-top: 0;
  padding: 40px 24px;  /* padding vertical égal = centrage visuel */
  pointer-events: none;
}
.hp-search-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  pointer-events: auto;
}
/* The form itself is .hp-search-pill */
.hp-search-pill {
  flex: 1; position: relative;
  background: rgba(3,20,12,.92); backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(52,211,153,.2); border-radius: 20px;
  padding: 6px 6px 6px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  transition: box-shadow .25s, border-color .25s;
  height: 56px;
}
.hp-search-pill:focus-within {
  border-color: rgba(52,211,153,.42);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.6), 0 0 0 3px rgba(52,211,153,.1), inset 0 1px 0 rgba(255,255,255,.05);
}
.hp-search-ico { color: rgba(255,255,255,.4); flex-shrink: 0; display: flex; align-items: center; }
.hp-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: 'DM Sans',sans-serif; font-size: 15px; font-weight: 500; color: #fff; padding: 0;
}
.hp-search-input::placeholder { color: rgba(255,255,255,.38); }
.hp-search-divider { width: 1px; height: 28px; background: rgba(255,255,255,.07); flex-shrink: 0; }
.hp-search-filter {
  display: flex; align-items: center; gap: 7px; padding: 9px 16px; flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
  font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6);
  text-decoration: none; white-space: nowrap; margin-right: 2px; transition: all .2s;
}
.hp-search-filter:hover { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.25); color: #34d399; text-decoration: none; }
.hp-search-cta {
  display: flex; align-items: center; gap: 9px; padding: 0 20px; height: 56px;
  background: linear-gradient(135deg, #f59e0b, #d97706); border-radius: 18px;
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff;
  text-decoration: none; flex-shrink: 0; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(245,158,11,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .2s;
}
.hp-search-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,.5); color: #fff; text-decoration: none; }

/* Live search results */
.js-search-results {
  background: rgba(3,18,10,.97); backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(52,211,153,.18); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4);
  overflow: hidden; max-height: 420px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(52,211,153,.2) transparent;
}
.js-search-results::-webkit-scrollbar { width: 4px; }
.js-search-results::-webkit-scrollbar-track { background: transparent; }
.js-search-results::-webkit-scrollbar-thumb { background: rgba(52,211,153,.2); border-radius: 2px; }
.js-search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; text-decoration: none; transition: background .15s; border-bottom: 1px solid rgba(255,255,255,.05); }
.js-search-results a:last-child { border-bottom: none; }
.js-search-results a:hover { background: rgba(52,211,153,.07); }
.js-search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.js-search-results .result-title { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff; }
.js-search-results .result-meta { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }
.js-search-results .p-4 { color: rgba(255,255,255,.45) !important; }

/* ══════════════════════════════════════════════
   STICKY SECTION NAV
══════════════════════════════════════════════ */
.hp-section-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  pointer-events: none;
  background: transparent;
  border-bottom: none;
  margin-top: 0;
}
.hp-section-nav.scrolled {}
.hp-snav-inner {
  background: rgba(3,12,6,.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(52,211,153,.12);
  border-radius: 999px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  pointer-events: auto;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  width: 100%;
}
.hp-snav-inner::-webkit-scrollbar { display: none; }
.hp-snav-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.45);
  white-space: nowrap; flex-shrink: 0;
  transition: all .2s;
  border: 1px solid transparent;
}
.hp-snav-btn:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); text-decoration: none; }
.hp-snav-btn.active { color: #34d399; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.2); }
.hp-snav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.2); flex-shrink: 0; transition: all .2s;
}
.hp-snav-btn.active .hp-snav-dot { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.8); }

/* ══════════════════════════════════════════════
   MAIN
══════════════════════════════════════════════ */
.hp-main {
  background: #030f07;
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px 80px;  /* padding-top géré par search-zone */
}
.hp-section { margin-bottom: 80px; }
.hp-section:last-of-type { margin-bottom: 0; }

/* ── Section Header ─────────────────────────── */
.hp-section-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.hp-section-hd-left { display: flex; align-items: center; gap: 14px; }
.hp-section-ico {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.16);
}
.hp-ico-planning { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.2); }
.hp-ico-coeur { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.18); }
.hp-ico-vogue { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.18); }
.hp-ico-brigade { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.18); }
.hp-ico-classement { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.22); }
.hp-ico-recentes { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.2); }
.hp-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px; font-weight: 900; color: #fff;
  letter-spacing: -.3px; line-height: 1.15; margin-bottom: 0;
}
.hp-section-sub {
  font-size: 12px; color: rgba(255,255,255,.5);
  margin-top: 4px; font-weight: 500; line-height: 1.5;
}
.hp-section-link {
  font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 700;
  color: rgba(52,211,153,.85); text-decoration: none; text-transform: uppercase;
  letter-spacing: 1px; padding: 8px 16px; border: 1px solid rgba(52,211,153,.16);
  border-radius: 999px; white-space: nowrap; transition: all .2s; flex-shrink: 0;
}
.hp-section-link:hover { background: rgba(52,211,153,.08); color: #34d399; text-decoration: none; }

/* Repas section header */
.hp-repas-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.hp-repas-hd-left { display: flex; align-items: center; gap: 14px; }
.hp-repas-premium-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px;
  background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(251,191,36,.1));
  border: 1px solid rgba(245,158,11,.3); border-radius: 999px;
  font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: #fbbf24;
}

/* ══════════════════════════════════════════════
   REPAS À VENIR
══════════════════════════════════════════════ */
.hp-repas-section {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 28px; padding: 28px 28px 24px; position: relative; overflow: hidden;
}
.hp-repas-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.5), transparent);
}

/* Day selector */
.hp-repas-days {
  display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 4px;
}
.hp-repas-days::-webkit-scrollbar { display: none; }
.hp-repas-day-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 14px; cursor: pointer; flex-shrink: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  transition: all .2s; min-width: 60px; user-select: none;
}
.hp-repas-day-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(52,211,153,.2); }
.hp-repas-day-btn.active { background: rgba(99,102,241,.12); border-color: rgba(99,102,241,.35); }
.hp-repas-day-today {
  position: absolute; top: 6px; right: 6px;
  width: 5px; height: 5px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,.8);
}
.hp-repas-day-name { font-family: 'Poppins',sans-serif; font-size: 9.5px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .8px; line-height: 1; }
.hp-repas-day-btn.active .hp-repas-day-name { color: #a5b4fc; }
.hp-repas-day-num { font-family: 'Poppins',sans-serif; font-size: 21px; font-weight: 900; color: rgba(255,255,255,.75); line-height: 1.1; }
.hp-repas-day-btn.active .hp-repas-day-num { color: #fff; }
.hp-repas-day-dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.hp-repas-day-btn.has-meal .hp-repas-day-dot { background: #34d399; box-shadow: 0 0 5px rgba(52,211,153,.7); }

/* Repas grid (rendered by JS) */
.hp-repas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  min-height: 80px;
}
.hp-repas-slot {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
}
.hp-repas-slot-label { font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1.5px; }
.hp-repas-meal-card {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.07); transition: all .2s;
}
.hp-repas-meal-card:hover { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.2); text-decoration: none; }
.hp-repas-meal-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.hp-repas-meal-info { flex: 1; min-width: 0; }
.hp-repas-meal-title { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-repas-meal-meta { font-size: 10px; color: rgba(255,255,255,.45); margin-top: 2px; }
.hp-repas-slot-empty { font-size: 12px; color: rgba(255,255,255,.25); font-style: italic; }
.hp-repas-add-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(52,211,153,.07); border: 1px dashed rgba(52,211,153,.25);
  font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700;
  color: rgba(52,211,153,.7); text-decoration: none; transition: all .2s;
}
.hp-repas-add-btn:hover { background: rgba(52,211,153,.14); color: #34d399; text-decoration: none; }

/* Paywall */
.hp-repas-paywall {
  position: absolute; inset: 0; border-radius: 28px;
  background: rgba(3,15,7,.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.hp-repas-paywall-inner { text-align: center; padding: 32px 24px; }
.hp-repas-paywall-ico { font-size: 36px; margin-bottom: 12px; }
.hp-repas-paywall-title { font-family: 'Poppins',sans-serif; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.hp-repas-paywall-sub { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.hp-repas-paywall-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px;
  background: linear-gradient(135deg, #34d399, #059669); border-radius: 999px;
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff;
  text-decoration: none; box-shadow: 0 4px 16px rgba(52,211,153,.35);
  transition: all .2s;
}
.hp-repas-paywall-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(52,211,153,.5); color: #fff; text-decoration: none; }

/* ══════════════════════════════════════════════
   DÉCOUVERTE — editorial grid
══════════════════════════════════════════════ */
.hp-deco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.hp-dg-main { grid-column: 1 / 3; grid-row: 1 / 2; }
.hp-dg-side { grid-column: 3 / 4; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 18px; }
.hp-dg-side .hp-rcard-img { aspect-ratio: 1; height: auto; }
.hp-dg-bot1 { grid-column: 1 / 2; grid-row: 2 / 3; }
.hp-dg-bot2 { grid-column: 2 / 3; grid-row: 2 / 3; }
.hp-dg-main .hp-rcard-img { height: auto; aspect-ratio: 21 / 9; }
.hp-dg-bot1 .hp-rcard-img, .hp-dg-bot2 .hp-rcard-img { height: auto; aspect-ratio: 4 / 3; }

/* Recipe cards */
.hp-rcard {
  display: flex; flex-direction: column; position: relative;
  border-radius: 20px; overflow: hidden; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hp-rcard:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.45); border-color: rgba(52,211,153,.18); text-decoration: none; }
.hp-rcard-small .hp-rcard-img { height: auto; }

.hp-rcard-img { position: relative; overflow: hidden; }
.hp-rcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hp-rcard:hover .hp-rcard-img img { transform: scale(1.05); }
.hp-rcard-img-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
}
.hp-rcard-quick-add-wrap {
  position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity .2s;
}
.hp-rcard:hover .hp-rcard-quick-add-wrap { opacity: 1; }
.hp-rcard-quick-add {
  display: inline-flex; padding: 5px 12px; background: rgba(3,15,7,.9);
  backdrop-filter: blur(8px); border: 1px solid rgba(52,211,153,.3);
  border-radius: 999px; font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700;
  color: #34d399; white-space: nowrap; cursor: pointer;
}

.hp-rcard-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hp-rcard-chef { display: flex; align-items: center; gap: 8px; }
.hp-rcard-chef-av {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.25);
}
.hp-rcard-chef-av img { width: 100%; height: 100%; object-fit: cover; }
.hp-rcard-chef-name { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 600; }
.hp-rcard-title { font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 800; color: #fff; line-height: 1.3; flex: 1; }
.hp-rcard-large .hp-rcard-title { font-size: 17px; }
.hp-rcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.hp-rcard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-rcard-tag {
  padding: 3px 9px; border-radius: 999px;
  font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700;
}
.hp-tag-time { background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.22); color: #a5b4fc; }
.hp-tag-diff { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); color: #fbbf24; }
.hp-rcard-stat { font-size: 12px; color: rgba(255,255,255,.45); white-space: nowrap; }
.hp-rcard-fav {
  display: flex; align-items: center; gap: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  color: rgba(255,255,255,.55); white-space: nowrap; margin-left: auto;
}
.hp-rcard-fav svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════
   COUPS DE CŒUR — horizontal scroll
══════════════════════════════════════════════ */
.hp-coeur-scroll {
  display: flex; gap: 18px; overflow-x: auto;
  padding-bottom: 8px; scrollbar-width: none;
}
.hp-coeur-scroll::-webkit-scrollbar { display: none; }

/* ─── Carrousel Coups de cœur (flèches internes) ── */
.hp-coeurs-carousel {
  position: relative;
}
.hp-cc-track-wrap {
  overflow: hidden;
  --rc-vis: 3;
}
.hp-cc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px * (var(--rc-vis) - 1)) / var(--rc-vis));
  gap: 20px;
  transition: transform .42s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}
.hp-cc-track .hp-coeur-card {
  min-width: 0;
  width: 100%;
}
.hp-cc-arrow {
  position: absolute;
  top: calc(200px / 2); /* milieu de l'image (hp-coeur-img height) */
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8, 18, 12, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s, transform .18s, opacity .2s;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hp-cc-prev { left: 10px; }
.hp-cc-next { right: 10px; }
.hp-cc-arrow:hover:not(:disabled) {
  background: rgba(52,211,153,.22);
  border-color: rgba(52,211,153,.45);
  color: #34d399;
  transform: translateY(-50%) scale(1.1);
}
.hp-cc-arrow:disabled {
  opacity: .2;
  cursor: default;
}
@media (max-width: 768px) {
  .hp-cc-track-wrap { --rc-vis: 2; }
}
@media (max-width: 480px) {
  .hp-cc-track-wrap { --rc-vis: 1; }
  .hp-cc-arrow { width: 36px; height: 36px; }
}

/* ─── Carrousel Récentes ────────────────────── */
.hp-recentes-carousel {
  position: relative;
}
.hp-rc-track-wrap {
  overflow: hidden;
  --rc-vis: 3;
}
.hp-rc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px * (var(--rc-vis) - 1)) / var(--rc-vis));
  gap: 20px;
  transition: transform .42s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}
.hp-rc-track .hp-coeur-card {
  min-width: 0;
  width: 100%;
  flex-shrink: 0;
}
.hp-rc-arrow {
  position: absolute;
  top: 100px; /* milieu de hp-coeur-img (200px) */
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8, 18, 12, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s, transform .18s, opacity .2s;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hp-rc-prev { left: 10px; }
.hp-rc-next { right: 10px; }
.hp-rc-arrow:hover:not(:disabled) {
  background: rgba(52,211,153,.22);
  border-color: rgba(52,211,153,.45);
  color: #34d399;
  transform: translateY(-50%) scale(1.1);
}
.hp-rc-arrow:disabled {
  opacity: .2;
  cursor: default;
}
.hp-rc-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}
.hp-rc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.hp-rc-dot.active {
  background: #34d399;
  width: 20px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .hp-rc-track-wrap { --rc-vis: 2; }
  .hp-rc-arrow { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .hp-rc-track-wrap { --rc-vis: 1; }
  .hp-rc-arrow { width: 34px; height: 34px; }
}

.hp-coeur-card {
  min-width: 290px; flex-shrink: 0;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px; overflow: hidden; text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hp-coeur-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.4); border-color: rgba(239,68,68,.2); text-decoration: none; }

.hp-coeur-img { position: relative; height: 200px; overflow: hidden; }
.hp-coeur-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hp-coeur-card:hover .hp-coeur-img img { transform: scale(1.06); }
.hp-coeur-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%); }

.hp-coeur-rank {
  position: absolute; top: 10px; left: 10px;
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  backdrop-filter: blur(8px);
}
.hp-rank-gold { background: rgba(245,158,11,.22); border: 1px solid rgba(245,158,11,.4); }
.hp-rank-silver { background: rgba(148,163,184,.18); border: 1px solid rgba(148,163,184,.35); }
.hp-rank-bronze { background: rgba(180,83,9,.2); border: 1px solid rgba(217,119,6,.35); }
.hp-rank-other { background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); font-family: 'Poppins',sans-serif; font-size: 11px; color: rgba(255,255,255,.7); }

.hp-coeur-note {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 4px 10px;
  font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 700; color: #fbbf24;
}

.hp-coeur-body { padding: 14px 16px; }
.hp-coeur-title { font-family: 'Poppins',sans-serif; font-size: 14.5px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.hp-coeur-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hp-coeur-fav {
  display: flex; align-items: center; gap: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 11px;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.hp-coeur-fav svg { flex-shrink: 0; }
.hp-coeur-chef { display: flex; align-items: center; gap: 7px; min-width: 0; }
.hp-coeur-chef img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hp-coeur-chef-name { font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-coeur-stats { display: flex; gap: 8px; flex-shrink: 0; }
.hp-coeur-stat { font-size: 11px; color: rgba(255,255,255,.4); }
.hp-coeur-stat-rose { color: rgba(251,113,133,.85); }

/* ══════════════════════════════════════════════
   EN VOGUE — heatmap grid
══════════════════════════════════════════════ */
.hp-vogue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hp-vcard:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
}
.hp-vcard-large .hp-vcard-img { height: auto; aspect-ratio: 21 / 9; min-height: unset; }
.hp-vcard:not(:first-child) .hp-vcard-img { height: auto; aspect-ratio: 16 / 9; }
.hp-vcard-large .hp-vcard-title { font-size: 18px; }
.hp-vcard:not(.hp-vcard-large) .hp-vcard-title { font-size: 15px; }
.hp-vcard {
  display: block; position: relative; border-radius: 18px; overflow: hidden;
  text-decoration: none; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07); transition: all .3s;
}
.hp-vcard:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.4); border-color: rgba(245,158,11,.2); text-decoration: none; }
.hp-vcard-img { position: relative; overflow: hidden; }
.hp-vcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hp-vcard:hover .hp-vcard-img img { transform: scale(1.06); }
.hp-vcard-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%); }

.hp-vcard-heat {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(245,158,11,.3); border-radius: 999px; padding: 4px 10px;
}
.hp-vcard-heat-ico { font-size: 12px; }
.hp-vcard-heat-count { font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: #fff; }
.hp-vcard-heat-count strong { color: #34d399; font-weight: 900; }
.hp-vcard-heat-lbl { font-size: 10px; color: rgba(255,255,255,.6); }
.hp-coeur-img .hp-vcard-heat { right: auto; left: 10px; }

.hp-vcard-trend {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.08);
}
.hp-vcard-trend::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  width: var(--trend-w, 40%); border-radius: 2px; transition: width .6s ease;
}

.hp-vcard-body { padding: 12px 14px; }
.hp-vcard-title { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.hp-vcard-large .hp-vcard-title { font-size: 16px; }
.hp-vcard-footer { display: flex; flex-direction: column; gap: 3px; }
.hp-vcard-planning { font-size: 11px; color: #34d399; font-weight: 700; }
.hp-vcard-meta { font-size: 10px; color: rgba(255,255,255,.42); }

/* ══════════════════════════════════════════════
   MA BRIGADE
══════════════════════════════════════════════ */
.hp-brigade-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start;
}

/* Feed */
.hp-brigade-feed { display: flex; flex-direction: column; gap: 16px; }
.hp-bfeed-item { display: flex; gap: 14px; }
.hp-bfeed-avatar { position: relative; flex-shrink: 0; }
.hp-bfeed-av {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(52,211,153,.25); box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.hp-bfeed-av img { width: 100%; height: 100%; object-fit: cover; }
.hp-bfeed-status {
  position: absolute; bottom: 1px; right: 1px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid #030f07;
}
.hp-status-publish { background: #34d399; box-shadow: 0 0 5px rgba(52,211,153,.7); }

.hp-bfeed-content { flex: 1; min-width: 0; }
.hp-bfeed-header {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px;
  margin-bottom: 8px; font-size: 12px;
}
.hp-bfeed-name { font-family: 'Poppins',sans-serif; font-weight: 800; color: #fff; }
.hp-bfeed-action { color: rgba(255,255,255,.5); }
.hp-bfeed-recipe { color: #34d399; text-decoration: none; font-weight: 700; }
.hp-bfeed-recipe:hover { text-decoration: underline; }
.hp-bfeed-time { color: rgba(255,255,255,.35); margin-left: auto; white-space: nowrap; font-size: 11px; }

.hp-bfeed-preview {
  display: flex; gap: 12px; padding: 12px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; text-decoration: none; transition: all .2s;
}
.hp-bfeed-preview:hover { background: rgba(52,211,153,.05); border-color: rgba(52,211,153,.15); text-decoration: none; }
.hp-bfeed-preview-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.hp-bfeed-preview-info { flex: 1; min-width: 0; }
.hp-bfeed-preview-title { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.hp-bfeed-preview-meta { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5; }

/* Brigade sidebar */
.hp-brigade-sidebar { display: flex; flex-direction: column; gap: 16px; }
.hp-live-ticker {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.15);
  border-radius: 16px;
}
.hp-live-dot-wrap { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: hpPulse 1.8s infinite; }
.hp-live-label { font-family: 'Poppins',sans-serif; font-size: 9px; font-weight: 700; color: rgba(239,68,68,.7); text-transform: uppercase; letter-spacing: 1.5px; }
.hp-live-content { flex: 1; }
.hp-live-text { font-size: 12px; color: rgba(255,255,255,.55); }

.hp-bsidebar-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px; padding: 18px 16px;
}
.hp-bsidebar-title { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 800; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }

/* Chef suggestions */
.hp-bchef-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.hp-bchef-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.hp-bchef-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(52,211,153,.2); }
.hp-bchef-av img { width: 100%; height: 100%; object-fit: cover; }
.hp-bchef-info { flex: 1; min-width: 0; }
.hp-bchef-name { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-bchef-grade { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 1px; }
.hp-bchef-follow {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2);
  font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: #34d399;
  text-decoration: none; white-space: nowrap; transition: all .2s; flex-shrink: 0;
}
.hp-bchef-follow:hover { background: rgba(52,211,153,.18); border-color: rgba(52,211,153,.4); text-decoration: none; }

/* Stats grid */
.hp-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp-stat-cell { padding: 12px; border-radius: 12px; }
.hp-stat-green { background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.14); }
.hp-stat-rose { background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.14); }
.hp-stat-amber { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.14); }
.hp-stat-indigo { background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.16); }
.hp-stat-num { font-family: 'Poppins',sans-serif; font-size: 22px; font-weight: 900; color: #fff; }
.hp-stat-lbl { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* Empty state */
.hp-empty {
  text-align: center; padding: 48px 20px;
  background: rgba(255,255,255,.02); border: 1px dashed rgba(255,255,255,.07);
  border-radius: 20px;
}
.hp-empty p { color: rgba(255,255,255,.5); font-size: 14px; }

/* ══════════════════════════════════════════════
   CLASSEMENT DES CHEFS
══════════════════════════════════════════════ */
.hp-lboard-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }

/* Podium */
.hp-podium {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 8px; margin-bottom: 28px; padding: 20px 12px 0;
}
.hp-podium-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; max-width: 140px;
}
.hp-podium-avatar-wrap { position: relative; margin-bottom: 4px; }
.hp-podium-av {
  border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.hp-podium-1 .hp-podium-av { width: 72px; height: 72px; border-color: #fbbf24; box-shadow: 0 0 20px rgba(245,158,11,.35); }
.hp-podium-2 .hp-podium-av { width: 58px; height: 58px; border-color: #94a3b8; }
.hp-podium-3 .hp-podium-av { width: 54px; height: 54px; border-color: #d97706; }
.hp-podium-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-podium-medal {
  position: absolute; bottom: -4px; right: -4px;
  font-size: 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.hp-podium-name { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 800; color: #fff; text-align: center; }
.hp-podium-grade { font-size: 10px; color: rgba(255,255,255,.45); text-align: center; }
.hp-podium-xp { font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 700; color: #fbbf24; }

.hp-podium-platform {
  display: flex; align-items: center; justify-content: center;
  width: 100%; font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 900;
  color: rgba(255,255,255,.5); padding: 6px 0; border-radius: 6px 6px 0 0;
}
.hp-podium-1-plat { background: rgba(245,158,11,.15); color: #fbbf24; }
.hp-podium-2-plat { background: rgba(148,163,184,.1); color: #94a3b8; }
.hp-podium-3-plat { background: rgba(180,83,9,.12); color: #d97706; }
.hp-podium-base { width: 100%; }
.hp-podium-1-base { height: 56px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.12); }
.hp-podium-2-base { height: 40px; background: rgba(148,163,184,.06); border: 1px solid rgba(148,163,184,.1); }
.hp-podium-3-base { height: 30px; background: rgba(180,83,9,.07); border: 1px solid rgba(180,83,9,.1); }

/* Leaderboard list */
.hp-lboard-list { display: flex; flex-direction: column; gap: 4px; }
.hp-lboard-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05);
  transition: all .2s;
}
.hp-lboard-row:hover { background: rgba(255,255,255,.05); border-color: rgba(52,211,153,.15); text-decoration: none; }
.hp-lboard-row-me { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.22); }
.hp-lboard-row-me:hover { background: rgba(52,211,153,.1); }
.hp-lboard-rank { width: 24px; font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.4); text-align: center; flex-shrink: 0; }
.hp-lboard-rank-me { color: #34d399; }
.hp-lboard-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,.1); }
.hp-lboard-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-lboard-info { flex: 1; min-width: 0; }
.hp-lboard-name { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-lboard-grade { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 1px; }
.hp-lboard-right { flex-shrink: 0; text-align: right; }
.hp-lboard-xp { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700; color: #fbbf24; }

/* Leaderboard sidebar */
.hp-lboard-sidebar { display: flex; flex-direction: column; gap: 16px; }
.hp-lboard-my-rank {
  background: rgba(255,255,255,.03); border: 1px solid rgba(52,211,153,.14);
  border-radius: 20px; padding: 22px 20px; text-align: center;
}
.hp-lboard-my-rank-label { font-family: 'Poppins',sans-serif; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.hp-lboard-my-rank-number { font-family: 'Poppins',sans-serif; font-size: 54px; font-weight: 900; color: #fff; line-height: 1; }
.hp-lboard-my-rank-sup { font-size: 24px; vertical-align: super; }
.hp-lboard-my-rank-sub { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; margin-bottom: 16px; }
.hp-lboard-my-rank-progress { margin-top: 12px; text-align: left; }
.hp-lboard-my-rank-bar-bg { height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.hp-lboard-my-rank-bar-fill { height: 100%; background: linear-gradient(90deg, #34d399, #059669); border-radius: 99px; transition: width .8s ease; }
.hp-lboard-my-rank-info { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.4); }

.hp-lboard-filter-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px; padding: 18px 16px;
}
.hp-lboard-filter-title { font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.hp-lboard-filters { display: flex; flex-direction: column; gap: 6px; }
.hp-lboard-filter-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.55); cursor: pointer; transition: all .2s; text-align: left;
}
.hp-lboard-filter-btn:hover { background: rgba(255,255,255,.07); color: #fff; }
.hp-lboard-filter-btn.active { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.25); color: #34d399; }
.hp-lboard-filter-ico { font-size: 16px; }

/* ══════════════════════════════════════════════
   PLANNING MODAL
══════════════════════════════════════════════ */
.tr-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.tr-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.tr-modal {
  background: rgba(6,22,14,.98); border: 1px solid rgba(52,211,153,.2);
  border-radius: 28px; padding: 32px 28px; width: 100%; max-width: 380px;
  box-shadow: 0 40px 80px rgba(0,0,0,.7); position: relative; overflow: hidden;
}
.tr-modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,.5), transparent);
}
.tr-modal-icon { font-size: 36px; text-align: center; margin-bottom: 12px; }
.tr-modal-title { font-family: 'Poppins',sans-serif; font-size: 18px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 6px; }
.tr-modal-sub { font-size: 13px; color: rgba(255,255,255,.5); text-align: center; margin-bottom: 22px; }
.tr-modal-stepper { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.tr-modal-step-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75); font-size: 20px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.tr-modal-step-btn:hover { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.3); color: #34d399; }
.tr-modal-nb {
  width: 72px; text-align: center; background: transparent; border: none; outline: none;
  font-family: 'Poppins',sans-serif; font-size: 32px; font-weight: 900; color: #34d399;
}
.tr-modal-btns { display: flex; gap: 10px; }
.tr-modal-cancel {
  flex: 1; padding: 12px; border-radius: 14px; border: none; cursor: pointer;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.55);
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; transition: all .2s;
}
.tr-modal-cancel:hover { background: rgba(255,255,255,.09); color: rgba(255,255,255,.8); }
.tr-modal-confirm {
  flex: 2; padding: 12px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #34d399, #10b981); color: #fff;
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(52,211,153,.35); transition: all .2s;
}
.tr-modal-confirm:hover { box-shadow: 0 8px 24px rgba(52,211,153,.5); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes hpFadeUp { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
.hp-fade-1 { animation: hpFadeUp .7s ease-out .1s both; }
.hp-fade-2 { animation: hpFadeUp .7s ease-out .28s both; }
.hp-fade-3 { animation: hpFadeUp .7s ease-out .44s both; }

/* ══════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════ */
.hp-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  z-index: 9999; background: rgba(3,18,10,.97); border: 1px solid rgba(52,211,153,.25);
  border-radius: 16px; padding: 12px 22px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5); opacity: 0;
  transition: all .35s cubic-bezier(.34,1.4,.64,1); pointer-events: none; min-width: 240px;
}
.hp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hp-toast-msg { font-family: 'Poppins',sans-serif; font-size: 12px; font-weight: 700; color: #fff; }

/* ══════════════════════════════════════════════
   BOTTOM SHEET
══════════════════════════════════════════════ */
.hp-bottom-sheet-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.hp-bottom-sheet-overlay.is-visible { opacity: 1; visibility: visible; }
.hp-bottom-sheet {
  position: fixed; bottom: -100%; left: 0; right: 0;
  background: #111b14; border-radius: 24px 24px 0 0;
  padding: 24px; z-index: 9999; transition: bottom .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.hp-bottom-sheet.is-open { bottom: 0; }
.hp-bs-drag { width: 40px; height: 5px; background: rgba(255,255,255,.15); border-radius: 10px; margin: 0 auto 20px; }
.hp-bs-title { font-family: 'Poppins',sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; text-align: center; }
.hp-bs-subtitle { font-size: 14px; color: rgba(255,255,255,.5); text-align: center; margin-bottom: 24px; }
.hp-bs-btn {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,.04); text-decoration: none; color: #fff;
  margin-bottom: 12px; transition: all .2s;
}
.hp-bs-btn:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.hp-bs-icon { font-size: 28px; }
.hp-bs-text strong { display: block; font-size: 16px; font-family: 'Poppins',sans-serif; color: #fff; }
.hp-bs-text span { font-size: 12px; color: rgba(255,255,255,.5); }
.hp-bs-btn-premium { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.3); }
.hp-bs-btn-premium:hover { background: rgba(16,185,129,.14); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media(max-width:1100px) {
  .hp-hero-content { grid-template-columns: 1fr; }
  .hp-hero-card-wrap { display: none; }
  .hp-brigade-layout { grid-template-columns: 1fr; }
  .hp-lboard-layout { grid-template-columns: 1fr; }
  .hp-lboard-sidebar { flex-direction: row; flex-wrap: wrap; }
  .hp-lboard-my-rank, .hp-lboard-filter-card { flex: 1; min-width: 220px; }
  .hp-vogue-grid { grid-template-columns: 1fr 1fr; }
  .hp-vcard:first-child { grid-column: 1 / -1; }
}
@media(max-width:900px) {
  .hp-deco-grid { grid-template-columns: 1fr 1fr; }
  .hp-dg-main { grid-column: 1 / -1; grid-row: 1 / 2; }
  .hp-dg-side { grid-column: 1 / -1; grid-row: 3 / 4; flex-direction: row; }
  .hp-dg-side .hp-rcard { flex: 1; }
  .hp-dg-side .hp-rcard-img { aspect-ratio: 4 / 3; height: auto; }
  .hp-dg-bot1 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .hp-dg-bot2 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .hp-repas-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-vogue-grid { grid-template-columns: 1fr 1fr; }
  .hp-vcard:first-child { grid-column: 1 / -1; }
}
/* Nav : compact entre 900 et 1100px pour faire tenir tous les boutons */
@media(max-width:1100px) {
  .hp-snav-inner { gap: 2px; }
  .hp-snav-btn { padding: 7px 12px; font-size: 11.5px; }
}
/* Nav : texte masqué sous 900px (icônes uniquement) */
@media(max-width:900px) {
  .hp-section-nav { top: 64px; padding: 8px 12px; }
  .hp-snav-btn { padding: 6px 10px; font-size: 11px; gap: 4px; }
  .hp-snav-btn span:not(.hp-snav-dot) { display: none; }
  .hp-snav-btn.active span:not(.hp-snav-dot) { display: block; }
}
@media(max-width:768px) {
  .hp-hero-content { padding: 0 14px; padding-top: 100px; padding-bottom: 80px; }
  .hp-hero-name { font-size: 48px; letter-spacing: -1px; }
  .hp-search-zone { padding: 28px 14px; }
  .hp-search-inner { flex-direction: column; gap: 10px; }
  .hp-search-cta { width: 100%; justify-content: center; }
  .hp-main { padding: 0 14px 60px; }
  .hp-section { margin-bottom: 56px; }
  .hp-section-title { font-size: 17px; }
  .hp-deco-grid { grid-template-columns: 1fr; }
  .hp-dg-main, .hp-dg-side, .hp-dg-bot1, .hp-dg-bot2 { grid-column: auto; grid-row: auto; }
  .hp-dg-side { flex-direction: column; }
  .hp-repas-grid { grid-template-columns: 1fr; }
  .hp-repas-section { padding: 18px 16px; }
  .hp-vogue-grid { grid-template-columns: 1fr 1fr; }
  .hp-vcard:first-child { grid-column: 1 / -1; }
  .hp-coeur-card { min-width: 220px; }
  .hp-podium { gap: 4px; }
  .hp-podium-item { max-width: 100px; }
}
@media(max-width:480px) {
  .hp-vogue-grid { grid-template-columns: 1fr; }
  .hp-vcard:first-child { grid-column: auto; }
  .hp-vcard-large .hp-vcard-img { aspect-ratio: 16 / 9; }
}

/* ══════════════════════════════════════════════
   HOVER COINS — Actions sur images de recettes
   Image reste visible, boutons dans les coins
══════════════════════════════════════════════ */
.hp-img-btn-plan {
  position: absolute;
  bottom: 10px; left: 10px;
  z-index: 8;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: rgba(3, 20, 12, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  color: #34d399; white-space: nowrap; cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.hp-img-btn-plan:hover { background: rgba(52, 211, 153, 0.2); color: #fff; }
.hp-img-btn-pepite {
  position: absolute;
  bottom: 10px; right: 10px;
  z-index: 8;
  width: 32px; height: 32px;
  background: rgba(3, 20, 12, 0.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transform: translateY(8px) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.18s;
  pointer-events: none;
}
.hp-img-btn-pepite svg { width: 15px; height: 15px; transition: fill 0.2s, stroke 0.2s; flex-shrink: 0; }
.hp-img-btn-pepite.is-active { border-color: rgba(239, 68, 68, 0.6); background: rgba(239, 68, 68, 0.12); }
.hp-img-btn-pepite:hover { border-color: rgba(239, 68, 68, 0.5); transform: translateY(0) scale(1.12) !important; }
.hp-rcard:hover .hp-img-btn-plan,
.hp-rcard:hover .hp-img-btn-pepite,
.hp-coeur-card:hover .hp-img-btn-plan,
.hp-coeur-card:hover .hp-img-btn-pepite,
.hp-vcard:hover .hp-img-btn-plan,
.hp-vcard:hover .hp-img-btn-pepite {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
@keyframes hp-heart-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  75%  { transform: scale(0.85); }
  100% { transform: scale(1); }
}
.hp-img-btn-pepite.pop { animation: hp-heart-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hp-coeur-rank, .hp-coeur-note, .hp-vcard-heat, .hp-vcard-trend, .hp-img-heat-badge { z-index: 6; }
#hp-pepite-toast {
  position: fixed; bottom: 84px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: rgba(5, 20, 12, 0.97);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  white-space: nowrap;
}
#hp-pepite-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (hover: none) { .hp-img-btn-plan, .hp-img-btn-pepite { display: none; } }

/* ══════════════════════════════════════════════
   BADGE PLANNINGS SEMAINE — toutes les images
══════════════════════════════════════════════ */
.hp-img-heat-badge {
  position: absolute; top: 10px; right: 10px; z-index: 7;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px; pointer-events: none;
}
.hp-img-heat-badge-ico { font-size: 12px; line-height: 1; }
.hp-img-heat-badge-txt {
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700;
  color: #fff; white-space: nowrap;
}
.hp-img-heat-badge-txt strong { color: #34d399; font-weight: 900; }

/* ══════════════════════════════════════════════
   PROMO INSERTS
══════════════════════════════════════════════ */

/* --- Insert 1 : Cinéma Premium -------------------------------- */
.hp-promo-cinema {
  position: relative;
  margin: 0 0 40px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #047857 100%);
  border: 1px solid rgba(52,211,153,.18);
}
.hp-promo-cinema-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(52,211,153,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hp-promo-cinema-glow {
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.20) 0%, transparent 70%);
  pointer-events: none;
}
.hp-promo-cinema-inner {
  position: relative;
  display: flex;
  gap: 32px;
  padding: 36px 40px;
  align-items: center;
}
.hp-promo-cinema-left { flex: 1; min-width: 0; }
.hp-promo-cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(52,211,153,.18);
  border: 1px solid rgba(52,211,153,.35);
  color: #6ee7b7;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hp-promo-cinema-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 10px;
}
.hp-promo-cinema-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.70);
  line-height: 1.55;
  max-width: 360px;
  margin-bottom: 20px;
}
.hp-promo-cinema-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.hp-promo-cinema-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #34d399;
}
.hp-promo-cinema-period {
  font-size: 14px;
  color: rgba(255,255,255,.60);
  font-family: 'DM Sans', sans-serif;
}
.hp-promo-cinema-offer {
  font-size: 12px;
  color: #6ee7b7;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background: rgba(52,211,153,.15);
  border-radius: 999px;
  padding: 2px 10px;
}
.hp-promo-cinema-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hp-promo-cinema-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: #34d399;
  color: #064e3b;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(52,211,153,.35);
}
.hp-promo-cinema-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(52,211,153,.50);
}
.hp-promo-cinema-hint {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-family: 'DM Sans', sans-serif;
}
.hp-promo-cinema-right { flex: 0 0 300px; }
.hp-promo-cinema-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-promo-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 12px 14px;
}
.hp-promo-feat-ico {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.hp-promo-feat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.hp-promo-feat-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* --- Insert 2 : Bandeau ambre compact -------------------------  */
.hp-promo-band {
  margin: 0 0 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
  border: 1px solid rgba(251,191,36,.20);
  overflow: hidden;
}
.hp-promo-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.hp-promo-band-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.hp-promo-band-ico {
  font-size: 32px;
  flex-shrink: 0;
}
.hp-promo-band-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
}
.hp-promo-band-title strong { color: #fbbf24; font-weight: 900; }
.hp-promo-band-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.60);
}
.hp-promo-band-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.hp-promo-band-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hp-promo-band-stat {
  text-align: center;
}
.hp-promo-band-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
}
.hp-promo-band-stat-lbl {
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  font-family: 'DM Sans', sans-serif;
  margin-top: 2px;
}
.hp-promo-band-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}
.hp-promo-band-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fbbf24;
  color: #78350f;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 16px rgba(251,191,36,.35);
}
.hp-promo-band-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251,191,36,.50);
}

/* Responsive promo inserts */
@media (max-width: 900px) {
  .hp-promo-cinema-inner { flex-direction: column; padding: 28px 24px; gap: 24px; }
  .hp-promo-cinema-right { flex: none; width: 100%; }
  .hp-promo-cinema-title { font-size: 22px; }
  .hp-promo-band-inner { padding: 20px 20px; }
  .hp-promo-band-right { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hp-promo-band-stats { display: none; }
}
@media (max-width: 600px) {
  .hp-promo-cinema-inner { padding: 24px 18px; }
  .hp-promo-cinema-title { font-size: 20px; }
  .hp-promo-cinema-features { gap: 10px; }
  .hp-promo-band-inner { padding: 18px 16px; gap: 14px; }
  .hp-promo-band-left { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ══════════════════════════════════════════════
   VOIR PLUS + MOBILE SLIDER
══════════════════════════════════════════════ */

/* --- Voir plus button ---------------------------------- */
.hp-voir-plus-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.hp-voir-plus-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.22);
  color: var(--g);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
}
.hp-voir-plus-btn:hover {
  background: rgba(52,211,153,.16);
  border-color: rgba(52,211,153,.38);
  transform: translateY(-1px);
}
.hp-voir-plus-btn svg { transition: transform .2s; }
.hp-voir-plus-btn:hover svg { transform: translateY(2px); }

/* --- Mobile slider controls (hidden by default) ------- */
.hp-slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.hp-slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.22);
  color: var(--g);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.hp-slider-arrow:hover { background: rgba(52,211,153,.22); }
.hp-slider-arrow:disabled { opacity: .35; cursor: default; }
.hp-slider-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hp-slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(52,211,153,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hp-slider-dot.active {
  background: var(--g);
  transform: scale(1.3);
}

/* --- En vogue mobile wrapper + arrows (hidden by default) --- */
.hp-vogue-mslider {
  position: relative;
}
.hp-vogue-ms-arrow {
  display: none;
  position: absolute;
  top: 100px;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,18,12,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .18s, border-color .18s;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hp-vogue-ms-prev { left: 10px; }
.hp-vogue-ms-next { right: 10px; }
.hp-vogue-ms-arrow:hover:not(:disabled) {
  background: rgba(52,211,153,.22);
  border-color: rgba(52,211,153,.45);
  color: #34d399;
}
.hp-vogue-ms-arrow:disabled { opacity: .2; cursor: default; }
#vogue-dots { display: none; }

/* --- Découverte mobile wrapper + arrows (hidden by default) --- */
.hp-deco-mslider {
  position: relative;
}
.hp-deco-ms-arrow {
  display: none;
  position: absolute;
  top: 110px;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,18,12,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .18s, border-color .18s;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hp-deco-ms-prev { left: 10px; }
.hp-deco-ms-next { right: 10px; }
.hp-deco-ms-arrow:hover:not(:disabled) {
  background: rgba(52,211,153,.22);
  border-color: rgba(52,211,153,.45);
  color: #34d399;
}
.hp-deco-ms-arrow:disabled { opacity: .2; cursor: default; }
.hp-deco-ms-dots {
  display: none;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

/* --- Mobile: scroll-snap sliders for all sections --- */
@media (max-width: 768px) {
  /* Vogue grid → horizontal scroll-snap */
  #vogue-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  #vogue-grid::-webkit-scrollbar { display: none; }
  #vogue-grid .hp-vcard {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
    scroll-snap-align: start;
  }
  #vogue-grid .hp-vcard-large {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
  }
  /* Fixed image height for consistent arrow position */
  #vogue-grid .hp-vcard .hp-vcard-img {
    height: 200px;
    aspect-ratio: unset;
  }
  /* Show En vogue inline arrows + dots */
  .hp-vogue-ms-arrow { display: flex; }
  #vogue-dots { display: flex; margin-top: 14px; justify-content: center; }

  /* Brigade feed → horizontal scroll-snap */
  #brigade-feed {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  #brigade-feed::-webkit-scrollbar { display: none; }
  #brigade-feed .hp-bfeed-item {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
    scroll-snap-align: start;
  }

  /* Show brigade slider controls on mobile */
  #brigade-slider-controls {
    display: flex;
  }

  /* Hide voir-plus on mobile (slider replaces it) */
  #vogue-voir-plus,
  #brigade-voir-plus {
    display: none;
  }

  /* Coups de cœur → scroll-snap (override JS carousel) */
  .hp-cc-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hp-cc-track-wrap::-webkit-scrollbar { display: none; }
  .hp-cc-track {
    display: flex !important;
    transform: none !important;
    transition: none !important;
    gap: 14px;
  }
  .hp-cc-track .hp-coeur-card {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Récentes → scroll-snap (override JS carousel) */
  .hp-rc-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hp-rc-track-wrap::-webkit-scrollbar { display: none; }
  .hp-rc-track {
    display: flex !important;
    transform: none !important;
    transition: none !important;
    gap: 14px;
  }
  .hp-rc-track .hp-coeur-card {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Découverte → scroll-snap */
  #deco-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  #deco-grid::-webkit-scrollbar { display: none; }
  /* Flatten the side wrapper: children become direct flex items */
  #deco-grid .hp-dg-side { display: contents; }
  /* All recipe cards = uniform slides */
  #deco-grid .hp-rcard {
    flex: 0 0 calc(100% - 46px);
    max-width: calc(100% - 46px);
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  #deco-grid .hp-rcard .hp-rcard-img {
    height: 220px;
    aspect-ratio: unset;
    flex-shrink: 0;
  }

  /* Show Découverte mobile arrows + dots */
  .hp-deco-ms-arrow { display: flex; }
  .hp-deco-ms-dots { display: flex; }
}

/* ══════════════════════════════════════════════
   LIGHT MODE OVERRIDES
══════════════════════════════════════════════ */
[data-theme="light"] .hp-page { background: #f2faf5; }
[data-theme="light"] .hp-main { background: #f2faf5; }

/* Hero */
[data-theme="light"] .hp-hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,.14) 58%, rgba(0,0,0,.3) 100%);
}
[data-theme="light"] .hp-hero-name { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.95), 0 8px 32px rgba(0,0,0,.8); }
[data-theme="light"] .hp-hero-chef-label { color: #34d399; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
[data-theme="light"] .hp-hero-tagline { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.9); border-left-color: #34d399; }
[data-theme="light"] .hp-hero-pill { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.2); }
[data-theme="light"] .hp-hero-pill span { color: #fff; }

/* Search */
[data-theme="light"] .hp-search-pill { background: rgba(255,255,255,.96); border-color: rgba(52,211,153,.3); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
[data-theme="light"] .hp-search-pill:focus-within { border-color: rgba(52,211,153,.55); }
[data-theme="light"] .hp-search-ico { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-search-input { color: #0a1f12; }
[data-theme="light"] .hp-search-input::placeholder { color: rgba(10,31,18,.38); }
[data-theme="light"] .hp-search-divider { background: rgba(10,31,18,.08); }
[data-theme="light"] .hp-search-filter { background: rgba(10,31,18,.05); border-color: rgba(10,31,18,.1); color: rgba(10,31,18,.6); }
[data-theme="light"] .hp-search-filter:hover { background: rgba(52,211,153,.1); color: #059669; }

/* Live search */
[data-theme="light"] .js-search-results { background: rgba(255,255,255,.98); border-color: rgba(52,211,153,.2); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
[data-theme="light"] .js-search-results a { border-bottom-color: rgba(10,31,18,.05); }
[data-theme="light"] .js-search-results a:hover { background: rgba(52,211,153,.05); }
[data-theme="light"] .js-search-results .result-title { color: #0a1f12; }
[data-theme="light"] .js-search-results .result-meta { color: rgba(10,31,18,.5); }

/* Section nav */
[data-theme="light"] .hp-section-nav {}
[data-theme="light"] .hp-snav-inner {
  background: rgba(242,250,245,.94);
  border-color: rgba(52,211,153,.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
[data-theme="light"] .hp-snav-btn { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-snav-btn:hover { background: rgba(10,31,18,.04); color: rgba(10,31,18,.8); }
[data-theme="light"] .hp-snav-btn.active { color: #059669; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.22); }
[data-theme="light"] .hp-snav-btn.active .hp-snav-dot { background: #059669; }
[data-theme="light"] .hp-snav-dot { background: rgba(10,31,18,.15); }
[data-theme="light"] .hp-snav-btn.active .hp-snav-dot { background: #059669; }

/* Section headers */
[data-theme="light"] .hp-section-title { color: #0a1f12; }
[data-theme="light"] .hp-section-sub { color: rgba(10,31,18,.5); }
[data-theme="light"] .hp-section-ico { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.2); }

/* Repas */
[data-theme="light"] .hp-repas-section { background: rgba(255,255,255,.8); border-color: rgba(52,211,153,.18); }
[data-theme="light"] .hp-repas-day-btn { background: rgba(10,31,18,.04); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-repas-day-btn:hover { background: rgba(10,31,18,.07); }
[data-theme="light"] .hp-repas-day-btn.active { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); }
[data-theme="light"] .hp-repas-day-name { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-repas-day-num { color: rgba(10,31,18,.75); }
[data-theme="light"] .hp-repas-day-btn.active .hp-repas-day-num { color: #0a1f12; }
[data-theme="light"] .hp-repas-day-btn.active .hp-repas-day-name { color: #6366f1; }
[data-theme="light"] .hp-repas-slot { background: rgba(10,31,18,.03); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-repas-slot-label { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-repas-meal-card { background: rgba(10,31,18,.03); border-color: rgba(10,31,18,.07); }
[data-theme="light"] .hp-repas-meal-card:hover { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.2); }
[data-theme="light"] .hp-repas-meal-title { color: #0a1f12; }
[data-theme="light"] .hp-repas-meal-meta { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-repas-slot-empty { color: rgba(10,31,18,.25); }

/* Cards */
[data-theme="light"] .hp-rcard { background: rgba(255,255,255,.9); border-color: rgba(10,31,18,.08); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
[data-theme="light"] .hp-rcard:hover { box-shadow: 0 16px 42px rgba(0,0,0,.12); border-color: rgba(52,211,153,.2); }
[data-theme="light"] .hp-rcard-chef-name { color: rgba(10,31,18,.5); }
[data-theme="light"] .hp-rcard-title { color: #0a1f12; }
[data-theme="light"] .hp-rcard-stat { color: rgba(10,31,18,.45); }

/* Coups de coeur */
[data-theme="light"] .hp-coeur-card { background: rgba(255,255,255,.9); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-coeur-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.1); border-color: rgba(239,68,68,.2); }
[data-theme="light"] .hp-coeur-title { color: #0a1f12; }
[data-theme="light"] .hp-coeur-chef-name { color: rgba(10,31,18,.5); }
[data-theme="light"] .hp-coeur-stat { color: rgba(10,31,18,.4); }

/* En vogue */
[data-theme="light"] .hp-vcard { background: rgba(255,255,255,.9); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-vcard:hover { box-shadow: 0 16px 36px rgba(0,0,0,.1); }
[data-theme="light"] .hp-vcard-title { color: #0a1f12; }
[data-theme="light"] .hp-vcard-meta { color: rgba(10,31,18,.4); }

/* Brigade */
[data-theme="light"] .hp-bfeed-preview { background: rgba(10,31,18,.03); border-color: rgba(10,31,18,.07); }
[data-theme="light"] .hp-bfeed-preview:hover { background: rgba(52,211,153,.06); }
[data-theme="light"] .hp-bfeed-name { color: #0a1f12; }
[data-theme="light"] .hp-bfeed-action { color: rgba(10,31,18,.5); }
[data-theme="light"] .hp-bfeed-time { color: rgba(10,31,18,.35); }
[data-theme="light"] .hp-bfeed-preview-title { color: #0a1f12; }
[data-theme="light"] .hp-bfeed-preview-meta { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-live-ticker { background: rgba(239,68,68,.05); border-color: rgba(239,68,68,.12); }
[data-theme="light"] .hp-live-text { color: rgba(10,31,18,.55); }
[data-theme="light"] .hp-bsidebar-card { background: rgba(255,255,255,.85); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-bsidebar-title { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-bchef-name { color: #0a1f12; }
[data-theme="light"] .hp-bchef-grade { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-bchef-row { border-bottom-color: rgba(10,31,18,.06); }
[data-theme="light"] .hp-stat-num { color: #0a1f12; }
[data-theme="light"] .hp-stat-lbl { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-stat-green { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.18); }
[data-theme="light"] .hp-stat-rose { background: rgba(239,68,68,.06); border-color: rgba(239,68,68,.14); }
[data-theme="light"] .hp-stat-amber { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.16); }
[data-theme="light"] .hp-stat-indigo { background: rgba(99,102,241,.07); border-color: rgba(99,102,241,.16); }
[data-theme="light"] .hp-empty { background: rgba(255,255,255,.7); border-color: rgba(10,31,18,.1); }
[data-theme="light"] .hp-empty p { color: rgba(10,31,18,.5); }

/* Classement */
[data-theme="light"] .hp-lboard-row { background: rgba(255,255,255,.8); border-color: rgba(10,31,18,.07); }
[data-theme="light"] .hp-lboard-row:hover { background: rgba(255,255,255,.95); border-color: rgba(52,211,153,.18); }
[data-theme="light"] .hp-lboard-row-me { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.22); }
[data-theme="light"] .hp-lboard-rank { color: rgba(10,31,18,.35); }
[data-theme="light"] .hp-lboard-name { color: #0a1f12; }
[data-theme="light"] .hp-lboard-grade { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-lboard-my-rank { background: rgba(255,255,255,.85); border-color: rgba(52,211,153,.2); }
[data-theme="light"] .hp-lboard-my-rank-label { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-lboard-my-rank-number { color: #0a1f12; }
[data-theme="light"] .hp-lboard-my-rank-sub { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-lboard-my-rank-bar-bg { background: rgba(10,31,18,.08); }
[data-theme="light"] .hp-lboard-my-rank-info { color: rgba(10,31,18,.4); }
[data-theme="light"] .hp-lboard-filter-card { background: rgba(255,255,255,.85); border-color: rgba(10,31,18,.08); }
[data-theme="light"] .hp-lboard-filter-title { color: rgba(10,31,18,.45); }
[data-theme="light"] .hp-lboard-filter-btn { background: rgba(10,31,18,.04); border-color: rgba(10,31,18,.08); color: rgba(10,31,18,.55); }
[data-theme="light"] .hp-lboard-filter-btn:hover { background: rgba(10,31,18,.08); color: #0a1f12; }
[data-theme="light"] .hp-lboard-filter-btn.active { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.25); color: #059669; }
[data-theme="light"] .hp-podium-name { color: #0a1f12; }
[data-theme="light"] .hp-podium-grade { color: rgba(10,31,18,.45); }

/* Modal */
[data-theme="light"] .tr-modal { background: rgba(255,255,255,.98); border-color: rgba(52,211,153,.2); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
[data-theme="light"] .tr-modal::before { display: none; }
[data-theme="light"] .tr-modal-title { color: #0a1f12; }
[data-theme="light"] .tr-modal-sub { color: rgba(10,31,18,.55); }
[data-theme="light"] .tr-modal-step-btn { background: rgba(10,31,18,.05); border-color: rgba(10,31,18,.1); color: rgba(10,31,18,.65); }
[data-theme="light"] .tr-modal-step-btn:hover { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); color: #059669; }
[data-theme="light"] .tr-modal-cancel { background: rgba(10,31,18,.05); color: rgba(10,31,18,.5); }
[data-theme="light"] .tr-modal-cancel:hover { background: rgba(10,31,18,.09); color: rgba(10,31,18,.75); }
[data-theme="light"] .tr-modal-overlay { background: rgba(10,31,18,.45); }

/* Toast */
[data-theme="light"] .hp-toast { background: rgba(255,255,255,.97); border-color: rgba(52,211,153,.25); }
[data-theme="light"] .hp-toast-msg { color: #0a1f12; }
