/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Palette drapeau sénégalais ───────────────────────────────
   Vert  #009A44  →  --green  #008A3C  (légèrement sombre pour WCAG)
   Or    #FFCE00  →  --gold   #C49A00  (sophistiqué)
   Rouge #E20613  →  --red    #C8253D  (alertes / accents)
─────────────────────────────────────────────────────────────── */
:root {
  --ink: #0D1C12;
  --muted: #5D7065;
  --soft: #F0F8F3;
  --paper: #F7FAF8;
  --white: #ffffff;
  --line: #D3E8DB;
  --green: #008A3C;
  --green-dark: #005E28;
  --mint: #E2F3EB;
  --gold: #C49A00;
  --gold-light: #FFF8DC;
  --red: #C8253D;
  --red-light: #FDECEA;
  --coral: #C8253D;
  --rose: #8B2A42;
  --blue: #315f82;
  --shadow: 0 18px 42px rgba(0, 50, 20, 0.11);
  --accent: var(--green);
  --surface: var(--soft);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #F7FAF8 0%, #F1F8F3 42%, #F7FAF8 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(223, 231, 225, 0.9);
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(16px);
  overflow: visible;
}

.brand,
.top-actions,
.hero-actions,
.card-top,
.card-bottom,
.section-head.row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #005E28 0%, #009A44 55%, #C49A00 100%);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 94, 40, 0.22);
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 24px);
  color: #5D7065;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  min-width: 0;
}

.nav a,
.text-link {
  transition: color 0.18s ease;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 250px;
  padding: 10px;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(0, 94, 40, 0.24);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.dropdown.compact {
  min-width: 210px;
}

.dropdown a {
  border-radius: 6px;
  color: var(--white);
  padding: 12px 14px;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.2;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.top-actions {
  justify-content: flex-end;
  gap: 8px;
}

.top-action,
.ghost-action,
.primary-link,
.secondary-link,
button,
.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.top-action,
.primary-link,
button {
  background: var(--green);
  color: var(--white);
  padding: 0 16px;
}

.top-action.logout-btn {
  background: rgba(18, 23, 21, 0.08) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(18, 23, 21, 0.18) !important;
  box-shadow: none;
}

.top-action.logout-btn:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

.top-action:hover,
.primary-link:hover,
button:hover {
  background: var(--green-dark);
}

.ghost-action,
.secondary-link {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
}

.ghost-action:hover,
.secondary-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: 72px clamp(18px, 5vw, 76px) 56px;
  background:
    linear-gradient(105deg, rgba(247, 250, 248, 1) 0%, rgba(247, 250, 248, 0.97) 42%, rgba(247, 250, 248, 0.28) 100%),
    url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1800&q=82") center / cover;
  border-bottom: 1px solid rgba(223, 231, 225, 0.9);
}

.page-hero {
  padding: 72px clamp(18px, 5vw, 76px) 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.96), rgba(247, 250, 248, 0.72)),
    url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1700&q=82") center / cover;
}

.page-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: end;
  min-height: 420px;
}

.page-hero-visual {
  display: grid;
  gap: 12px;
}

.page-hero-media {
  overflow: hidden;
  border: 1px solid rgba(223, 231, 225, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(13, 28, 18, 0.12);
}

.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.page-hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.premium-metric {
  padding: 16px;
  border: 1px solid rgba(223, 231, 225, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(13, 28, 18, 0.06);
}

.premium-metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 28px;
}

.premium-metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 680px;
  color: #5D7065;
  font-size: 18px;
  line-height: 1.6;
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.hero p,
.section-copy {
  max-width: 680px;
  color: #5D7065;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
  margin: 28px 0 22px;
  flex-wrap: wrap;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.hero-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(223, 231, 225, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 50, 20, 0.05);
}

.hero-pills a:hover {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}

.search-panel,
.publish-form,
.filters,
.account-card,
.hero-panel div,
.listing-card,
.resume-card,
.price-card,
.category-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.search-panel {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr auto;
  gap: 12px;
  max-width: 1040px;
  padding: 14px;
  border-color: rgba(0, 138, 60, 0.22);
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 138, 60, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 138, 60, 0.1);
}

textarea {
  resize: vertical;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div {
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  color: var(--green);
  font-size: 30px;
  line-height: 1.1;
}

.hero-panel span,
.hero-panel small {
  color: var(--muted);
}

.hero-card-highlight {
  border-color: rgba(185, 133, 34, 0.38) !important;
  background: #FFF8DC !important;
}

.hero-showcase {
  display: grid;
  gap: 14px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 231, 225, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 28, 18, 0.14);
}

.hero-visual img,
.hero-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual--large {
  min-height: 380px;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 14px;
}

.hero-visual--small {
  min-height: 180px;
}

.hero-visual--stats {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(0, 94, 40, 0.98), rgba(0, 138, 60, 0.95));
  color: #fff;
}

.hero-visual--stats strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
}

.hero-visual--stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-visual-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 94, 40, 0.78);
  backdrop-filter: blur(10px);
  color: #fff;
}

.hero-visual-caption span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.75;
  font-weight: 900;
  margin-bottom: 4px;
}

.hero-visual-caption strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.ecosystem-section {
  background: var(--paper);
}

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

.ecosystem-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.ecosystem-grid article:nth-child(2) {
  background: #F0F8F3;
  border-color: rgba(0, 138, 60, 0.24);
}

.ecosystem-grid article:nth-child(3) {
  background: #FFF8DC;
  border-color: rgba(185, 132, 36, 0.26);
}

.ecosystem-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ecosystem-grid article a.text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--green);
  font-weight: 800;
}

.ecosystem-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Marketplace showcase (homepage) ────────────────────────── */
.showcase-section {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2px;
  min-height: 300px;
  background: var(--ink);
}

.showcase-item {
  position: relative;
  overflow: hidden;
  display: block;
}

.showcase-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 22, 14, 0.75) 0%, rgba(5, 22, 14, 0.1) 55%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.showcase-item:hover::after {
  opacity: 0.7;
}

.showcase-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-item:hover img {
  transform: scale(1.06);
}

.showcase-caption {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
}

.showcase-caption strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 3px;
}

.showcase-caption span {
  display: block;
  font-size: 11px;
  opacity: 0.72;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.showcase-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.metrics span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 76px clamp(18px, 5vw, 76px);
}

.band {
  background: var(--mint);
}

.section-head {
  margin-bottom: 30px;
}

.section-head.row {
  justify-content: space-between;
  gap: 20px;
}

.muted {
  color: var(--muted);
}

.category-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.price-card,
.resume-card,
.listing-card,
.process-grid article {
  padding: 20px;
}

.category-card {
  position: relative;
  min-height: 154px;
  overflow: hidden;
}

.category-card::before {
  content: attr(data-index);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.category-card strong,
.resume-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.category-card span,
.price-card p,
.resume-card p,
.listing-card p,
.process-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

/* Bannière gauche : dans .filters sticky → suit le scroll */
.left-banner-slot {
  margin-top: 20px;
  width: 100%;
  display: block !important;
  opacity: 1 !important;
}
.left-banner-slot .banner--sidebar {
  width: 100%;
}
.left-banner-slot .banner--sidebar .banner-img,
.left-banner-slot .banner--sidebar video.banner-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.filters {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-color: rgba(0, 138, 60, 0.18);
  box-shadow: 0 12px 28px rgba(0, 50, 20, 0.07);
}

.filters::before {
  content: "Recherche avancee";
  color: var(--ink);
  font-weight: 900;
}

.filters button {
  background: var(--ink);
}

.sponsor-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  min-height: 200px;
  width: 300px;
}

/* cv.html et pages sans filtres : layout 2 colonnes (contenu + sidebar) */
.sponsor-workspace {
  grid-template-columns: minmax(0, 1fr) 300px;
}
/* ═══════════════════════════════════════════════════
   BANNIÈRES PUBLICITAIRES
   ═══════════════════════════════════════════════════ */

/* Label "Publicité" */
.banner-pub {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 6px;
}
.banner-pub--strip {
  font-size: 9px;
  padding: 2px 5px;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 0;
}

/* Texte commun */
.banner-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.banner-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: color .15s;
}
.banner-cta--right {
  align-self: center;
  flex-shrink: 0;
  margin-left: auto;
  padding: 8px 14px;
  background: var(--green);
  color: #fff;
  border-bottom: none;
  border-radius: 8px;
  font-size: 13px;
}

/* Shared image */
.banner-img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ── Sidebar (300px wide card) ───────────────────── */
.banner--sidebar {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,50,20,.09);
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
}
.banner--sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,50,20,.14);
}
.banner--sidebar .banner-img {
  height: 180px;
  border-radius: 0;
}
.banner--sidebar .banner-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
}
.banner--sidebar:hover .banner-cta { color: var(--green-dark); }

