/* =========================================================
   SENKYS — Comparateur de prix loveshop
   Feuille de style partagée
   ========================================================= */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input { font-family: inherit; }

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --surface-alt: #fbf8f2;
  --border: #e3dccf;
  --border-strong: #c9c0ad;
  --ink: #1c1f23;
  --ink-soft: #4b5159;
  --ink-mute: #7a818a;
  --accent: #302b63;
  --accent-soft: #e6e3f1;
  --accent-ink: #413a87;
  --link: #302b63;
  --brass: #b08a4a;
  --brass-soft: #f4ead7;
  --ok: #2f6f4a;
  --ok-soft: #e4f0e9;
  --warn: #a85a18;
  --warn-soft: #fbeede;
  --danger: #a4302a;
  --rose: #b04a6e;
  --rose-soft: #f6e6ec;

  --font-body: "Public Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 26px;
  --text-2xl: 32px;
  --text-3xl: 42px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  --shadow-xs: 0 1px 1px rgba(28, 31, 35, 0.04);
  --shadow-sm: 0 1px 2px rgba(28, 31, 35, 0.05), 0 1px 3px rgba(28, 31, 35, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 31, 35, 0.06), 0 2px 4px rgba(28, 31, 35, 0.04);
  --shadow-lg: 0 10px 30px rgba(28, 31, 35, 0.10), 0 4px 8px rgba(28, 31, 35, 0.05);

  --container: 1180px;
  --container-narrow: 900px;
  --header-h: 72px;

  --t-fast: 120ms ease;
  --t: 180ms ease;
}

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-10) 0; }
.row { display: flex; align-items: center; }
.muted { color: var(--ink-mute); }
.soft { color: var(--ink-soft); }
.mono { font-family: var(--font-mono); }
.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-5);
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: var(--space-5); gap: var(--space-4);
}
.section-head .section-title { margin-bottom: 0; }
.link-more { font-size: var(--text-sm); font-weight: 600; color: var(--accent); }

/* ---------- 4. HEADER ---------- */
.topbar {
  background: var(--accent);
  color: #fff;
}
.topbar-strip {
  background: #272250;
  font-size: var(--text-xs);
  color: #cfcbe6;
}
.topbar-strip .container {
  display: flex; justify-content: flex-end; align-items: center;
  height: 30px; gap: var(--space-5);
}
.topbar-strip a { color: #cfcbe6; }
.topbar-main .container {
  display: flex; align-items: center; gap: var(--space-6);
  height: var(--header-h);
}
.burger {
  display: flex; flex-direction: column; gap: 4px; padding: var(--space-2);
  color: #fff;
}
.burger span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.logo {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; letter-spacing: -0.03em;
  color: #fff; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--brass); }
.search {
  flex: 1; display: flex; align-items: center;
  background: #fff; border-radius: var(--radius);
  padding: 0 var(--space-2) 0 var(--space-4); height: 44px;
  box-shadow: var(--shadow-sm);
}
.search input {
  flex: 1; border: none; outline: none; font-size: var(--text-base);
  color: var(--ink); background: transparent; height: 100%;
}
.search input::placeholder { color: var(--ink-mute); }
.search-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.header-actions { display: flex; align-items: center; gap: var(--space-5); }
.header-action {
  display: flex; align-items: center; gap: var(--space-2);
  color: #fff; font-size: var(--text-sm); font-weight: 600; white-space: nowrap;
}
.header-action:hover { text-decoration: none; color: var(--brass-soft); }
.header-action svg { stroke: currentColor; }
.header-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.25); }

