/* ===== Littero — Design System ===== */
:root {
  /* Colors */
  --bg: #f6f1e7;
  --bg-2: #fff7e8;
  --surface: #fffaf1;
  --surface-2: #fff5e1;
  --ink: #141b20;
  --ink-soft: #4a5762;
  --ink-mute: #7b8892;
  --line: #e7dbc4;
  --line-soft: #f0e7d1;
  --accent: #d95a23;
  --accent-hover: #b94c1b;
  --accent-soft: #ffe1cd;
  --accent-2: #0f6a5a;
  --accent-2-soft: #d6ede5;
  --gold: #b78b3a;
  --danger: #c13b2a;
  --success: #1e7c58;

  /* Typography */
  --font-sans: "Inter", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Georgia", serif;

  /* Radii + shadows */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(24, 33, 39, 0.06);
  --shadow-md: 0 10px 28px rgba(24, 33, 39, 0.08);
  --shadow-lg: 0 22px 60px rgba(24, 33, 39, 0.14);
  --ring: 0 0 0 3px rgba(217, 90, 35, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 640ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.5;
  background: var(--bg);
  background-image:
    radial-gradient(800px 600px at 10% -10%, #ffe8c8 0%, transparent 55%),
    radial-gradient(700px 500px at 95% 8%, #ffd9c0 0%, transparent 60%),
    radial-gradient(900px 700px at 50% 120%, #e6f1ec 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.1; }
.section-head .see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-soft); }
.section-head .see-all:hover { color: var(--accent); }

.muted { color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.6px; font-weight: 700; color: var(--accent-2); }

h1, h2, h3 { font-family: var(--font-serif); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.02; margin: 8px 0 14px; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
h3 { font-size: 1.08rem; line-height: 1.25; margin: 0 0 6px; }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.topbar.is-scrolled { box-shadow: var(--shadow-sm); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.brand::before {
  content: "";
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: inline-block;
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--ink-soft); font-weight: 600; padding: 8px 12px;
  border-radius: 999px; transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: var(--surface-2); }
.lang-switch {
  display: inline-flex; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; margin-left: 8px;
}
.lang-switch a {
  padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  color: var(--ink-soft);
}
.lang-switch a.is-active { background: var(--ink); color: var(--bg-2); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform var(--dur-fast) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ===== Hero ===== */
.hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 14px 0 18px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 540px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-bullets .chip { background: var(--surface); border: 1px solid var(--line); }
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 22px; box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-panel::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero-panel h2 { font-size: 1.05rem; margin: 0 0 12px; color: var(--ink-soft); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1.2px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hero-panel li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r-md);
  color: var(--ink); font-weight: 600;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.hero-panel li a::after { content: "→"; color: var(--ink-mute); transition: transform var(--dur-fast) var(--ease); }
.hero-panel li a:hover { background: var(--surface-2); color: var(--accent); }
.hero-panel li a:hover::after { transform: translateX(3px); color: var(--accent); }

/* ===== Search bar ===== */
.search-bar {
  position: relative;
  display: flex; gap: 0; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 7px 3px 3px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  margin-top: 20px;
  max-width: 620px;
}
.search-bar:focus-within { box-shadow: var(--shadow-md), var(--ring); border-color: var(--accent); }
.search-bar input[type="text"], .search-bar input[type="search"] {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 10px 18px;
  font: inherit; color: var(--ink); outline: none;
}
.search-bar input::placeholder { color: var(--ink-mute); }
.search-bar button {
  flex-shrink: 0;
  border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.92rem;
  letter-spacing: .01em;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.search-bar button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.search-bar button:active { transform: translateY(0); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; background: var(--accent); color: #fff;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg-2); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--surface-2), var(--accent-soft));
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,27,32,0.28), transparent 45%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover .card-media::after { opacity: 1; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.08rem; margin: 0; }
.card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; line-height: 1.45; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-meta .chip-score { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-mute); font-size: 0.82rem; font-weight: 600; }

.card-premium { border-color: var(--gold); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.card-premium::before {
  content: "✦ Vedette";
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff; font-size: 0.74rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; letter-spacing: 0.4px;
  box-shadow: 0 6px 18px rgba(217,90,35,0.32);
}

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent-soft); color: #8a3416;
  font-size: 0.74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

/* ===== Chips ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.84rem; font-weight: 600; color: var(--ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  cursor: pointer;
}
.chip:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); color: var(--bg-2); border-color: var(--ink); }
.chip .count { color: var(--ink-mute); font-weight: 500; }
.chip.is-active .count { color: rgba(255,255,255,0.7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Panels ===== */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.panel-plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }

/* ===== Breadcrumb ===== */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 0.88rem; margin-bottom: 14px; color: var(--ink-mute); flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb a + a::before { content: "/"; margin-right: 6px; color: var(--ink-mute); }

/* ===== Listing page ===== */
.listing-hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start;
  margin-top: 8px;
}
.listing-shot {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--surface-2), var(--accent-soft)) center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-slow) var(--ease);
}
.listing-shot.is-hover { transform: scale(1.02); }
.listing-aside {
  position: sticky; top: 86px;
  display: grid; gap: 14px;
}
.listing-aside .panel { padding: 20px; }
.listing-aside h3 { font-family: var(--font-sans); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-soft); margin: 0 0 10px; }
.listing-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.listing-aside ul a { color: var(--ink); font-weight: 600; padding: 6px 0; display: inline-block; }
.listing-aside ul a:hover { color: var(--accent); }