/* ── Strip — mobile top ─────────────────────────── */
.banner--strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,50,20,.08);
  padding-right: 12px;
  text-decoration: none;
  transition: box-shadow .18s;
}
.banner--strip:hover { box-shadow: 0 4px 20px rgba(0,50,20,.13); }
.banner-strip-img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}
.banner-strip-body {
  flex: 1;
  min-width: 0;
}
.banner-strip-body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-strip-body span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-strip-cta {
  flex-shrink: 0;
  padding: 7px 12px;
  background: var(--green);
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ── In-feed (full width, between listings) ──────── */
.banner--infeed {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,50,20,.07);
  padding-right: 20px;
  text-decoration: none;
  grid-column: 1 / -1;
  transition: box-shadow .18s;
}
.banner--infeed:hover { box-shadow: 0 6px 24px rgba(0,50,20,.12); }
.banner-infeed-img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}
.banner-infeed-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.banner--infeed:hover .banner-cta--right { background: var(--green-dark); }

/* ── Hero home (full-width strip) ────────────────── */
.banner--hero {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: 0 8px 40px rgba(0,50,20,.18);
  transition: transform .2s, box-shadow .2s;
}
.banner--hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 52px rgba(0,50,20,.22);
}
.banner--hero .banner-img,
.banner--hero video.banner-img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(.82) saturate(1.1);
}
.banner-hero-body {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,20,10,.72) 0%, rgba(0,20,10,.32) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
  gap: 6px;
}
.banner--hero .banner-pub {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.25);
  width: fit-content;
}
.banner--hero .banner-title {
  color: #fff;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.2;
  max-width: 480px;
  margin-bottom: 2px;
}
.banner--hero .banner-sub {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  max-width: 420px;
  -webkit-line-clamp: 1;
}
.banner--hero .banner-cta {
  color: #FFE068;
  border-color: rgba(255,224,104,.5);
  font-size: 14px;
  font-weight: 800;
  margin-top: 6px;
  width: fit-content;
}
.banner--hero:hover .banner-cta { color: #fff; border-color: rgba(255,255,255,.6); }

/* ── Detail page (compact card) ──────────────────── */
.banner--detail {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,50,20,.07);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  margin-top: 16px;
}
.banner--detail:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,50,20,.11);
}
.banner--detail .banner-img { height: 140px; }
.banner--detail .banner-body { padding: 12px 14px 14px; display: flex; flex-direction: column; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.listing-grid .listing-card {
  min-height: 260px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.listing-photo {
  width: calc(100% + 40px);
  height: 165px;
  margin: -20px -20px 4px;
  object-fit: cover;
  background: var(--mint);
  flex-shrink: 0;
}
.listing-photo--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #f0faf4 0%, #e6f4ee 100%);
  color: var(--green);
}

.listing-card:hover,
.category-card:hover,
.resume-card:hover,
.price-card:hover {
  border-color: rgba(0, 138, 60, 0.42);
  box-shadow: 0 18px 38px rgba(0, 50, 20, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.listing-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}

.card-salary {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  margin: 0;
}

.card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge--premium {
  background: #FFF3C4;
  color: #7A6100;
}

.badge--type {
  background: #D5EEE3;
  color: var(--green);
}

.card-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-meta span {
  border-radius: 999px;
  background: var(--soft);
  color: #5D7065;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.views-count {
  background: #FFF3C4 !important;
  color: #7A6100 !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #FFF3C4;
  color: #7A6100;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.badge.green {
  background: #D5EEE3;
  color: var(--green);
}

.badge.blue {
  background: #e3edf5;
  color: var(--blue);
}

.price {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.whatsapp {
  min-height: 40px;
  background: #1b9f61;
  color: var(--white);
  padding: 0 12px;
  font-size: 14px;
}

.whatsapp:hover {
  background: #137b4b;
}

.card-call {
  min-height: 40px;
  background: #fff;
  color: #1a1a1a;
  border: 1.5px solid #ddd;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: border-color .15s;
}
.card-call:hover { border-color: #1a1a1a; }

.resume-grid,
.process-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.content-card p {
  color: var(--muted);
  line-height: 1.6;
}

.resume-card {
  min-height: 178px;
}

.resume-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.resume-card-top > div {
  flex: 1;
  min-width: 0;
}

.resume-card-top strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resume-card-top p {
  font-size: .82rem;
  color: #444;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resume-card-meta {
  color: #999 !important;
  font-size: .78rem !important;
}

.resume-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #FFE9A0;
}

.resume-card-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF8DC;
  color: #C49A00;
  font-weight: 700;
  font-size: 1.1rem;
}

.resume-photo {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mint);
}

.resume-photo.large {
  width: 118px;
  height: 118px;
}

.skills,
.publish-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.skills span,
.publish-notes span {
  border-radius: 999px;
  background: #e6ece8;
  padding: 6px 9px;
  color: #5D7065;
  font-size: 12px;
  font-weight: 800;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}

.pricing-grid .price-card {
  padding: 20px;
  min-height: 220px;
}

.pricing-grid .price-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.pricing-grid .price-card strong {
  font-size: 24px;
}

.pricing-grid .price-card p {
  font-size: 14px;
  line-height: 1.5;
}

.pricing-grid .price-card a {
  margin-top: auto;
}

.price-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.price-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--green);
  line-height: 1.1;
}

.price-amount small {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}

.price-desc {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.price-actions {
  margin-top: 4px;
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  background: var(--green);
  color: #fff;
  padding: 0 16px;
  text-decoration: none;
  transition: background 0.18s ease;
}

.price-btn:hover {
  background: var(--green-dark);
  color: #fff;
}

.price-btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.price-btn.secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}

.pricing-cta-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 138, 60, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 50, 20, 0.05);
}

.pricing-cta-band strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
}

.pricing-cta-band span {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-cta-band .primary-link {
  flex: 0 0 auto;
}

.price-card.featured {
  border-color: rgba(0, 138, 60, 0.48);
  background: #F1FAF4;
  box-shadow: var(--shadow);
}

.price-card--cta {
  border-color: rgba(185, 132, 36, 0.26);
  background:
    linear-gradient(180deg, #fffdf6 0%, #FFF8DC 100%);
}

.price-card--cta .price-amount {
  color: var(--gold);
}

.price-card strong {
  color: var(--green);
  font-size: 30px;
}

.process-section {
  background: var(--paper);
}

.process-grid article span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: #e3edf5;
  color: var(--blue);
  font-weight: 900;
}

.publish-section {
  background: #f7f2e7;
}

.account-section {
  background: var(--white);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.account-card {
  display: grid;
  gap: 18px;
  min-height: 500px;
  padding: clamp(22px, 4vw, 46px);
  box-shadow: 0 16px 36px rgba(0, 50, 20, 0.07);
}

.account-card h3 {
  margin-bottom: 8px;
  color: #5D7065;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
}

.account-card button {
  width: fit-content;
  min-width: 180px;
}

.account-card-accent {
  border-color: rgba(0, 138, 60, 0.32);
  background: #F1FAF4;
}

.account-kicker {
  margin: 0;
  color: #C8253D;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
}

.account-link {
  color: var(--green);
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.demo-account-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.demo-account {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.demo-account h3 {
  margin-top: 16px;
}

.demo-account p {
  color: var(--muted);
  line-height: 1.45;
}

.demo-account p strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 84px);
  background: var(--soft);
}

.website-dashboard {
  display: block;
  min-height: auto;
  background: linear-gradient(180deg, #F0F8F3 0%, #ffffff 34%, #F0F8F3 100%);
}

.account-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) clamp(18px, 4vw, 34px) 24px;
}

.account-hero h1 {
  max-width: 980px;
  margin: 8px 0 10px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.account-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.website-dashboard .sidebar {
  position: sticky;
  z-index: 6;
  top: 0;
  display: flex;
  min-height: auto;
  max-width: 1320px;
  margin: 0 auto 18px;
  overflow-x: auto;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 10px;
  box-shadow: 0 12px 30px rgba(0, 50, 20, 0.07);
}

.website-dashboard .sidebar strong {
  align-self: center;
  flex: 0 0 auto;
  margin: 0 12px 0 4px;
  white-space: nowrap;
  font-size: 14px;
}

.website-dashboard .sidebar a {
  flex: 0 0 auto;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 10px 14px;
}

.website-dashboard .sidebar a.active {
  border-color: rgba(0, 138, 60, 0.2);
  background: var(--mint);
  color: var(--green);
}

.website-dashboard .dashboard-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 34px) clamp(38px, 5vw, 72px);
}

.website-dashboard .dashboard-section.active {
  animation: siteSectionIn 180ms ease-out;
}

@keyframes siteSectionIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  display: grid;
  gap: 8px;
  min-height: calc(100vh - 84px);
  border-right: 1px solid var(--line);
  background: var(--white);
  padding: 28px 18px;
}

.sidebar strong {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 18px;
}

.sidebar a {
  border-radius: 8px;
  color: #5D7065;
  padding: 12px 14px;
  font-weight: 800;
}

.sidebar a:hover {
  background: var(--mint);
  color: var(--green);
}

.sidebar a.active {
  background: var(--green);
  color: var(--white);
}

.dashboard-main {
  padding: clamp(24px, 4vw, 52px);
}

.dashboard-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.dashboard-head.with-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 980px;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  border: 4px solid var(--white);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-photo-editor {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.profile-photo-editor img,
.profile-photo-fallback {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 50, 20, 0.12);
}
.profile-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
}
.profile-photo-editor strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.profile-photo-editor p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.profile-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: auto;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}
.profile-upload-btn input {
  display: none;
}