/* ---------- 5. NAV ---------- */
.mainnav { background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.mainnav .container { display: flex; gap: var(--space-2); overflow-x: auto; }
.navlink {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: var(--space-3) var(--space-4) var(--space-2);
  font-size: var(--text-xs); font-weight: 600; color: var(--ink-soft);
  white-space: nowrap; border-bottom: 3px solid transparent;
}
.navlink:hover { color: var(--accent); text-decoration: none; border-bottom-color: var(--accent-soft); }
.navlink.active { color: var(--brass); border-bottom-color: var(--brass); }
.navlink svg { stroke: currentColor; }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-weight: 700; font-size: var(--text-sm);
  padding: 10px var(--space-5); border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--accent); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-offer { background: var(--ok); color: #fff; padding: 11px var(--space-6); }
.btn-offer:hover { background: #265a3c; }
.btn-block { width: 100%; }
.btn-lg { font-size: var(--text-base); padding: 13px var(--space-8); }

/* ---------- 7. BADGES ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-xs); font-weight: 700; line-height: 1;
  padding: 4px 7px; border-radius: var(--radius-sm);
}
.badge-discount { background: var(--brass); color: #fff; }
.badge-best { background: var(--brass-soft); color: var(--warn); border: 1px solid #e8d4ab; }
.badge-rank { background: var(--accent); color: #fff; }
.badge-love { background: var(--rose-soft); color: var(--rose); }
.badge-new { background: var(--ok-soft); color: var(--ok); }
.badge-deal { background: var(--rose); color: #fff; }
.badge-sponsor { background: transparent; color: var(--ink-mute); font-weight: 500; }

/* energy-style tag (discretion / livraison label) */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; padding: 3px 6px;
  border-radius: var(--radius-sm); background: var(--ok); color: #fff;
}
.tag-rose { background: var(--rose); }

/* ---------- 8. WISHLIST HEART ---------- */
.wish {
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: transform var(--t-fast), color var(--t-fast);
  z-index: 2;
}
.wish:hover { transform: scale(1.08); color: var(--rose); }
.wish svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.wish.on svg { fill: var(--rose); stroke: var(--rose); }

/* ---------- 9. IMAGE PLACEHOLDER ---------- */
.ph {
  position: relative;
  background-color: var(--surface-alt);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0, transparent 9px,
    rgba(176,138,74,0.10) 9px, rgba(176,138,74,0.10) 10px
  );
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
  color: var(--ink-mute); text-transform: lowercase;
  padding: 3px 7px; background: rgba(255,255,255,0.75); border-radius: 3px;
  text-align: center; max-width: 80%;
}
.ph-tone { background-color: #efe7da; }
.ph-rose {
  background-color: var(--rose-soft);
  background-image: repeating-linear-gradient(
    -45deg, transparent 0, transparent 9px,
    rgba(176,74,110,0.10) 9px, rgba(176,74,110,0.10) 10px);
}

/* ---------- 10. PRODUCT CARD ---------- */
.pcard {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-4); display: flex; flex-direction: column;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.pcard:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-2px); }
.pcard a { color: inherit; }
.pcard a:hover { text-decoration: none; }
.pcard-media { position: relative; }
.pcard-media .ph { aspect-ratio: 1 / 1; }
.pcard-badges { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pcard-tags { display: flex; gap: 6px; margin: var(--space-3) 0 6px; flex-wrap: wrap; }
.pcard-title {
  font-size: var(--text-sm); font-weight: 600; color: var(--ink);
  line-height: 1.35; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-title b { font-weight: 800; }
.pcard-meta { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }
.pcard-foot { margin-top: auto; }
.pcard-from { font-size: var(--text-xs); color: var(--ink-mute); }
.pcard-price { font-size: var(--text-lg); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.pcard-offers { font-size: var(--text-xs); color: var(--accent); font-weight: 600; }

/* rating stars */
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-xs); color: var(--ink-mute); }
.stars { display: inline-flex; gap: 1px; color: var(--brass); }
.stars svg { fill: currentColor; }
.note-pill {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 2px 6px; border-radius: 4px;
}

/* ---------- 11. CARD GRID / SCROLLER ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr);
  gap: var(--space-4); overflow-x: auto; padding-bottom: var(--space-3);
  scroll-snap-type: x mandatory;
}
.scroller > * { scroll-snap-align: start; }
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }

/* ---------- 12. PANEL / CARD SHELL ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.panel-flush { padding: 0; overflow: hidden; }

/* ---------- 13. BREADCRUMB ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: var(--ink-mute); padding: var(--space-4) 0;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb .sep { color: var(--border-strong); }

/* ---------- 14. FOOTER ---------- */
.footer { background: var(--accent); color: #cfcbe6; margin-top: var(--space-12); }
.footer-promo {
  background: var(--surface-alt); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-promo .container {
  display: flex; align-items: center; justify-content: center; gap: var(--space-6);
  padding: var(--space-6) var(--space-5); flex-wrap: wrap;
}
.footer-promo p { font-weight: 700; color: var(--ink); font-size: var(--text-md); }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8);
  padding: var(--space-12) var(--space-5) var(--space-8);
}
.footer h4 { color: #fff; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.footer ul li { margin-bottom: var(--space-3); }
.footer a { color: #cfcbe6; font-size: var(--text-sm); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--text-xs); color: #9a96bb; line-height: 1.6;
  padding: var(--space-6) var(--space-5) var(--space-12);
  text-align: center;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-bottom: var(--space-4); }

/* ---------- 15. NEWSLETTER BAND ---------- */
.newsletter {
  background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: var(--space-8) 0;
}
.newsletter p { font-size: var(--text-md); color: var(--ink); margin-bottom: var(--space-4); font-weight: 600; }
.newsletter form { display: inline-flex; gap: var(--space-2); max-width: 460px; width: 100%; }
.newsletter input {
  flex: 1; padding: 11px var(--space-4); border: 1px solid var(--border-strong);
  border-radius: var(--radius); font-size: var(--text-base); background: #fff;
}

/* ---------- 16. EDITORIAL BANNER ---------- */
.editorial {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 100%; display: flex; align-items: flex-end;
  background: var(--rose-soft);
}
.editorial .ph { position: absolute; inset: 0; border-radius: 0; }
.editorial-body {
  position: relative; z-index: 2; padding: var(--space-6);
  background: linear-gradient(to top, rgba(28,20,28,0.78), rgba(28,20,28,0.05));
  width: 100%; color: #fff;
}
.editorial-body h3 { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-2); }
.editorial-body p { font-size: var(--text-sm); color: #f0e6ea; margin-bottom: var(--space-4); }

/* ---------- 17. ROUND CATEGORY ---------- */
.circle-cats { display: flex; gap: var(--space-6); overflow-x: auto; padding-bottom: var(--space-2); }
.circle-cat { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 110px; flex: 0 0 auto; }
.circle-cat .ph { width: 92px; height: 92px; border-radius: 50%; }
.circle-cat span { font-size: var(--text-sm); font-weight: 600; color: var(--ink-soft); text-align: center; }
.circle-cat:hover span { color: var(--accent); }

/* ---------- 18. VALUE PROPS ---------- */
.valueprops { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.vp-icon { color: var(--accent-soft); margin-bottom: var(--space-4); }
.vp-icon svg { stroke: var(--accent); }
.valueprops h4 { font-size: var(--text-base); font-weight: 800; color: var(--ink); margin-bottom: var(--space-3); }
.valueprops p { font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.6; }

/* ---------- 19. UTIL ---------- */
.hr { height: 1px; background: var(--border); border: 0; margin: var(--space-8) 0; }
.pill {
  display: inline-flex; align-items: center; padding: 7px var(--space-4);
  border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: var(--text-sm); color: var(--ink-soft); background: var(--surface);
}
.pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

@media (max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .valueprops { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-cards, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .header-action span { display: none; }
}

/* ---------- 20. RECHERCHE — AUTOCOMPLÉTION ---------- */
.search { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 60; max-height: 70vh; overflow-y: auto;
}
.search-suggest[hidden] { display: none; }
.ss-item { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-4); color: var(--ink); border-bottom: 1px solid var(--border); }
.ss-item:last-child { border-bottom: none; }
.ss-item:hover { background: var(--surface-alt); text-decoration: none; }
.ss-item img, .ss-item .ss-ph { width: 40px; height: 40px; flex: 0 0 auto; object-fit: contain; background: var(--surface-alt); border-radius: var(--radius-sm); }
.ss-t { flex: 1; font-size: var(--text-sm); font-weight: 600; line-height: 1.3; color: var(--ink); }
.ss-price { color: var(--brass); font-weight: 800; font-size: var(--text-sm); white-space: nowrap; }

/* ---------- 21. HOMEPAGE — GRID PRODUITS CORRESPONDANTS ---------- */
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.35fr; gap: var(--space-4); }
@media (max-width: 900px) {
  .match-grid { grid-template-columns: repeat(2, 1fr); }
  .match-grid .promo-banner { grid-column: 1 / -1; min-height: auto; }
}
@media (max-width: 460px) {
  .match-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
}

/* ---------- 23. BADGES DE MENU (sélection, notif) ---------- */
.icon-wrap { position: relative; display: inline-flex; }
.notif-dot {
  position: absolute; top: -7px; right: -9px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: #e0245e; color: #fff; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--accent);
  animation: senkys-blink 1.1s ease-in-out infinite;
}
@keyframes senkys-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
.sel-dot {
  position: absolute; top: -7px; right: -9px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--brass); color: #1c1f23; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--accent);
}
.sel-dot[hidden] { display: none; }

/* ---------- 25. DISCLAIMER 18+ (overlay popunder) ---------- */
#senkys-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: var(--space-5);
  background: rgba(28, 20, 40, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
#senkys-overlay[hidden] { display: none; }
#senkys-box {
  background: var(--surface); border-radius: var(--radius-lg);
  max-width: 460px; width: 100%; padding: var(--space-10) var(--space-8);
  text-align: center; box-shadow: var(--shadow-lg);
}
.senkys-dl-badge {
  width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: 50%;
  background: var(--rose-soft); color: var(--rose); border: 2px solid var(--rose);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.senkys-dl-badge span { font-size: 13px; }
#senkys-box h2 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-3); }
#senkys-box p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.6; margin-bottom: var(--space-5); }
.senkys-btns { display: flex; gap: var(--space-3); }
.senkys-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: 14px var(--space-4); border-radius: var(--radius); font-weight: 800; font-size: var(--text-sm); }
.senkys-btn-enter { background: var(--accent); color: #fff; }
.senkys-btn-enter:hover { background: var(--accent-ink); }
.senkys-btn-exit { background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--border-strong); }
.senkys-btn-exit:hover { text-decoration: none; border-color: var(--ink-mute); }
.senkys-dl-legal { font-size: var(--text-xs); color: var(--ink-mute); margin: var(--space-4) 0 0; }
@media (max-width: 460px) { .senkys-btns { flex-direction: column; } }

/* ---------- 24. TOP 3 DES VENTES (médailles) ---------- */
.pcard-rank { overflow: visible; }
.pcard-rank-1 { outline: 3px solid #d4af37; box-shadow: 0 6px 20px rgba(212,175,55,0.32); }
.pcard-rank-2 { outline: 3px solid #aeb4bd; box-shadow: 0 6px 20px rgba(150,156,166,0.30); }
.pcard-rank-3 { outline: 3px solid #cd7f32; box-shadow: 0 6px 20px rgba(205,127,50,0.30); }
.rank-badge {
  position: absolute; top: -12px; left: -12px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; z-index: 4;
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.rank-badge-1 { background: linear-gradient(135deg, #f6d365, #d4af37); color: #5a4500; }
.rank-badge-2 { background: linear-gradient(135deg, #eef1f5, #aeb4bd); color: #41454d; }
.rank-badge-3 { background: linear-gradient(135deg, #e8b07e, #cd7f32); color: #fff; }

/* ---------- 22. HEADER & MENU RESPONSIVE ---------- */
.burger { display: none; }
.nav-actions { display: none; } /* visible seulement dans le menu hamburger (voir media query) */
@media (max-width: 980px) {
  .burger { display: flex; }
  .topbar-main .container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: var(--space-3); }
  .burger { order: 1; }
  .logo { order: 2; }
  .header-actions { order: 3; margin-left: auto; gap: var(--space-4); }
  .search { order: 4; flex: 1 0 100%; width: 100%; height: 42px; }

  .mainnav { display: none; }
  body.menu-open .mainnav { display: block; }
  .mainnav .container { flex-direction: column; overflow: visible; gap: 0; padding-left: 0; padding-right: 0; }
  .navlink { flex-direction: row; justify-content: flex-start; gap: var(--space-4); width: 100%;
    padding: 14px var(--space-5); border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent; font-size: var(--text-base); }
  .navlink:hover { border-bottom-color: var(--border); }
  .navlink.active { border-bottom-color: var(--border); border-left-color: var(--brass); }

  /* Actions (favori, livecam, rencontre) en bas du menu hamburger */
  .nav-actions { display: block; border-top: 8px solid var(--surface-alt); }
  .nav-actions .icon-wrap { display: inline-flex; }
}