.listing-body { margin-top: 40px; max-width: 780px; }
.listing-body h2 { margin: 28px 0 10px; }
.listing-body p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.visit-cta { margin: 14px 0 30px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Filters (search) ===== */
.search-hero {
  padding: 40px 0 20px;
}
.search-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 10px; }
.filters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px; margin: 16px 0;
}
.filters label { display: grid; gap: 5px; font-size: 0.84rem; color: var(--ink-soft); font-weight: 600; }
.filters input, .filters select {
  font: inherit; border-radius: var(--r-md); border: 1px solid var(--line);
  padding: 10px 12px; background: var(--surface); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

.facets {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px;
}

.suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  max-height: 420px; overflow-y: auto;
}
.suggestions.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.suggestions button,
.suggestions .suggestion-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 11px 14px; border-radius: var(--r-sm); cursor: pointer;
  color: var(--ink); font: inherit; font-weight: 500; font-size: 0.94rem;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.suggestions button:hover,
.suggestions .suggestion-item:hover,
.suggestions button:focus-visible,
.suggestions .suggestion-item:focus-visible {
  background: var(--surface-2); color: var(--accent); outline: none;
}

/* ===== Pagination ===== */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.pagination a {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 600;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a.is-active { background: var(--ink); color: var(--bg-2); border-color: var(--ink); }

/* ===== Tags ===== */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span, .tags a {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; font-size: 0.82rem;
  color: var(--ink-soft); font-weight: 500;
}
.tags a:hover { color: var(--accent); border-color: var(--accent); }

/* ===== Ad slot ===== */
.ad-slot {
  min-height: 72px; display: grid; place-items: center;
  font-weight: 600; color: var(--ink-mute); font-size: 0.86rem;
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--accent-soft) 10px, var(--accent-soft) 20px);
  border: 1px dashed var(--line); border-radius: var(--r-md);
  margin: 18px 0;
}

/* ===== Footer ===== */
.footer {
  margin-top: 60px; padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--accent); }

/* ===== Mobile drawer ===== */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-inner {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 92vw);
  background: var(--surface); border-left: 1px solid var(--line);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.drawer.is-open .drawer-inner { transform: translateX(0); }
.drawer-inner a {
  padding: 14px 18px; border-radius: var(--r-md);
  color: var(--ink); font-weight: 600; font-size: 1.1rem;
  background: var(--surface-2); border: 1px solid var(--line);
}
.drawer-close { align-self: flex-end; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); width: 44px; height: 44px; border-radius: 50%; }
.drawer-close:hover { background: var(--surface-2); }

/* ===== Utilities ===== */
.stack { display: grid; gap: 10px; }
.row { display: flex; gap: 10px; align-items: center; }
.hidden { display: none !important; }
.fade-in { opacity: 0; }
[data-reveal] { opacity: 0; }
[data-reveal-stagger] > * { opacity: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 48px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .listing-hero { grid-template-columns: 1fr; }
  .listing-aside { position: static; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; }
}