.candidate-publish-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #d7eadf;
  border-radius: 8px;
  background: #F1FAF4;
  color: var(--green-dark);
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 650;
}

.dashboard-head h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 5vw, 64px);
}

.dashboard-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.stat-grid,
.dashboard-grid {
  display: grid;
  gap: 16px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.stat-grid div,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.stat-grid strong {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 32px;
}

.stat-grid span,
.panel p {
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-grid.stacked {
  grid-template-columns: 1fr;
}

.panel {
  min-height: 190px;
}

.cv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.candidate-card h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 44px);
}

/* ── CV Profile (LinkedIn-style) ───────────────────────────── */
.cv-profile {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cv-profile-header {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.cv-profile-cover {
  height: 120px;
  background: linear-gradient(135deg, #1a1a1a 0%, #C49A00 100%);
}

.cv-profile-identity {
  display: flex;
  gap: 20px;
  padding: 0 28px 20px;
  margin-top: -44px;
  align-items: flex-end;
}

.cv-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.cv-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  display: block;
  background: #e9e3d6;
}

.cv-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #C49A00;
  background: #FFF8DC;
}

.cv-avail-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.cv-identity-text {
  padding-bottom: 4px;
  flex: 1;
}

.cv-identity-text h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.2;
}

.cv-job-title {
  font-size: 1rem;
  color: #444;
  font-weight: 600;
  margin: 0 0 6px;
}

.cv-location {
  font-size: .85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
}

.cv-avail-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1.5px solid;
  background: #fff;
}

.cv-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 28px 24px;
}

.cv-section {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.cv-section-title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv-bio {
  font-size: .95rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
  white-space: pre-wrap;
}

.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cv-skill-chip {
  background: #FFF3C4;
  color: #7A6100;
  border: 1px solid #FFE9A0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
}

.cv-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.cv-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #aaa;
}

.cv-info-value {
  font-size: .9rem;
  color: #1a1a1a;
  font-weight: 500;
}

.cv-info-value a {
  color: #C49A00;
  text-decoration: none;
}
.cv-info-value a:hover { text-decoration: underline; }

.admin-table {
  overflow-x: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table button {
  min-height: 36px;
  padding: 0 12px;
}

.admin-table small {
  color: var(--muted);
  font-weight: 700;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-management-grid,
.action-market-grid,
.boost-pack-grid {
  display: grid;
  gap: 16px;
}

.listing-management-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) 110px 130px minmax(220px, 1fr) minmax(220px, auto);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.listing-management-card h3,
.action-market-card h3,
.boost-pack h3 {
  margin: 10px 0 6px;
}

.listing-management-card p,
.recommendation span,
.listing-score span,
.boost-pack p {
  color: var(--muted);
}

.listing-score strong,
.listing-score span {
  display: block;
}

.listing-score strong {
  color: var(--green);
  font-size: 30px;
}

.recommendation {
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.recommendation strong,
.recommendation span {
  display: block;
}

.recommendation.good {
  background: #E2F3EB;
}

.recommendation.warning {
  background: #FFF3C4;
}

.recommendation.neutral {
  background: #eef2ef;
}

.action-market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-market-card,
.boost-pack {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.action-market-card.featured,
.boost-pack.featured {
  border-color: rgba(0, 138, 60, 0.35);
  box-shadow: 0 18px 42px rgba(0, 138, 60, 0.14);
}

.action-market-card.quiet {
  background: #fffafa;
}

.action-market-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding-left: 18px;
  color: var(--muted);
}

.boost-pack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.boost-pack span,
.boost-pack strong {
  display: block;
}

.boost-pack span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.boost-pack strong {
  margin: 12px 0;
  color: var(--green);
  font-size: 30px;
}

.boost-pack button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
}

.boost-pack button.selected {
  background: var(--green-dark);
}

.selection-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.selection-summary article,
.saved-offer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.selection-summary article {
  padding: 18px;
}

.selection-summary strong,
.selection-summary span {
  display: block;
}

.selection-summary strong {
  color: var(--green);
  font-size: 28px;
}

.selection-summary span,
.saved-meta,
.saved-offer-card p {
  color: var(--muted);
}

.saved-offer-list {
  display: grid;
  gap: 16px;
}

.saved-offer-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(210px, auto);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
}

.saved-offer-card img {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.saved-offer-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.saved-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.saved-meta span {
  border-radius: 999px;
  background: var(--soft);
  padding: 6px 10px;
}

.saved-actions {
  display: grid;
  gap: 10px;
}

.saved-actions .primary-link,
.saved-actions button,
.saved-actions .text-link {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-bar input[type="search"],
.filter-bar select {
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: .88rem;
  background: #fff;
  color: #1a1a1a;
  flex: 1;
  min-width: 160px;
}

.filter-bar input[type="search"]:focus,
.filter-bar select:focus {
  border-color: #C49A00;
  outline: none;
}

.filter-bar button {
  height: 42px;
  padding: 0 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
}

.filter-bar button:hover { border-color: #aaa; color: #1a1a1a; }

.panel-action {
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
}

.action-stack {
  margin-top: 16px;
}

.danger-action {
  background: #C8253D;
}

.dashboard-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 50, 20, 0.06);
}

.dashboard-form.compact-form {
  grid-template-columns: 1fr 220px 180px auto;
  max-width: none;
  margin-bottom: 18px;
  align-items: end;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status.published {
  background: #D5EEE3;
  color: var(--green);
}

.status.pending {
  background: #FFF3C4;
  color: #7A6100;
}

.status.expired {
  background: #f4dddd;
  color: #C8253D;
}

.publish-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.publish-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.file-field input {
  padding: 10px;
}

.image-preview {
  display: grid;
  min-height: 210px;
  place-items: center;
  border: 1px dashed rgba(0, 138, 60, 0.45);
  border-radius: 8px;
  background: #F1FAF4;
  color: var(--muted);
  font-weight: 800;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.avatar-preview {
  min-height: 160px;
}

.avatar-preview img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.single-form {
  max-width: 860px;
  margin: 0 auto;
}

.detail-section {
  background: var(--soft);
}

.detail-card,
.article-page {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.detail-photo {
  width: 100%;
  height: clamp(260px, 38vw, 460px);
  margin-bottom: 26px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-card h1,
.article-page h1 {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 58px);
}

.detail-card p,
.article-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 16px;
}

.detail-grid strong,
.detail-grid span {
  display: block;
}

.detail-grid strong {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.article-page {
  margin-top: 72px;
  margin-bottom: 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 24px;
  align-items: start;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

/* ── Notification bell ─────────────────────────────────────── */
.notif-bell {
  position: relative;
  display: flex;
  align-items: center;
}
.notif-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--ink);
  position: relative;
  line-height: 1;
}
.notif-btn:hover { background: var(--surface); }
.notif-badge {
  position: absolute;
  top: 0; right: 0;
  background: #C8253D;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 200;
  overflow: hidden;
}
.notif-bell.open .notif-dropdown { display: block; }
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  font-weight: 600;
  font-size: .88rem;
  border-bottom: 1px solid var(--line);
}
.notif-header button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-size: .8rem;
}
.notif-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  cursor: pointer;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: #f0f7ff; }
.notif-item:hover { background: var(--surface); }
.notif-time {
  font-size: .75rem;
  color: var(--muted);
}
.notif-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}

/* ── Market tabs (annonces.html) ───────────────────────────── */
.market-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  width: fit-content;
  box-shadow: 0 10px 24px rgba(0, 50, 20, 0.05);
}
.market-tab {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 850;
  color: var(--ink);
  transition: all .15s;
}
.market-tab:hover { border-color: var(--accent); color: var(--accent); }
.market-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.market-tab--shop.active {
  background: #7b3f00;
  border-color: #7b3f00;
}

/* ── Profile completion bar ────────────────────────────────── */
.completion-bar-wrap {
  margin: 0 0 24px;
}
.completion-bar-track {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.completion-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width .4s;
}
.completion-steps {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}

/* ── Seeking toggle ────────────────────────────────────────── */
.seeking-toggle-label { display: flex; flex-direction: column; gap: 8px; }
.seeking-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.seeking-toggle input[type="checkbox"] { display: none; }
.seeking-toggle-track {
  width: 44px;
  height: 24px;
  background: var(--line);
  border-radius: 12px;
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.seeking-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.seeking-toggle input:checked ~ .seeking-toggle-track {
  background: #009A44;
}
.seeking-toggle input:checked ~ .seeking-toggle-track::after {
  transform: translateX(20px);
}
.seeking-toggle-text { font-size: .88rem; color: var(--ink); }

/* ── Feed layout (homepage logged-in) ─────────────────────── */
.feed-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}
.feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feed-profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 18px;
}
.feed-profile-cover {
  height: 74px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}
.feed-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin: -32px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}
.feed-profile-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 2px;
  padding: 0 12px;
}
.feed-profile-role {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.feed-profile-link {
  display: inline-block;
  font-size: .8rem;
  color: var(--accent);
  font-weight: 500;
}
.feed-quick-links {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feed-quick-links a {
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.feed-quick-links a:hover { color: var(--accent); }
.feed-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.feed-compose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-compose-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.feed-compose-card a {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-size: .96rem;
  color: var(--muted);
  text-decoration: none;
}
.feed-compose-card a:hover { border-color: var(--accent); color: var(--accent); }
.feed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.feed-card-type {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  margin: 0;
}
.feed-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.feed-card-img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #f0faf4 0%, #e6f4ee 100%);
}
.feed-card-body {
  padding: 22px;
}
.feed-card-meta {
  padding: 14px 22px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 0;
}
.feed-card-body h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.feed-card-text {
  font-size: .95rem;
  color: var(--muted);
  margin: 0;
  display: block;
  overflow: visible;
}
.feed-card-text p {
  margin: 0 0 10px;
}
.feed-card-desc {
  line-height: 1.5;
}
.feed-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.feed-role-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(0, 50, 20, 0.08);
}
.feed-role-panel h1 {
  max-width: 780px;
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}
.feed-role-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.feed-role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.feed-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.feed-stat-strip span {
  min-height: 76px;
  padding: 16px;
  background: var(--soft);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}
.feed-stat-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 1.7rem;
  line-height: 1;
}
.feed-section-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feed-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}
.feed-section-head h2 {
  margin: 0;
  font-size: 1.45rem;
}
.feed-section-head a {
  color: var(--green);
  font-weight: 800;
}
.feed-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feed-card--compact .feed-cv-body {
  padding-top: 22px;
}
.feed-card--compact .feed-card-actions {
  margin-top: 10px;
}
.feed-management-card {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feed-management-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.feed-management-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.feed-action-link {
  display: inline-block;
  padding: 7px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.feed-action-link:hover { opacity: .85; }
.feed-action-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.feed-cv-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 22px 22px;
}
.feed-cv-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}
.feed-cv-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feed-cv-info { flex: 1; }
.feed-cv-info h3 { font-size: .95rem; font-weight: 700; margin: 0 0 4px; }
.feed-cv-info p { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.feed-cv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.feed-cv-chips span {
  font-size: .75rem;
  padding: 3px 10px;
  background: var(--surface);
  border-radius: 99px;
  color: var(--ink);
}

/* ── Seeking / recruiting badges ───────────────────────────── */
.badge--seeking {
  background: #D5EEE3;
  color: #008A3C;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .04em;
}
.badge--recruiting {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .04em;
}

/* ── Card call button ──────────────────────────────────────── */
.card-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #F0FAF4;
  color: #008A3C;
  border: 1.5px solid #bbf7d0;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.card-call:hover { background: #D5EEE3; }

/* ── CV filter bar ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
}
.filter-bar input[type="search"],
.filter-bar select {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: .88rem;
  background: #fff;
  min-width: 160px;
}
.filter-bar button {
  padding: 8px 16px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--muted);
}
.filter-bar button:hover { border-color: var(--ink); color: var(--ink); }

/* ── LinkedIn-style CV profile page ───────────────────────── */
/* ══════════════════════════════════════════════════════════
   CV PROFILE — Redesign centré premium
   ══════════════════════════════════════════════════════════ */
.cv-profile {
  max-width: 660px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* ── Carte header ── */
.cv-profile-header {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 2px 20px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.05);
}

/* ── Cover : bannière décorative ── */
.cv-profile-cover {
  height: 124px;
  background: linear-gradient(130deg, #006830 0%, #008A3C 55%, #C49A00 100%);
  position: relative;
  overflow: hidden;
}
.cv-profile-cover::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cv-profile-cover::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

/* ── Zone identité : avatar centré + texte centré ── */
.cv-profile-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px 22px;
}
.cv-avatar-wrap {
  margin-top: -56px;
  position: relative;
  display: inline-block;
  z-index: 1;
}
.cv-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  display: block;
  background: #f0ede6;
  box-shadow: 0 0 0 2px rgba(196,154,0,.55), 0 8px 28px rgba(0,0,0,.2);
}
.cv-avatar-initials {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: linear-gradient(135deg, #006830 0%, #C49A00 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 2px rgba(196,154,0,.55), 0 8px 28px rgba(0,0,0,.2);
}
.cv-avail-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* ── Texte identité ── */
.cv-identity-text {
  text-align: center;
  padding: 16px 0 0;
  width: 100%;
}
.cv-identity-text h1 {
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  line-height: 1.15;
  color: #111;
}
.cv-job-title {
  font-size: .95rem;
  color: #008A3C;
  font-weight: 700;
  margin: 0 0 10px;
}
.cv-location {
  font-size: .82rem;
  color: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.cv-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
}
.cv-avail-badge .cv-avail-dot {
  position: static;
  width: 8px; height: 8px;
  border: none;
  flex-shrink: 0;
}
.cv-avail-badge.available { background: #E8F7EE; color: #006830; }
.cv-avail-badge.available .cv-avail-dot { background: #009A44; }
.cv-avail-badge.soon { background: #FEF9C3; color: #854d0e; }
.cv-avail-badge.soon .cv-avail-dot { background: #eab308; }
.cv-avail-badge.freelance { background: #EDE9FE; color: #6d28d9; }
.cv-avail-badge.freelance .cv-avail-dot { background: #8b5cf6; }

/* ── Divider & actions ── */
.cv-profile-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 28px 0;
}
.cv-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 28px 26px;
  justify-content: center;
}

/* ── CTA principal plein bord ── */
.cv-cta-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: .95rem;
  border-radius: 14px;
  letter-spacing: .01em;
}

/* ── Sections ── */
.cv-section {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 12px;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.07);
}
.cv-section-title {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #008A3C;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #E8F7EE;
}
.cv-bio { font-size: .95rem; color: #444; line-height: 1.8; margin: 0; }

/* Skills */
.cv-skills { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-skill-chip {
  background: #F0FAF4;
  color: #006830;
  border: 1px solid #C5E8D2;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
}

/* Info grid */
.cv-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cv-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: #F9FBF9;
  border-radius: 10px;
  border: 1px solid #EBF3EC;
}
.cv-info-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #bbb;
}
.cv-info-value { font-size: .9rem; color: #1a1a1a; font-weight: 700; }
.cv-info-value a { color: #008A3C; text-decoration: none; }
.cv-info-value a:hover { text-decoration: underline; }

/* ── Action pill variants ──────────────────────────────────── */
.action-pill--wa { background: #25D366; color: #fff; border-color: #25D366; }
.action-pill--wa:hover { background: #128C7E; border-color: #128C7E; }
.action-pill--phone { background: #fff; color: #1a1a1a; border-color: #ddd; }
.action-pill--phone:hover { border-color: #333; background: #f5f5f5; }
.action-pill--apply { background: #008A3C; color: #fff; border-color: #008A3C; font-weight: 700; }
.action-pill--apply:hover { background: #006830; border-color: #006830; }
.action-pill--download { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.action-pill--download:hover { background: #333; border-color: #333; }
.action-pill--locked { background: #f5f5f5; color: #bbb; border-color: #e8e8e8; cursor: default; }
.action-pill--locked:hover { border-color: #e8e8e8; color: #bbb; }

/* ── Mobile ≤ 600px ─────────────────────────────────────── */
@media (max-width: 600px) {
  .cv-profile { padding: 0 0 80px; }
  .cv-profile-header { border-radius: 0 0 24px 24px; }
  .cv-profile-cover { height: 108px; }
  .cv-avatar-wrap { margin-top: -50px; }
  .cv-avatar, .cv-avatar-initials { width: 96px; height: 96px; font-size: 2rem; }
  .cv-profile-identity { padding: 0 20px 20px; }
  .cv-identity-text h1 { font-size: 1.4rem; }
  .cv-profile-divider { margin: 4px 20px 0; }
  .cv-profile-actions {
    padding: 14px 16px 22px;
    flex-direction: column;
    gap: 8px;
  }
  .cv-profile-actions .action-pill {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: .9rem;
    border-radius: 14px;
  }
  .cv-section { border-radius: 16px; padding: 18px 18px; margin: 0 0 10px; }
  .cv-info-grid { gap: 8px; }
  .cv-info-item { padding: 10px 12px; }
}
@media (max-width: 380px) {
  .cv-info-grid { grid-template-columns: 1fr; }
  .cv-identity-text h1 { font-size: 1.25rem; }
}

/* ── Resume card photo ─────────────────────────────────────── */
.resume-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.resume-card-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.resume-card-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.resume-card-meta { display: flex; flex-direction: column; }
.resume-card-meta strong { font-size: .95rem; }
.resume-card-meta span { font-size: .78rem; color: var(--muted); }

/* ── Public banner slots ───────────────────────────────────── */
.site-banner-slot {
  width: min(100%, 1180px);
  margin: 22px auto;
  padding: 0 18px;
}
.hero-banner-slot {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 18px;
}
.sidebar-banner-slot {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Bannière principale au-dessus des annonces */
.annonces-hero-slot {
  margin: 0 0 20px 0;
  width: 100%;
}
.annonces-hero-slot .banner--hero .banner-img,
.annonces-hero-slot .banner--hero video.banner-img {
  height: 220px;
  border-radius: 16px;
}
.annonces-hero-slot .banner--hero {
  border-radius: 16px;
}

/* Bannière coulissante gauche (défile librement sous les filtres) */
.left-banner-slot {
  width: 100%;
}
.left-banner-slot .banner--sidebar {
  width: 100%;
}
.left-banner-slot .banner--sidebar .banner-img {
  height: 220px;
  object-position: center top;
}
.mobile-banner-slot {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.site-banner-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(223, 231, 225, 0.95);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 50, 20, 0.08);
}
.hero-banner-slot .site-banner-link {
  border-left: 1px solid rgba(223, 231, 225, 0.95);
  border-right: 1px solid rgba(223, 231, 225, 0.95);
}
.site-banner-link img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.hero-banner-slot .site-banner-link img {
  height: clamp(128px, 17vw, 220px);
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: #f7f8f2;
}
.sidebar-banner-slot .site-banner-link {
  border-radius: 8px;
}
.sidebar-banner-slot .site-banner-link img {
  aspect-ratio: 300 / 600;
  max-height: none;
  object-fit: contain;
  background: #fff;
}
.site-banner-slot[data-banner-placement="in_feed"] .site-banner-link img,
.site-banner-slot[data-banner-placement="mobile_top"] .site-banner-link img {
  height: clamp(86px, 11vw, 132px);
  max-height: none;
  object-fit: cover;
}

.mobile-banner-slot .site-banner-link {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}
.mobile-banner-slot .site-banner-link img {
  height: 96px;
  max-height: none;
  object-fit: cover;
}

/* ── Public CV cards ───────────────────────────────────────── */
.resume-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  align-items: stretch;
}
.resume-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .15s;
}
.resume-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.resume-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
}
.resume-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.resume-avail-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.avail--green { background: #009A44; }
.avail--yellow { background: #eab308; }
.avail--purple { background: #8b5cf6; }
.resume-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-top: -6px;
}
.resume-avail-badge.avail--green { background: #D5EEE3; color: #007830; }
.resume-avail-badge.avail--yellow { background: #fef9c3; color: #854d0e; }
.resume-avail-badge.avail--purple { background: #ede9fe; color: #6d28d9; }
.resume-card-info {
  flex: 1;
  min-width: 0;
}
.resume-card-info strong {
  display: block;
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0d1f12;
}
.resume-card-role {
  margin: 0 0 4px;
  color: #C49A00;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.3;
}
.resume-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888 !important;
  font-size: .8rem !important;
  margin: 0 !important;
}
.resume-card-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.resume-card-initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A4830, #C49A00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.resume-skills span {
  padding: 4px 12px;
  border-radius: 99px;
  background: #FFF8E7;
  color: #6B4F00;
  border: 1px solid #FFE0A0;
  font-size: .78rem;
  font-weight: 600;
}
.resume-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  color: #008A3C;
  text-decoration: none;
  padding-top: 4px;
}
.resume-cta:hover { color: #006A2C; }

.premium-intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.premium-intro-strip article {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(223, 231, 225, 0.95);
  background: rgba(255, 255, 255, 0.9);
}

.premium-intro-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.premium-intro-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ─── Hamburger button ──────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
  transform-origin: center;
}
.nav-toggle--open { background: rgba(255,255,255,.3); }
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Filter toggle button (mobile only) ──────────────────── */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}
.filter-toggle-btn.active {
  border-color: var(--green);
  color: var(--green);
  background: var(--mint);
}

/* ─── Tablet (901–1040px) ────────────────────────────────── */
@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.6fr) auto;
    gap: 16px;
    padding: 10px clamp(16px, 3vw, 40px);
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-showcase { margin-top: 8px; }
  .hero-visual--large { min-height: 280px; }
  .hero-visual-grid { grid-template-columns: 1fr; }
  .hero-visual--small { min-height: 200px; }

  .search-panel,
  .account-grid,
  .dashboard,
  .dashboard-form,
  .dashboard-form.compact-form,
  .publish-layout,
  .publish-form {
    grid-template-columns: 1fr;
  }

  .workspace {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .workspace:not(.sponsor-workspace) .sponsor-sidebar { display: none; }
  .sponsor-workspace {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dropdown {
    left: 0;
    top: calc(100% + 10px);
    transform: translate(0, 8px);
  }
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown { transform: translate(0, 0); }

  .category-grid,
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .resume-grid,
  .process-grid,
  .content-grid,
  .detail-grid,
  .contact-layout,
  .stat-grid,
  .dashboard-grid,
  .ecosystem-grid,
  .action-market-grid,
  .boost-pack-grid,
  .selection-summary,
  .cv-layout,
  .demo-account-grid { grid-template-columns: 1fr; }

  .feed-layout { grid-template-columns: 1fr; }
  .feed-sidebar { display: none; }
  .cv-info-grid { grid-template-columns: 1fr; }
  .feed-mini-grid, .feed-stat-strip { grid-template-columns: 1fr; }

  .notif-dropdown { right: auto; left: 0; width: 280px; }
  .listing-management-card, .saved-offer-card { grid-template-columns: 1fr; }
  .dashboard-head.with-profile { align-items: flex-start; flex-direction: column; }
  .filters { position: sticky; top: 88px; }
  .wide { grid-column: auto; }

  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-item:first-child { grid-column: 1 / -1; }
}

/* Desktop: hide mobile-only nav elements */
.nav-cta-bar { display: none; }
.nav-overlay-header { display: none; }

/* ─── Nav backdrop ───────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 20, 10, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nav-backdrop--visible { display: block; }

/* ─── Nav overlay header (brand + close) ─────────────────── */
.nav-overlay-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
  flex-shrink: 0;
}
.nav-overlay-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-overlay-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #005E28 0%, #009A44 55%, #C49A00 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.nav-overlay-brand strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--green);
  text-transform: uppercase;
}
.nav-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #F0F4F1;
  border: none;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.nav-close-btn:hover { background: #dde8de; }

/* ─── Mobile (≤ 900px) — hamburger nav ───────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-overlay-header { display: flex; }
  .nav-close-btn { display: inline-flex; }

  /* ── Topbar: vert, bien visible ── */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 0 18px;
    background: #008A3C;
    border-bottom: none;
    backdrop-filter: none;
  }

  /* Brand: logo BJ blanc + texte blanc */
  .brand { gap: 10px; }
  .brand > span:not(.brand-mark) { display: flex; }
  .brand strong { color: #fff; font-size: 15px; }
  .brand small { display: none; }
  .brand-mark {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.2);
    border-radius: 8px;
    font-size: 14px;
    box-shadow: none;
  }

  /* Publier button : bordure blanche */
  .topbar .top-actions .top-action {
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.6);
    color: #fff;
    padding: 0 14px;
    font-size: 13px;
    min-height: 38px;
    border-radius: 8px;
  }
  .topbar .top-actions .top-action:hover {
    background: rgba(255,255,255,.28);
  }

  /* ── Nav overlay ── */
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 22px 36px;
    background: #fff;
    overflow-y: auto;
    z-index: 999;
    grid-column: unset;
    grid-row: unset;
    -webkit-overflow-scrolling: touch;
  }
  .nav.nav--open { display: flex; }

  .nav > a,
  .nav-item > .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 800;
    border-bottom: 1px solid #E8EDE9;
    color: #0D1C12;
    text-decoration: none;
  }
  .nav > a:last-child { border-bottom: none; }

  /* Accordion arrow */
  .nav-item > .nav-trigger::after {
    content: '';
    display: inline-block;
    width: 9px; height: 9px;
    border-right: 2.5px solid #999;
    border-bottom: 2.5px solid #999;
    transform: rotate(45deg);
    transition: transform .2s ease;
    flex-shrink: 0;
    margin-right: 4px;
  }
  .nav-item--open > .nav-trigger::after { transform: rotate(-135deg); }
  .nav-item { width: 100%; }

  /* Sous-menus en accordéon */
  .dropdown {
    position: static;
    display: none;
    flex-direction: column;
    box-shadow: none;
    border: none;
    background: #F4F8F5;
    border-radius: 10px;
    padding: 4px 0;
    margin: 4px 0 10px;
    opacity: 1; visibility: visible; transform: none;
    pointer-events: auto;
  }
  .nav-item--open .dropdown { display: flex; }
  .dropdown a {
    padding: 14px 18px;
    font-size: 15px;
    color: #0D1C12;
    border-radius: 0;
    text-align: left;
    text-transform: none;
    font-weight: 600;
  }
  .dropdown a:hover { background: rgba(0,138,60,.09); color: var(--green); }

  /* CTA en bas du menu */
  .nav-cta-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
  }
  .nav-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
  }
  .nav-cta-bar .nav-cta-primary { background: var(--green); color: #fff; }
  .nav-cta-bar .nav-cta-secondary { border: 1.5px solid #D3E8DB; color: #0D1C12; background: #fff; }

  /* Workspace */
  .workspace { grid-template-columns: 1fr; }
  .sponsor-workspace { grid-template-columns: 1fr; }
  .sponsor-workspace .sponsor-sidebar { display: none; }
  .filters { display: none; }
  .filters.filters--open { display: grid; }
  .filter-toggle-btn { display: flex; }
  .left-banner-slot { display: none; }
  .annonces-hero-slot { display: none; }

  /* Layout */
  .hero { min-height: auto; padding: 36px 18px 32px; }
  .page-hero { padding: 36px 18px 28px; }
  .page-hero--split { min-height: auto; grid-template-columns: 1fr; }
  .page-hero p { font-size: 15px; }
  .hero p, .section-copy { font-size: 15px; }
  .section { padding: 40px clamp(16px, 4vw, 28px); }
  .hero-actions { margin: 20px 0 16px; gap: 10px; }
  .hero-pills { margin-bottom: 16px; }
  .page-hero-visual { display: none; }
  .card { border-radius: 12px; }
  .listing-card { border-radius: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .account-hero h1 { font-size: clamp(28px, 7vw, 42px); }
  .account-hero p:not(.eyebrow) { font-size: 15px; }
}

/* ─── Mobile small (≤ 680px) ────────────────────────────── */
@media (max-width: 680px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item:first-child { grid-column: auto; }
  .mobile-banner-slot { display: block; }
  .hero-banner-slot .site-banner-link img { height: 132px; }

  .metrics,
  .category-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .listing-grid { grid-template-columns: 1fr; }

  .pricing-cta-band { flex-direction: column; align-items: stretch; }

  .hero-actions,
  .section-head.row,
  .footer { align-items: stretch; flex-direction: column; }

  .top-action,
  .ghost-action,
  .primary-link,
  .secondary-link,
  .account-card button { width: 100%; text-align: center; }

  h1 { font-size: clamp(26px, 7.5vw, 38px); line-height: 1.08; }
  h2 { font-size: clamp(20px, 5.5vw, 30px); }
  h3 { font-size: 17px; }

  .hero { padding: 28px 16px 24px; }
  .section { padding: 36px 16px; }

  .brand small { display: none; }

  .card-bottom { flex-direction: column; align-items: stretch; }
  .card-bottom .whatsapp,
  .card-bottom .text-link { width: 100%; text-align: center; justify-content: center; }

  /* Form fields fill width */
  .form-row { flex-direction: column; }
  .form-row > * { width: 100% !important; }

  /* Connexion/register cards */
  .auth-card { border-radius: 16px; padding: 24px 18px; }
}

/* ─── Extra small (≤ 420px) ─────────────────────────────── */
@media (max-width: 420px) {
  h1 { font-size: 24px; line-height: 1.1; }
  h2 { font-size: 19px; }
  h3 { font-size: 15px; }
  .mhero-title { font-size: 1.3rem; }
  .mhero-cat { padding: 10px 10px 8px; }
  .badge { font-size: 11px; padding: 4px 8px; }
  .listing-card { padding: 14px; }
  .listing-photo { height: 140px; margin: -14px -14px 4px; width: calc(100% + 28px); }
  .section { padding: 28px 14px; }
  .topbar { padding: 8px 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   POLISH — focus-visible · skeleton · empty states · form states
   ═══════════════════════════════════════════════════════════════ */

/* ── Focus visible (keyboard nav) ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Skeleton loader ──────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #E2F3EB 25%, #F7FAF8 50%, #E2F3EB 75%);
  background-size: 700px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
  display: block;
}
.skeleton-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-img  { height: 200px; border-radius: 4px; }
.skeleton-line { height: 13px; }
.skeleton-line.short  { width: 38%; }
.skeleton-line.medium { width: 62%; }
.skeleton-line.long   { width: 88%; }
.skeleton-line.full   { width: 100%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
}
.empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}
.empty-state p {
  max-width: 360px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Error state ─────────────────────────────────────────────── */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}
.error-state-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--red);
}

/* ── Form feedback ───────────────────────────────────────────── */
.form-success {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--mint);
  border: 1px solid rgba(0, 138, 60, 0.2);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.form-error {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--red-light);
  border: 1px solid rgba(200, 37, 61, 0.2);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* ── DEMO mode badge ─────────────────────────────────────────── */
.demo-mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 20px;
  background: var(--gold-light);
  border-bottom: 1px solid rgba(196, 154, 0, 0.25);
  font-size: 13px;
  font-weight: 800;
  color: #7A6100;
  text-align: center;
}
.demo-mode-bar strong {
  color: #5A4600;
}

/* ── Site footer ─────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  margin-top: auto;
}
.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.site-footer-links a {
  color: var(--muted);
  transition: color 0.15s;
}
.site-footer-links a:hover {
  color: var(--green);
}

/* ── Loading message polish ──────────────────────────────────── */
.loading-msg, .empty-msg, .error-msg {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  grid-column: 1 / -1;
}
.error-msg { color: var(--red); }

/* Skeleton loader */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  grid-column: 1 / -1;
}
.skeleton-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.skeleton-img {
  height: 165px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-body { padding: 16px; }
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 10px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.xshort { width: 40%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.error-msg button {
  margin-left: 10px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

/* ── Marketplace Hero Premium ── */
.mhero {
  background: #003d1a;
  background-image: url('/images/showcase-emploi-salon.png');
  background-size: cover;
  background-position: center 30%;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.mhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 30, 12, 0.82) 0%,
    rgba(0, 50, 20, 0.68) 55%,
    rgba(0, 30, 12, 0.55) 100%
  );
  pointer-events: none;
}
.mhero-inner {
  position: relative;
  padding: 52px 24px 36px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.mhero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196,154,0,.2);
  border: 1px solid rgba(196,154,0,.35);
  color: #FFE068;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.mhero-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 28px;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.mhero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  height: 58px;
}
.mhero-search-icon {
  display: flex;
  align-items: center;
  padding: 0 0 0 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.mhero-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  min-width: 0;
  background: transparent;
}
.mhero-input::placeholder { color: #9aada2; }
.mhero-sep {
  width: 1px;
  height: 26px;
  background: var(--line);
  flex-shrink: 0;
}
.mhero-select {
  border: none;
  outline: none;
  background: transparent;
  padding: 0 14px;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.mhero-btn {
  background: #C49A00;
  color: #fff;
  border: none;
  height: 100%;
  padding: 0 30px;
  font: inherit;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, opacity .18s;
  flex-shrink: 0;
}
.mhero-btn:hover { background: #a07f00; }
.mhero-hints {
  margin: 14px 0 0;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.mhero-hints span { font-weight: 700; color: rgba(255,255,255,.5); }
.mhero-hints a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .15s, border-color .15s;
}
.mhero-hints a:hover { color: #FFE068; border-bottom-color: #FFE068; }

/* Categories strip */
.mhero-cats {
  display: flex;
  background: #fff;
  border-bottom: 1.5px solid var(--line);
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.mhero-cats::-webkit-scrollbar { display: none; }
.mhero-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 20px 14px;
  text-decoration: none;
  color: #4a5e52;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-color .18s;
  flex-shrink: 0;
}
.mhero-cat:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.mhero-cat:hover .mhero-cat-icon { background: var(--mint); color: var(--green); }
.mhero-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  color: #4a5e52;
  transition: background .18s, color .18s;
}
.mhero-cat-icon svg { width: 20px; height: 20px; }
.mhero-cat--accent { color: var(--green); }
.mhero-cat--accent .mhero-cat-icon {
  background: var(--mint);
  color: var(--green);
}
.mhero-cat--accent:hover .mhero-cat-icon { background: var(--green); color: #fff; }
.mhero-cat--accent:hover { color: var(--green-dark); border-bottom-color: var(--green); }

/* Results bar */
.mresults-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line);
}
.mresults-bar .market-tabs { margin: 0; }

@media (max-width: 680px) {
  .mhero-inner { padding: 36px 18px 28px; }
  .mhero-search { flex-wrap: wrap; height: auto; border-radius: 14px; }
  .mhero-search-icon { padding: 14px 0 0 16px; }
  .mhero-input { padding: 12px 14px; width: 100%; }
  .mhero-sep { display: none; }
  .mhero-select { width: 100%; border-top: 1px solid var(--line); padding: 11px 14px; }
  .mhero-btn { width: 100%; height: 48px; border-radius: 0 0 14px 14px; }
  .mhero-cat { padding: 12px 14px 10px; }
  .mhero-cat-icon { width: 36px; height: 36px; border-radius: 10px; }
  .mhero-cat-icon svg { width: 17px; height: 17px; }
}


/* ═══════════════════════════════════════════════════════════════
   SYSTÈME D'ANIMATIONS — propre, structuré, cohérent
   Easing unique : cubic-bezier(0.25, 0, 0, 1)  (smooth iOS)
   ═══════════════════════════════════════════════════════════════ */

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes progressShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Topbar : entre depuis le haut ─────────────────────────── */
.topbar {
  animation: slideDown 0.5s cubic-bezier(0.25,0,0,1) both;
  transition: transform 0.3s cubic-bezier(0.25,0,0,1),
              box-shadow 0.3s ease;
}
.topbar--scrolled { box-shadow: 0 2px 20px rgba(0,50,20,.1); }
.topbar--hidden   { transform: translateY(-100%); }

/* ── Hero : éléments en cascade ────────────────────────────── */
.hero-copy .eyebrow  { animation: fadeUp 0.55s cubic-bezier(0.25,0,0,1) 0.05s both; }
.hero-copy h1        { animation: fadeUp 0.6s  cubic-bezier(0.25,0,0,1) 0.12s both; }
.hero-copy > p       { animation: fadeUp 0.55s cubic-bezier(0.25,0,0,1) 0.20s both; }
.hero-actions        { animation: fadeUp 0.55s cubic-bezier(0.25,0,0,1) 0.28s both; }
.hero-pills          { animation: fadeUp 0.5s  cubic-bezier(0.25,0,0,1) 0.35s both; }
.search-panel        { animation: fadeUp 0.5s  cubic-bezier(0.25,0,0,1) 0.42s both; }
.hero-showcase       { animation: fadeIn 0.7s  cubic-bezier(0.25,0,0,1) 0.15s both; }
main                 { animation: fadeIn 0.4s  cubic-bezier(0.25,0,0,1) both; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.25,0,0,1),
              transform 0.55s cubic-bezier(0.25,0,0,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.25,0,0,1),
              transform 0.5s cubic-bezier(0.25,0,0,1);
}
.stagger-reveal.is-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0ms; }
.stagger-reveal.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 70ms; }
.stagger-reveal.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 140ms; }
.stagger-reveal.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 210ms; }
.stagger-reveal.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 280ms; }
.stagger-reveal.is-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: 350ms; }