/* ---- Vague 2: completions ---- */
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at top left, var(--accent-soft, rgba(217,90,35,.12)) 0%, transparent 55%), radial-gradient(ellipse at bottom right, rgba(15,106,90,.08) 0%, transparent 55%); pointer-events: none; }
.hero-copy { max-width: 720px; }
.hero-lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.link-more { font-weight: 600; color: var(--ink-soft); }
.link-more:hover { color: var(--accent); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat-tile { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); color: var(--ink); font-weight: 600; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--accent); }
.cat-tile-count { font-weight: 500; font-size: 0.86rem; }

.page-head { padding: 56px 0 24px; }
.page-head h1 { margin: 8px 0 12px; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; }
.page-head .lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; }

.cards-dense { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }

.listing-hero { padding: 40px 0 20px; }
.listing-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.listing-hero-media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-2); aspect-ratio: 16/10; }
.listing-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.listing-hero-copy h1 { font-family: var(--font-serif); margin: 0 0 14px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.05; }
.listing-hero-copy .lead { color: var(--ink-soft); margin: 14px 0 22px; font-size: 1.05rem; }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #1b1200; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; box-shadow: var(--shadow-sm); }

.listing-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 20px 0 56px; align-items: start; }
.listing-body .listing-main { display: grid; gap: 16px; }
.listing-body .listing-main .panel { padding: 22px 24px; }
.listing-body .listing-main .panel h2 { margin: 0 0 10px; font-family: var(--font-serif); }
.listing-body .listing-aside { display: grid; gap: 14px; position: sticky; top: 80px; }
.listing-body .listing-aside .panel { padding: 18px 20px; }

.prose { color: var(--ink-soft); line-height: 1.7; font-size: 1rem; }
.prose h2 { color: var(--ink); margin-top: 22px; }
.prose p { margin: 0 0 12px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plain-list a { color: var(--ink); font-weight: 600; padding: 4px 0; display: inline-block; }
.plain-list a:hover { color: var(--accent); }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-soft); }

.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding-bottom: 40px; }
.search-filters { position: sticky; top: 80px; align-self: start; display: grid; gap: 18px; }
.search-filters .filters { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.search-filters .filters label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.search-filters .filters input, .search-filters .filters select { width: 100%; }
.filter-group { display: flex; flex-direction: column; }
.facets-panel { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.facets-panel h4 { margin: 0 0 10px; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.facets-panel .facet-group { margin-bottom: 12px; }
.facets-panel .facet-group h5 { margin: 0 0 6px; font-size: 0.84rem; color: var(--ink); font-weight: 600; }
.facets-panel .facet-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.search-results { min-width: 0; }
.results-count { margin: 0 0 12px; font-size: 0.9rem; }
.empty-state { padding: 40px 24px; text-align: center; }
.empty-state h3 { margin: 0 0 8px; }

.suggestion-item { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 10px 14px; cursor: pointer; color: var(--ink); font-size: 0.94rem; }
.suggestion-item:hover { background: var(--surface-2); }

.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover, var(--accent)); color: #fff; }

.nav-burger { display: none; background: transparent; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm); flex-direction: column; gap: 4px; }
.nav-burger span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; }
.nav-burger:hover { background: var(--surface-2); }

.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 40px 0 24px; }
.footer-brand p { margin: 6px 0 0; max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.footer-cols h4 { margin: 0 0 10px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-soft); }
.footer-cols a { display: block; padding: 4px 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0 30px; font-size: 0.84rem; }

.static-prose { padding: 30px 0 60px; }
.static-prose .panel { max-width: 780px; margin: 0 auto; padding: 30px 34px; }

.no-scroll { overflow: hidden; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--bg-2); border-left: 1px solid var(--line); padding: 80px 24px 24px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform var(--dur) var(--ease); z-index: 60; box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: translateX(0); }
.drawer a { padding: 12px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .search-layout { grid-template-columns: 1fr; }
  .search-filters { position: static; }
  .listing-hero-grid, .listing-body { grid-template-columns: 1fr; }
  .listing-body .listing-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ---- Skeleton loaders ---- */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: skel-shimmer 1.4s infinite; }
@keyframes skel-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.skeleton-card { display: grid; gap: 10px; padding: 12px; }
.skeleton-card .skel-img { height: 160px; border-radius: var(--r-md); }
.skeleton-card .skel-line { height: 12px; border-radius: 4px; }
.skeleton-card .skel-line.short { width: 60%; }