/* ── Cartes dans la grille : stagger à l'entrée ────────────── */
.listing-card, .resume-card {
  transition: transform 0.3s cubic-bezier(0.25,0,0,1),
              box-shadow 0.3s ease,
              border-color 0.2s ease;
}
.listing-grid .listing-card,
.resume-grid  .resume-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.25,0,0,1),
              transform 0.45s cubic-bezier(0.25,0,0,1),
              box-shadow 0.3s ease,
              border-color 0.2s ease;
}
.listing-grid .listing-card.card-visible,
.resume-grid  .resume-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hover cartes : lift simple ────────────────────────────── */
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,50,20,.11);
  border-color: rgba(0,138,60,.2);
}
.resume-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,50,20,.11);
}

/* ── Hover images : zoom léger ──────────────────────────────── */
.listing-card .listing-photo,
.resume-card  .resume-avatar {
  transition: transform 0.45s cubic-bezier(0.25,0,0,1);
}
.listing-card:hover .listing-photo,
.resume-card:hover  .resume-avatar { transform: scale(1.04); }

/* ── Boutons : micro-interaction au clic ───────────────────── */
.top-action, .primary-link, .ghost-action, .secondary-link,
button[type=submit], .action-pill, .composer-submit {
  transition: transform 0.18s cubic-bezier(0.25,0,0,1),
              box-shadow 0.18s ease,
              background 0.18s ease;
}
.top-action:hover,  .primary-link:hover  { transform: translateY(-1px); }
.top-action:active, .primary-link:active,
button[type=submit]:active               { transform: scale(0.97); }

/* ── CTA glow ───────────────────────────────────────────────── */
.top-action:hover, .primary-link:hover {
  box-shadow: 0 6px 20px rgba(0,94,40,.28);
}

/* ── Nav link underline ─────────────────────────────────────── */
.nav > a { position: relative; }
.nav > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.25,0,0,1);
}
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }

/* ── Barre de progression scroll ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #008A3C, #C49A00, #008A3C);
  background-size: 200% 100%;
  z-index: 3000;
  animation: progressShimmer 2.5s linear infinite;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Stat counter ───────────────────────────────────────────── */
#statListings { display: inline-block; }

/* ── Plan cards hover ───────────────────────────────────────── */
.plan-card {
  transition: transform 0.3s cubic-bezier(0.25,0,0,1),
              box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,50,20,.11);
}

/* ── Numéros process : spring scale à l'entrée ──────────────── */
.process-grid article span {
  transform: scale(0.55);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.18s;
}
.process-grid.stagger-reveal.is-visible > *:nth-child(1) span { transform: scale(1); transition-delay: 0.08s; }
.process-grid.stagger-reveal.is-visible > *:nth-child(2) span { transform: scale(1); transition-delay: 0.16s; }
.process-grid.stagger-reveal.is-visible > *:nth-child(3) span { transform: scale(1); transition-delay: 0.24s; }