/* Vague 4 — favoris, share, perf */
.listing-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-row .btn.ghost { background: transparent; border: 1px solid var(--border, rgba(0,0,0,.12)); color: inherit; }
.share-row .btn.ghost:hover { background: rgba(0,0,0,.04); }
[data-favorite-toggle][aria-pressed="true"] { background: var(--gold, #b78b3a); color: #fff; border-color: transparent; }
img { max-width: 100%; height: auto; }
img[loading="lazy"] { content-visibility: auto; }
.card-media img, .listing-hero-media img { background: linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.08)); }

/* Vague 5 — auth, submission, account, moderation */
.auth-shell {
  display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 140px);
  background: var(--bg);
}
@media (min-width: 960px) { .auth-shell { grid-template-columns: 1.05fr 1fr; } }

.auth-visual { display: none; position: relative; overflow: hidden; color: #fff; }
.auth-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 15%, var(--accent-soft), transparent 65%),
    radial-gradient(500px 260px at 85% 85%, var(--accent-2-soft), transparent 70%),
    linear-gradient(135deg, var(--accent) 0%, #a0391a 55%, var(--accent-2) 100%);
}
.auth-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 600px at 30% 40%, rgba(255,255,255,.08), transparent 60%);
}
.auth-visual-inner {
  position: relative; z-index: 1; padding: 56px 52px; max-width: 520px;
  display: flex; flex-direction: column; gap: 18px; justify-content: center; height: 100%;
}
.auth-visual .eyebrow { color: rgba(255,255,255,.85); }
.auth-visual h2 {
  font-family: var(--font-serif); color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.01em; margin: 0;
}
.auth-visual h2 em { font-style: italic; color: var(--accent-soft); }
.auth-visual .muted { color: rgba(255,255,255,.82); }
.auth-bullets { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; }
.auth-bullets li { position: relative; padding-left: 22px; color: rgba(255,255,255,.92); }
.auth-bullets li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
@media (min-width: 960px) { .auth-visual { display: block; } }

.auth-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative;
}
.auth-back {
  position: absolute; top: 20px; left: 20px; color: var(--ink-soft);
  font-size: .9rem; padding: 6px 10px; border-radius: var(--r-sm);
}
.auth-back:hover { color: var(--accent); background: var(--surface-2); }
.auth-card {
  width: 100%; max-width: 440px; padding: 32px 34px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.auth-card h1 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.1; margin: 6px 0 10px;
}
.auth-card .eyebrow { margin: 0 0 4px; }
.auth-alt { margin-top: 18px; text-align: center; color: var(--ink-soft); font-size: .92rem; }
.auth-alt a { font-weight: 600; }

.stack-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.stack-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-weight: 600; font-size: .9rem; color: var(--ink);
}
.stack-form input, .stack-form select, .stack-form textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  font: inherit; font-weight: 400;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.stack-form input::placeholder, .stack-form textarea::placeholder { color: var(--ink-mute); }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.stack-form small { color: var(--ink-mute); font-weight: 400; }
.stack-form fieldset { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.stack-form fieldset legend { font-weight: 600; padding: 0 6px; }

.notice { padding: 12px 14px; border-radius: var(--r-sm); margin: 14px 0 0; border: 1px solid transparent; font-size: .92rem; }
.notice.success { background: var(--accent-2-soft); border-color: rgba(15,106,90,.35); color: #0b5547; }
.notice.error { background: var(--accent-soft); border-color: rgba(217,90,35,.35); color: #8a2e0f; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-check {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  background: var(--surface-2); font-size: .88rem;
}
.chip-check:hover { border-color: var(--accent); }
.chip-check input { accent-color: var(--accent); }
.chip-status { text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; font-weight: 700; margin-left: 6px; }
.chip-pending { background: #fff0d6; color: #8a6a2a; }
.chip-approved { background: var(--accent-2-soft); color: #0b5547; }
.chip-rejected { background: var(--accent-soft); color: #8a2e0f; }

.account-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 40px; }
@media (min-width: 860px) { .account-grid { grid-template-columns: 1fr 1.3fr 1.3fr; } }

.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: none; }
.nav .link-btn:hover { color: var(--accent); }


.hero-lede-accent {
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
  gap: 14px; margin-top: 10px;
  font-family: var(--font-serif); font-style: italic; color: var(--accent);
  letter-spacing: .01em; text-align: left;
}
.hero-lede-accent > span { display: inline-flex; align-items: center; gap: 14px; }
.hero-lede-accent > span + span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