/* ── Showcase caption : lift au hover ───────────────────────── */
.showcase-caption {
  transform: translateY(6px);
  transition: transform 0.4s cubic-bezier(0.25,0,0,1);
}
.showcase-item:hover .showcase-caption { transform: translateY(0); }

/* ── Ecosystem articles : hover lift + trait gauche animé ───── */
.ecosystem-grid article {
  box-shadow: 0 10px 26px rgba(0,50,20,.06), inset 3px 0 0 transparent;
  transition: transform 0.3s cubic-bezier(0.25,0,0,1), box-shadow 0.3s ease;
}
.ecosystem-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,50,20,.12), inset 3px 0 0 var(--green);
}
.ecosystem-grid article:nth-child(3):hover {
  box-shadow: 0 18px 44px rgba(0,50,20,.12), inset 3px 0 0 #C49A00;
}

/* ── Section head : cascade eyebrow → h2 → copy ────────────── */
.section-head.reveal { opacity: 1 !important; transform: none !important; }
.section-head .eyebrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s cubic-bezier(0.25,0,0,1),
              transform 0.4s cubic-bezier(0.25,0,0,1);
}
.section-head h2 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.25,0,0,1) 0.1s,
              transform 0.5s cubic-bezier(0.25,0,0,1) 0.1s;
}
.section-head .section-copy {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s cubic-bezier(0.25,0,0,1) 0.18s,
              transform 0.45s cubic-bezier(0.25,0,0,1) 0.18s;
}
.section-head > p:not(.eyebrow):not(.section-copy) {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25,0,0,1) 0.22s;
}
.section-head a.text-link {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s cubic-bezier(0.25,0,0,1) 0.22s,
              transform 0.4s cubic-bezier(0.25,0,0,1) 0.22s;
}
.section-head.is-visible .eyebrow,
.section-head.is-visible h2,
.section-head.is-visible .section-copy,
.section-head.is-visible > p,
.section-head.is-visible a.text-link { opacity: 1; transform: none; }

/* ── Category + Plan cards : stagger (card-visible via JS) ──── */
.category-grid .category-card,
.pricing-grid  .plan-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.25,0,0,1),
              transform 0.3s cubic-bezier(0.25,0,0,1),
              box-shadow 0.3s ease;
}
.category-grid .category-card.card-visible,
.pricing-grid  .plan-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Pricing CTA band : trait vert qui pousse au reveal ─────── */
.pricing-cta-band { position: relative; }
.pricing-cta-band::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  background: var(--green);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.25,0,0,1) 0.3s;
}
.pricing-cta-band.is-visible::before { transform: scaleY(1); }

/* ── Réduction pour accessibilité ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR MOBILE — réécriture forte (écrase tout ce qui précède)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── Topbar verte, haute, visible ──────────────────────────── */
  .topbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    grid-template-columns: unset !important;
    min-height: 76px !important;
    padding: 0 20px !important;
    background: #008A3C !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 16px rgba(0,50,20,.18) !important;
    gap: 14px !important;
  }

  /* ── Brand ─────────────────────────────────────────────────── */
  .brand {
    gap: 12px !important;
    flex-shrink: 0 !important;
  }
  .brand-mark {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    background: rgba(255,255,255,.22) !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #fff !important;
    box-shadow: none !important;
    animation: none !important;
  }
  .brand strong {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
  }
  .brand small { display: none !important; }
  .brand > span:not(.brand-mark) { display: flex !important; flex-direction: column; }

  /* ── Hamburger — grand, visible ────────────────────────────── */
  .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 12px !important;
    background: rgba(255,255,255,.18) !important;
    border: 2px solid rgba(255,255,255,.65) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    order: 3 !important;
  }
  .nav-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    background: #fff !important;
    border-radius: 3px !important;
    transition: transform .25s ease, opacity .25s ease !important;
    transform-origin: center !important;
  }
  .nav-toggle--open { background: rgba(255,255,255,.32) !important; }
  .nav-toggle--open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg) !important; }
  .nav-toggle--open span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
  .nav-toggle--open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg) !important; }

  /* ── Bouton Publier ─────────────────────────────────────────── */
  .top-actions { display: flex !important; order: 2 !important; }
  .topbar .top-actions .top-action {
    background: rgba(255,255,255,.18) !important;
    border: 2px solid rgba(255,255,255,.65) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
  }

  /* ── Overlay nav : masqué par défaut ───────────────────────── */
  .nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px 24px 40px !important;
    background: #fff !important;
    overflow-y: auto !important;
    z-index: 999 !important;
    gap: 0 !important;
    grid-column: unset !important;
    grid-row: unset !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .nav.nav--open { display: flex !important; }

  /* ── Liens du menu — gros et lisibles ──────────────────────── */
  .nav > a,
  .nav-item > .nav-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 20px 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #E8EDE9 !important;
    color: #0D1C12 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
  }

  /* Sous-menus accordéon */
  .nav-item--open .dropdown { display: flex !important; }
  .dropdown a {
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0D1C12 !important;
  }

  /* CTAs en bas overlay */
  .nav-cta-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: auto !important;
    padding-top: 32px !important;
  }
  .nav-cta-bar .nav-cta-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
    border-radius: 14px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    background: #008A3C !important;
    color: #fff !important;
    text-decoration: none !important;
  }
  .nav-cta-bar .nav-cta-secondary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
    border-radius: 14px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    border: 2px solid #D3E8DB !important;
    color: #0D1C12 !important;
    background: #fff !important;
    text-decoration: none !important;
  }

  /* Header dans l'overlay */
  .nav-overlay-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #E8EDE9 !important;
    flex-shrink: 0 !important;
  }
  .nav-overlay-mark {
    width: 44px !important; height: 44px !important;
    background: #008A3C !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .nav-overlay-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0D1C12 !important;
  }
  .nav-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border: 1.5px solid #E8EDE9 !important;
    border-radius: 12px !important;
    background: #fff !important;
    cursor: pointer !important;
    color: #333 !important;
  }
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS — BEAUTY JOBS
   ═══════════════════════════════════════════════════ */

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulseCTA {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,138,60,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(0,138,60,0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes bannerSlide {
  from { opacity: 0; transform: translateX(-20px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Cartes annonces — animation CSS directe (pas d'observer) */
.listing-card {
  animation: fadeUp .4s ease both;
}
.listing-card:nth-child(2) { animation-delay: .05s; }
.listing-card:nth-child(3) { animation-delay: .10s; }
.listing-card:nth-child(4) { animation-delay: .15s; }
.listing-card:nth-child(5) { animation-delay: .20s; }
.listing-card:nth-child(6) { animation-delay: .25s; }

/* Cartes profils */
.resume-card {
  animation: fadeUp .4s ease both;
}
.resume-card:nth-child(2) { animation-delay: .05s; }
.resume-card:nth-child(3) { animation-delay: .10s; }
.resume-card:nth-child(4) { animation-delay: .15s; }

/* Hover cartes — plus prononcé */
.listing-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 24px 48px rgba(0,50,20,.14) !important;
  border-color: rgba(0,138,60,.5) !important;
}
.resume-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(0,50,20,.13) !important;
}
.showcase-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 28px 56px rgba(0,50,20,.18) !important;
}

/* Bouton Publier — pulse */
.top-action {
  animation: pulseCTA 2.4s ease-in-out infinite;
}
.top-action:hover { animation: none; }

/* Bannières — slide in */
.banner--sidebar {
  animation: bannerSlide .55s ease both;
}
.banner--hero, .banner--infeed, .banner--detail {
  animation: fadeUp .5s ease both;
}

/* Boutons principaux — micro bounce hover */
.primary-link, .mhero-btn {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.primary-link:hover, .mhero-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(0,138,60,.3) !important;
}

/* Section hero — titre avec fade */
.hero h1, .mhero-title {
  animation: fadeUp .65s ease .1s both;
}
.hero p, .mhero-hints, .mhero-tag {
  animation: fadeUp .65s ease .25s both;
}
.hero-actions, .mhero-search {
  animation: fadeUp .65s ease .35s both;
}
.hero-showcase {
  animation: slideInRight .7s ease .2s both;
}

/* Showcase cards — entrée décalée */
.showcase-item:nth-child(1) { animation: fadeUp .55s ease .1s both; }
.showcase-item:nth-child(2) { animation: fadeUp .55s ease .22s both; }
.showcase-item:nth-child(3) { animation: fadeUp .55s ease .34s both; }

/* Metrics section */
.metrics > div {
  animation: scaleIn .5s ease both;
}
.metrics > div:nth-child(2) { animation-delay: .1s; }
.metrics > div:nth-child(3) { animation-delay: .2s; }

/* Catégories */
.category-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
.category-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 16px 32px rgba(0,50,20,.13) !important;
}

/* Nav links — underline slide (desktop uniquement) */
.nav a, .site-footer-links a {
  position: relative;
}
@media (min-width: 905px) {
  .nav > a::after,
  .site-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--green);
    transition: width .22s ease;
  }
  .nav > a:hover::after,
  .site-footer-links a:hover::after {
    width: 100%;
  }
}

/* Sponsor sidebar — slide right */
.sponsor-sidebar {
  animation: slideInRight .6s ease .3s both;
}

/* Filtres — slide left (animation sur le contenu seulement, pas le container sticky) */
.filters label, .filters button {
  animation: slideInLeft .45s ease both;
}
.filters label:nth-child(2) { animation-delay: .05s; }
.filters label:nth-child(3) { animation-delay: .1s; }
.filters button { animation-delay: .15s; }

/* Image hover zoom */
.showcase-item img,
.listing-photo,
.hero-visual img,
.page-hero-media img {
  transition: transform .4s ease !important;
}
.showcase-item:hover img { transform: scale(1.06) !important; }
.hero-visual:hover img { transform: scale(1.04) !important; }

/* ── Job Dating nav highlight (desktop uniquement) ─ */
@media (min-width: 905px) {
  .nav-jobdating {
    background: rgba(196,154,0,.12);
    border: 1px solid rgba(196,154,0,.35);
    color: #C49A00 !important;
    border-radius: 6px;
    padding: 5px 12px !important;
    font-weight: 800;
    transition: background .18s, color .18s !important;
  }
  .nav-jobdating:hover {
    background: #C49A00 !important;
    color: #fff !important;
  }
  .nav-jobdating::after { display: none !important; }
}

/* Mobile : Job Dating = style nav normal */
@media (max-width: 904px) {
  .nav-jobdating {
    background: none !important;
    border: none !important;
    color: #0D1C12 !important;
    padding: 18px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #E8EDE9 !important;
    font-weight: 800;
    font-size: 18px;
    width: 100%;
    display: flex !important;
    justify-content: space-between;
  }
}

/* ── Hero banner slot — squelette immédiat ────── */
.hero-banner-slot:empty {
  min-height: 420px;
  border-radius: 20px;
  background: linear-gradient(110deg, #003d1a 0%, #005E28 40%, #003d1a 100%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease infinite;
  margin: 24px auto 0;
  max-width: 1180px;
  padding: 0 18px;
  box-sizing: border-box;
}

/* ── Old hero showcase — apparaît après le banner ─ */
#home .hero-showcase {
  opacity: 0;
  animation: fadeIn .5s ease .6s forwards;
}

/* ── Bannière changement mot de passe ─────────── */
#pwd-change-banner {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #7B3F00, #C49A00);
  color: #fff;
  padding: 12px 20px;
  animation: slideInLeft .4s ease both;
}
.pwd-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.pwd-banner-icon { font-size: 1.3rem; flex-shrink: 0; }
.pwd-banner-text { flex: 1; min-width: 200px; }
.pwd-banner-text strong { display: block; font-size: .95rem; font-weight: 800; }
.pwd-banner-text span { font-size: .82rem; opacity: .88; }
.pwd-banner-btn {
  background: #fff;
  color: #7B3F00;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.pwd-banner-btn:hover { background: #FFF8DC; }

/* ── Widget Feedback flottant ──────────────────── */
#feedbackWidget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #008A3C;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,138,60,.4);
  transition: transform .18s, box-shadow .18s;
  animation: slideInLeft .5s ease .8s both;
}
#feedbackWidget:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,138,60,.5);
}

/* ── Modal global (feedback, changement mdp, etc.) ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  animation: scaleIn .22s ease both;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group select,
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .9rem;
  box-sizing: border-box;
}

/* ── Emplacements Publicitaires ────────────────────────────────── */
.site-banner-slot {
  background: linear-gradient(135deg, #E2F3EB 0%, #D3E8DB 100%);
  border: 2px dashed #008A3C;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.site-banner-slot::before {
  content: '📢 ESPACE PUBLICITAIRE';
  display: block;
  color: #008A3C;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.site-banner-slot::after {
  content: '300 x 250 px';
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  color: #5D7065;
  opacity: 0.5;
}

/* Mobile banner (top) */
.mobile-banner-slot {
  min-height: 100px;
  margin: 10px auto;
  max-width: 320px;
}

.mobile-banner-slot::before {
  content: '📱 MOBILE TOP';
  font-size: 12px;
}

.mobile-banner-slot::after {
  content: '320 x 100';
}

/* Hero banner */
.hero-banner-slot {
  min-height: 90px;
  max-width: 728px;
  margin: 0 auto 20px;
}

.hero-banner-slot::before {
  content: '🌟 LEADERBOARD';
  font-size: 12px;
}

.hero-banner-slot::after {
  content: '728 x 90';
}

/* Sidebar banners */
.sidebar-banner-slot {
  min-height: 600px;
  width: 100%;
  margin: 10px 0;
}

.sidebar-banner-slot::before {
  content: '📊 SIDEBAR';
}

.sidebar-banner-slot::after {
  content: '300 x 600';
}

/* Sponsor sidebar (droite) */
.sponsor-sidebar {
  min-width: 300px;
}

@media (max-width: 1024px) {
  .sponsor-sidebar,
  .sidebar-banner-slot {
    display: none;
  }
}

/* Demo banner avec contenu */
.demo-banner {
  background: linear-gradient(135deg, #C49A00 0%, #008A3C 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 138, 60, 0.2);
}

.demo-banner h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 800;
}

.demo-banner p {
  margin: 0 0 20px;
  font-size: 14px;
  opacity: 0.9;
}

.demo-banner .btn {
  background: white;
  color: #008A3C;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
